/* ==========================================================================
   DR. AHALYA'S DENTO NEURO CENTRE - MYSURU
   Architectural Luxury Grey & Gradients Medical Design System
   Sleek, Prestigious, Precision Healthcare
   ========================================================================== */

:root {
  /* Architectural Grey & Slate Gradient Tokens */
  --primary: #1E293B;
  --primary-light: #334155;
  --primary-dark: #0F172A;
  --primary-gradient: linear-gradient(135deg, #1E293B 0%, #334155 50%, #0F172A 100%);
  --primary-glow: rgba(30, 41, 59, 0.25);
  
  --accent: #334155;
  --accent-light: #475569;
  --accent-hover: #0F172A;
  --accent-subtle: rgba(51, 65, 85, 0.08);
  --accent-gradient: linear-gradient(135deg, #1E293B 0%, #475569 100%);
  
  /* Metallic & Silver Gradients */
  --metallic-gradient: linear-gradient(135deg, #F8FAFC 0%, #E2E8F0 50%, #CBD5E1 100%);
  --steel-gradient: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  --badge-gradient: linear-gradient(135deg, #F1F5F9 0%, #E2E8F0 100%);
  
  /* Status Accents */
  --emerald: #10B981;
  --emerald-subtle: rgba(16, 185, 129, 0.12);
  --amber: #F59E0B;
  
  /* Backgrounds & Surfaces (Light Luxury Grey Theme) */
  --bg-base: #F4F6F8;
  --bg-gradient: linear-gradient(180deg, #F8FAFC 0%, #EDF1F5 50%, #E4E8ED 100%);
  --bg-card: #FFFFFF;
  --bg-card-gradient: linear-gradient(145deg, #FFFFFF 0%, #F8FAFC 100%);
  --bg-card-alt: #F1F4F8;
  --bg-surface: #FFFFFF;
  --bg-subtle: #ECEFF3;
  --bg-glass: rgba(255, 255, 255, 0.9);
  --nav-bg: rgba(248, 250, 252, 0.92);
  
  /* Text & Hierarchy */
  --text-dark: #0F172A;
  --text-primary: #0F172A;
  --text-secondary: #334155;
  --text-muted: #64748B;
  --text-dim: #94A3B8;
  --text-light: #F8FAFC;
  --text-white: #FFFFFF;
  
  /* Refined Hairline Borders */
  --border-color: #D8DEE4;
  --border-light: #E5E9EE;
  --border-glass: rgba(216, 222, 228, 0.8);
  --border-dark: #334155;
  
  /* Architectural Shadows */
  --shadow-xs: 0 1px 3px rgba(15, 23, 42, 0.04);
  --shadow-sm: 0 4px 14px rgba(15, 23, 42, 0.06);
  --shadow-md: 0 8px 24px rgba(15, 23, 42, 0.08);
  --shadow-lg: 0 18px 40px rgba(15, 23, 42, 0.1);
  --shadow-xl: 0 26px 54px rgba(15, 23, 42, 0.14);
  --shadow-glow: 0 0 25px rgba(30, 41, 59, 0.15);

  /* Typography */
  --font-heading: 'Outfit', -apple-system, BlinkMacSystemFont, sans-serif;
  --font-body: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, sans-serif;

  /* Layout & Radii (Refined Architectural Precision) */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 14px;
  --radius-xl: 18px;
  --radius-full: 9999px;

  /* Physics Transitions */
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-fast: all 0.2s ease;
}

/* ==========================================================================
   Dark Mode: Titanium & Graphite Grey Gradients
   ========================================================================== */
[data-theme="dark"] {
  --primary: #F8FAFC;
  --primary-light: #E2E8F0;
  --primary-dark: #CBD5E1;
  --primary-gradient: linear-gradient(135deg, #E2E8F0 0%, #CBD5E1 100%);
  --primary-glow: rgba(255, 255, 255, 0.15);
  
  --accent: #CBD5E1;
  --accent-light: #E2E8F0;
  --accent-hover: #FFFFFF;
  --accent-subtle: rgba(255, 255, 255, 0.08);
  --accent-gradient: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  
  --metallic-gradient: linear-gradient(135deg, #1E242C 0%, #2A303A 100%);
  --steel-gradient: linear-gradient(135deg, #242931 0%, #171A1F 100%);
  --badge-gradient: linear-gradient(135deg, #1E242B 0%, #28303A 100%);
  
  --bg-base: #0E1013;
  --bg-gradient: linear-gradient(180deg, #0E1013 0%, #14171D 50%, #0E1013 100%);
  --bg-card: #15191F;
  --bg-card-gradient: linear-gradient(145deg, #1A1E24 0%, #12151A 100%);
  --bg-card-alt: #1C2128;
  --bg-surface: #15191F;
  --bg-subtle: #1C2128;
  --bg-glass: rgba(21, 25, 31, 0.92);
  --nav-bg: rgba(14, 16, 19, 0.94);
  
  --text-dark: #F8FAFC;
  --text-primary: #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted: #94A3B8;
  --text-dim: #64748B;
  
  --border-color: #262C36;
  --border-light: #323A46;
  --border-glass: rgba(45, 53, 65, 0.8);
  
  --shadow-sm: 0 4px 14px rgba(0, 0, 0, 0.4);
  --shadow-md: 0 8px 24px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 18px 40px rgba(0, 0, 0, 0.6);
  --shadow-xl: 0 26px 54px rgba(0, 0, 0, 0.7);
}

/* ==========================================================================
   PAGE PRELOADER
   ========================================================================== */

/* Lock body scroll while preloader is visible */
body.is-loading {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0;
  background: linear-gradient(160deg, #F2F5F9 0%, #EBF0F5 50%, #F5F7FC 100%);
  transition: opacity 0.65s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.65s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: opacity, transform;
}

/* Exit state — triggered by JS adding .preloader-done */
.preloader.preloader-done {
  opacity: 0;
  transform: scale(1.04);
  pointer-events: none;
}

/* ── SVG spinner ring ─────────────────────────────────────── */
.preloader-ring {
  position: relative;
  width: 112px;
  height: 112px;
  margin-bottom: -112px; /* overlap the logo underneath */
  animation: preloaderFadeIn 0.5s ease both;
}

.preloader-ring svg {
  width: 100%;
  height: 100%;
  transform: rotate(-90deg); /* start from top */
}

/* Background track circle */
.preloader-ring-track {
  fill: none;
  stroke: rgba(148, 163, 184, 0.18);
  stroke-width: 4;
}

/* Animated fill circle */
.preloader-ring-fill {
  fill: none;
  stroke: #334155;
  stroke-width: 4;
  stroke-linecap: round;
  /* circumference = 2π × 42 ≈ 263.9 */
  stroke-dasharray: 263.9;
  stroke-dashoffset: 263.9;
  animation: ringFill 1.8s cubic-bezier(0.4, 0, 0.2, 1) 0.3s forwards,
             ringPulse 2.4s ease-in-out 2.2s infinite;
  transition: stroke-dashoffset 0.1s linear;
}

@keyframes ringFill {
  to { stroke-dashoffset: 0; }
}
@keyframes ringPulse {
  0%, 100% { stroke-dashoffset: 0;   opacity: 1;    }
  50%       { stroke-dashoffset: 30;  opacity: 0.75; }
}

/* ── Logo centred inside the ring ─────────────────────────── */
.preloader-logo-wrap {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(148, 163, 184, 0.30);
  box-shadow: 0 8px 28px rgba(15, 23, 42, 0.10);
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.8);
  animation: logoAppear 0.55s cubic-bezier(0.16, 1, 0.3, 1) 0.5s forwards;
  z-index: 1;
}

.preloader-logo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@keyframes logoAppear {
  to { opacity: 1; transform: scale(1); }
}

/* ── Brand text ───────────────────────────────────────────── */
.preloader-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  margin-top: 26px;
  opacity: 0;
  transform: translateY(12px);
  animation: brandSlide 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.85s forwards;
}

.preloader-brand-title {
  font-family: 'Outfit', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: #0F172A;
  letter-spacing: -0.02em;
  white-space: nowrap;
}

.preloader-brand-sub {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748B;
  letter-spacing: 0.6px;
  text-transform: uppercase;
}

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

/* ── Progress bar ─────────────────────────────────────────── */
.preloader-bar-wrap {
  width: 180px;
  height: 3px;
  background: rgba(148, 163, 184, 0.20);
  border-radius: 99px;
  overflow: hidden;
  margin-top: 28px;
  opacity: 0;
  animation: brandSlide 0.5s ease 1.1s forwards;
}

.preloader-bar {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #334155 0%, #64748B 50%, #334155 100%);
  background-size: 200% 100%;
  border-radius: 99px;
  animation:
    barProgress 1.9s cubic-bezier(0.4, 0, 0.2, 1) 0.4s forwards,
    barShimmer  1.5s linear 1.4s infinite;
}

@keyframes barProgress {
  0%   { width: 0%;   }
  40%  { width: 55%;  }
  70%  { width: 78%;  }
  90%  { width: 92%;  }
  100% { width: 100%; }
}
@keyframes barShimmer {
  0%   { background-position:  200% center; }
  100% { background-position: -200% center; }
}

/* ── Loading label ────────────────────────────────────────── */
.preloader-label {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  color: #94A3B8;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-top: 10px;
  opacity: 0;
  animation: brandSlide 0.5s ease 1.2s forwards;
}

/* ── Subtle floating dots (ambient) ──────────────────────── */
.preloader::before,
.preloader::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.preloader::before {
  width: 340px;
  height: 340px;
  top: -80px; right: -80px;
  background: radial-gradient(circle, rgba(148,163,184,0.16) 0%, transparent 70%);
  animation: preloaderOrb 6s ease-in-out infinite alternate;
}
.preloader::after {
  width: 280px;
  height: 280px;
  bottom: -60px; left: -60px;
  background: radial-gradient(circle, rgba(100,116,139,0.12) 0%, transparent 70%);
  animation: preloaderOrb 8s ease-in-out infinite alternate-reverse;
}
@keyframes preloaderOrb {
  from { transform: scale(1)    translate(0, 0); }
  to   { transform: scale(1.15) translate(15px, -10px); }
}
@keyframes preloaderFadeIn {
  from { opacity: 0; transform: scale(0.92); }
  to   { opacity: 1; transform: scale(1); }
}

/* ── Dark mode preloader ──────────────────────────────────── */
[data-theme="dark"] .preloader {
  background: linear-gradient(160deg, #0A0C10 0%, #0D1016 50%, #0B0D14 100%);
}
[data-theme="dark"] .preloader-brand-title { color: #F8FAFC; }
[data-theme="dark"] .preloader-brand-sub   { color: #64748B; }
[data-theme="dark"] .preloader-logo-wrap {
  border-color: rgba(100, 116, 139, 0.30);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.40);
}
[data-theme="dark"] .preloader-ring-fill  { stroke: #CBD5E1; }
[data-theme="dark"] .preloader-ring-track { stroke: rgba(100,116,139,0.18); }
[data-theme="dark"] .preloader-bar {
  background: linear-gradient(90deg, #CBD5E1 0%, #94A3B8 50%, #CBD5E1 100%);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: var(--font-body);
  background: var(--bg-gradient);
  background-color: var(--bg-base);
  color: var(--text-secondary);
  line-height: 1.65;
  overflow-x: hidden;
  position: relative;
  transition: background 0.4s ease, color 0.4s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
  font-weight: 700;
  letter-spacing: -0.015em;
}

p {
  color: var(--text-secondary);
  margin-bottom: 0.75rem;
}

p:last-child {
  margin-bottom: 0;
}

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

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

/* Scroll Progress Bar at the Top (Sleek Slate) */
.scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3.5px;
  width: 0%;
  background: linear-gradient(90deg, #334155 0%, #64748B 50%, #0F172A 100%);
  z-index: 99999;
  transition: width 0.1s ease;
}

[data-theme="dark"] .scroll-progress {
  background: linear-gradient(90deg, #CBD5E1 0%, #FFFFFF 100%);
}

/* Containers with Symmetrical Equal Margins on Both Sides */
/* Containers with Symmetrical Equal Margins on Both Sides */
.container {
  max-width: 1200px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left: 20px;
  padding-right: 20px;
  width: 100%;
  box-sizing: border-box;
}

.section {
  padding: 62px 0;
  position: relative;
}

.section-alt {
  background: var(--bg-subtle);
}

/* Section Header Styles */
.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 36px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--badge-gradient);
  color: var(--text-dark);
  padding: 4px 13px;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.section-title {
  font-size: 1.85rem;
  font-weight: 700;
  letter-spacing: -0.025em;
  margin-bottom: 10px;
  color: var(--text-dark);
}

.section-desc {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.62;
}

/* Metallic Highlight Text Gradient */
.highlight {
  background: linear-gradient(135deg, #0F172A 0%, #334155 45%, #64748B 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
}

[data-theme="dark"] .highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 50%, #94A3B8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* ==========================================================================
   Buttons & Interactive Elements (Grey & Gradients)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 20px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  text-decoration: none;
  white-space: nowrap;
}

.btn-sm {
  padding: 8px 18px;
  font-size: 0.86rem;
}

/* Primary Button: Charcoal Slate Gradient */
.btn-primary {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #334155 0%, #1E293B 100%);
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.3);
  color: #FFFFFF;
}

[data-theme="dark"] .btn-primary {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
  color: #0F172A;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

[data-theme="dark"] .btn-primary:hover {
  background: #FFFFFF;
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(255, 255, 255, 0.2);
  color: #000000;
}

/* Secondary Button: Platinum Grey Card */
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-dark);
  border: 1.5px solid var(--border-color);
  box-shadow: var(--shadow-xs);
}

.btn-secondary:hover {
  background: var(--bg-subtle);
  border-color: var(--text-muted);
  color: var(--text-dark);
  transform: translateY(-2px);
}

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

.btn-outline:hover {
  background: var(--text-dark);
  color: #FFFFFF;
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.btn-glass {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #FFFFFF;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.btn-glass:hover {
  background: rgba(255, 255, 255, 0.28);
  color: #FFFFFF;
  transform: translateY(-2px);
}

/* ==========================================================================
   Top Notice / Emergency Bar (Slate Grey Gradient)
   ========================================================================== */
.top-notice-bar {
  background: linear-gradient(90deg, #1E293B 0%, #27303F 50%, #1E293B 100%);
  color: #E2E8F0;
  font-size: 0.8125rem;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  position: relative;
  z-index: 1001;
  line-height: 1.4;
}

[data-theme="dark"] .top-notice-bar {
  background: linear-gradient(90deg, #0A0C0E 0%, #161A20 50%, #0A0C0E 100%);
  border-bottom: 1px solid var(--border-color);
}

.top-notice-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: nowrap;
  gap: 16px;
  width: 100%;
}

.notice-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
  letter-spacing: 0.15px;
  white-space: nowrap;
  flex-shrink: 0;
  min-width: 0;
}

.live-dot {
  width: 8px;
  height: 8px;
  background-color: var(--emerald);
  border-radius: 50%;
  display: inline-block;
  box-shadow: 0 0 10px var(--emerald);
  animation: pulse-live 2s infinite;
  flex-shrink: 0;
}

@keyframes pulse-live {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 7px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

.top-contact-links {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  white-space: nowrap;
  flex-shrink: 0;
}

.top-contact-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #CBD5E1;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.2s ease;
}

.top-contact-link i {
  color: var(--teal-light, #38BDF8);
  font-size: 0.78rem;
  flex-shrink: 0;
}

.top-contact-link:hover {
  color: #FFFFFF;
}

.top-contact-link:hover i {
  color: #FFFFFF;
}

/* ==========================================================================
   Site Header & Frosted Grey Glass Navigation (RESTRUCTURED)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--nav-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-color);
  transition: padding 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
  padding: 12px 0;
}

.site-header.scrolled {
  padding: 9px 0;
  box-shadow: var(--shadow-sm);
  background: var(--nav-bg);
}

.site-header .container,
.top-notice-bar .container {
  max-width: 1540px;
  width: 100%;
  padding-left: clamp(14px, 2vw, 30px);
  padding-right: clamp(14px, 2vw, 30px);
  box-sizing: border-box;
}

.nav-btn-book-text-short {
  display: none;
}

.nav-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  width: 100%;
  min-width: 0;
}

/* Brand Logo (Fixed Wrapping & Structured Clean Line) */
.brand-logo-group {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 12px);
  text-decoration: none;
  flex-shrink: 0;
  min-width: 0;
}

.brand-emblem-wrap {
  width: 42px;
  height: 42px;
  border-radius: var(--radius-md);
  background: #FFFFFF;
  border: 1.5px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  flex-shrink: 0;
}

.brand-emblem-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
  min-width: 0;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: clamp(0.98rem, 1.15vw, 1.14rem);
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.15;
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.brand-subtitle {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.6px;
  margin-top: 2px;
  white-space: nowrap;
}

/* Nav Menu Links (Clean Flex Layout) */
.nav-links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(4px, 0.7vw, 10px);
  list-style: none;
  margin: 0;
  padding: 0;
  flex-wrap: nowrap;
  flex-shrink: 1;
  min-width: 0;
}

.nav-link {
  font-size: clamp(0.8rem, 0.88vw, 0.86rem);
  font-weight: 600;
  color: var(--text-secondary);
  text-decoration: none;
  position: relative;
  padding: 6px clamp(5px, 0.6vw, 9px);
  border-radius: var(--radius-sm);
  white-space: nowrap;
  transition: var(--transition-fast);
}

.nav-link:hover,
.nav-link.active {
  color: var(--text-dark);
  background: var(--bg-subtle);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 6px;
  right: 6px;
  height: 2px;
  background: var(--text-dark);
  border-radius: var(--radius-full);
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
  transform: scaleX(1);
}

/* Nav Actions (Theme Toggle & CTA) */
.nav-actions {
  display: flex;
  align-items: center;
  gap: clamp(6px, 0.8vw, 10px);
  flex-shrink: 0;
}

.theme-toggle {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
  font-size: 1rem;
  box-shadow: var(--shadow-xs);
}

.theme-toggle:hover {
  background: var(--bg-subtle);
  border-color: var(--text-dark);
  transform: rotate(20deg);
}

.theme-toggle .fa-sun {
  display: none;
}

[data-theme="dark"] .theme-toggle .fa-moon {
  display: none;
}

[data-theme="dark"] .theme-toggle .fa-sun {
  display: block;
  color: #FBBF24;
}

.mobile-nav-toggle {
  display: none;
  background: transparent;
  border: none;
  color: var(--text-dark);
  cursor: pointer;
  padding: 6px;
}

/* ==========================================================================
   Mobile Drawer Menu
   ========================================================================== */
.drawer-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(4px);
  z-index: 10000;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.drawer-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mobile-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: var(--bg-card);
  z-index: 10001;
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: -10px 0 30px rgba(0, 0, 0, 0.25);
  overflow-y: auto;
}

.mobile-drawer.open {
  right: 0;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 24px;
}

.drawer-close {
  background: var(--bg-subtle);
  border: none;
  color: var(--text-dark);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.drawer-links {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.drawer-link {
  font-family: var(--font-heading);
  font-size: 1.02rem;
  font-weight: 600;
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
  padding: 6px 0;
}

.drawer-link:hover {
  color: var(--primary);
  padding-left: 6px;
}

/* ==========================================================================
   1. Hero Section (Centered Architectural Luxury Masterpiece)
   ========================================================================== */
/* ==========================================================================
   HERO SECTION — Animated Mesh Gradient Background
   ========================================================================== */
.hero-section {
  position: relative;
  padding: 70px 0 80px;
  overflow: hidden;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(148,163,184,0.14) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(100,116,139,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(148,163,184,0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 10%, rgba(203,213,225,0.12) 0%, transparent 45%),
    linear-gradient(160deg, #F2F5F9 0%, #EBF0F5 30%, #F5F7FC 60%, #EEF2F8 100%);
  animation: meshShift 18s ease-in-out infinite alternate;
}

[data-theme="dark"] .hero-section {
  background:
    radial-gradient(ellipse at 20% 50%, rgba(100,116,139,0.22) 0%, transparent 55%),
    radial-gradient(ellipse at 80% 20%, rgba(71,85,105,0.18) 0%, transparent 50%),
    radial-gradient(ellipse at 60% 80%, rgba(148,163,184,0.14) 0%, transparent 50%),
    radial-gradient(ellipse at 10% 10%, rgba(51,65,85,0.20) 0%, transparent 45%),
    linear-gradient(160deg, #0A0C10 0%, #0D1016 30%, #0B0D14 60%, #080A12 100%);
  animation: meshShift 18s ease-in-out infinite alternate;
}

@keyframes meshShift {
  0%   { background-position: 0% 50%, 100% 0%, 50% 100%, 0% 0%; }
  33%  { background-position: 30% 60%, 70%  30%, 80%  70%, 20% 20%; }
  66%  { background-position: 60% 40%, 40%  60%, 20%  40%, 80% 40%; }
  100% { background-position: 10% 55%, 90%  10%, 60%  90%, 10% 10%; }
}

/* ── Animated dot-grid texture overlay ────────────────────────── */
.hero-section .hero-dotgrid {
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle, rgba(100,116,139,0.18) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
  z-index: 0;
  animation: dotGridScroll 30s linear infinite;
  opacity: 0.7;
}
[data-theme="dark"] .hero-section .hero-dotgrid {
  background-image:
    radial-gradient(circle, rgba(203,213,225,0.09) 1px, transparent 1px);
  opacity: 1;
}
@keyframes dotGridScroll {
  from { background-position: 0 0; }
  to   { background-position: 34px 34px; }
}

/* ── Blob 1 (top-right, silver-slate) ────────────────────────── */
.hero-blob-1 {
  position: absolute;
  top: -160px;
  right: -140px;
  width: 640px;
  height: 640px;
  border-radius: 62% 38% 70% 30% / 45% 55% 45% 55%;
  background: radial-gradient(circle at 40% 40%,
    rgba(148,163,184,0.28) 0%,
    rgba(100,116,139,0.16) 45%,
    transparent 70%);
  filter: blur(55px);
  pointer-events: none;
  z-index: 0;
  animation: blobMorph1 16s ease-in-out infinite alternate,
             blobFloat1 20s ease-in-out infinite;
  will-change: transform, border-radius;
}
[data-theme="dark"] .hero-blob-1 {
  background: radial-gradient(circle at 40% 40%,
    rgba(100,116,139,0.40) 0%,
    rgba(51,65,85,0.28) 45%,
    transparent 70%);
}
@keyframes blobMorph1 {
  0%   { border-radius: 62% 38% 70% 30% / 45% 55% 45% 55%; }
  25%  { border-radius: 45% 55% 55% 45% / 55% 45% 65% 35%; }
  50%  { border-radius: 70% 30% 42% 58% / 35% 65% 40% 60%; }
  75%  { border-radius: 38% 62% 65% 35% / 60% 40% 55% 45%; }
  100% { border-radius: 55% 45% 38% 62% / 48% 52% 52% 48%; }
}
@keyframes blobFloat1 {
  0%,100% { transform: translate(0, 0)   rotate(0deg); }
  33%     { transform: translate(-30px, 25px)  rotate(8deg); }
  66%     { transform: translate(20px, -35px)  rotate(-5deg); }
}

/* ── Blob 2 (bottom-left, cool grey) ─────────────────────────── */
.hero-blob-2 {
  position: absolute;
  bottom: -180px;
  left: -160px;
  width: 580px;
  height: 580px;
  border-radius: 45% 55% 38% 62% / 60% 40% 65% 35%;
  background: radial-gradient(circle at 55% 55%,
    rgba(203,213,225,0.30) 0%,
    rgba(148,163,184,0.18) 45%,
    transparent 70%);
  filter: blur(50px);
  pointer-events: none;
  z-index: 0;
  animation: blobMorph2 20s ease-in-out infinite alternate,
             blobFloat2 22s ease-in-out infinite;
  will-change: transform, border-radius;
}
[data-theme="dark"] .hero-blob-2 {
  background: radial-gradient(circle at 55% 55%,
    rgba(71,85,105,0.40) 0%,
    rgba(51,65,85,0.26) 45%,
    transparent 70%);
}
@keyframes blobMorph2 {
  0%   { border-radius: 45% 55% 38% 62% / 60% 40% 65% 35%; }
  30%  { border-radius: 68% 32% 55% 45% / 42% 58% 38% 62%; }
  60%  { border-radius: 35% 65% 68% 32% / 55% 45% 48% 52%; }
  100% { border-radius: 58% 42% 45% 55% / 38% 62% 55% 45%; }
}
@keyframes blobFloat2 {
  0%,100% { transform: translate(0, 0)   rotate(0deg); }
  30%     { transform: translate(35px, -20px) rotate(-10deg); }
  70%     { transform: translate(-20px, 30px) rotate(6deg); }
}

/* ── Blob 3 (center, slate pulse) ────────────────────────────── */
.hero-blob-3 {
  position: absolute;
  top: 35%;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 350px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center,
    rgba(148,163,184,0.14) 0%,
    rgba(100,116,139,0.08) 50%,
    transparent 70%);
  filter: blur(40px);
  pointer-events: none;
  z-index: 0;
  animation: blob3Pulse 10s ease-in-out infinite;
}
[data-theme="dark"] .hero-blob-3 {
  background: radial-gradient(ellipse at center,
    rgba(100,116,139,0.18) 0%,
    rgba(51,65,85,0.12) 50%,
    transparent 70%);
}
@keyframes blob3Pulse {
  0%,100% { opacity:0.6; transform: translateX(-50%) scale(1);    }
  50%     { opacity:1;   transform: translateX(-50%) scale(1.10); }
}

/* ── Rotating conic halo ring (grey arcs only) ────────────────── */
.hero-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(0deg);
  width: 1100px;
  height: 1100px;
  border-radius: 50%;
  background: conic-gradient(
    from 0deg,
    transparent 0deg 70deg,
    rgba(148,163,184,0.07) 70deg 130deg,
    transparent 130deg 190deg,
    rgba(100,116,139,0.06) 190deg 250deg,
    transparent 250deg 310deg,
    rgba(203,213,225,0.05) 310deg 360deg
  );
  pointer-events: none;
  z-index: 0;
  animation: haloSpin 40s linear infinite;
  opacity: 0.9;
}
[data-theme="dark"] .hero-halo {
  background: conic-gradient(
    from 0deg,
    transparent 0deg 70deg,
    rgba(100,116,139,0.16) 70deg 130deg,
    transparent 130deg 190deg,
    rgba(71,85,105,0.14) 190deg 250deg,
    transparent 250deg 310deg,
    rgba(148,163,184,0.12) 310deg 360deg
  );
  opacity: 1;
}
@keyframes haloSpin {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to   { transform: translate(-50%, -50%) rotate(360deg); }
}

/* ── Bottom SVG wave ─────────────────────────────────────────── */
.hero-wave {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 1;
  pointer-events: none;
}
.hero-wave svg {
  display: block;
  width: 100%;
  animation: waveFlow 8s ease-in-out infinite alternate;
}
@keyframes waveFlow {
  0%   { transform: scaleX(1)   translateX(0);    }
  100% { transform: scaleX(1.04) translateX(-2%); }
}

/* ── Floating Particle Canvas ─────────────────────────────────── */
#heroParticles {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

/* ── All hero content sits above background layers ────────────── */
.hero-container-centered > * {
  position: relative;
  z-index: 2;
}

/* Centered Hero Container */
.hero-container-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 1240px;
  margin-left: auto !important;
  margin-right: auto !important;
  padding: 0 24px;
  width: 100%;
}

/* Centered Content Block */
.hero-content-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 980px;
  width: 100%;
  margin: 0 auto;
}

/* ── Hero entrance animations ──────────────────────── */
@keyframes heroFadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: translateY(0);    }
}
@keyframes heroFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}
@keyframes taglineSlide {
  from { opacity: 0; transform: translateY(-18px) scale(0.94); }
  to   { opacity: 1; transform: translateY(0) scale(1);       }
}
@keyframes badgeSlide {
  from { opacity: 0; transform: translateY(20px) scale(0.92); }
  to   { opacity: 1; transform: translateY(0) scale(1);       }
}
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

.hero-content-center > * {
  animation: heroFadeUp 0.85s cubic-bezier(0.16, 1, 0.3, 1) both;
}
.hero-tagline           { animation-delay: 0.05s; }
.hero-doctor-badge,
.hero-doctors-dual      { animation-delay: 0.18s; }
.hero-title             { animation-delay: 0.32s; }
.hero-description       { animation-delay: 0.46s; }
.hero-cta-group         { animation-delay: 0.58s; }
.hero-stats-row         { animation-delay: 0.72s; }
.hero-visual-center     { animation: heroFadeUp 1s cubic-bezier(0.16, 1, 0.3, 1) 0.45s both; }

/* ── Tagline pill with shimmer sweep ── */
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-card);
  color: var(--text-dark);
  padding: 7px 20px;
  border-radius: var(--radius-full);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.6px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  margin-bottom: 14px;
  padding: 5px 14px;
  position: relative;
  overflow: hidden;
}
.hero-tagline::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.45) 50%, transparent 60%);
  background-size: 200% 100%;
  animation: shimmerSweep 3.5s linear 1.2s infinite;
}

/* ── Dual Doctor Credential Cards in Hero ── */
.hero-doctors-dual {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 20px;
  width: 100%;
  max-width: 680px;
}

.hero-doctor-mini-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 8px 16px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
  text-decoration: none;
  text-align: left;
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.25s cubic-bezier(0.16, 1, 0.3, 1),
              border-color 0.25s ease;
  flex: 1 1 0;
  min-width: 250px;
  max-width: 320px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.hero-doctor-mini-card:hover {
  transform: translateY(-2px);
  border-color: var(--teal);
  box-shadow: var(--shadow-sm);
}

.hero-doc-mini-avatar {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid var(--bg-card);
  box-shadow: 0 0 0 1.5px var(--teal-light);
}

.hero-doc-mini-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 70%;
  display: block;
}

.hero-doc-mini-meta {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.hero-doc-mini-dept {
  font-size: 0.67rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.hero-doc-mini-dept i {
  font-size: 0.7rem;
}

.hero-doc-mini-name {
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.2px;
  margin: 0;
  line-height: 1.2;
}

.hero-doc-mini-qual {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Fallback badge styling */
.hero-doctor-badge {
  background: var(--badge-gradient);
  border: 1px solid var(--border-color);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  margin-bottom: 16px;
  display: inline-block;
  box-shadow: var(--shadow-xs);
  text-align: center;
}

.hero-doctor-badge h3 {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-dark);
  letter-spacing: 0.6px;
  margin-bottom: 2px;
}

.hero-doctor-badge p {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 600;
  margin: 0;
}

.hero-title {
  font-size: 2.35rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.18;
  margin-bottom: 14px;
  letter-spacing: -0.03em;
  text-align: center;
  max-width: 780px;
}

/* Animated gradient text for .highlight */
.highlight {
  background: linear-gradient(135deg, #0F172A 0%, #334155 35%, #64748B 60%, #334155 80%, #0F172A 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
  font-weight: 700;
  animation: gradientFlow 5s linear infinite;
}
[data-theme="dark"] .highlight {
  background: linear-gradient(135deg, #FFFFFF 0%, #CBD5E1 30%, #94A3B8 55%, #CBD5E1 80%, #FFFFFF 100%);
  background-size: 300% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradientFlow 5s linear infinite;
}
@keyframes gradientFlow {
  0%   { background-position: 0%   center; }
  100% { background-position: 300% center; }
}

.hero-description {
  font-size: 0.95rem;
  line-height: 1.62;
  color: var(--text-secondary);
  margin-bottom: 24px;
  max-width: 640px;
  text-align: center;
}

.hero-cta-group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.hero-cta-subgroup {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-bottom-bar {
  display: none;
}

/* ── Pulsing primary CTA ─────────────────────────── */
@keyframes ctaPulse {
  0%, 100% { box-shadow: 0 4px 14px rgba(15,23,42,0.22), 0 0 0 0 rgba(30,41,59,0.3); }
  50%       { box-shadow: 0 4px 14px rgba(15,23,42,0.22), 0 0 0 10px rgba(30,41,59,0); }
}
.hero-btn-main {
  animation: ctaPulse 2.8s ease-in-out 1.6s infinite;
}
.hero-btn-main:hover {
  animation: none;
}

/* Centered Stats Row */
.hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  background: var(--bg-card-gradient);
  padding: 14px 22px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  max-width: 820px;
  width: 100%;
  margin: 0 auto 28px;
}

.stat-card {
  text-align: center;
  transition: transform 0.3s ease;
}
.stat-card:hover {
  transform: translateY(-2px);
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 1.42rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.1;
  margin-bottom: 2px;
  background: linear-gradient(135deg, var(--text-dark) 0%, var(--text-muted) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.stat-label {
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Centered Visual Showcase */
.hero-visual-center {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
}

.hero-visual-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  transition: box-shadow 0.4s ease, transform 0.4s ease;
}
.hero-visual-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-3px);
}

.hero-img-container {
  width: 100%;
  height: 380px;
  overflow: hidden;
  position: relative;
  background: #0B1720;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.85s cubic-bezier(0.4, 0, 0.2, 1), visibility 0.85s ease;
  z-index: 1;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.hero-slide .hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transform: scale(1.04);
  transition: transform 6s cubic-bezier(0.25, 1, 0.5, 1);
}

.hero-slide.active .hero-img {
  transform: scale(1);
}

.hero-slide-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.08) 0%, transparent 40%, rgba(15, 23, 42, 0.4) 100%);
  pointer-events: none;
}

/* Carousel Navigation Indicators (Positioned above the dual-specialty strip) */
.hero-carousel-dots {
  position: absolute;
  bottom: 84px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 5;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: rgba(15, 23, 42, 0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-dot:hover {
  background: rgba(255, 255, 255, 0.85);
  transform: scale(1.15);
}

.hero-dot.active {
  width: 24px;
  border-radius: 6px;
  background: var(--teal, #0D9488);
  box-shadow: 0 0 10px rgba(13, 148, 136, 0.7);
}

/* ── Floating Trust Badges with float animation ── */
@keyframes floatBadge {
  0%, 100% { transform: translateY(0px);   }
  50%       { transform: translateY(-8px);  }
}
@keyframes floatBadgeReverse {
  0%, 100% { transform: translateY(0px);  }
  50%       { transform: translateY(8px);  }
}

.floating-badge {
  position: absolute;
  background: var(--bg-glass);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  padding: 12px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-glass);
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 3;
  transition: box-shadow 0.3s ease;
}
.floating-badge:hover {
  box-shadow: var(--shadow-lg);
}

.floating-badge-top {
  top: 24px;
  left: 20px;
  animation: floatBadge 4s ease-in-out 0.6s infinite;
}

.floating-badge-bottom {
  bottom: 80px;
  right: 20px;
  animation: floatBadgeReverse 4.8s ease-in-out 1.1s infinite;
}

.floating-badge-icon {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--badge-gradient);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
}

.floating-badge-title {
  font-family: var(--font-heading);
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.2;
}

.floating-badge-sub {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* ── Dual Specialty Strip on Visual ── */
.dual-specialty-strip {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.specialty-chip {
  flex: 1;
  transition: transform 0.25s ease;
}
.specialty-chip:hover {
  transform: translateX(4px);
}

.specialty-chip-title {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #FFFFFF;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 4px;
}

.specialty-chip-doc {
  color: #38BDF8;
  font-weight: 600;
  font-size: 0.82rem;
}

.specialty-chip-desc {
  font-size: 0.74rem;
  color: #94A3B8;
  margin-top: 2px;
}

/* ==========================================================================
   2. Clinical Synergy Section (Grey & Gradients)
   ========================================================================== */
.synergy-section {
  background: var(--bg-card);
}

.synergy-box {
  background: var(--bg-card-gradient);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  box-shadow: var(--shadow-xs);
  opacity: 1 !important;
  visibility: visible !important;
}

.synergy-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
  flex-wrap: wrap;
  gap: 16px;
}

.synergy-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.synergy-card {
  background: var(--bg-card);
  padding: 20px 18px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.synergy-card:hover {
  transform: translateY(-3px);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.synergy-badge {
  display: inline-block;
  background: var(--badge-gradient);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  margin-bottom: 10px;
}

.synergy-title {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.synergy-desc {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.58;
}

/* ==========================================================================
   3. About Us / Clinical Foundation
   ========================================================================== */
.about-section {
  background: var(--bg-gradient);
}

.about-editorial-grid {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 28px;
  align-items: center;
  margin-bottom: 32px;
}

.about-quote-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-left: 4px solid var(--primary);
  padding: 22px 20px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xs);
}

.about-quote-text {
  font-family: var(--font-heading);
  font-size: 0.98rem;
  font-style: italic;
  font-weight: 500;
  color: var(--text-dark);
  line-height: 1.55;
  margin-bottom: 16px;
}

.about-quote-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 70%;
  border: 1.5px solid var(--border-color);
}

.author-name {
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark);
}

.author-role {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* Pillars Grid (Mission, Vision, Philosophy) */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.pillar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition);
}

.pillar-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
  border-color: var(--text-dark);
}

.pillar-card.featured {
  background: var(--bg-card-gradient);
  border-color: var(--text-muted);
}

.pillar-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--badge-gradient);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
  margin-bottom: 14px;
}

.pillar-title {
  font-size: 1.08rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.pillar-text {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 14px;
}

.pillar-bullets {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.pillar-bullet-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-dark);
}

.pillar-bullet-item i {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   4. Meet Our Lead Consultants (Doctors Showcase)
   ========================================================================== */
.doctors-section {
  background: var(--bg-card);
}

.doctors-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.doctor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  display: grid;
  grid-template-columns: 200px 1fr;
  transition: var(--transition);
}

.doctor-card:hover {
  transform: translateY(-3px);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.doctor-image-wrapper {
  position: relative;
  height: 100%;
  min-height: 270px;
  background-color: var(--bg-subtle);
}

.doctor-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.doctor-reg-chip {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(6px);
  color: #FFFFFF;
  font-size: 0.68rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-full);
}

.doctor-exp-badge {
  position: absolute;
  bottom: 10px;
  left: 10px;
  background: linear-gradient(135deg, #1E293B 0%, #334155 100%);
  color: #FFFFFF;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.doctor-content {
  padding: 20px 20px;
  display: flex;
  flex-direction: column;
}

.doctor-dept-tag {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}

.doctor-name {
  font-size: 1.28rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 2px;
}

.doctor-qualification {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.doctor-specialty-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.spec-tag {
  background: var(--bg-subtle);
  color: var(--text-secondary);
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  border: 1px solid var(--border-color);
}

.doctor-summary {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.doctor-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 18px;
  border-top: 1px solid var(--border-color);
}

.doctor-bio-btn {
  background: transparent;
  border: none;
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
}

.doctor-bio-btn:hover {
  color: var(--primary-light);
  transform: translateX(3px);
}

/* ==========================================================================
   Doctor Biography Modal
   ========================================================================== */
.bio-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10002;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.bio-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.bio-modal-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-xl);
  max-width: 650px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  padding: 35px 32px;
  position: relative;
  animation: modal-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modal-slide-up {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.bio-modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: var(--bg-subtle);
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dark);
}

.bio-modal-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 24px;
}

.bio-modal-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 70%;
  border: 2px solid var(--border-color);
}

.bio-meta-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  background: var(--bg-subtle);
  padding: 16px;
  border-radius: var(--radius-md);
  margin-bottom: 22px;
  border: 1px solid var(--border-color);
}

.bio-meta-item span {
  display: block;
  font-size: 0.74rem;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 700;
}

.bio-meta-item strong {
  font-size: 0.92rem;
  color: var(--text-dark);
}

.bio-text-block {
  margin-bottom: 20px;
}

.bio-text-block h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--text-dark);
}

.bio-list {
  padding-left: 20px;
  list-style: disc;
  color: var(--text-secondary);
  font-size: 0.92rem;
}

.bio-list li {
  margin-bottom: 6px;
}

/* ==========================================================================
   Interactive Teeth Anatomy & Dental Health Explorer (Luxury Grey Theme)
   ========================================================================== */
.teeth-explorer-section {
  background: var(--bg-gradient);
  position: relative;
  overflow: hidden;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 72px 0 84px;
}

/* Two-Column Grid: Left Canvas, Right Conditions */
.teeth-explorer-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 36px;
  align-items: start;
}

/* Left: Visual Canvas Card (Architectural Luxury Grey Theme) */
.teeth-visual-card {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-lg, 16px);
  padding: 22px 20px 20px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

/* Ambient Particles Field (Subtle Silver & Teal Accents) */
.ambient-particle-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.ambient-particle-field .particle {
  position: absolute;
  border-radius: 50%;
  animation: ambientParticleGlow 7s ease-in-out infinite alternate;
}

.particle.p-1 { top: 14%; left: 12%; width: 4px; height: 4px; background: var(--teal, #0D9488); opacity: 0.25; animation-delay: 0s; }
.particle.p-2 { top: 22%; right: 16%; width: 3px; height: 3px; background: #94A3B8; opacity: 0.35; animation-delay: 1.5s; }
.particle.p-3 { top: 54%; left: 8%; width: 4px; height: 4px; background: var(--teal, #0D9488); opacity: 0.22; animation-delay: 3s; }
.particle.p-4 { top: 72%; right: 12%; width: 4px; height: 4px; background: #64748B; opacity: 0.25; animation-delay: 4.5s; }
.particle.p-5 { top: 40%; right: 8%; width: 3px; height: 3px; background: var(--teal, #0D9488); opacity: 0.3; animation-delay: 2.2s; }
.particle.p-6 { bottom: 14%; left: 20%; width: 3px; height: 3px; background: #94A3B8; opacity: 0.35; animation-delay: 3.8s; }
.particle.p-7 { top: 86%; right: 26%; width: 3px; height: 3px; background: var(--teal, #0D9488); opacity: 0.25; animation-delay: 0.8s; }
.particle.p-8 { top: 9%; right: 38%; width: 3px; height: 3px; background: #CBD5E1; opacity: 0.4; animation-delay: 5.2s; }

@keyframes ambientParticleGlow {
  0% { transform: translateY(0); opacity: 0.15; }
  50% { opacity: 0.4; }
  100% { transform: translateY(-6px); opacity: 0.2; }
}

/* Canvas Topbar: Mode Switch & Status Indicator */
.teeth-canvas-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
}

.teeth-mode-switch {
  display: inline-flex;
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-full);
  padding: 3px;
  gap: 3px;
}

.teeth-mode-btn {
  background: transparent;
  color: var(--text-muted);
  border: none;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}

.teeth-mode-btn:hover {
  color: var(--text-dark);
}

.teeth-mode-btn.active {
  background: var(--primary);
  color: #FFFFFF;
  box-shadow: var(--shadow-xs);
}

[data-theme="dark"] .teeth-mode-btn.active {
  background: #FFFFFF;
  color: #0F172A;
}

.teeth-status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 0.78rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.status-glow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--teal, #0D9488);
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.5);
  animation: pulseTealGlow 2.2s infinite ease-in-out;
}

@keyframes pulseTealGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.7; }
}

/* ═══════════════════════════════════════════════════════════
   VIEW A: Photorealistic 3D Anatomical Jaw & Nerve Model
   ═══════════════════════════════════════════════════════════ */
.teeth-3d-model-stage {
  width: 100%;
  position: relative;
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2;
  padding: 6px 0 10px;
}

.teeth-3d-model-stage.active {
  display: flex;
}

.teeth-3d-img-wrapper {
  position: relative;
  width: 100%;
  max-width: 530px;
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  background: radial-gradient(circle at 50% 45%, #0C1E26 0%, #061118 70%, #020609 100%);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.12);
  user-select: none;
}

.teeth-3d-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.4));
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.teeth-3d-img-wrapper:hover .teeth-3d-img {
  transform: scale(1.025);
}

.teeth-3d-glow-overlay {
  position: absolute;
  inset: 0;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
  background: radial-gradient(circle at var(--glow-x, 50%) var(--glow-y, 50%), rgba(0, 229, 255, 0.42) 0%, rgba(13, 148, 136, 0.18) 32%, transparent 68%);
  mix-blend-mode: screen;
}

.teeth-3d-glow-overlay.active {
  opacity: 1;
}

/* Anatomical Glowing Hotspots */
.anatomical-hotspot {
  position: absolute;
  transform: translate(-50%, -50%);
  width: 38px;
  height: 38px;
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  outline: none;
  transition: transform 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.anatomical-hotspot:hover,
.anatomical-hotspot.active {
  transform: translate(-50%, -50%) scale(1.22);
  z-index: 25;
}

.hotspot-pulse {
  position: absolute;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #00E5FF;
  background: rgba(0, 229, 255, 0.2);
  animation: hotspotPulseAnim 2.4s infinite ease-out;
  pointer-events: none;
}

.anatomical-hotspot.active .hotspot-pulse {
  animation-duration: 1.3s;
  border-color: #38BDF8;
  background: rgba(56, 189, 248, 0.35);
}

@keyframes hotspotPulseAnim {
  0% { transform: scale(0.65); opacity: 1; }
  75% { transform: scale(1.85); opacity: 0; }
  100% { transform: scale(1.85); opacity: 0; }
}

.hotspot-core {
  position: relative;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #0B1924;
  border: 2px solid #00E5FF;
  color: #00E5FF;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 10px rgba(0, 229, 255, 0.65), inset 0 0 6px rgba(0, 229, 255, 0.3);
  transition: all 0.25s ease;
}

.anatomical-hotspot:hover .hotspot-core,
.anatomical-hotspot.active .hotspot-core {
  background: #00E5FF;
  color: #0B1924;
  box-shadow: 0 0 18px rgba(0, 229, 255, 0.95), 0 0 32px rgba(0, 229, 255, 0.5);
  border-color: #FFFFFF;
}

.hotspot-tooltip {
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translateX(-50%) translateY(4px);
  background: rgba(11, 25, 36, 0.94);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid rgba(0, 229, 255, 0.35);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 12px rgba(0, 229, 255, 0.2);
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 30;
}

.hotspot-tooltip::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(11, 25, 36, 0.94) transparent transparent transparent;
}

.anatomical-hotspot:hover .hotspot-tooltip,
.anatomical-hotspot.active .hotspot-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ═══════════════════════════════════════════════════════════
   VIEW B: Clinical Dentition Chart (SVG Stage & Controls)
   ═══════════════════════════════════════════════════════════ */
.teeth-chart-stage {
  width: 100%;
  position: relative;
  z-index: 2;
}

.teeth-chart-stage.active {
  display: block;
}

.chart-dentition-pills {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 12px;
}

.dentition-sub-btn {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  font-family: var(--font-heading);
  padding: 5px 14px;
  border-radius: var(--radius-full);
  cursor: pointer;
  transition: var(--transition-fast);
}

.dentition-sub-btn:hover {
  color: var(--text-dark);
  border-color: var(--border-hover);
}

.dentition-sub-btn.active {
  background: var(--teal, #0D9488);
  color: #FFFFFF;
  border-color: var(--teal, #0D9488);
  box-shadow: var(--shadow-xs);
}

/* SVG Dental Stage (Realistic 3D Perspective & Tactile Elevation) */
.teeth-svg-stage {
  width: 100%;
  position: relative;
  display: flex;
  justify-content: center;
  z-index: 2;
  perspective: 1200px;
}

.teeth-svg-arch {
  width: 100%;
  max-width: 520px;
  height: auto;
  overflow: visible;
  transform: rotateX(4deg) translateY(-2px);
  filter: drop-shadow(0 12px 24px rgba(15, 23, 42, 0.08));
  transition: transform 0.4s ease;
}

.teeth-svg-arch:hover {
  transform: rotateX(0deg) translateY(0);
}

.alveolar-jaw-track {
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.svg-quadrant-tag {
  font-family: var(--font-heading);
  font-size: 9.5px;
  font-weight: 800;
  fill: var(--text-muted);
  letter-spacing: 0.8px;
  opacity: 0.8;
}

.svg-midline-center {
  font-family: var(--font-heading);
  font-size: 9px;
  font-weight: 800;
  fill: var(--teal, #0D9488);
  letter-spacing: 1.2px;
}

/* Individual Realistic 3D Tooth SVG Node */
.tooth-node {
  cursor: pointer;
  outline: none;
}

.tooth-node .tooth-halo {
  fill: transparent;
  transition: all 0.25s ease;
}

/* Realistic 3D Enamel Ceramic Crown */
.tooth-node .tooth-outline {
  fill: url(#enamel3dGrad);
  stroke: #BCC7D2;
  stroke-width: 1.3;
  filter: url(#tooth3dDropShadow);
  transition: all 0.22s ease;
}

[data-theme="dark"] .tooth-node .tooth-outline {
  fill: url(#enamelDark3dGrad);
  stroke: #475569;
}

/* 3D Anatomical Cuspal Ridges & Fissures */
.tooth-node .cusp-ridge {
  stroke: #CBD5E1;
  stroke-width: 0.9;
  fill: none;
  pointer-events: none;
  transition: stroke 0.2s ease;
}

.tooth-node .tooth-fissure {
  stroke: #94A3B8;
  stroke-width: 1.1;
  stroke-linecap: round;
  fill: none;
  pointer-events: none;
  opacity: 0.75;
  transition: stroke 0.2s ease;
}

/* 3D Specular Ceramic Gloss Highlight */
.tooth-node .tooth-specular {
  stroke: rgba(255, 255, 255, 0.95);
  stroke-width: 1.4;
  stroke-linecap: round;
  fill: none;
  pointer-events: none;
}

/* Canine Labial Ridge & Cingulum */
.tooth-node .canine-ridge {
  stroke: rgba(255, 255, 255, 0.85);
  stroke-width: 1.2;
  stroke-linecap: round;
  fill: none;
  pointer-events: none;
}

.tooth-node .canine-cingulum {
  stroke: #CBD5E1;
  stroke-width: 0.9;
  fill: none;
  pointer-events: none;
}

/* Incisal Biting Edge */
.tooth-node .incisal-edge {
  stroke: rgba(255, 255, 255, 0.9);
  stroke-width: 1.2;
  stroke-linecap: round;
  fill: none;
  pointer-events: none;
}

/* Micro Number Badge with 3D Depth */
.tooth-node .tooth-num-badge {
  fill: rgba(255, 255, 255, 0.92);
  stroke: #CBD5E1;
  stroke-width: 0.8;
  filter: drop-shadow(0 1px 2px rgba(15, 23, 42, 0.12));
  transition: all 0.2s ease;
}

[data-theme="dark"] .tooth-node .tooth-num-badge {
  fill: rgba(30, 41, 59, 0.92);
  stroke: #475569;
}

.tooth-node .tooth-number {
  font-family: var(--font-heading);
  font-size: 8.5px;
  font-weight: 800;
  fill: var(--text-dark, #0F172A);
  pointer-events: none;
  transition: fill 0.2s ease;
}

[data-theme="dark"] .tooth-node .tooth-number {
  fill: #F1F5F9;
}

/* Tooth Hover */
.tooth-node:hover .tooth-halo {
  fill: rgba(13, 148, 136, 0.16);
  r: 22;
}

.tooth-node:hover .tooth-outline {
  stroke: var(--teal, #0D9488);
  stroke-width: 2;
  filter: drop-shadow(0 0 8px rgba(13, 148, 136, 0.45)) drop-shadow(0 4px 6px rgba(15, 23, 42, 0.15));
}

.tooth-node:hover .tooth-num-badge {
  fill: #FFFFFF;
  stroke: var(--teal, #0D9488);
}

.tooth-node:hover .tooth-number {
  fill: var(--teal, #0D9488);
  font-weight: 900;
}

/* Tooth Highlighted (Active Condition Match & 3D Shading) */
.tooth-node.highlighted .tooth-halo,
.tooth-node.active .tooth-halo {
  fill: rgba(13, 148, 136, 0.24);
  r: 24;
}

.tooth-node.highlighted .tooth-outline,
.tooth-node.active .tooth-outline {
  fill: url(#enamelActive3dGrad);
  stroke: #FFFFFF;
  stroke-width: 2.2;
  filter: drop-shadow(0 0 12px rgba(13, 148, 136, 0.75)) drop-shadow(0 4px 8px rgba(15, 23, 42, 0.25));
}

.tooth-node.highlighted .tooth-fissure,
.tooth-node.active .tooth-fissure {
  stroke: #042F2E;
  stroke-width: 1.3;
  opacity: 0.9;
}

.tooth-node.highlighted .cusp-ridge,
.tooth-node.active .cusp-ridge {
  stroke: rgba(255, 255, 255, 0.75);
}

.tooth-node.highlighted .tooth-num-badge,
.tooth-node.active .tooth-num-badge {
  fill: #0F766E;
  stroke: #FFFFFF;
  stroke-width: 1.2;
}

.tooth-node.highlighted .tooth-number,
.tooth-node.active .tooth-number {
  fill: #FFFFFF;
  font-weight: 900;
}

/* Tooth Dimmed (Non-affected teeth when a condition is selected) */
.tooth-node.dimmed {
  opacity: 0.28;
  filter: grayscale(1);
}

/* Hidden tooth by dentition mode */
.tooth-node.hidden-mode {
  display: none !important;
}

/* Canvas Bottom Footer */
.teeth-canvas-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 14px;
  border-top: 1px solid var(--border-color);
  margin-top: 12px;
  position: relative;
  z-index: 2;
  font-size: 0.78rem;
}

.teeth-interactive-tooltip {
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.teeth-active-legend {
  color: var(--teal, #0D9488);
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.legend-dot-glowing {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--teal, #0D9488);
  box-shadow: 0 0 6px var(--teal, #0D9488);
}

/* Right Column: Conditions Accordion (Luxury Grey Theme) */
.teeth-conditions-column {
  display: flex;
  flex-direction: column;
}

.conditions-lead-text {
  font-size: 1.02rem;
  line-height: 1.6;
  color: var(--text-secondary);
  margin-bottom: 20px;
  font-weight: 500;
}

.conditions-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Condition Pill Row */
.condition-pill-item {
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  border-radius: var(--radius-md, 12px);
  box-shadow: var(--shadow-xs);
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
}

.condition-pill-item:hover {
  border-color: var(--teal, #0D9488);
  background: #F8FAFC;
  transform: translateX(3px);
  box-shadow: var(--shadow-sm);
}

[data-theme="dark"] .condition-pill-item:hover {
  background: rgba(255, 255, 255, 0.04);
}

.condition-pill-item.active {
  border-color: var(--teal, #0D9488);
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.04) 0%, var(--bg-card) 100%);
  box-shadow: 0 4px 18px rgba(13, 148, 136, 0.12);
}

[data-theme="dark"] .condition-pill-item.active {
  background: linear-gradient(135deg, rgba(13, 148, 136, 0.14) 0%, var(--bg-card) 100%);
  border-color: #38BDF8;
}

/* Condition Pill Header Button */
.condition-pill-header {
  width: 100%;
  display: flex;
  align-items: center;
  padding: 14px 18px;
  gap: 14px;
  background: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  color: inherit;
  font-family: inherit;
}

/* Glowing Cyan/Teal Bullet (Distinctive ring with glowing center dot) */
.condition-bullet {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 2.5px solid var(--teal, #0D9488);
  background: rgba(13, 148, 136, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(13, 148, 136, 0.3);
  transition: all 0.25s ease;
}

.condition-bullet-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--teal, #0D9488);
  box-shadow: 0 0 4px var(--teal, #0D9488);
}

.condition-pill-item.active .condition-bullet {
  background: rgba(13, 148, 136, 0.22);
  box-shadow: 0 0 12px rgba(13, 148, 136, 0.5);
  transform: scale(1.08);
}

/* Condition Title */
.condition-title {
  color: var(--text-dark);
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  flex-grow: 1;
  letter-spacing: 0.2px;
  transition: color 0.2s ease;
}

.condition-pill-item.active .condition-title {
  color: var(--text-dark);
}

/* Chevron indicator */
.condition-chevron {
  color: var(--text-muted);
  font-size: 0.82rem;
  transition: transform 0.28s ease, color 0.2s ease;
  flex-shrink: 0;
}

.condition-pill-item.active .condition-chevron {
  transform: rotate(90deg);
  color: var(--teal, #0D9488);
}

/* Expandable Drawer */
.condition-drawer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.3s ease;
  opacity: 0;
  padding: 0 18px 0 54px;
}

.condition-pill-item.active .condition-drawer {
  max-height: 500px;
  opacity: 1;
  padding: 0 18px 18px 54px;
}

.condition-overview {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 12px;
}

.condition-teeth-tags-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 12px;
  font-size: 0.76rem;
  color: var(--text-muted);
}

.condition-teeth-label {
  font-weight: 700;
  color: var(--text-dark);
}

.tooth-tag-badge {
  background: rgba(13, 148, 136, 0.08);
  color: var(--teal, #0D9488);
  border: 1px solid rgba(13, 148, 136, 0.25);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: 0.72rem;
}

.condition-treatments-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 14px;
}

.condition-treat-pill {
  background: var(--bg-subtle);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  font-size: 0.74rem;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: var(--radius-full);
}

.condition-book-btn {
  background: var(--primary-gradient);
  color: #FFFFFF;
  border: none;
  font-family: var(--font-heading);
  font-size: 0.84rem;
  font-weight: 700;
  padding: 9px 18px;
  border-radius: var(--radius-full);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: var(--shadow-sm);
}

.condition-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  opacity: 0.95;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
  .teeth-explorer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .teeth-visual-card {
    padding: 16px 12px 14px;
  }
  .condition-pill-header {
    padding: 12px 14px;
    gap: 10px;
  }
  .condition-title {
    font-size: 0.92rem;
  }
  .condition-drawer {
    padding: 0 14px 14px 46px;
  }
  .condition-pill-item.active .condition-drawer {
    padding: 0 14px 14px 46px;
  }
  .teeth-canvas-topbar {
    flex-direction: column;
    gap: 10px;
    align-items: flex-start;
  }
  .teeth-mode-switch {
    width: 100%;
    justify-content: stretch;
  }
  .teeth-mode-btn {
    flex: 1;
    text-align: center;
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .anatomical-hotspot {
    width: 32px;
    height: 32px;
  }
  .hotspot-pulse {
    width: 26px;
    height: 26px;
  }
  .hotspot-core {
    width: 20px;
    height: 20px;
    font-size: 8.5px;
  }
  .teeth-canvas-bottom {
    flex-direction: column;
    gap: 8px;
    align-items: flex-start;
  }
}

/* ==========================================================================
   5. Clinical Services Section (Tabs & Cards Grid)
   ========================================================================== */
.services-section {
  background: var(--bg-gradient);
}

.services-filter-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}

.filter-tab-btn {
  background: var(--bg-card);
  color: var(--text-secondary);
  border: 1.5px solid var(--border-color);
  padding: 7px 18px;
  border-radius: var(--radius-full);
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}

.filter-tab-btn:hover {
  border-color: var(--text-dark);
  color: var(--text-dark);
  transform: translateY(-2px);
}

.filter-tab-btn.active {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  border-color: #0F172A;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.22);
}

[data-theme="dark"] .filter-tab-btn.active {
  background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
  color: #0F172A;
  border-color: #FFFFFF;
}

.badge-count {
  background: rgba(255, 255, 255, 0.2);
  padding: 2px 7px;
  border-radius: var(--radius-full);
  font-size: 0.7rem;
}

.filter-tab-btn:not(.active) .badge-count {
  background: var(--bg-subtle);
  color: var(--text-dark);
}

.services-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.service-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

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

.service-header-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.service-icon-box {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--badge-gradient);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.05rem;
}

.service-category-tag {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  background: var(--bg-subtle);
  color: var(--text-muted);
}

.service-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}

.service-features-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
  flex-grow: 1;
}

.service-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-secondary);
  line-height: 1.45;
}

.service-feature-item i {
  color: var(--emerald);
  font-size: 0.78rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.service-action-link {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition-fast);
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid var(--border-light);
}

.service-action-link:hover {
  color: var(--primary-light);
  transform: translateX(4px);
}

/* ==========================================================================
   6. Why Choose Us (6 Trust Blocks)
   ========================================================================== */
.why-choose-section {
  background: var(--bg-card);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.reason-box {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  box-shadow: var(--shadow-xs);
  position: relative;
  transition: var(--transition);
}

.reason-box:hover {
  transform: translateY(-3px);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.reason-index {
  position: absolute;
  top: 18px;
  right: 18px;
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--border-color);
  line-height: 1;
}

.reason-icon {
  width: 38px;
  height: 38px;
  border-radius: var(--radius-sm);
  background: var(--badge-gradient);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 14px;
}

.reason-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.reason-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

/* ==========================================================================
   7. Centre Facilities & Real Photo Gallery
   ========================================================================== */
.facilities-section {
  background: var(--bg-gradient);
}

.facilities-pills-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.facility-chip {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  padding: 7px 16px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.facility-chip:hover {
  border-color: var(--text-dark);
  transform: translateY(-2px);
}

.facility-chip-icon {
  color: var(--text-dark);
  font-size: 0.9rem;
}

.facility-chip-title {
  font-family: var(--font-heading);
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-dark);
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 20px;
}

.gallery-card {
  border-radius: var(--radius-lg, 16px);
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  background: var(--bg-card);
  border: 1.5px solid var(--border-color);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
  transform: translateY(-4px);
  border-color: var(--teal, #0D9488);
  box-shadow: 0 16px 32px rgba(15, 23, 42, 0.12);
}

/* Bento Column Spans */
.gallery-card-hero {
  grid-column: span 7;
}

.gallery-card-consult {
  grid-column: span 5;
}

.gallery-card-fdi {
  grid-column: span 4;
}

.gallery-card-operatory-1 {
  grid-column: span 4;
}

.gallery-card-operatory-2 {
  grid-column: span 4;
}

.gallery-card-hero .gallery-img-box,
.gallery-card-consult .gallery-img-box {
  height: 310px;
}

.gallery-card-fdi .gallery-img-box,
.gallery-card-operatory-1 .gallery-img-box,
.gallery-card-operatory-2 .gallery-img-box {
  height: 270px;
}

.gallery-img-box {
  position: relative;
  overflow: hidden;
  background: #0F172A;
}

.gallery-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-img {
  transform: scale(1.06);
}

.gallery-zoom-badge {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #FFFFFF;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  opacity: 0;
  transform: scale(0.85);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 2;
  pointer-events: none;
}

.gallery-card:hover .gallery-zoom-badge {
  opacity: 1;
  transform: scale(1);
  background: var(--teal, #0D9488);
  border-color: #38BDF8;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(15, 23, 42, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px 22px;
  color: #FFFFFF;
  transition: var(--transition);
}

.gallery-caption {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  color: #FFFFFF;
  line-height: 1.3;
}

.gallery-sub {
  font-size: 0.78rem;
  color: #CBD5E1;
  margin-top: 4px;
  line-height: 1.4;
}

/* Lightbox Modal */
.lightbox-modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(8px);
  z-index: 10005;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.lightbox-modal.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-content {
  position: relative;
  max-width: 900px;
  width: 100%;
  text-align: center;
}

.lightbox-img {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-xl);
}

.lightbox-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: transparent;
  border: none;
  color: #FFFFFF;
  font-size: 2.2rem;
  cursor: pointer;
}

.lightbox-title {
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 14px;
}

/* ==========================================================================
   8. Patient Testimonials (Verified Reviews)
   ========================================================================= */
.testimonials-section {
  background: var(--bg-card);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 20px 18px;
  box-shadow: var(--shadow-xs);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-3px);
  border-color: var(--text-dark);
  box-shadow: var(--shadow-md);
}

.testimonial-card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.stars-row {
  display: flex;
  gap: 3px;
  color: #F59E0B;
  font-size: 0.84rem;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--emerald);
  background: var(--emerald-subtle);
  padding: 3px 9px;
  border-radius: var(--radius-full);
  text-decoration: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

a.verified-badge:hover {
  opacity: 0.85;
  transform: translateY(-1px);
}

.testimonial-quote {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.58;
  margin-bottom: 16px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-patient {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-top: 12px;
  border-top: 1px solid var(--border-color);
}

.patient-avatar-circle {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--badge-gradient);
  color: var(--text-dark);
  border: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 0.86rem;
  flex-shrink: 0;
}

.patient-name {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-dark);
}

.patient-name a {
  color: var(--text-dark);
  text-decoration: none;
  transition: color 0.2s ease;
}

.patient-name a:hover {
  color: var(--primary);
  text-decoration: underline;
}

.patient-procedure {
  font-size: 0.74rem;
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   9. Frequently Asked Questions (FAQ Accordion with Search)
   ========================================================================== */
.faq-section {
  background: var(--bg-gradient);
}

.faq-search-wrapper {
  max-width: 540px;
  margin: 0 auto 28px;
  position: relative;
}

.faq-search-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  font-size: 0.95rem;
}

.faq-search-input {
  width: 100%;
  padding: 10px 16px 10px 44px;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-dark);
  font-size: 0.88rem;
  outline: none;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.faq-search-input:focus {
  border-color: var(--text-dark);
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.12);
}

.faq-accordion-list {
  max-width: 760px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
  transition: var(--transition-fast);
}

.faq-item.active {
  border-color: var(--text-dark);
  box-shadow: var(--shadow-sm);
}

.faq-trigger {
  width: 100%;
  padding: 14px 18px;
  background: transparent;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: var(--font-heading);
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--text-dark);
  text-align: left;
  cursor: pointer;
  gap: 14px;
  transition: color 0.2s ease;
}

.faq-trigger:hover {
  color: var(--primary-light);
}

.faq-icon-chevron {
  color: var(--text-muted);
  font-size: 0.88rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.faq-item.active .faq-icon-chevron {
  transform: rotate(180deg);
}

.faq-answer-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease-out;
}

.faq-answer-content {
  padding: 0 18px 14px;
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.6;
  border-top: 1px solid var(--border-color);
  padding-top: 12px;
}

/* ==========================================================================
   10. Appointment Booking Section (Charcoal Slate Form)
   ========================================================================== */
.booking-section {
  background: var(--bg-card);
}

.booking-wrapper {
  display: grid;
  grid-template-columns: 0.85fr 1.35fr;
  gap: 28px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-xs);
}

/* Left Sidebar Summary */
.booking-info-sidebar {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  color: #FFFFFF;
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.sidebar-title {
  font-size: 1.35rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.sidebar-desc {
  font-size: 0.86rem;
  color: #CBD5E1;
  line-height: 1.55;
  margin-bottom: 22px;
}

.sidebar-highlights {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 24px;
}

.sidebar-item {
  display: flex;
  gap: 12px;
}

.sidebar-item i {
  color: #CBD5E1;
  font-size: 1.1rem;
  margin-top: 2px;
}

.sidebar-item strong {
  display: block;
  font-size: 0.88rem;
  color: #FFFFFF;
}

.sidebar-item span {
  font-size: 0.78rem;
  color: #94A3B8;
}

.sidebar-direct-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 14px;
  border-radius: var(--radius-sm);
}

.sidebar-direct-box span {
  display: block;
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #94A3B8;
  margin-bottom: 2px;
}

.sidebar-direct-phone {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #FFFFFF;
  text-decoration: none;
}

.sidebar-direct-phone:hover {
  color: #E2E8F0;
}

/* Right Form Area */
.booking-form-area {
  padding: 30px 26px;
}

.form-grid {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.form-grid-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.form-label {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
}

.form-control {
  width: 100%;
  padding: 9px 13px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-color);
  background: var(--bg-subtle);
  color: var(--text-dark);
  font-size: 0.86rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--text-dark);
  background: var(--bg-card);
  box-shadow: 0 0 0 3px rgba(30, 41, 59, 0.12);
}

textarea.form-control {
  min-height: 75px;
  resize: vertical;
}

/* Time Slot Radio Buttons */
.slot-schedule-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-dark);
  font-size: 0.76rem;
  font-weight: 700;
  padding: 4px 11px;
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-xs);
}

.slot-schedule-badge i {
  color: var(--text-secondary);
}

.slot-options-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.slot-options-group.slot-grid-neuro {
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
}

.slot-radio-label {
  border: 1.5px solid var(--border-color);
  background: var(--bg-subtle);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-dark);
  transition: var(--transition-fast);
  user-select: none;
  text-align: center;
}

.slot-radio-label:hover {
  border-color: var(--text-secondary);
  background: var(--bg-card);
  transform: translateY(-1px);
}

.slot-radio-label.selected {
  border-color: var(--text-dark);
  background: var(--badge-gradient);
  color: var(--text-dark);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.08);
}

.slot-radio-label input[type="radio"] {
  accent-color: var(--text-dark);
  margin-right: 4px;
}

.btn-submit-booking {
  width: 100%;
  padding: 11px 20px;
  font-size: 0.92rem;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   Appointment Confirmation Ticket Modal
   ========================================================================== */
.ticket-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.7);
  backdrop-filter: blur(6px);
  z-index: 10003;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.ticket-modal-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.ticket-container {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  max-width: 480px;
  width: 100%;
  padding: 26px 24px;
  box-shadow: var(--shadow-xl);
  text-align: center;
  position: relative;
  animation: modal-slide-up 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.ticket-icon-check {
  width: 48px;
  height: 48px;
  background: var(--emerald-subtle);
  color: var(--emerald);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin: 0 auto 12px;
}

.ticket-header-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
  letter-spacing: -0.015em;
}

.ticket-header-sub {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 18px;
}

.ticket-card-box {
  background: var(--bg-subtle);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 14px 16px;
  margin-bottom: 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.ticket-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.82rem;
  border-bottom: 1px dashed var(--border-color);
  padding-bottom: 6px;
}

.ticket-row:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.ticket-row span {
  color: var(--text-muted);
}

.ticket-row strong {
  color: var(--text-dark);
}

.ticket-actions-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==========================================================================
   11. Footer & Location Section (Charcoal Slate & Platinum)
   ========================================================================== */
.site-footer {
  background: linear-gradient(180deg, #12161D 0%, #0B0D11 100%);
  color: #94A3B8;
  padding: 52px 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-top-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 1.4fr;
  gap: 36px;
  margin-bottom: 34px;
}

.footer-brand-title {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  color: #FFFFFF;
}

.footer-brand-tag {
  font-size: 0.72rem;
  color: #CBD5E1;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.8px;
}

.footer-brand-desc {
  font-size: 0.84rem;
  color: #94A3B8;
  line-height: 1.58;
  margin: 12px 0 18px;
}

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 0.96rem;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 14px;
  letter-spacing: 0.3px;
}

.footer-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-nav-link {
  color: #94A3B8;
  font-size: 0.84rem;
  transition: color 0.2s ease, transform 0.2s ease;
  display: inline-block;
}

.footer-nav-link:hover {
  color: #FFFFFF;
  transform: translateX(3px);
}

.footer-contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.footer-contact-item {
  display: flex;
  gap: 12px;
}

.footer-contact-item i {
  color: #CBD5E1;
  font-size: 1rem;
  margin-top: 3px;
  flex-shrink: 0;
}

.footer-contact-item span {
  display: block;
  font-size: 0.72rem;
  color: #64748B;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 0.5px;
  margin-bottom: 2px;
}

.footer-contact-item a {
  color: #FFFFFF;
  font-weight: 600;
  font-size: 0.85rem;
}

.footer-contact-item a:hover {
  color: #CBD5E1;
}

.footer-address-link {
  display: block;
  color: #FFFFFF !important;
  font-size: 0.9rem !important;
  font-weight: 400 !important;
  line-height: 1.5;
  margin-bottom: 6px;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
  cursor: pointer;
}

.footer-address-link:hover {
  color: #93C5FD !important;
  text-decoration: underline !important;
  text-underline-offset: 3px;
}

.footer-contact-icon-link {
  color: #CBD5E1;
  text-decoration: none;
  display: inline-flex;
  transition: color 0.2s ease, transform 0.2s ease;
}

.footer-contact-icon-link:hover {
  color: #93C5FD;
  transform: translateY(-2px);
}

.footer-address-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.footer-copy-address-btn {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #E2E8F0;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  margin-top: 0;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: none;
  transition: var(--transition-fast);
}

.footer-copy-address-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #FFFFFF;
}

.footer-bottom-strip {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.78rem;
  color: #64748B;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-legal-links {
  display: flex;
  gap: 16px;
}

.footer-legal-links a {
  color: #94A3B8;
}

.footer-legal-links a:hover {
  color: #FFFFFF;
}

/* ==========================================================================
   12. Floating Action Buttons (FAB) & Toast System
   ========================================================================== */
.floating-actions-container {
  position: fixed;
  bottom: 28px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.fab-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #FFFFFF;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.25);
  cursor: pointer;
  border: none;
  font-size: 1.35rem;
  transition: var(--transition);
}

.fab-btn:hover {
  transform: translateY(-4px) scale(1.05);
}

.fab-whatsapp {
  background-color: #25D366;
}

.fab-whatsapp:hover {
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

.fab-scroll-top {
  background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

[data-theme="dark"] .fab-scroll-top {
  background: #FFFFFF;
  color: #0F172A;
}

.fab-scroll-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

/* Toast Notice */
.toast-notice {
  position: fixed;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #0F172A;
  color: #FFFFFF;
  padding: 12px 24px;
  border-radius: var(--radius-full);
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: var(--shadow-lg);
  z-index: 100000;
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.toast-notice.show {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1440px) {
  .site-header .container,
  .top-notice-bar .container {
    padding-left: 18px;
    padding-right: 18px;
  }
  .brand-title {
    font-size: 1.05rem;
  }
  .brand-subtitle {
    font-size: 0.65rem;
    letter-spacing: 0.4px;
  }
  /* On laptops and compact desktop, hide secondary links to guarantee 0 overflow */
  .nav-item-secondary {
    display: none !important;
  }
  .nav-links {
    gap: 5px;
  }
  .nav-link {
    font-size: 0.82rem;
    padding: 5px 7px;
  }
  .nav-actions {
    gap: 8px;
  }
  .nav-actions .btn-sm {
    padding: 7px 12px;
    font-size: 0.82rem;
  }
}

@media (max-width: 1280px) {
  .site-header .container,
  .top-notice-bar .container {
    padding-left: 14px;
    padding-right: 14px;
  }
  .brand-emblem-wrap {
    width: 38px;
    height: 38px;
  }
  .brand-title {
    font-size: 0.98rem;
  }
  .brand-subtitle {
    display: none;
  }
  .nav-links {
    gap: 3px;
  }
  .nav-link {
    font-size: 0.78rem;
    padding: 4px 6px;
  }
  .nav-actions {
    gap: 6px;
  }
  /* On compact laptops, streamline "Call Now" to a clean icon button so both actions fit seamlessly */
  .nav-btn-call {
    padding: 7px 10px;
  }
  .nav-btn-call-text {
    display: none;
  }
  .nav-btn-book-text-long {
    display: none;
  }
  .nav-btn-book-text-short {
    display: inline;
  }
  .nav-btn-book {
    padding: 7px 12px;
    font-size: 0.8rem;
  }
  .theme-toggle {
    width: 34px;
    height: 34px;
    font-size: 0.88rem;
  }
  .top-contact-link {
    font-size: 0.72rem;
    gap: 5px;
  }
}

@media (max-width: 1160px) {
  .nav-links {
    display: none !important;
  }

  .nav-btn-call {
    display: inline-flex;
    padding: 7px 10px;
  }

  .nav-btn-call-text {
    display: none;
  }

  .nav-btn-book {
    display: inline-flex;
    padding: 7px 12px;
    font-size: 0.82rem;
  }

  .nav-btn-book-text-long {
    display: none;
  }

  .nav-btn-book-text-short {
    display: inline;
  }

  .mobile-nav-toggle {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  .top-notice-content {
    justify-content: center;
    text-align: center;
  }

  .notice-badge {
    justify-content: center;
    white-space: normal;
    text-align: center;
  }

  .top-contact-links {
    display: none;
  }
}

@media (max-width: 1080px) {
  .hero-title {
    font-size: 2.05rem;
  }

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

  .doctors-grid {
    grid-template-columns: 1fr;
  }

  .doctor-card {
    grid-template-columns: 1fr;
  }

  .doctor-image-wrapper {
    min-height: 320px;
    height: 340px;
  }

  .doctor-image {
    object-position: center 72%;
  }

  .services-cards-grid,
  .reasons-grid,
  .testimonials-grid,
  .pillars-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .gallery-card-hero,
  .gallery-card-consult,
  .gallery-card-fdi,
  .gallery-card-operatory-1 {
    grid-column: span 1;
  }

  .gallery-card-operatory-2 {
    grid-column: span 2;
  }

  .gallery-card-hero .gallery-img-box,
  .gallery-card-consult .gallery-img-box,
  .gallery-card-fdi .gallery-img-box,
  .gallery-card-operatory-1 .gallery-img-box,
  .gallery-card-operatory-2 .gallery-img-box {
    height: 240px;
  }

  .synergy-grid {
    grid-template-columns: 1fr;
  }

  .about-editorial-grid {
    grid-template-columns: 1fr;
  }

  .booking-wrapper {
    grid-template-columns: 1fr;
  }

  .form-grid-2 {
    grid-template-columns: 1fr;
  }

  .slot-options-group {
    grid-template-columns: 1fr;
  }

  .slot-options-group.slot-grid-neuro {
    grid-template-columns: repeat(2, 1fr);
    gap: 8px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr 1fr;
  }
}

/* ==========================================================================
   Mobile & Small Screen Optimizations (<640px)
   ========================================================================== */
@media (max-width: 640px) {
  /* Prevent content being obscured by bottom bar, with iPhone safe-area padding */
  body {
    padding-bottom: calc(76px + env(safe-area-inset-bottom, 0px));
  }

  /* Container Breathing Room */
  .container {
    padding: 0 18px;
  }

  .site-header {
    padding: 10px 0;
  }

  .site-header .container {
    padding: 0 16px;
  }

  .nav-btn-book {
    display: none !important;
  }

  /* Compact Scaled Brand Header */
  .brand-logo-group {
    gap: 8px;
  }

  .brand-emblem-wrap {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
  }

  .brand-title {
    font-size: 0.94rem;
    line-height: 1.15;
  }

  .brand-subtitle {
    font-size: 0.6rem;
    letter-spacing: 0.2px;
  }

  .nav-actions {
    gap: 6px;
  }

  .theme-toggle {
    width: 32px;
    height: 32px;
    font-size: 0.82rem;
  }

  .mobile-nav-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3px;
    font-size: 1.05rem;
  }

  /* Live OPD Notice Bar */
  .top-notice-bar {
    padding: 8px 12px;
  }

  .notice-badge {
    font-size: 0.74rem;
    line-height: 1.4;
    white-space: normal;
    text-align: center;
    justify-content: center;
  }

  /* Sections Spacing - Generous Breathing Room */
  .section {
    padding: 48px 0;
  }

  .section-header {
    margin-bottom: 26px;
  }

  .section-tag {
    font-size: 0.72rem;
    padding: 4px 12px;
    margin-bottom: 10px;
  }

  .section-title {
    font-size: 1.55rem;
    line-height: 1.28;
    margin-bottom: 10px;
    letter-spacing: -0.3px;
  }

  .section-desc {
    font-size: 0.88rem;
    line-height: 1.6;
  }

  /* Hero Section */
  .hero-section {
    padding: 24px 0 32px;
  }

  .hero-tagline {
    font-size: 0.74rem;
    padding: 5px 12px;
    margin-bottom: 14px;
  }

  /* Dual Doctor Cards: Sleek balanced 2-column layout to prevent tall stacked bloat */
  .hero-doctors-dual {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 18px;
    width: 100%;
  }

  .hero-doctor-mini-card {
    width: 100%;
    max-width: none;
    min-width: 0;
    padding: 8px 10px;
    margin: 0;
    gap: 8px;
    border-radius: var(--radius-md);
  }

  .hero-doc-mini-avatar {
    width: 34px;
    height: 34px;
  }

  .hero-doc-mini-dept {
    font-size: 0.62rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-doc-mini-name {
    font-size: 0.8rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .hero-doc-mini-qual {
    font-size: 0.62rem;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero-doctor-badge {
    padding: 6px 10px;
    margin-bottom: 12px;
    width: 100%;
    box-sizing: border-box;
    border-radius: var(--radius-sm);
  }

  .hero-doctor-badge h3 {
    font-size: 0.78rem;
    letter-spacing: 0.5px;
    margin-bottom: 2px;
  }

  .hero-doctor-badge p {
    font-size: 0.68rem;
    line-height: 1.3;
  }

  .hero-title {
    font-size: 1.62rem;
    line-height: 1.26;
    margin-bottom: 12px;
    letter-spacing: -0.3px;
  }

  .hero-description {
    font-size: 0.88rem;
    line-height: 1.62;
    margin-bottom: 20px;
  }

  /* Hero Mobile CTA arrangement - Single prominent button, Call & WhatsApp live in sticky bottom bar */
  .hero-cta-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
    width: 100%;
  }

  .hero-cta-group .hero-btn-main {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.95rem;
    font-weight: 700;
  }

  .hero-cta-subgroup {
    display: none; /* Removed duplication: Call Desk & WhatsApp are permanently pinned in sticky bottom bar */
  }

  /* Hero Stats 2x2 Grid with comfortable spacing */
  .hero-stats-row {
    grid-template-columns: 1fr 1fr;
    gap: 12px 14px;
    padding: 16px 14px;
    border-radius: var(--radius-lg);
    margin-bottom: 14px;
  }

  .stat-number {
    font-size: 1.35rem;
    margin-bottom: 2px;
    font-weight: 800;
  }

  .stat-label {
    font-size: 0.68rem;
    letter-spacing: 0.3px;
    text-transform: uppercase;
  }

  /* Hero Visual Card (Sleek Clean Showcase on Mobile) */
  .hero-visual-card {
    position: relative;
    border-width: 1.5px;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    background: #0B1720;
  }

  .hero-img-container {
    height: 275px;
    width: 100%;
    position: relative;
    background: #0B1720;
    overflow: hidden;
  }

  .hero-slide .hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .hero-slide-scrim {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 65%, rgba(11, 23, 32, 0.45) 100%);
    pointer-events: none;
  }

  .hero-carousel-dots {
    bottom: 12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 4px 10px;
    gap: 6px;
    z-index: 4;
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
  }

  .hero-dot {
    width: 6px;
    height: 6px;
  }

  .hero-dot.active {
    width: 18px;
  }

  /* Dual Specialty Strip docked cleanly below image on mobile (Clean stacked format) */
  .dual-specialty-strip {
    position: relative;
    bottom: auto;
    left: auto;
    right: auto;
    width: 100%;
    padding: 12px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    background: #0B1720;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
  }

  .specialty-chip {
    display: flex;
    flex-direction: column;
    gap: 2px;
  }

  .specialty-chip-title {
    font-size: 0.8rem;
    font-weight: 700;
  }

  .specialty-chip-doc {
    font-size: 0.72rem;
    opacity: 0.9;
  }

  .specialty-chip-desc {
    font-size: 0.68rem;
    line-height: 1.35;
    color: #94A3B8;
  }

  /* Clinical Synergy */
  .synergy-box {
    padding: 24px 18px;
    border-radius: var(--radius-lg);
  }

  .synergy-header {
    margin-bottom: 18px;
  }

  .synergy-header h2 {
    font-size: 1.3rem;
    line-height: 1.3;
  }

  .synergy-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .synergy-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  .synergy-title {
    font-size: 1rem;
    margin-bottom: 6px;
  }

  .synergy-desc {
    font-size: 0.85rem;
    line-height: 1.6;
  }

  /* Foundation & Pillars */
  .about-quote-box {
    padding: 20px 18px;
    border-radius: var(--radius-md);
    margin-bottom: 18px;
  }

  .about-quote-text {
    font-size: 0.92rem;
    line-height: 1.62;
    margin-bottom: 14px;
  }

  .pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .pillar-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  .pillar-title {
    font-size: 1.02rem;
    margin-bottom: 6px;
  }

  .pillar-text {
    font-size: 0.84rem;
    line-height: 1.55;
  }

  /* Doctor Cards - Framed Portrait with Visible Faces & Spacious Padding */
  .doctors-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .doctor-card {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    overflow: hidden;
  }

  .doctor-image-wrapper {
    min-height: 310px;
    height: 310px;
    width: 100%;
  }

  .doctor-image {
    object-position: center 72%;
  }

  .doctor-content {
    padding: 22px 18px;
  }

  .doctor-dept-tag {
    font-size: 0.74rem;
    margin-bottom: 6px;
  }

  .doctor-name {
    font-size: 1.25rem;
    margin-bottom: 4px;
  }

  .doctor-qualification {
    font-size: 0.78rem;
    margin-bottom: 12px;
  }

  .doctor-specialty-tags {
    gap: 6px 8px;
    margin-bottom: 14px;
  }

  .spec-tag {
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: var(--radius-full);
  }

  .doctor-summary {
    font-size: 0.85rem;
    line-height: 1.6;
    margin-bottom: 16px;
  }

  .doctor-card-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    padding-top: 14px;
    border-top: 1px solid var(--border-color);
  }

  .doctor-card-footer .doctor-bio-btn {
    justify-content: center;
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .doctor-card-footer .btn {
    width: 100%;
    justify-content: center;
    padding: 11px;
    font-size: 0.9rem;
    font-weight: 600;
  }

  /* Specialized Treatments Section */
  .services-filter-nav {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 18px 14px;
    margin: 0 -18px 18px;
    gap: 8px;
    scrollbar-width: none;
    -ms-overflow-style: none;
  }

  .services-filter-nav::-webkit-scrollbar {
    display: none;
  }

  .filter-tab-btn {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 8px 16px;
    font-size: 0.82rem;
    border-radius: var(--radius-full);
  }

  .services-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .service-card {
    padding: 20px 18px;
    border-radius: var(--radius-md);
  }

  .service-title {
    font-size: 1.05rem;
    margin-bottom: 8px;
  }

  .service-feature-list {
    gap: 8px;
    margin-bottom: 16px;
  }

  .service-feature-item {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .service-footer-btn {
    width: 100%;
    justify-content: center;
    padding: 10px 14px;
    font-size: 0.84rem;
  }

  /* Facilities & Centre Tour Gallery */
  .facilities-pills-row {
    justify-content: flex-start;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding: 6px 18px 12px;
    margin: 0 -18px 18px;
    gap: 8px;
    scrollbar-width: none;
  }

  .facilities-pills-row::-webkit-scrollbar {
    display: none;
  }

  .facility-chip {
    white-space: nowrap;
    flex-shrink: 0;
    padding: 7px 14px;
    font-size: 0.78rem;
  }

  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .gallery-card-hero,
  .gallery-card-consult,
  .gallery-card-fdi,
  .gallery-card-operatory-1,
  .gallery-card-operatory-2 {
    grid-column: span 1;
  }

  .gallery-card-hero .gallery-img-box,
  .gallery-card-consult .gallery-img-box,
  .gallery-card-operatory-1 .gallery-img-box,
  .gallery-card-operatory-2 .gallery-img-box {
    height: 265px !important;
  }

  .gallery-card-fdi .gallery-img-box {
    height: 330px !important;
  }

  .gallery-img-box {
    position: relative;
    overflow: hidden;
    background: #0F172A;
  }

  .gallery-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
  }

  .gallery-card-fdi .gallery-img {
    object-position: center 25%;
  }

  .gallery-zoom-badge {
    opacity: 0.92;
    transform: scale(1);
    width: 32px;
    height: 32px;
    font-size: 0.78rem;
    top: 12px;
    right: 12px;
    background: rgba(15, 23, 42, 0.75);
    border-color: rgba(255, 255, 255, 0.3);
  }

  .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 60%, rgba(15, 23, 42, 0.92) 100%);
    padding: 14px 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
  }

  .gallery-caption {
    font-size: 0.98rem;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
  }

  .gallery-sub {
    font-size: 0.74rem;
    color: #CBD5E1;
    margin-top: 3px;
    line-height: 1.35;
  }

  /* Why Choose Us & Reviews */
  .reasons-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .reason-card {
    padding: 18px 16px;
    border-radius: var(--radius-md);
  }

  /* Testimonials Smooth Horizontal Carousel on Mobile */
  .testimonials-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 14px;
    padding: 6px 18px 18px;
    margin: 0 -18px;
    scrollbar-width: none;
  }

  .testimonials-grid::-webkit-scrollbar {
    display: none;
  }

  .testimonial-card {
    min-width: 86vw;
    max-width: 86vw;
    flex-shrink: 0;
    scroll-snap-align: center;
    padding: 20px 18px;
    border-radius: var(--radius-lg);
  }

  .testimonial-quote {
    font-size: 0.86rem;
    line-height: 1.58;
    margin-bottom: 14px;
  }

  /* FAQ Accordion */
  .faq-trigger {
    padding: 15px 18px;
    font-size: 0.9rem;
    gap: 10px;
  }

  .faq-answer-content {
    padding: 0 18px 18px;
    font-size: 0.84rem;
    line-height: 1.6;
  }

  /* Appointment Booking */
  .booking-wrapper {
    grid-template-columns: 1fr;
    border-radius: var(--radius-lg);
    gap: 0;
  }

  .booking-info-sidebar {
    padding: 24px 18px;
  }

  .sidebar-title {
    font-size: 1.2rem;
    margin-bottom: 6px;
  }

  .sidebar-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    margin-bottom: 18px;
  }

  .sidebar-highlights {
    gap: 10px;
    margin-bottom: 20px;
  }

  .booking-form-area {
    padding: 24px 18px;
  }

  .form-group {
    margin-bottom: 16px;
  }

  .form-control {
    font-size: 15px;
    height: 44px;
    padding: 10px 14px;
    border-radius: var(--radius-md);
  }

  textarea.form-control {
    min-height: 85px;
    height: auto;
  }

  .form-label {
    font-size: 0.8rem;
    margin-bottom: 6px;
    font-weight: 600;
  }

  .slot-options-group {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .slot-radio-label {
    padding: 10px 14px;
    font-size: 0.84rem;
    border-radius: var(--radius-md);
  }

  .btn-submit-booking {
    padding: 13px 20px;
    font-size: 0.94rem;
    font-weight: 700;
    border-radius: var(--radius-md);
  }

  /* Footer */
  .site-footer {
    padding: 44px 0 24px;
  }

  .footer-top-grid {
    grid-template-columns: 1fr;
    gap: 24px;
    margin-bottom: 24px;
  }

  .footer-brand-title {
    font-size: 1.1rem;
    margin-bottom: 6px;
  }

  .footer-col-title {
    font-size: 0.95rem;
    margin-bottom: 12px;
  }

  .footer-contact-details {
    gap: 14px;
  }

  .footer-bottom-strip {
    flex-direction: column;
    text-align: center;
    gap: 14px;
    padding-top: 20px;
  }

  .footer-legal-links {
    justify-content: center;
    gap: 16px;
    font-size: 0.78rem;
  }

  /* Modals on Mobile */
  .bio-modal-container,
  .ticket-container {
    padding: 24px 18px;
    max-width: 94vw;
    width: 94vw;
    border-radius: var(--radius-lg);
  }

  .bio-header {
    flex-direction: column;
    text-align: center;
    gap: 14px;
  }

  .bio-doctor-img {
    width: 84px;
    height: 84px;
    margin: 0 auto;
  }

  .ticket-header-title {
    font-size: 1.25rem;
  }

  .ticket-card-box {
    padding: 14px;
  }

  .ticket-row {
    font-size: 0.82rem;
  }

  /* Floating Action Buttons: Hide on mobile to prevent blocking screen & buttons */
  .floating-actions-container {
    display: none !important;
  }

  /* Sticky Mobile Bottom Bar */
  .mobile-bottom-bar {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: calc(54px + env(safe-area-inset-bottom, 0px));
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    box-shadow: 0 -4px 18px rgba(0, 0, 0, 0.08);
    z-index: 9998;
    align-items: center;
    justify-content: space-around;
    padding: 0 6px env(safe-area-inset-bottom, 0px);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
  }

  .mobile-bottom-btn {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 2px;
    height: 100%;
    text-decoration: none;
    color: var(--text-secondary);
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.2px;
    transition: var(--transition-fast);
  }

  .mobile-bottom-btn i {
    font-size: 1.05rem;
    color: var(--text-dark);
  }

  .mobile-bottom-btn:active {
    transform: scale(0.95);
  }

  .mobile-bottom-btn-whatsapp i {
    color: #25D366;
  }

  .mobile-bottom-btn-whatsapp span {
    color: var(--text-dark);
  }

  .mobile-bottom-btn-book {
    background: linear-gradient(135deg, #1E293B 0%, #0F172A 100%);
    color: #FFFFFF !important;
    border-radius: var(--radius-sm);
    height: 40px;
    margin: 0 4px;
    box-shadow: 0 3px 10px rgba(15, 23, 42, 0.25);
  }

  .mobile-bottom-btn-book i {
    color: #FFFFFF !important;
    font-size: 0.95rem;
  }

  .mobile-bottom-btn-book span {
    color: #FFFFFF !important;
  }

  [data-theme="dark"] .mobile-bottom-btn-book {
    background: linear-gradient(135deg, #FFFFFF 0%, #E2E8F0 100%);
    color: #0F172A !important;
  }

  [data-theme="dark"] .mobile-bottom-btn-book i,
  [data-theme="dark"] .mobile-bottom-btn-book span {
    color: #0F172A !important;
  }

  /* Lightbox Modal on Mobile */
  .lightbox-modal {
    padding: 12px;
  }

  .lightbox-content {
    max-width: 100%;
    width: 100%;
  }

  .lightbox-img {
    max-height: 72vh;
    border-radius: var(--radius-md);
  }

  .lightbox-close {
    top: -42px;
    right: 4px;
    font-size: 2.2rem;
    line-height: 1;
    color: #FFFFFF;
  }

  .lightbox-title {
    font-size: 0.95rem;
    margin-top: 10px;
    padding: 0 8px;
    line-height: 1.35;
  }
}

/* Extra Compact Phones (<380px) */
@media (max-width: 380px) {
  .brand-title {
    font-size: 0.88rem;
  }

  .brand-subtitle {
    font-size: 0.56rem;
  }

  .brand-emblem-wrap {
    width: 32px;
    height: 32px;
  }

  .hero-img-container {
    height: 250px !important;
  }

  .gallery-card-hero .gallery-img-box,
  .gallery-card-consult .gallery-img-box,
  .gallery-card-operatory-1 .gallery-img-box,
  .gallery-card-operatory-2 .gallery-img-box {
    height: 235px !important;
  }

  .gallery-card-fdi .gallery-img-box {
    height: 290px !important;
  }

  .hero-title {
    font-size: 1.65rem;
  }

  .section-title {
    font-size: 1.62rem;
  }

  .hero-stats-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Scroll-Triggered Reveal Animations for Cards & Images
   ========================================================================== */
.scroll-reveal {
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), 
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}

.scroll-reveal:not(.is-revealed) {
  opacity: 0.2;
  transform: translateY(24px);
}

.scroll-reveal.reveal-scale:not(.is-revealed) {
  opacity: 0.2;
  transform: scale(0.96) translateY(18px);
}

.scroll-reveal.reveal-left:not(.is-revealed) {
  opacity: 0.2;
  transform: translateX(-28px);
}

.scroll-reveal.reveal-right:not(.is-revealed) {
  opacity: 0.2;
  transform: translateX(28px);
}

.scroll-reveal.is-revealed {
  opacity: 1;
}

/* Stagger transition delays for grid cards */
.scroll-reveal[data-stagger="0"] { transition-delay: 0ms; }
.scroll-reveal[data-stagger="1"] { transition-delay: 80ms; }
.scroll-reveal[data-stagger="2"] { transition-delay: 160ms; }
.scroll-reveal[data-stagger="3"] { transition-delay: 240ms; }
.scroll-reveal[data-stagger="4"] { transition-delay: 320ms; }
.scroll-reveal[data-stagger="5"] { transition-delay: 400ms; }

/* Image cinematic reveal zoom */
.scroll-reveal-img {
  overflow: hidden;
}

.scroll-reveal-img img {
  transform: scale(1.08);
  transition: transform 1.2s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.scroll-reveal-img.is-revealed img {
  transform: scale(1);
}

/* Respect Reduced Motion Preferences */
@media (prefers-reduced-motion: reduce) {
  .scroll-reveal,
  .scroll-reveal.reveal-scale,
  .scroll-reveal.reveal-left,
  .scroll-reveal.reveal-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .scroll-reveal-img img {
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   PREMIUM ANIMATION ADDITIONS — Hero & Site-Wide
   ========================================================================== */

/* ── Floating particle dots ─────────────────────────────────── */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  opacity: 0;
  animation: particleFloat linear infinite;
  background: radial-gradient(circle, rgba(100, 116, 139, 0.55) 0%, transparent 80%);
  z-index: 0;
}
@keyframes particleFloat {
  0%   { opacity: 0;    transform: translateY(0)   scale(0.5); }
  15%  { opacity: 0.7; }
  85%  { opacity: 0.5; }
  100% { opacity: 0;    transform: translateY(-120px) scale(1.2); }
}
[data-theme="dark"] .hero-particle {
  background: radial-gradient(circle, rgba(203, 213, 225, 0.25) 0%, transparent 80%);
}

/* ── Animated border-glow on cards on hover ─────────────────── */
.service-card,
.synergy-card,
.pillar-card,
.reason-box,
.doctor-card {
  position: relative;
  overflow: hidden;
}
.service-card::before,
.synergy-card::before,
.reason-box::before {
  content: '';
  position: absolute;
  inset: -2px;
  background: conic-gradient(from 0deg, transparent 0%, rgba(100,116,139,0.35) 50%, transparent 100%);
  border-radius: inherit;
  opacity: 0;
  transition: opacity 0.35s ease;
  z-index: 0;
  pointer-events: none;
}
.service-card > *,
.synergy-card > *,
.reason-box > * {
  position: relative;
  z-index: 1;
}
.service-card:hover::before,
.synergy-card:hover::before,
.reason-box:hover::before {
  opacity: 1;
}

/* ── Reason-box lift on hover ───────────────────────────────── */
.reason-box {
  transition: transform 0.35s cubic-bezier(0.4,0,0.2,1), box-shadow 0.35s ease;
}
.reason-box:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: var(--shadow-lg);
}

/* ── Doctor card image parallax hover ───────────────────────── */
.doctor-image {
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}
.doctor-card:hover .doctor-image {
  transform: scale(1.06) translateY(-4px);
}

/* ── Section headers slide-in ───────────────────────────────── */
.section-header {
  animation: heroFadeUp 0.9s cubic-bezier(0.16,1,0.3,1) both;
}

/* ── Live dot enhanced pulse ────────────────────────────────── */
@keyframes pulse-live {
  0%   { transform: scale(0.9);  box-shadow: 0 0 0 0 rgba(16,185,129,0.8); }
  40%  { transform: scale(1.05); box-shadow: 0 0 0 6px rgba(16,185,129,0.2); }
  70%  { transform: scale(1);    box-shadow: 0 0 0 10px rgba(16,185,129,0); }
  100% { transform: scale(0.9);  box-shadow: 0 0 0 0 rgba(16,185,129,0); }
}
.live-dot {
  animation: pulse-live 1.8s ease-out infinite;
}

/* ── Scroll-to-top button spin on hover ─────────────────────── */
.scroll-top-btn {
  transition: transform 0.3s ease, background 0.3s ease;
}
.scroll-top-btn:hover {
  transform: translateY(-4px) rotate(-10deg);
}

/* ── Nav link underline animation ───────────────────────────── */
.nav-link::after {
  transition: transform 0.3s cubic-bezier(0.4,0,0.2,1), opacity 0.3s ease;
  opacity: 0;
}
.nav-link:hover::after,
.nav-link.active::after {
  opacity: 1;
}

/* ── Hero visual entrance scale ─────────────────────────────── */
@keyframes heroImageReveal {
  from { opacity: 0; transform: scale(0.96) translateY(20px); }
  to   { opacity: 1; transform: scale(1)    translateY(0);    }
}
.hero-visual-card {
  animation: heroImageReveal 1.1s cubic-bezier(0.16,1,0.3,1) 0.5s both;
}

/* ── Floating badge icon spin on hover ──────────────────────── */
.floating-badge-icon {
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
}
.floating-badge:hover .floating-badge-icon {
  transform: rotate(15deg) scale(1.15);
}

/* ── Booking form focus glow ─────────────────────────────────── */
.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  box-shadow: 0 0 0 3px rgba(100,116,139,0.18), var(--shadow-sm);
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}

/* ── Stagger-enhanced scroll reveals ─────────────────────────── */
.scroll-reveal[data-stagger="0"] { transition-delay: 0ms;   }
.scroll-reveal[data-stagger="1"] { transition-delay: 90ms;  }
.scroll-reveal[data-stagger="2"] { transition-delay: 180ms; }
.scroll-reveal[data-stagger="3"] { transition-delay: 270ms; }
.scroll-reveal[data-stagger="4"] { transition-delay: 360ms; }
.scroll-reveal[data-stagger="5"] { transition-delay: 450ms; }

/* ── Synergy card icon shimmer ───────────────────────────────── */
@keyframes iconGlow {
  0%,100% { text-shadow: none; }
  50%     { text-shadow: 0 0 14px rgba(100,116,139,0.6); }
}
.pillar-icon-box i,
.reason-icon i {
  transition: transform 0.35s ease;
}
.pillar-card:hover .pillar-icon-box i,
.reason-box:hover .reason-icon i {
  transform: scale(1.22) rotate(-8deg);
  animation: iconGlow 1.5s ease-in-out infinite;
}

/* ── Button ripple effect ────────────────────────────────────── */
.btn {
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(255,255,255,0.22) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn:active::after {
  opacity: 1;
}

/* ── Specialty filter tabs animated indicator ────────────────── */
.filter-tab-btn {
  position: relative;
  overflow: hidden;
}
.filter-tab-btn::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: width 0.3s ease, left 0.3s ease;
}
.filter-tab-btn.active::before,
.filter-tab-btn:hover::before {
  width: 70%;
  left: 15%;
}

/* ── Hero stats shimmer line separator ───────────────────────── */
.hero-stats-row {
  position: relative;
  overflow: hidden;
}
.hero-stats-row::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(105deg, transparent 40%, rgba(255,255,255,0.3) 50%, transparent 60%);
  animation: shimmerSweep 4s ease-in-out 2s infinite;
  pointer-events: none;
}

/* ==========================================================================
   PREMIUM SCROLL ANIMATIONS — Word Reveals, Directional Slides, Clip-Path
   ========================================================================== */

/* ── Word-by-word heading split reveal ────────────────────────── */
.word-reveal {
  display: inline-block;
  opacity: 0.25;
  transform: translateY(12px);
  transition:
    opacity  0.55s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.55s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.word-reveal.word-visible {
  opacity: 1;
  transform: translateY(0);
}
/* Override .highlight gradient clip for word spans */
.highlight.word-reveal,
.word-reveal .highlight,
.word-reveal span.highlight {
  display: inline-block;
}

/* ── Reveal: drop from top (section tags) ─────────────────────── */
.reveal-drop {
  opacity: 0.3;
  transform: translateY(-16px);
  transition:
    opacity  0.6s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-drop.reveal-done {
  opacity: 1;
  transform: translateY(0);
}

/* ── Reveal: slide from left ──────────────────────────────────── */
.reveal-from-left {
  opacity: 0.2;
  transform: translateX(-36px);
  transition:
    opacity  0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-from-left.reveal-done {
  opacity: 1;
  transform: translateX(0);
}

/* ── Reveal: slide from right ─────────────────────────────────── */
.reveal-from-right {
  opacity: 0.2;
  transform: translateX(36px);
  transition:
    opacity  0.75s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.75s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-from-right.reveal-done {
  opacity: 1;
  transform: translateX(0);
}

/* ── Reveal: clip-path wipe from bottom ───────────────────────── */
.reveal-clip {
  opacity: 0.3;
  transition:
    opacity   0.5s ease;
  will-change: opacity;
}
.reveal-clip.reveal-done {
  opacity: 1;
}

/* ── Reveal: zoom scale-up ────────────────────────────────────── */
.reveal-zoom {
  opacity: 0.25;
  transform: scale(0.96) translateY(14px);
  transition:
    opacity  0.7s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: opacity, transform;
}
.reveal-zoom.reveal-done {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* ── Section tag pulse when section enters view ───────────────── */
@keyframes tagPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.06); }
  70%  { transform: scale(0.97); }
  100% { transform: scale(1); }
}
.section-tag.tag-in-view {
  animation: tagPop 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

/* ── Parallax: ensure blobs/halo keep will-change from JS ─────── */
.hero-blob-1,
.hero-blob-2,
.hero-blob-3,
.hero-halo,
.hero-dotgrid {
  will-change: transform;
}

/* ── Respect reduced motion ──────────────────────────────────────*/
@media (prefers-reduced-motion: reduce) {
  .word-reveal,
  .reveal-drop,
  .reveal-from-left,
  .reveal-from-right,
  .reveal-clip,
  .reveal-zoom {
    opacity: 1 !important;
    transform: none !important;
    clip-path: none !important;
    transition: none !important;
  }
  .hero-blob-1,
  .hero-blob-2,
  .hero-blob-3,
  .hero-halo,
  .hero-dotgrid,
  .hero-img {
    animation: none !important;
    transform: none !important;
  }
}
