/* ==========================================================================
   PhysioCare - Premium Physiotherapy & Rehabilitation Healthcare Startup
   Main Design System & Layout Stylesheet
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. CSS Custom Properties (Design Tokens)
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette - White and Romba Light Blue Clinical Theme */
  --primary-950: #062419; /* Deep Sapphire Slate */
  --primary-900: #0a3828; /* Deep Navy Slate for Headings & Contrast */
  --primary-800: #047857;
  --primary-700: #059669; /* Clinical Azure Blue (Primary CTA & Highlights) */
  --primary-600: #10b981; /* Sky Blue */
  --primary-500: #34d399; /* Luminous Blue */
  --primary-200: #a7f3d0; /* Soft Sky Tint */
  --primary-100: #ecfdf5; /* Ice Blue Pill/Card Background */
  --primary-50:  #f0fdf4; /* Ultra Light Blue Tint */

  --secondary: #059669;    /* Medical Azure Blue */
  --secondary-hover: #047857;
  --secondary-light: #34d399;
  --secondary-50: #ecfdf5;

  --accent-mint: #10b981;   /* WhatsApp & Recovery Indicators */
  --accent-warm: #f59e0b;   /* Warm Gold for Ratings */
  --accent-coral: #ef4444;  /* Urgent Alert */

  /* Mild Light Green Palette */
  --light-green-50:  #f0fdf4; /* Ultra Mild Whisper Green */
  --light-green-100: #ecfdf5; /* Soft Pastel Mint Green */
  --light-green-200: #e1f7ec; /* Very Mild Healing Green */
  --light-green-300: #dcfce7; /* Light Fresh Green */
  --gradient-mild-green: linear-gradient(135deg, #f0fdf4 0%, #edf9f2 40%, #e1f7ec 100%);
  --gradient-mild-green-overlay: linear-gradient(135deg, rgba(240, 253, 244, 0.70) 0%, rgba(236, 253, 245, 0.60) 45%, rgba(225, 247, 236, 0.70) 100%);

  /* Light Blue & Light Green Mix Palette */
  --light-blue-100: #ecfdf5; /* Soft Sky / Ice Blue */
  --light-blue-200: #a7f3d0; /* Light Azure Blue */
  --light-cyan-100: #cffafe; /* Soft Cyan Aqua */
  --light-teal-100: #ccfbf1;  /* Balanced 50/50 Blue-Green Bridge */
  --gradient-blue-green: linear-gradient(135deg, #ecfdf5 0%, #e6faf5 45%, #dcfce7 100%);
  --gradient-blue-green-overlay: linear-gradient(135deg, rgba(224, 242, 254, 0.82) 0%, rgba(204, 251, 241, 0.76) 50%, rgba(220, 252, 231, 0.82) 100%);

  /* Neutral Surfaces (White & Romba Light Blue) */
  --bg-page: #f9fdfa;       /* Pure Crisp Canvas with subtle Ice-Blue Whisper */
  --bg-alt: #edf8f2;        /* Very Light Pastel/Ice Blue for alternating sections */
  --bg-light-blue: #ecfdf5; /* Distinct Light Blue Card Surface */
  --bg-ice: #f0fdf4;        /* Clean Clinical Ice Blue */
  --bg-dark: #062419;
  --bg-dark-surface: #0a3828;
  --surface: #ffffff;
  --surface-card: #ffffff;
  --surface-elevated: #ffffff;

  /* Text Colors */
  --text-main: #0f2942;     /* Deep Navy Slate for maximum readable contrast */
  --text-muted: #475569;    /* Clean Slate Gray for Subtitles */
  --text-light: #94a3b8;
  --text-white: #ffffff;
  --text-inverse-muted: #94a3b8;

  /* Borders & Dividers */
  --border-subtle: #d1fae5; /* Soft Light Blue Border */
  --border-focus: #059669;  /* Azure Focus Outline */
  --border-glass: rgba(16, 185, 129, 0.15);

  /* Shadows (Sky Blue tinted for glowing elegance) */
  --shadow-xs: 0 1px 2px rgba(15, 41, 66, 0.04);
  --shadow-sm: 0 2px 8px rgba(15, 41, 66, 0.05);
  --shadow-md: 0 8px 24px rgba(5, 150, 105, 0.08);
  --shadow-lg: 0 16px 40px rgba(5, 150, 105, 0.12);
  --shadow-xl: 0 24px 60px rgba(5, 150, 105, 0.16);
  --shadow-glow: 0 0 30px rgba(16, 185, 129, 0.35);

  /* Typography */
  --font-heading: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-accent: 'Outfit', sans-serif;

  /* Border Radiuses */
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --radius-xl: 28px;
  --radius-full: 9999px;

  /* Transitions */
  --transition-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-smooth: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* --------------------------------------------------------------------------
   2. Reset & Base Elements
   -------------------------------------------------------------------------- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
  max-width: 100vw;
}

body {
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.65;
  color: var(--text-main);
  background-color: var(--bg-page);
  overflow-x: hidden;
  max-width: 100vw;
  position: relative;
}

img, picture, video, canvas, svg {
  display: block;
  max-width: 100%;
  height: auto;
}

input, button, textarea, select {
  font: inherit;
  color: inherit;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

ul, ol {
  list-style: none;
}

button {
  background: none;
  border: none;
  cursor: pointer;
}

/* --------------------------------------------------------------------------
   3. Typography & Section Headers
   -------------------------------------------------------------------------- */
h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
  color: var(--text-main);
}

h1 { font-size: clamp(2.25rem, 4.5vw, 3.6rem); letter-spacing: -0.025em; }
h2 { font-size: clamp(1.85rem, 3.2vw, 2.6rem); letter-spacing: -0.02em; }
h3 { font-size: clamp(1.35rem, 2.2vw, 1.75rem); }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.1rem; }
h6 { font-size: 0.95rem; text-transform: uppercase; letter-spacing: 0.05em; }

p {
  color: var(--text-muted);
}

.lead-text {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--text-muted);
}

/* Section Header Utility */
.section-header {
  margin-bottom: 3.5rem;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background-color: var(--primary-50);
  border: 1px solid var(--primary-100);
  color: var(--primary-700);
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.section-badge i {
  color: var(--secondary);
  font-size: 0.9rem;
}

.section-badge.badge-white {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.section-title {
  margin-bottom: 1rem;
  color: var(--primary-900);
}

.section-title span.highlight {
  color: var(--secondary);
  position: relative;
  display: inline-block;
}

.section-desc {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   4. Layout Containers & Grid System
   -------------------------------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1.5rem;
  padding-right: 1.5rem;
}

.container-narrow {
  max-width: var(--container-narrow);
}

.section-py {
  padding-top: 5.5rem;
  padding-bottom: 5.5rem;
}

.section-py-lg {
  padding-top: 7rem;
  padding-bottom: 7rem;
}

.bg-alt {
  background-color: var(--bg-alt);
}

.bg-white {
  background-color: var(--surface);
}

.bg-dark {
  background-color: var(--bg-dark);
  color: var(--text-white);
}

.bg-dark .section-title,
.bg-dark h1, .bg-dark h2, .bg-dark h3, .bg-dark h4 {
  color: #ffffff;
}

.bg-dark p,
.bg-dark .section-desc {
  color: var(--text-inverse-muted);
}

/* Flex & Grid Utilities */
.grid {
  display: grid;
  gap: 2rem;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-align-center { display: flex; align-items: center; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.gap-3 { gap: 1.5rem; }
.gap-4 { gap: 2rem; }

/* --------------------------------------------------------------------------
   5. Buttons & Interactive Links
   -------------------------------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.85rem;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  transition: all var(--transition-normal);
  cursor: pointer;
  white-space: nowrap;
  line-height: 1;
}

.btn i {
  font-size: 0.95rem;
  transition: transform var(--transition-fast);
}

.btn:hover i {
  transform: translateX(3px);
}

.btn-primary {
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  border: 1px solid rgba(5, 150, 105, 0.4);
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.28);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  border-color: #047857;
  box-shadow: 0 8px 22px rgba(5, 150, 105, 0.42);
  transform: translateY(-2px);
  color: #ffffff;
}

.btn-secondary {
  background-color: var(--secondary);
  color: #ffffff;
  border: 1px solid var(--secondary);
  box-shadow: 0 4px 14px rgba(23, 184, 144, 0.28);
}

.btn-secondary:hover {
  background-color: var(--secondary-hover);
  border-color: var(--secondary-hover);
  box-shadow: 0 8px 24px rgba(23, 184, 144, 0.4);
  transform: translateY(-2px);
}

.btn-outline {
  background-color: #ffffff;
  color: #059669;
  border: 1.5px solid #059669;
  box-shadow: 0 2px 6px rgba(5, 150, 105, 0.08);
}

.btn-outline:hover {
  background-color: #059669;
  color: #ffffff;
  border-color: #059669;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.25);
}

.btn-outline-white {
  background-color: transparent;
  color: #ffffff;
  border: 1.5px solid rgba(255, 255, 255, 0.6);
}

.btn-outline-white:hover {
  background-color: #ffffff;
  color: var(--primary-900);
  border-color: #ffffff;
  transform: translateY(-2px);
}

.btn-white {
  background-color: #ffffff;
  color: var(--primary-900);
  border: 1px solid #ffffff;
  box-shadow: var(--shadow-md);
}

.btn-white:hover {
  background-color: var(--primary-50);
  color: var(--primary-700);
  transform: translateY(-2px);
}

.btn-sm {
  padding: 0.6rem 1.25rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.05rem 2.25rem;
  font-size: 1.05rem;
}

/* Arrow Link */
.link-arrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  color: var(--primary-700);
  transition: all var(--transition-fast);
}

.link-arrow i {
  font-size: 0.85rem;
  transition: transform var(--transition-fast);
}

.link-arrow:hover {
  color: var(--secondary);
}

.link-arrow:hover i {
  transform: translateX(4px);
}

/* --------------------------------------------------------------------------
   6. Top Notification Bar - Mild Green Theme, No Border
   -------------------------------------------------------------------------- */
.topbar {
  background-color: #f0fdf4;
  color: #064e3b;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: none;
}

.topbar-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-items {
  display: flex;
  align-items: center;
  gap: 1.75rem;
}

.topbar-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.topbar-item i {
  color: #059669;
}

.topbar-socials {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.topbar-socials a {
  color: #059669;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #a7f3d0;
  font-size: 0.80rem;
  transition: all var(--transition-fast);
}

.topbar-socials a:hover {
  background: #059669;
  border-color: #059669;
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   7. Main Navigation Header - Simple, Borderless, Clean
   -------------------------------------------------------------------------- */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #ffffff;
  border: none;
  border-bottom: none;
  box-shadow: none;
  transition: all 0.3s ease;
}

.main-header.scrolled {
  background: rgba(255, 255, 255, 0.98);
  border-bottom: none;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}

.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 74px;
  transition: height 0.3s ease;
}

.main-header.scrolled .nav-container {
  height: 68px;
}

/* Brand Logo */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  text-decoration: none;
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.brand-logo:hover {
  transform: translateY(-1px);
}

.brand-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 2px 8px rgba(13, 148, 136, 0.15));
}

.brand-name {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--primary-900);
  letter-spacing: -0.03em;
  display: flex;
  flex-direction: column;
  line-height: 1.1;
  white-space: nowrap;
}

.brand-name span.brand-dot {
  color: var(--secondary);
}

.brand-tagline {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Desktop Menu Links - Simple, Clean, No Isolated Container */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.85rem;
  background: transparent;
  padding: 0;
  border: none;
  border-radius: 0;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 500;
  color: #334155;
  padding: 0.5rem 0;
  border-radius: 0;
  background: transparent;
  text-decoration: none;
  position: relative;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.nav-link:hover {
  color: #059669;
  background: transparent;
}

.nav-link.active {
  color: #059669;
  background: transparent;
  font-weight: 700;
  box-shadow: none;
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: #059669;
  border-radius: 2px;
}

/* Header Action Buttons */
.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  flex-shrink: 0;
  white-space: nowrap;
}

/* Premium WhatsApp OPD Speed-Dial Dropdown */
.nav-wa-dropdown {
  position: relative;
}

.nav-wa-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.48rem 0.95rem;
  background: #ffffff;
  border: 1px solid rgba(37, 211, 102, 0.35);
  border-radius: 9999px;
  color: var(--primary-900);
  font-family: inherit;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(37, 211, 102, 0.12);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-wa-btn:hover,
.nav-wa-dropdown.active .nav-wa-btn {
  background: rgba(37, 211, 102, 0.08);
  border-color: #25d366;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.25);
  transform: translateY(-1px);
}

.nav-wa-icon-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background: #25d366;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.85rem;
}

.nav-wa-pulse {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 8px;
  height: 8px;
  background: #10b981;
  border: 2px solid #ffffff;
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(16, 185, 129, 0.4);
  animation: pulseGreen 2s infinite;
}

@keyframes pulseGreen {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.nav-wa-label {
  letter-spacing: -0.01em;
}

.nav-wa-chevron {
  font-size: 0.72rem;
  color: #64748b;
  transition: transform 0.25s ease;
}

.nav-wa-dropdown.active .nav-wa-chevron,
.nav-wa-dropdown:hover .nav-wa-chevron {
  transform: rotate(180deg);
}

/* WhatsApp Dropdown Floating Menu */
.nav-wa-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  width: 310px;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 16px;
  box-shadow: 0 20px 40px -10px rgba(15, 23, 42, 0.18), 0 0 0 1px rgba(15, 76, 92, 0.05);
  padding: 0.75rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1060;
  pointer-events: none;
}

.nav-wa-dropdown:hover .nav-wa-menu,
.nav-wa-dropdown.active .nav-wa-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-wa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.4rem 0.5rem 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(15, 76, 92, 0.08);
  margin-bottom: 0.5rem;
}

.nav-wa-header-title {
  font-size: 0.76rem;
  font-weight: 700;
  color: var(--primary-900);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-wa-badge {
  font-size: 0.70rem;
  font-weight: 700;
  color: #059669;
  background: rgba(16, 185, 129, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.wa-dot {
  width: 6px;
  height: 6px;
  background: #10b981;
  border-radius: 50%;
  display: inline-block;
}

.nav-wa-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem;
  border-radius: 12px;
  text-decoration: none;
  transition: all 0.2s ease;
  margin-bottom: 0.35rem;
  border: 1px solid transparent;
}

.nav-wa-item:hover {
  background: rgba(13, 148, 136, 0.06);
  border-color: rgba(13, 148, 136, 0.18);
  transform: translateX(3px);
}

.nav-wa-avatar {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  flex-shrink: 0;
}

.nav-wa-avatar.ortho-avatar {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.25));
  color: #059669;
}

.nav-wa-avatar.neuro-avatar {
  background: linear-gradient(135deg, rgba(16, 185, 129, 0.15), rgba(5, 150, 105, 0.25));
  color: #059669;
}

.nav-wa-details {
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.nav-wa-item-top {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.nav-wa-item-name {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--primary-900);
}

.nav-wa-tag {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
}

.nav-wa-tag.ortho-tag {
  background: rgba(5, 150, 105, 0.12);
  color: #059669;
}

.nav-wa-tag.neuro-tag {
  background: rgba(16, 185, 129, 0.14);
  color: #047857;
}

.nav-wa-item-spec {
  font-size: 0.72rem;
  color: #64748b;
  font-weight: 500;
}

.nav-wa-item-num {
  font-size: 0.76rem;
  color: #059669;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-top: 0.1rem;
}

.nav-wa-item-arrow {
  color: #94a3b8;
  font-size: 0.78rem;
  transition: transform 0.2s ease, color 0.2s ease;
}

.nav-wa-item:hover .nav-wa-item-arrow {
  color: #059669;
  transform: translateX(2px);
}

.nav-wa-footer {
  padding: 0.5rem 0.5rem 0.2rem 0.5rem;
  border-top: 1px solid rgba(5, 150, 105, 0.08);
  font-size: 0.70rem;
  font-weight: 600;
  color: #64748b;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.nav-wa-footer i {
  color: #059669;
}

/* Premium CTA Pill Button */
.nav-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.52rem 1.15rem;
  background: linear-gradient(135deg, #059669 0%, #10b981 100%);
  color: #ffffff;
  font-size: 0.86rem;
  font-weight: 700;
  border-radius: 9999px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(5, 150, 105, 0.25);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  letter-spacing: 0.01em;
}

.nav-cta-btn:hover {
  background: linear-gradient(135deg, #047857 0%, #059669 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(5, 150, 105, 0.35);
  color: #ffffff;
}

.nav-cta-btn i {
  font-size: 0.90rem;
  transition: transform 0.2s ease;
}

.nav-cta-btn:hover i {
  transform: scale(1.1);
}

/* Mobile Toggle Hamburger */
.mobile-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 28px;
  height: 20px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  z-index: 1001;
}

.mobile-toggle span {
  width: 100%;
  height: 2.5px;
  background-color: var(--primary-900);
  border-radius: 3px;
  transition: all var(--transition-normal);
}

.mobile-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 320px;
  max-width: 85vw;
  height: 100vh;
  background-color: var(--surface);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.15);
  z-index: 1050;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transform: translateX(105%);
  visibility: hidden;
  transition: transform var(--transition-smooth), visibility var(--transition-smooth);
  overflow-y: auto;
}

.mobile-drawer.open {
  transform: translateX(0);
  visibility: visible;
}

.mobile-backdrop {
  position: fixed;
  inset: 0;
  background-color: rgba(7, 37, 47, 0.5);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 1040;
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-normal);
}

.mobile-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border-subtle);
}

.mobile-drawer-close {
  background: rgba(15, 76, 92, 0.06);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  color: var(--primary-900);
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-drawer-close:hover {
  background: rgba(239, 68, 68, 0.12);
  color: #ef4444;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  margin-top: 1.5rem;
}

.mobile-menu-link {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--text-main);
  padding: 0.55rem 0.5rem;
  border-radius: 8px;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
  text-decoration: none;
  transition: all 0.2s ease;
}

.mobile-menu-link:hover,
.mobile-menu-link.active {
  color: #059669;
  padding-left: 0.75rem;
  background: rgba(5, 150, 105, 0.08);
}

.mobile-drawer-bottom {
  margin-top: 2rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-subtle);
}

.mobile-drawer-wa-card {
  background: linear-gradient(135deg, rgba(37, 211, 102, 0.08), rgba(13, 148, 136, 0.08));
  border: 1px solid rgba(37, 211, 102, 0.25);
  border-radius: 14px;
  padding: 0.9rem;
  margin-bottom: 1.25rem;
}

.mobile-drawer-wa-title {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--primary-900);
  margin-bottom: 0.65rem;
}

.mobile-drawer-wa-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.mobile-wa-pill {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.55rem 0.85rem;
  background: #ffffff;
  border: 1px solid rgba(15, 76, 92, 0.12);
  border-radius: 9999px;
  text-decoration: none;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-900);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
}

.mobile-wa-pill:hover {
  border-color: #25d366;
  color: #059669;
  transform: translateX(2px);
}

.mobile-wa-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  margin-right: 0.4rem;
}

.mobile-wa-dot.ortho {
  background: #059669;
}

.mobile-wa-dot.neuro {
  background: #10b981;
}

/* --------------------------------------------------------------------------
   8. Page Hero Banner & Clinical Framed Animation Architecture
   "correct ah frame ah set panni kudu ... mobile laiyum correct ah set panni kudu"
   -------------------------------------------------------------------------- */
.page-banner {
  background: linear-gradient(135deg, #f0fdf4 0%, #edf9f2 45%, #e1f7ec 100%);
  color: #0a3828;
  padding: 3.75rem 0 3.5rem 0;
  position: relative;
  overflow: hidden;
  border-bottom: 1.5px solid rgba(16, 185, 129, 0.20);
  z-index: 2;
}

.page-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 25%, rgba(16, 185, 129, 0.14) 0%, transparent 60%);
  pointer-events: none;
  z-index: 1;
}

.page-banner-grid {
  display: grid;
  grid-template-columns: 1.22fr 0.78fr;
  gap: 2.5rem;
  align-items: center;
  position: relative;
  z-index: 3;
}

.page-banner-content {
  text-align: left;
}

/* Crisp, Contained Clinical Physio Visual Frame Card */
.physio-frame-card {
  position: relative;
  background: #ffffff;
  border: 2.5px solid rgba(16, 185, 129, 0.35);
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(5, 150, 105, 0.12), 0 4px 12px rgba(0, 0, 0, 0.04);
  overflow: hidden;
  width: 100%;
  max-width: 360px;
  height: 240px;
  margin: 0 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.physio-frame-card img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #ffffff;
  display: block;
}

.physio-frame-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(6, 78, 59, 0.90);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #6ee7b7;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  z-index: 4;
}

.physio-frame-badge .pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #10b981;
  box-shadow: 0 0 8px #10b981;
  display: inline-block;
}

/* Mobile Media Query for Page Banner & Physio Frame Card */
@media (max-width: 991px) {
  .page-banner {
    padding: 2.75rem 0 2.5rem 0 !important;
  }
  .page-banner-grid {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
    text-align: center !important;
  }
  .page-banner-content {
    text-align: center !important;
  }
  .breadcrumb {
    margin: 0 auto 0.75rem auto !important;
  }
  .page-banner-title {
    font-size: clamp(1.65rem, 5.5vw, 2.2rem) !important;
    text-align: center !important;
  }
  .page-banner-desc {
    text-align: center !important;
    font-size: 0.95rem !important;
    margin-bottom: 1.25rem !important;
  }
  .physio-frame-card {
    max-width: min(320px, 92vw) !important;
    height: 200px !important;
    margin: 0 auto !important;
    border-radius: 18px !important;
  }
}

@media (max-width: 576px) {
  .physio-frame-card {
    max-width: min(290px, 90vw) !important;
    height: 180px !important;
    border-radius: 16px !important;
  }
}

section.bg-white {
  background-color: #ffffff !important;
  position: relative;
  z-index: 2;
}

section.bg-alt {
  background-color: #f8fafc !important;
  position: relative;
  z-index: 2;
}

.page-banner .hero-chip,
.page-banner .section-badge {
  background: #ffffff !important;
  color: #059669 !important;
  border: 1px solid #a7f3d0 !important;
  box-shadow: 0 2px 8px rgba(5, 150, 105, 0.08) !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 0.5rem !important;
  padding: 0.35rem 0.95rem !important;
  border-radius: 999px !important;
  font-size: 0.84rem !important;
  margin-bottom: 0.85rem !important;
}

.page-banner .hero-chip i,
.page-banner .section-badge i {
  color: #059669 !important;
}

.page-banner-title {
  color: #0f2942;
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 800;
  margin-bottom: 0.85rem;
  letter-spacing: -0.02em;
}

.page-banner-title.piece-assemble-title {
  display: block;
  width: 100%;
  line-height: 1.25;
}

.page-banner-desc {
  color: #475569;
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: 0 2px 10px rgba(5, 150, 105, 0.08);
  border: 1px solid #a7f3d0;
  backdrop-filter: blur(8px);
  padding: 0.45rem 1.25rem;
  border-radius: var(--radius-full);
  font-size: 0.88rem;
}

.breadcrumb a {
  color: #059669;
  font-weight: 600;
  text-decoration: none;
}

.breadcrumb a:hover {
  color: #047857;
  text-decoration: underline;
}

.breadcrumb span.separator {
  color: #94a3b8;
}

.breadcrumb span.current {
  color: #0f2942;
  font-weight: 700;
}

/* --------------------------------------------------------------------------
   9. Footer Styles
   -------------------------------------------------------------------------- */
.main-footer {
  background-color: var(--primary-950);
  color: var(--text-inverse-muted);
  padding-top: 5rem;
  position: relative;
  border-top: 3px solid #059669;
}

.footer-top {
  padding-bottom: 4rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 3rem;
}

.footer-about p {
  color: var(--text-inverse-muted);
  margin-top: 1.25rem;
  margin-bottom: 1.75rem;
  font-size: 0.95rem;
  line-height: 1.7;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}

.footer-socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all var(--transition-fast);
}

.footer-socials a:hover {
  background: var(--secondary);
  border-color: var(--secondary);
  transform: translateY(-3px);
}

.footer-title {
  color: #ffffff;
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 32px;
  height: 2.5px;
  background: var(--secondary);
  border-radius: 2px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.footer-links a {
  color: var(--text-inverse-muted);
  font-size: 0.92rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  transition: all var(--transition-fast);
}

.footer-links a i {
  font-size: 0.7rem;
  color: var(--secondary);
  transition: transform var(--transition-fast);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px;
}

.footer-contact-items {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.85rem;
  align-items: flex-start;
  font-size: 0.92rem;
}

.footer-contact-item i {
  color: var(--secondary);
  font-size: 1.1rem;
  margin-top: 0.2rem;
}

.footer-hours-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.15rem;
  border-radius: var(--radius-md);
  margin-top: 1.25rem;
}

.footer-hours-title {
  font-weight: 600;
  color: #ffffff;
  font-size: 0.88rem;
  margin-bottom: 0.35rem;
}

.footer-hours-time {
  color: var(--secondary-light);
  font-size: 0.85rem;
}

.footer-bottom {
  padding: 1.75rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.88rem;
}

.footer-bottom-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}

.footer-bottom-links {
  display: flex;
  gap: 1.75rem;
}

.footer-bottom-links a {
  color: var(--text-inverse-muted);
}

.footer-bottom-links a:hover {
  color: #ffffff;
}

/* --------------------------------------------------------------------------
   10. Floating Actions (Mobile Bar, WhatsApp, Back to Top)
   -------------------------------------------------------------------------- */
/* Back To Top Button */
.back-to-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 46px;
  height: 46px;
  background-color: var(--primary-700);
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px rgba(15, 76, 92, 0.35);
  cursor: pointer;
  z-index: 990;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: all var(--transition-normal);
}

.back-to-top.show {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background-color: var(--secondary);
  transform: translateY(-4px);
}

/* Floating WhatsApp Button - Side by side with Back To Top */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 78px;
  width: 46px;
  height: 46px;
  background-color: #25d366;
  color: #ffffff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.45rem;
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
  z-index: 990;
  transition: all var(--transition-normal);
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.55);
}

/* Mobile Bottom Action Bar (visible under 768px) */
.mobile-action-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-top: 1px solid var(--border-subtle);
  padding: 0.65rem 1rem;
  z-index: 995;
  box-shadow: 0 -4px 16px rgba(0, 0, 0, 0.08);
}

.mobile-action-bar .btn {
  flex: 1;
  padding: 0.75rem 1rem;
  font-size: 0.9rem;
}

/* --------------------------------------------------------------------------
   11. Responsive Media Queries
   -------------------------------------------------------------------------- */
@media (max-width: 1260px) {
  .nav-menu {
    gap: 0.95rem;
  }
  .nav-link {
    font-size: 0.88rem;
  }
  .nav-phone-text {
    display: none;
  }
  .nav-phone-icon {
    width: 38px;
    height: 38px;
    background-color: var(--primary-50);
    color: var(--primary-700);
  }
}

@media (max-width: 1100px) {
  .footer-grid {
    grid-template-columns: 1.5fr 1fr 1fr;
  }
  .footer-hours-col {
    grid-column: span 3;
  }
}

@media (max-width: 1040px) {
  .topbar {
    display: none;
  }
  .nav-menu,
  .nav-phone {
    display: none;
  }
  .mobile-toggle {
    display: flex;
  }
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section-py {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}

@media (max-width: 768px) {
  .mobile-action-bar {
    display: flex;
    gap: 0.75rem;
  }
  body {
    padding-bottom: 60px; /* Space for sticky bottom bar */
  }
  .whatsapp-float {
    bottom: 74px;
    right: 16px;
  }
  .back-to-top {
    bottom: 74px;
    left: 16px;
    right: auto;
  }
  .grid-2,
  .grid-3,
  .grid-4 {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .footer-hours-col {
    grid-column: span 1;
  }
  .footer-bottom-content {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 576px) {
  .section-py {
    padding-top: 2.75rem;
    padding-bottom: 2.75rem;
  }
  .section-title {
    font-size: clamp(1.45rem, 6.5vw, 1.95rem);
    line-height: 1.25;
  }
  .lead-text {
    font-size: 0.92rem;
    line-height: 1.6;
  }
  .nav-container {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
  .brand-logo .brand-name span:first-child {
    font-size: 1.15rem;
  }
  .brand-tagline {
    display: none;
  }
  .nav-actions .btn-sm {
    display: none;
  }
  .btn-lg {
    padding: 0.8rem 1.25rem;
    font-size: 0.95rem;
  }
}

/* ==========================================================================
   COMPREHENSIVE MOBILE ALIGNMENT & PERFECT CENTERING
   ========================================================================== */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
  position: relative;
}

*, *::before, *::after {
  box-sizing: border-box;
}

/* Container centering */
.container {
  width: 100% !important;
  max-width: var(--container-max, 1240px) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 1.5rem !important;
  padding-right: 1.5rem !important;
}

/* Tablet & Mobile Header Nav adjustments */
@media (max-width: 1080px) {
  .topbar {
    display: none !important;
  }
  .header-doctor-pills,
  .nav-wa-dropdown,
  .nav-menu,
  .nav-phone {
    display: none !important;
  }
  .mobile-toggle {
    display: flex !important;
  }
}

@media (max-width: 768px) {
  /* Prevent horizontal scroll and padding for bottom bar */
  body {
    padding-bottom: 74px !important;
  }

  .container {
    padding-left: 1.25rem !important;
    padding-right: 1.25rem !important;
  }

  /* Header adjustments on mobile */
  .nav-container {
    height: 66px !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .brand-logo-img {
    height: 38px !important;
    width: auto !important;
  }

  .brand-name {
    font-size: 1.22rem !important;
  }

  .brand-tagline {
    display: none !important;
  }

  .nav-cta-btn,
  .nav-actions .btn-sm {
    display: none !important;
  }

  /* ----------------------------------------------------------------------
     1. HERO SECTION MOBILE CENTERING
     ---------------------------------------------------------------------- */
  .hero-section {
    padding: 3rem 0 3.5rem 0 !important;
    text-align: center !important;
  }

  .hero-grid {
    grid-template-columns: 1fr !important;
    gap: 2.5rem !important;
    justify-items: center !important;
  }

  .hero-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 580px !important;
  }

  .hero-badge {
    margin: 0 auto 1.25rem auto !important;
    justify-content: center !important;
    display: inline-flex !important;
    max-width: 95% !important;
    font-size: 0.78rem !important;
    text-align: center !important;
  }

  .hero-title {
    text-align: center !important;
    margin: 0 auto 1.25rem auto !important;
    width: 100% !important;
    font-size: clamp(1.65rem, 6.8vw, 2.15rem) !important;
    line-height: 1.22 !important;
  }

  .curtain-title {
    display: inline-block !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
  }

  .curtain-text {
    text-align: center !important;
    display: inline-block !important;
  }

  .hero-subtitle {
    text-align: center !important;
    margin: 0 auto 1.75rem auto !important;
    max-width: 92% !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
  }

  .hero-cta-group,
  .hero-actions {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto 2.25rem auto !important;
    gap: 0.75rem !important;
  }

  .hero-cta-group .btn,
  .hero-actions .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  .hero-proof {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1.25rem 1rem !important;
    justify-content: center !important;
    align-items: center !important;
    margin: 0 auto !important;
    text-align: center !important;
    width: 100% !important;
    max-width: 360px !important;
    border-top: 1px solid rgba(15, 76, 92, 0.12) !important;
    padding-top: 1.5rem !important;
  }

  .proof-item {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-visual {
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 360px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    position: relative !important;
  }

  .hero-image-wrapper {
    margin: 0 auto !important;
    width: 100% !important;
  }

  .floating-card {
    position: static !important;
    margin: 0.75rem auto !important;
    width: 92% !important;
    max-width: 290px !important;
    box-shadow: var(--shadow-sm) !important;
  }

  /* ----------------------------------------------------------------------
     2. PAGE BANNERS MOBILE CENTERING
     ---------------------------------------------------------------------- */
  .page-banner {
    text-align: center !important;
    padding: 3rem 1rem !important;
  }

  .page-banner-content {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 580px !important;
  }

  .breadcrumb {
    justify-content: center !important;
    margin: 0 auto 0.75rem auto !important;
    text-align: center !important;
  }

  .page-banner .hero-chip,
  .page-banner .badge,
  .page-banner .section-badge {
    margin: 0 auto 0.75rem auto !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  .page-banner-title {
    text-align: center !important;
    margin: 0 auto 0.75rem auto !important;
    width: 100% !important;
  
  color: #0f2942;
}

  .page-banner-desc {
    text-align: center !important;
    margin: 0 auto !important;
    max-width: 92% !important;
  
  color: #475569;
}

  /* ----------------------------------------------------------------------
     3. SECTION HEADERS & DESCRIPTIONS CENTERING
     ---------------------------------------------------------------------- */
  .section-py {
    padding-top: 3rem !important;
    padding-bottom: 3rem !important;
  }

  .section-header {
    text-align: center !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    margin-bottom: 2.25rem !important;
    width: 100% !important;
    max-width: 580px !important;
  }

  .section-badge {
    margin: 0 auto 0.75rem auto !important;
    display: inline-flex !important;
    justify-content: center !important;
  }

  .section-title {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    font-size: clamp(1.45rem, 6.2vw, 1.95rem) !important;
    line-height: 1.25 !important;
  }

  .section-desc,
  .lead-text {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 92% !important;
    font-size: 0.92rem !important;
    line-height: 1.6 !important;
  }

  /* ----------------------------------------------------------------------
     4. FORCE ALL MULTI-COLUMN GRIDS TO STACK VERTICALLY & CENTER
     ---------------------------------------------------------------------- */
  [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    gap: 1.5rem !important;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .why-us-grid,
  .booking-container {
    grid-template-columns: 1fr !important;
    gap: 1.75rem !important;
    justify-items: center !important;
  }

  /* Featured Banners Centering */
  #aboutPreview [style*="grid-template-columns"] {
    text-align: center !important;
    padding: 2rem 1.25rem !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
  }

  #aboutPreview .section-badge {
    margin: 0 auto 0.75rem auto !important;
  }

  #aboutPreview h3,
  #aboutPreview h2 {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #aboutPreview p {
    text-align: center !important;
    margin: 0 auto 1.5rem auto !important;
    max-width: 92% !important;
  }

  #aboutPreview .btn {
    margin: 0 auto !important;
    justify-content: center !important;
  }

  /* Why Choose Us Centering */
  .why-us-grid {
    text-align: center !important;
  }

  .why-us-grid > div:first-child {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .why-us-grid .flex-align-center {
    flex-direction: column !important;
    align-items: center !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  /* ----------------------------------------------------------------------
     5. CLINIC LOCATION & TIMINGS CARD MOBILE PERFECTION
     ---------------------------------------------------------------------- */
  #clinicLocation [style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    gap: 2rem !important;
  }

  #clinicLocation .reveal-scale {
    width: 100% !important;
    max-width: 480px !important;
    margin: 0 auto !important;
  }

  .timings-card {
    padding: 1.35rem 1.15rem !important;
    margin: 0 auto !important;
    width: 100% !important;
    max-width: 480px !important;
  }

  .timings-card > div:first-child {
    justify-content: center !important;
    text-align: center !important;
  }

  .timings-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 0.3rem !important;
    padding: 0.55rem 0.65rem !important;
    border-radius: 8px !important;
  }

  .timings-day {
    font-size: 0.92rem !important;
    font-weight: 700 !important;
    color: var(--primary-900) !important;
  }

  .timings-val {
    font-size: 0.85rem !important;
    color: var(--text-body) !important;
    line-height: 1.4 !important;
  }

  /* Map iframe height on mobile */
  iframe[title*="Map"] {
    height: 240px !important;
    width: 100% !important;
    border-radius: 12px !important;
  }

  /* ----------------------------------------------------------------------
     6. NEWSLETTER & DIGEST BOX
     ---------------------------------------------------------------------- */
  .newsletter-grid,
  .section-py.bg-alt .reveal-scale[style*="grid-template-columns"] {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    padding: 2rem 1.25rem !important;
    gap: 1.5rem !important;
    margin: 0 auto !important;
    max-width: 480px !important;
  }

  .newsletter-grid form,
  .section-py.bg-alt form {
    width: 100% !important;
    max-width: 360px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    margin: 0 auto !important;
    gap: 0.75rem !important;
  }

  .newsletter-grid input,
  .section-py.bg-alt form input {
    width: 100% !important;
    text-align: center !important;
    font-size: 16px !important;
  }

  .newsletter-grid button,
  .section-py.bg-alt form button {
    width: 100% !important;
    justify-content: center !important;
  }

  /* ----------------------------------------------------------------------
     7. STATS & CARD CENTERING
     ---------------------------------------------------------------------- */
  .stats-card-container {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 1rem !important;
    justify-content: center !important;
  }

  .stat-box {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* All Cards Centered inside Columns */
  .card,
  .service-card,
  .doctor-card,
  .blog-card,
  .booking-form-box,
  .booking-sidebar {
    margin-left: auto !important;
    margin-right: auto !important;
    width: 100% !important;
    max-width: 460px !important;
  }

  /* Form inputs: 16px to prevent iOS auto-zoom */
  .form-control,
  .form-select,
  input, select, textarea {
    font-size: 16px !important;
  }

  .form-row {
    flex-direction: column !important;
    gap: 1rem !important;
  }

  /* ----------------------------------------------------------------------
     8. FOOTER MOBILE ALIGNMENT
     ---------------------------------------------------------------------- */
  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 2rem !important;
    text-align: center !important;
  }

  .footer-about {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-about .brand-logo {
    justify-content: center !important;
  }

  .footer-socials {
    justify-content: center !important;
  }

  .footer-links {
    align-items: center !important;
    text-align: center !important;
  }

  .footer-hours-col {
    grid-column: span 1 !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  .footer-bottom-content {
    flex-direction: column !important;
    gap: 0.75rem !important;
    text-align: center !important;
  }

  .footer-bottom-links {
    justify-content: center !important;
    flex-wrap: wrap !important;
    gap: 0.75rem !important;
  }

  /* ----------------------------------------------------------------------
     9. TOUCH TARGETS & WIDGETS
     ---------------------------------------------------------------------- */
  .whatsapp-float-widget {
    bottom: 74px !important;
    right: 14px !important;
    z-index: 9999 !important;
  }

  .whatsapp-card-popup {
    width: 290px !important;
    right: 0 !important;
    bottom: 58px !important;
  }

  .doctor-wa-grid,
  [style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 0.75rem !important;
  }
}

@media (max-width: 480px) {
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
  }

  .slot-grid {
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  .slot-btn {
    padding: 0.65rem 0.4rem !important;
    font-size: 0.8rem !important;
  }

  .btn-lg {
    padding: 0.85rem 1.25rem !important;
    font-size: 0.95rem !important;
  }
}


/* ==========================================================================
   TARGETED ZERO-HORIZONTAL-OVERFLOW & ROCK-SOLID MOBILE CENTERING FIXES
   ========================================================================== */
@media (max-width: 768px) {
  /* 1. Prevent any horizontal document expansion */
  html, body {
    overflow-x: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
    position: relative !important;
  }

  /* 2. Mobile Drawer zero-leak positioning */
  .mobile-drawer {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    left: auto !important;
    transform: translateX(105%) !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: transform 0.35s ease, visibility 0.35s ease !important;
    max-width: 85vw !important;
  }

  .mobile-drawer.open {
    transform: translateX(0) !important;
    visibility: visible !important;
    pointer-events: auto !important;
  }

  /* 3. Disable horizontal translation in scroll reveal on mobile */
  .reveal-left,
  .reveal-right {
    transform: translateY(20px) !important;
    opacity: 0 !important;
  }

  .reveal-left.revealed,
  .reveal-right.revealed {
    transform: translateY(0) !important;
    opacity: 1 !important;
  }

  /* Slow Popup Mobile Smooth Handling */
  .slow-popup,
  .popup-photo,
  .popup-text,
  .popup-card {
    transform: translateY(20px) scale(0.96) !important;
    opacity: 0 !important;
  }

  .slow-popup.revealed,
  .slow-popup.popped-up,
  .popup-photo.revealed,
  .popup-photo.popped-up,
  .popup-text.revealed,
  .popup-text.popped-up,
  .popup-card.revealed,
  .popup-card.popped-up {
    transform: translateY(0) scale(1) !important;
    opacity: 1 !important;
  }

  /* 4. Marquee zero-overflow & untilt on mobile */
  .marquee-section,
  .marquee-wrapper {
    overflow: hidden !important;
    max-width: 100vw !important;
    width: 100% !important;
  }

  .marquee-section.marquee-tilted {
    transform: none !important;
    margin: 1.5rem 0 !important;
    box-shadow: none !important;
  }

  /* 5. Hero Badge wrapping & centering */
  .hero-badge {
    display: inline-flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
    max-width: 95% !important;
    width: auto !important;
    padding: 0.5rem 0.95rem !important;
    margin: 0 auto 1.25rem auto !important;
    font-size: 0.76rem !important;
    line-height: 1.4 !important;
    white-space: normal !important;
  }

  .hero-badge span {
    white-space: normal !important;
    text-align: center !important;
  }

  /* 6. Hero Title & Kinetic Typography wrapping & centering */
  .hero-title,
  .curtain-title {
    width: 100% !important;
    max-width: 100% !important;
    display: block !important;
    text-align: center !important;
    margin: 0 auto 1.25rem auto !important;
    font-size: clamp(1.6rem, 6.5vw, 2.1rem) !important;
    line-height: 1.25 !important;
    overflow-wrap: break-word !important;
    word-break: normal !important;
  }

  .curtain-text {
    width: 100% !important;
    max-width: 100% !important;
    display: inline !important;
    text-align: center !important;
  }

  .kinetic-phrase {
    display: inline !important;
    text-align: center !important;
  }

  .assemble-word,
  .kinetic-word {
    display: inline-block !important;
    white-space: nowrap !important;
  }

  .assemble-char,
  .kinetic-char {
    display: inline-block !important;
  }

  /* Instant crystal-clear typography on mobile (no blocked text) */
  .curtain-overlay {
    display: none !important;
  }

  .curtain-text,
  .hero-content.curtain-orchestrated .hero-badge,
  .hero-content.curtain-orchestrated .hero-subtitle,
  .hero-content.curtain-orchestrated .hero-cta-group,
  .hero-content.curtain-orchestrated .hero-proof {
    opacity: 1 !important;
    transform: none !important;
  }

  /* 7. Curtain Overlay Mobile Containment */
  .curtain-overlay {
    max-width: 100% !important;
  }

  /* 8. Container & Content Alignment */
  .container {
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    box-sizing: border-box !important;
  }

  .hero-content {
    padding: 0 !important;
    width: 100% !important;
    max-width: 100% !important;
    align-items: center !important;
    text-align: center !important;
  }

  .hero-subtitle {
    max-width: 95% !important;
    text-align: center !important;
    margin: 0 auto 1.75rem auto !important;
  }

  /* 9. Floating WhatsApp Speed Dial button safe spacing */
  .whatsapp-float-widget {
    bottom: 74px !important;
    right: 12px !important;
  }

  .whatsapp-card-popup {
    max-width: calc(100vw - 24px) !important;
    width: 290px !important;
    right: 0 !important;
    bottom: 58px !important;
  }
}
