/* =========================================
   SHRI PHYSIO REHAB CENTER — PREMIUM CSS
   Design System v2.0
   ========================================= */

/* ========== GOOGLE FONTS ========== */
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,300;0,9..40,400;0,9..40,500;0,9..40,600;0,9..40,700;0,9..40,800;1,9..40,300&family=Plus+Jakarta+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;0,800;1,400;1,600&display=swap');

/* ========== DESIGN TOKENS ========== */
:root {
  --teal: #0F766E;
  --teal-light: #14b8a6;
  --teal-dark: #0a5c56;
  --teal-10: rgba(15, 118, 110, 0.1);
  --teal-20: rgba(15, 118, 110, 0.2);
  --sage: #A7C7B7;
  --sage-light: #c8ddd4;
  --beige: #F7F4EF;
  --white: #ffffff;
  --light: #F8FAFC;
  --charcoal: #0F172A;
  --charcoal-90: #1E293B;
  --charcoal-60: #1E293B;
  --charcoal-40: #334155;
  --border: rgba(15, 118, 110, 0.12);
  --shadow-sm: 0 2px 8px rgba(15, 118, 110, 0.08);
  --shadow-md: 0 8px 32px rgba(15, 118, 110, 0.12);
  --shadow-lg: 0 24px 64px rgba(15, 118, 110, 0.16);
  --shadow-xl: 0 32px 80px rgba(15, 118, 110, 0.22);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-xl: 48px;
  --font-head: 'DM Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-tag: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-slow: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========== RESET ========== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  font-size: 16px;
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
}
body {
  font-family: var(--font-body);
  color: var(--charcoal);
  background: var(--white);
  overflow-x: hidden;
  max-width: 100vw;
  width: 100%;
  position: relative;
  font-size: 1.08rem;
  line-height: 1.75;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
ul { list-style: none; }
::selection { background: var(--teal-20); color: var(--teal-dark); }

/* ========== TYPOGRAPHY ========== */
h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: -0.02em;
  color: var(--charcoal);
}
h1 { font-size: clamp(2.8rem, 6vw, 4.8rem); font-weight: 800; }
h2 { font-size: clamp(2rem, 4vw, 3rem); }
h3 { font-size: 1.25rem; font-weight: 600; }
p { line-height: 1.75; color: var(--charcoal-60); font-size: 1.08rem; font-weight: 450; }

/* ========== LAYOUT ========== */
.container {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 clamp(20px, 4vw, 72px);
  box-sizing: border-box;
}

/* ========== BUTTONS ========== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 100px;
  font-family: var(--font-body);
  font-size: 0.95rem;
  font-weight: 600;
  transition: var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-full { width: 100%; justify-content: center; }

.btn-primary {
  background: var(--teal);
  color: white;
  box-shadow: 0 4px 20px rgba(15,118,110,0.35);
}
.btn-primary:hover {
  background: var(--teal-dark);
  box-shadow: 0 8px 32px rgba(15,118,110,0.5);
  transform: translateY(-2px);
}
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
  background: rgba(15,118,110,0.08);
  color: var(--teal);
  border: 1.5px solid var(--border);
}
.btn-secondary:hover {
  background: var(--teal-10);
  border-color: var(--teal-20);
  transform: translateY(-2px);
}

.btn-white {
  background: white;
  color: var(--teal);
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
}
.btn-white:hover {
  background: var(--beige);
  box-shadow: 0 8px 32px rgba(0,0,0,0.2);
  transform: translateY(-2px);
}

.btn-outline-white {
  background: transparent;
  color: white;
  border: 1.5px solid rgba(255,255,255,0.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: white;
  transform: translateY(-2px);
}

/* ========== SECTION DEFAULTS ========== */
section {
  padding: clamp(60px, 7vh, 100px) 0;
  box-sizing: border-box;
  width: 100%;
  max-width: 100%;
  position: relative;
}
.section-tag {
  display: inline-block;
  background: rgba(15, 118, 110, 0.08);
  color: #0F172A;
  border: 1px solid rgba(15, 118, 110, 0.22);
  padding: 5px 16px;
  border-radius: 100px;
  font-family: var(--font-tag);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

/* Premium Taglines & Badges Typography: Crisp Bright Black */
.hero-badge,
.facility-pill,
.clinic-pill,
.rehab-pill,
.ssc-badge,
.center-badge,
.facility-toggle-btn,
.badge,
.tagline,
.eyebrow,
.center-badge-chip,
.stat-label {
  font-family: var(--font-tag);
  color: #0F172A;
  font-weight: 700;
  letter-spacing: 0.06em;
}

.section-header { text-align: center; max-width: 860px; margin: 0 auto clamp(16px, 2.5vh, 40px); }
.section-title { margin-bottom: 10px; font-family: var(--font-head); color: #0F172A; }
.section-sub { font-size: clamp(0.95rem, 1.15vw, 1.15rem); color: #1E293B; font-family: var(--font-body); line-height: 1.55; font-weight: 450; }
.highlight { color: var(--teal); }
.highlight-white { color: rgba(255,255,255,0.9); }

/* ========== GSAP INITIAL STATE (handled dynamically via JS) ========== */
[data-gsap] { opacity: 1; }

/* ========== FLOATING BUTTONS ========== */
.floating-btn {
  position: fixed;
  right: 24px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: var(--shadow-lg);
}
.whatsapp-btn {
  bottom: 96px;
  background: #25D366;
  color: white;
}
.call-btn {
  bottom: 32px;
  background: var(--teal);
  color: white;
}
.call-btn-alt {
  bottom: 96px;
  background: #0284c7;
  color: white;
}
.floating-btn:hover {
  transform: scale(1.1) translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* ========== FIXED QUICK BOOKING BARS ========== */
/* Desktop Fixed Right Bar (Vertical Quick Booking) */
.fixed-right-booking {
  position: fixed;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 990;
  display: block;
}
.fixed-right-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(180deg, var(--teal) 0%, var(--teal-dark) 100%);
  color: #ffffff;
  padding: 20px 11px;
  border-radius: 14px 0 0 14px;
  box-shadow: -4px 6px 24px rgba(15, 118, 110, 0.4);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-right: none;
  cursor: pointer;
  text-decoration: none;
}
.fixed-right-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  stroke: #ffffff;
}
.fixed-right-btn span {
  writing-mode: vertical-rl;
  text-orientation: mixed;
  transform: rotate(180deg);
  font-family: var(--font-head);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  white-space: nowrap;
}
.fixed-right-btn:hover {
  background: var(--teal-dark);
  transform: translateX(-4px);
  box-shadow: -6px 8px 30px rgba(15, 118, 110, 0.55);
}

/* Left Bar Hidden */
.fixed-left-booking {
  display: none !important;
}

/* Mobile Fixed Bottom Action Bar */
.fixed-bottom-booking {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 995;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-top: 1px solid rgba(15, 118, 110, 0.15);
  padding: 10px 16px;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
  gap: 12px;
  align-items: center;
}
.fixed-bottom-call-btn {
  display: none !important;
}
.fixed-bottom-book-btn {
  width: 100%;
  flex: 1;
  padding: 14px 20px;
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  justify-content: center;
  border-radius: 100px;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}
@media (max-width: 768px) {
  .fixed-left-booking,
  .fixed-right-booking {
    display: none !important;
  }
  .fixed-bottom-booking {
    display: flex !important;
  }
  .call-btn {
    bottom: 74px !important;
  }
  .whatsapp-btn {
    bottom: 136px !important;
  }
}

/* ========== HEADER ========== */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 900;
  padding: 16px 0;
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background 0.3s ease, padding 0.3s ease, box-shadow 0.3s ease;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(15, 118, 110, 0.08);
  transform: translateY(0);
}
.header.header-hidden {
  transform: translateY(-115%);
}
.header.scrolled {
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 4px 28px rgba(15, 118, 110, 0.1);
  padding: 11px 0;
  border-bottom: 1px solid rgba(15, 118, 110, 0.14);
}
.header-inner,
.header .container.header-inner {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding-left: clamp(16px, 3.5vw, 48px) !important;
  padding-right: clamp(16px, 3.5vw, 48px) !important;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 2vw, 32px);
}
.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.logo-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 12px rgba(15, 118, 110, 0.22);
  border: 2.5px solid rgba(15, 118, 110, 0.28);
  background: var(--white);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.logo:hover .logo-icon {
  transform: scale(1.06);
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.32);
}
.logo-sp-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  display: block;
}
.footer-brand .logo-icon {
  width: 56px;
  height: 56px;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.15; min-width: 0; }
.logo-main {
  font-family: var(--font-head);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: -0.02em;
  line-height: 1.1;
}
.footer-brand .logo-main {
  font-size: 1.25rem;
}
.logo-sub {
  display: flex;
  flex-direction: column;
  font-family: var(--font-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--charcoal-60);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1.2;
  margin-top: 2px;
}
.logo-sub .sub-line {
  white-space: nowrap;
  display: block;
}
.nav {
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1;
}
.nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.3vw, 20px);
  list-style: none;
  padding: 0;
  margin: 0 auto;
}
.nav-link {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--charcoal);
  padding: 8px clamp(8px, 0.9vw, 14px);
  border-radius: 8px;
  transition: all 0.25s ease;
  position: relative;
  white-space: nowrap;
  flex-shrink: 0;
}
.drawer-link {
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.05em;
  font-weight: 700;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 10px;
  right: 10px;
  height: 2px;
  background: var(--teal);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}
.nav-link:hover,
.nav-link.active {
  color: var(--teal);
  background: rgba(15, 118, 110, 0.06);
}
.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}
.nav-cta {
  margin-left: 0;
  padding: 10px 22px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  white-space: nowrap;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.25);
}

/* Language Switcher Pill */
.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 10px;
  background: rgba(15, 118, 110, 0.08);
  border: 1.5px solid var(--border);
  border-radius: 100px;
  margin-left: 8px;
  transition: var(--transition);
}
.lang-btn {
  font-family: var(--font-body);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--charcoal-60);
  padding: 4px 8px;
  border-radius: 100px;
  transition: var(--transition);
  cursor: pointer;
  line-height: 1;
}
.lang-btn:hover {
  color: var(--teal);
}
.lang-btn.active {
  color: var(--teal-dark);
  background: white;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.18);
}
.lang-divider {
  font-size: 0.75rem;
  color: var(--charcoal-40);
  user-select: none;
}
.drawer-lang-item {
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
}
.drawer-lang-switch {
  margin-left: 0;
}

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  padding: 8px;
  margin-left: auto;
  background: rgba(15, 118, 110, 0.08);
  border: 1.5px solid var(--border);
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.25s ease;
}
.mobile-menu-btn:hover {
  background: rgba(15, 118, 110, 0.15);
}
.mobile-menu-btn span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--charcoal);
  border-radius: 2px;
  transition: var(--transition);
}

/* Mobile Drawer */
.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: white;
  z-index: 1100;
  padding: 80px 32px 40px;
  transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.4s;
  box-shadow: -20px 0 60px rgba(0,0,0,0.1);
  visibility: hidden;
  pointer-events: none;
}
.mobile-drawer.open {
  right: 0;
  visibility: visible;
  pointer-events: auto;
}
.drawer-close {
  position: absolute;
  top: 24px;
  right: 24px;
  color: var(--charcoal-60);
  padding: 8px;
}
.drawer-list { display: flex; flex-direction: column; gap: 8px; }
.drawer-link {
  display: block;
  font-size: 1.1rem;
  font-weight: 500;
  color: var(--charcoal);
  padding: 12px 0;
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
}
.drawer-link:hover { color: var(--teal); padding-left: 8px; }
.drawer-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1050;
}
.drawer-overlay.active { display: block; }

/* ========== HERO ========== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 105px 0 60px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--white) 0%, #f0fdfa 50%, var(--beige) 100%);
}

/* Animated Blobs */
.hero-bg { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }
.blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.25;
  animation: blobFloat 8s ease-in-out infinite;
}
.blob-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, var(--sage-light), var(--teal-light));
  top: -200px; right: -100px;
  animation-delay: 0s;
}
.blob-2 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, var(--beige), var(--sage));
  bottom: -100px; left: -50px;
  animation-delay: 3s;
}
.blob-3 {
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--teal-10), var(--sage-light));
  top: 50%; left: 30%;
  animation-delay: 6s;
  opacity: 0.15;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -30px) scale(1.05); }
  66% { transform: translate(-20px, 20px) scale(0.95); }
}

.particles-canvas {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle, rgba(15,118,110,0.08) 1px, transparent 1px);
  background-size: 40px 40px;
  animation: particlesDrift 20s linear infinite;
}
@keyframes particlesDrift {
  0% { background-position: 0 0; }
  100% { background-position: 40px 40px; }
}

.hero-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

/* Hero Content Left */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15,118,110,0.08);
  border: 1px solid rgba(15, 118, 110, 0.22);
  border-radius: 100px;
  padding: 6px 16px;
  font-size: 0.82rem;
  font-weight: 700;
  color: #0F172A;
  margin-bottom: 14px;
  animation: pulseDot 2s ease-in-out infinite;
}
.hero-badge span {
  color: #0F172A;
  font-weight: 700;
}
@keyframes pulseDot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}
.hero-heading {
  margin-bottom: 24px;
  font-size: clamp(2.75rem, 4.2vw, 4.25rem);
  line-height: 1.08;
  color: #0F172A;
  font-weight: 800;
  letter-spacing: -0.025em;
}
.hero-heading .highlight-green {
  color: var(--teal);
  font-weight: inherit;
}
.hero-sub-mobile {
  display: none;
}
/* Hero Secondary Card (Horizontally Centered at Hero Bottom matching user mockup) */
.hero-secondary-banner {
  grid-column: 1 / -1;
  width: 100%;
  display: flex;
  justify-content: center;
  margin-top: 36px;
  position: relative;
  z-index: 2;
}
.hero-secondary-card {
  background: #ffffff;
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 22px;
  padding: 28px 44px;
  box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05), 0 1px 3px rgba(15, 23, 42, 0.02);
  max-width: 960px;
  width: 100%;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.hero-secondary-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 40px rgba(15, 118, 110, 0.09);
  border-color: rgba(15, 118, 110, 0.25);
}
.hero-subheading-lead {
  font-size: 1.15rem;
  line-height: 1.4;
  color: #0F172A;
  font-weight: 800;
  display: block;
  margin-bottom: 10px;
  text-align: center;
}
.hero-sub-text,
.hero-card-desc,
.hero-sub {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.68;
  margin: 0 auto;
  max-width: 860px;
  font-weight: 450;
  text-align: center;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 0; }

/* Hero Dual Setup Showcase (Rehab vs Clinic) */
.hero-dual-setup {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 32px;
  max-width: 540px;
}
.hero-dual-card {
  display: block;
  padding: 16px 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.08);
  transition: var(--transition);
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.hero-dual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 5px;
  transition: var(--transition);
}
.hero-dual-card.card-rehab {
  border-color: rgba(2, 132, 199, 0.25);
}
.hero-dual-card.card-rehab::before {
  background: linear-gradient(180deg, #0284c7, #0369a1);
}
.hero-dual-card.card-clinic {
  border-color: rgba(15, 118, 110, 0.25);
}
.hero-dual-card.card-clinic::before {
  background: linear-gradient(180deg, #0f766e, #0a5c56);
}

.hero-dual-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}
.hero-dual-card.card-rehab:hover {
  border-color: #0284c7;
}
.hero-dual-card.card-clinic:hover {
  border-color: var(--teal);
}

.hdc-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 6px;
}
.hdc-badge {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 100px;
}
.badge-rehab {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}
.badge-clinic {
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  border: 1px solid rgba(15, 118, 110, 0.25);
}
.badge-tech {
  background: rgba(124, 58, 237, 0.12);
  color: #7c3aed;
  border: 1px solid rgba(124, 58, 237, 0.25);
}
.hdc-loc {
  font-size: 0.72rem;
  color: var(--charcoal-60);
  font-weight: 500;
}
.hdc-tagline {
  font-family: var(--font-head);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 4px;
  letter-spacing: -0.01em;
}
.card-rehab .hdc-tagline { color: #0369a1; }
.card-clinic .hdc-tagline { color: #0a5c56; }

.hdc-focus {
  font-size: 0.82rem;
  color: var(--charcoal-60);
  margin-bottom: 8px;
  line-height: 1.45;
}
.hdc-focus strong {
  color: var(--charcoal);
}
.hdc-features {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}
.hdc-features span {
  font-size: 0.7rem;
  background: var(--light);
  color: var(--charcoal);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(0, 0, 0, 0.05);
  font-weight: 500;
}
.hdc-action {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--teal);
}
.card-rehab .hdc-action { color: #0284c7; }
.hdc-arrow {
  transition: transform 0.2s ease;
}
.hero-dual-card:hover .hdc-arrow {
  transform: translateX(4px);
}

.hero-social-proof {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 20px 24px;
  background: rgba(255,255,255,0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  max-width: 440px;
}
.hero-social-proof .star-rating { font-size: 1.2rem; }
.social-proof-text strong { display: block; font-size: 0.95rem; color: var(--charcoal); margin-bottom: 2px; }
.social-proof-text p { font-size: 0.82rem; margin: 0; color: var(--charcoal-60); font-style: italic; }

/* Hero Visual Right */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-self: flex-start;
  margin-top: 0;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.hero-shape-1 {
  width: 480px; height: 480px;
  background: radial-gradient(circle at 30% 30%, var(--sage-light) 0%, transparent 70%);
  top: -40px; left: -20px;
  opacity: 0.5;
  animation: shapeFloat 6s ease-in-out infinite;
}
.hero-shape-2 {
  width: 320px; height: 320px;
  border: 2px solid var(--border);
  top: 40px; left: 20px;
  animation: shapeFloat 8s ease-in-out infinite reverse;
}
.hero-shape-3 {
  width: 200px; height: 200px;
  background: var(--teal-10);
  bottom: 30px; right: 30px;
  animation: shapeFloat 10s ease-in-out infinite;
}
@keyframes shapeFloat {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.doctor-frame {
  position: relative;
  z-index: 2;
  margin-top: 0;
}
.doctor-img-wrapper {
  width: 400px;
  height: 530px;
  border-radius: 50% 50% 50% 50% / 60% 60% 40% 40%;
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--sage-light);
  position: relative;
}
.doctor-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

/* Hero Floating Glass Cards */
.hero-card {
  position: absolute;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255,255,255,0.9);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  white-space: nowrap;
  animation: cardFloat 4s ease-in-out infinite;
}
.hero-card strong { display: block; font-size: 0.9rem; color: var(--charcoal); }
.hero-card span { font-size: 0.75rem; color: var(--charcoal-60); }
.hero-card-icon { font-size: 1.4rem; }
.hero-card-1 {
  top: 20px;
  left: -60px;
  animation-delay: 0s;
}
.hero-card-2 {
  top: 45%;
  left: -70px;
  animation-delay: 1.5s;
  z-index: 6;
}
.hero-card-3 {
  top: 64%;
  right: -20px;
  animation-delay: 3s;
  z-index: 6;
}
@keyframes cardFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  color: var(--charcoal-40);
  font-size: 0.75rem;
  font-weight: 500;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}
.scroll-line {
  width: 1px;
  height: 48px;
  background: linear-gradient(to bottom, var(--teal), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse {
  0%, 100% { opacity: 1; transform: scaleY(1); }
  50% { opacity: 0.4; transform: scaleY(0.7); }
}

/* ========== GALLERY SECTION ========== */
.gallery-section {
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--white);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.gallery-fade-left,
.gallery-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
}
.gallery-fade-left {
  left: 0;
  background: linear-gradient(to right, var(--white), transparent);
}
.gallery-fade-right {
  right: 0;
  background: linear-gradient(to left, var(--white), transparent);
}
.gallery-marquee { overflow: hidden; padding: 28px 0; }
.gallery-track {
  display: flex;
  gap: 20px;
  width: max-content;
  animation: marqueeScroll 40s linear infinite;
}
.gallery-track:hover { animation-play-state: paused; }
@keyframes marqueeScroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.gallery-item {
  width: 280px;
  height: 180px;
  border-radius: var(--radius-md);
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
}
.gallery-item:hover { transform: scale(1.03); box-shadow: var(--shadow-lg); }
.gallery-item img { width: 100%; height: 100%; object-fit: cover; }

/* In-section gallery marquee (inside Our Impact & Scale) */
.gallery-marquee-inside {
  position: relative;
  overflow: hidden;
  margin-top: 48px;
  width: 100%;
}
.gallery-marquee-inside .gallery-marquee {
  padding: 12px 0 24px;
}
.gallery-marquee-inside .gallery-fade-left {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to right, var(--teal), transparent);
}
.gallery-marquee-inside .gallery-fade-right {
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 120px;
  z-index: 2;
  pointer-events: none;
  background: linear-gradient(to left, var(--teal), transparent);
}
.gallery-marquee-inside .gallery-item {
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.22);
}

/* ========== OUR TWO CENTERS SECTION ========== */
.centers-section {
  padding: 80px 0;
  box-sizing: border-box;
  background: linear-gradient(180deg, var(--white) 0%, #f4fbf9 50%, var(--light) 100%);
  position: relative;
  overflow: hidden;
}
.centers-section .container {
  width: 100%;
  max-width: 1240px !important;
  margin: 0 auto;
  padding: 0 24px !important;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.centers-section .section-header {
  text-align: center;
  max-width: 900px;
  margin: 0 auto 32px;
}
.centers-section .section-tag {
  padding: 6px 16px;
  font-size: 0.82rem;
  margin-bottom: 8px;
}
.centers-section .section-title {
  font-size: clamp(2rem, 3.2vw, 2.75rem);
  margin-bottom: 10px;
}
.centers-section .section-sub {
  font-size: clamp(0.98rem, 1.2vw, 1.12rem);
  line-height: 1.6;
  margin-bottom: 18px;
}
.centers-section .facility-toggle-bar {
  margin: 12px auto 0;
}
.facility-toggle-btn {
  padding: 10px 24px;
  font-size: 0.90rem;
}
.centers-grid {
  display: grid;
  grid-template-columns: 1fr;
  width: 100% !important;
  max-width: 1080px !important;
  margin: 0 auto;
  gap: 28px;
  align-items: stretch;
}
@media (min-width: 992px) {
  .centers-section .container {
    max-width: 1240px !important;
  }
  .centers-grid {
    grid-template-columns: 1fr !important;
    width: 100% !important;
    max-width: 1080px !important;
    margin: 0 auto;
    gap: 28px;
  }
  .center-card {
    padding: 44px 48px 36px;
  }
  .center-card-media {
    margin: -44px -48px 28px -48px;
    height: 320px;
  }
  .center-highlights {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px 32px;
  }
}
.center-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 36px 32px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.center-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  z-index: 2;
}
.clinic-card::before {
  background: linear-gradient(90deg, #0F766E, #14B8A6);
}
.rehab-card::before {
  background: linear-gradient(90deg, #0284C7, #0F766E);
}
.center-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 118, 110, 0.35);
}
.rehab-card:hover {
  border-color: rgba(2, 132, 199, 0.4);
}

/* ========== BENTO CARD DESIGNS FOR BOTH CLINICS (LIGHT & SUBTLE, FULL-SCREEN FIT) ========== */
.center-bento-card {
  width: 100% !important;
  max-width: 100% !important;
  position: relative;
  overflow: hidden;
  border-radius: 24px !important;
  border: 1.5px solid rgba(15, 118, 110, 0.16) !important;
  box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06), 0 4px 16px rgba(0, 0, 0, 0.03) !important;
  padding: 0 !important;
  background: #ffffff !important;
  box-sizing: border-box;
}
.center-bento-card.rehab-card {
  border-color: rgba(2, 132, 199, 0.16) !important;
}
.center-bento-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  opacity: 0.58;
  filter: saturate(1.15) contrast(1.08);
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.5s ease;
  z-index: 0;
}
.center-bento-card:hover .center-bento-bg {
  transform: scale(1.05);
  opacity: 0.68;
}
.center-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.80) 0%, rgba(248, 250, 252, 0.72) 50%, rgba(236, 253, 245, 0.80) 100%);
  z-index: 1;
}
.center-bento-card.rehab-card .center-bento-overlay {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.80) 0%, rgba(248, 250, 252, 0.72) 50%, rgba(240, 249, 255, 0.80) 100%);
}
.center-bento-content {
  position: relative;
  z-index: 2;
  padding: clamp(28px, 3.5vw, 44px) clamp(28px, 4vw, 48px);
  display: flex;
  flex-direction: column;
  height: 100%;
  box-sizing: border-box;
}
.center-bento-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 16px;
}
.center-bento-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.center-bento-brand .center-card-brand-logo {
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 10px;
  border: 1px solid rgba(226, 232, 240, 0.9);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}
.center-bento-brand .center-type-tag {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.22);
  color: #0f766e;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.82rem;
}
.center-bento-card.rehab-card .center-bento-brand .center-type-tag {
  background: rgba(2, 132, 199, 0.08);
  border-color: rgba(2, 132, 199, 0.22);
  color: #0284c7;
}
.center-bento-badges {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.center-bento-badges .center-media-badge,
.center-bento-badges .center-media-stat {
  padding: 6px 12px;
  font-size: 0.78rem;
}
.center-bento-header {
  margin-bottom: 16px;
}
.center-bento-header .center-name {
  color: #0f172a;
  font-size: clamp(1.8rem, 2.4vw, 2.35rem);
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}
.center-bento-header .center-motto-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 16px;
  font-size: 0.84rem;
  border-radius: 100px;
  margin-bottom: 10px;
}
.center-bento-header .center-tagline {
  color: #334155;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 100%;
  margin-bottom: 0;
}
.center-bento-header .clinic-motto {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.25);
  color: #0f766e;
  font-weight: 700;
}
.center-bento-header .rehab-motto {
  background: rgba(2, 132, 199, 0.08);
  border: 1px solid rgba(2, 132, 199, 0.25);
  color: #0284c7;
  font-weight: 700;
}

/* Bento Specs Row */
.bento-specs-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}
.bento-spec-box {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.95);
  border-radius: 14px;
  padding: 12px 18px;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 3px;
  transition: all 0.3s ease;
}
.bento-spec-box:hover {
  background: #ffffff;
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.08);
  transform: translateY(-2px);
}
.center-bento-card.rehab-card .bento-spec-box:hover {
  border-color: rgba(2, 132, 199, 0.35);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.08);
}
.bento-spec-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 700;
}
.bento-spec-val {
  font-size: clamp(1.02rem, 1.25vw, 1.2rem);
  color: #0f172a;
  font-weight: 800;
}

/* Bento Clinical Highlights Grid: Square Specialty Cards with Smooth Green Slide-Open Effect */
.bento-highlights-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 24px;
}

.bento-hl-item {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 18px;
  overflow: hidden;
  background: #ffffff;
  border: 1.5px solid rgba(15, 118, 110, 0.22);
  cursor: default;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
  user-select: none;
  box-sizing: border-box;
  transform: translateZ(0);
  will-change: transform, box-shadow;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              box-shadow 0.6s cubic-bezier(0.22, 1, 0.36, 1),
              border-color 0.5s ease;
}

/* White Card Underneath (Revealed Layer with Short Description) */
.bento-hl-revealed {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 16px 14px;
  transform: translateY(10px);
  opacity: 0.9;
  will-change: transform, opacity;
  transition: transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
              opacity 0.55s ease;
}

.bento-hl-revealed .bento-hl-title {
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  color: #0f172a;
  font-weight: 800;
  line-height: 1.30;
  padding: 0 4px;
  margin-bottom: 6px;
  transition: color 0.4s ease;
}

.bento-hl-desc {
  font-size: clamp(0.84rem, 0.98vw, 0.95rem);
  line-height: 1.45;
  color: #334155;
  margin-top: 4px;
  margin-bottom: 0;
  padding: 0 4px;
  font-weight: 500;
}

/* Green Card Cover (Top Layer - Slides Open on Cursor Hover Slower & Smoother) */
.bento-hl-cover {
  position: absolute;
  inset: 0;
  z-index: 2;
  background: linear-gradient(142deg, #0d9488 0%, #0f766e 45%, #0d5f58 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px 16px;
  transform: translateY(0);
  will-change: transform;
  transition: transform 0.68s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.bento-hl-cover::after {
  content: '';
  display: block;
  width: 32px;
  height: 3.5px;
  background: rgba(255, 255, 255, 0.55);
  border-radius: 99px;
  margin-top: 12px;
  transition: width 0.35s ease, background 0.35s ease;
}

.bento-hl-cover-title {
  font-size: clamp(1.04rem, 1.25vw, 1.24rem);
  color: #ffffff;
  font-weight: 800;
  line-height: 1.34;
  padding: 0 4px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.18);
  letter-spacing: -0.01em;
}

/* Hover & Focus Interactions */
.bento-hl-item:hover,
.bento-hl-item:focus-within {
  transform: translateY(-5px);
  border-color: rgba(15, 118, 110, 0.48);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.16), 0 4px 14px rgba(15, 23, 42, 0.05);
}

.bento-hl-item:hover .bento-hl-cover,
.bento-hl-item:focus-within .bento-hl-cover {
  transform: translateY(-100%);
}

.bento-hl-item:hover .bento-hl-revealed,
.bento-hl-item:focus-within .bento-hl-revealed {
  transform: translateY(0);
  opacity: 1;
}

.bento-hl-item:hover .bento-hl-revealed .bento-hl-title {
  color: #0f766e;
}

/* Bento card action buttons */
.center-bento-card .center-footer {
  margin-top: 4px;
}
.center-bento-card .center-btn-row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.center-bento-card .center-btn-row .btn {
  padding: 11px 24px;
  font-size: 0.92rem;
}
.center-bento-card .center-btn-row .center-dir-btn,
.center-bento-card .center-btn-row .center-call-btn {
  background: #ffffff !important;
  border: 1.5px solid #cbd5e1 !important;
  color: #1e293b !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}
.center-bento-card.clinic-card .center-btn-row .center-dir-btn:hover,
.center-bento-card.clinic-card .center-btn-row .center-call-btn:hover {
  border-color: var(--teal) !important;
  color: var(--teal) !important;
  background: #f0fdfa !important;
}
.center-bento-card.rehab-card .center-btn-row .center-dir-btn:hover,
.center-bento-card.rehab-card .center-btn-row .center-call-btn:hover {
  border-color: #0284c7 !important;
  color: #0284c7 !important;
  background: #f0f9ff !important;
}

@media (max-width: 900px) {
  .center-bento-content {
    padding: 30px 22px 26px;
  }
  .center-bento-header .center-name {
    font-size: 1.6rem;
  }
  .bento-specs-row {
    grid-template-columns: 1fr;
    gap: 10px;
  }
  .bento-highlights-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }
}
.center-card-media {
  position: relative;
  height: 220px;
  border-radius: calc(var(--radius-lg) - 6px) calc(var(--radius-lg) - 6px) 0 0;
  overflow: hidden;
  margin: -36px -36px 24px -36px;
}
.center-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.center-card:hover .center-card-media img {
  transform: scale(1.06);
}
.center-card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.8) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  padding: 16px 20px;
}
.center-media-badge {
  background: rgba(255, 255, 255, 0.95);
  color: var(--charcoal);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.center-media-stat {
  background: #0F766E;
  color: white;
  font-size: 0.74rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  backdrop-filter: blur(8px);
}
.rehab-card .center-media-stat {
  background: #0284c7;
}
.center-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  gap: 12px;
}
.center-card-brand-logo {
  display: flex;
  align-items: center;
  max-width: 220px;
  height: 48px;
}
.center-card-logo-img {
  max-height: 46px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.06));
}
.center-icon-badge {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: var(--shadow-sm);
}
.clinic-badge {
  background: rgba(15, 118, 110, 0.1);
}
.rehab-badge {
  background: rgba(2, 132, 199, 0.12);
}
.center-type-tag {
  font-size: 0.74rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 6px 14px;
  border-radius: 100px;
  background: var(--light);
  color: var(--charcoal);
  border: 1px solid var(--border);
}
.center-name {
  font-size: 1.6rem;
  margin-bottom: 10px;
  color: var(--charcoal);
  line-height: 1.25;
  font-weight: 800;
}
.center-motto-banner {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  border-radius: 100px;
  font-size: 0.96rem;
  font-weight: 700;
  margin-bottom: 18px;
  width: fit-content;
}
.clinic-motto {
  background: rgba(15, 118, 110, 0.08);
  color: #0a5c56;
  border: 1.5px solid rgba(15, 118, 110, 0.25);
}
.rehab-motto {
  background: rgba(2, 132, 199, 0.08);
  color: #0369a1;
  border: 1.5px solid rgba(2, 132, 199, 0.25);
}
.center-specs-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  padding: 12px 16px;
  background: var(--light);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  margin-bottom: 22px;
}
.center-spec-box {
  display: flex;
  flex-direction: column;
}
.center-spec-box span {
  font-size: 0.68rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--charcoal-60);
  font-weight: 600;
}
.center-spec-box strong {
  font-size: 0.88rem;
  color: var(--charcoal);
  font-weight: 700;
}
.center-tagline {
  font-size: 0.92rem;
  line-height: 1.65;
  color: var(--charcoal-80);
  margin-bottom: 22px;
}
.center-service-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}
.center-service-pills span {
  background: rgba(15, 118, 110, 0.06);
  border: 1px solid rgba(15, 118, 110, 0.16);
  color: var(--teal-dark);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 100px;
}
.rehab-card .center-service-pills span {
  background: rgba(2, 132, 199, 0.06);
  border-color: rgba(2, 132, 199, 0.18);
  color: #0369a1;
}
.center-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 26px;
  flex-grow: 1;
}
.center-hl-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.hl-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.rehab-card .hl-bullet {
  background: rgba(2, 132, 199, 0.14);
  color: #0284c7;
}
.center-hl-item strong {
  display: block;
  font-size: 1.05rem;
  color: #0F172A;
  margin-bottom: 3px;
}
.center-hl-item p {
  font-size: 0.96rem;
  line-height: 1.6;
  color: #1E293B;
  margin: 0;
}
.center-location-box {
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin-bottom: 22px;
  font-size: 0.96rem;
  line-height: 1.6;
  color: #1E293B;
}
.center-location-box strong {
  display: block;
  font-size: 0.82rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  margin-bottom: 4px;
}
.rehab-card .center-location-box strong {
  color: #0284c7;
}
.center-location-box p {
  margin: 0 0 6px 0;
}
.center-location-box .center-phone-line {
  font-weight: 600;
  color: var(--charcoal);
  font-size: 0.82rem;
}
.center-footer {
  border-top: 1px solid var(--border);
  padding-top: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.center-btn-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.center-btn-row .center-cta-btn {
  flex: 1 1 180px;
  justify-content: center;
  font-size: 0.88rem;
}
.center-btn-row .center-dir-btn {
  flex: 0 0 auto;
  justify-content: center;
  font-size: 0.84rem;
  padding: 10px 16px;
}
.center-btn-row .center-call-btn {
  flex: 0 0 auto;
  justify-content: center;
  font-size: 0.84rem;
  padding: 10px 14px;
}

/* Service Wing Badges */
.service-wing-badge {
  display: inline-block;
  font-size: 0.64rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 8px;
  border-radius: 100px;
  margin-bottom: 8px;
  align-self: center;
}
.wing-clinic {
  background: rgba(15, 118, 110, 0.12);
  color: var(--teal);
  border: 1px solid rgba(15, 118, 110, 0.2);
}
.wing-rehab {
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.2);
}
.wing-home {
  background: rgba(234, 88, 12, 0.12);
  color: #ea580c;
  border: 1px solid rgba(234, 88, 12, 0.2);
}

/* ========== DUAL SEMI-CIRCLE ROTARY SERVICES SECTION ========== */
.services-section {
  background: var(--light);
  position: relative;
  overflow: hidden;
  padding: 100px 0 90px;
}
.services-section::before {
  content: '';
  position: absolute;
  top: -240px;
  right: -240px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, var(--teal-10), transparent 70%);
  pointer-events: none;
}
.services-section::after {
  content: '';
  position: absolute;
  bottom: -240px;
  left: -240px;
  width: 650px;
  height: 650px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.08), transparent 70%);
  pointer-events: none;
}

/* Mobile Facility Switcher Tab Bar (Hidden on desktop, active on <= 1024px) */
.rotary-mobile-tabs {
  display: none;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
  width: 100%;
}
.rotary-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border-radius: 100px;
  background: white;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.rotary-tab-btn .rtb-icon {
  font-size: 1.3rem;
  line-height: 1;
}
.rotary-tab-btn .rtb-text {
  display: flex;
  flex-direction: column;
}
.rotary-tab-btn strong {
  font-size: 0.82rem;
  color: var(--charcoal);
  line-height: 1.2;
}
.rotary-tab-btn small {
  font-size: 0.68rem;
  color: var(--charcoal-60);
}
.rotary-tab-btn.active[data-wheel="clinic"] {
  background: var(--teal);
  border-color: var(--teal);
  box-shadow: 0 4px 16px rgba(15, 118, 110, 0.3);
}
.rotary-tab-btn.active[data-wheel="clinic"] strong,
.rotary-tab-btn.active[data-wheel="clinic"] small {
  color: white;
}
.rotary-tab-btn.active[data-wheel="rehab"] {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 16px rgba(2, 132, 199, 0.3);
}
.rotary-tab-btn.active[data-wheel="rehab"] strong,
.rotary-tab-btn.active[data-wheel="rehab"] small {
  color: white;
}

/* Dual Rotary Grid Layout */
.dual-rotary-container {
  display: grid;
  grid-template-columns: minmax(360px, 460px) 1fr minmax(360px, 460px);
  gap: 0;
  align-items: stretch;
  width: 100vw;
  max-width: 100%;
  margin: 0;
  padding: 0;
  position: relative;
  z-index: 2;
  overflow-x: clip;
}

/* Rotary Wheel Side Containers (Full-bleed edge-anchored, no box margin) */
.rotary-wheel-wrapper {
  display: flex;
  flex-direction: column;
  background: transparent;
  border: none;
  box-shadow: none;
  padding: 10px 16px 16px;
  overflow: visible;
  position: relative;
  transition: var(--transition);
}
.wheel-clinic-side {
  padding-left: 0;
}
.wheel-rehab-side {
  padding-right: 0;
}

/* Wheel Header */
.rotary-wheel-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-bottom: 14px;
  border-bottom: 1.5px solid rgba(15, 118, 110, 0.15);
  margin-bottom: 12px;
  position: relative;
  z-index: 5;
}
.wheel-clinic-side .rotary-wheel-header {
  padding-left: 32px;
}
.wheel-rehab-side .rotary-wheel-header {
  padding-right: 32px;
  border-bottom-color: rgba(2, 132, 199, 0.15);
}
.rwh-logo-wrap {
  flex-shrink: 0;
}
.rwh-logo {
  max-height: 32px;
  width: auto;
  object-fit: contain;
  display: block;
}
.rwh-info {
  flex: 1;
  min-width: 0;
}
.rwh-info.text-right {
  text-align: right;
}
.rwh-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.rwh-sub {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
}
.wheel-rehab-side .rwh-sub {
  color: #0284c7;
}

/* Navigation Arrow Controls */
.wheel-nav-arrows {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.wheel-nav-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.wheel-nav-btn:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.3);
}
.wheel-rehab-side .wheel-nav-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.3);
}

/* Rotary Wheel Viewport (Circular Track Area - Increased Dimensions) */
.rotary-wheel-viewport {
  position: relative;
  width: 100%;
  height: 680px;
  overflow: visible;
  border-radius: 0;
  background: transparent;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
  touch-action: pan-y;
}
.wheel-clinic-side .rotary-wheel-viewport {
  background: radial-gradient(ellipse at 0% 50%, rgba(15, 118, 110, 0.08) 0%, rgba(15, 118, 110, 0.01) 65%, transparent 85%);
}
.wheel-rehab-side .rotary-wheel-viewport {
  background: radial-gradient(ellipse at 100% 50%, rgba(2, 132, 199, 0.08) 0%, rgba(2, 132, 199, 0.01) 65%, transparent 85%);
}
.rotary-wheel-viewport:active {
  cursor: grabbing;
}

/* Rotary Hub (The center of the semi-circle wheel - anchored to screen edge) */
.rotary-hub {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 108px;
  height: 108px;
  border-radius: 50%;
  background: white;
  border: 3px solid var(--border);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  z-index: 4;
  pointer-events: none;
}
.clinic-hub {
  left: -20px;
  border-color: var(--teal);
  box-shadow: 0 10px 30px rgba(15, 118, 110, 0.25);
}
.rehab-hub {
  right: -20px;
  border-color: #0284c7;
  box-shadow: 0 10px 30px rgba(2, 132, 199, 0.25);
}
.rh-core {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.15;
}
.rh-icon {
  font-size: 1.45rem;
  margin-bottom: 2px;
}
.rh-core strong {
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.rh-core small {
  font-size: 0.64rem;
  color: var(--charcoal-60);
}

/* Semi-Circular Guide Ring */
.rotary-wheel-viewport::before {
  content: '';
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 600px;
  height: 660px;
  border-radius: 50%;
  border: 2px dashed var(--border);
  pointer-events: none;
  z-index: 1;
}
.wheel-clinic-side .rotary-wheel-viewport::before {
  left: 0;
  transform: translate(-50%, -50%);
  border-color: rgba(15, 118, 110, 0.25);
}
.wheel-rehab-side .rotary-wheel-viewport::before {
  right: 0;
  transform: translate(50%, -50%);
  border-color: rgba(2, 132, 199, 0.25);
}

/* Rotary Track & Items */
.rotary-track {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: auto;
}

/* Clear Tab Structure (Sleek pill tab floating along orbit, not a boxed card) */
.rotary-item.clear-tab .ri-photo-wrap {
  display: none;
}
.rotary-item.clear-tab {
  position: absolute;
  top: 0;
  left: 0;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 8px 18px 8px 10px;
  background: rgba(255, 255, 255, 0.94) !important;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1.5px solid rgba(15, 118, 110, 0.25) !important;
  border-radius: 999px !important;
  box-shadow: 0 6px 20px rgba(15, 118, 110, 0.08) !important;
  cursor: pointer;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
  z-index: 2;
  will-change: transform, opacity;
  text-align: left;
  user-select: none;
  white-space: nowrap;
}
.wheel-rehab-side .rotary-item.clear-tab {
  border-color: rgba(2, 132, 199, 0.25) !important;
  box-shadow: 0 6px 20px rgba(2, 132, 199, 0.08) !important;
}
.rotary-item.clear-tab:hover {
  background: #ffffff !important;
  border-color: var(--teal) !important;
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.25), 0 0 0 3px rgba(15, 118, 110, 0.12) !important;
  transform: scale(1.06);
  z-index: 50 !important;
}
.wheel-rehab-side .rotary-item.clear-tab:hover {
  border-color: #0284c7 !important;
  box-shadow: 0 10px 28px rgba(2, 132, 199, 0.25), 0 0 0 3px rgba(2, 132, 199, 0.12) !important;
}
.rotary-item.clear-tab.active {
  background: #ffffff !important;
  border-color: var(--teal) !important;
  border-width: 2px !important;
  box-shadow: 0 12px 32px rgba(15, 118, 110, 0.3), 0 0 0 4px rgba(15, 118, 110, 0.15) !important;
  z-index: 30 !important;
}
.wheel-rehab-side .rotary-item.clear-tab.active {
  border-color: #0284c7 !important;
  box-shadow: 0 12px 32px rgba(2, 132, 199, 0.3), 0 0 0 4px rgba(2, 132, 199, 0.15) !important;
}

.ri-icon-node {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--teal-10);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.15);
  transition: transform 0.25s ease;
}
.wheel-rehab-side .ri-icon-node {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.15);
}
.rotary-item.clear-tab:hover .ri-icon-node {
  transform: scale(1.1);
}
.ri-content {
  display: flex;
  flex-direction: column;
  gap: 1px;
  line-height: 1.2;
}
.rotary-item.clear-tab .ri-badge {
  font-size: 0.60rem;
  font-weight: 800;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0;
}
.wheel-rehab-side .rotary-item.clear-tab .ri-badge {
  color: #0284c7;
}
.rotary-item.clear-tab .ri-name {
  font-size: 0.82rem;
  font-weight: 700;
  color: #0f172a;
  white-space: nowrap;
}
.rotary-item.clear-tab.active .ri-name {
  color: var(--teal-dark);
  font-weight: 800;
}
.wheel-rehab-side .rotary-item.clear-tab.active .ri-name {
  color: #0369a1;
  font-weight: 800;
}

/* ========================================================
   CENTER STAGE: INVITING PROMPT CANVAS
   ======================================================== */
.rotary-center-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 20px 24px;
  min-height: 520px;
}

.rotary-center-prompt {
  text-align: center;
  max-width: 440px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1.5px solid var(--border);
  border-radius: 28px;
  padding: 38px 30px;
  box-shadow: 0 16px 48px rgba(15, 118, 110, 0.08);
  animation: promptFloat 5s ease-in-out infinite alternate;
}
@keyframes promptFloat {
  0% { transform: translateY(0); }
  100% { transform: translateY(-8px); }
}

.rcp-icon-glow {
  position: relative;
  width: 68px;
  height: 68px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.rcp-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(15, 118, 110, 0.3) 0%, transparent 70%);
  animation: pulseRing 2.4s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}
@keyframes pulseRing {
  0% { transform: scale(0.85); opacity: 0.8; }
  50% { transform: scale(1.35); opacity: 0.25; }
  100% { transform: scale(0.85); opacity: 0.8; }
}
.rcp-symbol {
  font-size: 2.1rem;
  position: relative;
  z-index: 2;
}
.rcp-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 8px;
  line-height: 1.25;
}
.rcp-sub {
  font-size: 0.88rem;
  color: var(--charcoal-60);
  line-height: 1.6;
  margin-bottom: 0;
}

/* ========================================================
   ON-DEMAND MODAL OVERLAY: SELECTED SERVICE POPUP CARD
   ======================================================== */
.rotary-popup-overlay {
  position: fixed;
  inset: 0;
  z-index: 1050;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
}
.rotary-popup-overlay.active {
  opacity: 1;
  pointer-events: auto;
}
.rotary-popup-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.rotary-popup-dialog {
  position: relative;
  width: 100%;
  max-width: 580px;
  z-index: 2;
  transform: scale(0.92) translateY(16px);
  transition: transform 0.35s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
.rotary-popup-overlay.active .rotary-popup-dialog {
  transform: scale(1) translateY(0);
}
.csc-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: white;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  font-size: 1.1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  transition: all 0.2s ease;
}
.csc-close-btn:hover {
  background: #fee2e2;
  color: #dc2626;
  border-color: #fca5a5;
  transform: scale(1.1) rotate(90deg);
}

.center-showcase-card {
  background: white;
  border-radius: 24px;
  border: 1.5px solid var(--border);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.2);
  padding: 32px 28px;
  width: 100%;
  position: relative;
  overflow: hidden;
}
.center-showcase-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--teal) 0%, #14b8a6 50%, #0284c7 100%);
}
.center-showcase-card.theme-rehab::before {
  background: linear-gradient(90deg, #0284c7 0%, #38bdf8 50%, #d97706 100%);
}

/* Facility Indicator Tag */
.csc-facility-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 12px;
  border-radius: 100px;
  background: rgba(15, 118, 110, 0.08);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin-bottom: 14px;
}
.csc-facility-tag.tag-rehab {
  background: rgba(2, 132, 199, 0.08);
  color: #0284c7;
}
.csc-facility-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
}
.csc-facility-tag.tag-rehab .csc-facility-dot {
  background: #0284c7;
}

/* Header: Icon Box + Title */
.csc-header {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 18px;
}
.csc-icon-box {
  width: 54px;
  height: 54px;
  border-radius: var(--radius-sm);
  background: var(--teal-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  flex-shrink: 0;
}
.center-showcase-card.theme-rehab .csc-icon-box {
  background: rgba(2, 132, 199, 0.1);
}
.csc-title-area {
  flex: 1;
  min-width: 0;
}
.csc-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 4px;
}
.csc-subtitle {
  font-size: 0.82rem;
  color: var(--charcoal-60);
  line-height: 1.4;
  margin: 0;
}

/* Stats Row */
.csc-stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}
.csc-stat-pill {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 8px 10px;
  text-align: center;
}
.csp-label {
  display: block;
  font-size: 0.65rem;
  color: var(--charcoal-60);
  text-transform: uppercase;
  letter-spacing: 0.03em;
  margin-bottom: 2px;
}
.csp-val {
  display: block;
  font-size: 0.80rem;
  font-weight: 700;
  color: var(--charcoal);
}

/* Overview Text */
.csc-overview {
  font-size: 0.86rem;
  color: var(--charcoal-60);
  line-height: 1.6;
  margin-bottom: 20px;
}

/* Highlights List */
.csc-highlights-wrap {
  margin-bottom: 24px;
}
.csc-highlights-head {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--charcoal);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 8px;
}
.csc-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0;
  margin: 0;
}
.csc-highlights-list li {
  font-size: 0.82rem;
  color: var(--charcoal);
  position: relative;
  padding-left: 20px;
  line-height: 1.45;
}
.csc-highlights-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: 0;
  color: var(--teal);
  font-weight: 800;
}
.center-showcase-card.theme-rehab .csc-highlights-list li::before {
  color: #0284c7;
}

/* Action Buttons */
.csc-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.csc-book-btn {
  flex: 1;
  min-width: 170px;
  padding: 12px 20px;
  font-size: 0.88rem;
  justify-content: center;
}
.csc-detail-btn {
  padding: 12px 18px;
  font-size: 0.88rem;
  border-radius: 100px;
  border: 1.5px solid var(--border);
  color: var(--charcoal);
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  cursor: pointer;
  background: transparent;
}
.csc-detail-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  background: rgba(15, 118, 110, 0.05);
}

.center-stage-hint {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.74rem;
  color: var(--charcoal-60);
  margin-top: 14px;
  text-align: center;
}
.center-stage-hint svg {
  color: var(--teal);
  flex-shrink: 0;
}

/* Card Popup Pulse Animation on Change */
.center-showcase-card.popup-pulse {
  animation: cscPulse 0.32s cubic-bezier(0.2, 0.8, 0.2, 1);
}
@keyframes cscPulse {
  0% { transform: scale(0.96); opacity: 0.6; }
  100% { transform: scale(1); opacity: 1; }
}

/* ========== STATS SECTION ========== */
.stats-section {
  background: var(--teal);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
}
.stats-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.08) 0%, transparent 40%);
}
.stats-section .section-tag {
  background: rgba(255,255,255,0.15);
  color: rgba(255,255,255,0.9);
}
.stats-section .section-title { color: white; }
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 24px;
  position: relative;
  z-index: 1;
}
.stat-card {
  text-align: center;
  padding: 24px 16px;
  background: rgba(255,255,255,0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.15);
  transition: background 0.3s ease, box-shadow 0.3s ease;
  height: 200px;
  max-height: 200px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  box-sizing: border-box;
}
.stat-card:hover {
  background: rgba(255,255,255,0.14);
  box-shadow: 0 12px 36px rgba(0,0,0,0.15);
}
.stat-number {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.4vw, 3.2rem);
  font-weight: 800;
  color: white;
  line-height: 1;
  margin-bottom: 6px;
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.stat-label {
  font-weight: 700;
  font-size: 0.95rem;
  color: rgba(255,255,255,0.95);
  margin-bottom: 6px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  width: 100%;
}
.stat-desc {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  line-height: 1.4;
  margin: 0;
  max-width: 100%;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ========== WHY CHOOSE US ========== */
.why-section { background: var(--white); }
.why-inner {
  display: grid !important;
  grid-template-columns: 1fr 1.15fr !important;
  gap: clamp(36px, 4vw, 64px) !important;
  align-items: start !important;
  max-width: 1240px !important;
  margin: 0 auto !important;
  width: 100% !important;
}
.why-left {
  position: sticky;
  top: 120px;
}
.why-left .section-title {
  text-align: left;
  margin-bottom: 16px;
}
.why-desc {
  font-size: 1.02rem;
  line-height: 1.65;
  color: var(--charcoal-70);
  margin: 20px 0 32px;
  max-width: 500px;
}
.why-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.why-card {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 26px 24px;
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid rgba(15, 118, 110, 0.14);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: var(--transition);
}
.why-card:hover {
  background: white;
  border-color: rgba(15, 118, 110, 0.35);
  box-shadow: 0 10px 28px rgba(15, 118, 110, 0.08);
  transform: translateX(6px);
}
.why-card-icon {
  width: 52px;
  height: 52px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}
.why-card-icon svg { stroke: var(--teal); }
.why-card:hover .why-card-icon { background: var(--teal); }
.why-card:hover .why-card-icon svg { stroke: white; }
.why-card h3 { font-size: 1.08rem; font-weight: 800; color: #0f172a; margin-bottom: 6px; }
.why-card p { font-size: 0.92rem; line-height: 1.55; color: #475569; margin: 0; }

/* ========== ABOUT CHIEF PHYSIOTHERAPIST SECTION ========== */
.about-doctor-section {
  background: var(--white);
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.about-doctor-grid {
  display: grid;
  grid-template-columns: 440px 1fr;
  gap: 60px;
  align-items: start;
}
.about-doctor-visual {
  display: flex;
  flex-direction: column;
  gap: 24px;
}
.about-doctor-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
  background: var(--sage-light);
  border: 1px solid var(--border);
}
.about-doctor-portrait {
  width: 100%;
  height: 520px;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.about-doctor-badge-overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.9);
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
}
.about-doctor-badge-overlay .badge-icon {
  font-size: 1.8rem;
}
.about-doctor-badge-overlay strong {
  display: block;
  font-size: 0.95rem;
  color: var(--teal-dark);
}
.about-doctor-badge-overlay small {
  color: var(--charcoal-60);
  font-size: 0.78rem;
}
.doctor-credential-box {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 24px;
  border: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.credential-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.cred-icon {
  font-size: 1.3rem;
  line-height: 1;
  margin-top: 2px;
}
.credential-item strong {
  display: block;
  font-size: 0.86rem;
  color: var(--charcoal);
  margin-bottom: 2px;
}
.credential-item p {
  font-size: 0.8rem;
  color: var(--charcoal-60);
  margin: 0;
  line-height: 1.45;
}

.about-doctor-content {
  display: flex;
  flex-direction: column;
}
.about-doctor-content .section-title {
  text-align: left;
  margin-bottom: 8px;
  font-size: clamp(2rem, 3.2vw, 2.8rem);
}
.doctor-designation-sub {
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 24px;
}
.doctor-bio-body {
  font-size: 1.08rem;
  line-height: 1.82;
  color: #1E293B;
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-bottom: 32px;
}
.doctor-bio-body p {
  margin: 0;
}
.doctor-specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 32px;
}
.spec-tag {
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid rgba(15, 118, 110, 0.2);
  color: var(--teal-dark);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 6px 14px;
  border-radius: 100px;
  letter-spacing: 0.02em;
}
.doctor-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

/* ========== TEAM SECTION ========== */
.team-section { background: var(--light); }
.team-grid {
  display: flex !important;
  flex-direction: column !important;
  gap: 32px;
  max-width: 1240px;
  margin: 0 auto;
  width: 100%;
}
.team-top-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  width: 100%;
}
.team-top-row .team-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  align-items: stretch;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-top-row .team-card.team-card-featured {
  border: 1.5px solid rgba(15, 118, 110, 0.4);
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.08);
}
.team-top-row .team-card.team-card-leadership {
  border: 1.5px solid rgba(217, 119, 6, 0.4);
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.08);
}
.team-top-row .team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.team-top-row .team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 100% !important;
  min-height: 290px;
  width: 100%;
}
.team-top-row .team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.team-top-row .team-info {
  padding: 26px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.team-bottom-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}
.team-bottom-row .team-card {
  display: flex;
  flex-direction: column;
  background: white;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.team-bottom-row .team-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-6px);
}
.team-bottom-row .team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 280px !important;
  width: 100%;
}
.team-bottom-row .team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 12%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  display: block;
}
.team-bottom-row .team-info {
  padding: 24px 22px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

@media (max-width: 900px) {
  .team-top-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .team-top-row .team-card {
    grid-template-columns: 1fr;
  }
  .team-top-row .team-img-wrapper {
    height: 280px !important;
    min-height: auto;
  }
  .team-bottom-row {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}
.team-avatar-card {
  background: linear-gradient(135deg, #0F766E 0%, #14B8A6 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}
.team-avatar-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
}
.avatar-initials {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  font-weight: 800;
  color: white;
  letter-spacing: -0.02em;
}
.avatar-role-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 600;
}
.team-img-wrapper {
  position: relative;
  overflow: hidden;
  height: 230px !important;
}
.team-img-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.team-card:hover .team-img-wrapper img { transform: scale(1.06); }

.team-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15,118,110,0.7), transparent 50%);
  opacity: 0;
  transition: opacity 0.4s ease;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  padding-bottom: 24px;
}
.team-card:hover .team-overlay { opacity: 1; }
.team-social { display: flex; gap: 12px; }
.social-link {
  width: 40px;
  height: 40px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--teal);
  font-size: 0.9rem;
  font-weight: 700;
  transition: var(--transition);
  transform: translateY(20px);
  opacity: 0;
  transition: all 0.4s ease;
}
.team-card:hover .social-link {
  transform: translateY(0);
  opacity: 1;
}
.team-card:hover .social-link:nth-child(2) { transition-delay: 0.05s; }
.team-card:hover .social-link:nth-child(3) { transition-delay: 0.1s; }

.team-info { padding: 28px 24px; display: flex; flex-direction: column; flex: 1; }
.team-badge {
  display: inline-block;
  background: var(--teal-10);
  color: var(--teal);
  font-size: 0.72rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 100px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.team-info h3 { font-size: 1.3rem; margin-bottom: 4px; }
.team-creds { font-size: 0.82rem; color: var(--teal); font-weight: 500; margin-bottom: 12px; }
.team-desc { font-size: 0.85rem; color: var(--charcoal-60); margin-bottom: 16px; line-height: 1.6; }
.team-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.team-tags span {
  background: var(--light);
  border: 1px solid var(--border);
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--charcoal-60);
}

/* ========== TESTIMONIALS ========== */
.testimonials-section { background: var(--white); position: relative; overflow: hidden; }
.testimonials-bg {
  position: absolute;
  inset: 0;
  background: 
    radial-gradient(circle at 10% 80%, var(--teal-10), transparent 40%),
    radial-gradient(circle at 90% 20%, var(--beige), transparent 40%);
  pointer-events: none;
}
.testimonials-wrapper { position: relative; z-index: 1; max-width: 1080px; width: 100%; margin: 0 auto; }
.testimonials-track { position: relative; }
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 48px 48px 40px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--border);
  display: none;
  animation: testimonialIn 0.5s ease;
}
.testimonial-card.active { display: block; }
@keyframes testimonialIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
.testimonial-stars { font-size: 1.4rem; margin-bottom: 24px; }
.testimonial-quote {
  font-size: 1.22rem;
  font-family: var(--font-body);
  color: #1E293B;
  line-height: 1.8;
  font-style: italic;
  margin-bottom: 32px;
  position: relative;
}
.testimonial-quote::before {
  content: '"';
  font-size: 6rem;
  color: var(--teal-10);
  font-family: Georgia, serif;
  position: absolute;
  top: -40px;
  left: -20px;
  line-height: 1;
  pointer-events: none;
}
.testimonial-author { display: flex; align-items: center; gap: 16px; }
.author-avatar {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--teal), var(--teal-light));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}
.testimonial-author strong { display: block; font-size: 1rem; color: var(--charcoal); }
.testimonial-author span { font-size: 0.82rem; color: var(--charcoal-60); }

.testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
}
.testimonial-btn {
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
}
.testimonial-btn:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: scale(1.08);
}
.testimonial-dots { display: flex; gap: 8px; }
.dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--border);
  transition: var(--transition);
  border: none;
}
.dot.active, .dot:hover {
  background: var(--teal);
  transform: scale(1.3);
}

/* ========== DEDICATED VIDEO GALLERY SECTION ========== */
.video-section {
  padding: 100px 0;
  background: var(--white);
  position: relative;
}
.video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}
.video-card {
  background: #000000;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.video-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(15, 118, 110, 0.45);
}
.video-embed-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  background: #000000;
  overflow: hidden;
  border-radius: inherit;
}
.video-embed-wrapper iframe,
.video-embed-wrapper video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: none;
  background: #000000;
  display: block;
}

.video-carousel-controls {
  display: none;
}

@media (max-width: 1100px) and (min-width: 769px) {
  .video-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .video-section {
    padding: 60px 0 50px;
    overflow: hidden;
  }
  .video-grid {
    display: flex !important;
    grid-template-columns: none !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    gap: 16px;
    padding: 10px 18px 20px !important;
    margin: 0 -16px !important;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }
  .video-grid::-webkit-scrollbar {
    display: none;
  }
  .video-card {
    flex: 0 0 240px !important;
    max-width: 240px !important;
    scroll-snap-align: center;
    border-radius: 20px;
    border: 1.5px solid rgba(15, 118, 110, 0.2);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  }
  .video-embed-wrapper {
    aspect-ratio: 9 / 16;
    border-radius: inherit;
  }

  /* Video Carousel Controls on Mobile */
  .video-carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    margin-top: 14px;
  }
  .video-nav-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #ffffff;
    color: var(--teal);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.2s ease;
  }
  .video-nav-btn:active {
    transform: scale(0.92);
    background: var(--teal);
    color: #ffffff;
  }
  .video-dots {
    display: flex;
    align-items: center;
    gap: 6px;
  }
  .video-dot {
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #cbd5e1;
    border: none;
    padding: 0;
    cursor: pointer;
    transition: all 0.25s ease;
  }
  .video-dot.active {
    width: 20px;
    background: var(--teal);
  }
}

/* ========== FAQs ========== */
.faqs-section { background: var(--light); }
.faqs-grid { max-width: 1080px; width: 100%; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: white;
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item:hover { box-shadow: var(--shadow-sm); }
.faq-item.open { border-color: var(--teal-20); box-shadow: var(--shadow-md); }
.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 24px 28px;
  font-size: 0.97rem;
  font-weight: 600;
  color: var(--charcoal);
  text-align: left;
  transition: var(--transition);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font-body);
}
.faq-question:hover { color: var(--teal); }
.faq-item.open .faq-question { color: var(--teal); }
.faq-icon {
  font-size: 1.5rem;
  font-weight: 300;
  color: var(--teal);
  flex-shrink: 0;
  transition: transform 0.35s ease;
  line-height: 1;
}
.faq-item.open .faq-icon { transform: rotate(45deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-answer { max-height: 400px; }
.faq-answer p {
  padding: 0 28px 24px;
  font-size: 1.05rem;
  color: #1E293B;
  line-height: 1.75;
  margin: 0;
}

/* ========== CTA SECTION ========== */
.cta-section {
  background: linear-gradient(135deg, #032b28 0%, #064e48 45%, #0f766e 100%);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.cta-bg { position: absolute; inset: 0; pointer-events: none; }
.cta-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.2;
}
.cta-blob-1 {
  width: 500px; height: 500px;
  background: white;
  top: -200px; right: -100px;
}
.cta-blob-2 {
  width: 300px; height: 300px;
  background: var(--sage);
  bottom: -100px; left: -50px;
}
.cta-container {
  display: grid !important;
  grid-template-columns: 1.05fr 1fr !important;
  gap: clamp(36px, 4.5vw, 64px) !important;
  align-items: center;
  position: relative;
  z-index: 2;
  max-width: 1240px !important;
  margin: 0 auto !important;
  width: 100% !important;
}
.cta-content-col {
  color: #ffffff;
  text-align: left;
}
.cta-badge {
  display: inline-block;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: rgba(255,255,255,0.95);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: 0.80rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 20px;
}
.cta-title {
  font-size: clamp(2rem, 3.8vw, 3rem);
  color: white;
  line-height: 1.22;
  margin-bottom: 20px;
  font-weight: 800;
}
.cta-desc {
  font-size: 1.02rem;
  line-height: 1.68;
  color: rgba(255,255,255,0.88);
  margin-bottom: 26px;
}
.cta-perks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 30px;
}
.cta-perk-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.94rem;
  font-weight: 600;
  color: #ecfdf5;
}
.cta-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: rgba(94, 234, 212, 0.22);
  color: #5eead4;
  font-size: 0.82rem;
  font-weight: 800;
}
.cta-direct-call {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.cdc-label {
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.cdc-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.cta-form-col {
  position: relative;
  z-index: 3;
}
.cta-form-col .contact-form-wrapper {
  background: #ffffff;
  border-radius: 20px;
  padding: 36px 32px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.3);
}
.cta-form-col .contact-form-wrapper h3 {
  font-size: 1.48rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 6px;
}
.cta-form-col .contact-form-wrapper > p {
  font-size: 0.90rem;
  color: #475569;
  margin-bottom: 22px;
  line-height: 1.5;
}
.cta-form-col .form-group label {
  color: #1e293b;
  font-weight: 700;
  font-size: 0.86rem;
  margin-bottom: 6px;
}
.cta-form-col .form-group input,
.cta-form-col .form-group select,
.cta-form-col .form-group textarea {
  background: #f8fafc;
  border: 1.5px solid #cbd5e1;
  color: #0f172a;
  border-radius: 10px;
  font-size: 0.92rem;
}
.cta-form-col .form-group input:focus,
.cta-form-col .form-group select:focus,
.cta-form-col .form-group textarea:focus {
  background: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.15);
}
@media (max-width: 991px) {
  .cta-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .cta-section {
    padding: 64px 0;
  }
  .cta-content-col {
    text-align: left;
  }
  .cta-form-col .contact-form-wrapper {
    padding: 24px 18px !important;
  }
}

/* ========== CONTACT SECTION ========== */
.contact-section {
  background: var(--white);
  overflow: hidden;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}
.contact-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.contact-info {
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.contact-info .section-title { text-align: left; }

.contact-centers-cards {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin: 24px 0 28px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.contact-center-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: var(--transition);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.contact-center-item:hover {
  background: white;
  border-color: var(--teal-20);
  box-shadow: var(--shadow-sm);
}
.cci-header {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 8px;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.cci-icon {
  font-size: 1.4rem;
}
.cci-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  max-width: 90px;
}
.cci-logo-img {
  max-height: 36px;
  max-width: 86px;
  width: auto;
  object-fit: contain;
  display: block;
}
.cci-header > div {
  min-width: 0;
  flex: 1;
  overflow-wrap: break-word;
  word-break: break-word;
}
.cci-header strong {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal);
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}
.cci-sub {
  font-size: 0.72rem;
  color: var(--teal);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  display: block;
  margin-top: 2px;
  word-break: break-word;
}
.cci-address {
  font-size: 0.83rem;
  color: var(--charcoal-60);
  line-height: 1.5;
  margin: 0 0 10px 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.cci-links {
  width: 100%;
  min-width: 0;
}
.cci-map-link {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  word-break: break-word;
}
.cci-map-link:hover {
  text-decoration: underline;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin: 28px 0;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.contact-item {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.contact-item > div:not(.contact-icon) {
  min-width: 0;
  flex: 1;
}
.contact-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  max-width: 42px;
  background: var(--teal-10);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 42px;
  flex-shrink: 0;
}
.contact-item strong { display: block; font-size: 0.82rem; font-weight: 700; color: var(--teal); margin-bottom: 4px; text-transform: uppercase; letter-spacing: 0.06em; }
.contact-item p {
  font-size: 0.88rem;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}
.contact-item a {
  color: var(--charcoal-60);
  transition: color 0.2s;
  word-break: break-all;
}
.contact-item a:hover { color: var(--teal); }
.map-placeholder {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  width: 100% !important;
  max-width: 100% !important;
  box-sizing: border-box !important;
  position: relative;
}
.map-placeholder iframe {
  width: 100% !important;
  max-width: 100% !important;
  display: block !important;
  border: 0 !important;
  box-sizing: border-box !important;
}

/* Contact Form */
.contact-form-wrapper {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
}
.contact-form-wrapper h3 { font-size: 1.4rem; margin-bottom: 8px; word-break: break-word; }
.contact-form-wrapper > p { font-size: 0.88rem; color: var(--charcoal-60); margin-bottom: 28px; word-break: break-word; }
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  box-sizing: border-box;
}
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--charcoal);
  letter-spacing: 0.02em;
}
.form-group label span { color: var(--teal); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100% !important;
  max-width: 100% !important;
  min-width: 0 !important;
  box-sizing: border-box !important;
  padding: 13px 16px;
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.90rem;
  font-family: var(--font-body);
  color: var(--charcoal);
  transition: var(--transition);
  outline: none;
  display: block;
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--charcoal-40); }
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 4px var(--teal-10);
}
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%231E293B' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px !important;
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
}
.form-group textarea { resize: vertical; min-height: 96px; }
.form-error { font-size: 0.78rem; color: #e53e3e; display: none; }
.form-error.show { display: block; }

/* ========== FOOTER ========== */
/* ========== FOOTER ========== */
.footer {
  background: linear-gradient(135deg, #074742 0%, var(--teal-dark) 35%, var(--teal) 80%, #0d9488 100%);
  border-top: none;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  box-sizing: border-box;
  padding-top: 0;
  color: #f8fafc;
  position: relative;
}

.footer .container,
.footer-container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  max-width: 100% !important;
  width: 100% !important;
  padding: clamp(36px, 4.5vh, 60px) clamp(28px, 4.5vw, 80px) clamp(24px, 3vh, 40px) !important;
  box-sizing: border-box;
}

/* Redesigned Footer Top Bar: Call Left, Logo Right */
.footer-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding-bottom: clamp(18px, 2.8vh, 32px);
  gap: 24px;
}
.footer-call-box {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-call-label {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-call-numbers {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.footer-phone-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  padding: 10px 20px;
  border-radius: 999px;
  color: #ffffff !important;
  font-weight: 700;
  font-size: 1.05rem;
  letter-spacing: 0.02em;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-decoration: none !important;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.12);
}
.footer-phone-chip svg {
  color: #5eead4;
  transition: transform 0.25s ease;
}
.footer-phone-chip:hover {
  background: #ffffff;
  color: #074742 !important;
  border-color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.22);
}
.footer-phone-chip:hover svg {
  color: #074742;
  transform: scale(1.1);
}
.footer-phone-sep {
  color: rgba(255, 255, 255, 0.45);
  font-size: 1.25rem;
  font-weight: 300;
}

.footer-brand-box .logo {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 0;
}
.footer-brand-box .logo-icon {
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.2);
  flex-shrink: 0;
}
.footer-brand-box .logo-main {
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
  display: block;
  line-height: 1.1;
}
.footer-brand-box .logo-sub {
  display: flex;
  flex-direction: column;
  margin-top: 3px;
}
.footer-brand-box .logo-sub .sub-line {
  font-size: 0.72rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #a7f3d0;
  line-height: 1.25;
}

/* Divider Line */
.footer-divider {
  width: 100%;
  height: 1px;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.15) 0%, rgba(94, 234, 212, 0.5) 40%, rgba(255, 255, 255, 0.15) 100%);
  margin: 0 0 clamp(24px, 3.5vh, 44px) 0;
}

/* Footer Main Backlinks Grid (3 balanced, properly justified columns across whole screen) */
.footer-links-grid-wrap {
  display: grid;
  grid-template-columns: 1.15fr 1.35fr 1.25fr;
  gap: clamp(40px, 5vw, 90px);
  width: 100%;
  padding-bottom: clamp(20px, 3vh, 48px);
  align-items: start;
}

.footer-brand-col,
.footer-nav-col,
.footer-centers-col {
  display: flex;
  flex-direction: column;
}

@media (max-width: 1024px) {
  .footer-links-grid-wrap {
    grid-template-columns: 1fr 1.2fr;
    gap: 40px;
  }
  .footer-centers-col {
    grid-column: 1 / -1;
  }
}
@media (max-width: 768px) {
  .footer-top-bar {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 22px;
    padding-bottom: 24px;
  }
  .footer-links-grid-wrap {
    grid-template-columns: 1fr;
    gap: 36px;
    padding-bottom: 44px;
  }
  .footer-centers-col {
    grid-column: auto;
  }
  .footer-brand-col .footer-tagline {
    max-width: 100%;
  }
  .footer-call-numbers {
    width: 100%;
  }
  .footer-phone-chip {
    flex: 1 1 auto;
    justify-content: center;
  }
}
@media (max-width: 520px) {
  .footer-brand-box .logo {
    gap: 10px;
  }
  .footer-brand-box .logo-main {
    font-size: 1.32rem;
  }
  .footer-brand-box .logo-sub .sub-line {
    font-size: 0.68rem;
  }
  .footer-brand-box .logo-sp-img {
    width: 44px;
    height: 44px;
  }
  .footer-nav-list {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .footer-phone-sep {
    display: none;
  }
  .footer-phone-chip {
    width: 100%;
    font-size: 0.98rem;
    padding: 10px 14px;
  }
  .flc-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
  .footer-email-box {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }
}

/* Legacy support */
.footer-inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.2fr;
  gap: 48px;
  padding-bottom: 64px;
}
.footer-brand .logo {
  margin-bottom: 16px;
}
.footer-brand .logo-icon {
  background: #ffffff;
  border-radius: 50%;
  padding: 3px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.footer-brand .logo-main {
  color: #ffffff;
}
.footer-brand .logo-sub .sub-line {
  color: #a7f3d0;
}
.footer-brand-col .footer-tagline,
.footer-tagline {
  font-size: 0.90rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 24px;
  max-width: 480px;
  line-height: 1.68;
}
.footer-social { display: flex; gap: 12px; }
.footer-social-link {
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: var(--transition);
}
.footer-social-link:hover {
  background: #ffffff;
  color: var(--teal-dark);
  border-color: #ffffff;
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}
.footer-links h4,
.footer-contact h4,
.footer-brand-col h4,
.footer-nav-col h4,
.footer-centers-col h4 {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 22px;
  border-bottom: 2px solid rgba(94, 234, 212, 0.4);
  padding-bottom: 6px;
  display: inline-block;
  align-self: flex-start;
}
.footer-links ul { display: flex; flex-direction: column; gap: 10px; }

/* Quick Navigation List (Balanced 2-Column Symmetrical Grid) */
.footer-nav-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 28px;
  row-gap: 12px;
  list-style: none;
  padding: 0;
  margin: 0;
}
.footer-nav-list li {
  margin: 0;
  padding: 0;
}
.footer-links a,
.footer-nav-list a {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.82);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1.4;
}
.footer-nav-list a .nav-chevron {
  color: #5eead4;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  transition: transform 0.25s ease;
}
.footer-links a:hover,
.footer-nav-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
  text-shadow: 0 0 10px rgba(94, 234, 212, 0.4);
}
.footer-nav-list a:hover .nav-chevron {
  transform: translateX(2px);
  color: #ffffff;
}
.footer-nav-list a.nav-highlight {
  color: #5eead4;
  font-weight: 700;
}
.footer-nav-list a.nav-highlight:hover {
  color: #ffffff;
}

/* Working Hours Badge */
.footer-hours-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 100px;
  padding: 6px 14px;
  font-size: 0.8rem;
  color: #a7f3d0;
  margin-bottom: 22px;
  backdrop-filter: blur(8px);
}

/* Tiruppur Centers Column (Clean, Seamless Address & Email Links - No Box Cards) */
.footer-loc-card {
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 0 !important;
  margin-bottom: 20px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.footer-loc-card:hover {
  background: none !important;
  border-color: transparent !important;
  transform: none !important;
}
.flc-header {
  display: flex;
  align-items: center;
  margin-bottom: 6px;
}
.flc-badge {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #5eead4;
}
.flc-address-link {
  display: block;
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9) !important;
  text-decoration: none !important;
  transition: all 0.22s ease;
}
.flc-address-link:hover {
  color: #5eead4 !important;
  text-decoration: underline !important;
  text-underline-offset: 4px;
  transform: translateX(2px);
}
.flc-address {
  font-size: 0.88rem;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

/* Direct Email Seamless Line (No Box Card) */
.footer-email-box {
  display: flex;
  align-items: center;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  padding: 8px 0 0 !important;
  margin-top: 10px !important;
  gap: 10px !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  box-shadow: none !important;
}
.feb-label {
  font-size: 0.84rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #a7f3d0;
  white-space: nowrap;
}
.feb-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #ffffff !important;
  font-size: 0.88rem;
  text-decoration: underline !important;
  text-underline-offset: 3px;
  transition: color 0.22s ease;
  word-break: break-all;
}
.feb-link:hover {
  color: #5eead4 !important;
}

/* Legacy support */
.footer-contact p,
.footer-centers-col p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 12px;
}
.footer-contact strong,
.footer-centers-col strong {
  color: #ffffff;
}
.footer-contact a,
.footer-centers-col a {
  color: #ffffff;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: color 0.25s;
}
.footer-contact a:hover,
.footer-centers-col a:hover {
  color: #a7f3d0;
}
.footer-email-line {
  margin-top: 14px;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.9);
}
.footer-email-line strong {
  color: #5eead4;
}
.footer-loc-block {
  margin-bottom: 14px;
}
.footer-loc-block strong {
  display: block;
  font-size: 0.84rem;
  color: #5eead4;
  margin-bottom: 4px;
  letter-spacing: 0.03em;
}
.footer-loc-block p {
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 4px;
}
.footer-hours {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}
.footer-hours strong {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #5eead4;
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-bottom {
  background: rgba(0, 0, 0, 0.28);
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  padding: clamp(18px, 2.2vh, 26px) 0;
  width: 100%;
}
.footer-bottom-inner,
.footer-bottom .container {
  max-width: 100% !important;
  width: 100% !important;
  padding: 0 clamp(28px, 4.5vw, 80px) !important;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 12px;
  box-sizing: border-box;
}
.footer-bottom p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}
.footer-credit {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.vuegam-credit {
  background: #042f2c;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.82rem;
  padding: 4px 14px;
  border-radius: 100px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  transition: all 0.25s ease;
}
.vuegam-credit:hover {
  background: #021e1c;
  border-color: #5eead4;
  color: #5eead4 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
}
@media (max-width: 768px) {
  .footer-bottom {
    padding-bottom: 110px;
  }
  .footer-bottom-inner {
    flex-direction: column;
    text-align: center;
    gap: 8px;
  }
}

/* ========== BOOKING MODAL ========== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 41, 59, 0.6);
  backdrop-filter: blur(12px);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: overlayIn 0.3s ease;
}
.modal-overlay[hidden] { display: none; }
@keyframes overlayIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
  background: white;
  border-radius: var(--radius-xl);
  padding: 48px 44px;
  width: 100%;
  max-width: 620px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 40px 100px rgba(0,0,0,0.25);
  animation: modalIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
@keyframes modalIn {
  from { opacity: 0; transform: scale(0.92) translateY(30px); }
  to { opacity: 1; transform: scale(1) translateY(0); }
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  min-width: 44px;
  min-height: 44px;
  border-radius: 50%;
  background: var(--light);
  color: var(--charcoal);
  border: 1px solid rgba(15, 118, 110, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 100 !important;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  transition: var(--transition);
}
.modal-close svg {
  pointer-events: none;
  width: 22px;
  height: 22px;
}
.modal-close:hover,
.modal-close:active {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
}

.modal-steps {
  display: flex;
  align-items: center;
  gap: 0;
  margin-top: 6px;
  margin-bottom: 32px;
  justify-content: center;
  padding: 0 48px;
}
.modal-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.4;
  transition: var(--transition);
}
.modal-step.active { opacity: 1; }
.modal-step.completed { opacity: 0.7; }
.step-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  background: var(--light);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--charcoal-60);
  transition: var(--transition);
}
.modal-step.active .step-num { background: var(--teal); color: white; border-color: var(--teal); }
.modal-step.completed .step-num { background: var(--teal-10); color: var(--teal); border-color: var(--teal-20); }
.modal-step span { font-size: 0.72rem; font-weight: 600; color: var(--charcoal-60); white-space: nowrap; }
.step-connector {
  flex: 1;
  height: 2px;
  background: var(--border);
  margin: 0 12px 18px;
  max-width: 60px;
}

.modal-step-content { display: none; }
.modal-step-content.active { display: block; }
.modal-step-content > h2 { font-size: 1.6rem; margin-bottom: 8px; }
.modal-step-content > p { color: var(--charcoal-60); margin-bottom: 24px; font-size: 0.9rem; }

.modal-category-group {
  margin-bottom: 22px;
  text-align: left;
}
.modal-cat-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--teal-dark);
  margin-bottom: 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(15, 118, 110, 0.15);
}
.modal-services-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-bottom: 8px; }
.modal-service-btn {
  padding: 12px 10px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border);
  background: var(--light);
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--charcoal);
  transition: var(--transition);
  text-align: center;
  font-family: var(--font-body);
}
.modal-btn-wide {
  grid-column: 1 / -1;
  text-align: center;
  justify-content: center;
  padding: 14px;
}
.modal-service-btn:hover, .modal-service-btn.selected {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.modal-actions { display: flex; gap: 12px; margin-top: 24px; }
.modal-actions .btn { flex: 1; justify-content: center; }

.modal-success { text-align: center; padding: 20px 0; }
.success-icon { font-size: 4rem; margin-bottom: 16px; display: block; }
.modal-success h2 { font-size: 1.8rem; margin-bottom: 12px; }
.modal-success p { color: var(--charcoal-60); margin-bottom: 24px; font-size: 0.95rem; }
.success-details {
  background: var(--light);
  border-radius: var(--radius-md);
  padding: 20px;
  margin-bottom: 28px;
  font-size: 0.9rem;
  color: var(--charcoal-60);
  text-align: left;
}

/* Toast */
.toast {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: var(--charcoal);
  color: white;
  padding: 14px 28px;
  border-radius: 100px;
  font-size: 0.9rem;
  font-weight: 500;
  z-index: 3000;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}
.toast.show { transform: translateX(-50%) translateY(0); }
.toast.success { background: var(--teal); }
.toast.error { background: #e53e3e; }

/* ========== SERVICE DETAIL POPUP MODAL ========== */
.service-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.service-modal-overlay.active {
  display: flex !important;
}

.service-modal-card {
  background: var(--white);
  border-radius: 28px;
  width: 100%;
  max-width: 680px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  box-shadow: 
    0 24px 60px -12px rgba(15, 118, 110, 0.28),
    0 12px 30px -8px rgba(0, 0, 0, 0.12),
    0 0 0 1px rgba(15, 118, 110, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.8);
  transform-origin: center center;
}

/* Close button */
.service-modal-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--light);
  border: 1px solid var(--border);
  color: var(--charcoal-60);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: all 0.25s ease;
}
.service-modal-close:hover {
  background: var(--teal);
  color: white;
  border-color: var(--teal);
  transform: rotate(90deg);
}

/* Header */
.sm-card-header {
  padding: 32px 32px 20px;
  background: linear-gradient(135deg, rgba(240, 253, 250, 0.8) 0%, rgba(247, 244, 239, 0.5) 100%);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 20px;
  position: relative;
}
.sm-icon-wrapper {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  background: var(--white);
  border: 2px solid rgba(15, 118, 110, 0.15);
  box-shadow: var(--shadow-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.5rem;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}
.service-modal-card:hover .sm-icon-wrapper {
  transform: scale(1.05) rotate(-3deg);
}
.sm-title-group {
  flex: 1;
  min-width: 0;
  padding-right: 36px;
}
.sm-category-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--teal);
  background: rgba(15, 118, 110, 0.1);
  padding: 4px 10px;
  border-radius: 100px;
  margin-bottom: 6px;
}
.sm-modal-title {
  font-size: 1.55rem;
  font-weight: 800;
  color: var(--charcoal);
  line-height: 1.25;
  margin-bottom: 4px;
}
.sm-modal-subtitle {
  font-size: 0.86rem;
  color: var(--charcoal-60);
  line-height: 1.4;
  margin: 0;
}

/* Scrollable Content */
.sm-card-scroll {
  padding: 24px 32px;
  overflow-y: auto;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 22px;
  scrollbar-width: thin;
  scrollbar-color: var(--sage) transparent;
}
.sm-card-scroll::-webkit-scrollbar {
  width: 6px;
}
.sm-card-scroll::-webkit-scrollbar-thumb {
  background: var(--sage);
  border-radius: 10px;
}

/* Quick Metrics Row */
.sm-quick-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.sm-metric-item {
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.sm-metric-icon {
  font-size: 1.35rem;
  flex-shrink: 0;
}
.sm-metric-item strong {
  display: block;
  font-size: 0.85rem;
  color: var(--charcoal);
  font-weight: 700;
  line-height: 1.2;
}
.sm-metric-item small {
  display: block;
  font-size: 0.72rem;
  color: var(--charcoal-60);
  margin-top: 2px;
}

/* Sections */
.sm-content-section {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.sm-section-heading {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sm-heading-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--teal);
  display: inline-block;
}
.sm-body-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--charcoal-60);
}

/* Highlights List */
.sm-highlights-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
  padding: 0;
}
.sm-highlights-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.86rem;
  color: var(--charcoal);
  line-height: 1.5;
  background: rgba(248, 250, 252, 0.85);
  border: 1px solid rgba(15, 118, 110, 0.08);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
}
.sm-highlight-check {
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 2px;
}

/* Conditions Pills */
.sm-tags-container {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.sm-condition-tag {
  background: rgba(15, 118, 110, 0.07);
  color: var(--teal-dark);
  font-size: 0.78rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 100px;
  border: 1px solid rgba(15, 118, 110, 0.12);
  transition: all 0.2s ease;
}
.sm-condition-tag:hover {
  background: rgba(15, 118, 110, 0.15);
  transform: translateY(-1px);
}

/* Footer */
.sm-card-footer {
  padding: 18px 32px;
  background: var(--light);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.sm-btn-secondary {
  background: transparent;
  color: var(--charcoal-60);
  border: 1.5px solid var(--border);
  padding: 12px 22px;
  font-size: 0.88rem;
  border-radius: 100px;
  transition: var(--transition);
}
.sm-btn-secondary:hover {
  background: rgba(0, 0, 0, 0.04);
  color: var(--charcoal);
  border-color: var(--charcoal-40);
}
.sm-btn-book {
  padding: 12px 28px;
  font-size: 0.92rem;
  box-shadow: 0 4px 18px rgba(15, 118, 110, 0.35);
}
.sm-btn-book:hover {
  box-shadow: 0 8px 25px rgba(15, 118, 110, 0.5);
  transform: translateY(-2px);
}

/* Responsive adjustments for service modal */
@media (max-width: 640px) {
  .service-modal-card {
    border-radius: 20px;
    max-height: 94vh;
  }
  .sm-card-header {
    padding: 24px 20px 16px;
    gap: 14px;
  }
  .sm-icon-wrapper {
    width: 54px;
    height: 54px;
    font-size: 1.8rem;
    border-radius: 16px;
  }
  .sm-modal-title {
    font-size: 1.25rem;
  }
  .sm-card-scroll {
    padding: 16px 20px;
    gap: 16px;
  }
  .sm-quick-metrics {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .sm-card-footer {
    padding: 14px 20px;
    flex-direction: column-reverse;
  }
  .sm-card-footer .btn {
    width: 100%;
    justify-content: center;
  }
}

.orbital-mobile-hint {
  display: none;
  text-align: center;
  font-size: 0.78rem;
  font-weight: 500;
  color: var(--teal);
  margin: 20px auto 0;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: rgba(15, 118, 110, 0.08);
  border: 1px solid var(--border);
  padding: 6px 16px;
  border-radius: 100px;
  width: fit-content;
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
  .services-orbital { gap: 16px; max-width: 940px; }
  .orbital-center-inner { width: 190px; height: 190px; gap: 8px; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

@media (max-width: 1024px) {
  h1 { font-size: clamp(2.4rem, 5vw, 3.8rem); }
  .hero-inner { gap: 48px; }
  .hero-card-1 { left: -20px; }
  .hero-card-2 { left: -20px; }
  .hero-card-3 { right: -10px; }
  .why-inner { grid-template-columns: 1fr; gap: 48px; }
  .why-left { position: static; }
  .about-doctor-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-doctor-portrait { height: 440px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .contact-inner { grid-template-columns: 1fr; gap: 48px; }
}

@media (max-width: 900px) {
  .orbital-mobile-hint { display: inline-flex; }

  /* Maintain circular orbit around center on tablets */
  .services-orbital {
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(3, auto);
    gap: 14px;
    max-width: 700px;
    margin: 0 auto;
  }
  .orbital-center {
    grid-column: 2 !important;
    grid-row: 2 !important;
    order: 0 !important;
    margin-bottom: 0;
  }
  .orbital-center-inner {
    width: 160px;
    height: 160px;
    gap: 6px;
    padding: 10px;
  }
  .orbital-center-inner::before { inset: -8px; }
  .orbital-center-text { font-size: 0.74rem; line-height: 1.35; }
  .orbital-center-title { font-size: 0.82rem; }
  .orbital-center-motto { font-size: 0.68rem; }
  .orbital-center-badge { font-size: 0.58rem; padding: 2px 7px; }
  
  .service-card {
    padding: 16px 10px 12px;
    min-height: 145px;
  }
  .service-card h3 { font-size: 0.82rem; }
  .service-card p { font-size: 0.70rem; line-height: 1.35; }
  .service-icon { font-size: 1.8rem; margin-bottom: 6px; }
  .service-card-action { margin-top: 6px; padding: 3px 8px; font-size: 0.66rem; }

  /* Mobile Hero Layout: Visual Top -> Headline -> Subtext -> CTAs */
  .hero-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 24px !important;
  }
  .hero-visual {
    order: 1 !important;
    width: 100% !important;
    margin: 0 auto !important;
  }
  .hero-content {
    order: 2 !important;
    width: 100% !important;
    max-width: 600px !important;
    margin: 0 auto !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
  }
  .hero-heading {
    order: 1 !important;
    font-size: clamp(2.1rem, 6.8vw, 2.85rem) !important;
    line-height: 1.15 !important;
    margin-bottom: 16px !important;
  }
  .hero-sub-mobile {
    display: block !important;
    order: 2 !important;
    margin: 0 auto 24px auto !important;
    font-size: 0.95rem !important;
    line-height: 1.6 !important;
    text-align: center !important;
    color: #334155 !important;
    max-width: 560px !important;
  }
  .hero-sub-mobile .hero-subheading-lead {
    font-size: 1.05rem !important;
    font-weight: 800 !important;
    color: #0f172a !important;
    margin-bottom: 8px !important;
    line-height: 1.4 !important;
  }
  .hero-actions {
    order: 3 !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
    width: 100% !important;
    max-width: 360px !important;
    margin: 0 auto !important;
    justify-content: center !important;
  }
  .hero-actions .btn {
    width: 100% !important;
    min-height: 52px !important;
    font-size: 1rem !important;
    justify-content: center !important;
  }
  .hero-secondary-banner {
    display: none !important;
  }

  /* Two Specialized Facilities Cards: Specialties title cards */
  .centers-grid { grid-template-columns: 1fr; width: 100%; max-width: 680px; margin: 0 auto; gap: 24px; }
  .center-card { padding: 26px 18px 22px; }
  .center-card-media { margin: -26px -18px 18px -18px; height: 190px; }
  .center-specs-strip { grid-template-columns: 1fr; gap: 6px; }
  .bento-highlights-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 12px !important;
    margin-bottom: 22px !important;
  }
  .bento-hl-item {
    aspect-ratio: 1 / 1 !important;
    padding: 0 !important;
    min-height: auto !important;
    border-radius: 16px !important;
  }
  .bento-hl-cover,
  .bento-hl-revealed {
    padding: 12px 10px !important;
  }
  .bento-hl-cover-title {
    font-size: 0.94rem !important;
    line-height: 1.34 !important;
  }
  .bento-hl-revealed .bento-hl-title {
    font-size: 0.88rem !important;
    line-height: 1.28 !important;
    margin-bottom: 4px !important;
  }
  .bento-hl-desc {
    font-size: 0.78rem !important;
    line-height: 1.36 !important;
    margin-top: 3px !important;
  }

  /* Why Shri Physio Mobile: Clean 1-Column Stack */
  .why-inner {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 16px !important;
  }
  .why-left {
    position: static !important;
    text-align: center !important;
    width: 100% !important;
  }
  .why-left .section-tag {
    margin: 0 auto 12px auto !important;
  }
  .why-left .section-title {
    text-align: center !important;
    font-size: clamp(1.85rem, 5.5vw, 2.3rem) !important;
    line-height: 1.2 !important;
  }
  .why-desc {
    text-align: center !important;
    margin: 14px auto 24px auto !important;
    font-size: 0.95rem !important;
    max-width: 560px !important;
  }
  .why-left #why-book-btn {
    width: 100% !important;
    max-width: 320px !important;
    margin: 0 auto !important;
    display: flex !important;
    justify-content: center !important;
    min-height: 50px !important;
    font-size: 1rem !important;
  }
  .why-right {
    width: 100% !important;
    gap: 14px !important;
  }
  .why-card {
    padding: 18px 16px !important;
    gap: 14px !important;
    align-items: flex-start !important;
    border-radius: 16px !important;
  }
  .why-card-icon {
    width: 44px !important;
    height: 44px !important;
    min-width: 44px !important;
  }
  .why-card-icon svg {
    width: 22px !important;
    height: 22px !important;
  }
  .why-card h3 {
    font-size: 1.02rem !important;
    margin-bottom: 4px !important;
  }
  .why-card p {
    font-size: 0.88rem !important;
    line-height: 1.5 !important;
  }

  /* Ready to Begin (CTA) Mobile: Value Prop First, then Touch-Friendly Form */
  .cta-section {
    padding: 56px 0 !important;
  }
  .cta-container {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    padding: 0 16px !important;
    width: 100% !important;
  }
  .cta-content-col {
    order: 1 !important;
    text-align: center !important;
    width: 100% !important;
  }
  .cta-badge {
    margin: 0 auto 16px auto !important;
  }
  .cta-title {
    font-size: clamp(1.8rem, 5.8vw, 2.3rem) !important;
    text-align: center !important;
    line-height: 1.22 !important;
    margin-bottom: 14px !important;
  }
  .cta-desc {
    font-size: 0.94rem !important;
    text-align: center !important;
    margin: 0 auto 22px auto !important;
    max-width: 520px !important;
  }
  .cta-perks {
    max-width: 380px !important;
    margin: 0 auto 26px auto !important;
    text-align: left !important;
    align-items: flex-start !important;
    gap: 10px !important;
  }
  .cta-perk-item {
    font-size: 0.90rem !important;
  }
  .cta-direct-call {
    align-items: center !important;
    text-align: center !important;
  }
  .cdc-btns {
    width: 100% !important;
    flex-direction: column !important;
    gap: 12px !important;
    max-width: 360px !important;
    margin: 0 auto !important;
  }
  .cdc-btns .btn {
    width: 100% !important;
    justify-content: center !important;
    min-height: 52px !important;
    font-size: 1rem !important;
  }
  .cta-form-col {
    order: 2 !important;
    width: 100% !important;
  }
  .cta-form-col .contact-form-wrapper {
    padding: 24px 18px !important;
    border-radius: 18px !important;
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.22) !important;
  }
  .cta-form-col .contact-form-wrapper h3 {
    font-size: 1.35rem !important;
    text-align: center !important;
  }
  .cta-form-col .contact-form-wrapper > p {
    text-align: center !important;
    font-size: 0.88rem !important;
    margin-bottom: 20px !important;
  }
  .cta-form-col .form-group label {
    font-size: 0.84rem !important;
  }
  .cta-form-col .form-group input,
  .cta-form-col .form-group select,
  .cta-form-col .form-group textarea {
    font-size: 16px !important;
    min-height: 48px !important;
    padding: 12px 14px !important;
    border-radius: 12px !important;
  }
  .cta-form-col .form-group textarea {
    min-height: 100px !important;
  }
  #contact-submit {
    min-height: 52px !important;
    font-size: 1rem !important;
    font-weight: 700 !important;
    border-radius: 12px !important;
  }

  .team-top-row { grid-template-columns: 1fr; gap: 20px; }
  .team-bottom-row { grid-template-columns: 1fr; gap: 20px; }
}

@media (max-width: 1040px) {
  .nav { display: none; }
  .nav-cta { display: none; }
  .mobile-menu-btn { display: flex; }
}

@media (max-width: 600px) {
  .header { padding: 10px 0; }
  .header-inner {
    gap: 8px;
    justify-content: space-between;
    width: 100%;
  }
  .container {
    padding: 0 16px;
  }
  .logo {
    gap: 8px;
    min-width: 0;
    max-width: calc(100% - 46px);
  }
  .logo-icon {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
  .logo-text {
    min-width: 0;
    overflow: hidden;
  }
  .logo-main {
    font-size: 1.05rem;
    line-height: 1.1;
  }
  .logo-sub {
    font-size: 0.56rem;
    line-height: 1.16;
    letter-spacing: 0.02em;
    margin-top: 1px;
  }
  .logo-sub .sub-line {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .mobile-menu-btn {
    width: 38px;
    height: 38px;
    flex-shrink: 0;
  }
}

@media (max-width: 768px) {
  section { padding: 72px 0; }
  .hero { padding: 100px 0 60px; }
  .doctor-img-wrapper { width: 280px; height: 360px; }
  .hero-card { padding: 10px 14px; }
  .hero-card strong { font-size: 0.8rem; }
  .hero-card span { font-size: 0.68rem; }
  .gallery-item { width: 220px; height: 144px; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
  .team-top-row { grid-template-columns: 1fr; gap: 20px; }
  .team-bottom-row { grid-template-columns: 1fr; gap: 20px; }
  .team-top-row .team-card { grid-template-columns: 1fr; }
  .team-top-row .team-img-wrapper,
  .team-bottom-row .team-img-wrapper { height: 260px !important; min-height: auto; }
  .about-doctor-portrait { height: 360px; }
  .testimonial-card { padding: 32px 28px; }
  .testimonial-quote { font-size: 1rem; }
  .cta-section { padding: 80px 0; }
  .modal {
    padding: 36px 18px 24px;
    max-height: 92vh;
    border-radius: var(--radius-lg);
  }
  .modal-close {
    top: 10px;
    right: 10px;
    width: 44px;
    height: 44px;
  }
  .modal-steps {
    padding: 0 40px 0 10px;
    margin-top: 4px;
    margin-bottom: 24px;
  }
  .modal-step span {
    font-size: 0.65rem;
  }
  .step-connector {
    margin: 0 6px 14px;
    max-width: 32px;
  }
  .form-row { grid-template-columns: 1fr; }

  /* Contact Section Mobile Optimization */
  .contact-section {
    padding: 60px 0;
    overflow: hidden;
  }
  .contact-inner {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    width: 100% !important;
  }
  .contact-centers-cards {
    margin: 18px 0 22px;
    gap: 14px;
    width: 100% !important;
  }
  .contact-center-item {
    padding: 16px 14px !important;
    border-radius: var(--radius-sm) !important;
    width: 100% !important;
  }
  .cci-header {
    gap: 10px;
    margin-bottom: 6px;
  }
  .cci-logo-wrap {
    max-width: 72px !important;
  }
  .cci-logo-img {
    max-height: 28px !important;
    max-width: 70px !important;
  }
  .cci-header strong {
    font-size: 0.90rem !important;
    line-height: 1.3;
  }
  .cci-sub {
    font-size: 0.68rem !important;
  }
  .cci-address {
    font-size: 0.80rem !important;
    line-height: 1.45;
    margin: 0 0 8px 0 !important;
  }
  .cci-map-link {
    font-size: 0.74rem !important;
  }
  .contact-details {
    gap: 16px !important;
    margin: 20px 0 !important;
    width: 100% !important;
  }
  .contact-item {
    gap: 10px !important;
  }
  .contact-icon {
    width: 36px !important;
    height: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    flex: 0 0 36px !important;
    border-radius: 10px !important;
  }
  .contact-icon svg {
    width: 17px;
    height: 17px;
  }
  .contact-item strong {
    font-size: 0.76rem !important;
    margin-bottom: 2px;
  }
  .contact-item p {
    font-size: 0.82rem !important;
  }
  .map-placeholder {
    border-radius: var(--radius-sm) !important;
    margin-top: 20px;
    width: 100% !important;
  }
  .map-placeholder iframe {
    height: 190px !important;
    width: 100% !important;
  }
  .contact-form-wrapper {
    padding: 24px 16px !important;
    border-radius: var(--radius-md) !important;
    width: 100% !important;
  }
  .contact-form-wrapper h3 {
    font-size: 1.25rem !important;
    margin-bottom: 6px;
  }
  .contact-form-wrapper > p {
    font-size: 0.82rem !important;
    margin-bottom: 20px !important;
  }
  .contact-form {
    gap: 14px !important;
    width: 100% !important;
  }
  .form-row {
    grid-template-columns: 1fr !important;
    gap: 14px !important;
  }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 11px 12px !important;
    font-size: 0.86rem !important;
    border-radius: 10px !important;
    width: 100% !important;
  }
  .form-group textarea {
    min-height: 80px;
  }
  #contact-submit {
    width: 100% !important;
    padding: 12px 18px !important;
    font-size: 0.90rem !important;
  }

  /* Prevent GSAP horizontal offsets from pushing viewport horizontally on mobile */
  [data-gsap="fade-right"],
  [data-gsap="fade-left"] {
    transform: translateY(20px) !important;
  }

  .footer-inner { grid-template-columns: 1fr 1fr; }
  .footer-links ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px 14px;
  }
  .footer-links a {
    font-size: 0.82rem;
    line-height: 1.35;
    padding: 2px 0;
    display: inline-block;
  }
}

@media (max-width: 640px) {
  .centers-grid { grid-template-columns: 1fr !important; gap: 26px; }
  .center-card { padding: 24px 18px 20px; }
  .center-card-media { margin: -24px -18px 18px -18px; height: 185px; }
  .services-section { padding: 52px 0 44px; }
  .services-section .container { padding: 0 10px; }

  /* Mobile 3x3 Circular Orbit */
  .services-orbital {
    grid-template-columns: repeat(3, 1fr) !important;
    grid-template-rows: repeat(3, 1fr) !important;
    gap: 7px;
    max-width: 440px;
    margin: 0 auto;
  }
  .services-orbital::before {
    inset: 3%;
  }

  /* Center circle placed dead center (col 2, row 2) */
  .orbital-center {
    grid-column: 2 !important;
    grid-row: 2 !important;
    align-self: center;
    justify-self: center;
    margin: 0 !important;
    order: 0 !important;
  }
  .orbital-center-inner {
    width: 104px;
    height: 104px;
    gap: 3px;
    padding: 5px;
    box-shadow: 0 8px 22px rgba(15, 118, 110, 0.16);
  }
  .orbital-center-inner::before { inset: -5px; }
  .orbital-center-icon svg { width: 22px !important; height: 22px !important; }
  .orbital-center-icon img { max-height: 22px !important; max-width: 54px !important; }
  .orbital-center-icon span { font-size: 1.3rem !important; }
  .orbital-center-text {
    font-size: 0.60rem;
    line-height: 1.18;
  }
  .orbital-center-title {
    font-size: 0.54rem !important;
    line-height: 1.15 !important;
  }
  .orbital-center-motto {
    font-size: 0.48rem !important;
    line-height: 1.15 !important;
  }
  .orbital-center-badge {
    font-size: 0.44rem !important;
    padding: 1px 4px !important;
  }

  /* Compact satellite cards circling the center */
  .service-card {
    padding: 8px 4px 6px !important;
    min-height: 94px !important;
    height: 100%;
    border-radius: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-shadow: 0 3px 10px rgba(15, 118, 110, 0.08);
  }
  .service-icon {
    width: 32px !important;
    height: 32px !important;
    border-radius: 9px !important;
    margin-bottom: 3px !important;
    padding: 0 !important;
  }
  .service-icon svg {
    width: 17px !important;
    height: 17px !important;
  }
  .service-card h3 {
    font-size: 0.66rem !important;
    line-height: 1.2 !important;
    font-weight: 700;
    margin-bottom: 0 !important;
  }
  .service-card p {
    display: none !important;
  }
  .service-card-action {
    margin-top: 3px !important;
    padding: 2px 6px !important;
    font-size: 0.58rem !important;
    gap: 2px;
  }
  .service-card-action svg {
    width: 9px;
    height: 9px;
  }
}

@media (max-width: 540px) {
  h1 { font-size: 2.4rem; }
  h2 { font-size: 1.8rem; }
  .hero-actions { flex-direction: column; }
  .hero-social-proof { flex-direction: column; text-align: center; }
  .hero-card-2, .hero-card-3 { display: none; }
  .stats-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .modal-services-grid { grid-template-columns: 1fr; }
  .cta-actions { flex-direction: column; align-items: center; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .contact-form-wrapper { padding: 20px 14px !important; }
  .contact-center-item { padding: 14px 12px !important; }
}

@media (max-width: 380px) {
  .logo-main { font-size: 0.98rem; }
  .logo-sub { font-size: 0.52rem; }
  .logo-icon { width: 34px; height: 34px; }
  .services-section .container { padding: 0 6px; }
  .services-orbital { gap: 5px; }
  .orbital-center-inner {
    width: 88px;
    height: 88px;
    padding: 3px;
  }
  .orbital-center-icon svg { width: 18px; height: 18px; }
  .orbital-center-text { font-size: 0.52rem; line-height: 1.15; }

  .service-card {
    padding: 6px 2px 4px !important;
    min-height: 84px !important;
    border-radius: 12px;
  }
  .service-icon {
    width: 26px !important;
    height: 26px !important;
    border-radius: 7px !important;
    margin-bottom: 2px !important;
  }
  .service-icon svg {
    width: 14px !important;
    height: 14px !important;
  }
  .service-card h3 { font-size: 0.60rem !important; }
  .service-card-action { font-size: 0.52rem !important; padding: 1px 4px !important; }

  .contact-form-wrapper { padding: 16px 12px !important; }
  .contact-center-item { padding: 12px 10px !important; }
  .cci-logo-wrap { max-width: 60px !important; }
  .cci-logo-img { max-height: 24px !important; max-width: 58px !important; }
  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 10px 10px !important;
    font-size: 0.82rem !important;
  }
}

/* =============================================
   CHIEF DOCTOR PROFILE PAGE (Dr. S. Dhileep Kumar)
   ============================================= */
.doctor-profile-page {
  background: #ffffff;
}

/* Breadcrumb */
.doc-breadcrumb-bar {
  background: var(--light);
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
  margin-top: 80px;
}
.doc-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--charcoal-60);
  flex-wrap: wrap;
}
.doc-breadcrumb a {
  color: var(--teal);
  font-weight: 500;
  transition: var(--transition);
}
.doc-breadcrumb a:hover {
  text-decoration: underline;
}
.bc-sep {
  color: var(--charcoal-40);
  user-select: none;
}
.bc-current {
  color: var(--charcoal);
  font-weight: 600;
}

/* Doctor Hero Section */
.doc-hero-section {
  padding: 60px 0 80px;
  background: linear-gradient(180deg, var(--light) 0%, #ffffff 100%);
  position: relative;
  overflow: hidden;
}
.doc-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 60px;
  align-items: center;
}
.doc-hero-info {
  display: flex;
  flex-direction: column;
}
.doc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(15, 118, 110, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.2);
  color: var(--teal-dark);
  padding: 6px 16px;
  border-radius: 100px;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 20px;
  width: fit-content;
}
.badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal);
  box-shadow: 0 0 8px var(--teal);
}
.doc-hero-name {
  font-size: clamp(2.4rem, 4vw, 3.4rem);
  line-height: 1.15;
  color: var(--charcoal);
  margin-bottom: 12px;
}
.doc-hero-role {
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--teal);
  margin-bottom: 20px;
  line-height: 1.4;
}
.doc-hero-creds-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 24px;
}
.cred-pill {
  font-size: 0.8rem;
  font-weight: 600;
  background: white;
  border: 1px solid var(--border);
  padding: 6px 14px;
  border-radius: 100px;
  box-shadow: var(--shadow-sm);
  color: var(--charcoal);
}
.doc-hero-summary {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--charcoal-80);
  margin-bottom: 32px;
}
.doc-hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}
.doc-key-points {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  padding-top: 24px;
  border-top: 1px solid var(--border);
}
.dkp-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.dkp-icon {
  font-size: 1.6rem;
  line-height: 1;
  flex-shrink: 0;
}
.dkp-item strong {
  display: block;
  font-size: 0.88rem;
  color: var(--charcoal);
  margin-bottom: 4px;
  line-height: 1.3;
}
.dkp-item p {
  font-size: 0.76rem;
  color: var(--charcoal-60);
  line-height: 1.4;
  margin: 0;
}

/* Doctor Visual Right */
.doc-hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
}
.doc-portrait-wrapper {
  position: relative;
  width: 100%;
  max-width: 440px;
  border-radius: 36px;
  overflow: visible;
}
.doc-portrait-img {
  width: 100%;
  height: 540px;
  object-fit: cover;
  object-position: top center;
  border-radius: 36px;
  box-shadow: 0 20px 60px rgba(15, 118, 110, 0.22);
  border: 2px solid rgba(255, 255, 255, 0.8);
  display: block;
}
.doc-glass-floating {
  position: absolute;
  background: rgba(255, 255, 255, 0.94);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.8);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  transition: transform 0.3s ease;
}
.doc-glass-floating:hover {
  transform: translateY(-4px);
}
.fl-icon { font-size: 1.4rem; }
.doc-glass-floating strong {
  display: block;
  font-size: 0.88rem;
  color: var(--charcoal);
  line-height: 1.2;
}
.doc-glass-floating small {
  font-size: 0.74rem;
  color: var(--teal);
  font-weight: 600;
}
.card-fl-2 {
  top: 32px;
  right: -20px;
}
.card-fl-3 {
  bottom: 20px;
  left: -20px;
}

/* Doctor Numbers Strip */
.doc-numbers-strip {
  background: linear-gradient(135deg, #0a5c56 0%, #0F766E 60%, #0284c7 100%);
  color: white;
  padding: 48px 0;
}
.doc-numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.dnum-val {
  font-family: var(--font-head);
  font-size: clamp(2.2rem, 3.5vw, 3.2rem);
  font-weight: 800;
  line-height: 1;
  color: white;
  margin-bottom: 8px;
}
.dnum-label {
  font-size: 1.05rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 4px;
}
.dnum-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  margin: 0;
}

/* Bio Chapters */
.doc-bio-section {
  padding: 100px 0;
  background: var(--white);
}
.doc-bio-chapters {
  display: flex;
  flex-direction: column;
  gap: 24px;
  max-width: 960px;
  margin: 0 auto;
}
.bio-chapter-card {
  display: flex;
  gap: 32px;
  background: var(--light);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
  transition: var(--transition);
}
.bio-chapter-card:hover {
  box-shadow: var(--shadow-md);
  border-color: var(--teal);
  transform: translateY(-3px);
  background: #ffffff;
}
.chapter-number {
  font-family: var(--font-head);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--teal);
  opacity: 0.4;
  line-height: 1;
  flex-shrink: 0;
}
.chapter-content h3 {
  font-size: 1.3rem;
  color: var(--charcoal);
  margin-bottom: 14px;
}
.chapter-content p {
  font-size: 0.96rem;
  line-height: 1.8;
  color: var(--charcoal-80);
  margin: 0;
}

/* Specializations Grid */
.doc-specs-section {
  padding: 100px 0;
  background: #f8fafc;
}
.doc-specs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.doc-spec-card {
  background: white;
  border-radius: var(--radius-md);
  border: 1.5px solid var(--border);
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.doc-spec-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-xl);
  border-color: var(--teal);
}
.spec-card-icon {
  font-size: 2.2rem;
  line-height: 1;
  margin-bottom: 16px;
}
.doc-spec-card h3 {
  font-size: 1.2rem;
  color: var(--charcoal);
  margin-bottom: 8px;
}
.spec-focus {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 12px;
}
.spec-desc {
  font-size: 0.88rem;
  line-height: 1.65;
  color: var(--charcoal-60);
  margin-bottom: 18px;
}
.spec-list {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  list-style: none;
}
.spec-list li {
  font-size: 0.82rem;
  color: var(--charcoal);
  position: relative;
  padding-left: 18px;
  margin-bottom: 6px;
  line-height: 1.4;
}
.spec-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--teal);
  font-weight: bold;
}

/* Schedule & Centers Section */
.doc-schedule-section {
  padding: 100px 0;
  background: white;
}
.doc-schedule-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 36px;
}
.doc-center-box {
  background: var(--light);
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1.5px solid var(--border);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.doc-center-box:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}
.clinic-box { border-top: 5px solid var(--teal); }
.rehab-box { border-top: 5px solid #0284c7; }
.center-box-top {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 16px;
}
.box-icon { font-size: 2.2rem; }
.box-logo-wrap {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.box-logo-img {
  max-height: 48px;
  max-width: 140px;
  width: auto;
  object-fit: contain;
  display: block;
}
.box-tag {
  font-size: 0.72rem;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--teal);
  display: block;
}
.rehab-box .box-tag { color: #0284c7; }
.center-box-top h3 {
  font-size: 1.3rem;
  color: var(--charcoal);
}
.box-addr {
  font-size: 0.88rem;
  color: var(--charcoal-60);
  line-height: 1.6;
  margin-bottom: 24px;
}
.box-hours {
  background: white;
  border-radius: var(--radius-sm);
  padding: 20px;
  border: 1px solid var(--border);
  margin-bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.box-hours h4 {
  font-size: 0.92rem;
  color: var(--charcoal);
  margin-bottom: 4px;
}
.time-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.88rem;
  border-bottom: 1px dashed var(--border);
  padding-bottom: 6px;
}
.time-row:last-child { border-bottom: none; padding-bottom: 0; }
.time-label { color: var(--charcoal-60); }
.time-val { color: var(--teal-dark); font-weight: 700; }
.rehab-box .time-val { color: #0284c7; }
.box-actions {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}

/* Reviews Section */
.doc-reviews-section {
  padding: 100px 0;
  background: #f8fafc;
}
.doc-reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.doc-review-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}
.doc-review-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--teal);
}
.doc-review-card .star-rating {
  font-size: 1.1rem;
  margin-bottom: 14px;
}
.doc-review-card blockquote {
  font-size: 0.94rem;
  line-height: 1.75;
  color: var(--charcoal-80);
  font-style: italic;
  margin-bottom: 20px;
  flex-grow: 1;
}
.review-author strong {
  display: block;
  font-size: 0.95rem;
  color: var(--charcoal);
}
.review-author span {
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
}

/* Consultation Form Card */
.doc-form-section {
  padding: 100px 0;
  background: white;
}
.doc-form-card {
  max-width: 820px;
  margin: 0 auto;
  background: var(--light);
  border-radius: var(--radius-xl);
  padding: 56px;
  border: 1.5px solid var(--border);
  box-shadow: var(--shadow-lg);
}
.dfc-header {
  text-align: center;
  margin-bottom: 36px;
}
.dfc-header h2 {
  font-size: 2rem;
  margin-bottom: 12px;
}
.dfc-header p {
  font-size: 0.95rem;
  color: var(--charcoal-60);
  max-width: 600px;
  margin: 0 auto;
}
.form-privacy-note {
  font-size: 0.78rem;
  color: var(--charcoal-60);
  text-align: center;
  margin-top: 16px;
}

/* Responsive adjustments for Doctor page */
@media (max-width: 992px) {
  .doc-hero-grid { grid-template-columns: 1fr; gap: 48px; }
  .doc-hero-visual { order: -1; }
  .doc-portrait-wrapper { max-width: 360px; margin: 0 auto; position: relative; }
  .doc-portrait-img { height: 420px; }
  .card-fl-2 { right: -10px; top: 16px; }
  .card-fl-3 { left: -10px; bottom: 12px; }
  .doc-specs-grid { grid-template-columns: repeat(2, 1fr); }
  .doc-schedule-grid { grid-template-columns: 1fr; }
  .doc-reviews-grid { grid-template-columns: 1fr; }
  .doc-numbers-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
}

@media (max-width: 640px) {
  .doc-key-points { grid-template-columns: 1fr; gap: 14px; }
  .doc-specs-grid { grid-template-columns: 1fr; }
  .bio-chapter-card { flex-direction: column; gap: 16px; padding: 28px 24px; }
  .doc-form-card { padding: 32px 20px; }
  .doc-hero-actions { flex-direction: column; }
  .card-fl-2 {
    display: flex;
    right: 4px;
    top: 12px;
    padding: 8px 12px;
  }
  .card-fl-2 strong, .card-fl-3 strong { font-size: 0.78rem; }
  .card-fl-2 small, .card-fl-3 small { font-size: 0.65rem; }
  .card-fl-3 {
    display: flex;
    left: 4px;
    bottom: 8px;
    padding: 8px 12px;
  }
}

/* ========== FOOTER DIRECTION BUTTONS ========== */
.footer-dir-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 6px;
  padding: 4px 12px;
  font-size: 0.76rem;
  font-weight: 700;
  color: #ffffff !important;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 9999px;
  text-decoration: none;
  transition: all 0.25s ease;
  line-height: 1.4;
}
.footer-dir-btn svg {
  transition: transform 0.2s ease;
}
.footer-dir-btn:hover {
  background: #ffffff;
  color: #074742 !important;
  border-color: #ffffff;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}
.footer-dir-btn:hover svg {
  transform: translateX(2px);
}

/* ========== FACILITY IMAGE GALLERY SECTION ========== */
.facility-gallery-section {
  padding: 96px 0;
  background: #f8fafc;
  position: relative;
  overflow: hidden;
}
.gallery-controls-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 36px 0 32px;
}
.gallery-filter-tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.gallery-tab-btn {
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 9999px;
  border: 1px solid var(--border);
  background: #ffffff;
  color: var(--charcoal);
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
}
.gallery-tab-btn:hover {
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-1px);
}
.gallery-tab-btn.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.25);
}
.gallery-tab-count {
  font-size: 0.74rem;
  padding: 2px 7px;
  border-radius: 9999px;
  background: rgba(0, 0, 0, 0.08);
  font-weight: 700;
}
.gallery-tab-btn.active .gallery-tab-count {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.gallery-upload-trigger-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  font-size: 0.88rem;
  font-weight: 600;
  border-radius: 9999px;
  background: linear-gradient(135deg, #0f766e 0%, #0d9488 100%);
  color: #ffffff;
  border: none;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.2);
}
.gallery-upload-trigger-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(15, 118, 110, 0.32);
}

/* Gallery Grid */
.facility-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
@media (max-width: 1024px) {
  .facility-gallery-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .facility-gallery-grid {
    grid-template-columns: 1fr;
  }
}

.facility-card {
  background: #ffffff;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
  position: relative;
}
.facility-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.1);
  border-color: rgba(15, 118, 110, 0.28);
}
.facility-card-media {
  position: relative;
  height: 280px;
  overflow: hidden;
  background: #e2e8f0;
  cursor: pointer;
}
.facility-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.facility-card:hover .facility-card-media img {
  transform: scale(1.06);
}
.facility-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.65) 0%, transparent 60%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}
.facility-card:hover .facility-card-overlay {
  opacity: 1;
}
.facility-zoom-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  color: #0f172a;
  border-radius: 9999px;
  font-size: 0.8rem;
  font-weight: 700;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.18);
  transform: translateY(10px);
  transition: transform 0.3s ease;
}
.facility-card:hover .facility-zoom-pill {
  transform: translateY(0);
}

.facility-card-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  z-index: 2;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  backdrop-filter: blur(8px);
}
.badge-rehab-center {
  background: rgba(15, 118, 110, 0.9);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(15, 118, 110, 0.3);
}
.badge-clinic-center {
  background: rgba(2, 132, 199, 0.9);
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}
.badge-custom-upload {
  position: absolute;
  top: 14px;
  right: 14px;
  z-index: 2;
  padding: 3px 9px;
  border-radius: 9999px;
  font-size: 0.68rem;
  font-weight: 700;
  background: #f59e0b;
  color: #ffffff;
}

.facility-card-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}
.facility-card-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 6px;
  line-height: 1.35;
}
.facility-card-desc {
  font-size: 0.84rem;
  color: var(--charcoal-60);
  line-height: 1.5;
  margin-bottom: 14px;
  flex-grow: 1;
}
.facility-card-foot {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 12px;
  border-top: 1px solid #f1f5f9;
  font-size: 0.78rem;
  color: var(--teal);
  font-weight: 600;
}
.facility-delete-btn {
  background: none;
  border: none;
  color: #ef4444;
  font-size: 0.76rem;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background 0.2s;
}
.facility-delete-btn:hover {
  background: #fee2e2;
}

/* Lightbox Modal */
.gallery-lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(10, 15, 29, 0.92);
  backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}
.gallery-lightbox-overlay.active {
  opacity: 1;
  visibility: visible;
}
.gallery-lightbox-container {
  position: relative;
  max-width: 1000px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  max-height: 92vh;
}
.lightbox-img-wrapper {
  position: relative;
  max-height: 70vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
  background: #000;
}
.lightbox-img-wrapper img {
  max-width: 100%;
  max-height: 70vh;
  object-fit: contain;
  display: block;
  border-radius: 16px;
}
.lightbox-caption-bar {
  margin-top: 16px;
  color: #ffffff;
  text-align: center;
  width: 100%;
}
.lightbox-facility-tag {
  display: inline-block;
  padding: 4px 14px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.lightbox-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 4px;
}
.lightbox-desc {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto;
}
.lightbox-counter {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
}
.lightbox-close-btn {
  position: absolute;
  top: -46px;
  right: 0;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.2rem;
  transition: all 0.2s;
}
.lightbox-close-btn:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: rotate(90deg);
}
.lightbox-nav-btn {
  position: absolute;
  top: 45%;
  transform: translateY(-50%);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.18);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s;
  z-index: 5;
}
.lightbox-nav-btn:hover {
  background: rgba(255, 255, 255, 0.35);
  transform: translateY(-50%) scale(1.1);
}
.lightbox-prev-btn { left: -60px; }
.lightbox-next-btn { right: -60px; }
@media (max-width: 1140px) {
  .lightbox-prev-btn { left: 10px; }
  .lightbox-next-btn { right: 10px; }
}

/* ========== ACCESSIBILITY ========== */
:focus-visible {
  outline: 2px solid var(--teal);
  outline-offset: 3px;
  border-radius: 4px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}


/* Responsive Dual Rotary Services */
@media (max-width: 1240px) {
  .dual-rotary-container {
    grid-template-columns: minmax(320px, 390px) 1fr minmax(320px, 390px);
  }
  .rotary-wheel-viewport {
    height: 580px;
  }
  .rotary-hub {
    width: 86px;
    height: 86px;
  }
  .rotary-wheel-viewport::before {
    width: 400px;
    height: 500px;
  }
  .rotary-item.clear-tab {
    padding: 7px 14px 7px 8px;
    gap: 10px;
  }
}

@media (max-width: 1024px) {
  .rotary-mobile-tabs {
    display: none !important;
  }
  .dual-rotary-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin: 0 auto;
    padding: 0 12px;
    gap: 16px;
    overflow: visible;
  }
  .rotary-wheel-wrapper {
    display: flex !important;
    width: 100%;
    max-width: 100%;
    border-radius: 24px !important;
    border: 1.5px solid var(--border) !important;
    background: #ffffff !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    padding: 14px 14px 16px;
    position: relative;
    overflow: hidden;
  }
  .wheel-clinic-side {
    order: 1;
    border-color: rgba(15, 118, 110, 0.2) !important;
    padding-left: 14px;
  }
  .rotary-center-stage {
    display: none !important;
  }
  .wheel-rehab-side {
    order: 2;
    border-color: rgba(2, 132, 199, 0.2) !important;
    padding-right: 14px;
  }
  .rotary-wheel-header {
    padding: 0 4px 10px;
    margin-bottom: 6px;
  }
  .wheel-clinic-side .rotary-wheel-header {
    padding-left: 4px;
    padding-right: 4px;
    border-bottom: 1.5px solid rgba(15, 118, 110, 0.15);
  }
  .wheel-rehab-side .rotary-wheel-header {
    padding-left: 4px;
    padding-right: 4px;
    border-bottom: 1.5px solid rgba(2, 132, 199, 0.15);
  }

  /* Hide Wheel Circular Hub and Guide Rings on Mobile */
  .rotary-hub {
    display: none !important;
  }
  .rotary-wheel-viewport::before {
    display: none !important;
  }

  /* Carousel Viewport */
  .rotary-wheel-viewport {
    height: 225px;
    width: 100%;
    position: relative;
    overflow: hidden;
    touch-action: pan-y;
    background: transparent !important;
  }

  /* 2:3 Rectangular Photo Card for Mobile Carousel */
  .rotary-item.clear-tab {
    position: absolute;
    top: 0;
    left: 0;
    width: 130px;
    height: 195px;
    aspect-ratio: 2 / 3;
    display: flex;
    flex-direction: column;
    padding: 0;
    gap: 0;
    background: #ffffff !important;
    border: 2px solid rgba(15, 118, 110, 0.2) !important;
    border-radius: 18px !important;
    box-shadow: 0 8px 24px rgba(15, 118, 110, 0.10) !important;
    cursor: pointer;
    overflow: hidden;
    white-space: normal;
    will-change: transform, opacity;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
  }
  .wheel-rehab-side .rotary-item.clear-tab {
    border-color: rgba(2, 132, 199, 0.2) !important;
    box-shadow: 0 8px 24px rgba(2, 132, 199, 0.10) !important;
  }
  .rotary-item.clear-tab.active {
    background: #ffffff !important;
    border-color: var(--teal) !important;
    border-width: 2.5px !important;
    box-shadow: 0 14px 34px rgba(15, 118, 110, 0.32), 0 0 0 3px rgba(15, 118, 110, 0.18) !important;
  }
  .wheel-rehab-side .rotary-item.clear-tab.active {
    border-color: #0284c7 !important;
    box-shadow: 0 14px 34px rgba(2, 132, 199, 0.32), 0 0 0 3px rgba(2, 132, 199, 0.18) !important;
  }

  /* Photo Card Image Banner */
  .rotary-item.clear-tab .ri-photo-wrap {
    display: block;
    position: relative;
    width: 100%;
    height: 118px;
    overflow: hidden;
    background: #e2e8f0;
    flex-shrink: 0;
  }
  .rotary-item.clear-tab .ri-photo-wrap::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.05) 0%, rgba(0, 0, 0, 0.42) 100%);
    pointer-events: none;
  }
  .rotary-item.clear-tab .ri-photo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.35s ease;
  }
  .rotary-item.clear-tab.active .ri-photo-img {
    transform: scale(1.06);
  }

  /* Floating Emoji Node over Photo */
  .rotary-item.clear-tab .ri-icon-node {
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 4;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.92) !important;
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.16);
    font-size: 0.88rem;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  /* Text Details Area below Photo */
  .rotary-item.clear-tab .ri-content {
    flex: 1;
    min-height: 0;
    padding: 8px 6px 9px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: #ffffff;
    width: 100%;
  }
  .rotary-item.clear-tab .ri-badge {
    font-size: 0.52rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--teal);
    margin-bottom: 2px;
    max-width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
  }
  .wheel-rehab-side .rotary-item.clear-tab .ri-badge {
    color: #0284c7;
  }
  .rotary-item.clear-tab .ri-name {
    font-size: 0.74rem;
    font-weight: 700;
    color: #0f172a;
    line-height: 1.22;
    text-align: center;
    white-space: normal;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding: 0 2px;
  }
}

@media (max-width: 640px) {
  .services-section {
    padding: 45px 0 35px;
  }
  .dual-rotary-container {
    padding: 0 8px;
    gap: 14px;
  }
  .rotary-wheel-wrapper {
    padding: 12px 10px 14px;
    border-radius: 20px !important;
  }
  .rwh-title {
    font-size: 0.92rem;
    white-space: normal;
    line-height: 1.2;
  }
  .rwh-sub {
    font-size: 0.68rem;
  }
  
  /* Popup Dialog Mobile Optimizations */
  .rotary-popup-overlay {
    padding: 14px;
    align-items: flex-end;
  }
  .rotary-popup-dialog {
    max-height: 88vh;
    display: flex;
    flex-direction: column;
  }
  .center-showcase-card {
    padding: 24px 18px;
    border-radius: 20px;
    max-height: 82vh;
    overflow-y: auto;
  }
  .csc-close-btn {
    top: 10px;
    right: 10px;
    width: 34px;
    height: 34px;
  }
  .csc-title {
    font-size: 1.15rem;
  }
  .csc-subtitle {
    font-size: 0.78rem;
  }
  .csc-stats-row {
    gap: 6px;
  }
  .csc-stat-pill {
    padding: 6px 4px;
  }
  .csp-label {
    font-size: 0.58rem;
  }
  .csp-val {
    font-size: 0.72rem;
  }
  .csc-overview {
    font-size: 0.80rem;
    margin-bottom: 16px;
  }
  .csc-highlights-list li {
    font-size: 0.78rem;
  }
  .csc-actions {
    flex-direction: column;
    width: 100%;
    gap: 10px;
  }
  .csc-book-btn,
  .csc-detail-btn {
    width: 100% !important;
    justify-content: center;
  }
}

@media (max-width: 380px) {
  .rotary-wheel-viewport {
    height: 200px;
  }
  .rotary-item.clear-tab {
    width: 116px;
    height: 174px;
    border-radius: 16px !important;
  }
  .rotary-item.clear-tab .ri-photo-wrap {
    height: 104px;
  }
  .rotary-item.clear-tab .ri-icon-node {
    width: 24px;
    height: 24px;
    font-size: 0.78rem;
    top: 6px;
    right: 6px;
  }
  .rotary-item.clear-tab .ri-badge {
    font-size: 0.48rem;
  }
  .rotary-item.clear-tab .ri-name {
    font-size: 0.68rem;
  }
  .center-showcase-card {
    padding: 18px 14px;
  }
}

/* ==========================================================================
   ENHANCED FACILITY TOGGLE & SMOOTH HORIZONTAL SERVICES CAROUSELS
   ========================================================================== */

/* Two Specialized Facilities Toggles */
.facility-toggle-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin: 36px auto 48px;
  flex-wrap: wrap;
  max-width: 820px;
}
.facility-toggle-btn {
  padding: 11px 24px;
  border-radius: 100px;
  font-family: var(--font-head);
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--charcoal);
  background: #ffffff;
  border: 1.5px solid var(--border);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}
.facility-toggle-btn:hover {
  background: var(--light);
  border-color: var(--teal);
  color: var(--teal);
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.15);
}
.facility-toggle-btn.active {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  box-shadow: 0 4px 20px rgba(15, 118, 110, 0.35);
  transform: translateY(-1px);
}
.facility-toggle-btn[data-filter="rehab"].active {
  background: #0284c7;
  border-color: #0284c7;
  box-shadow: 0 4px 20px rgba(2, 132, 199, 0.35);
}

/* Services Carousels Container (Full-Screen Fit) */
.services-carousels-container {
  width: 100% !important;
  max-width: 100% !important;
  margin: 0 auto;
  padding: 0 clamp(16px, 3.5vw, 48px) !important;
  display: flex;
  flex-direction: column;
  gap: clamp(24px, 3.5vh, 40px);
  box-sizing: border-box;
}
.services-facility-block {
  background: #ffffff;
  border-radius: var(--radius-lg);
  border: 1.5px solid var(--border);
  padding: 32px 32px 36px;
  box-shadow: var(--shadow-sm);
  position: relative;
  transition: box-shadow 0.3s ease;
}
.services-facility-block:hover {
  box-shadow: var(--shadow-md);
}
#services-block-clinic {
  border-top: 5px solid var(--teal);
}
#services-block-rehab {
  border-top: 5px solid #0284c7;
}
.facility-carousel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}
.fch-left {
  max-width: 760px;
}
.facility-pill {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 5px 14px;
  border-radius: 100px;
  margin-bottom: 10px;
}
.clinic-pill {
  background: rgba(15, 118, 110, 0.1);
  color: var(--teal);
  border: 1px solid rgba(15, 118, 110, 0.25);
}
.rehab-pill {
  background: rgba(2, 132, 199, 0.1);
  color: #0284c7;
  border: 1px solid rgba(2, 132, 199, 0.25);
}
.facility-carousel-title {
  font-size: clamp(1.35rem, 2.2vw, 1.75rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-bottom: 6px;
  line-height: 1.25;
}
.facility-carousel-sub {
  font-size: 1.05rem;
  color: #1E293B;
  margin: 0;
  line-height: 1.55;
  font-weight: 450;
}
.carousel-nav-controls {
  display: flex;
  align-items: center;
  gap: 10px;
}
.carousel-nav-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1.5px solid var(--border);
  background: #ffffff;
  color: var(--charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}
.carousel-nav-btn:hover {
  background: var(--teal);
  color: #ffffff;
  border-color: var(--teal);
  transform: scale(1.06);
}
#services-block-rehab .carousel-nav-btn:hover {
  background: #0284c7;
  border-color: #0284c7;
}

/* Track & Perspective Scaled Continuous Horizontal Carousel */
.services-carousel-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
  padding: 32px 0;
}
.services-carousel-viewport::before,
.services-carousel-viewport::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 70px;
  pointer-events: none;
  z-index: 15;
}
.services-carousel-viewport::before {
  left: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 100%);
}
.services-carousel-viewport::after {
  right: 0;
  background: linear-gradient(270deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0) 100%);
}
.services-carousel-track {
  display: flex;
  align-items: center;
  gap: 24px;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  scroll-behavior: auto;
  padding: 24px calc(50% - 150px);
  scrollbar-width: none;
  -ms-overflow-style: none;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y pinch-zoom;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}
.services-carousel-track:active {
  cursor: grabbing;
}
.services-carousel-track::-webkit-scrollbar {
  display: none;
}
.service-slide-card {
  flex: 0 0 300px;
  width: 300px;
  scroll-snap-align: center;
  scroll-snap-stop: normal;
  background: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: var(--radius-md);
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  cursor: pointer;
  transform-origin: center center;
  transform: scale(0.68) translateZ(0);
  opacity: 0.20;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s ease, box-shadow 0.32s ease, border-color 0.32s ease, background 0.32s ease;
  will-change: transform, opacity;
  text-align: left;
}

/* Perspective Hierarchy: Center card bigger, 2 cards on both side decrease in size */
.service-slide-card.is-center {
  transform: scale(1.08) translateZ(0);
  opacity: 1;
  z-index: 10;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(15, 118, 110, 0.16);
  border-color: rgba(15, 118, 110, 0.35);
}
.services-carousel-track[data-facility="rehab"] .service-slide-card.is-center {
  background: rgba(255, 255, 255, 0.94);
  box-shadow: 0 16px 36px rgba(2, 132, 199, 0.18);
  border-color: rgba(2, 132, 199, 0.4);
}

.service-slide-card.is-neighbor-1 {
  transform: scale(0.88) translateZ(0);
  opacity: 0.72;
  z-index: 5;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.04);
}
.service-slide-card.is-neighbor-2 {
  transform: scale(0.76) translateZ(0);
  opacity: 0.42;
  z-index: 2;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}
.service-slide-card.is-far {
  transform: scale(0.68) translateZ(0);
  opacity: 0.20;
  z-index: 1;
}

.service-slide-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: var(--teal);
}
.services-carousel-track[data-facility="rehab"] .service-slide-card:hover {
  background: rgba(255, 255, 255, 0.95);
  border-color: #0284c7;
}
.ssc-media {
  position: relative;
  height: 230px;
  width: 100%;
  overflow: hidden;
  background: #f1f5f9;
}
.ssc-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(1.12) contrast(1.04);
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.service-slide-card:hover .ssc-media img {
  transform: scale(1.08);
}
.ssc-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 100px;
  font-size: 0.70rem;
  font-weight: 700;
  color: var(--teal);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(15, 118, 110, 0.15);
}
.services-carousel-track[data-facility="rehab"] .ssc-badge {
  color: #0284c7;
  border-color: rgba(2, 132, 199, 0.2);
}
.ssc-body {
  padding: 16px 16px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
  background: transparent;
}
.ssc-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: #0F172A;
  margin-bottom: 6px;
  line-height: 1.3;
}
.ssc-title small {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--teal);
}
.services-carousel-track[data-facility="rehab"] .ssc-title small {
  color: #0284c7;
}
.ssc-desc {
  font-size: 0.88rem;
  color: #334155;
  font-weight: 500;
  line-height: 1.5;
  margin-bottom: 12px;
  flex: 1;
}
.ssc-action {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--teal);
  padding-top: 12px;
  border-top: 1px solid var(--border);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.services-carousel-track[data-facility="rehab"] .ssc-action {
  color: #0284c7;
}
.service-slide-card:hover .ssc-action svg {
  transform: translateX(4px);
  transition: transform 0.2s ease;
}

/* ==========================================================================
   MOBILE VIEW HERO DOCTOR FACE UNINTERRUPTED & RESPONSIVE REFINEMENTS
   ========================================================================== */
@media (max-width: 768px) {
  .hero {
    padding-top: 96px !important;
  }
  .hero-visual {
    margin-top: 0 !important;
    padding-bottom: 24px;
    width: 100%;
    display: flex;
    justify-content: center;
  }
  .doctor-frame {
    margin-top: 0 !important;
    width: 100%;
    max-width: 320px;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  .doctor-img-wrapper {
    width: 250px !important;
    height: 310px !important;
    max-width: 80vw !important;
    border-radius: 20px !important;
  }
  .hero-card-1,
  .hero-card-2,
  .hero-card-3 {
    display: none !important;
  }
  .services-facility-block {
    padding: 22px 16px 24px;
  }
  .services-carousel-viewport {
    padding: 18px 0;
  }
  .services-carousel-track {
    gap: 16px;
    padding: 16px calc(50% - 130px);
  }
  .service-slide-card {
    flex: 0 0 260px;
    width: 260px;
  }
  .ssc-media {
    height: 195px;
  }
  .team-top-row,
  .team-bottom-row {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }
  .team-top-row .team-card {
    grid-template-columns: 1fr !important;
  }
  .team-top-row .team-img-wrapper,
  .team-bottom-row .team-img-wrapper {
    height: 260px !important;
    min-height: auto !important;
  }
}

/* Modal Backdrop Blur & Centered Large Thank You */
.modal-overlay {
  backdrop-filter: blur(18px) !important;
  -webkit-backdrop-filter: blur(18px) !important;
  background: rgba(15, 23, 42, 0.65) !important;
}
.modal-step-content.modal-success {
  text-align: center;
  padding: 40px 24px 32px;
}
.modal-step-content.modal-success h2 {
  font-size: clamp(2rem, 4vw, 2.6rem);
  font-weight: 800;
  color: var(--charcoal);
  margin-top: 18px;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}
.modal-step-content.modal-success p {
  font-size: 1.08rem;
  color: var(--charcoal-60);
  max-width: 480px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.modal-step-content.modal-success .success-icon {
  font-size: 4rem;
  line-height: 1;
}

