/*
 * Hope Clinic Udaipur - Core Design System
 * Aesthetic: Apple, Stripe, and Linear inspired modern premium healthcare interface
 */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,300;0,400;0,500;0,600;0,700;1,400&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Figtree:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&family=Manrope:wght@400;500;600;700;800&family=Poppins:wght@400;500;600;700;800;900&display=swap');

:root {
  /* Colors */
  --color-sapphire: #4c1d95;
  /* Luxury Violet Primary */
  --color-electric: #6d28d9;
  /* Deep Purple */
  --color-cyan: #06b6d4;
  --color-teal: #0d9488;
  --color-emerald: #10b981;
  --color-coral: #e11d48;
  --color-amber: #f59e0b;
  --color-purple: #7c3aed;
  --color-bg-light: #fafaf9;
  /* Premium Warm Off-White */
  --color-bg-dark: #0f0920;
  --color-card-light: rgba(255, 255, 255, 0.9);
  --color-card-dark: rgba(15, 23, 42, 0.65);
  --color-text-dark: #1e1b4b;
  /* Deepest Indigo Text */
  --color-text-light: #f8fafc;
  --color-text-muted: #475569;
  --color-text-muted-dark: #94a3b8;
  --color-border-light: rgba(76, 29, 149, 0.1);
  --color-border-dark: rgba(255, 255, 255, 0.08);

  /* Premium Design System Additions (Reference-based Purple Vibe) */
  --color-sapphire-dark: #2e1065;
  --color-slate-dark: #1e1b4b;
  --color-glass-bg: rgba(255, 255, 255, 0.7);
  --color-glass-border: rgba(76, 29, 149, 0.08);
  --color-glass-light-bg: rgba(255, 255, 255, 0.4);
  --color-active-pill: rgba(76, 29, 149, 0.05);

  --color-premium-teal: #0d9488;
  --color-premium-purple: #5b21b6;
  --color-premium-amber: #b45309;
  --color-premium-coral: #e11d48;
  --color-premium-cyan: #0891b2;

  /* Gradients */
  --grad-sapphire-cyan: linear-gradient(135deg, var(--color-sapphire) 0%, var(--color-electric) 50%, var(--color-cyan) 100%);
  --grad-teal-emerald: linear-gradient(135deg, var(--color-teal) 0%, var(--color-emerald) 100%);
  --grad-coral-gold: linear-gradient(135deg, var(--color-coral) 0%, #FF8E53 50%, var(--color-amber) 100%);
  --grad-purple-cyan: linear-gradient(135deg, var(--color-purple) 0%, var(--color-electric) 50%, var(--color-cyan) 100%);
  --grad-dark-mesh: radial-gradient(at 0% 0%, rgba(10, 61, 98, 0.3) 0, transparent 50%),
    radial-gradient(at 50% 0%, rgba(124, 58, 237, 0.2) 0, transparent 50%),
    radial-gradient(at 100% 0%, rgba(0, 217, 255, 0.25) 0, transparent 50%);

  --grad-premium-mesh: radial-gradient(circle at 10% 20%, rgba(13, 148, 136, 0.06) 0%, transparent 40%),
    radial-gradient(circle at 90% 10%, rgba(109, 40, 217, 0.09) 0%, transparent 45%),
    radial-gradient(circle at 50% 80%, rgba(6, 182, 212, 0.06) 0%, transparent 50%),
    radial-gradient(circle at 80% 80%, rgba(217, 119, 6, 0.04) 0%, transparent 35%);

  /* Typography */
  --font-heading: var(--font-editorial);
  --font-body: var(--font-precision);
  --font-highlight: var(--font-precision);
  --font-figtree: var(--font-precision);
  --font-editorial: 'Cormorant Garamond', serif;
  --font-precision: 'Plus Jakarta Sans', sans-serif;

  /* Spacing & Borders */
  --radius-lg: 24px;
  --radius-xl: 32px;
  --radius-sm: 12px;
  --radius-round: 50%;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  --transition-fast: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);

  /* Shadow */
  --shadow-premium: 0 10px 40px -10px rgba(8, 28, 50, 0.08);
  --shadow-glow-cyan: 0 0 25px rgba(0, 217, 255, 0.3);
  --shadow-glow-teal: 0 0 25px rgba(20, 216, 181, 0.3);
  --shadow-glow-purple: 0 0 25px rgba(124, 58, 237, 0.3);
}

/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: var(--color-bg-light);
  color: var(--color-text-dark);
  font-family: var(--font-body);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  width: 100%;
  min-height: 100vh;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-bg-light);
}

::-webkit-scrollbar-thumb {
  background: rgba(37, 99, 255, 0.2);
  border-radius: 10px;
  border: 2px solid var(--color-bg-light);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-electric);
}

/* Custom Cursor Glow */
.custom-cursor {
  display: none !important;
}

.cursor-glow {
  width: 250px;
  height: 250px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.12) 0%, rgba(0, 217, 255, 0.03) 50%, transparent 100%);
  border-radius: 50%;
  position: fixed;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 9998;
  display: none;
}

@media (pointer: fine) {
  .cursor-glow {
    display: block;
  }
}

/* Typography Helpers */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 300;
  /* Lighter weight matching hero title */
  line-height: 1.1;
  letter-spacing: -1px;
  color: var(--color-text-dark);
}

p {
  line-height: 1.6;
  font-family: var(--font-body);
}

.highlight-text {
  font-family: var(--font-highlight);
  font-weight: 600;
}

/* Glassmorphism Panels */
.glass-panel {
  background: var(--color-card-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-premium);
}

.glass-card {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
  transition: var(--transition-smooth);
}

/* Dynamic Aurora Spots */
.aurora-bg {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  overflow: hidden;
  z-index: -2;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  filter: blur(120px);
  border-radius: 50%;
  opacity: 0.35;
  mix-blend-mode: multiply;
  animation: float-blob 25s infinite alternate ease-in-out;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: var(--color-cyan);
  top: -100px;
  right: -50px;
  animation-duration: 20s;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: var(--color-purple);
  bottom: -200px;
  left: -100px;
  animation-duration: 28s;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: var(--color-teal);
  top: 40%;
  right: 25%;
  animation-duration: 24s;
}

@keyframes float-blob {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }

  50% {
    transform: translate(60px, -40px) scale(1.1) rotate(180deg);
  }

  100% {
    transform: translate(-40px, 50px) scale(0.9) rotate(360deg);
  }
}

/* Floating Particle Canvas */
#particle-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
}

/* Gradient Text */
.gradient-text {
  background: linear-gradient(135deg, var(--color-sapphire) 0%, var(--color-electric) 50%, var(--color-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-cyan {
  background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-teal {
  background: linear-gradient(135deg, var(--color-teal) 0%, var(--color-emerald) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.gradient-text-coral {
  background: linear-gradient(135deg, var(--color-coral) 0%, #FF8E53 50%, var(--color-amber) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Layout Elements */
.container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Top Contact Info Bar */
.top-bar {
  background: var(--color-sapphire-dark);
  color: rgba(255, 255, 255, 0.95);
  font-family: var(--font-precision);
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.5px;
  width: 100%;
  height: 36px;
  display: flex;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1002;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.top-bar-container {
  width: 100%;
  max-width: 1320px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.top-bar-left,
.top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  color: rgba(255, 255, 255, 0.85);
  transition: var(--transition-fast);
}

.top-bar-item:hover {
  color: var(--color-cyan);
}

.top-bar-item svg {
  color: var(--color-cyan);
}

/* Header & Navigation (Capsule OS Dock) */
.header {
  position: fixed;
  top: 60px;
  /* Offset below top-bar */
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 1200px;
  height: 76px;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 32px;
  border-radius: 38px;
  background: var(--color-glass-bg);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid var(--color-glass-border);
  box-shadow: 0 10px 40px -10px rgba(15, 23, 42, 0.05);
  transition: var(--transition-smooth);
}

.header.scrolled {
  top: 12px;
  height: 66px;
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(76, 29, 149, 0.08);
  box-shadow: 0 10px 30px -10px rgba(76, 29, 149, 0.06);
}

.logo-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--color-text-dark);
  transition: var(--transition-fast);
}

.site-logo {
  height: 48px;
  width: auto;
  display: block;
  object-fit: contain;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.header.scrolled .site-logo {
  height: 42px;
}

.logo-wrapper:hover .site-logo {
  transform: scale(1.04);
}

.site-logo.logo-dark-bg {
  background-color: #ffffff;
  padding: 8px 16px;
  border-radius: 8px;
  height: 96px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Reference-inspired block letters brandmark [H][O][P][E] styling */
.logo-block-container {
  display: flex;
  gap: 4px;
  align-items: center;
}

.logo-block-letter {
  width: 28px;
  height: 28px;
  background: linear-gradient(135deg, var(--color-sapphire) 0%, var(--color-premium-purple) 100%);
  color: #ffffff;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-precision);
  font-weight: 800;
  font-size: 14px;
  box-shadow: 0 3px 6px rgba(76, 29, 149, 0.15);
}

.logo-text {
  font-family: var(--font-precision);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: -0.5px;
  line-height: 1.1;
  color: var(--color-text-dark);
}

.logo-text span {
  font-family: var(--font-precision);
  font-weight: 400;
  color: var(--color-premium-teal);
  font-size: 11px;
  display: block;
  opacity: 0.8;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
}

.nav-link {
  text-decoration: none;
  color: rgba(30, 27, 75, 0.7);
  font-family: var(--font-precision);
  font-weight: 600;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: var(--transition-fast);
  position: relative;
  padding: 6px 14px;
  border-radius: 16px;
  display: block;
}

.nav-link:hover {
  color: var(--color-sapphire);
  background: var(--color-active-pill);
}

.nav-link.active {
  color: var(--color-sapphire);
  background: var(--color-active-pill);
  box-shadow: inset 0 1px 1px rgba(76, 29, 149, 0.03);
  border: 1px solid rgba(76, 29, 149, 0.05);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Premium Header CTA (Purple button to draw the eye) */
.header-cta .btn-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 18px;
  font-family: var(--font-precision);
  font-weight: 600;
  font-size: 13px;
  text-decoration: none;
  cursor: pointer;
  border: none;
  background: var(--color-sapphire);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(76, 29, 149, 0.15);
  transition: var(--transition-smooth);
}

.header-cta .btn-header:hover {
  background: var(--color-electric);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(76, 29, 149, 0.25);
}

/* Mobile Nav Toggle */
.mobile-nav-toggle {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 24px;
  height: 16px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 1001;
}

.mobile-nav-toggle span {
  width: 100%;
  height: 2px;
  background-color: var(--color-sapphire-dark);
  border-radius: 10px;
  transition: var(--transition-smooth);
}

.header.scrolled .mobile-nav-toggle span {
  background-color: var(--color-sapphire-dark);
}

/* Premium Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 26px;
  border-radius: 24px;
  font-family: var(--font-precision);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  cursor: pointer;
  border: 1px solid transparent;
  transition: var(--transition-smooth);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
}

.btn-primary {
  background: var(--color-sapphire);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.1);
  box-shadow: 0 8px 24px -6px rgba(76, 29, 149, 0.3);
}

.btn-primary:hover {
  background: var(--color-electric);
  box-shadow: 0 12px 28px -6px rgba(109, 40, 217, 0.4), var(--shadow-glow-cyan);
  transform: translateY(-2px);
}

.btn-secondary {
  background: #ffffff;
  color: var(--color-text-dark);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
}

.btn-secondary:hover {
  background: rgba(76, 29, 149, 0.03);
  border-color: var(--color-sapphire);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(76, 29, 149, 0.1);
}

.btn-accent {
  background: linear-gradient(135deg, var(--color-premium-purple) 0%, var(--color-premium-teal) 100%);
  color: #fff;
  box-shadow: 0 8px 24px -6px rgba(76, 29, 149, 0.3);
}

.btn-accent:hover {
  box-shadow: 0 12px 28px -6px rgba(76, 29, 149, 0.5), 0 0 20px rgba(6, 182, 212, 0.15);
  transform: translateY(-2px);
}

/* Hero Section (Reference-inspired Purple Light Theme) */
.hero-section {
  position: relative;
  padding-top: 180px;
  padding-bottom: 120px;
  min-height: 100vh;
  display: flex;
  align-items: center;
  background-color: var(--color-bg-light);
  background-image: var(--grad-premium-mesh);
  overflow: hidden;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url('../assets/hero-bg-cancer.png');
  background-size: cover;
  background-position: center;
  opacity: 1;
  z-index: 0;
  pointer-events: none;
}

/* Premium Noise Overlay */
.hero-noise {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.025'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 1;
}

.hero-grid-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image:
    linear-gradient(rgba(76, 29, 149, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(76, 29, 149, 0.015) 1px, transparent 1px);
  background-size: 50px 50px;
  background-position: center;
  z-index: 0;
  pointer-events: none;
}

.hero-grid {
  display: block;
  max-width: 800px;
  position: relative;
  z-index: 2;
}

/* Above title brandmark representation inspired by reference image */
.hero-brandmark {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
}

.hero-brandmark .logo-block-container {
  gap: 3px;
}

.hero-brandmark .logo-block-letter {
  width: 22px;
  height: 22px;
  border-radius: 4px;
  font-size: 11px;
  box-shadow: 0 2px 4px rgba(76, 29, 149, 0.1);
}

.brandmark-text {
  font-family: var(--font-precision);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--color-premium-purple);
}

.hero-title {
  font-family: var(--font-editorial);
  font-size: clamp(3rem, 5.5vw, 4.8rem);
  font-weight: 300;
  line-height: 1.05;
  letter-spacing: -1px;
  color: var(--color-text-dark);
  margin-bottom: 24px;
}

.hero-title span.highlight-color {
  display: inline-block;
  font-style: italic;
  font-weight: 400;
  color: var(--color-premium-teal);
  background: linear-gradient(135deg, var(--color-sapphire) 30%, var(--color-premium-purple) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-description {
  font-family: var(--font-precision);
  font-size: 16px;
  font-weight: 400;
  color: var(--color-text-muted);
  margin-bottom: 36px;
  max-width: 520px;
  line-height: 1.6;
}

/* Specialties Tag List (Light-theme friendly) */
.hero-specialties {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.specialty-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-precision);
  font-size: 12px;
  font-weight: 600;
  color: var(--color-text-dark);
  background: #ffffff;
  padding: 6px 14px;
  border-radius: 20px;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.02);
  transition: var(--transition-fast);
}

.specialty-item:hover {
  transform: translateY(-1px);
  background: rgba(76, 29, 149, 0.02);
  border-color: var(--color-sapphire);
}

.specialty-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-premium-teal);
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hero-actions .btn {
  font-size: 13.5px;
  padding: 12px 24px;
}

.hero-actions .btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

/* Asymmetric Hero Visual System */
.hero-visual {
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
}

.surgeon-hero-container {
  position: relative;
  width: 100%;
  max-width: 440px;
  height: 480px;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

/* Decorative background shape - soft pastel meshes */
.surgeon-hero-bg-shape {
  position: absolute;
  top: -10px;
  right: -25px;
  width: 100%;
  height: 100%;
  border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  background: radial-gradient(circle at 70% 30%, rgba(13, 148, 136, 0.12) 0%, rgba(109, 40, 217, 0.08) 100%);
  filter: blur(8px);
  z-index: -1;
  border: 1px solid rgba(76, 29, 149, 0.06);
  transform: rotate(-10deg);
  animation: organic-morph 15s infinite alternate ease-in-out;
}

@keyframes organic-morph {
  0% {
    border-radius: 40% 60% 70% 30% / 40% 50% 60% 50%;
  }

  50% {
    border-radius: 60% 40% 50% 50% / 50% 60% 40% 60%;
  }

  100% {
    border-radius: 50% 50% 60% 40% / 40% 40% 60% 50%;
  }
}

.surgeon-hero-frame {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  border-radius: 24px;
  overflow: hidden;
  background: #ffffff;
  border: 8px solid #ffffff;
  box-shadow: 0 20px 45px -10px rgba(15, 23, 42, 0.1);
  transform: rotate(1deg);
  transition: var(--transition-smooth);
}

.surgeon-hero-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.15) 0%, transparent 60%);
  pointer-events: none;
}

.surgeon-hero-frame:hover {
  transform: rotate(0deg) scale(1.01);
  border-color: #ffffff;
  box-shadow: 0 35px 60px -15px rgba(15, 23, 42, 0.15);
}

.surgeon-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.surgeon-hero-frame:hover .surgeon-hero-img {
  transform: scale(1.04);
}

/* Surgical Excellence Badge - Floating UI */
.excellence-badge {
  position: absolute;
  top: -15px;
  right: -15px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  padding: 8px 16px;
  border-radius: 30px;
  display: flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 10px 25px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(76, 29, 149, 0.1);
  z-index: 10;
}

.excellence-badge span {
  font-family: var(--font-precision);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--color-text-dark);
}

.excellence-badge .badge-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-premium-teal);
}

/* Doctor Credentials Card - Floating Glass Overlay */
.doctor-credential-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  width: 250px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(76, 29, 149, 0.08);
  border-radius: 16px;
  padding: 16px;
  box-shadow: 0 15px 35px rgba(15, 23, 42, 0.08);
  z-index: 10;
}

.credential-name {
  color: var(--color-text-dark);
  font-family: var(--font-precision);
  font-size: 14.5px;
  font-weight: 700;
  margin-bottom: 2px;
}

.credential-title {
  color: var(--color-sapphire);
  font-family: var(--font-precision);
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 10px;
}

.credential-meta {
  display: flex;
  align-items: center;
  gap: 8px;
}

.meta-tag {
  font-family: var(--font-precision);
  font-size: 9.5px;
  font-weight: 600;
  color: var(--color-text-muted);
  background: rgba(76, 29, 149, 0.04);
  padding: 2px 8px;
  border-radius: 6px;
  border: 1px solid rgba(76, 29, 149, 0.04);
}

.meta-separator {
  color: rgba(76, 29, 149, 0.15);
  font-size: 10px;
}

/* Section Header (Stripe-like) */
.section-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 60px;
}

.section-tag {
  font-family: var(--font-highlight);
  font-weight: 700;
  color: var(--color-electric);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 16px;
  display: block;
}

.section-title {
  font-family: var(--font-editorial);
  font-size: 36px;
  font-weight: 300;
  color: var(--color-text-dark);
  letter-spacing: -1px;
}

.section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-top: 16px;
}

/* ================================================
   Patient First Core Values — Horizontal Bento Grid
   ================================================ */
.values-bento-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

/* Each card: horizontal 50/50 split */
.vbento-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  min-height: 300px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  position: relative;
  background: #fff;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.vbento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 24px 50px -12px rgba(8, 28, 50, 0.14);
  border-color: rgba(37, 99, 235, 0.25);
}

/* Odd cards (1, 3): content LEFT — image RIGHT */
.vbento-card:nth-child(odd) .vbento-content { order: 1; }
.vbento-card:nth-child(odd) .vbento-image   { order: 2; }

/* Even cards (2, 4): image LEFT — content RIGHT */
.vbento-card:nth-child(even) .vbento-image   { order: 1; }
.vbento-card:nth-child(even) .vbento-content { order: 2; }

/* Image half — fills its column completely */
.vbento-image {
  position: relative;
  overflow: hidden;
}

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

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

/* Icon — glassy pill overlaid on image, top-left */
.vbento-icon {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-electric);
  box-shadow: 0 4px 14px rgba(8, 28, 50, 0.12);
  z-index: 2;
}

/* Content half */
.vbento-content {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
}

.vbento-content .bento-card-title {
  font-size: 19px;
  font-weight: 600;
  color: var(--color-sapphire);
  margin: 0;
  line-height: 1.3;
}

.vbento-content .bento-card-desc {
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.7;
  margin: 0;
}

/* ── Per-card vibrant gradients on content half ── */

/* Card 1 — Soft Navy → Periwinkle Blue */
.vbento-card:nth-child(1) .vbento-content {
  background: linear-gradient(145deg, #3b5cb8 0%, #5b7fd4 55%, #7b9fe8 100%);
}

/* Card 2 — Soft Indigo → Lavender Blue */
.vbento-card:nth-child(2) .vbento-content {
  background: linear-gradient(145deg, #6366f1 0%, #818cf8 55%, #a5b4fc 100%);
}

/* Card 3 — Soft Sky → Light Cyan */
.vbento-card:nth-child(3) .vbento-content {
  background: linear-gradient(145deg, #38bdf8 0%, #7dd3fc 55%, #bae6fd 100%);
}

/* Card 4 — Soft Violet → Muted Purple Blue */
.vbento-card:nth-child(4) .vbento-content {
  background: linear-gradient(145deg, #7c3aed 0%, #a78bfa 55%, #c4b5fd 100%);
}

/* White text on all gradient content panels */
.vbento-card:nth-child(1) .vbento-content .bento-card-title,
.vbento-card:nth-child(2) .vbento-content .bento-card-title,
.vbento-card:nth-child(3) .vbento-content .bento-card-title,
.vbento-card:nth-child(4) .vbento-content .bento-card-title {
  color: #ffffff;
}

.vbento-card:nth-child(1) .vbento-content .bento-card-desc,
.vbento-card:nth-child(2) .vbento-content .bento-card-desc,
.vbento-card:nth-child(4) .vbento-content .bento-card-desc {
  color: rgba(255, 255, 255, 0.85);
}

/* Card 3 is lighter — use dark text for readability */
.vbento-card:nth-child(3) .vbento-content .bento-card-title {
  color: #0c4a6e;
}
.vbento-card:nth-child(3) .vbento-content .bento-card-desc {
  color: #0c4a6e;
}

/* Matching tinted icon per card */
.vbento-card:nth-child(1) .vbento-icon { color: #3b5cb8; }
.vbento-card:nth-child(2) .vbento-icon { color: #6366f1; }
.vbento-card:nth-child(3) .vbento-icon { color: #0ea5e9; }
.vbento-card:nth-child(4) .vbento-icon { color: #7c3aed; }


/* Bento Grid System */
.bento-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.bento-card {
  border-radius: var(--radius-lg);
  padding: 40px;
  position: relative;
  overflow: hidden;
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth), background-color var(--transition-smooth);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid var(--color-border-light);
}

.bento-card.col-2 {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
  padding: 30px 40px;
}

.bento-card-info {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.bento-card-visual {
  width: 100%;
  height: 200px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  box-shadow: 0 10px 25px rgba(8, 28, 50, 0.04);
}

.bento-card-visual img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.bento-card:hover .bento-card-visual img {
  transform: scale(1.04);
}

.bento-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.4) 0%, transparent 100%);
  pointer-events: none;
  z-index: 1;
}

.bento-card-glow {
  position: absolute;
  top: var(--mouse-y, 0);
  left: var(--mouse-x, 0);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(37, 99, 255, 0.08) 0%, transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 0;
  opacity: 0;
  transition: opacity 0.5s;
}

.bento-card:hover .bento-card-glow {
  opacity: 1;
}

.bento-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 40px -10px rgba(8, 28, 50, 0.12);
  border-color: rgba(37, 99, 255, 0.3);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.bento-card.col-2 {
  grid-column: span 2;
}

.bento-card.row-2 {
  grid-row: span 2;
}

.bento-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 30px;
  background: #fff;
  color: var(--color-electric);
  box-shadow: 0 8px 20px rgba(37, 99, 255, 0.08);
}

.bento-card-content {
  position: relative;
  z-index: 2;
}

.bento-card-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--color-sapphire);
  margin-bottom: 12px;
}

.bento-card-desc {
  font-size: 15px;
  color: var(--color-text-muted);
  line-height: 1.6;
}


/* Clinical Divisions Section */
.clinical-divisions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 50px;
}

.division-card {
  position: relative;
  height: 400px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border-light);
  background: var(--color-bg-dark);
  box-shadow: var(--shadow-premium);
  cursor: pointer;
  z-index: 1;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.division-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 30px 60px rgba(8, 28, 50, 0.18);
}

/* Background Image container */
.division-bg-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
  z-index: 1;
  transition: transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.division-card:hover .division-bg-img {
  transform: scale(1.08);
}

/* Dark gradient overlay by default */
.division-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  opacity: 0.4;
  transition: opacity 0.5s ease, background 0.5s ease;
}

/* Individual card theme background gradient on hover */
#treat-breast .division-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 20, 0.9) 100%);
}
#treat-breast:hover .division-overlay {
  background: linear-gradient(0deg, rgba(30, 20, 50, 0.98) 0%, rgba(109, 40, 217, 0.85) 100%);
  opacity: 1;
}

#treat-gi .division-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 20, 0.9) 100%);
}
#treat-gi:hover .division-overlay {
  background: linear-gradient(0deg, rgba(10, 30, 30, 0.98) 0%, rgba(13, 148, 136, 0.85) 100%);
  opacity: 1;
}

#treat-hn .division-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 20, 0.9) 100%);
}
#treat-hn:hover .division-overlay {
  background: linear-gradient(0deg, rgba(15, 23, 42, 0.98) 0%, rgba(225, 29, 72, 0.85) 100%);
  opacity: 1;
}

#treat-gyn .division-overlay {
  background: linear-gradient(180deg, transparent 40%, rgba(12, 10, 20, 0.9) 100%);
}
#treat-gyn:hover .division-overlay {
  background: linear-gradient(0deg, rgba(30, 15, 45, 0.98) 0%, rgba(217, 119, 6, 0.85) 100%);
  opacity: 1;
}

/* Default state: Title and icon at bottom */
.division-default-footer {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 3;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease;
  background: linear-gradient(to top, rgba(10, 6, 20, 0.85) 0%, transparent 100%);
}

.division-footer-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.division-footer-title {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}

.division-card:hover .division-default-footer {
  transform: translateY(-20px);
  opacity: 0;
  pointer-events: none;
}

/* Hover state: Content slides up from bottom */
.division-hover-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 36px 30px;
  z-index: 4;
  transform: translateY(30px);
  opacity: 0;
  pointer-events: none;
  display: flex;
  flex-direction: column;
  gap: 15px;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.division-card:hover .division-hover-content {
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.division-hover-icon {
  width: 50px;
  height: 50px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

#treat-breast .division-hover-icon { color: var(--color-purple); }
#treat-gi .division-hover-icon { color: var(--color-teal); }
#treat-hn .division-hover-icon { color: var(--color-coral); }
#treat-gyn .division-hover-icon { color: var(--color-amber); }

.division-hover-title {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 400;
  color: #fff;
  margin: 0;
  letter-spacing: -0.5px;
}

.division-hover-desc {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
}

.division-hover-cta {
  align-self: flex-start;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-decoration: none;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.25);
  transition: background 0.3s, transform 0.3s;
}

.division-hover-cta:hover {
  background: #fff;
  color: var(--color-text-dark);
  transform: translateX(4px);
}

/* Trust Metrics Section */
.metrics-section {
  padding: 72px 0;
  background: var(--color-bg-dark);
  color: #fff;
  position: relative;
  z-index: 20;
  margin-top: -50px; /* Overlapping the hero section */
  border-radius: var(--radius-xl) var(--radius-xl) 0 0;
  overflow: hidden;
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

.metric-card {
  text-align: center;
  padding: 20px;
  border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-card:last-child {
  border-right: none;
}

.metric-number {
  font-family: var(--font-heading);
  font-size: 56px;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #fff 0%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 10px;
}

.metric-label {
  font-family: var(--font-highlight);
  font-size: 14px;
  color: var(--color-text-muted-dark);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Meet Dr. Quresh Bambora Section */
.surgeon-section {
  padding: 120px 0;
  position: relative;
}

.surgeon-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 80px;
  align-items: center;
}

.surgeon-visual {
  position: relative;
}

.surgeon-image-frame {
  width: 100%;
  aspect-ratio: 4 / 5;
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  box-shadow: none;
  border: none;
  background: transparent;
}

.surgeon-image-frame::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: none;
}

.surgeon-image-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: var(--transition-smooth);
}

.surgeon-image-frame:hover img {
  transform: scale(1.03);
}

.surgeon-quote-floating {
  position: absolute;
  bottom: -30px;
  right: -30px;
  max-width: 320px;
  padding: 24px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  border: 1px solid var(--color-border-light);
  box-shadow: 0 20px 40px rgba(8, 28, 50, 0.1);
}

.quote-text {
  font-family: var(--font-body);
  font-size: 14px;
  font-style: italic;
  line-height: 1.5;
  color: var(--color-text-dark);
  margin-bottom: 12px;
}

.quote-author {
  font-family: var(--font-highlight);
  font-weight: 700;
  font-size: 13px;
  color: var(--color-electric);
}

.surgeon-title-desc {
  font-family: var(--font-highlight);
  font-size: 16px;
  color: var(--color-electric);
  font-weight: 700;
  margin-bottom: 8px;
}

.surgeon-intro {
  font-size: 28px;
  font-weight: 800;
  color: var(--color-sapphire);
  margin-bottom: 24px;
  line-height: 1.3;
}

.surgeon-bio {
  font-size: 16px;
  color: var(--color-text-muted);
  margin-bottom: 30px;
}

.surgeon-credentials {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 40px;
}

.credential-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.credential-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(37, 99, 255, 0.1);
  color: var(--color-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 12px;
}

.credential-text h4 {
  font-size: 14px;
  font-weight: 700;
  color: var(--color-sapphire);
}

.credential-text p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Full-Width Doctor Bento Section */
.doctor-bento-section {
  padding: 80px 0 110px 0;
  background: var(--color-bg-light, #ffffff);
  width: 100%;
}

.container-full {
  width: 100%;
  max-width: 100%;
  padding: 0 40px;
  margin: 0 auto;
}

.doctor-bento-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 250px;
  gap: 20px;
}

.doctor-bento-card {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: #0f172a;
}

/* Card Orientations Matched to Real Images */
.doctor-bento-card.card-landscape {
  grid-column: span 2;
  grid-row: span 1;
}

.doctor-bento-card.card-portrait {
  grid-column: span 1;
  grid-row: span 2;
}

.doctor-bento-card.card-square {
  grid-column: span 1;
  grid-row: span 1;
}

.doctor-bento-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

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

.doctor-bento-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 19, 31, 0.88) 0%, rgba(8, 19, 31, 0.25) 55%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.doctor-bento-card:hover .doctor-bento-overlay {
  opacity: 1;
}

.doctor-bento-tag {
  align-self: flex-start;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.15);
  backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 6px;
}

.doctor-bento-heading {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 600;
  color: #ffffff;
  margin: 0;
  line-height: 1.3;
}

.bento-card-large .doctor-bento-heading {
  font-size: 20px;
}

/* Treatment Journey Section */
.journey-section {
  padding: 120px 0;
  background: var(--color-bg-light);
  position: relative;
}

/* ==========================================================================
   Pathway to Healing — Linear Phase Timeline Layout
   ========================================================================== */
.linear-phase-timeline {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-top: 60px;
  position: relative;
}

/* Horizontal progress line container */
.timeline-progress-bar-container {
  position: relative;
  width: 100%;
  height: 60px;
  margin-bottom: 20px;
}

.timeline-progress-bar-container::before {
  content: '';
  position: absolute;
  top: 25px; /* Centers with the 50px circle */
  left: 12.5%;
  width: 75%;
  height: 4px;
  background: rgba(76, 29, 149, 0.08);
  border-radius: 2px;
  z-index: 1;
}

.timeline-progress-line {
  position: absolute;
  top: 25px;
  left: 12.5%;
  width: 0%; /* Dynamic animation via GSAP */
  height: 4px;
  background: linear-gradient(90deg, var(--color-electric) 0%, var(--color-teal) 50%, var(--color-cyan) 100%);
  border-radius: 2px;
  z-index: 2;
  transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.timeline-nodes-row {
  display: flex;
  justify-content: space-between;
  position: relative;
  z-index: 3;
  width: 100%;
}

.timeline-node-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 25%;
  text-align: center;
}

.node-circle {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 2px solid var(--color-border-light);
  color: var(--color-text-muted);
  font-family: var(--font-precision);
  font-weight: 700;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.03);
}

.node-label {
  font-family: var(--font-precision);
  font-size: 12px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 12px;
  transition: color 0.4s;
}

/* Active node styles */
.timeline-node-item.active .node-circle {
  background: var(--color-electric);
  color: #fff;
  border-color: var(--color-electric);
  box-shadow: 0 8px 20px rgba(109, 40, 217, 0.3);
  transform: scale(1.1);
}

.timeline-node-item.active .node-label {
  color: var(--color-electric);
}

/* Timeline content cards grid */
.timeline-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.phase-card {
  background: #fff;
  padding: 36px 30px;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-premium);
  position: relative;
  overflow: hidden;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.phase-card:hover,
.phase-card.active-card {
  transform: translateY(-8px);
  border-color: rgba(109, 40, 217, 0.25);
  box-shadow: 0 25px 50px -12px rgba(8, 28, 50, 0.12);
}

.phase-card-glow {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: var(--color-border-light);
  transition: background 0.4s;
}

.phase-card:hover .phase-card-glow,
.phase-card.active-card .phase-card-glow {
  background: linear-gradient(90deg, var(--color-electric), var(--color-cyan));
}

.phase-card-subtitle {
  font-family: var(--font-precision);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.phase-card-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 500;
  color: var(--color-sapphire);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}

.phase-card-desc {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
  flex-grow: 1;
}

.phase-card-checklist {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.phase-card-checklist li {
  font-size: 12.5px;
  color: var(--color-text-muted);
  position: relative;
  padding-left: 20px;
}

.phase-card-checklist li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #10b981;
  font-weight: 700;
}


/* ==========================================================================
   Modern Operations — Apple-style Interactive Light Tab Showcase
   ========================================================================== */
.modern-ops-section {
  padding: 120px 0;
  background: #FAF8F5; /* Keep the clean warm off-white background */
  position: relative;
  overflow: hidden;
}

/* Tab Switcher - Clean Pill control */
.ops-tab-switcher {
  display: flex;
  justify-content: center;
  gap: 8px;
  background: rgba(9, 13, 22, 0.03);
  border: 1px solid var(--color-border-light);
  padding: 5px;
  border-radius: 40px;
  max-width: 580px;
  margin: 40px auto 60px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.ops-tab-btn {
  background: transparent;
  border: none;
  color: var(--color-text-muted);
  font-family: var(--font-precision);
  font-size: 13.5px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  flex: 1;
}

.ops-tab-btn:hover {
  color: var(--color-sapphire);
}

.ops-tab-btn.active {
  background: #fff;
  color: var(--color-sapphire);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

/* Console Dashboard Grid */
.ops-showcase-console {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 60px;
  align-items: center;
}

.ops-console-content {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.ops-tab-panel {
  display: none;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.ops-tab-panel.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.ops-panel-subtitle {
  font-family: var(--font-precision);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-electric);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  display: block;
  margin-bottom: 8px;
}

.ops-panel-title {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 500;
  color: var(--color-sapphire);
  margin-bottom: 16px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.ops-panel-desc {
  font-size: 15px;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.ops-bullets-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 10px;
}

.ops-bullet-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--color-text-muted);
}

.bullet-check {
  color: var(--color-teal);
  font-weight: 700;
}

/* Light SVG Monitor Frame */
.ops-console-visual {
  background: #fff;
  border: 1px solid var(--color-border-light);
  border-radius: var(--radius-xl);
  aspect-ratio: 1 / 1;
  padding: 30px;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: center;
  justify-content: center;
}

.visual-monitor-frame {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.monitor-grid-dots {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: radial-gradient(rgba(0, 0, 0, 0.02) 1.5px, transparent 1.5px);
  background-size: 20px 20px;
  pointer-events: none;
}

.monitor-img {
  display: none;
  opacity: 0;
  width: 90%;
  height: 90%;
  object-fit: contain;
  transition: all 0.5s ease;
}

.monitor-img.active-img {
  display: block;
  opacity: 1;
}

/* Custom visual telemetry keyframe loops */
@keyframes vertical-scan {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(180px); }
}

.vertical-scan-line {
  animation: vertical-scan 4s infinite linear;
}

@keyframes node-pulse-ring {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.4); opacity: 0; }
}

.pulsing-ring {
  transform-origin: 120px 120px;
  animation: node-pulse-ring 2s infinite ease-out;
}

@keyframes rotate-margin {
  from { transform: rotate(0deg); }
  to { transform: rotate(360deg); }
}

.rotating-margin-ring {
  transform-origin: 150px 150px;
  animation: rotate-margin 10s infinite linear;
}

@keyframes sensor-glow {
  0%, 100% { filter: drop-shadow(0 0 2px var(--color-cyan)); }
  50% { filter: drop-shadow(0 0 8px var(--color-cyan)); }
}

.glowing-sensor {
  animation: sensor-glow 2s infinite ease-in-out;
}

@media (max-width: 991px) {
  .ops-showcase-console {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .ops-console-visual {
    max-width: 400px;
    margin: 0 auto;
    width: 100%;
  }
}

@media (max-width: 580px) {
  .ops-tab-switcher {
    flex-direction: column;
    border-radius: 20px;
    padding: 8px;
  }
  .ops-tab-btn {
    width: 100%;
  }
  .ops-panel-title {
    font-size: 26px;
  }
}

/* Patient Testimonials (Smooth Infinite Loop Marquee) */
.stories-section {
  padding: 120px 0;
  position: relative;
  overflow: hidden;
  background-color: var(--color-bg-light);
}

.testimonials-marquee-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 100%;
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

/* Linear gradients to fade out the edges of the marquee */
.testimonials-marquee-container::before,
.testimonials-marquee-container::after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 3;
  pointer-events: none;
}

.testimonials-marquee-container::before {
  left: 0;
  background: linear-gradient(to right, var(--color-bg-light) 0%, transparent 100%);
}

.testimonials-marquee-container::after {
  right: 0;
  background: linear-gradient(to left, var(--color-bg-light) 0%, transparent 100%);
}

.marquee-row {
  display: flex;
  width: 100%;
  overflow: hidden;
}

.marquee-track {
  display: flex;
  gap: 24px;
  width: max-content;
  will-change: transform;
}

/* Row Left Animation */
.row-left .marquee-track {
  animation: scrollLeft 50s linear infinite;
}

/* Row Right Animation */
.row-right .marquee-track {
  animation: scrollRight 45s linear infinite;
}

/* Pause on hover */
.marquee-track:hover {
  animation-play-state: paused;
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@keyframes scrollRight {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}

/* Testimonial Card Styling */
.testimonial-card {
  width: 380px;
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.06);
  border-radius: var(--radius-lg);
  padding: 30px;
  box-shadow: 0 10px 30px -10px rgba(8, 28, 50, 0.03);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  box-sizing: border-box;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: 0 20px 40px -15px rgba(109, 40, 217, 0.08);
}

.testimonial-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.testimonial-card-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--grad-sapphire-cyan);
  color: #fff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.author-info {
  display: flex;
  flex-direction: column;
}

.author-name {
  font-size: 14.5px;
  font-weight: 700;
  color: var(--color-sapphire);
  margin: 0;
  line-height: 1.2;
}

.author-meta {
  font-size: 11.5px;
  color: var(--color-text-muted);
  margin-top: 2px;
}

.verified-badge {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  font-size: 9.5px;
  font-weight: 700;
  color: #10b981;
  background: rgba(16, 185, 129, 0.08);
  padding: 2px 6px;
  border-radius: 20px;
  margin-top: 4px;
  width: max-content;
}

.verified-badge svg {
  width: 9px;
  height: 9px;
  fill: currentColor;
}

.star-rating {
  display: flex;
  gap: 2px;
  color: #fbbf24;
}

.star-rating svg {
  width: 14px;
  height: 14px;
  fill: currentColor;
}

.testimonial-card-body {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin: 0;
  text-align: left;
}

.testimonial-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  border-top: 1px solid rgba(109, 40, 217, 0.04);
  padding-top: 14px;
  margin-top: auto;
}

.treatment-tag {
  font-size: 11px;
  font-weight: 600;
  color: var(--color-electric);
  background: rgba(109, 40, 217, 0.05);
  padding: 3px 8px;
  border-radius: 6px;
}

.google-review-badge {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 11px;
  color: var(--color-text-muted);
  font-weight: 500;
}

.google-review-badge svg {
  width: 12px;
  height: 12px;
}

/* Accordion (FAQs) - Split Framer Style Grid Layout */
.faq-section {
  padding: 120px 0;
  background: var(--color-bg-light);
}

.faq-grid-container {
  display: grid;
  grid-template-columns: 1.1fr 1.9fr;
  gap: 60px;
  height: 72vh;
  align-items: stretch;
}

.faq-info-column {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faq-sticky-wrapper {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.faq-sticky-wrapper .section-title {
  font-size: 36px;
  line-height: 1.25;
  margin: 12px 0 20px 0;
  color: var(--color-sapphire);
  text-align: left;
}

.faq-sticky-wrapper .section-desc {
  font-size: 16px;
  color: var(--color-text-muted);
  line-height: 1.6;
  margin-bottom: 30px;
  text-align: left;
}

/* Framer-style interactive CTA card */
.faq-cta-card {
  flex: 1;
  padding: 30px;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(109, 40, 217, 0.08);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 10px 30px -10px rgba(8, 28, 50, 0.03);
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-cta-card:hover {
  transform: translateY(-3px);
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: 0 20px 40px -15px rgba(109, 40, 217, 0.06);
}

.faq-cta-card h4 {
  font-size: 18px;
  font-weight: 700;
  color: var(--color-sapphire);
  margin-bottom: 10px;
}

.faq-cta-card p {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-text-muted);
  margin-bottom: 20px;
}

.faq-cta-actions {
  display: flex;
  gap: 12px;
}

.btn-accent-sm,
.btn-outline-sm {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 700;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-accent-sm {
  background: var(--color-electric);
  color: #fff;
  border: none;
}

.btn-accent-sm:hover {
  background: #5b21b6;
  transform: translateY(-1px);
}

.btn-outline-sm {
  background: transparent;
  color: var(--color-electric);
  border: 1px solid rgba(109, 40, 217, 0.2);
}

.btn-outline-sm:hover {
  background: rgba(109, 40, 217, 0.05);
  border-color: var(--color-electric);
  transform: translateY(-1px);
}

/* Accordion Item Upgrades */
.faq-list-column {
  width: 100%;
  height: 100%;
  max-height: 100%;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 12px;
  scroll-behavior: smooth;
}

/* Custom scrollbar for FAQ right column */
.faq-list-column::-webkit-scrollbar {
  width: 4px;
}

.faq-list-column::-webkit-scrollbar-track {
  background: rgba(109, 40, 217, 0.04);
  border-radius: 4px;
}

.faq-list-column::-webkit-scrollbar-thumb {
  background: rgba(109, 40, 217, 0.2);
  border-radius: 4px;
}

.faq-list-column::-webkit-scrollbar-thumb:hover {
  background: rgba(109, 40, 217, 0.45);
}

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
}

.faq-item {
  border-radius: var(--radius-lg);
  background: #ffffff;
  border: 1px solid rgba(109, 40, 217, 0.06);
  margin-bottom: 16px;
  overflow: hidden;
  box-shadow: 0 4px 12px -2px rgba(8, 28, 50, 0.02);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item:hover {
  border-color: rgba(109, 40, 217, 0.2);
  box-shadow: 0 10px 25px -8px rgba(109, 40, 217, 0.05);
}

.faq-item.active {
  border-color: var(--color-electric);
  box-shadow: 0 10px 30px -10px rgba(109, 40, 217, 0.08);
}

.faq-header {
  padding: 24px 30px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  user-select: none;
  gap: 20px;
}

.faq-question {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--color-sapphire);
  margin: 0;
  text-align: left;
  line-height: 1.4;
  transition: color 0.3s ease;
}

.faq-item:hover .faq-question {
  color: var(--color-electric);
}

.faq-item.active .faq-question {
  color: var(--color-electric);
}

.faq-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(109, 40, 217, 0.04);
  color: var(--color-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.4s ease, color 0.4s ease;
}

.faq-icon svg {
  width: 14px;
  height: 14px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-item.active .faq-icon {
  background: var(--color-electric);
  color: #fff;
}

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

.faq-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-answer {
  padding: 0 30px 24px 30px;
  font-size: 14px;
  color: var(--color-text-muted);
  line-height: 1.65;
  text-align: left;
}

/* Responsiveness for FAQs */
@media (max-width: 991px) {
  .faq-grid-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  
  .faq-sticky-wrapper {
    position: relative;
    top: 0;
  }
  
  .faq-sticky-wrapper .section-title,
  .faq-sticky-wrapper .section-desc {
    text-align: center;
  }
  
  .faq-sticky-wrapper .section-tag {
    display: block;
    margin: 0 auto;
    width: max-content;
  }
  
  .faq-cta-card {
    max-width: 600px;
    margin: 0 auto;
  }
  
  /* On mobile, let both columns flow naturally */
  .faq-list-column {
    height: auto;
    max-height: none;
    overflow-y: visible;
    padding-right: 0;
  }

  .faq-grid-container {
    height: auto;
  }

  .faq-info-column {
    height: auto;
  }

  .faq-sticky-wrapper {
    height: auto;
  }

  .faq-cta-card {
    flex: none;
  }
}

@media (max-width: 576px) {
  .faq-header {
    padding: 20px;
  }
  
  .faq-answer {
    padding: 0 20px 20px 20px;
  }
  
  .faq-question {
    font-size: 15px;
  }
  
  .faq-cta-actions {
    flex-direction: column;
    gap: 8px;
  }
}

/* Contact & Appointment Section */
.appointment-section {
  padding: 140px 0;
  background: var(--color-bg-dark);
  color: #fff;
  position: relative;
  overflow: hidden;
}

/* Linear-inspired Grid pattern on dark section */
.appointment-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  background-position: center;
  z-index: 1;
  pointer-events: none;
}

.aurora-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.aurora-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(100px);
  animation: aurora-float 22s infinite alternate ease-in-out;
}

.aurora-blob.blob-1 {
  width: 600px;
  height: 600px;
  left: -10%;
  bottom: -20%;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.25) 0%, rgba(109, 40, 217, 0.08) 60%, transparent 80%);
}

.aurora-blob.blob-2 {
  width: 500px;
  height: 500px;
  right: -10%;
  top: -15%;
  background: radial-gradient(circle, rgba(124, 58, 237, 0.22) 0%, rgba(6, 182, 212, 0.06) 60%, transparent 80%);
  animation-delay: -6s;
}

@keyframes aurora-float {
  0% {
    transform: translate(0, 0) scale(1) rotate(0deg);
  }
  50% {
    transform: translate(60px, 40px) scale(1.08) rotate(180deg);
  }
  100% {
    transform: translate(-40px, -60px) scale(0.92) rotate(360deg);
  }
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 2;
}

/* Left Column Content */
.booking-tag {
  display: inline-block;
  padding: 6px 16px;
  border-radius: 100px;
  font-family: var(--font-precision);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--color-cyan);
  margin-bottom: 24px;
}

.booking-title {
  font-family: var(--font-editorial);
  font-size: clamp(2rem, 3.8vw, 3rem);
  font-weight: 300;
  line-height: 1.15;
  letter-spacing: -0.5px;
  color: #fff;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.75) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.booking-desc {
  font-family: var(--font-precision);
  font-size: 16px;
  line-height: 1.65;
  color: var(--color-text-muted-dark);
  max-width: 520px;
  margin-bottom: 40px;
}

.contact-card-info {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 22px 26px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  text-decoration: none;
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.contact-item-row:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(6, 182, 212, 0.25);
  transform: translateX(6px);
  box-shadow: 0 12px 35px -12px rgba(6, 182, 212, 0.15);
}

.contact-row-icon {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  background: rgba(6, 182, 212, 0.08);
  border: 1px solid rgba(6, 182, 212, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-cyan);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.contact-item-row:hover .contact-row-icon {
  background: var(--color-cyan);
  color: var(--color-bg-dark);
  box-shadow: 0 0 20px rgba(6, 182, 212, 0.4);
}

.contact-row-text p {
  font-family: var(--font-precision);
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--color-text-muted-dark);
  margin-bottom: 4px;
}

.contact-row-text h4 {
  font-family: var(--font-precision);
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  transition: color 0.3s ease;
}

.contact-item-row:hover .contact-row-text h4 {
  color: var(--color-cyan);
}

/* Glass Interactive Form */
.appointment-form {
  background: rgba(15, 23, 42, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.06);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: 0 30px 70px -15px rgba(0, 0, 0, 0.5);
  position: relative;
  overflow: hidden;
}

/* Accent animated glow line on top of form */
.appointment-form::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--color-cyan), var(--color-purple), var(--color-cyan));
  background-size: 200% auto;
  animation: border-glow-flow 5s linear infinite;
}

@keyframes border-glow-flow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.form-title-glow {
  font-family: var(--font-precision);
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 28px;
  background: linear-gradient(135deg, #fff 30%, var(--color-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  letter-spacing: -0.5px;
}

.form-group-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-family: var(--font-precision);
  font-size: 11px;
  font-weight: 700;
  color: var(--color-text-muted-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.form-control {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 15px 18px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  outline: none;
  width: 100%;
}

.form-control::placeholder {
  color: rgba(255, 255, 255, 0.25);
}

.form-control:focus {
  background: rgba(255, 255, 255, 0.06);
  border-color: var(--color-cyan);
  box-shadow: 0 0 0 3px rgba(6, 182, 212, 0.15);
  transform: translateY(-1px);
}

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

.form-control option {
  background: var(--color-bg-dark);
  color: #fff;
}

/* Dropdown override */
select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='rgba(255,255,255,0.45)' stroke-width='2.5'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' d='M19.5 8.25l-7.5 7.5-7.5-7.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 15px;
  padding-right: 45px;
  cursor: pointer;
}

/* Date picker override */
input[type="date"].form-control::-webkit-calendar-picker-indicator {
  filter: invert(1);
  opacity: 0.5;
  cursor: pointer;
  transition: opacity 0.2s ease;
}

input[type="date"].form-control::-webkit-calendar-picker-indicator:hover {
  opacity: 1;
}

/* Submit booking button */
.btn-submit-booking {
  background: var(--grad-purple-cyan);
  color: #fff;
  border: none;
  font-family: var(--font-precision);
  font-size: 14px;
  font-weight: 700;
  padding: 16px 28px;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  box-shadow: 0 8px 24px -6px rgba(109, 40, 217, 0.4);
  position: relative;
  overflow: hidden;
}

.btn-submit-booking::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: 0.6s ease-in-out;
}

.btn-submit-booking:hover::before {
  left: 100%;
}

.btn-submit-booking:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px -4px rgba(109, 40, 217, 0.6);
  background: linear-gradient(135deg, var(--color-electric) 0%, var(--color-cyan) 100%);
}

.btn-submit-booking:active {
  transform: translateY(0);
}

.btn-submit-booking svg {
  transition: transform 0.3s ease;
}

.btn-submit-booking:hover svg {
  transform: translateX(3px);
}

/* Floating Elements & Sticky Actions */
.sticky-actions-bar {
  position: fixed;
  bottom: 24px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.sticky-whatsapp-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.3);
  text-decoration: none;
  font-size: 24px;
  transition: var(--transition-smooth);
}

.sticky-whatsapp-btn:hover {
  transform: scale(1.1) rotate(15deg);
  box-shadow: 0 12px 30px rgba(37, 211, 102, 0.5);
}

.floating-cta-pill {
  background: var(--grad-sapphire-cyan);
  color: #fff;
  border-radius: 30px;
  padding: 12px 24px;
  text-decoration: none;
  font-family: var(--font-highlight);
  font-weight: 700;
  font-size: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 8px 20px rgba(37, 99, 255, 0.3);
  transition: var(--transition-smooth);
}

.floating-cta-pill:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(37, 99, 255, 0.5), var(--shadow-glow-cyan);
}

/* Premium Footer */
.footer {
  background: #040910;
  color: var(--color-text-muted-dark);
  padding: 80px 0 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  font-family: var(--font-body);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 0.7fr 0.7fr 1.4fr;
  gap: 60px;
  margin-bottom: 60px;
}

.footer-brand .logo-wrapper {
  color: #fff;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.6;
  margin-bottom: 24px;
  color: var(--color-text-muted-dark);
}

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

.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  text-decoration: none;
  font-size: 14px;
}

.social-link:hover {
  background: var(--color-electric);
  color: #fff;
  transform: translateY(-3px);
}

.footer-title {
  color: #fff;
  font-family: var(--font-highlight);
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 24px;
}

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

.footer-links li {
  margin-bottom: 12px;
}

.footer-links a {
  color: var(--color-text-muted-dark);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition-fast);
}

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

.footer-map-container {
  border-radius: var(--radius-sm);
  overflow: hidden;
  height: 150px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  margin-top: 16px;
}

.footer-bottom {
  padding-top: 30px;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 13px;
}

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

.footer-legal-links a {
  color: var(--color-text-muted-dark);
  text-decoration: none;
  transition: var(--transition-fast);
}

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

/* Subpage Hero Standard */
.subpage-hero {
  padding: 180px 0 80px;
  background-color: var(--color-bg-light);
  background-image: var(--grad-premium-mesh);
  color: var(--color-text-dark);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--color-border-light);
}

.subpage-hero .aurora-blob {
  opacity: 0.08;
}

.breadcrumbs {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-highlight);
  font-size: 13px;
  color: var(--color-text-muted);
  margin-bottom: 24px;
}

.breadcrumbs a {
  color: var(--color-text-muted);
  text-decoration: none;
  transition: var(--transition-fast);
}

.breadcrumbs a:hover {
  color: var(--color-sapphire);
}

.subpage-title {
  font-family: var(--font-editorial);
  font-size: 44px;
  font-weight: 300;
  color: var(--color-text-dark);
  letter-spacing: -1px;
  margin-bottom: 16px;
}

.subpage-subtitle {
  font-size: 18px;
  color: var(--color-text-muted);
  max-width: 600px;
}

/* Timeline Layout for About Page publications & surgical achievements */
.pub-timeline {
  position: relative;
  max-width: 800px;
  margin: 60px auto 0;
  padding-left: 30px;
  border-left: 2px solid var(--color-border-light);
}

.timeline-item {
  position: relative;
  margin-bottom: 40px;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -37px;
  top: 4px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--color-electric);
  border: 4px solid var(--color-bg-light);
  box-shadow: 0 0 10px rgba(37, 99, 255, 0.4);
}

.timeline-date {
  font-family: var(--font-highlight);
  font-weight: 700;
  color: var(--color-electric);
  font-size: 14px;
  margin-bottom: 8px;
}

.timeline-title {
  font-size: 18px;
  color: var(--color-sapphire);
  margin-bottom: 8px;
}

/* Credentials & Awards Responsive Accordion Carousel */
.credentials-container {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 40px;
  width: 100%;
}

.credential-badge-card {
  position: relative;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-premium);
  overflow: hidden;
  padding: 24px;
  cursor: pointer;
  transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.strip-gradient {
  position: absolute;
  inset: 0;
  background: var(--accent-gradient, linear-gradient(135deg, var(--color-sapphire) 0%, var(--color-electric) 100%));
  opacity: 0;
  transition: opacity 0.8s cubic-bezier(.16, 1, .3, 1);
  z-index: 1;
}

.credential-badge-card:hover .strip-gradient {
  opacity: 1;
}

.card-inner-content {
  position: relative;
  z-index: 2;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
}

.card-inner-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.strip-num {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-sapphire);
  opacity: 0.3;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.credential-badge-card:hover .strip-num {
  color: #fff;
  opacity: 0.85;
}

.credential-badge-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(109, 40, 217, 0.05);
  color: var(--color-electric);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.6s cubic-bezier(0.16, 1, 0.3, 1), color 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.credential-badge-card:hover .credential-badge-icon {
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
}

.credential-badge-icon svg {
  width: 22px;
  height: 22px;
}

/* Base list styling on mobile */
.title-vertical {
  display: none;
}

.credential-badge-info-hover {
  margin-top: 16px;
}

.credential-badge-info-hover h4 {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: var(--color-sapphire);
  margin-bottom: 6px;
  line-height: 1.3;
  transition: color 0.4s ease;
}

.credential-badge-card:hover .credential-badge-info-hover h4 {
  color: #fff;
}

.credential-badge-info-hover p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--color-text-muted);
  margin: 0;
  transition: color 0.4s ease;
}

.credential-badge-card:hover .credential-badge-info-hover p {
  color: rgba(255, 255, 255, 0.9);
}

.strip-arrow {
  display: inline-flex;
  margin-top: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  color: #fff;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: scale(0.5);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1), transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.credential-badge-card:hover .strip-arrow {
  opacity: 1;
  transform: scale(1);
}

.strip-arrow svg {
  width: 16px;
  height: 16px;
}

/* Desktop Accordion Styles */
@media (min-width: 1024px) {
  .credentials-container {
    flex-direction: row;
    height: 400px;
    align-items: stretch;
    gap: 12px;
  }

  .credential-badge-card {
    flex: 1;
    height: 100%;
    transition: flex 0.8s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.8s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.8s cubic-bezier(0.16, 1, 0.3, 1);
    padding: 28px 24px;
  }

  .card-inner-top {
    align-items: flex-start;
  }

  .credential-badge-card:hover {
    flex: 3.5;
    box-shadow: 0 30px 60px -15px var(--accent-shadow, rgba(109, 40, 217, 0.25));
    border-color: transparent;
  }

  .credential-badge-card:hover .strip-num {
    transform: scale(1.2);
    transform-origin: top left;
  }

  .credential-badge-card:hover .credential-badge-icon {
    transform: scale(1.2) rotate(-5deg);
  }

  /* Vertical title when card is collapsed */
  .title-vertical {
    display: block;
    font-family: var(--font-heading);
    font-size: 24px; /* Optimal large font size that fits without collision */
    font-weight: 700;
    color: var(--color-sapphire);
    margin: 0;
    white-space: nowrap;
    position: absolute;
    top: 58%; /* Center vertically in the lower card section */
    left: 50%; /* Center horizontally in the card column */
    transform-origin: center center;
    transform: translate(-50%, -50%) rotate(-90deg);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1), transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    opacity: 1;
  }

  .credential-badge-card:hover .title-vertical {
    opacity: 0;
    transform: translate(-50%, -50%) rotate(-90deg) translateY(-30px);
    pointer-events: none;
  }

  /* Hover container content wraps & fades in */
  .credential-badge-info-hover {
    opacity: 0;
    transform: translateY(25px);
    transition: opacity 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s, transform 0.6s cubic-bezier(0.16, 1, 0.3, 1) 0.1s;
    pointer-events: none;
    margin-top: auto;
  }

  .credential-badge-card:hover .credential-badge-info-hover {
    opacity: 1;
    transform: translateY(0);
    filter: blur(0);
    pointer-events: auto;
  }

  .credential-badge-info-hover h4 {
    color: #fff;
    font-size: 38px; /* Increased 2x from 19px */
    font-weight: 700;
    margin-bottom: 8px;
    line-height: 1.2;
  }

  .credential-badge-card:hover .credential-badge-info-hover h4 {
    animation: titleBounce 3s ease-in-out infinite;
  }

  .credential-badge-info-hover p {
    color: rgba(255, 255, 255, 0.9);
    max-width: 450px;
    font-size: 15px;
    line-height: 1.6;
  }

  @keyframes titleBounce {
    0%, 100% {
      transform: translateY(0);
    }
    50% {
      transform: translateY(-8px);
    }
  }
}

/* Risk screening checklist styles for Treatment Page */
.screening-checklist {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-top: 40px;
}

.clinical-divisions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 0;
}

.checklist-card {
  padding: 30px;
  border-radius: var(--radius-lg);
  background: #fff;
  border: 1px solid var(--color-border-light);
  box-shadow: var(--shadow-premium);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.checklist-card:hover {
  transform: translateY(-3px);
  border-color: var(--color-electric);
}

.checkbox-visual {
  width: 24px;
  height: 24px;
  border-radius: 6px;
  border: 2px solid var(--color-border-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition-fast);
}

.checklist-card.checked .checkbox-visual {
  background: var(--color-emerald);
  border-color: var(--color-emerald);
  color: #fff;
}

.checklist-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--color-sapphire);
  margin-bottom: 6px;
}

.checklist-text p {
  font-size: 13px;
  color: var(--color-text-muted);
}

/* Mobile Responsiveness Overrides */
@media (max-width: 1024px) {
  .hero-title {
    font-size: 30px;
  }

  .hero-grid {
    grid-template-columns: 1.1fr 0.9fr;
    gap: 40px;
  }

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

  .bento-card.col-2 {
    grid-column: span 2;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 30px;
  }

  .surgeon-grid {
    gap: 40px;
  }

  .appointment-grid {
    gap: 40px;
  }

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

@media (max-width: 768px) {

  /* Global Spacing */
  .surgeon-section,
  .journey-section,
  .stories-section,
  .faq-section,
  .appointment-section {
    padding: 60px 0;
  }

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

  .section-title {
    font-size: 22px;
    letter-spacing: -0.3px;
  }

  .subpage-title {
    font-size: 24px;
    letter-spacing: -0.2px;
  }

  /* Top Contact Info Bar Mobile Redesign */
  .top-bar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 34px;
    background: var(--color-sapphire-dark);
    display: flex;
    align-items: center;
    z-index: 1002;
  }

  .top-bar-container {
    padding: 0 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
  }

  .top-bar-left {
    display: none; /* Hide email on mobile to prevent overflow */
  }

  .top-bar-right {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    gap: 0;
  }

  .top-bar-item {
    font-size: 11px;
    font-weight: 600;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 6px;
  }

  /* Header Floating Alignment Mobile Redesign */
  .header {
    top: 46px; /* Offset cleanly below the 34px top-bar + 12px gap */
    width: calc(100% - 24px);
    height: 64px;
    padding: 0 20px;
    border-radius: 32px;
  }

  .header.scrolled {
    top: 12px; /* Smoothly snaps to top when scrolled past top-bar */
    height: 60px;
  }

  .site-logo {
    height: 38px;
  }

  .logo-text {
    font-size: 15px;
  }

  .logo-text span {
    font-size: 10px;
  }

  /* Mobile Dropdown Menu (Absolute context within fixed header) */
  .nav-menu {
    position: absolute;
    top: calc(100% + 8px); /* Anchors exactly 8px below header capsule */
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(24px) saturate(180%);
    -webkit-backdrop-filter: blur(24px) saturate(180%);
    border: 1px solid var(--color-glass-border);
    border-radius: 24px;
    flex-direction: column;
    padding: 24px;
    gap: 8px;
    box-shadow: 0 20px 40px rgba(8, 28, 50, 0.12);
    transform: translateY(-10px);
    opacity: 0;
    pointer-events: none;
    transition: var(--transition-smooth);
    z-index: 999;
  }

  .nav-menu.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .nav-menu li {
    width: 100%;
  }

  .nav-link {
    width: 100%;
    text-align: center;
    padding: 12px;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--color-text-dark);
    border-radius: 12px;
    border: none;
  }

  .nav-link:hover,
  .nav-link.active {
    background: var(--color-active-pill);
    color: var(--color-sapphire);
  }

  .mobile-nav-toggle {
    display: flex;
    width: 26px;
    height: 18px;
  }

  .mobile-nav-toggle span {
    height: 2.5px;
  }

  /* Animated X transitions for Hamburg Menu */
  .mobile-nav-toggle.open span:nth-child(1) {
    transform: translateY(7.75px) rotate(45deg);
  }

  .mobile-nav-toggle.open span:nth-child(2) {
    opacity: 0;
    transform: scale(0);
  }

  .mobile-nav-toggle.open span:nth-child(3) {
    transform: translateY(-7.75px) rotate(-45deg);
  }

  /* Hide Book Appointment button in header on mobile to prevent overcrowding */
  .header-cta .btn-header {
    display: none;
  }

  /* Hero Showcase Scaling & Alignments (Human Redesign) */
  .hero-section {
    padding-top: 125px;
    padding-bottom: 80px;
    min-height: auto;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-title {
    font-size: 24px;
    letter-spacing: -0.2px;
    margin-bottom: 16px;
  }

  .hero-title .highlight-color {
    display: inline;
  }

  .hero-description {
    font-size: 16px;
    margin: 0 auto 24px;
  }

  .hero-specialties {
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
  }

  .specialty-item {
    font-size: 13px;
    padding: 6px 12px;
  }

  .hero-actions {
    justify-content: center;
    gap: 12px;
  }

  .hero-visual {
    margin-top: 20px;
    width: 100%;
  }

  .surgeon-hero-container {
    max-width: 340px;
    height: 380px;
    margin: 0 auto;
  }

  .surgeon-hero-bg-shape {
    border-radius: 20px 50px 20px 20px;
  }

  .doctor-credential-card {
    width: 250px;
    bottom: -15px;
    left: -10px;
    padding: 12px 16px;
  }

  .credential-name {
    font-size: 14px;
  }

  .credential-title {
    font-size: 12px;
    margin-bottom: 4px;
  }

  .excellence-badge {
    top: -10px;
    right: -10px;
    padding: 6px 12px;
  }

  .excellence-badge span {
    font-size: 11px;
  }

  /* Vbento Grid Responsive */
  .values-bento-grid {
    grid-template-columns: 1fr;
  }

  .vbento-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .vbento-card:nth-child(odd) .vbento-content,
  .vbento-card:nth-child(even) .vbento-content { order: 2; }

  .vbento-card:nth-child(odd) .vbento-image,
  .vbento-card:nth-child(even) .vbento-image { order: 1; height: 200px; }

  /* Metrics Grid */
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .metric-card {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 20px;
  }

  .metric-card:nth-child(even) {
    border-left: 1px solid rgba(255, 255, 255, 0.1);
  }

  .metric-card:nth-child(3),
  .metric-card:nth-child(4) {
    border-bottom: none;
    padding-top: 20px;
  }

  /* Bento Grid */
  .bento-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .bento-card {
    padding: 24px;
  }

  .bento-card.col-2 {
    grid-column: span 1;
  }

  .bento-icon {
    margin-bottom: 20px;
  }

  /* Surgeon Profile section */
  .surgeon-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .surgeon-quote-floating {
    position: relative;
    bottom: auto;
    right: auto;
    max-width: 100%;
    margin-top: 20px;
    padding: 20px;
  }

  /* Journey Linear Timeline Responsive */
  .timeline-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .timeline-progress-bar-container {
    display: none; /* Hide progress bar on smaller screens */
  }

  .linear-phase-timeline {
    gap: 20px;
    margin-top: 30px;
  }

  /* Form block */
  .appointment-section {
    padding: 100px 0;
  }

  .appointment-grid {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .contact-info-block {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .booking-desc {
    margin: 0 auto 30px auto;
    text-align: center;
  }

  .contact-card-info {
    width: 100%;
    max-width: 600px;
  }

  .contact-item-row:hover {
    transform: translateY(-2px);
  }

  .appointment-form {
    padding: 40px 30px;
  }

  .form-group-row {
    grid-template-columns: 1fr;
    gap: 0;
  }

  /* Footer layout */
  .footer-top {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .screening-checklist {
    grid-template-columns: 1fr;
  }

  .clinical-divisions-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 580px) {
  .timeline-cards-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 480px) {
  .hero-title {
    font-size: 32px;
  }

  .metric-number {
    font-size: 38px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .faq-header {
    padding: 20px;
  }

  .faq-question {
    font-size: 15px;
  }

  .booking-title {
    font-size: 26px;
  }

  .appointment-form {
    padding: 24px 16px;
    border-radius: 20px;
  }

  .contact-item-row {
    padding: 16px 18px;
    gap: 14px;
  }

  .contact-row-text h4 {
    font-size: 15px;
  }
}

/* ==========================================================================
   Rotation Treatment Gallery Section & Lightbox Modal
   ========================================================================== */
.gallery-section {
  position: relative;
  padding: var(--spacing-4xl) 0;
  background-color: var(--color-bg-light);
  overflow: hidden;
}

.gallery-card {
  width: 360px;
  height: 250px;
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(109, 40, 217, 0.08);
  flex-shrink: 0;
  cursor: pointer;
  background: #ffffff;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: rgba(109, 40, 217, 0.25);
  box-shadow: 0 20px 35px -10px rgba(109, 40, 217, 0.15);
}

.gallery-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

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

.gallery-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(15, 23, 42, 0.88) 0%, rgba(15, 23, 42, 0.2) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.gallery-card:hover .gallery-card-overlay {
  opacity: 1;
}

.gallery-card-tag {
  display: inline-block;
  align-self: flex-start;
  padding: 4px 12px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 20px;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
  border: 1px solid rgba(255, 255, 255, 0.3);
}

.gallery-card-title {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 600;
  margin: 0;
  line-height: 1.3;
}

.gallery-zoom-icon {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  opacity: 0;
  transform: scale(0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.gallery-card:hover .gallery-zoom-icon {
  opacity: 1;
  transform: scale(1);
}

/* Lightbox Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(15, 23, 42, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  padding: 20px;
}

.gallery-modal.active {
  opacity: 1;
  pointer-events: auto;
}

.gallery-modal-content {
  position: relative;
  max-width: 90vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.gallery-modal-img {
  max-width: 100%;
  max-height: 75vh;
  border-radius: 12px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
  object-fit: contain;
}

.gallery-modal-caption {
  margin-top: 14px;
  color: #f8fafc;
  font-size: 1rem;
  font-weight: 500;
  text-align: center;
}

.gallery-modal-close {
  position: absolute;
  top: -45px;
  right: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  color: #ffffff;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
}

.gallery-modal-close:hover {
  background: rgba(255, 255, 255, 0.4);
}

@media (max-width: 768px) {
  .gallery-card {
    width: 280px;
    height: 200px;
  }
  
  .gallery-card-title {
    font-size: 0.95rem;
  }

  .gallery-modal-close {
    top: -40px;
    right: 5px;
  }
}

@media (max-width: 992px) {
  .doctor-bento-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .doctor-bento-card.card-landscape {
    grid-column: span 2;
    grid-row: span 1;
  }
  .doctor-bento-card.card-portrait {
    grid-column: span 1;
    grid-row: span 2;
  }
  .doctor-bento-card.card-square {
    grid-column: span 1;
    grid-row: span 1;
  }
}

@media (max-width: 600px) {
  .doctor-bento-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .doctor-bento-card.card-landscape,
  .doctor-bento-card.card-portrait,
  .doctor-bento-card.card-square {
    grid-column: span 1;
    grid-row: span 1;
  }
}