@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,600&display=swap');

:root {
  /* Colors */
  --color-primary: #e31837; /* Red accent */
  --color-primary-hover: #c4122d;
  --color-navy: #112340; /* Dark Navy for header/footer */
  --color-navy-light: #1a365d;
  --color-navy-dark: #0a1526;
  --color-text: #334155;
  --color-text-muted: #64748b;
  --color-text-light: #f8fafc;
  --color-bg-light: #f4f8fc; /* Light blue tint */
  --color-white: #ffffff;
  --color-border: #e2e8f0;
  
  /* Gradients */
  --gradient-stats: linear-gradient(90deg, var(--color-navy) 0%, var(--color-primary) 100%);
  
  /* Typography */
  --font-heading: 'Playfair Display', serif;
  --font-body: 'Inter', sans-serif;
  
  /* Layout & Spacing */
  --max-width: 1200px;
  --spacing-xs: 0.5rem;
  --spacing-sm: 1rem;
  --spacing-md: 2rem;
  --spacing-lg: 4rem;
  --spacing-xl: 6rem;
  
  /* Borders & Shadows */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 16px;
  --radius-pill: 50px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
  --shadow-card: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: transparent;
}

body {
  overflow-x: clip;
  width: 100%;
  max-width: 100%;
  font-family: var(--font-body);
  color: var(--color-text);
  line-height: 1.6;
  background-color: var(--color-white);
  -webkit-font-smoothing: antialiased;
  position: relative;
}

main, section, header, footer, .top-bar {
  width: 100%;
  max-width: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--color-navy);
  line-height: 1.2;
  margin-bottom: var(--spacing-sm);
}

a {
  text-decoration: none;
  color: inherit;
  transition: all 0.3s ease;
}

ul {
  list-style: none;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 var(--spacing-sm);
  box-sizing: border-box;
}

/* Top Utility Bar */
.top-bar {
  background-color: var(--color-navy);
  color: var(--color-text-light);
  font-size: 0.875rem;
  padding: var(--spacing-xs) 0;
}

.top-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--spacing-sm);
}

.top-bar-left, .top-bar-center, .top-bar-right {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.top-bar-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
}

.social-icons {
  display: flex;
  gap: var(--spacing-sm);
}

.social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  transition: transform 0.2s ease;
}

.social-icons a:hover {
  transform: scale(1.15);
}

/* Header & Nav */
.header {
  background-color: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 0;
  z-index: 1000;
  padding: var(--spacing-sm) 0;
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.3s ease, padding 0.3s ease;
}

.header.header-hidden {
  transform: translateY(-100%);
}

.header.header-scrolled {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  padding: 0.6rem 0;
}

.header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.logo-icon svg {
  width: 40px;
  height: 40px;
  stroke: var(--color-primary);
}

.logo-text {
  display: flex;
  flex-direction: column;
}

.logo-text strong {
  font-size: 1.25rem;
  color: var(--color-navy);
  line-height: 1.1;
}

.logo-text span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.main-nav {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
}

.nav-link {
  font-weight: 500;
  color: var(--color-navy);
  font-size: 0.9375rem;
  position: relative;
}

.nav-link:hover, .nav-link.active {
  color: var(--color-primary);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: var(--color-primary);
  border-radius: var(--radius-sm);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.9375rem;
  cursor: pointer;
  border: none;
  outline: none;
}

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

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

.btn-secondary {
  background-color: transparent;
  border: 1px solid var(--color-border);
  color: var(--color-navy);
}

.btn-secondary:hover {
  border-color: var(--color-navy);
}

.btn-navy {
  background-color: var(--color-navy);
  color: var(--color-white);
}

.btn-navy:hover {
  background-color: var(--color-navy-light);
}

.btn svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
}

/* Hero Section */
.hero {
  background-color: var(--color-bg-light);
  padding: var(--spacing-xl) 0;
  overflow: hidden;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.eyebrow {
  display: inline-block;
  background-color: rgba(227, 24, 55, 0.1);
  color: var(--color-primary);
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-pill);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: var(--spacing-sm);
}

.hero-content h1 {
  font-size: 3.5rem;
  margin-bottom: var(--spacing-sm);
}

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

.hero-content p {
  color: var(--color-text-muted);
  font-size: 1.125rem;
  margin-bottom: var(--spacing-md);
  max-width: 480px;
}

.hero-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.hero-feature-item {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.hero-feature-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: var(--color-white);
  box-shadow: var(--shadow-sm);
  color: var(--color-primary);
}

.hero-feature-icon svg {
  width: 20px;
  height: 20px;
  stroke: currentColor;
}

.hero-feature-text {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--color-navy);
  line-height: 1.2;
}

.hero-actions {
  display: flex;
  gap: var(--spacing-sm);
}

.hero-image {
  position: relative;
}

.hero-image img {
  border-radius: var(--radius-lg);
  width: 100%;
  object-fit: cover;
}

.experience-card {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  max-width: 250px;
}

.exp-icon {
  background-color: var(--color-white);
  color: var(--color-primary);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.exp-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.exp-text strong {
  display: block;
  font-size: 1.5rem;
  line-height: 1.1;
}

.exp-text span {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.8);
}

/* Sections Global */
.section {
  padding: var(--spacing-xl) 0;
}

.section-header {
  text-align: center;
  margin-bottom: var(--spacing-lg);
}

.section-header .eyebrow {
  margin-bottom: var(--spacing-xs);
}

.section-header h2 {
  font-size: 2.5rem;
  margin-bottom: var(--spacing-sm);
}

.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--spacing-xs);
}

.divider::before, .divider::after {
  content: '';
  height: 1px;
  width: 40px;
  background-color: var(--color-border);
}

.divider svg {
  width: 16px;
  height: 16px;
  fill: var(--color-primary);
  stroke: var(--color-primary);
}

/* Services Grid */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.service-card {
  background-color: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.service-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--color-primary);
}

.service-icon {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background-color: var(--color-white);
  color: var(--color-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: var(--spacing-sm);
  margin-top: -48px; /* overlap with banner */
  position: relative;
  z-index: 2;
  box-shadow: var(--shadow-md);
}

.service-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
  fill: none;
}

.service-card h3 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: var(--spacing-xs);
}

.service-card p {
  color: var(--color-text-muted);
  font-size: 0.875rem;
  margin-bottom: var(--spacing-sm);
  flex-grow: 1;
}

.service-card .arrow-link {
  color: var(--color-primary);
  display: inline-flex;
}

.service-card .arrow-link svg {
  width: 20px;
  height: 20px;
  fill: currentColor;
}

/* Expandable Card Styles */
.card-toggle {
  background: none;
  border: none;
  color: var(--color-primary);
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 0.875rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.5rem 0;
  margin-top: auto;
}

.card-toggle svg {
  width: 18px;
  height: 18px;
  transition: transform 0.3s ease;
}

.service-card.expanded .card-toggle svg {
  transform: rotate(180deg);
}

.card-details-wrapper {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
}

.service-card.expanded .card-details-wrapper {
  grid-template-rows: 1fr;
}

.card-details-inner {
  overflow: hidden;
  text-align: left;
}

.card-details-content {
  padding-top: var(--spacing-sm);
  border-top: 1px solid var(--color-border);
  margin-top: var(--spacing-sm);
}

.card-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--spacing-sm);
}

.card-tab-btn {
  background: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-pill);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--color-text-muted);
  cursor: pointer;
  transition: all 0.2s ease;
}

.card-tab-btn:hover {
  border-color: var(--color-primary);
  color: var(--color-primary);
}

.card-tab-btn.active {
  background: var(--color-primary);
  color: var(--color-white);
  border-color: var(--color-primary);
}

.tab-pane {
  display: none;
  font-size: 0.875rem;
  color: var(--color-text);
  line-height: 1.5;
  animation: fadeIn 0.3s ease;
}

.tab-pane.active {
  display: block;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* About Section on Home */
.about-home {
  background-color: var(--color-bg-light);
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: var(--spacing-lg);
  align-items: center;
}

.about-image {
  position: relative;
}

.about-image img {
  border-radius: var(--radius-md);
  width: 100%;
}

.about-badge {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: var(--spacing-sm) var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.about-badge strong {
  display: block;
  font-size: 2rem;
  line-height: 1;
}

.about-badge span {
  font-size: 0.75rem;
  text-transform: uppercase;
}

.about-content h2 {
  font-size: 2rem;
}

.about-content p {
  color: var(--color-text-muted);
  margin-bottom: var(--spacing-md);
}

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.about-feature {
  display: flex;
  gap: var(--spacing-sm);
}

.about-feature-icon {
  color: var(--color-primary);
}

.about-feature-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
}

.about-feature-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.about-feature-text p {
  font-size: 0.875rem;
  margin-bottom: 0;
}

/* Booking Card */
.booking-card {
  background-color: var(--color-navy);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  color: var(--color-white);
  box-shadow: var(--shadow-card);
}

.booking-card-header {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.booking-card-header svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-primary);
}

.booking-card-header h3 {
  color: var(--color-white);
  font-family: var(--font-body);
  margin-bottom: 0;
  font-size: 1.25rem;
}

.booking-card-header p {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.booking-form .form-group {
  margin-bottom: var(--spacing-sm);
}

.form-control {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(255,255,255,0.2);
  background-color: var(--color-white);
  color: var(--color-navy);
  font-family: var(--font-body);
  font-size: 0.9375rem;
}

.form-control::placeholder {
  color: #94a3b8;
}

.booking-form .btn {
  width: 100%;
  margin-top: var(--spacing-xs);
}

.privacy-note {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.25rem;
  margin-top: var(--spacing-sm);
  font-size: 0.75rem;
  color: rgba(255,255,255,0.7);
}

.privacy-note svg {
  width: 12px;
  height: 12px;
  fill: currentColor;
}

/* Stats Strip */
.stats-strip {
  background: var(--gradient-stats);
  padding: var(--spacing-md) 0;
  color: var(--color-white);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--spacing-md);
  text-align: center;
}

.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: var(--spacing-xs);
}

.stat-icon svg {
  width: 32px;
  height: 32px;
  stroke: var(--color-white);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1;
}

.stat-label {
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  opacity: 0.9;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.testimonial-card {
  background-color: var(--color-bg-light);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  position: relative;
}

.quote-icon {
  color: var(--color-primary);
  opacity: 0.2;
  margin-bottom: var(--spacing-sm);
}

.quote-icon svg {
  width: 32px;
  height: 32px;
  fill: currentColor;
}

.testimonial-text {
  font-style: italic;
  color: var(--color-text);
  margin-bottom: var(--spacing-md);
  font-size: 0.9375rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: var(--spacing-sm);
}

.author-img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.author-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0;
}

.author-info span {
  font-size: 0.75rem;
  color: var(--color-text-muted);
}

.carousel-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: var(--spacing-lg);
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--color-border);
  cursor: pointer;
}

.dot.active {
  background-color: var(--color-primary);
}

/* Page Hero Header */
.page-hero {
  background-color: var(--color-navy);
  color: var(--color-white);
  padding: var(--spacing-lg) 0;
  text-align: center;
}

.page-hero h1 {
  color: var(--color-white);
  font-size: 2.5rem;
  margin-bottom: var(--spacing-xs);
}

.breadcrumb {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.breadcrumb a {
  color: var(--color-primary);
}

/* Quick Navigation */
.treatments-quick-nav {
  position: sticky;
  top: 72px; /* Sticks right below main header */
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  z-index: 90;
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid var(--color-border);
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05);
  margin-bottom: var(--spacing-lg);
}

.quick-nav-scroll {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
  scrollbar-width: thin;
}

.quick-nav-scroll::-webkit-scrollbar {
  height: 4px;
}

.quick-nav-scroll::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 4px;
}

.quick-nav-btn {
  white-space: nowrap;
  padding: 0.5rem 1.25rem;
  background: var(--color-bg-light);
  color: var(--color-text);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 500;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.quick-nav-btn:hover {
  background: var(--color-white);
  color: var(--color-primary);
  border-color: var(--color-primary);
  box-shadow: var(--shadow-sm);
  text-decoration: none;
}

/* Treatments Page */
.treatment-category {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: var(--spacing-xl);
  margin-bottom: 6rem;
  align-items: start;
  position: relative;
}

.category-image-wrapper {
  position: sticky;
  top: 145px;
  align-self: start;
  z-index: 10;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.category-image-wrapper img {
  width: 100%;
  height: auto;
  aspect-ratio: 4/3;
  object-fit: cover;
  object-position: center;
  background-color: #ffffff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  border: 1px solid var(--color-border);
}

.category-sticky-info {
  background-color: var(--color-bg-light);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  box-shadow: var(--shadow-sm);
}

.category-sticky-info h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 700;
  color: var(--color-navy);
  margin-bottom: 0.25rem;
}

.category-sticky-info p {
  font-size: 0.85rem;
  color: var(--color-text-muted);
  line-height: 1.4;
  margin-bottom: 0.5rem;
}

.treatment-category h2 {
  font-size: 2rem;
  margin-bottom: var(--spacing-md);
  padding-bottom: var(--spacing-xs);
  border-bottom: 2px solid var(--color-border);
}

.treatment-category .services-grid {
  grid-template-columns: 1fr;
  gap: var(--spacing-md);
}

.treatment-category .service-card {
  text-align: left;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 2rem;
}

.treatment-category .service-icon {
  margin: 0 0 1rem 0;
}

.card-banner {
  display: none;
}



/* Contact Page */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--spacing-lg);
}

.contact-info-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-md);
  margin-bottom: var(--spacing-md);
}

.contact-item {
  display: flex;
  gap: var(--spacing-sm);
}

.contact-item-icon {
  color: var(--color-primary);
  background: rgba(227, 24, 55, 0.1);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 4px 6px rgba(227, 24, 55, 0.05);
}

.contact-item-icon svg {
  width: 24px;
  height: 24px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2px;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.contact-item-text h4 {
  font-family: var(--font-body);
  font-size: 1rem;
  margin-bottom: 0.25rem;
}

.contact-item-text p {
  color: var(--color-text-muted);
  font-size: 0.9375rem;
}

.map-placeholder {
  width: 100%;
  height: 300px;
  background-color: var(--color-bg-light);
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-text-muted);
  font-weight: 500;
}

.emergency-banner {
  background: var(--gradient-stats);
  color: var(--color-white);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  text-align: center;
  margin-top: var(--spacing-lg);
}

.emergency-banner h2 {
  color: var(--color-white);
  margin-bottom: var(--spacing-xs);
}

/* Footer */
.footer {
  background-color: var(--color-navy);
  color: var(--color-text-light);
  padding-top: var(--spacing-xl);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1.5fr;
  gap: var(--spacing-xl);
  margin-bottom: var(--spacing-lg);
}

.footer-col h4 {
  font-family: var(--font-body);
  font-size: 1.125rem;
  font-weight: 600;
  color: var(--color-white);
  margin-bottom: var(--spacing-md);
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 30px;
  height: 2px;
  background-color: var(--color-primary);
}

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

.footer-links a {
  color: rgba(255,255,255,0.7);
  font-size: 0.875rem;
}

.footer-links a:hover {
  color: var(--color-primary);
}

.footer-about p {
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
  margin-top: var(--spacing-sm);
  margin-bottom: var(--spacing-md);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.footer-contact-item {
  display: flex;
  gap: var(--spacing-xs);
  font-size: 0.875rem;
  color: rgba(255,255,255,0.7);
}

.footer-contact-item svg {
  width: 16px;
  height: 16px;
  stroke: var(--color-primary);
  flex-shrink: 0;
  margin-top: 2px;
}

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

/* ==========================================================================
   NAVIGATION & DROPDOWN BASE (DESKTOP)
   ========================================================================== */

.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--color-navy);
  cursor: pointer;
  padding: 0.5rem;
  min-width: 44px;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius-md);
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.mobile-nav-toggle svg {
  width: 28px;
  height: 28px;
  stroke: var(--color-navy);
  transition: transform 0.3s ease;
  display: block;
}

.mobile-nav-toggle.is-active svg {
  transform: rotate(90deg);
}

.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-icon {
  margin-left: 4px;
  transition: transform 0.3s ease;
  vertical-align: middle;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  background-color: white;
  min-width: 250px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.12);
  border-radius: var(--radius-md);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
  border: 1px solid var(--color-border);
}

.nav-item-dropdown:hover .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-item-dropdown:hover .dropdown-icon {
  transform: rotate(180deg);
}

.dropdown-menu a {
  display: block;
  padding: 0.65rem 1.25rem;
  color: var(--color-text);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background-color: var(--color-bg-light);
  color: var(--color-primary);
  padding-left: 1.6rem;
}

.mobile-menu-cta {
  display: none;
}

/* ==========================================================================
   SERVICES CAROUSEL (AUTO SCROLL)
   ========================================================================== */

.services-carousel {
  width: 100%;
  max-width: 100vw;
  overflow: hidden;
  position: relative;
  contain: paint;
  padding: var(--spacing-sm) 0;
  margin-bottom: var(--spacing-lg);
}

.services-carousel::before,
.services-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  width: 30px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.services-carousel::before {
  left: 0;
  background: linear-gradient(to right, var(--color-white) 0%, transparent 100%);
}

.services-carousel::after {
  right: 0;
  background: linear-gradient(to left, var(--color-white) 0%, transparent 100%);
}

.services-track {
  display: flex;
  width: max-content;
  max-width: none;
  animation: scroll-carousel 30s linear infinite;
  gap: var(--spacing-md);
  will-change: transform;
}

.services-track:hover {
  animation-play-state: paused;
}

.services-carousel .service-card {
  width: 300px;
  max-width: 85vw;
  flex-shrink: 0;
  margin-bottom: 0;
}

@keyframes scroll-carousel {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-50% - (var(--spacing-md) / 2))); }
}

/* ==========================================================================
   SCROLL REVEAL ANIMATION
   ========================================================================== */

.reveal {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.reveal.active {
  opacity: 1;
  transform: none !important;
  will-change: auto !important;
}

/* ==========================================================================
   EDUCATION HORIZONTAL TIMELINE FLOW
   ========================================================================== */

.education-horizontal {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.education-line {
  position: absolute;
  top: 30px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background-color: var(--color-primary);
  opacity: 0.3;
  z-index: 0;
}

.education-item {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.education-year {
  background: white;
  border: 2px solid var(--color-primary);
  color: var(--color-primary);
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 0 8px var(--color-bg-light);
}

/* ==========================================================================
   PATIENT TREATMENT GRID
   ========================================================================== */

.treatment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

/* ==========================================================================
   WHATSAPP FLOATING BUTTON
   ========================================================================== */

.whatsapp-float {
  position: fixed;
  width: 58px;
  height: 58px;
  bottom: 35px;
  right: 35px;
  background-color: #25d366;
  color: #FFF;
  border-radius: 50px;
  text-align: center;
  box-shadow: 0 4px 12px rgba(37, 211, 102, 0.35);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.whatsapp-float:hover {
  background-color: #128c7e;
  color: white;
  transform: translateY(-5px) scale(1.05);
  box-shadow: 0 8px 18px rgba(37, 211, 102, 0.45);
}

.whatsapp-float svg {
  fill: white;
  width: 30px;
  height: 30px;
}

/* ==========================================================================
   RESPONSIVE MEDIA QUERIES
   ========================================================================== */

/* TABLETS & SMALL SCREENS (<= 1024px) */
@media (max-width: 1024px) {
  .hero-grid, .about-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: var(--spacing-md);
  }
  
  .hero-content {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(12px);
    padding: 2rem 1.5rem;
    border-radius: 1.25rem;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    border: 1px solid rgba(255,255,255,0.6);
  }
  
  .hero-actions, .hero-features {
    justify-content: center;
  }
  
  .hero-image {
    min-height: auto !important;
    height: auto !important;
    margin-top: 1rem;
  }

  .experience-card {
    position: relative !important;
    justify-content: center;
    max-width: max-content;
    margin: 1rem auto 0 auto;
  }

  .about-image img {
    margin: 0 auto;
    max-width: 380px;
  }

  .treatment-category {
    grid-template-columns: 1fr;
    gap: var(--spacing-md);
    margin-bottom: 3.5rem;
  }

  .category-image-wrapper {
    position: relative;
    top: 0;
    margin-bottom: var(--spacing-sm);
  }

  .category-image-wrapper img {
    aspect-ratio: 16/9;
    width: 100%;
    object-fit: cover;
    border-radius: var(--radius-md);
  }

  .education-horizontal {
    grid-template-columns: repeat(2, 1fr);
  }

  .education-line {
    display: none;
  }
}

/* MOBILE VIEW (<= 992px) */
@media (max-width: 992px) {
  /* Hide Top Utility Bar on mobile */
  .top-bar {
    display: none !important;
  }

  .header {
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.75rem 0;
  }

  .header .container {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  /* Show Hamburger Button */
  .mobile-nav-toggle {
    display: flex !important;
  }

  /* Hide Desktop Header CTA */
  .header .btn-primary.header-cta {
    display: none !important;
  }

  /* Mobile Navigation Drawer */
  .main-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    background-color: #ffffff;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    padding: 0;
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;
    pointer-events: none;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
    border-bottom: 3px solid var(--color-primary);
    z-index: 9999;
  }

  .main-nav.is-open {
    max-height: 85vh;
    opacity: 1;
    visibility: visible;
    overflow-y: auto;
    pointer-events: auto;
    padding: 1.25rem 1.25rem 1.75rem;
  }

  .main-nav .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-size: 1.05rem;
    font-weight: 600;
    border-radius: var(--radius-md);
    color: var(--color-navy);
    border-bottom: 1px solid var(--color-bg-light);
  }

  .main-nav .nav-link:hover,
  .main-nav .nav-link.active {
    background-color: var(--color-bg-light);
    color: var(--color-primary);
  }

  .main-nav .nav-link.active::after {
    display: none;
  }

  /* Mobile Dropdown Sub-menu */
  .nav-item-dropdown {
    width: 100%;
  }

  .nav-item-dropdown .dropdown-menu {
    position: static;
    box-shadow: none;
    border: none;
    background-color: var(--color-bg-light);
    border-radius: var(--radius-md);
    padding: 0;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    visibility: hidden;
    transform: none;
    margin: 0;
    transition: max-height 0.35s ease, opacity 0.3s ease, padding 0.3s ease;
  }

  .nav-item-dropdown.is-expanded .dropdown-menu {
    max-height: 500px;
    opacity: 1;
    visibility: visible;
    padding: 0.5rem 0;
    margin: 0.35rem 0;
  }

  .nav-item-dropdown.is-expanded .dropdown-icon {
    transform: rotate(180deg);
  }

  .nav-item-dropdown .dropdown-menu a {
    padding: 0.75rem 1.5rem;
    font-size: 0.95rem;
    color: var(--color-text);
    display: block;
  }

  .mobile-menu-cta {
    display: flex;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
  }

  .services-grid, .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.25rem;
  }
  
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
  }

  .treatment-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
}

/* SMARTPHONES (<= 768px) */
@media (max-width: 768px) {
  :root {
    --spacing-lg: 2.5rem;
    --spacing-xl: 3.5rem;
  }

  .container {
    padding: 0 1.25rem;
  }

  .section {
    padding: 3.5rem 0;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }

  .services-grid, .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .section-header h2 {
    font-size: clamp(1.75rem, 5vw, 2.25rem);
  }

  .hero-actions {
    flex-direction: column;
    width: 100%;
    gap: 0.75rem;
  }

  .hero-actions .btn {
    width: 100%;
    justify-content: center;
  }

  .hero-features {
    display: grid !important;
    grid-template-columns: 1fr 1fr;
    gap: 1rem !important;
  }

  /* Vertical Timeline for Mobile */
  .education-horizontal {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    position: relative;
    padding-left: 2rem;
  }

  .education-horizontal::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 20px;
    left: 24px;
    width: 2px;
    background-color: var(--color-primary);
    opacity: 0.3;
  }

  .education-item {
    align-items: flex-start;
    text-align: left;
    position: relative;
    padding-left: 1.5rem;
  }

  .education-year {
    width: 48px;
    height: 48px;
    font-size: 0.875rem;
    margin-bottom: 0.75rem;
    position: absolute;
    left: -24px;
    top: 0;
    box-shadow: 0 0 0 5px var(--color-bg-light);
  }

  /* Expandable Cards & Tabs on Mobile */
  .card-tabs {
    display: flex;
    gap: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 4px;
    margin-bottom: 1rem;
  }

  .card-tabs::-webkit-scrollbar {
    display: none;
  }

  .card-tab-btn {
    flex-shrink: 0;
    min-height: 40px;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    border-radius: var(--radius-pill);
  }

  .card-details-inner {
    padding: 1rem 0 0 0;
  }

  /* WhatsApp Floating Button */
  .whatsapp-float {
    width: 52px;
    height: 52px;
    bottom: max(20px, env(safe-area-inset-bottom, 20px));
    right: max(20px, env(safe-area-inset-right, 20px));
  }

  .whatsapp-float svg {
    width: 26px;
    height: 26px;
  }
}

/* SMALL PHONES (<= 576px) */
@media (max-width: 576px) {
  .container {
    padding: 0 1rem;
  }

  .header {
    padding: 0.75rem 0;
  }

  .logo-icon svg {
    width: 32px;
    height: 32px;
  }

  .logo-text strong {
    font-size: 1.1rem;
  }

  .logo-text span {
    font-size: 0.7rem;
  }

  .hero-content {
    padding: 1.5rem 1rem;
  }

  .hero-content h1 {
    font-size: clamp(1.85rem, 6.5vw, 2.35rem);
    line-height: 1.2;
  }

  .hero-content p {
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
  }

  .hero-features {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
    text-align: left;
    margin-bottom: 1.5rem;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .treatment-category .service-card {
    padding: 1.25rem 1rem;
  }

  .service-icon {
    width: 54px;
    height: 54px;
    margin-top: -38px;
  }

  .service-icon svg {
    width: 26px;
    height: 26px;
  }
}

/* EXTRA SMALL PHONES (<= 380px) */
@media (max-width: 380px) {
  .logo-text span {
    display: none;
  }

  .hero-content h1 {
    font-size: 1.7rem;
  }
}
