:root {
  --primary: #0ea5e9;
  /* Light blue */
  --primary-dark: #0284c7;
  --secondary: #0f172a;
  /* Dark slate */
  --accent: #38bdf8;
  --background: #f8fafc;
  --surface: #ffffff;
  --text-main: #334155;
  --text-light: #64748b;
  --text-muted: #94a3b8;
  --success: #10b981;

  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
  --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
  --shadow-hover: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);

  --radius-md: 0.5rem;
  --radius-lg: 1rem;
  --radius-full: 9999px;

  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--background);
  color: var(--text-main);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--secondary);
  font-family: 'Cardo', serif;
  font-weight: 700;
  line-height: 1.2;
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
}

p {
  margin-bottom: 1rem;
  color: var(--text-light);
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--primary-dark);
}

/* Layout */
.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.section {
  padding: 5rem 0;
}

.section-light {
  background-color: var(--surface);
}

.section-dark {
  background-color: var(--secondary);
  color: white;
}

.section-dark h2,
.section-dark p {
  color: white;
}

/* Header & Navigation */
header {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  width: 100%;
  background: transparent;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 140px;
  padding: 1rem 0;
}

.logo {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--primary-dark);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo img {
  height: 140px !important;
  width: auto;
}

.logo span {
  color: var(--secondary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  align-items: center;
}

.nav-links a {
  color: #ffffff;
  font-weight: 500;
  font-size: 1.05rem;
  position: relative;
  text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.4);
}

.nav-links a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  bottom: -4px;
  left: 0;
  background-color: var(--primary);
  transition: var(--transition);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.mobile-menu-btn {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: var(--secondary);
  cursor: pointer;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  gap: 0.5rem;
}

.btn-primary {
  background-color: var(--primary);
  color: white;
  box-shadow: 0 4px 14px 0 rgba(14, 165, 233, 0.39);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  transform: translateY(-2px);
  color: white;
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.4);
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary);
  color: var(--primary);
}

.btn-outline:hover {
  background-color: var(--primary);
  color: white;
}

/* Testimonial Marquee */
.testimonial-marquee-wrapper {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 1rem 0;
}

.testimonial-marquee {
  display: flex;
  gap: 2rem;
  width: max-content;
  animation: scroll-marquee 60s linear infinite;
}

.testimonial-marquee:hover {
  animation-play-state: paused;
}

.testimonial-marquee .card {
  width: 400px;
  flex: 0 0 auto;
  white-space: normal;
}

@keyframes scroll-marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(calc(-50% - 1rem));
  }
}

/* Hero Section */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  background-image: url('images/thrbgvfcd-scaled.jpg');
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, 0.1);
  /* Very light overlay to keep the desk/logo bright */
}

.hero-content {
  position: relative;
  z-index: 10;
  max-width: 600px;
}

.hero-content h1,
.hero-content h2,
.hero-content p {
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.7);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: white;
  /* Changed to white for dark background */
}

.hero h1 span {
  color: var(--accent);
  /* Light blue accent for dark background */
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: #f1f5f9;
  /* Light grey for readability */
}

.hero-badge {
  display: inline-block;
  padding: 0.5rem 1rem;
  background-color: white;
  color: var(--primary-dark);
  border-radius: var(--radius-full);
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  box-shadow: var(--shadow-sm);
}

.hero h1 {
  font-size: 3.5rem;
  line-height: 1.1;
  margin-bottom: 1.5rem;
  color: var(--secondary);
}

.hero h1 span {
  color: var(--primary);
}

.hero p {
  font-size: 1.125rem;
  margin-bottom: 2rem;
  color: var(--text-main);
}

/* Cards & Grids */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border: 1px solid rgba(0, 0, 0, 0.05);
  height: 100%;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(14, 165, 233, 0.2);
}

.card-icon {
  width: 60px;
  height: 60px;
  background: var(--primary);
  color: white;
  border-radius: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.card-title {
  font-size: 1.25rem;
  margin-bottom: 1rem;
  color: var(--secondary);
}

/* Contact Info Box */
.contact-box {
  background: var(--surface);
  padding: 2rem;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  margin-top: -4rem;
  position: relative;
  z-index: 20;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-item:last-child {
  margin-bottom: 0;
}

.contact-icon {
  width: 40px;
  height: 40px;
  background: #e0f2fe;
  color: var(--primary-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* Footer */
footer {
  background-color: var(--secondary);
  color: white;
  padding: 4rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 3rem;
  margin-bottom: 3rem;
}

.footer-col h4 {
  color: white;
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
}

.footer-links {
  list-style: none;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: var(--text-muted);
}

.footer-links a:hover {
  color: var(--primary);
  padding-left: 5px;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-muted);
  font-size: 0.875rem;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mt-2 {
  margin-top: 0.5rem;
}

.mt-4 {
  margin-top: 1rem;
}

.mt-8 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 0.5rem;
}

.mb-4 {
  margin-bottom: 1rem;
}

.mb-8 {
  margin-bottom: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.5rem;
  }

  .section {
    padding: 3rem 0;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background: white;
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-md);
  }

  .nav-links.active {
    display: flex;
  }

  .mobile-menu-btn {
    display: block;
  }

  .contact-box {
    margin-top: 2rem;
  }
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fade-in {
  animation: fadeIn 0.8s ease-out forwards;
}

.delay-1 {
  animation-delay: 0.2s;
}

.delay-2 {
  animation-delay: 0.4s;
}

.delay-3 {
  animation-delay: 0.6s;
}

/* Booking Placeholder */
.booking-placeholder {
  background: white;
  border: 2px dashed #cbd5e1;
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
  margin-top: 2rem;
}

.booking-placeholder-icon {
  font-size: 3rem;
  color: var(--primary);
  margin-bottom: 1rem;
}

/* Custom Calendar Grid */
.calendar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.calendar-header h3 {
  margin: 0;
  font-size: 1.25rem;
}

.calendar-header h3 span {
  color: #2563eb;
  text-decoration: underline;
  text-decoration-style: dotted;
  text-underline-offset: 4px;
}

.btn-icon {
  background: white;
  border: 1px solid #e2e8f0;
  color: #334155;
  border-radius: var(--radius-md);
  padding: 0.5rem 1rem;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-icon:hover {
  background: #f8fafc;
  color: var(--primary);
}

.btn-icon:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.slots-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .slots-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .slots-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.slot-btn {
  background: #dcfce7;
  color: #166534;
  border: 2px solid transparent;
  border-radius: var(--radius-md);
  padding: 0.75rem 0.5rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: all 0.2s;
  text-align: center;
}

.slot-btn:hover {
  background: #bbf7d0;
  transform: translateY(-2px);
}

.slot-btn.disabled {
  background: #f1f5f9;
  color: #94a3b8;
  cursor: not-allowed;
  text-decoration: line-through;
  opacity: 0.8;
}

.slot-btn.disabled:hover {
  transform: none;
}

.slot-btn.selected {
  background: #166534;
  color: white;
  box-shadow: 0 4px 6px rgba(22, 101, 52, 0.2);
}

/* Full Month Calendar Grid Styles */
.month-calendar-wrapper {
  user-select: none;
}

.month-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 0.25rem 0.5rem;
  /* Less vertical gap */
  text-align: center;
}

.day-label {
  font-weight: 600;
  color: #94a3b8;
  font-size: 0.85rem;
  padding-bottom: 0.25rem;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 0.25rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.calendar-cell {
  padding: 0.5rem 0;
  /* Convert from square to compact rectangle */
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  font-weight: 500;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.2s;
  position: relative;
  color: var(--text-main);
}

.calendar-cell:not(.empty):not(.disabled):hover {
  background: #f1f5f9;
  color: var(--primary);
}

.calendar-cell.selected {
  background: var(--primary);
  color: white;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(14, 165, 233, 0.3);
}

.calendar-cell.disabled {
  color: #cbd5e1;
  cursor: not-allowed;
  background: transparent;
}

.calendar-cell.today {
  color: var(--primary);
  font-weight: 700;
}

/* Add a visual indicator for days with available slots */
.calendar-cell.has-slots::after {
  content: '';
  position: absolute;
  bottom: 15%;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background-color: #22c55e;
}

.calendar-cell.selected::after {
  background-color: white;
}

/* Minimal Contact Info List (from old design) */
.minimal-contact-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.minimal-contact-list li {
  display: flex;
  align-items: center;
  margin-bottom: 1.5rem;
  font-family: 'Cardo', serif;
  font-size: 1.25rem;
  color: var(--secondary);
}

.minimal-contact-list li a {
  color: var(--secondary);
  text-decoration: none;
  transition: color 0.3s ease;
}

.minimal-contact-list li a:hover {
  color: var(--primary);
}

.minimal-contact-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background-color: #3Bafbf;
  /* Teal color */
  color: white;
  border-radius: 50%;
  margin-right: 1.5rem;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.minimal-contact-heading {
  font-family: 'Cardo', serif;
  font-size: 1.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #334155;
  margin-bottom: 2.5rem;
  letter-spacing: 0.5px;
}

.minimal-contact-divider {
  width: 70px;
  height: 3px;
  background-color: #3Bafbf;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}