/* Top Nav Inline Ticker: completely hidden on desktop */
.nav-ticker-wrap {
  display: none;
}

/* =======================================================
   Oralrevolution.com // Dental Home, Mysore
   Apple Design Language: Clean, High Contrast, Minimalist
   Typography: SF Pro Display / System Font Stack
   ======================================================= */

:root {
  --bg-color: #030810; /* Clean deep surgical navy/slate */
  --surface-card: rgba(8, 18, 32, 0.72);
  --surface-border: rgba(45, 212, 191, 0.22);
  --glass-border: linear-gradient(135deg, rgba(255, 255, 255, 0.28) 0%, rgba(45, 212, 191, 0.2) 50%, rgba(14, 165, 233, 0.35) 100%);
  --glass-glow: 0 8px 32px 0 rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.18);
  --text-primary: #ffffff;
  --text-secondary: #b8cbe0; /* High-contrast crisp clinical ice-white */
  --text-tertiary: #7e9bb8;
  --accent-cyan: #00d2ff; /* Vivid clinical cyan */
  --accent-teal: #10e8bf; /* Medical pure mint teal */
  --accent-blue: #2997ff; /* Precision sapphire */
  --accent-gold: #ffd60a;
  --font-apple: -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "Helvetica Neue", Helvetica, Arial, sans-serif;
  --font-mono: "SF Mono", Menlo, Monaco, Consolas, monospace;
}

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

html {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-apple);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

/* =======================================================
   CLEAN CLINICAL AMBIENT CANVAS (Pure Medical Slate & Precision Luminescence)
   - Surgical clean deep slate with sterile clinical azure & refreshing eucalyptus glow
   - Decoupled from body scroll to guarantee zero stutter/jitter on all desktop & mobile browsers
   ======================================================= */
body {
  overflow-x: hidden;
  min-height: 100vh;
  min-height: -webkit-fill-available;
  background-color: #040914; /* Pure sterile surgical navy base */
  color: var(--text-primary);
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 0px);
  position: relative;
}

/* Dedicated Fixed Background Surface: Zero scroll repainting, 100% GPU composited */
.ambient-canvas-layer {
  position: fixed;
  inset: -5%;
  width: 110%;
  height: 110%;
  pointer-events: none;
  z-index: -2;
  background-color: #040914;
  background-image: 
    /* Precision medical cyan beam */
    radial-gradient(circle at 18% 14%, rgba(0, 210, 255, 0.22) 0%, transparent 48%),
    /* Refreshing sterile mint/eucalyptus glow */
    radial-gradient(circle at 82% 22%, rgba(16, 232, 191, 0.18) 0%, transparent 46%),
    /* Pristine sapphire restorative lighting */
    radial-gradient(circle at 26% 62%, rgba(41, 151, 255, 0.16) 0%, transparent 50%),
    /* Deep clean clinical cobalt */
    radial-gradient(circle at 78% 80%, rgba(14, 165, 233, 0.17) 0%, transparent 48%),
    /* Subtle clinical grid/sanitary texture overlay */
    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: 100% 100%, 100% 100%, 100% 100%, 100% 100%, 48px 48px, 48px 48px;
  transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * 0.3), calc(var(--smoothed-parallax-y, 0px) * 0.3), 0);
  will-change: transform;
  contain: strict;
}

/* Fluid Parallax Clean Clinical Orbs (Sterile Mint & Pure Cyan Radiance) */
body::before {
  content: "";
  position: fixed;
  top: -12vh;
  left: 12vw;
  width: 55vw;
  height: 55vw;
  max-width: 720px;
  max-height: 720px;
  background: radial-gradient(circle, rgba(16, 232, 191, 0.22) 0%, rgba(0, 210, 255, 0.15) 45%, transparent 72%);
  filter: blur(80px);
  pointer-events: none;
  z-index: -1;
  transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * 0.5), calc(var(--smoothed-parallax-y, 0px) * 0.4), 0);
  will-change: transform;
  animation: ambientFloat1 24s ease-in-out infinite alternate;
}

body::after {
  content: "";
  position: fixed;
  bottom: 6vh;
  right: 10vw;
  width: 50vw;
  height: 50vw;
  max-width: 680px;
  max-height: 680px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.20) 0%, rgba(41, 151, 255, 0.16) 45%, transparent 70%);
  filter: blur(85px);
  pointer-events: none;
  z-index: -1;
  transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * -0.4), calc(var(--smoothed-parallax-y, 0px) * -0.3), 0);
  will-change: transform;
  animation: ambientFloat2 28s ease-in-out infinite alternate;
}

@keyframes ambientFloat1 {
  0% { opacity: 0.75; transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * 0.5), calc(var(--smoothed-parallax-y, 0px) * 0.4), 0) scale(1); }
  50% { opacity: 0.95; transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * 0.5 - 20px), calc(var(--smoothed-parallax-y, 0px) * 0.4 + 25px), 0) scale(1.05); }
  100% { opacity: 0.8; transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * 0.5 + 25px), calc(var(--smoothed-parallax-y, 0px) * 0.4 - 15px), 0) scale(0.96); }
}

@keyframes ambientFloat2 {
  0% { opacity: 0.65; transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * -0.4), calc(var(--smoothed-parallax-y, 0px) * -0.3), 0) scale(1); }
  50% { opacity: 0.92; transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * -0.4 + 25px), calc(var(--smoothed-parallax-y, 0px) * -0.3 - 25px), 0) scale(1.04); }
  100% { opacity: 0.72; transform: translate3d(calc(var(--smoothed-parallax-x, 0px) * -0.4 - 18px), calc(var(--smoothed-parallax-y, 0px) * -0.3 + 20px), 0) scale(0.95); }
}

/* =======================================================
   Apple Minimalist 2-Tier Navigation
   Row 1: Brand (Left) + Contact Actions (Right)
   Row 2: Staggered / Centered Candy Brick Navigation
   ======================================================= */
.nav-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: auto;
  padding-top: max(10px, env(safe-area-inset-top, 0px));
  padding-bottom: 9px;
  background: rgba(0, 0, 0, 0.90);
  backdrop-filter: saturate(180%) blur(24px);
  -webkit-backdrop-filter: saturate(180%) blur(24px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.nav-content {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 0 max(28px, env(safe-area-inset-right, 0px)) 0 max(28px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-domain {
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: -0.01em;
  color: #fff;
  text-decoration: none;
  transition: color 0.2s ease, opacity 0.2s ease;
}

.nav-domain:hover {
  color: var(--accent-cyan);
  opacity: 0.95;
}

.nav-divider {
  color: var(--text-tertiary);
  font-weight: 300;
}

.nav-clinic {
  font-size: 0.88rem;
  font-weight: 700;
  background: linear-gradient(135deg, #00d2ff 0%, #10e8bf 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 0 10px rgba(0, 210, 255, 0.4));
}

.nav-links {
  width: 100%;
  max-width: 1360px;
  margin: 0 auto;
  padding: 4px max(24px, env(safe-area-inset-right, 0px)) 6px max(24px, env(safe-area-inset-left, 0px));
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.nav-links::-webkit-scrollbar {
  display: none;
}

.mobile-subnav-strip {
  display: none;
}

/* =========================================================================
   OPTION 1: Titanium Frosted Glass Navigation System with Bioluminescent Glow
   - Base Texture: Precision satin frosted titanium/slate alloy glass
   - Highlights: Specular top bevel reflection + smooth dark titanium underbody
   - Glows: Distinct individual bioluminescent chromatic aura on pointer hover
   ========================================================================= */
.candy-btn,
.nav-tab-link {
  font-size: 0.81rem;
  font-weight: 700;
  text-decoration: none;
  padding: 7px 16px;
  border-radius: 980px;
  color: #1e293b !important;
  background: linear-gradient(180deg, rgba(235, 241, 248, 0.88) 0%, rgba(195, 207, 222, 0.72) 48%, rgba(162, 178, 198, 0.82) 100%);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 
    0 3px 12px rgba(0, 0, 0, 0.45),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
    inset 0 -1.5px 2px rgba(71, 85, 105, 0.35);
  transition: all 0.26s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  letter-spacing: 0.02em;
  position: relative;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.6);
  flex-shrink: 0;
  cursor: pointer;
}

.candy-btn:hover,
.nav-tab-link:hover {
  transform: translateY(-2px);
}

/* 1. Treatments - Bioluminescent Ice Cyan Aura Glow */
.candy-cyan {
  background: linear-gradient(180deg, rgba(230, 247, 255, 0.92) 0%, rgba(186, 230, 253, 0.75) 48%, rgba(150, 205, 235, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #0c4a6e !important;
}
.candy-cyan:hover, .candy-cyan.active {
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.96) 0%, rgba(186, 230, 253, 0.88) 100%);
  border-color: #38bdf8;
  color: #0369a1 !important;
  box-shadow: 
    0 0 22px rgba(0, 210, 255, 0.85),
    0 0 42px rgba(0, 210, 255, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(2, 132, 199, 0.4);
  transform: translateY(-2px);
}

/* 2. Dr. Jagadish CD - Bioluminescent Warm Amber / Gold Glow */
.candy-amber {
  background: linear-gradient(180deg, rgba(254, 249, 235, 0.92) 0%, rgba(253, 230, 138, 0.75) 48%, rgba(225, 190, 100, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #78350f !important;
}
.candy-amber:hover, .candy-amber.active {
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.96) 0%, rgba(254, 240, 138, 0.88) 100%);
  border-color: #fbbf24;
  color: #b45309 !important;
  box-shadow: 
    0 0 22px rgba(245, 158, 11, 0.85),
    0 0 42px rgba(245, 158, 11, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(180, 83, 9, 0.4);
  transform: translateY(-2px);
}

/* 3. AI Studio - Bioluminescent Sapphire / Tech Blue Glow */
.candy-blue {
  background: linear-gradient(180deg, rgba(239, 246, 255, 0.92) 0%, rgba(191, 219, 254, 0.75) 48%, rgba(155, 195, 245, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #1e3a8a !important;
}
.candy-blue:hover, .candy-blue.active {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.96) 0%, rgba(191, 219, 254, 0.88) 100%);
  border-color: #60a5fa;
  color: #1d4ed8 !important;
  box-shadow: 
    0 0 22px rgba(59, 130, 246, 0.85),
    0 0 42px rgba(59, 130, 246, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(29, 78, 216, 0.4);
  transform: translateY(-2px);
}

/* 4. Donations & Outreach - Bioluminescent Mint Emerald with Pulsing Blink Intact */
.candy-emerald {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.92) 0%, rgba(167, 243, 208, 0.75) 48%, rgba(130, 220, 180, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #064e3b !important;
  animation: donationPeriodicGlow 2.8s ease-in-out infinite;
}
@keyframes donationPeriodicGlow {
  0% {
    box-shadow: 
      0 3px 12px rgba(0, 0, 0, 0.45),
      inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
      inset 0 -1.5px 2px rgba(71, 85, 105, 0.35);
    border-color: rgba(255, 255, 255, 0.65);
    transform: scale(1);
  }
  30% {
    box-shadow: 
      0 0 24px rgba(16, 185, 129, 0.95),
      0 0 48px rgba(16, 185, 129, 0.55),
      inset 0 1.5px 1px rgba(255, 255, 255, 1),
      inset 0 -1.5px 2px rgba(5, 150, 105, 0.5);
    border-color: #10b981;
    color: #022c22 !important;
    transform: scale(1.04);
  }
  60% {
    box-shadow: 
      0 3px 12px rgba(0, 0, 0, 0.45),
      inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
      inset 0 -1.5px 2px rgba(71, 85, 105, 0.35);
    border-color: rgba(255, 255, 255, 0.65);
    transform: scale(1);
  }
  100% {
    box-shadow: 
      0 3px 12px rgba(0, 0, 0, 0.45),
      inset 0 1.5px 1px rgba(255, 255, 255, 0.95),
      inset 0 -1.5px 2px rgba(71, 85, 105, 0.35);
    border-color: rgba(255, 255, 255, 0.65);
    transform: scale(1);
  }
}
.candy-emerald:hover, .candy-emerald.active {
  background: linear-gradient(180deg, rgba(236, 253, 245, 0.96) 0%, rgba(167, 243, 208, 0.9) 100%);
  border-color: #10b981;
  color: #022c22 !important;
  box-shadow: 
    0 0 24px rgba(16, 185, 129, 0.9),
    0 0 46px rgba(16, 185, 129, 0.5),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(4, 120, 87, 0.4);
  transform: translateY(-2px);
}

/* 5. Dental Tourism - Bioluminescent Ocean Teal / Turquoise Glow */
.candy-teal {
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.92) 0%, rgba(153, 246, 228, 0.75) 48%, rgba(120, 215, 200, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #115e59 !important;
}
.candy-teal:hover, .candy-teal.active {
  background: linear-gradient(180deg, rgba(240, 253, 250, 0.96) 0%, rgba(153, 246, 228, 0.88) 100%);
  border-color: #2dd4bf;
  color: #0f766e !important;
  box-shadow: 
    0 0 22px rgba(20, 184, 166, 0.85),
    0 0 42px rgba(20, 184, 166, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(15, 118, 110, 0.4);
  transform: translateY(-2px);
}

/* 6. Games - Bioluminescent Electric Fuchsia / Neon Pink Glow */
.candy-fuchsia {
  background: linear-gradient(180deg, rgba(253, 244, 255, 0.92) 0%, rgba(245, 208, 254, 0.75) 48%, rgba(220, 170, 240, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #701a75 !important;
}
.candy-fuchsia:hover, .candy-fuchsia.active {
  background: linear-gradient(180deg, rgba(253, 244, 255, 0.96) 0%, rgba(245, 208, 254, 0.88) 100%);
  border-color: #e879f9;
  color: #a21caf !important;
  box-shadow: 
    0 0 22px rgba(217, 70, 239, 0.85),
    0 0 42px rgba(217, 70, 239, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(162, 28, 175, 0.4);
  transform: translateY(-2px);
}

/* 7. Kids Care - Bioluminescent Magical Lilac / Violet Glow */
.candy-violet {
  background: linear-gradient(180deg, rgba(250, 245, 255, 0.92) 0%, rgba(233, 213, 255, 0.75) 48%, rgba(200, 175, 245, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #581c87 !important;
}
.candy-violet:hover, .candy-violet.active {
  background: linear-gradient(180deg, rgba(250, 245, 255, 0.96) 0%, rgba(233, 213, 255, 0.88) 100%);
  border-color: #c084fc;
  color: #7e22ce !important;
  box-shadow: 
    0 0 22px rgba(168, 85, 247, 0.85),
    0 0 42px rgba(168, 85, 247, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(126, 34, 206, 0.4);
  transform: translateY(-2px);
}

/* 8. Education & PDFs - Bioluminescent Royal Indigo Glow */
.candy-indigo {
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.92) 0%, rgba(199, 210, 254, 0.75) 48%, rgba(165, 180, 245, 0.85) 100%);
  border-color: rgba(255, 255, 255, 0.8);
  color: #312e81 !important;
}
.candy-indigo:hover, .candy-indigo.active {
  background: linear-gradient(180deg, rgba(238, 242, 255, 0.96) 0%, rgba(199, 210, 254, 0.88) 100%);
  border-color: #818cf8;
  color: #4338ca !important;
  box-shadow: 
    0 0 22px rgba(99, 102, 241, 0.85),
    0 0 42px rgba(99, 102, 241, 0.45),
    inset 0 1.5px 1.5px rgba(255, 255, 255, 1),
    inset 0 -1.5px 2px rgba(67, 56, 202, 0.4);
  transform: translateY(-2px);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-contact-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 6px 16px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #ffffff;
  background: #0071e3;
  border-radius: 980px;
  text-decoration: none;
  transition: background 0.2s ease, transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.2s ease;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2), 0 0 12px rgba(0, 113, 227, 0.35);
  cursor: pointer;
}

.nav-contact-btn:hover {
  background: #0077ed;
  transform: scale(1.04);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3), 0 0 18px rgba(0, 113, 227, 0.6);
}

.nav-contact-btn:active {
  transform: scale(0.97);
  background: #0062c4;
}

.nav-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 6px 14px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
}

.nav-phone-btn:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

.nav-phone-btn:active {
  transform: scale(0.97);
}

/* =======================================================
   Scroll Scrubbing Track & Viewport
   ======================================================= */
.scroll-container {
  position: relative;
  width: 100%;
  height: 260vh; /* Increased scroll scrub speed (responsive travel) */
}

.viewport {
  position: sticky;
  top: 0;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 124px 40px 24px;
}

.hero-stage {
  width: 100%;
  max-width: 1400px;
  height: calc(100vh - 96px);
  display: grid;
  grid-template-columns: 1fr 1.22fr; /* Generous large right column for animation */
  gap: 48px;
  align-items: center;
}

/* =======================================================
   LEFT COLUMN: Apple Editorial Window
   ======================================================= */
.info-column {
  display: flex;
  align-items: center;
  height: 100%;
  max-height: calc(100vh - 110px); /* Fill available vertical space cleanly */
  overflow-y: auto; /* Allow natural internal scrolling if on small desktop/laptop screens */
  overflow-x: hidden;
  padding-right: 6px;
  transform: translate3d(0, 0, 0);
  will-change: transform;
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 210, 255, 0.2) transparent;
}

.info-column::-webkit-scrollbar {
  width: 4px;
}

.info-column::-webkit-scrollbar-thumb {
  background: rgba(0, 210, 255, 0.25);
  border-radius: 980px;
}

.info-card {
  width: 100%;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  padding: 32px 36px; /* Optimized padding ensuring all text, buttons, and specs fit without clipping */
  backdrop-filter: blur(40px);
  -webkit-backdrop-filter: blur(40px);
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  display: flex;
  flex-direction: column;
  transform: translate3d(0, 0, 0);
  -webkit-font-smoothing: subpixel-antialiased;
  text-rendering: optimizeLegibility;
}

/* Large High-Contrast Gradient Clinic Heading */
.clinic-hero-badge {
  margin-bottom: 6px;
}

.gradient-clinic-title {
  display: inline-block;
  font-size: clamp(1.4rem, 2.4vw, 2.2rem);
  font-weight: 800;
  letter-spacing: -0.025em;
  line-height: 1.15;
  background: linear-gradient(135deg, #2997ff 0%, #5ac8fa 40%, #a78bfa 75%, #34d399 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(41, 151, 255, 0.25);
}

.headline {
  font-size: clamp(1.8rem, 2.8vw, 2.6rem);
  font-weight: 700;
  line-height: 1.15;
  letter-spacing: -0.03em;
  color: #ffffff;
  margin-bottom: 8px;
}

.subhead {
  font-size: 1.05rem;
  line-height: 1.4;
  color: #d1e2f4;
  font-weight: 500;
  margin-bottom: 16px;
  letter-spacing: -0.015em;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.editorial-body {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.lead-text {
  font-size: 0.92rem;
  line-height: 1.55;
  color: #f1f7fd;
  font-weight: 450;
}

/* Specs List: Apple Clean Style */
.specs-list {
  display: flex;
  flex-direction: column;
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  margin-top: 4px;
}

.spec-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 9px 0;
  border-bottom: 1px solid rgba(0, 210, 255, 0.12);
  font-size: 0.85rem;
}

.spec-label {
  color: #9bbcdb;
  font-weight: 500;
  letter-spacing: -0.005em;
}

.spec-val {
  color: #ffffff;
  font-weight: 700;
  text-align: right;
  letter-spacing: -0.01em;
  text-shadow: 0 0 10px rgba(0, 210, 255, 0.3);
}

/* Status Indicator Footer */
.status-footer {
  margin-top: 14px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--text-tertiary);
}

.scroll-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--accent-cyan);
  box-shadow: 0 0 10px var(--accent-cyan);
  animation: breathe 2.4s infinite ease-in-out;
}

@keyframes breathe {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.85); }
}

.status-text {
  flex: 1;
  color: var(--text-secondary);
  font-weight: 400;
}

.time-readout {
  font-family: var(--font-mono);
  font-size: 0.78rem;
  color: var(--text-secondary);
}

/* =======================================================
   RIGHT COLUMN: Large Minimalist Animation Frame
   ======================================================= */
.animation-column {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  max-height: min(580px, 75vh);
  background: #000;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.95),
              0 0 50px rgba(41, 151, 255, 0.08);
}

.video-frame video,
.video-frame canvas {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
  display: block;
  pointer-events: none; /* Let touch scrolls pass through cleanly on mobile */
}

/* Minimalist Scrub Progress Fill at bottom of video (Hidden as requested) */
.video-progress-bar {
  display: none !important;
}

.progress-fill {
  display: none !important;
}

/* =======================================================
   Overview Metrics Section
   ======================================================= */
.overview-section {
  width: 100%;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 64px 32px;
  background: #000;
}

.overview-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}

.metric-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.metric-val {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: #fff;
}

.metric-caption {
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 400;
  letter-spacing: -0.01em;
}

/* =======================================================
   Minimalist Footer
   ======================================================= */
.footer {
  padding: 56px 32px;
  background: #000;
  text-align: center;
}

.footer-container {
  max-width: 800px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.footer-brand {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.01em;
}

.footer-brand-link {
  color: #fff;
  text-decoration: none;
  border-bottom: 1px dotted rgba(255, 255, 255, 0.4);
  transition: all 0.2s ease;
}

.footer-brand-link:hover {
  color: var(--accent-cyan);
  border-bottom-color: var(--accent-cyan);
}

.footer-copy {
  font-size: 0.8rem;
  color: var(--text-tertiary);
  line-height: 1.5;
}

/* International Copyright & Intellectual Property Legal Bar */
.footer-legal-bar {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.copyright-text {
  font-size: 0.82rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.01em;
}

.ip-notice {
  font-size: 0.72rem;
  line-height: 1.6;
  color: #94a3b8;
  max-width: 820px;
  margin: 0 auto;
}

/* =======================================================
   Note on Dental Implants & Importance Section
   ======================================================= */
.implant-importance-section {
  width: 100%;
  padding: 100px 32px 80px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.importance-container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 60px;
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 16px;
}

.section-desc {
  font-size: 1.12rem;
  color: #c7d9ec;
  line-height: 1.55;
  font-weight: 450;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

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

.importance-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  padding: 36px 32px;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.importance-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 151, 255, 0.4);
}

.card-icon-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 12px;
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-cyan);
  font-family: var(--font-mono);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 20px;
  border: 1px solid rgba(41, 151, 255, 0.3);
}

.card-title {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
  letter-spacing: -0.02em;
}

.card-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
  font-weight: 400;
}

/* =======================================================
   Continuous Dual Hero Treatment Blocks & Divider
   ======================================================= */
.treatment-block {
  position: relative;
  width: 100%;
}

.section-divider-banner {
  width: 100%;
  padding: 80px 32px;
  background: radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.12) 0%, rgba(0, 0, 0, 1) 70%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.divider-content {
  max-width: 700px;
  margin: 0 auto;
}

.divider-label {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.divider-heading {
  font-size: clamp(2rem, 3.5vw, 2.8rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 10px;
}

.divider-sub {
  font-size: 1rem;
  color: var(--text-secondary);
  letter-spacing: -0.01em;
}

/* =======================================================
   Section 3: Comprehensive Dental & Pediatric Care
   ======================================================= */
.care-section-block {
  width: 100%;
  padding: 80px 32px 100px;
  background: #000;
}

.care-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 80px;
}

.care-spotlight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.care-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 28px;
  overflow: hidden;
  backdrop-filter: blur(28px);
  -webkit-backdrop-filter: blur(28px);
  display: flex;
  flex-direction: column;
  box-shadow: 0 30px 80px -20px rgba(0, 0, 0, 0.9);
  transition: transform 0.25s ease, border-color 0.25s ease;
}

.care-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 151, 255, 0.4);
}

.care-card-media {
  position: relative;
  width: 100%;
  height: 240px;
  overflow: hidden;
  background: #000;
}

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

.care-card:hover .care-card-img {
  transform: scale(1.03);
}

.care-badge-overlay {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 6px 14px;
  font-size: 0.76rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #2997ff;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(41, 151, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 980px;
}

.pediatric-badge {
  color: #a78bfa;
  border-color: rgba(167, 139, 250, 0.4);
}

.care-card-content {
  padding: 36px 32px 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.care-title {
  font-size: clamp(1.8rem, 2.6vw, 2.2rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.025em;
  line-height: 1.2;
}

.care-lead {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.care-points {
  display: flex;
  flex-direction: column;
  gap: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 20px;
}

.care-point-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.point-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(41, 151, 255, 0.15);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: bold;
  flex-shrink: 0;
  margin-top: 2px;
}

.pediatric-check {
  background: rgba(167, 139, 250, 0.15);
  color: #a78bfa;
}

.point-text {
  font-size: 0.9rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.point-text strong {
  color: #fff;
  font-weight: 600;
}

/* =======================================================
   Downloadable Guides Library
   ======================================================= */
.downloads-section {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.downloads-header {
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.downloads-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--accent-cyan);
  margin-bottom: 12px;
}

.downloads-title {
  font-size: clamp(2.2rem, 3.4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.03em;
  margin-bottom: 14px;
}

.downloads-desc {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

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

.download-card {
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.download-card:hover {
  transform: translateY(-4px);
  border-color: rgba(41, 151, 255, 0.45);
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.8), 0 0 30px rgba(41, 151, 255, 0.12);
}

.download-thumb-wrap {
  position: relative;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #000;
}

.download-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.download-card:hover .download-thumb-img {
  transform: scale(1.05);
}

.download-badge-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #fff;
  background: rgba(0, 0, 0, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  padding: 4px 10px;
  border-radius: 980px;
}

.download-meta {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 0 24px;
  flex: 1;
}

.download-name {
  font-size: 1.15rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: -0.015em;
  line-height: 1.3;
}

.download-summary {
  font-size: 0.86rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.download-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  width: calc(100% - 48px);
  margin: 0 24px 24px;
  padding: 12px 18px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  color: #fff;
  font-size: 0.88rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.download-action-btn:hover {
  background: #0071e3;
  border-color: #0071e3;
  box-shadow: 0 4px 15px rgba(0, 113, 227, 0.4);
  transform: translateY(-1px);
}

.download-action-btn:active {
  transform: scale(0.98);
}

/* =======================================================
   Apple-Style Call-to-Action Buttons (Google Page Link)
   ======================================================= */
.hero-cta-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 12px 22px;
  background: #0071e3;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: -0.01em;
  border-radius: 980px;
  text-decoration: none;
  box-shadow: 0 4px 18px rgba(0, 113, 227, 0.4);
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  width: fit-content;
  cursor: pointer;
  position: relative;
  z-index: 10;
  pointer-events: auto;
}

.hero-cta-btn:hover {
  background: #0077ed;
  transform: translateY(-2px) scale(1.02);
  box-shadow: 0 6px 24px rgba(0, 113, 227, 0.6);
}

.hero-cta-btn:active {
  transform: scale(0.98);
}

.hero-cta-btn svg {
  transition: transform 0.2s ease;
}

.hero-cta-btn:hover svg {
  transform: translateX(3px);
}

/* Secondary Ghost CTA */
.hero-cta-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
  padding: 11px 20px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 500;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.hero-cta-ghost:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.35);
  transform: translateY(-1px);
}

.card-cta-group {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.hero-card-action {
  margin-top: 4px;
  margin-bottom: 16px;
}

.hero-card-action .hero-cta-btn,
.hero-card-action .hero-cta-ghost {
  margin-top: 0 !important;
}

/* Care Card Inline Action Button */
.care-inline-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
  padding: 10px 18px;
  background: rgba(41, 151, 255, 0.12);
  border: 1px solid rgba(41, 151, 255, 0.3);
  color: var(--accent-cyan);
  font-size: 0.85rem;
  font-weight: 500;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.2s ease;
  width: fit-content;
}

.care-inline-cta:hover {
  background: #0071e3;
  color: #fff;
  border-color: #0071e3;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.4);
  transform: translateY(-1px);
}

.pediatric-cta {
  background: rgba(167, 139, 250, 0.12);
  border-color: rgba(167, 139, 250, 0.3);
  color: #a78bfa;
}

.pediatric-cta:hover {
  background: #8b5cf6;
  border-color: #8b5cf6;
  color: #fff;
  box-shadow: 0 4px 16px rgba(139, 92, 246, 0.4);
}

/* =======================================================
   SECTION 4: Community Responsibilities & Outreach Gallery
   ======================================================= */
.community-gallery-section {
  width: 100%;
  padding: 100px 32px 110px;
  background: #000;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.community-container {
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 60px;
}

.gallery-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.gallery-badge {
  display: inline-block;
  padding: 6px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #34d399;
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 980px;
}

.gallery-title {
  font-size: clamp(2rem, 3.6vw, 3rem);
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.gallery-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

/* Gallery Grid: 3 columns desktop, responsive on tablet/mobile */
.community-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Feature First Two Cards for Editorial Rhythm */
.community-grid .gallery-card:nth-child(1),
.community-grid .gallery-card:nth-child(2) {
  grid-column: span 1;
}

@media (min-width: 1081px) {
  .community-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.gallery-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid var(--surface-border);
  border-radius: 24px;
  overflow: hidden;
  cursor: pointer;
  box-shadow: 0 20px 60px -15px rgba(0, 0, 0, 0.8);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.gallery-card:hover {
  transform: translateY(-6px) scale(1.015);
  border-color: rgba(52, 211, 153, 0.45);
  box-shadow: 0 30px 80px -15px rgba(0, 0, 0, 0.95), 0 0 35px rgba(52, 211, 153, 0.15);
}

.gallery-img-wrapper {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  overflow: hidden;
  background: #0a0a0c;
}

.gallery-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Dark Gradient Overlay with Text & Expand Icon */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.15) 45%, rgba(0, 0, 0, 0.94) 100%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 18px;
  transition: background 0.3s ease;
}

.gallery-card:hover .gallery-overlay {
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.0) 0%, rgba(0, 0, 0, 0.2) 40%, rgba(0, 0, 0, 0.96) 100%);
}

.gallery-tag {
  align-self: flex-start;
  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #fff;
  background: rgba(0, 0, 0, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 980px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.gallery-info {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.gallery-card-title {
  font-size: 1.12rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.015em;
  line-height: 1.25;
}

.gallery-card-desc {
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.45;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-expand-icon {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.25);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  opacity: 0.8;
  transition: all 0.25s ease;
}

.gallery-card:hover .gallery-expand-icon {
  opacity: 1;
  background: #34d399;
  color: #000;
  border-color: #34d399;
  transform: scale(1.1);
}

/* Impact Metrics Row */
.gallery-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 32px 24px;
}

.gallery-metric-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 6px;
}

.g-metric-num {
  font-size: clamp(1.8rem, 2.8vw, 2.4rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #34d399 0%, #5ac8fa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.g-metric-label {
  font-size: 0.84rem;
  color: var(--text-secondary);
  font-weight: 500;
}

/* Photo Lightbox Modal */
.gallery-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  background: rgba(0, 0, 0, 0.92);
  animation: modalFadeIn 0.25s ease forwards;
}

.gallery-modal.active {
  display: flex;
}

@keyframes modalFadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.modal-backdrop {
  position: absolute;
  inset: 0;
}

.modal-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  background: #141417;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 40px 120px -20px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  animation: modalScaleUp 0.3s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes modalScaleUp {
  from { transform: scale(0.92); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-close-btn {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  font-size: 24px;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #ff453a;
  border-color: #ff453a;
  transform: rotate(90deg);
}

.modal-img-container {
  width: 100%;
  max-height: 68vh;
  background: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.modal-img {
  width: 100%;
  height: 100%;
  max-height: 68vh;
  object-fit: contain;
  display: block;
}

.modal-caption {
  padding: 22px 28px;
  background: #141417;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.modal-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.modal-desc {
  font-size: 0.92rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* =======================================================
   DOCTOR SPOTLIGHT SECTION: DR. JAGADISH CD
   ======================================================= */
.doctor-scrub-block {
  width: 100%;
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: transparent;
}

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

.doctor-bio-card {
  position: relative;
  background: var(--surface-card);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 28px;
  padding: 38px 36px;
  backdrop-filter: blur(40px) saturate(160%);
  -webkit-backdrop-filter: blur(40px) saturate(160%);
  box-shadow: 0 30px 90px -20px rgba(0, 0, 0, 0.95), 0 0 40px rgba(41, 151, 255, 0.12);
}

.doctor-bio-card::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 28px;
  padding: 1px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.04) 50%, rgba(41, 151, 255, 0.4) 100%);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.doctor-headline {
  font-size: clamp(2rem, 3.2vw, 2.8rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #fff;
  margin-top: 4px;
}

.doctor-subhead {
  font-size: 0.92rem;
  color: #5ac8fa;
  font-weight: 600;
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.doctor-specs .spec-row {
  padding: 9px 0;
  font-size: 0.84rem;
}

.doctor-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  max-height: min(580px, 75vh);
  background: #000;
  border-radius: 32px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 40px 100px -20px rgba(0, 0, 0, 0.95), 0 0 50px rgba(41, 151, 255, 0.15);
}

.doctor-frame video {
  width: 100%;
  height: 100%;
  aspect-ratio: 4 / 3.5;
  object-fit: cover;
  display: block;
}

.doctor-dot {
  background: #5ac8fa;
  box-shadow: 0 0 10px #5ac8fa;
}

.doctor-fill {
  background: linear-gradient(90deg, #2997ff, #5ac8fa);
  box-shadow: 0 0 10px #5ac8fa;
}

/* =======================================================
   PHYSICALLY REALISTIC THICK OPTICAL GLASS (PARALLAX-INTERACTIVE BORDERS)
   - 3.5px thick double bevel optical glass frame
   - Specular crest highlights shifting with scroll & parallax
   - Volumetric sub-surface light dispersion
   ======================================================= */
.info-card,
.care-card,
.importance-card,
.download-card,
.gallery-card,
.clinic-cta-box,
.doctor-bio-card {
  background: linear-gradient(
    135deg,
    rgba(10, 24, 42, 0.76) 0%,
    rgba(5, 14, 28, 0.82) 100%
  ) !important;
  backdrop-filter: blur(52px) saturate(195%) contrast(110%) !important;
  -webkit-backdrop-filter: blur(52px) saturate(195%) contrast(110%) !important;
  /* Extra thick optical clinical glass border frame */
  border: 3.5px solid transparent !important;
  background-clip: padding-box !important;
  position: relative !important;
  box-shadow: 
    0 40px 90px -15px rgba(0, 0, 0, 0.95),
    0 12px 36px rgba(0, 0, 0, 0.7),
    /* Inner top specular light catch shifting with ambient parallax */
    inset 0 2px 1px 0 rgba(255, 255, 255, 0.75),
    /* Inner bottom ambient reflection catch */
    inset 0 -2px 1px 0 rgba(16, 232, 191, 0.4),
    /* Deep volumetric inner surgical glow */
    inset 0 0 45px rgba(0, 210, 255, 0.08),
    /* Outer fine caustic bevel contour */
    0 0 0 1px rgba(0, 210, 255, 0.25) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Thick 3D Prismatic Glass Bevel Border that reacts to parallax angles */
.info-card::before,
.care-card::before,
.importance-card::before,
.download-card::before,
.gallery-card::before,
.clinic-cta-box::before,
.doctor-bio-card::before {
  content: "" !important;
  position: absolute !important;
  inset: -3.5px !important;
  border-radius: inherit !important;
  padding: 3.5px !important;
  background: linear-gradient(
    calc(135deg + var(--parallax-angle, 0deg)),
    rgba(255, 255, 255, 0.95) 0%,
    rgba(255, 255, 255, 0.35) 20%,
    rgba(0, 210, 255, 0.65) 45%,
    rgba(255, 255, 255, 0.2) 70%,
    rgba(16, 232, 191, 0.7) 100%
  ) !important;
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0) !important;
  -webkit-mask-composite: xor !important;
  mask-composite: exclude !important;
  pointer-events: none !important;
  z-index: 2 !important;
  opacity: 0.95 !important;
}

.care-section-block,
.implant-importance-section,
.overview-section,
.page-switch-section,
.community-gallery-section {
  background: transparent !important;
}

/* =======================================================
   LIQUID GLASS TYPOGRAPHY: CYLINDRICAL GLASS LETTERS
   - Letters appear cast from polished cylindrical quartz glass rods
   - Specular crest highlights along cylindrical axis with liquid caustics
   - Translucent glass core refracting medical cyan & pure aqua light
   - Deep chromatic refraction & fluid glass caustics
   ======================================================= */

/* Cylindrical Liquid Glass Master Class & Shared Properties */
.gradient-clinic-title,
.doctor-headline,
.clinic-cta-title,
.headline,
.section-title,
.downloads-title,
.gallery-main-title {
  position: relative !important;
  display: inline-block;
  font-family: var(--font-apple);
  font-weight: 800 !important;
  letter-spacing: -0.025em;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Cylindrical glass rod lighting profile: specular crest line at top, translucent glass core, bottom caustic rim */
  background-size: 100% 100%;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  /* Cylindrical optical glass depth shadows & specular caustic glow */
  filter: 
    drop-shadow(0 4px 8px rgba(0, 0, 0, 0.9))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.8))
    drop-shadow(0 0 16px rgba(0, 210, 255, 0.45))
    drop-shadow(0 0 35px rgba(16, 232, 191, 0.25)) !important;
  transition: filter 0.3s ease, transform 0.25s ease;
}

/* Primary Clinic Brand & Doctor Name: Multi-layer Cylindrical Liquid Glass Rod */
.gradient-clinic-title,
.doctor-headline,
.clinic-cta-title {
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,                    /* Top specular light ridge on cylindrical curve */
    rgba(255, 255, 255, 0.95) 12%, /* Bright upper apex reflection */
    #8ee8ff 22%,                   /* Crystal upper meniscus */
    #00d2ff 42%,                   /* Pure liquid medical cyan refraction core */
    #0096c7 58%,                   /* Deeper cylinder refraction horizon */
    #10e8bf 78%,                   /* Volumetric mint caustic internal glow */
    #ffffff 92%,                   /* Bottom internal reflection caustic ring */
    #5ac8fa 100%                   /* Lower rim meniscus catch */
  ) !important;
  filter: 
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.95))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 20px rgba(0, 210, 255, 0.6))
    drop-shadow(0 0 40px rgba(16, 232, 191, 0.35)) !important;
}

/* Hero Headline: Pure Cylindrical Liquid Glass with Precision Crystal Apex */
.headline {
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,                    /* Razor-sharp cylindrical specular peak highlight */
    rgba(255, 255, 255, 0.98) 14%, /* Upper glass surface reflection */
    #d8f5ff 28%,                   /* Pristine transparent crystal body */
    #62d9ff 50%,                   /* Cylindrical center focal depth */
    #00a8e8 70%,                   /* Sub-surface internal light bend */
    #a2f4e8 88%,                   /* Liquid mint bottom caustic accent */
    #ffffff 96%,                   /* Fine lower glass edge highlight */
    #70d6ff 100%                   /* Ambient return catch */
  ) !important;
  filter: 
    drop-shadow(0 5px 12px rgba(0, 0, 0, 0.9))
    drop-shadow(0 1px 3px rgba(0, 0, 0, 0.8))
    drop-shadow(0 0 25px rgba(0, 210, 255, 0.5))
    drop-shadow(0 0 50px rgba(98, 217, 255, 0.25)) !important;
}

/* Section Titles: Cylindrical Liquid Glass with Vibrant Mint-Cyan Caustics */
.section-title,
.downloads-title,
.gallery-main-title {
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,                    /* Polished cylindrical top line */
    rgba(255, 255, 255, 0.92) 15%, /* Glass surface highlight */
    #a8f8e8 32%,                   /* Mint crystal transition */
    #10e8bf 50%,                   /* Saturated cylindrical core */
    #00b4d8 68%,                   /* Azure refraction line */
    #ffffff 88%,                   /* Bottom caustic reflection strike */
    #00e1d9 100%                   /* Lower rim contour */
  ) !important;
  filter: 
    drop-shadow(0 4px 10px rgba(0, 0, 0, 0.85))
    drop-shadow(0 1px 2px rgba(0, 0, 0, 0.75))
    drop-shadow(0 0 22px rgba(16, 232, 191, 0.55))
    drop-shadow(0 0 45px rgba(0, 210, 255, 0.3)) !important;
}

/* Metric Numerals: Cylindrical Glass Tubular Numbers with Luminous Core */
.metric-val,
.gallery-stat-num {
  font-weight: 800 !important;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #e0fcff 18%,
    #10e8bf 46%,
    #0096c7 70%,
    #ffffff 90%,
    #5ac8fa 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: 
    drop-shadow(0 3px 8px rgba(0, 0, 0, 0.85))
    drop-shadow(0 0 20px rgba(16, 232, 191, 0.5)) !important;
}

/* Eyebrow & Pill Tags: Liquid Glass Tubular Badge Effect */
.section-eyebrow,
.downloads-eyebrow,
.gallery-eyebrow,
.nav-tag {
  font-weight: 700 !important;
  letter-spacing: 0.08em;
  background-image: linear-gradient(
    180deg,
    #ffffff 0%,
    #10e8bf 45%,
    #00d2ff 85%,
    #ffffff 100%
  ) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  color: transparent !important;
  filter: drop-shadow(0 0 14px rgba(0, 210, 255, 0.7)) !important;
}

/* =======================================================
   PLAIN VERTICAL BAR GLASS DESCRIPTION BOXES (ULTRA-TRANSPARENT REFLECTIVE PARALLAX)
   - Ultra-transparent fluted vertical bar optical glass
   - Live background reflection shifting with parallax
   - Specular vertical fluting lines with pristine clarity
   ======================================================= */
.editorial-body,
.card-body,
.care-lead,
.download-meta,
.gallery-info,
.modal-desc,
.clinic-cta-desc,
.overview-container,
.gallery-metrics-row {
  position: relative !important;
  /* Pure ultra-transparent surgical fluted bar glass */
  background-color: rgba(6, 16, 30, 0.42) !important;
  background-image: 
    /* Crisp vertical glass bar optical fluting (repeating vertical louvres) */
    repeating-linear-gradient(
      90deg,
      rgba(0, 210, 255, 0.06) 0px,
      rgba(0, 210, 255, 0.06) 1.5px,
      transparent 1.5px,
      transparent 14px,
      rgba(16, 232, 191, 0.03) 14px,
      rgba(16, 232, 191, 0.03) 15.5px,
      transparent 15.5px,
      transparent 28px
    ),
    /* Real-time background reflection shifting with parallax */
    radial-gradient(
      at calc(50% + var(--parallax-x, 0px) * 0.12) calc(35% + var(--parallax-y, 0px) * 0.12),
      rgba(16, 232, 191, 0.14) 0%,
      rgba(0, 210, 255, 0.10) 45%,
      transparent 80%
    ) !important;
  /* Ultra-clear glass refraction allowing background elements to shine cleanly through */
  backdrop-filter: blur(16px) saturate(190%) contrast(106%) !important;
  -webkit-backdrop-filter: blur(16px) saturate(190%) contrast(106%) !important;
  border: 1px solid rgba(0, 210, 255, 0.3) !important;
  border-top-color: rgba(255, 255, 255, 0.65) !important;
  border-bottom-color: rgba(16, 232, 191, 0.3) !important;
  border-radius: 18px !important;
  padding: 18px 20px !important;
  box-shadow: 
    0 8px 30px -4px rgba(0, 0, 0, 0.55),
    /* Fine top specular crest line */
    inset 0 1px 0 0 rgba(255, 255, 255, 0.6),
    /* Subtle vertical specular flute reflection */
    inset 1px 0 0 0 rgba(0, 210, 255, 0.12),
    /* Soft ambient volumetric air glow */
    inset 0 0 20px rgba(0, 210, 255, 0.06) !important;
  transition: border-color 0.25s ease, box-shadow 0.25s ease !important;
}

/* Hover: subtle illumination of vertical glass bars */
.editorial-body:hover,
.importance-card:hover .card-body,
.care-card:hover .care-lead,
.download-card:hover .download-meta,
.gallery-card:hover .gallery-info {
  border-color: rgba(0, 210, 255, 0.5) !important;
  border-top-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 
    0 12px 34px -4px rgba(0, 0, 0, 0.7),
    0 0 28px rgba(0, 210, 255, 0.25),
    inset 0 1px 0 0 rgba(255, 255, 255, 0.85) !important;
}

/* Pure crystal clarity for typography through transparent glass */
.lead-text,
.card-body,
.care-lead,
.download-summary,
.gallery-card-desc,
.modal-desc {
  color: #f8fafc !important;
  font-weight: 450 !important;
  line-height: 1.65 !important;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85) !important;
}

/* Master Clinic Consultation Banner */
.clinic-master-cta-section {
  width: 100%;
  padding: 90px 32px;
  background: radial-gradient(circle at 50% 50%, rgba(41, 151, 255, 0.18) 0%, rgba(10, 10, 12, 1) 75%);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
}

.clinic-cta-box {
  max-width: 820px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.cta-rating-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 980px;
  font-size: 0.8rem;
  color: #ffd60a;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.cta-rating-pill span {
  color: var(--text-secondary);
  font-weight: 400;
}

.clinic-cta-title {
  font-size: clamp(2.2rem, 3.8vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  color: #ffffff;
  line-height: 1.15;
}

.clinic-cta-desc {
  font-size: 1.1rem;
  color: var(--text-secondary);
  max-width: 640px;
  line-height: 1.55;
}

.clinic-cta-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 12px;
  flex-wrap: wrap;
}

.btn-primary-google {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 28px;
  background: #0071e3;
  color: #fff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 980px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(0, 113, 227, 0.45);
  transition: all 0.22s ease;
}

.btn-primary-google:hover {
  background: #0077ed;
  transform: translateY(-2px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0, 113, 227, 0.65);
}

.btn-secondary-phone {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 13px 24px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 500;
  border-radius: 980px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-secondary-phone:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-1px);
}

/* Apple-Style Bottom Mobile Action Dock */
.mobile-action-dock {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 12px));
  background: rgba(8, 16, 28, 0.82);
  backdrop-filter: blur(24px) saturate(180%);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.6);
  gap: 12px;
}

.dock-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 14px;
  border-radius: 980px;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.15s ease, background-color 0.15s ease;
  -webkit-tap-highlight-color: transparent;
}

.dock-btn:active {
  transform: scale(0.97);
}

.dock-btn-call {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: #ffffff;
}

.dock-btn-book {
  background: #0071e3;
  color: #ffffff;
  box-shadow: 0 4px 16px rgba(0, 113, 227, 0.5);
}

@media (max-width: 768px) {
  .mobile-action-dock {
    display: flex;
  }
  .desktop-only-fab {
    display: none !important;
  }
  /* Give enough breathing room for bottom dock on mobile */
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom, 12px)) !important;
  }
}

/* Floating Action Button (Desktop Only) */
.floating-google-fab {
  position: fixed;
  bottom: max(24px, env(safe-area-inset-bottom, 24px));
  right: max(24px, env(safe-area-inset-right, 24px));
  z-index: 9999;
  pointer-events: auto;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 20px;
  background: rgba(22, 22, 24, 0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 980px;
  color: #ffffff;
  font-size: 0.84rem;
  font-weight: 600;
  text-decoration: none;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 24px rgba(41, 151, 255, 0.35);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-google-fab:hover {
  background: #0071e3;
  border-color: #0071e3;
  transform: translateY(-3px) scale(1.04);
  box-shadow: 0 14px 40px rgba(0, 113, 227, 0.5);
}

.floating-google-fab:active {
  transform: scale(0.97);
}

.fab-icon {
  width: 18px;
  height: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* =======================================================
   Page Switcher Card Section
   ======================================================= */
.page-switch-section {
  width: 100%;
  padding: 60px 32px;
  background: #000;
}

.page-switch-container {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.page-switch-card {
  display: block;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 20px;
  padding: 28px;
  text-decoration: none;
  transition: all 0.25s ease;
}

.page-switch-card:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(41, 151, 255, 0.4);
  transform: translateY(-2px);
}

.page-switch-card.current {
  border-color: rgba(41, 151, 255, 0.5);
  background: rgba(41, 151, 255, 0.06);
}

.switch-label {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.switch-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  letter-spacing: -0.015em;
}

.switch-desc {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.4;
}

/* =======================================================
   Mobile App & Responsive Breakpoints
   ======================================================= */
@media (max-width: 1080px) {
  .scroll-container {
    height: 300vh; /* Smooth, natural scroll runway on mobile */
  }

  .viewport {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    padding: calc(96px + env(safe-area-inset-top, 0px)) 16px 16px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .hero-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    gap: 12px;
    padding: 4px 0 0;
  }

  .animation-column {
    order: 1; /* Place animation at prime top spot */
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .video-frame {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 4 / 3.5;
    height: auto !important;
    max-height: 34vh; /* Optimum 4:3 height leaving room for editorial info below */
    border-radius: 20px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.95);
  }

  .info-column {
    order: 2; /* Editorial card right below 4:3 animation */
    width: 100%;
    max-height: none !important;
    overflow: visible !important; /* Unrestricted natural page scrolling */
    display: flex;
    align-items: flex-start;
  }

  .info-column::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }

  .info-card {
    padding: 16px 16px 18px;
    border-radius: 20px;
    width: 100%;
    background: rgba(8, 16, 28, 0.92); /* Solid clinical dark glass for instant rendering without lag */
  }

  .gradient-clinic-title {
    font-size: 1.18rem;
  }

  .headline {
    font-size: 1.5rem;
    line-height: 1.15;
    margin-bottom: 4px;
  }

  .subhead {
    font-size: 0.84rem;
    margin-bottom: 8px;
    line-height: 1.35;
  }

  .lead-text {
    font-size: 0.8rem;
    line-height: 1.4;
  }

  .spec-row {
    padding: 6px 0;
    font-size: 0.76rem;
  }

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

  .page-switch-container {
    grid-template-columns: 1fr;
  }

  .overview-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

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

@media (max-width: 768px) {
  .nav-links {
    display: flex;
  }
  
  .scroll-container {
    height: 250vh; /* Shorter scroll runway optimized for rapid finger flicking on mobile */
  }

  .care-spotlight-grid {
    grid-template-columns: 1fr;
  }

  .community-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

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

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

@media (max-width: 768px) {
  .nav-bar {
    height: auto;
    padding-top: calc(8px + env(safe-area-inset-top, 0px));
    padding-bottom: 7px;
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    gap: 6px;
    background: rgba(0, 0, 0, 0.95);
  }

  .nav-content {
    padding: 0 max(12px, env(safe-area-inset-right, 0px)) 0 max(12px, env(safe-area-inset-left, 0px));
    height: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .nav-links {
    padding: 3px max(6px, env(safe-area-inset-right, 0px)) 5px max(6px, env(safe-area-inset-left, 0px));
    gap: 5px 6px !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
    flex-wrap: wrap !important;
    box-sizing: border-box !important;
  }

  .nav-links .candy-btn {
    padding: 4px 9px !important;
    font-size: 0.64rem !important;
    font-weight: 700 !important;
    white-space: nowrap !important;
  }

  /* Stack Brand One Below Another */
  .nav-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 0px;
    line-height: 1.15;
  }

  .nav-divider {
    display: none !important;
  }

  .nav-domain {
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: -0.01em;
    display: block;
  }

  .nav-clinic {
    font-size: 0.72rem;
    font-weight: 600;
    display: block;
  }

  .nav-right {
    gap: 6px;
    display: flex !important;
    align-items: center !important;
    flex-shrink: 0 !important;
    z-index: 105;
  }

  /* Call & Maps icon-only buttons on Mobile to make space for ticker */
  .nav-phone-btn,
  .nav-contact-btn {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 6px !important;
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    border-radius: 50% !important;
    gap: 0 !important;
    flex-shrink: 0 !important;
    opacity: 1 !important;
    visibility: visible !important;
    box-sizing: border-box !important;
  }

  .nav-phone-btn {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.28) !important;
    color: #ffffff !important;
  }

  .nav-contact-btn {
    background: #0071e3 !important;
    border: 1px solid #2997ff !important;
    color: #ffffff !important;
    box-shadow: 0 2px 10px rgba(0, 113, 227, 0.5) !important;
  }

  /* Hide text labels on mobile - keep icons only */
  .nav-phone-btn span,
  .nav-contact-btn span {
    display: none !important;
  }

  /* Nav Ticker in the Menu Bar (Mobile Only, completely hidden on desktop) */
  .nav-ticker-wrap {
    display: flex !important;
    flex: 1 1 auto !important;
    min-width: 0 !important;
    max-width: 175px !important;
    height: 26px !important;
    overflow: hidden !important;
    position: relative !important;
    align-items: center !important;
    background: rgba(255, 255, 255, 0.06) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 980px !important;
    padding: 0 8px !important;
    margin: 0 6px !important;
  }

  .nav-ticker-track {
    display: inline-flex !important;
    align-items: center !important;
    white-space: nowrap !important;
    will-change: transform !important;
    animation: navTickerScroll 10s linear infinite !important;
    font-size: 0.67rem !important;
    font-weight: 600 !important;
    letter-spacing: 0.03em !important;
    color: rgba(255, 255, 255, 0.85) !important;
    text-transform: lowercase !important;
  }

  .nav-ticker-dot {
    margin: 0 8px !important;
    color: rgba(255, 255, 255, 0.4) !important;
    font-size: 0.6rem !important;
  }

  @keyframes navTickerScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }

  /* Mobile Quick Navigation Strip: Staggered Brick Pill Layout */
  .mobile-subnav-strip {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 6px 8px;
    padding: 4px 10px 6px;
    justify-content: center !important;
    align-items: center !important;
    text-align: center;
  }

  .mobile-subnav-pill {
    flex-shrink: 0;
    padding: 4px 10px;
    font-size: 0.70rem;
    font-weight: 700;
    letter-spacing: 0.01em;
    border-radius: 980px;
    text-decoration: none;
    white-space: nowrap;
    transition: all 0.2s ease;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .mobile-subnav-pill:active,
  .mobile-subnav-pill.active-pill {
    transform: scale(0.96);
    box-shadow: 0 0 12px currentColor;
    color: #ffffff !important;
  }

  .viewport {
    padding: calc(108px + env(safe-area-inset-top, 0px)) 12px 12px;
  }

  .hero-stage {
    gap: 8px;
    justify-content: flex-start;
    padding-top: 2px;
  }

  .video-frame {
    width: 100%;
    aspect-ratio: 4 / 3.5;
    height: auto !important;
    max-height: 32vh;
    border-radius: 18px;
    box-shadow: 0 16px 40px -10px rgba(0, 0, 0, 0.95);
  }

  .info-card {
    padding: 14px 14px 16px;
    border-radius: 18px;
    background: rgba(8, 16, 28, 0.94);
  }

  .gradient-clinic-title {
    font-size: 1.12rem;
  }

  .headline {
    font-size: 1.38rem;
    line-height: 1.15;
    margin-bottom: 4px;
  }

  .subhead {
    font-size: 0.8rem;
    line-height: 1.35;
    margin-bottom: 8px;
  }

  .lead-text {
    font-size: 0.78rem;
    line-height: 1.4;
  }

  .spec-row {
    padding: 5px 0;
    font-size: 0.74rem;
  }

  .implant-importance-section {
    padding: 60px 16px 50px;
  }

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

  .section-desc {
    font-size: 0.95rem;
  }

  .importance-card {
    padding: 26px 20px;
    border-radius: 20px;
  }

  .card-title {
    font-size: 1.2rem;
  }

  .card-body {
    font-size: 0.88rem;
  }

  .overview-section {
    padding: 44px 16px;
  }

  .overview-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .metric-val {
    font-size: 2.2rem;
  }

  .section-divider-banner {
    padding: 50px 16px;
  }

  .divider-heading {
    font-size: 1.6rem;
  }

  .care-section-block {
    padding: 50px 16px 60px;
  }

  .care-card-content {
    padding: 24px 20px 28px;
  }

  .downloads-section {
    padding: 50px 16px 60px;
  }

  .community-gallery-section {
    padding: 60px 16px 70px;
  }

  .gallery-metrics-row {
    grid-template-columns: 1fr;
    gap: 16px;
    padding: 24px 16px;
  }

  .clinic-master-cta-section {
    padding: 60px 16px 70px;
  }

  .clinic-cta-box {
    padding: 40px 20px;
    border-radius: 24px;
  }

  .footer {
    padding: 40px 16px max(40px, env(safe-area-inset-bottom, 20px));
  }
}

/* Extra small devices (iPhone SE, small Androids) */
@media (max-width: 380px) {
  .video-frame {
    aspect-ratio: 4 / 3.5;
    height: auto !important;
    max-height: 32vh;
  }

  .headline {
    font-size: 1.25rem;
  }

  .gradient-clinic-title {
    font-size: 1.05rem;
  }

  .subhead {
    font-size: 0.76rem;
  }

  .lead-text {
    font-size: 0.74rem;
  }

  .spec-row {
    padding: 4px 0;
    font-size: 0.70rem;
  }
}

/* =======================================================
   MOBILE GPU PERFORMANCE OPTIMIZATIONS
   Ensures silky smooth scrolling, instantaneous responsiveness,
   and prevents mobile GPU compositor stutters
   ======================================================= */
@media (max-width: 820px) {
  /* Promote scroll containers and video frames to dedicated GPU compositor layers */
  .viewport,
  .video-frame,
  .info-column {
    transform: translateZ(0);
    -webkit-transform: translateZ(0);
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
  }

  /* High performance clinical solid glass colors on mobile - zero GPU blur lag during scroll */
  .info-card,
  .care-card,
  .importance-card,
  .download-card,
  .gallery-card,
  .clinic-cta-box,
  .doctor-bio-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
    background: rgba(10, 18, 32, 0.95) !important;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.8) !important;
  }

  .editorial-body,
  .card-body,
  .care-lead,
  .download-meta,
  .gallery-info,
  .modal-desc,
  .clinic-cta-desc,
  .overview-container,
  .gallery-metrics-row {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
  }

  /* Simplify pseudo-element mask load on mobile devices */
  .info-card::before,
  .care-card::before,
  .importance-card::before,
  .download-card::before,
  .gallery-card::before,
  .clinic-cta-box::before,
  .doctor-bio-card::before {
    -webkit-mask: none !important;
    mask: none !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    background: transparent !important;
    inset: 0 !important;
    padding: 0 !important;
    border-radius: inherit !important;
  }

  /* Butter-smooth momentum scrolling without gesture lag */
  /* Unrestricted natural page scrolling on mobile without internal nested scrollbars */
  .info-column {
    overflow: visible !important;
    max-height: none !important;
  }

  .info-column::-webkit-scrollbar {
    display: none !important;
    width: 0 !important;
  }

  .info-card {
    -webkit-font-smoothing: subpixel-antialiased;
    text-rendering: optimizeLegibility;
  }

  /* Ensure natural, jitter-free scrolling inertia across iOS Safari & Android Chrome */
  html, body {
    -webkit-overflow-scrolling: touch;
    scroll-behavior: auto !important; /* Eliminate touch-lag during manual video scrubbing */
    background: #000000 !important;
    background-color: #000000 !important;
  }

  /* Force pure, deep midnight surgical black background on mobile (removes mint/green ambient orbs) */
  .ambient-canvas-layer {
    background: #000000 !important;
    background-image: none !important;
  }

  body::before,
  body::after {
    display: none !important; /* Eliminates light mint/cyan floating ambient glow circles on phones */
  }
}


/* =======================================================
   THREE PILLARS: SMILE STUDIO & COMMUNITY OUTREACH STYLES
   ======================================================= */

/* Navigation Dropdown & Active States */
.nav-dropdown {
  position: relative;
  display: inline-block;
}

.nav-dropdown .dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 190px;
  background: rgba(10, 18, 30, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 8px;
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.6);
  z-index: 1000;
}

.nav-dropdown:hover .dropdown-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.dropdown-menu a {
  padding: 8px 12px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.2s ease;
}

.dropdown-menu a:hover {
  background: rgba(0, 210, 255, 0.12);
  color: var(--accent-cyan);
}

.nav-link.active {
  color: var(--accent-cyan) !important;
  font-weight: 600;
}

/* Page Hero Containers */
.studio-hero, .outreach-hero {
  padding: 100px 24px 40px;
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}

.studio-title, .outreach-title {
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  background: linear-gradient(135deg, #ffffff 0%, #d4e5f7 50%, #00d2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin: 16px 0 14px;
}

.studio-subtitle, .outreach-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: 720px;
  margin: 0 auto 24px;
  line-height: 1.6;
}

.studio-quick-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
  margin-top: 16px;
}

.quick-chip {
  padding: 8px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  font-size: 0.85rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.quick-chip:hover {
  background: rgba(0, 210, 255, 0.15);
  border-color: var(--accent-cyan);
  color: var(--accent-cyan);
}

/* Sections */
.studio-section {
  padding: 60px 20px;
  max-width: 1080px;
  margin: 0 auto;
}

/* 1. Interactive Split Slider */
.split-slider-wrapper {
  max-width: 760px;
  margin: 0 auto 30px;
  user-select: none;
}

.split-slider-container {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3.5;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
  border: 1px solid rgba(255, 255, 255, 0.2);
  cursor: ew-resize;
}

.slider-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slider-after-overlay {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 50%;
  overflow: hidden;
  border-right: 2px solid var(--accent-cyan);
}

.slider-after-overlay .img-after {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--slider-width, 760px);
  max-width: none;
  object-fit: cover;
}

.slider-badge {
  position: absolute;
  bottom: 16px;
  padding: 6px 14px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  z-index: 5;
  pointer-events: none;
}

.badge-before {
  right: 16px;
  background: rgba(0, 0, 0, 0.75);
  color: #e2e8f0;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.badge-after {
  left: 16px;
  background: rgba(0, 210, 255, 0.85);
  color: #030810;
}

.slider-handle {
  position: absolute;
  top: 0;
  left: 50%;
  bottom: 0;
  width: 4px;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: auto;
  cursor: grab;
}

.slider-handle:active {
  cursor: grabbing;
}

.handle-thumb {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 42px;
  height: 42px;
  background: #ffffff;
  color: #030810;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
  border: 2px solid var(--accent-cyan);
}

.slider-instruction {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-tertiary);
  margin-top: 10px;
}

/* Selfie Analyzer Box */
.selfie-analyzer-box {
  display: flex;
  flex-direction: column;
  gap: 18px;
  background: rgba(10, 20, 36, 0.88);
  border: 1.5px solid rgba(0, 210, 255, 0.4);
  border-radius: 22px;
  padding: 24px 26px;
  max-width: 820px;
  margin: 0 auto 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.analyzer-header-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.consult-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(0, 210, 255, 0.16);
  border: 1px solid rgba(0, 210, 255, 0.45);
  color: #38bdf8;
  font-size: 0.84rem;
  font-weight: 800;
  padding: 5px 14px;
  border-radius: 980px;
  letter-spacing: 0.02em;
}

.upi-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(37, 211, 102, 0.15);
  border: 1px solid rgba(37, 211, 102, 0.4);
  color: #4ade80;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 980px;
}

.upi-badge strong {
  color: #ffffff;
  font-weight: 800;
}

.analyzer-left {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  flex: 1;
}

.analyzer-icon {
  font-size: 1.8rem;
  color: var(--accent-cyan);
  background: rgba(0, 210, 255, 0.12);
  border: 1px solid rgba(0, 210, 255, 0.3);
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.analyzer-text h3 {
  font-size: 1.22rem;
  font-weight: 800;
  margin-bottom: 6px;
  color: #ffffff;
}

.analyzer-main-desc {
  font-size: 0.88rem;
  line-height: 1.55;
  color: #e2e8f0;
  margin-bottom: 12px;
}

.analyzer-main-desc strong {
  color: #38bdf8;
}

.consult-tips {
  display: flex;
  flex-direction: column;
  gap: 6px;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 10px 14px;
  border-radius: 12px;
}

.tip-item {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 6px;
}

.copyable-upi {
  background: rgba(255, 255, 255, 0.12);
  padding: 2px 8px;
  border-radius: 6px;
  color: #ffffff;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-copy-upi {
  background: #0071e3;
  color: #fff;
  border: none;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 6px;
  cursor: pointer;
  transition: background 0.2s ease;
}

.btn-copy-upi:hover {
  background: #0077ed;
}

.analyzer-right {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-self: flex-start;
  padding-top: 4px;
}

.file-input-hidden {
  display: none;
}

.btn-upload {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-upload:hover {
  background: rgba(255, 255, 255, 0.18);
}

.btn-whatsapp {
  background: #25d366;
  color: #ffffff;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
}

.btn-whatsapp:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Selfie Preview Card */
.selfie-preview-card {
  max-width: 600px;
  margin: 0 auto 30px;
  background: rgba(14, 25, 45, 0.95);
  border: 1px solid var(--accent-cyan);
  border-radius: 18px;
  padding: 20px;
  text-align: center;
}

.selfie-frame {
  position: relative;
  max-width: 320px;
  margin: 0 auto 16px;
  border-radius: 14px;
  overflow: hidden;
}

.selfie-frame img {
  width: 100%;
  display: block;
  border-radius: 14px;
}

.smile-contour-guide {
  position: absolute;
  inset: 0;
  pointer-events: none;
}

.contour-svg {
  width: 100%;
  height: 100%;
}

.selfie-details .preview-status {
  display: inline-block;
  color: var(--accent-teal);
  font-weight: 700;
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.selfie-details p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 16px;
}

.btn-whatsapp-large {
  background: #25d366;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 12px;
  font-weight: 700;
  cursor: pointer;
  font-size: 0.92rem;
  box-shadow: 0 8px 24px rgba(37, 211, 102, 0.35);
}

/* Medical Disclaimer */
.medical-disclaimer-box {
  background: rgba(255, 214, 10, 0.08);
  border: 1px solid rgba(255, 214, 10, 0.3);
  border-radius: 14px;
  padding: 16px 20px;
  max-width: 760px;
  margin: 0 auto;
}

.disclaimer-badge {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-gold);
  margin-bottom: 6px;
}

.medical-disclaimer-box p {
  font-size: 0.78rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* 2. Brushing Coach */
.brush-coach-card {
  max-width: 760px;
  margin: 0 auto;
  background: rgba(10, 18, 34, 0.92);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  padding: 30px;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7);
}

.coach-quadrant-visual {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 440px;
  margin: 0 auto 24px;
}

.quadrant-box {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 24px 16px;
  text-align: center;
  transition: all 0.3s ease;
}

.quad-label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.quad-status {
  font-size: 0.75rem;
  color: var(--text-tertiary);
}

.quadrant-box.active-quad {
  background: rgba(0, 210, 255, 0.18);
  border-color: var(--accent-cyan);
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.3);
  transform: scale(1.03);
}

.quadrant-box.active-quad .quad-label {
  color: var(--accent-cyan);
}

.quadrant-box.completed-quad {
  background: rgba(16, 232, 191, 0.1);
  border-color: var(--accent-teal);
}

.quadrant-box.completed-quad .quad-label {
  color: var(--accent-teal);
}

.timer-center {
  grid-column: span 2;
  text-align: center;
  padding: 12px 0 6px;
}

.timer-countdown {
  font-size: 3rem;
  font-weight: 800;
  font-family: var(--font-mono);
  color: #ffffff;
  letter-spacing: -0.02em;
}

.timer-sub {
  font-size: 0.9rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.technique-tip {
  display: flex;
  gap: 12px;
  background: rgba(0, 210, 255, 0.08);
  border: 1px solid rgba(0, 210, 255, 0.2);
  border-radius: 12px;
  padding: 14px 18px;
  margin-bottom: 20px;
}

.tip-icon {
  font-size: 1.4rem;
}

.tip-body {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.tip-body strong {
  color: #ffffff;
  display: block;
  margin-bottom: 2px;
}

.coach-controls {
  text-align: center;
}

.btn-start {
  background: linear-gradient(135deg, var(--accent-cyan), var(--accent-teal));
  color: #030810;
  font-weight: 800;
  font-size: 1rem;
  padding: 14px 32px;
  border-radius: 12px;
  border: none;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 210, 255, 0.35);
}

.btn-reset {
  background: rgba(255, 255, 255, 0.12);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 28px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  cursor: pointer;
}

/* 3. Dental Myth Buster Quiz */
.quiz-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.quiz-card {
  height: 240px;
  perspective: 1000px;
  cursor: pointer;
}

.card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  text-align: left;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  transform-style: preserve-3d;
}

.quiz-card.flipped .card-inner {
  transform: rotateY(180deg);
}

.card-front, .card-back {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 18px;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255, 255, 255, 0.15);
  background: rgba(12, 22, 38, 0.94);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
}

.card-back {
  transform: rotateY(180deg);
  background: rgba(8, 16, 28, 0.97);
  border-color: rgba(0, 210, 255, 0.4);
}

.card-front h3 {
  font-size: 1rem;
  line-height: 1.45;
  color: #ffffff;
  margin: 10px 0;
}

.card-back p {
  font-size: 0.84rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

.tap-hint {
  font-size: 0.74rem;
  color: var(--accent-cyan);
  font-weight: 600;
}

.card-pill {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  padding: 4px 10px;
  border-radius: 999px;
  align-self: flex-start;
}

.myth-pill {
  background: rgba(255, 255, 255, 0.1);
  color: #cbd5e1;
}

.result-pill {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.fact-pill {
  background: rgba(16, 232, 191, 0.2);
  color: var(--accent-teal);
  border: 1px solid rgba(16, 232, 191, 0.4);
}

/* =======================================================
   OUTREACH PAGE & DONATION CARD STYLES
   ======================================================= */
.stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 16px;
  max-width: 860px;
  margin: 24px auto 0;
}

.stat-card {
  background: rgba(12, 22, 38, 0.7);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 16px;
  padding: 16px;
  text-align: center;
}

.stat-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--accent-cyan);
  font-family: var(--font-mono);
}

.stat-label {
  font-size: 0.76rem;
  color: var(--text-secondary);
  margin-top: 4px;
}

/* Community Gallery with Face-Top Centering */
.community-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  max-width: 1040px;
  margin: 0 auto;
}

.outreach-card {
  background: rgba(10, 18, 32, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 20px;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.outreach-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 210, 255, 0.35);
}

.outreach-img-wrapper {
  width: 100%;
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: #030810;
}

.outreach-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center !important; /* Preserves face visibility */
  transition: transform 0.4s ease;
}

.outreach-card:hover .outreach-img {
  transform: scale(1.03);
}

.outreach-info {
  padding: 20px;
}

.outreach-tag {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: var(--accent-cyan);
  text-transform: uppercase;
  margin-bottom: 6px;
}

.outreach-info h3 {
  font-size: 1.1rem;
  color: #ffffff;
  margin-bottom: 8px;
}

.outreach-info p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

/* Donation Card & UPI QR */
.fund-section {
  padding-top: 30px;
}

.donation-container {
  max-width: 900px;
  margin: 0 auto;
}

.donation-card {
  background: linear-gradient(145deg, rgba(12, 24, 45, 0.95), rgba(6, 12, 24, 0.98));
  border: 1px solid rgba(0, 210, 255, 0.35);
  border-radius: 24px;
  padding: 36px 30px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.7);
}

.donation-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--accent-cyan);
  margin-bottom: 8px;
}

.donation-header h2 {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.donation-header p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  max-width: 720px;
  line-height: 1.6;
}

.donation-split {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 30px;
  margin-top: 30px;
  align-items: center;
}

.impact-tiers h3 {
  font-size: 1rem;
  color: #ffffff;
  margin-bottom: 16px;
}

.tier-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 14px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.tier-cost {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--accent-teal);
  min-width: 65px;
}

.tier-text strong {
  display: block;
  font-size: 0.88rem;
  color: #ffffff;
  margin-bottom: 2px;
}

.tier-text span {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.4;
  display: block;
}

.tier-custom {
  background: rgba(16, 232, 191, 0.06);
  border-radius: 12px;
  padding: 12px 14px;
  border: 1px dashed rgba(16, 232, 191, 0.35);
  margin-top: 6px;
}

.tier-custom .tier-cost {
  color: #38bdf8;
  font-size: 0.95rem;
}

.tier-custom .tier-text strong {
  color: #38bdf8;
}

.qr-box {
  text-align: center;
}

.qr-card {
  background: #ffffff;
  color: #030810;
  border-radius: 18px;
  padding: 20px;
  display: inline-block;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.5);
}

/* Premium Bank Details Card */
.bank-card {
  background: linear-gradient(145deg, #ffffff 0%, #f8fafc 100%);
  color: #0b1329;
  border-radius: 20px;
  padding: 26px 24px 22px;
  display: inline-block;
  width: 100%;
  max-width: 380px;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.15);
  text-align: left;
  border-top: 4px solid #00d2ff;
  position: relative;
  overflow: hidden;
}

.bank-card::before {
  content: "";
  position: absolute;
  top: -60px;
  right: -60px;
  width: 140px;
  height: 140px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

.bank-card-header {
  text-align: center;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.bank-transfer-badge {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: rgba(14, 165, 233, 0.12);
  color: #0284c7;
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.bank-name {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.02em;
  margin: 0 0 4px;
}

.transfer-types {
  font-size: 0.72rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: 0.05em;
}

.bank-info-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 18px;
}

.bank-info-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 8px 12px;
  background: #f1f5f9;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
}

.info-label {
  font-size: 0.74rem;
  font-weight: 600;
  color: #64748b;
  white-space: nowrap;
}

.info-val-wrap {
  display: flex;
  align-items: center;
  gap: 8px;
}

.info-val {
  font-size: 0.92rem;
  color: #0f172a;
  font-weight: 700;
}

.info-val.mono-val {
  font-family: var(--font-mono);
  font-size: 0.96rem;
  letter-spacing: 0.04em;
  color: #0284c7;
}

.btn-copy-chip {
  background: #0f172a;
  color: #ffffff;
  border: none;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 9px;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-copy-chip:hover {
  background: #0284c7;
  transform: scale(1.05);
}

.btn-copy-chip:active {
  transform: scale(0.95);
}

.upi-coming-soon-banner {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: linear-gradient(135deg, #fef3c7 0%, #fef08a 100%);
  border: 1px solid #fde047;
  color: #713f12;
  border-radius: 12px;
  padding: 12px 14px;
  margin-top: 4px;
  box-shadow: 0 4px 12px rgba(234, 179, 8, 0.12);
}

.upi-coming-soon-icon {
  color: #ca8a04;
  flex-shrink: 0;
  margin-top: 2px;
}

.upi-coming-soon-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.upi-coming-soon-text strong {
  font-size: 0.78rem;
  color: #854d0e;
}

.upi-coming-soon-text span {
  font-size: 0.72rem;
  line-height: 1.35;
  color: #713f12;
}

.qr-header {
  font-size: 0.82rem;
  font-weight: 700;
  margin-bottom: 12px;
}

.upi-logos {
  font-size: 0.68rem;
  color: #64748b;
  margin-top: 2px;
}

.qr-code-display {
  display: flex;
  justify-content: center;
  margin: 10px 0;
}

.qr-details {
  border-top: 1px solid #e2e8f0;
  padding-top: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.vpa-tag {
  font-size: 0.65rem;
  text-transform: uppercase;
  color: #64748b;
  font-weight: 700;
}

.vpa-id {
  font-family: var(--font-mono);
  font-weight: 800;
  font-size: 0.95rem;
  color: #030810;
}

.btn-copy-vpa {
  background: #0b0f19;
  color: #ffffff;
  border: none;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 4px;
}

.qr-note {
  font-size: 0.74rem;
  color: var(--text-tertiary);
  margin-top: 12px;
}

/* Studio & Outreach Footer */
.studio-footer {
  padding: 60px 20px 40px;
  max-width: 900px;
  margin: 0 auto;
  text-align: center;
}

.footer-cta-card {
  background: rgba(10, 18, 30, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 20px;
  padding: 36px 20px;
  margin-bottom: 30px;
}

.footer-cta-card h2 {
  font-size: 1.5rem;
  color: #ffffff;
  margin-bottom: 10px;
}

.footer-cta-card p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  max-width: 550px;
  margin: 0 auto 20px;
}

.footer-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

.btn-map, .btn-call, .btn-home {
  padding: 10px 20px;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-map {
  background: rgba(0, 210, 255, 0.15);
  border: 1px solid var(--accent-cyan);
  color: var(--accent-cyan);
}

.btn-call {
  background: #ffffff;
  color: #030810;
}

.btn-home {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.footer-sub {
  font-size: 0.74rem;
  color: var(--text-tertiary);
}

/* Responsiveness for Three Pillars */
@media (max-width: 768px) {
  .donation-split {
    grid-template-columns: 1fr;
  }
  .selfie-analyzer-box {
    flex-direction: column;
    text-align: center;
  }
  .analyzer-left {
    flex-direction: column;
  }
  .analyzer-right {
    width: 100%;
    justify-content: center;
  }
}


/* =======================================================
   THREE PILLARS HUB CARDS (MOBILE & DESKTOP)
   ======================================================= */
.pillars-hub-container {
  margin-top: 48px;
  padding-top: 40px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.pillars-hub-header {
  text-align: center;
  margin-bottom: 28px;
}

.pillars-hub-title {
  font-size: clamp(1.4rem, 3vw, 2.2rem);
  font-weight: 800;
  color: #ffffff;
  margin: 10px 0 6px;
}

.pillars-hub-subtitle {
  font-size: 0.9rem;
  color: var(--text-secondary);
  max-width: 600px;
  margin: 0 auto;
}

/* Glossy Square App Tiles (EXPLORE THE COMPLETE ECOSYSTEM) */
.pillars-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  max-width: 1060px;
  margin: 0 auto;
}

@media (max-width: 1024px) {
  .pillars-cards-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    max-width: 900px;
  }
}

@media (max-width: 768px) {
  .pillars-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    max-width: 580px;
  }
}

@media (max-width: 480px) {
  .pillars-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }
}

/* Authentic Thick Architectural Glass Block Tiles */
/* Translucent Glass Physics Blocks with Color Floor Shadows */
.pillar-feature-card {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 20px 20px;
  border-radius: 26px;
  text-decoration: none;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.45);
  border-top-color: rgba(255, 255, 255, 0.88);
  border-bottom-color: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, box-shadow;
}

/* Translucent Glass Specular Curved Arched Reflection (Smooth Glass Dome from Reference Image) */
.pillar-feature-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 48%;
  background: linear-gradient(180deg, 
    rgba(255, 255, 255, 0.82) 0%, 
    rgba(255, 255, 255, 0.5) 45%, 
    rgba(255, 255, 255, 0.12) 85%, 
    rgba(255, 255, 255, 0) 100%
  );
  border-top-left-radius: 24px;
  border-top-right-radius: 24px;
  border-bottom-left-radius: 50% 16px;
  border-bottom-right-radius: 50% 16px;
  pointer-events: none;
  z-index: 2;
  opacity: 0.95;
}

/* Secondary Internal Glass Rim & Depth Highlight */
.pillar-feature-card::after {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 24px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-bottom-color: rgba(0, 0, 0, 0.15);
  box-shadow: 
    inset 0 2px 8px rgba(255, 255, 255, 0.6),
    inset 0 -10px 20px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  z-index: 3;
}

@media (max-width: 520px) {
  .pillar-feature-card {
    padding: 12px 10px;
    border-radius: 18px;
  }
  .pillar-feature-card::before {
    border-top-left-radius: 16px;
    border-top-right-radius: 16px;
    border-bottom-left-radius: 50% 10px;
    border-bottom-right-radius: 50% 10px;
  }
  .pillar-feature-card::after {
    border-radius: 16px;
  }
}

/* Realistic 3D Water Bubble Floating Inside Each Box */
.water-bubble {
  position: absolute;
  top: 0;
  left: 0;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 4;
  /* Natural 3D Refractive Water Droplet Shader */
  background: radial-gradient(circle at 35% 30%, 
                rgba(255, 255, 255, 0.96) 0%, 
                rgba(255, 255, 255, 0.6) 18%, 
                rgba(255, 255, 255, 0.15) 40%, 
                rgba(255, 255, 255, 0.05) 60%, 
                rgba(255, 255, 255, 0.35) 90%, 
                rgba(255, 255, 255, 0.88) 100%);
  box-shadow: 
    inset 0 2px 6px rgba(255, 255, 255, 0.95),
    inset 0 -3px 8px rgba(0, 0, 0, 0.35),
    inset -2px 0 5px rgba(255, 255, 255, 0.4),
    0 8px 18px rgba(0, 0, 0, 0.32),
    0 2px 4px rgba(0, 0, 0, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(1.5px) contrast(1.2);
  -webkit-backdrop-filter: blur(1.5px) contrast(1.2);
  will-change: transform;
  animation: naturalBubbleJiggle 4s ease-in-out infinite alternate;
}

/* Secondary Specular Glint Inside Bubble */
.bubble-highlight {
  position: absolute;
  top: 15%;
  left: 20%;
  width: 14px;
  height: 9px;
  border-radius: 50%;
  background: #ffffff;
  filter: blur(0.5px);
  transform: rotate(-25deg);
  opacity: 0.95;
}

@keyframes naturalBubbleJiggle {
  0% { border-radius: 50% 50% 50% 50% / 50% 50% 50% 50%; }
  33% { border-radius: 53% 47% 52% 48% / 48% 54% 46% 52%; }
  66% { border-radius: 47% 53% 48% 52% / 52% 46% 54% 48%; }
  100% { border-radius: 51% 49% 53% 47% / 49% 51% 48% 52%; }
}

@media (max-width: 520px) {
  .water-bubble {
    width: 36px;
    height: 36px;
  }
  .bubble-highlight {
    width: 8px;
    height: 5px;
  }
}

/* 6 Translucent Glass Physics Color Variants Aligned with Navigation Candy Palette */
/* 1. Studio: Electric Sky Blue (candy-blue #3b82f6) */
.card-gloss-blue {
  background: radial-gradient(circle at 50% 25%, #60a5fa 0%, #2563eb 65%, #1d4ed8 100%);
  box-shadow: 
    0 24px 44px -8px rgba(37, 99, 235, 0.75),
    0 10px 20px -4px rgba(96, 165, 250, 0.55),
    0 36px 70px -12px rgba(37, 99, 235, 0.45);
}
.card-gloss-blue:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 56px -6px rgba(37, 99, 235, 0.9),
    0 16px 28px -4px rgba(96, 165, 250, 0.7),
    0 48px 90px -10px rgba(37, 99, 235, 0.6);
}

/* 2. Donations: Sterile Teal / Mint Emerald (candy-emerald #10e8bf / #10b981) */
.card-gloss-emerald {
  background: radial-gradient(circle at 50% 25%, #2dd4bf 0%, #0d9488 65%, #115e59 100%);
  box-shadow: 
    0 24px 44px -8px rgba(13, 148, 136, 0.75),
    0 10px 20px -4px rgba(45, 212, 191, 0.55),
    0 36px 70px -12px rgba(13, 148, 136, 0.45);
}
.card-gloss-emerald:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 56px -6px rgba(13, 148, 136, 0.9),
    0 16px 28px -4px rgba(45, 212, 191, 0.7),
    0 48px 90px -10px rgba(13, 148, 136, 0.6);
}

/* 3. Games: Neon Fuchsia / Pink (candy-fuchsia #ec4899) */
.card-gloss-fuchsia {
  background: radial-gradient(circle at 50% 25%, #f472b6 0%, #db2777 65%, #9d174d 100%);
  box-shadow: 
    0 24px 44px -8px rgba(219, 39, 119, 0.75),
    0 10px 20px -4px rgba(244, 114, 182, 0.55),
    0 36px 70px -12px rgba(219, 39, 119, 0.45);
}
.card-gloss-fuchsia:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 56px -6px rgba(219, 39, 119, 0.9),
    0 16px 28px -4px rgba(244, 114, 182, 0.7),
    0 48px 90px -10px rgba(219, 39, 119, 0.6);
}

/* 4. Free PDF: Royal Indigo / Deep Blue (candy-indigo #6366f1) */
/* 4. Dental Tourism: Bioluminescent Ocean Teal (candy-teal #0d9488) */
.card-gloss-teal {
  background: radial-gradient(circle at 50% 25%, #2dd4bf 0%, #0d9488 65%, #115e59 100%);
  box-shadow: 
    0 24px 44px -8px rgba(13, 148, 136, 0.75),
    0 10px 20px -4px rgba(45, 212, 191, 0.55),
    0 36px 70px -12px rgba(13, 148, 136, 0.45);
}
.card-gloss-teal:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 56px -6px rgba(13, 148, 136, 0.9),
    0 16px 28px -4px rgba(45, 212, 191, 0.7),
    0 48px 90px -10px rgba(13, 148, 136, 0.6);
}

/* 5. Kids Care: Bright Purple / Violet (candy-violet #a855f7) */
.card-gloss-violet {
  background: radial-gradient(circle at 50% 25%, #c084fc 0%, #9333ea 65%, #6b21a8 100%);
  box-shadow: 
    0 24px 44px -8px rgba(147, 51, 234, 0.75),
    0 10px 20px -4px rgba(192, 132, 252, 0.55),
    0 36px 70px -12px rgba(147, 51, 234, 0.45);
}
.card-gloss-violet:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 56px -6px rgba(147, 51, 234, 0.9),
    0 16px 28px -4px rgba(192, 132, 252, 0.7),
    0 48px 90px -10px rgba(147, 51, 234, 0.6);
}

/* 6. Education & PDFs: Royal Indigo / Deep Blue (candy-indigo #6366f1) */
.card-gloss-indigo {
  background: radial-gradient(circle at 50% 25%, #818cf8 0%, #4f46e5 65%, #3730a3 100%);
  box-shadow: 
    0 24px 44px -8px rgba(79, 70, 229, 0.75),
    0 10px 20px -4px rgba(129, 140, 248, 0.55),
    0 36px 70px -12px rgba(79, 70, 229, 0.45);
}
.card-gloss-indigo:hover {
  transform: translateY(-8px) scale(1.02);
  box-shadow: 
    0 32px 56px -6px rgba(79, 70, 229, 0.9),
    0 16px 28px -4px rgba(129, 140, 248, 0.7),
    0 48px 90px -10px rgba(79, 70, 229, 0.6);
}

.tile-icon-badge {
  position: relative;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.22);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
  color: #ffffff;
}

.tile-icon-badge svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 520px) {
  .tile-icon-badge {
    width: 28px;
    height: 28px;
    border-radius: 8px;
  }
  .tile-icon-badge svg {
    width: 15px;
    height: 15px;
  }
}

.tile-content {
  position: relative;
  z-index: 5;
  margin-top: auto;
  display: flex;
  flex-direction: column;
}

.tile-tag {
  font-size: 0.70rem;
  font-weight: 800;
  letter-spacing: 0.10em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  display: inline-block;
  margin-bottom: 4px;
}

.tile-title {
  font-size: clamp(1.1rem, 1.8vw, 1.35rem);
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  letter-spacing: -0.02em;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5), 0 1px 3px rgba(0, 0, 0, 0.35);
  margin-bottom: 6px;
}

.tile-desc {
  font-size: 0.78rem;
  line-height: 1.4;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 10px;
}

@media (max-width: 520px) {
  .tile-tag {
    font-size: 0.56rem;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
  }
  .tile-title {
    font-size: 0.88rem;
    line-height: 1.15;
    margin-bottom: 3px;
  }
  .tile-desc {
    display: none;
  }
}

.tile-arrow {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.74rem;
  font-weight: 700;
  color: #ffffff;
  background: rgba(0, 0, 0, 0.32);
  padding: 4px 11px;
  border-radius: 980px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.4);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.28);
  transition: transform 0.22s cubic-bezier(0.16, 1, 0.3, 1), background 0.22s ease, border-color 0.22s ease;
}

@media (max-width: 520px) {
  .tile-arrow {
    font-size: 0.68rem;
    padding: 3px 8px;
    gap: 3px;
  }
}

.pillar-feature-card:hover .tile-arrow {
  transform: translateX(5px);
  background: rgba(0, 0, 0, 0.5);
  border-color: rgba(255, 255, 255, 0.7);
}

/* Enhanced Bottom Mobile Action Dock */
.dock-btn-studio {
  background: rgba(0, 210, 255, 0.14);
  border: 1px solid rgba(0, 210, 255, 0.4);
  color: #00d2ff;
}

.dock-btn-outreach {
  background: rgba(16, 232, 191, 0.14);
  border: 1px solid rgba(16, 232, 191, 0.4);
  color: #10e8bf;
}

.dock-btn span {
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.dock-icon {
  font-size: 0.9rem;
}

@media (max-width: 480px) {
  .mobile-action-dock {
    padding: 8px 10px calc(8px + env(safe-area-inset-bottom, 10px));
    gap: 6px;
  }
  .dock-btn {
    padding: 10px 8px;
    gap: 5px;
    border-radius: 12px;
  }
  .dock-btn span {
    font-size: 0.72rem;
  }
}

/* =======================================================
   DESKTOP TOP MENU BUTTONS & PILL STYLING
   Ensures top menu links render as high-contrast candy buttons
   ======================================================= */
@media (min-width: 769px) {
  .nav-links {
    display: flex !important;
    align-items: center;
    gap: 8px;
    flex-wrap: nowrap;
  }
}

/* =======================================================
   STARFIELD & GLITTER THEMES (GAMES & PEDIATRIC)
   100% Pure CSS - Fast Loading, Zero Script Latency
   ======================================================= */

/* Games Page: Deep Cyber Arcade Grid & Shining Starlight */
body.games-theme-bg {
  background-color: #030612 !important;
  background-image: 
    radial-gradient(circle at 15% 20%, rgba(244, 114, 182, 0.35) 0%, transparent 45%),
    radial-gradient(circle at 85% 25%, rgba(0, 210, 255, 0.40) 0%, transparent 48%),
    radial-gradient(circle at 50% 80%, rgba(168, 85, 247, 0.30) 0%, transparent 55%),
    radial-gradient(ellipse at 50% 100%, #0d1538 0%, #02040b 100%) !important;
  background-attachment: fixed !important;
  color: #f5f5f7;
  overflow-x: hidden;
  position: relative;
}

/* Layer 1: Ambient Glowing Breathing Mesh Orbs */
body.games-theme-bg::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  filter: blur(50px) !important;
  pointer-events: none !important;
  background: none !important;
  background-image: 
    radial-gradient(circle at 18% 30%, rgba(236, 72, 153, 0.55) 0%, rgba(236, 72, 153, 0.2) 35%, transparent 65%),
    radial-gradient(circle at 82% 45%, rgba(0, 210, 255, 0.58) 0%, rgba(0, 210, 255, 0.22) 35%, transparent 65%),
    radial-gradient(circle at 50% 85%, rgba(168, 85, 247, 0.48) 0%, rgba(168, 85, 247, 0.16) 40%, transparent 70%) !important;
  animation: arcadeMeshPulse 7s ease-in-out infinite alternate !important;
  opacity: 0.95 !important;
  z-index: 0 !important;
}

/* Layer 2: Glowing Neon Arcade Grid + Twinkling Diamond Star Lights */
body.games-theme-bg::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  pointer-events: none !important;
  background-color: transparent !important;
  background-image: 
    /* High-contrast neon arcade vector grid */
    url('arcade-grid-bg.svg'),
    /* Sparkling Diamond Star Gems */
    radial-gradient(3.5px 3.5px at 120px 140px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(4.5px 4.5px at 320px 280px, #f472b6, rgba(0,0,0,0)),
    radial-gradient(4px 4px at 580px 160px, #38bdf8, rgba(0,0,0,0)),
    radial-gradient(5px 5px at 780px 360px, #fbbf24, rgba(0,0,0,0)),
    radial-gradient(3.5px 3.5px at 980px 180px, #c084fc, rgba(0,0,0,0)) !important;
  background-repeat: repeat !important;
  background-size: 80px 80px, 640px 640px, 640px 640px, 640px 640px, 640px 640px, 640px 640px !important;
  animation: arcadeTwinkle 2.8s ease-in-out infinite alternate !important;
  opacity: 0.95 !important;
  z-index: 0 !important;
}

@keyframes arcadeMeshPulse {
  0% {
    transform: scale(0.96) translateY(0);
    filter: blur(52px) brightness(0.9);
  }
  50% {
    transform: scale(1.14) translateY(-25px);
    filter: blur(42px) brightness(1.25);
  }
  100% {
    transform: scale(1.04) translateY(18px);
    filter: blur(48px) brightness(1.05);
  }
}

@keyframes arcadeTwinkle {
  0% { 
    opacity: 0.65; 
    filter: drop-shadow(0 0 2px rgba(56, 189, 248, 0.4));
  }
  50% { 
    opacity: 1; 
    filter: drop-shadow(0 0 12px rgba(0, 210, 255, 0.95)) drop-shadow(0 0 20px rgba(244, 114, 182, 0.8)); 
  }
  100% { 
    opacity: 0.75; 
    filter: drop-shadow(0 0 4px rgba(56, 189, 248, 0.6));
  }
}

body.pediatric-theme-bg {
  background-color: #090918 !important;
  background-image: 
    radial-gradient(circle at 50% 0%, rgba(168, 85, 247, 0.25) 0%, transparent 65%),
    radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.15) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 100%, #17153d 0%, #070712 100%) !important;
  background-attachment: fixed !important;
  color: #f5f5f7;
  overflow-x: hidden;
  position: relative;
}

body.pediatric-theme-bg::before {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  filter: none !important;
  transform: none !important;
  pointer-events: none !important;
  background: none !important;
  background-image: 
    radial-gradient(3px 3px at 70px 50px, #f472b6, rgba(0,0,0,0)),
    radial-gradient(4px 4px at 140px 190px, #c084fc, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 260px 100px, #38bdf8, rgba(0,0,0,0)),
    radial-gradient(3.5px 3.5px at 340px 300px, #fde047, rgba(0,0,0,0)),
    radial-gradient(4px 4px at 440px 150px, #6ee7b7, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 520px 340px, #f472b6, rgba(0,0,0,0)) !important;
  background-repeat: repeat !important;
  background-size: 540px 540px !important;
  animation: magicGlitter 4.5s ease-in-out infinite alternate !important;
  opacity: 0.95 !important;
  z-index: 0 !important;
}

body.pediatric-theme-bg::after {
  content: "" !important;
  display: block !important;
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  max-height: none !important;
  filter: none !important;
  transform: none !important;
  pointer-events: none !important;
  background: none !important;
  background-image: 
    radial-gradient(2px 2px at 110px 80px, #ffffff, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 280px 220px, #f472b6, rgba(0,0,0,0)),
    radial-gradient(2.5px 2.5px at 400px 70px, #38bdf8, rgba(0,0,0,0)),
    radial-gradient(3px 3px at 490px 240px, #fde047, rgba(0,0,0,0)) !important;
  background-repeat: repeat !important;
  background-size: 460px 460px !important;
  animation: magicGlitterSecondary 3.5s ease-in-out infinite alternate !important;
  opacity: 0.85 !important;
  z-index: 0 !important;
}

@keyframes magicGlitter {
  0% { opacity: 0.55; transform: scale(0.98); }
  50% { opacity: 1; transform: scale(1.02); filter: drop-shadow(0 0 10px rgba(192, 132, 252, 0.85)); }
  100% { opacity: 0.65; transform: scale(0.99); }
}

@keyframes magicGlitterSecondary {
  0% { opacity: 0.4; transform: translateY(0); }
  50% { opacity: 0.95; filter: drop-shadow(0 0 10px rgba(244, 114, 182, 0.9)); }
  100% { opacity: 0.5; transform: translateY(-10px); }
}

/* Ensure foreground content sits above animated background layers */
body.games-theme-bg .standalone-page-wrapper,
body.games-theme-bg header,
body.pediatric-theme-bg .standalone-page-wrapper,
body.pediatric-theme-bg header,
body.tourism-theme-bg .standalone-page-wrapper,
body.tourism-theme-bg header {
  position: relative;
  z-index: 1;
}

/* =======================================================
   DENTAL TOURISM: LUXURY HERITAGE & TRANQUIL OCEAN TEAL THEME
   - International luxury aesthetic with ultra-refined typography
   - Multi-layered ambient glassmorphism with specular bevels
   - Serene emerald, ocean teal & regal gold accents
   ======================================================= */
body.tourism-theme-bg {
  background-color: #030810 !important;
  color: #f1f5f9;
  overflow-x: hidden;
  position: relative;
  font-family: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  letter-spacing: -0.01em;
}

/* Dedicated Hardware-Accelerated Fixed Background Surface with Watercolor Base */
.tourism-fixed-bg-layer {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  pointer-events: none !important;
  z-index: 0 !important;
  overflow: hidden !important;
  background: 
    linear-gradient(180deg, rgba(8, 14, 28, 0.42) 0%, rgba(12, 10, 24, 0.48) 50%, rgba(6, 12, 22, 0.62) 100%),
    url('mandala-watercolor-bg.jpg') no-repeat center center / cover !important;
  filter: saturate(1.12) brightness(0.98);
  -webkit-filter: saturate(1.12) brightness(0.98);
  will-change: transform !important;
  transform: translateZ(0) !important;
  -webkit-transform: translateZ(0) !important;
  backface-visibility: hidden !important;
  -webkit-backface-visibility: hidden !important;
}

/* Atmospheric Sunbeam & Deep Vignette */
.tourism-fixed-bg-layer::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  width: 100% !important;
  height: 100% !important;
  pointer-events: none !important;
  background: 
    radial-gradient(ellipse 85% 65% at 50% 30%, rgba(255, 255, 255, 0.12) 0%, transparent 70%),
    radial-gradient(circle at 18% 22%, rgba(236, 72, 153, 0.30) 0%, transparent 60%),
    radial-gradient(circle at 82% 70%, rgba(147, 51, 234, 0.35) 0%, transparent 60%),
    linear-gradient(180deg, rgba(3, 8, 16, 0.25) 0%, rgba(5, 12, 22, 0.45) 50%, rgba(2, 6, 15, 0.65) 100%) !important;
  backdrop-filter: blur(1px);
  -webkit-backdrop-filter: blur(1px);
  opacity: 0.95 !important;
  z-index: 1;
}

/* Rotating Sacred Mandala Lace Wheels (GPU-Accelerated & Smooth Scroll Driven) */
.mandala-wheel-stage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 2;
  overflow: hidden;
}

.mandala-wheel {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  background-position: center;
  background-repeat: no-repeat;
  background-size: contain;
  will-change: transform;
  transform-origin: center center;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  filter: drop-shadow(0 0 20px rgba(255, 255, 255, 0.20)) drop-shadow(0 0 45px rgba(217, 70, 239, 0.25));
  mix-blend-mode: screen;
}

/* Wheel 1: Top-Left Large Rose-Lace Mandala */
.mandala-wheel-1 {
  top: -12vh;
  left: -8vw;
  width: min(780px, 75vw);
  height: min(780px, 75vw);
  background-image: url('mandala-wheel.png');
  opacity: 0.42;
}

/* Wheel 2: Top-Right Violet Lotus Rosette Mandala */
.mandala-wheel-2 {
  top: -8vh;
  right: -10vw;
  width: min(720px, 70vw);
  height: min(720px, 70vw);
  background-image: url('mandala-wheel-2.png');
  opacity: 0.38;
}

/* Wheel 3: Bottom-Right Royal Magenta Sunburst Mandala */
.mandala-wheel-3 {
  bottom: -15vh;
  right: 5vw;
  width: min(850px, 80vw);
  height: min(850px, 80vw);
  background-image: url('mandala-wheel-3.png');
  opacity: 0.36;
}

/* Wheel 4: Mid-Left Floating Accent Mandala */
.mandala-wheel-4 {
  top: 48vh;
  left: -14vw;
  width: min(580px, 55vw);
  height: min(580px, 55vw);
  background-image: url('mandala-wheel-2.png');
  opacity: 0.28;
}

/* Wheel 5: Bottom-Left Golden-Magenta Accent Mandala */
.mandala-wheel-5 {
  bottom: -18vh;
  left: 18vw;
  width: min(650px, 60vw);
  height: min(650px, 60vw);
  background-image: url('mandala-wheel.png');
  opacity: 0.25;
}

/* Multi-Colored Ethereal Smoke / Mist / Haze Vapors Intertwined Between Wheels */
.mist-smoke-layer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 3;
  overflow: hidden;
  mix-blend-mode: screen;
}

/* Organic Colored Mist Plumes in matching Teal, Magenta, Purple, and Amber */
.mist-plume {
  position: absolute;
  border-radius: 50%;
  filter: blur(55px);
  -webkit-filter: blur(55px);
  will-change: transform, opacity;
  animation: mistPulse 14s ease-in-out infinite alternate;
  pointer-events: none;
}

.mist-teal {
  width: min(700px, 70vw);
  height: min(500px, 50vw);
  top: 15vh;
  left: 30vw;
  background: radial-gradient(ellipse at center, rgba(45, 212, 191, 0.42) 0%, rgba(13, 148, 136, 0.25) 45%, transparent 75%);
  animation-duration: 16s;
}

.mist-magenta {
  width: min(800px, 80vw);
  height: min(600px, 60vw);
  top: 5vh;
  left: 5vw;
  background: radial-gradient(ellipse at center, rgba(236, 72, 153, 0.48) 0%, rgba(217, 70, 239, 0.22) 50%, transparent 75%);
  animation-duration: 18s;
  animation-delay: -3s;
}

.mist-purple {
  width: min(750px, 75vw);
  height: min(550px, 55vw);
  top: 40vh;
  right: 2vw;
  background: radial-gradient(ellipse at center, rgba(168, 85, 247, 0.45) 0%, rgba(126, 34, 206, 0.26) 50%, transparent 75%);
  animation-duration: 20s;
  animation-delay: -6s;
}

.mist-cyan-haze {
  width: min(650px, 65vw);
  height: min(480px, 48vw);
  bottom: 8vh;
  left: 15vw;
  background: radial-gradient(ellipse at center, rgba(56, 189, 248, 0.38) 0%, rgba(6, 182, 212, 0.18) 50%, transparent 75%);
  animation-duration: 15s;
  animation-delay: -9s;
}

/* Realistic Smoke Tendrils Overlay Texture */
.smoke-texture-cloud {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url('colorful-mist-haze.jpg') center center / cover no-repeat;
  opacity: 0.36;
  mix-blend-mode: screen;
  filter: saturate(1.25) contrast(1.1);
  -webkit-filter: saturate(1.25) contrast(1.1);
  pointer-events: none;
}

/* Translucent Soft Contrast Screen for Crystal Clear Text Legibility */
.text-contrast-veil {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 4;
  pointer-events: none;
  background: 
    radial-gradient(ellipse 80% 55% at 50% 18%, rgba(8, 14, 26, 0.40) 0%, rgba(6, 12, 22, 0.22) 55%, transparent 80%),
    radial-gradient(ellipse 90% 70% at 50% 60%, rgba(6, 11, 20, 0.45) 0%, rgba(4, 8, 16, 0.25) 65%, transparent 85%),
    linear-gradient(180deg, rgba(4, 9, 18, 0.18) 0%, rgba(4, 9, 18, 0.42) 100%);
}

@keyframes mistPulse {
  0% {
    transform: scale(0.95) translate(0, 0);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.08) translate(15px, -12px);
    opacity: 1;
  }
  100% {
    transform: scale(1) translate(-10px, 10px);
    opacity: 0.9;
  }
}

/* =========================================================================
   LIQUID GLASS TYPOGRAPHY: Edge-Bending Rounded Prismatic See-Through Glass
   ========================================================================= */
body.tourism-theme-bg .studio-hero-content {
  position: relative;
  z-index: 10;
}

/* Clean, Luxurious & Radiant Headline Typography */
body.tourism-theme-bg .studio-title {
  font-family: 'Outfit', 'Plus Jakarta Sans', sans-serif !important;
  font-weight: 800 !important;
  font-size: clamp(2.4rem, 5.2vw, 4.2rem) !important;
  letter-spacing: -0.025em !important;
  line-height: 1.12 !important;
  margin: 12px auto 18px !important;
  display: inline-block;
  background: linear-gradient(135deg, #ffffff 15%, #f8fafc 40%, #5eead4 75%, #2dd4bf 100%) !important;
  -webkit-background-clip: text !important;
  background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.90)) drop-shadow(0 0 40px rgba(45, 212, 191, 0.40)) !important;
  -webkit-filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.90)) drop-shadow(0 0 40px rgba(45, 212, 191, 0.40)) !important;
}

body.tourism-theme-bg .studio-subtitle {
  color: #f1f5f9 !important;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.90), 0 1px 4px rgba(0, 0, 0, 0.95) !important;
  font-weight: 500 !important;
  background: rgba(8, 14, 26, 0.45);
  padding: 14px 22px;
  border-radius: 16px;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-block;
  max-width: 820px;
}

body.tourism-theme-bg .section-head h2 {
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85) !important;
}

body.tourism-theme-bg .section-desc {
  color: #e2e8f0 !important;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85) !important;
  background: rgba(8, 14, 26, 0.40);
  padding: 10px 20px;
  border-radius: 12px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: inline-block;
}

/* Dreamy Frosted Diffused See-Through Glass Cards */
body.tourism-theme-bg .tourism-glass-card {
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.38) 0%, rgba(2, 6, 23, 0.48) 100%) !important;
  backdrop-filter: blur(28px) saturate(210%) brightness(108%) !important;
  -webkit-backdrop-filter: blur(28px) saturate(210%) brightness(108%) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-top: 1.5px solid rgba(255, 255, 255, 0.45) !important;
  border-left: 1px solid rgba(255, 255, 255, 0.30) !important;
  border-radius: 22px !important;
  box-shadow: 
    0 20px 45px -12px rgba(0, 0, 0, 0.5),
    0 4px 16px rgba(0, 0, 0, 0.25),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35),
    inset 0 -1px 2px rgba(0, 0, 0, 0.25) !important;
  transition: transform 0.32s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.32s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, background 0.3s ease !important;
}

body.tourism-theme-bg .tourism-glass-card:hover {
  transform: translateY(-5px) !important;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.48) 0%, rgba(13, 148, 136, 0.22) 100%) !important;
  border-color: rgba(45, 212, 191, 0.55) !important;
  border-top-color: rgba(255, 255, 255, 0.75) !important;
  box-shadow: 
    0 28px 56px -12px rgba(0, 0, 0, 0.65),
    0 0 32px rgba(45, 212, 191, 0.3),
    inset 0 2px 2px rgba(255, 255, 255, 0.5) !important;
}

/* Frosted Diffused See-Through Cost Comparison Table */
body.tourism-theme-bg .tourism-glass-table-wrap {
  background: linear-gradient(160deg, rgba(15, 23, 42, 0.42) 0%, rgba(2, 6, 23, 0.52) 100%) !important;
  backdrop-filter: blur(32px) saturate(210%) brightness(106%) !important;
  -webkit-backdrop-filter: blur(32px) saturate(210%) brightness(106%) !important;
  border: 1px solid rgba(255, 255, 255, 0.24) !important;
  border-top: 1.8px solid rgba(45, 212, 191, 0.65) !important;
  border-radius: 24px !important;
  box-shadow: 
    0 26px 65px -12px rgba(0, 0, 0, 0.6),
    0 0 40px rgba(45, 212, 191, 0.18),
    inset 0 1.5px 2px rgba(255, 255, 255, 0.35) !important;
}

body.tourism-theme-bg .tourism-table-row {
  transition: background-color 0.2s ease, transform 0.2s ease;
}
body.tourism-theme-bg .tourism-table-row:hover {
  background-color: rgba(45, 212, 191, 0.14) !important;
}

/* Glassy Cost Comparison Action Button */
.tourism-glass-btn {
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1) !important;
}
.tourism-glass-btn:hover {
  transform: translateY(-2px);
  background: rgba(13, 148, 136, 0.35) !important;
  border-color: #2dd4bf !important;
  box-shadow: 0 6px 20px rgba(13, 148, 136, 0.5), 0 0 15px rgba(45, 212, 191, 0.4), inset 0 1px 1px rgba(255, 255, 255, 0.6) !important;
}
.tourism-glass-btn:hover span {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.8) !important;
}

/* SEO Semantic Accessible Search Indexing Block (Clean, Accessible, 100% Google-Compliant) */
.seo-semantic-index-block {
  margin-top: 50px;
  padding: 28px 24px;
  border-radius: 18px;
  background: rgba(3, 8, 18, 0.40);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.seo-semantic-index-block summary {
  font-family: 'Outfit', sans-serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: #5eead4;
  cursor: pointer;
  outline: none;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}
.seo-semantic-index-block summary::-webkit-details-marker {
  display: none;
}
.seo-semantic-index-block summary::after {
  content: "+";
  font-size: 1.25rem;
  font-weight: 400;
  color: #2dd4bf;
  transition: transform 0.25s ease;
}
.seo-semantic-index-block[open] summary::after {
  transform: rotate(45deg);
}

.seo-index-body {
  margin-top: 20px;
  font-size: 0.85rem;
  line-height: 1.65;
  color: #94a3b8;
}

.seo-keyword-pill {
  display: inline-block;
  background: rgba(13, 148, 136, 0.14);
  border: 1px solid rgba(45, 212, 191, 0.25);
  color: #e2e8f0;
  font-size: 0.74rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 980px;
  margin: 3px 2px;
}

/* Floating Fast-Action WhatsApp Booking Hub (High-Conversion) */
.floating-whatsapp-hub {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 120;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 12px;
  background: linear-gradient(135deg, #10b981 0%, #059669 100%);
  color: #ffffff !important;
  text-decoration: none;
  border-radius: 980px;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  box-shadow: 
    0 8px 24px rgba(16, 185, 129, 0.45),
    0 2px 6px rgba(0, 0, 0, 0.35),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.4);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  animation: pulseHub 3.5s ease-in-out infinite;
}

.floating-whatsapp-hub:hover {
  transform: translateY(-4px) scale(1.03);
  box-shadow: 
    0 12px 32px rgba(16, 185, 129, 0.65),
    0 0 25px rgba(52, 211, 153, 0.5),
    inset 0 1.5px 1px rgba(255, 255, 255, 0.6);
}

.floating-whatsapp-hub svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@keyframes pulseHub {
  0%, 100% {
    box-shadow: 0 8px 24px rgba(16, 185, 129, 0.45), 0 0 0 0 rgba(16, 185, 129, 0.4);
  }
  50% {
    box-shadow: 0 12px 28px rgba(16, 185, 129, 0.65), 0 0 0 10px rgba(16, 185, 129, 0);
  }
}

@media (max-width: 600px) {
  .floating-whatsapp-hub {
    bottom: 18px;
    right: 18px;
    padding: 10px 14px;
    font-size: 0.80rem;
  }
}

/* =========================================================================
   MOBILE ONLY TICKER: "Visit on Desktop for the Best Experience"
   - Hidden on desktop screens (min-width: 769px)
   - Continuous smooth marquee animation on mobile screens
   ========================================================================= */
.mobile-desktop-ticker {
  display: none;
}

@media (max-width: 768px) {
  .mobile-desktop-ticker {
    display: flex;
    align-items: center;
    width: 100%;
    overflow: hidden;
    background: linear-gradient(90deg, rgba(2, 6, 23, 0.95), rgba(15, 23, 42, 0.98), rgba(2, 6, 23, 0.95));
    border-bottom: 1px solid rgba(45, 212, 191, 0.35);
    padding: 6px 0;
    position: relative;
    z-index: 105;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
  }

  .ticker-track {
    display: flex;
    white-space: nowrap;
    will-change: transform;
    animation: marqueeScroll 22s linear infinite;
  }

  .ticker-content {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    padding-right: 32px;
    font-size: 0.74rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: #cbd5e1;
  }

  .ticker-highlight {
    color: #2dd4bf;
    background: rgba(45, 212, 191, 0.15);
    padding: 2px 8px;
    border-radius: 6px;
    border: 1px solid rgba(45, 212, 191, 0.4);
    font-weight: 800;
  }

  @keyframes marqueeScroll {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(-50%, 0, 0); }
  }
}

  /* =========================================================================
     MOBILE ACCELERATION & EFFICIENCY: DENTAL TOURISM & GAMES (Mobile Only)
     ========================================================================= */
@media (max-width: 768px) {
  /* Reduce blur overhead on mobile GPUs to boost frame rates to 60fps */
  body.tourism-theme-bg .tourism-glass-card,
  body.tourism-theme-bg .tourism-glass-table-wrap {
    backdrop-filter: blur(10px) saturate(140%) !important;
    -webkit-backdrop-filter: blur(10px) saturate(140%) !important;
  }

  /* Optimize rotating wheels on mobile: display key decorative wheels with zero hitching */
  .mandala-wheel-4,
  .mandala-wheel-5 {
    display: none !important;
  }

  .mandala-wheel-1 {
    width: 320px !important;
    height: 320px !important;
    top: -40px !important;
    left: -40px !important;
    opacity: 0.35 !important;
  }

  .mandala-wheel-2 {
    width: 300px !important;
    height: 300px !important;
    top: -20px !important;
    right: -40px !important;
    opacity: 0.32 !important;
  }

  .mandala-wheel-3 {
    width: 360px !important;
    height: 360px !important;
    bottom: -60px !important;
    right: -30px !important;
    opacity: 0.30 !important;
  }

  /* Mobile Mist Acceleration */
  .mist-plume {
    filter: blur(32px) !important;
    -webkit-filter: blur(32px) !important;
  }

  /* Games Page Mobile Optimization */
  body.games-theme-bg::before {
    filter: blur(25px) !important;
    animation: none !important; /* Save battery and GPU compute on mobile devices */
    opacity: 0.8 !important;
  }

  body.games-theme-bg::after {
    animation: none !important; /* Static sparkling starfield for maximum scroll responsiveness */
    opacity: 0.85 !important;
  }

  /* Brushing Coach interactive card optimization */
  .brush-coach-card {
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
  }
}

/* Aligners Treatment Section (Stagnant Fixed Background with Smooth Parallax Foreground) */
.aligners-block {
  padding: 100px 24px 90px;
  position: relative;
  clip-path: inset(0 0 0 0);
  -webkit-clip-path: inset(0 0 0 0);
  border-top: 1px solid rgba(0, 210, 255, 0.2);
  border-bottom: 1px solid rgba(0, 210, 255, 0.2);
  background-color: #030814;
}

/* Stagnant Background: Fixed to viewport, clipped strictly to this section boundary */
.aligners-block::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background-image: 
    linear-gradient(180deg, rgba(3, 8, 20, 0.62) 0%, rgba(3, 8, 20, 0.28) 35%, rgba(3, 8, 20, 0.38) 70%, rgba(3, 8, 20, 0.88) 100%),
    radial-gradient(ellipse at 50% 30%, rgba(0, 210, 255, 0.12) 0%, transparent 65%),
    url("aligner-couple-bg.jpg");
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  pointer-events: none;
  z-index: 1;
  transform: translateZ(0);
  will-change: transform;
}

.aligners-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: 0 auto;
}

.aligners-header {
  text-align: center;
  max-width: 860px;
  margin: 0 auto 50px;
}

.aligners-eyebrow {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #00d2ff;
  background: rgba(0, 210, 255, 0.18);
  border: 1px solid rgba(0, 210, 255, 0.5);
  padding: 6px 16px;
  border-radius: 980px;
  margin-bottom: 16px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.aligners-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.15;
  color: #ffffff;
  text-shadow: 0 3px 12px rgba(0, 0, 0, 0.8), 0 1px 4px rgba(0, 0, 0, 0.9);
  margin-bottom: 16px;
}

.aligners-desc {
  font-size: 1.05rem;
  line-height: 1.6;
  font-weight: 500;
  color: #f1f5f9;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.85);
}

.aligners-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 36px;
  align-items: center;
}

.aligners-details-card {
  background: rgba(4, 10, 22, 0.38);
  border: 1.5px solid rgba(45, 212, 191, 0.45);
  border-radius: 28px;
  padding: 38px 34px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.aligners-lead {
  font-size: 1.02rem;
  line-height: 1.65;
  font-weight: 500;
  color: #f8fafc;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.8);
  margin-bottom: 24px;
}

.aligners-features {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 30px;
}

.aligner-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.aligner-feature-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 210, 255, 0.25);
  border: 1px solid rgba(0, 210, 255, 0.6);
  color: #00d2ff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.82rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-top: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.aligner-feature-text strong {
  color: #ffffff;
  font-weight: 700;
  display: inline;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.aligner-feature-text {
  font-size: 0.90rem;
  line-height: 1.5;
  font-weight: 500;
  color: #f1f5f9;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.aligners-action-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.aligners-spec-visual {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.aligners-spec-card {
  background: rgba(4, 10, 22, 0.38);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  border-radius: 20px;
  padding: 22px 24px;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.2);
  transition: border-color 0.2s ease, transform 0.2s ease, background 0.2s ease;
}

.aligners-spec-card:hover {
  background: rgba(4, 10, 22, 0.55);
  border-color: rgba(0, 210, 255, 0.65);
  transform: translateY(-2px);
}

.spec-stat-num {
  font-size: 1.7rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #ffffff 40%, var(--accent-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: block;
  margin-bottom: 4px;
}

.spec-stat-title {
  font-size: 0.86rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.spec-stat-desc {
  font-size: 0.78rem;
  line-height: 1.45;
  color: var(--text-tertiary);
}

@media (max-width: 900px) {
  .aligners-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
}

@media (max-width: 600px) {
  .aligners-block {
    padding: 50px 14px 50px;
  }
  .aligners-block::before {
    background-position: center center;
    background-size: cover;
  }
  .aligners-details-card {
    padding: 24px 18px;
    border-radius: 20px;
    background: rgba(4, 10, 22, 0.48);
  }
  .aligners-spec-card {
    background: rgba(4, 10, 22, 0.48);
    padding: 18px 16px;
  }
}

/* Specific Sub-page Containers */
.standalone-page-wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(112px + env(safe-area-inset-top, 0px)) 24px 80px;
}

@media (max-width: 600px) {
  .standalone-page-wrapper {
    padding: calc(140px + env(safe-area-inset-top, 0px)) 16px 80px;
  }
}


@keyframes ambientGlassSweep {
  0%, 100% {
    opacity: 0.75;
    background-position: 10% 10%;
  }
  50% {
    opacity: 0.95;
    background-position: 85% 85%;
  }
}

/* Pulsing Glow Animation for ₹59 Creator Boost Card */
.creator-boost-glow {
  animation: pulseCreatorBoost 3s ease-in-out infinite;
  box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35);
  transition: all 0.3s ease;
}

@keyframes pulseCreatorBoost {
  0%, 100% {
    border-color: rgba(245, 158, 11, 0.7);
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.35), 0 0 0 0 rgba(245, 158, 11, 0);
    transform: translateY(0);
  }
  50% {
    border-color: #f59e0b;
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.75), 0 0 25px rgba(251, 191, 36, 0.65), inset 0 0 16px rgba(245, 158, 11, 0.22);
    transform: translateY(-2px);
  }
}

/* Also support long-interval wave pulse */
.creator-boost-card:hover {
  box-shadow: 0 10px 36px rgba(245, 158, 11, 0.85), 0 0 30px rgba(251, 191, 36, 0.8);
  transform: translateY(-3px);
}
