/* ================================================
   CARE MULTI SPECIALITY DENTAL HOSPITAL
   Main Stylesheet — Premium 3D Design
   ================================================ */

/* ── RESET & BASE ─────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --blue-1:   #00cfff;
  --blue-2:   #005bff;
  --blue-3:   #003baa;
  --teal:     #00e5c8;
  --dark-bg:  #050c1a;
  --dark-2:   #081122;
  --dark-3:   #0d1a35;
  --dark-4:   #0f2044;
  --card-bg:  rgba(13, 26, 53, 0.85);
  --card-border: rgba(0, 207, 255, 0.18);
  --text-1:   #ffffff;
  --text-2:   #b8d4f0;
  --text-3:   #7a9bc5;
  --nav-bg:   rgba(5, 12, 26, 0.88);
  --grad-main: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  --grad-dark: linear-gradient(135deg, var(--dark-2), var(--dark-4));
  --glow-blue: 0 0 40px rgba(0, 207, 255, 0.25);
  --glow-strong: 0 0 80px rgba(0, 91, 255, 0.35);
  --shadow-card: 0 8px 40px rgba(0, 0, 0, 0.4);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Outfit', sans-serif;
}

[data-theme="light"] {
  --dark-bg:  #f0f5fa;
  --dark-2:   #e2ecf5;
  --dark-3:   #ffffff;
  --dark-4:   #d8e6f3;
  --card-bg:  rgba(255, 255, 255, 0.94);
  --card-border: rgba(0, 91, 255, 0.16);
  --text-1:   #09172a;
  --text-2:   #233a59;
  --text-3:   #4b688a;
  --nav-bg:   rgba(240, 245, 250, 0.92);
  --shadow-card: 0 10px 32px rgba(9, 23, 42, 0.08);
  --glow-blue: 0 0 30px rgba(0, 91, 255, 0.12);
  --glow-strong: 0 0 60px rgba(0, 91, 255, 0.2);
}

html { scroll-behavior: smooth; overflow-x: hidden; font-size: 16px; text-size-adjust: 100%; -webkit-text-size-adjust: 100%; }

body {
  font-family: var(--font);
  background: var(--dark-bg);
  color: var(--text-1);
  overflow-x: hidden;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body, html {
  cursor: auto !important;
}

a, button, input[type="submit"], input[type="button"], .btn, select, label, [role="button"] {
  cursor: pointer !important;
}

input[type="text"], input[type="email"], input[type="tel"], input[type="number"], textarea {
  cursor: text !important;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
input, select, textarea, button { font-family: var(--font); }

/* ── GPU LAYERS — force composited layers on animated elements ── */
.hero-duo-frame,
.testimonial-card,
.service-card,
.doctor-card,
.spotlight-card-frame,
.hero-stats-strip,
#navbar {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* ── SMOOTH TRANSITIONS global ───────────────────── */
* {
  -webkit-tap-highlight-color: transparent;
}

/* ── SCROLLBAR ────────────────────────────────── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--dark-bg); }
::-webkit-scrollbar-thumb { background: var(--blue-2); border-radius: 10px; }
::-webkit-scrollbar-thumb:hover { background: var(--blue-1); }

/* ── PARTICLE CANVAS ──────────────────────────── */
#particleCanvas {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ── PRELOADER ────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: var(--dark-bg);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

.preloader-inner {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.tooth-loader {
  position: relative;
  width: 80px; height: 90px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.loader-real-logo {
  width: 75px;
  height: 75px;
  object-fit: contain;
  animation: logoPulse 1.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(0,207,255,0.6)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(0,91,255,0.8)); }
}

.pulse-ring {
  position: absolute;
  width: 80px; height: 80px;
  border-radius: 50%;
  border: 2px solid rgba(0, 207, 255, 0.4);
  animation: pulseExpand 2s ease-out infinite;
}
.pulse-ring.delay-1 { animation-delay: 0.7s; }

@keyframes pulseExpand {
  0% { transform: scale(0.6); opacity: 1; }
  100% { transform: scale(2.2); opacity: 0; }
}

.loader-text {
  font-size: 1.8rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 2px;
}
.loader-sub {
  font-size: 0.8rem;
  color: var(--text-3);
  letter-spacing: 1px;
}

.loader-bar {
  width: 180px; height: 3px;
  background: rgba(255,255,255,0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 8px;
}
.loader-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: 10px;
  animation: loadFill 2.2s ease-out forwards;
}
@keyframes loadFill {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* ═══════════════════════════════════════════════════
   ★ SPECTACULAR TOOTH CURSOR SYSTEM ★
   ═══════════════════════════════════════════════════ */

 /* ── 1. Native cursor hidden via body rule ── */

/* ── 2. Light, performant cursor CSS ───────────────────────── */
/* Follower spin */
@keyframes orbitSpin {
  to { transform: translate(-50%,-50%) rotate(360deg); }
}
@keyframes orbitSpinReverse {
  to { transform: translate(-50%,-50%) rotate(-360deg); }
}

/* ── 3. Animated Tooth Cursor with Sparkle / Twinkle ───────── */
.custom-cursor {
  width: 38px;
  height: 38px;
  background-image: none;
  background-color: transparent;
  position: fixed;
  top: 0; left: 0;
  pointer-events: none;
  z-index: 99999;
  transition: opacity 0.2s ease;
  will-change: transform;
  display: flex;
  align-items: center;
  justify-content: center;
}

.custom-cursor::before {
  content: "🦷";
  font-size: 26px;
  filter: drop-shadow(0 0 8px rgba(0, 207, 255, 0.95))
          drop-shadow(0 0 18px rgba(0, 207, 255, 0.6))
          drop-shadow(0 0 30px rgba(168, 85, 247, 0.3));
  animation: toothWiggle 2s ease-in-out infinite;
  display: block;
}

.custom-cursor::after {
  content: "✨";
  font-size: 13px;
  position: absolute;
  top: -4px;
  right: -5px;
  animation: twinkleOrbit 2.4s linear infinite;
  pointer-events: none;
}

@keyframes toothWiggle {
  0%, 100% { transform: rotate(-6deg) scale(1); filter: drop-shadow(0 0 8px rgba(0,207,255,0.95)) drop-shadow(0 0 18px rgba(0,207,255,0.6)); }
  25% { transform: rotate(4deg) scale(1.12); filter: drop-shadow(0 0 14px rgba(0,207,255,1)) drop-shadow(0 0 28px rgba(168,85,247,0.7)); }
  50% { transform: rotate(-4deg) scale(1.06); filter: drop-shadow(0 0 10px rgba(0,207,255,0.9)) drop-shadow(0 0 22px rgba(0,207,255,0.5)); }
  75% { transform: rotate(6deg) scale(1.14); filter: drop-shadow(0 0 16px rgba(255,255,255,0.9)) drop-shadow(0 0 32px rgba(0,207,255,0.8)); }
}

@keyframes twinkleOrbit {
  0% { transform: rotate(0deg) translateX(14px) rotate(0deg) scale(0.5); opacity: 0; }
  15% { opacity: 1; }
  85% { opacity: 1; }
  100% { transform: rotate(360deg) translateX(14px) rotate(-360deg) scale(0.5); opacity: 0; }
}

/* On hover near interactive elements — cursor scales up */
a:hover .custom-cursor,
button:hover .custom-cursor {
  transform: scale(1.3);
}

/* ── Hide custom cursor follower — only tooth is shown ── */
.cursor-follower,
.cursor-orbit-wrap,
.cursor-trail,
.cursor-burst,
.cursor-circle,
#wowCursorDot,
#wowCursorRing,
#cursorFollower {
  display: none !important;
}

/* Tooth cursor visible on desktop */
@media (max-width: 768px) {
  .custom-cursor { display: none !important; }
}

/* ── CONTAINER ────────────────────────────────── */
.container {
  width: 90%;
  max-width: 1280px;
  margin: 0 auto;
}

/* ── SECTION ISOLATION \u2014 faster repaints ── */
section {
  contain: layout paint;
  position: relative;
}

/* ── NAVBAR ───────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 18px 0;
  transition: var(--transition);
}
.navbar.scrolled {
  background: rgba(5, 12, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--card-border);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.nav-container {
  width: 95%;
  max-width: 1360px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: nowrap;
  position: relative;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}
.logo-icon svg { width: 44px; height: 44px; }
.logo-img-wrap { width: 46px; height: 46px; background: rgba(255,255,255,0.05); border-radius: 10px; overflow: hidden; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.logo-real-img { width: 100%; height: 100%; object-fit: contain; }
.logo-text { display: flex; flex-direction: column; line-height: 1.2; white-space: nowrap; }
.logo-main { font-size: 1.1rem; font-weight: 700; color: var(--text-1); }
.logo-main strong { color: var(--blue-1); }
.logo-sub { font-size: 0.6rem; color: var(--text-3); letter-spacing: 0.5px; text-transform: uppercase; }

.nav-links {
  display: flex;
  gap: 2px;
  align-items: center;
  margin: 0 auto;
  padding: 0;
  list-style: none;
}
.nav-links li {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  white-space: nowrap;
}
.nav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 10px;
  font-size: 0.84rem;
  font-weight: 500;
  color: var(--text-2);
  border-radius: 8px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 50%; right: 50%;
  height: 2px;
  background: var(--grad-main);
  border-radius: 2px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue-1); }
.nav-link:hover::after, .nav-link.active::after { left: 8px; right: 8px; }

.nav-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  margin-left: auto;
}
.nav-phone, .nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
  white-space: nowrap;
}
.nav-phone i { color: var(--blue-1); font-size: 0.9rem; }
.nav-phone:hover { color: var(--blue-1); }

.nav-whatsapp i { color: #25D366; font-size: 1rem; }
.nav-whatsapp:hover { color: #25D366; }

.btn-nav {
  padding: 8px 18px;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  box-shadow: 0 4px 18px rgba(0, 91, 255, 0.4);
  white-space: nowrap;
  flex-shrink: 0;
}
.btn-nav:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 91, 255, 0.6);
}

.btn-staff-login {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: linear-gradient(135deg, #00b87a, #007a52);
  color: #fff;
  font-weight: 700;
  font-size: 0.82rem;
  border-radius: 50px;
  letter-spacing: 0.3px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(0, 184, 122, 0.35);
  border: 1px solid rgba(0, 229, 153, 0.3);
}
.btn-staff-login i { font-size: 0.8rem; }
.btn-staff-login:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 184, 122, 0.55);
  background: linear-gradient(135deg, #00d690, #009e69);
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}
.hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-1);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ── HERO ─────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}

.hero-video-container {
  position: absolute;
  inset: 0;
  z-index: 0;
}
#heroBgVideo {
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 1;
  display: block;
}
.hero-video-fallback {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse at 20% 50%, rgba(0, 91, 255, 0.2) 0%, transparent 60%),
    radial-gradient(ellipse at 80% 30%, rgba(0, 207, 255, 0.15) 0%, transparent 60%),
    var(--dark-bg);
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(5, 12, 26, 0.82) 0%,
    rgba(5, 12, 26, 0.45) 50%,
    rgba(5, 12, 26, 0.15) 100%
  );
  z-index: 1;
}

/* Orbs */
.orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.orb-1 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0, 91, 255, 0.12) 0%, transparent 70%);
  top: -100px; left: -100px;
  animation: orbFloat 8s ease-in-out infinite;
}
.orb-2 {
  width: 350px; height: 350px;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.1) 0%, transparent 70%);
  bottom: 100px; right: 100px;
  animation: orbFloat 10s ease-in-out infinite reverse;
}
.orb-3 {
  width: 200px; height: 200px;
  background: radial-gradient(circle, rgba(0, 229, 200, 0.08) 0%, transparent 70%);
  top: 50%; left: 50%;
  animation: orbFloat 6s ease-in-out infinite;
}
@keyframes orbFloat {
  0%, 100% { transform: translate(0, 0) scale(1); }
  50% { transform: translate(30px, -20px) scale(1.05); }
}

/* 3D Tooth */
.hero-tooth-3d {
  position: absolute;
  right: 8%;
  bottom: 10%;
  z-index: 2;
  perspective: 600px;
  pointer-events: none;
  opacity: 0.06;
}
.tooth-scene {
  width: 120px; height: 120px;
  transform-style: preserve-3d;
  animation: rotateScene 18s linear infinite;
}
@keyframes rotateScene { from { transform: rotateY(0); } to { transform: rotateY(360deg); } }
.tooth-cube { width: 100%; height: 100%; position: relative; transform-style: preserve-3d; }
.t-face {
  position: absolute;
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  border: 1px solid rgba(0,207,255,0.3);
  opacity: 0.7;
}
.t-front  { transform: translateZ(60px); }
.t-back   { transform: translateZ(-60px) rotateY(180deg); }
.t-left   { transform: translateX(-60px) rotateY(-90deg); }
.t-right  { transform: translateX(60px) rotateY(90deg); }
.t-top    { transform: translateY(-60px) rotateX(90deg); }
.t-bottom { transform: translateY(60px) rotateX(-90deg); }

/* Hero layout */
.hero-grid-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  z-index: 3;
  gap: 5%;
}

.hero-content {
  position: relative;
  z-index: 3;
  width: 55%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0, 91, 255, 0.15);
  border: 1px solid rgba(0, 207, 255, 0.3);
  padding: 8px 18px;
  border-radius: 50px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--blue-1);
  backdrop-filter: blur(10px);
  width: fit-content;
}
.hero-badge i { color: var(--blue-1); }

.hero-title {
  font-size: clamp(2.2rem, 4vw, 3.8rem);
  font-weight: 900;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

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

.hero-tagline {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--blue-1);
  opacity: 0.9;
}
.hero-desc {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 540px;
  line-height: 1.8;
}

.hero-stats {
  display: flex;
  gap: 0;
  background: rgba(13, 26, 53, 0.7);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-md);
  padding: 20px 24px;
  width: fit-content;
  max-width: 100%;
}
.stat-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 24px;
}
.stat-item:first-child { padding-left: 0; }
.stat-item:last-child { padding-right: 0; }
.stat-num {
  font-size: 2rem;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
}
.stat-plus {
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-1);
  line-height: 1;
  align-self: flex-start;
  margin-top: 4px;
}
.stat-label {
  font-size: 0.72rem;
  color: var(--text-3);
  text-align: center;
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1.4;
}
.stat-label small { display: block; font-size: 0.6rem; color: var(--text-3); }
.stat-divider {
  width: 1px;
  background: var(--card-border);
  margin: 4px 0;
}

.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* ── BUTTONS ──────────────────────────────────── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: var(--grad-main);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 30px rgba(0, 91, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: var(--transition);
}
.btn-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 91, 255, 0.7);
}
.btn-primary:hover::before { opacity: 1; }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: transparent;
  color: var(--blue-1);
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: 2px solid rgba(0, 207, 255, 0.4);
  cursor: pointer;
  transition: var(--transition);
}
.btn-ghost:hover {
  background: rgba(0, 207, 255, 0.1);
  border-color: var(--blue-1);
  transform: translateY(-3px);
}

.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 30px;
  background: linear-gradient(135deg, #25D366, #128C7E);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: 0 6px 25px rgba(37, 211, 102, 0.4);
}
.btn-whatsapp-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 35px rgba(37, 211, 102, 0.6);
}

/* Hero image panel */
.hero-image-panel {
  position: relative;
  z-index: 3;
  width: 40%;
  max-width: 440px;
}

.hero-img-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--glow-blue), var(--shadow-card);
  background: var(--dark-3);
  animation: floatCard 6s ease-in-out infinite;
}
@keyframes floatCard {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}

/* Hero image card — fixed height, proper cover */
.hero-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  object-position: center center;
  display: block;
}

.hero-doc-photo {
  width: 100%;
  height: 460px;
  object-fit: cover;
  object-position: center 8%;
  display: block;
}

.img-placeholder-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  color: var(--text-3);
}
.img-placeholder-overlay i { font-size: 4rem; color: var(--blue-2); opacity: 0.5; }
.img-placeholder-overlay span { font-size: 1rem; font-weight: 600; color: var(--text-2); }
.img-placeholder-overlay small { font-size: 0.78rem; color: var(--text-3); }

.hero-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(5, 12, 26, 0.9);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  box-shadow: var(--glow-blue);
}
.card-top { top: 20px; left: -24px; }
.card-bottom { bottom: 30px; right: -24px; }
.hero-float-card .float-icon {
  width: 38px; height: 38px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 1rem;
}
.hero-float-card div:last-child { display: flex; flex-direction: column; }
.hero-float-card strong { font-size: 0.82rem; font-weight: 700; color: var(--text-1); }
.hero-float-card span { font-size: 0.72rem; color: var(--text-3); }

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.scroll-wheel {
  width: 28px; height: 44px;
  border: 2px solid rgba(0, 207, 255, 0.4);
  border-radius: 14px;
  position: relative;
  animation: scrollBounce 2s ease-in-out infinite;
}
.scroll-wheel::before {
  content: '';
  position: absolute;
  top: 7px; left: 50%; transform: translateX(-50%);
  width: 4px; height: 8px;
  background: var(--blue-1);
  border-radius: 2px;
  animation: scrollDot 2s ease-in-out infinite;
}
@keyframes scrollDot {
  0%, 100% { top: 7px; opacity: 1; }
  50% { top: 20px; opacity: 0.3; }
}
@keyframes scrollBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(6px); }
}

/* ── TICKER STRIP ─────────────────────────────── */
.ticker-strip {
  background: var(--grad-main);
  padding: 14px 0;
  overflow: hidden;
  position: relative;
  z-index: 10;
}
.ticker-inner {
  display: flex;
  gap: 40px;
  white-space: nowrap;
  animation: ticker 30s linear infinite;
  width: max-content;
}
.ticker-inner span {
  font-size: 0.85rem;
  font-weight: 700;
  color: rgba(255,255,255,0.9);
  text-transform: uppercase;
  letter-spacing: 1px;
}
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── SECTIONS COMMON ──────────────────────────── */
section { padding: 100px 0; position: relative; z-index: 2; }

.section-header { text-align: center; margin-bottom: 60px; }

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--blue-1);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 12px;
}
.section-tag::before, .section-tag::after {
  content: '';
  width: 24px; height: 1px;
  background: var(--blue-1);
  opacity: 0.6;
}

.section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 14px;
  letter-spacing: -0.02em;
}

.section-sub {
  font-size: 1rem;
  color: var(--text-2);
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.8;
}

/* ── ABOUT ────────────────────────────────────── */
.about-section { background: var(--dark-bg); }

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-img-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}

/* About image — fixed height, proper fit */
.about-img {
  width: 100%;
  height: 480px;
  border-radius: var(--radius-lg);
  object-fit: cover;
  object-position: center center;
  border: 1px solid var(--card-border);
  box-shadow: var(--shadow-card);
  display: block;
}

/* about placeholder — hidden since real image exists */
.about-img-placeholder { display: none; }

.about-img-accent {
  position: absolute;
  bottom: -16px; right: -16px;
  width: 70%; height: 70%;
  background: var(--grad-main);
  border-radius: var(--radius-lg);
  z-index: -1;
  opacity: 0.15;
  filter: blur(30px);
}

.about-float-card {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(5, 12, 26, 0.92);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(20px);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  box-shadow: var(--glow-blue);
  animation: floatCard 7s ease-in-out infinite;
}
.about-float-card.card-a { top: -20px; right: -20px; animation-delay: 0s; }
.about-float-card.card-b { bottom: -20px; left: -20px; animation-delay: 1.5s; }
.float-card-icon {
  width: 42px; height: 42px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.about-float-card div:last-child { display: flex; flex-direction: column; }
.about-float-card strong { font-size: 0.85rem; font-weight: 700; }
.about-float-card span { font-size: 0.72rem; color: var(--text-3); }

.about-content { display: flex; flex-direction: column; gap: 18px; }

.about-text { color: var(--text-2); line-height: 1.9; font-size: 0.97rem; }

.about-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(0, 91, 255, 0.07);
  border: 1px solid rgba(0, 207, 255, 0.12);
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  transition: var(--transition);
}
.feature-item:hover {
  background: rgba(0, 91, 255, 0.14);
  border-color: rgba(0, 207, 255, 0.3);
  transform: translateX(4px);
}
.feature-icon { color: var(--blue-1); font-size: 1rem; flex-shrink: 0; }


/* --- CLINIC TRUST & VERIFICATIONS STRIP --- */
.trust-links-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  width: 100%;
}
.trust-badge-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-md);
  text-decoration: none;
  transition: var(--transition);
}
.trust-badge-card:hover {
  background: rgba(0, 207, 255, 0.08);
  border-color: var(--blue-1);
  box-shadow: 0 0 15px rgba(0, 207, 255, 0.15);
  transform: translateY(-4px);
}
.trust-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: rgba(0, 207, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue-1);
  flex-shrink: 0;
  border: 1px solid rgba(0, 207, 255, 0.15);
}
.trust-badge-card:hover .trust-icon {
  background: var(--blue-1);
  color: #fff;
  border-color: transparent;
}
.trust-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.trust-info strong {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.2;
}
.trust-info span {
  font-size: 0.68rem;
  color: var(--text-3);
}

/* Responsiveness for Trust Strip */
@media (max-width: 1024px) {
  .trust-links-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
@media (max-width: 768px) {
  .trust-links-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 480px) {
  .trust-links-grid {
    grid-template-columns: 1fr;
  }
}

.about-cta-row {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  align-items: center;
}

.btn-outline-call {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 24px;
  border: 2px solid rgba(0, 207, 255, 0.3);
  border-radius: 50px;
  color: var(--blue-1);
  font-weight: 700;
  font-size: 0.9rem;
  transition: var(--transition);
}
.btn-outline-call:hover {
  background: rgba(0, 207, 255, 0.1);
  border-color: var(--blue-1);
  transform: translateY(-2px);
}

/* ── SERVICES ─────────────────────────────────── */
.services-section {
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}
.services-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,207,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,207,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
}
.services-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 700px; height: 500px;
  background: radial-gradient(ellipse, rgba(0, 91, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
}

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

.service-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 36px 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.service-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 207, 255, 0.35);
  box-shadow: var(--glow-blue), var(--shadow-card);
}
.service-card:hover::before { transform: scaleX(1); }

.service-card.featured {
  background: linear-gradient(135deg, rgba(0, 91, 255, 0.18), rgba(0, 207, 255, 0.08));
  border-color: rgba(0, 207, 255, 0.35);
}
.service-card.featured::before { transform: scaleX(1); }

.service-card-glow {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(0, 91, 255, 0.08) 0%, transparent 70%);
  opacity: 0;
  transition: var(--transition);
  pointer-events: none;
}
.service-card:hover .service-card-glow { opacity: 1; }

.service-icon-3d {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(0, 91, 255, 0.25), rgba(0, 207, 255, 0.15));
  border: 1px solid rgba(0, 207, 255, 0.3);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: var(--blue-1);
  transition: var(--transition);
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 91, 255, 0.2);
}
.service-card:hover .service-icon-3d {
  background: var(--grad-main);
  color: white;
  transform: rotateY(15deg) scale(1.08);
  box-shadow: 0 12px 30px rgba(0, 91, 255, 0.5);
}

.service-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.3;
}

.service-card p {
  font-size: 0.88rem;
  color: var(--text-2);
  line-height: 1.7;
  flex: 1;
}

.service-badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  background: rgba(0, 207, 255, 0.12);
  border: 1px solid rgba(0, 207, 255, 0.25);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--blue-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  width: fit-content;
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue-1);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
}
.service-link:hover { gap: 12px; }

/* ── DOCTORS ──────────────────────────────────── */
.doctors-section { background: var(--dark-bg); }

.doctors-grid.two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  max-width: 960px;
  margin: 0 auto;
}

.doctor-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.doctor-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0, 207, 255, 0.4);
  box-shadow: var(--glow-blue), var(--shadow-card);
}

/* Doctor image wrap — fixed height */
.doctor-img-wrap {
  position: relative;
  height: 430px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  overflow: hidden;
}

/* Doctor photo — always shows face properly */
.doctor-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.doctor-photo-anil {
  object-position: center 10%;
}
.doctor-photo-ramya {
  object-position: center 7%;
}
.doctor-card:hover .doctor-photo { transform: scale(1.04); }

/* Doctor placeholder — hidden since real photos exist */
.doctor-photo-placeholder { display: none; }


.doctor-specialty-tag {
  position: absolute;
  bottom: 14px; left: 14px;
  padding: 6px 14px;
  background: var(--grad-main);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.doctor-specialty-tag.pink {
  background: linear-gradient(135deg, #ff6b9d, #c44569);
}

.doctor-social {
  position: absolute;
  top: 14px; right: 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  opacity: 0;
  transform: translateX(10px);
  transition: var(--transition);
}
.doctor-card:hover .doctor-social { opacity: 1; transform: translateX(0); }
.doctor-social a {
  width: 34px; height: 34px;
  background: rgba(5, 12, 26, 0.9);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  color: var(--blue-1);
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.doctor-social a:hover { background: var(--grad-main); color: white; border-color: transparent; }

.doctor-info {
  padding: 24px 28px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.doctor-qual {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--blue-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.doctor-info h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-1);
  line-height: 1.2;
}
.doctor-role {
  font-size: 0.82rem;
  color: var(--text-3);
  font-weight: 500;
}
.doctor-info p {
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.75;
  margin-top: 4px;
}

.doctor-stats-row {
  display: flex;
  gap: 4px;
  margin-top: 12px;
}
.doc-stat {
  flex: 1;
  text-align: center;
  padding: 10px;
  background: rgba(0, 91, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.12);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.doc-stat strong {
  font-size: 1rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.doc-stat span {
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.doctor-timings-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  background: rgba(0, 207, 255, 0.05);
  border: 1.5px dashed rgba(0, 207, 255, 0.2);
  color: var(--text-2);
  font-size: 0.78rem;
  font-weight: 500;
  border-radius: 6px;
  margin-top: 6px;
  margin-bottom: 4px;
}
.doctor-timings-badge i {
  color: var(--blue-1);
}

.doctor-profile-links {
  margin-top: 18px;
  border-top: 1px solid var(--card-border);
  padding-top: 14px;
}
.doctor-profile-links > span {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-3);
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}
.profile-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
}
.profile-link-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 12px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-2);
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: var(--transition);
  text-decoration: none;
}
.profile-link-btn i {
  font-size: 0.8rem;
  color: var(--blue-1);
}
.profile-link-btn:hover {
  background: rgba(0, 207, 255, 0.1);
  border-color: var(--blue-1);
  color: var(--blue-1);
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.15);
  transform: translateY(-2px);
}

/* ── VIDEO SECTION ────────────────────────────── */
.video-section { background: var(--dark-2); }

.video-player-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--glow-strong), var(--shadow-card);
  background: var(--dark-3);
}

.tour-video {
  width: 100%;
  max-height: 540px;
  object-fit: cover;
  display: block;
}

.video-placeholder {
  min-height: 400px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 60px;
  background: linear-gradient(135deg, var(--dark-3), var(--dark-4));
  text-align: center;
}

.video-play-btn {
  width: 80px; height: 80px;
  background: var(--grad-main);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: white;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(0, 91, 255, 0.5);
  animation: playPulse 2s infinite;
  transition: var(--transition);
}
.video-play-btn:hover { transform: scale(1.12); }
@keyframes playPulse {
  0% { box-shadow: 0 0 0 0 rgba(0, 91, 255, 0.5); }
  70% { box-shadow: 0 0 0 24px rgba(0, 91, 255, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 91, 255, 0); }
}

.video-placeholder-text h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-2);
  margin-bottom: 8px;
}
.video-placeholder-text h3 i { color: var(--blue-1); margin-right: 8px; }
.video-placeholder-text p { color: var(--text-3); font-size: 0.9rem; line-height: 1.7; }
.video-placeholder-text code {
  background: rgba(0, 91, 255, 0.15);
  border: 1px solid rgba(0, 207, 255, 0.2);
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.8rem;
  color: var(--blue-1);
}

.video-info-strip {
  display: flex;
  justify-content: center;
  gap: 32px;
  padding: 16px 24px;
  background: rgba(0, 91, 255, 0.1);
  border-top: 1px solid var(--card-border);
  flex-wrap: wrap;
}
.video-info-strip span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  color: var(--text-2);
  font-weight: 500;
}
.video-info-strip i { color: var(--blue-1); }

/* ── APPOINTMENT ──────────────────────────────── */
.appointment-section {
  background: var(--dark-bg);
  position: relative;
  overflow: hidden;
}
.appointment-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 800px; height: 600px;
  background: radial-gradient(ellipse, rgba(0, 91, 255, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

.appointment-info { display: flex; flex-direction: column; gap: 24px; }
.appointment-info > p { color: var(--text-2); line-height: 1.8; }

.appt-contact-list { display: flex; flex-direction: column; gap: 14px; }

.appt-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 16px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  backdrop-filter: blur(10px);
}
a.appt-contact-item:hover {
  border-color: rgba(0, 207, 255, 0.35);
  transform: translateX(4px);
}

.appt-icon {
  width: 42px; height: 42px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.appt-icon.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); }
.appt-icon.location { background: linear-gradient(135deg, #f7971e, #ffd200); }
.appt-icon.time { background: linear-gradient(135deg, #7b4397, #dc2430); }

.appt-contact-item > div:last-child { display: flex; flex-direction: column; gap: 2px; }
.appt-contact-item strong { font-size: 0.85rem; font-weight: 700; color: var(--text-1); }
.appt-contact-item span { font-size: 0.82rem; color: var(--text-2); }

/* Form */
.appointment-form-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 40px;
  backdrop-filter: blur(20px);
  box-shadow: var(--shadow-card);
  position: relative;
  overflow: hidden;
}
.appointment-form-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--grad-main);
}

.form-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 28px;
}
.form-header i { font-size: 1.4rem; color: var(--blue-1); }
.form-header h3 { font-size: 1.2rem; font-weight: 700; }

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-group { display: flex; flex-direction: column; gap: 7px; margin-bottom: 16px; }
.form-group label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
}
.req { color: var(--blue-1); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 16px;
  background: rgba(5, 12, 26, 0.6);
  border: 1px solid rgba(0, 207, 255, 0.2);
  border-radius: 10px;
  color: var(--text-1);
  font-size: 0.9rem;
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue-1);
  box-shadow: 0 0 0 3px rgba(0, 207, 255, 0.12);
  background: rgba(0, 91, 255, 0.07);
}
.form-group input::placeholder,
.form-group textarea::placeholder { color: var(--text-3); }
.form-group select option { background: var(--dark-3); color: var(--text-1); }

.btn-submit {
  width: 100%;
  padding: 15px;
  background: var(--grad-main);
  color: white;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: var(--transition);
  box-shadow: 0 6px 30px rgba(0, 91, 255, 0.5);
  position: relative;
  overflow: hidden;
}
.btn-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(0, 91, 255, 0.7);
}

.form-disclaimer {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}
.form-disclaimer i { color: var(--teal); }

/* ── TESTIMONIALS ─────────────────────────────── */
.testimonials-section {
  background: var(--dark-2);
  position: relative;
  overflow: hidden;
}
.testi-bg-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(0, 207, 255, 0.07) 0%, transparent 70%);
  pointer-events: none;
}

.testimonials-track-outer { position: relative; }

.testimonial-track {
  display: flex;
  gap: 24px;
  overflow: hidden;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.testimonial-card {
  flex: 0 0 calc(33.333% - 16px);
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-md);
  padding: 32px;
  backdrop-filter: blur(10px);
  transition: var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 0;
  box-sizing: border-box;
  overflow: hidden;
  word-wrap: break-word;
  overflow-wrap: break-word;
}
.testimonial-card:hover {
  border-color: rgba(0, 207, 255, 0.35);
  transform: translateY(-6px);
  box-shadow: var(--glow-blue);
}

.testi-quote {
  font-size: 1.5rem;
  color: var(--blue-1);
  opacity: 0.5;
}
.testi-stars { font-size: 1rem; color: #ffd200; letter-spacing: 2px; }

.testimonial-card p {
  font-size: 0.9rem;
  color: var(--text-2);
  line-height: 1.8;
  flex: 1;
  font-style: italic;
}

.testi-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--card-border);
  padding-top: 16px;
}
.testi-avatar {
  width: 44px; height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  color: white;
  flex-shrink: 0;
}
.testi-author strong { font-size: 0.9rem; font-weight: 700; display: block; }
.testi-author span { font-size: 0.75rem; color: var(--text-3); }

.carousel-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 36px;
}
.carousel-btn {
  width: 46px; height: 46px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 50%;
  color: var(--blue-1);
  font-size: 1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.carousel-btn:hover {
  background: var(--grad-main);
  color: white;
  border-color: transparent;
  box-shadow: var(--glow-blue);
}
.carousel-dots { display: flex; gap: 8px; align-items: center; }
.dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.2);
  cursor: pointer;
  transition: var(--transition);
}
.dot.active { background: var(--blue-1); width: 24px; border-radius: 4px; }

/* ── GALLERY ──────────────────────────────────── */
.gallery-section { background: var(--dark-bg); }
/* Hide unused placeholder overlays */
.img-placeholder-overlay { display: none; }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  gap: 14px;
  margin-bottom: 32px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  cursor: pointer;
  border: 1px solid var(--card-border);
  background: var(--dark-3);
}
.gallery-item.large { grid-column: span 2; }

/* 4th item spans col 1, 5th spans cols 2-3 */
.gallery-item:nth-child(4) { grid-column: 1; }
.gallery-item:nth-child(5) { grid-column: 2 / 4; }

.gallery-item img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.gallery-item:hover img { transform: scale(1.06); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(5,12,26,0.85) 0%, transparent 100%);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
  transform: translateY(4px);
  transition: var(--transition);
  opacity: 0;
}
.gallery-item:hover .gallery-caption { opacity: 1; transform: translateY(0); }

.gallery-hover-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 91, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  opacity: 0;
  transition: var(--transition);
}
.gallery-item:hover .gallery-hover-overlay { opacity: 1; }



/* ── CONTACT ──────────────────────────────────── */
.contact-section { background: var(--dark-2); }

.contact-grid {
  display: grid;
  grid-template-columns: 400px 1fr;
  gap: 40px;
  align-items: start;
}

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

.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
a.contact-card:hover {
  border-color: rgba(0, 207, 255, 0.35);
  transform: translateX(4px);
  box-shadow: var(--glow-blue);
}

.contact-card-icon {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  background: var(--grad-main);
  flex-shrink: 0;
  color: white;
}
.contact-card-icon.loc { background: linear-gradient(135deg, #f7971e, #ffd200); }
.contact-card-icon.phone { background: var(--grad-main); }
.contact-card-icon.wa { background: linear-gradient(135deg, #25d366, #128c7e); }
.contact-card-icon.mail { background: linear-gradient(135deg, #7b4397, #dc2430); }
.contact-card-icon.time { background: linear-gradient(135deg, #11998e, #38ef7d); color: white; }

.contact-card h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--blue-1);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.contact-card p { font-size: 0.87rem; color: var(--text-2); line-height: 1.6; }

.social-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.social-btn {
  width: 44px; height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  transition: var(--transition);
  border: 1px solid var(--card-border);
  background: var(--card-bg);
  color: var(--text-2);
}
.social-btn:hover { transform: translateY(-3px); color: white; border-color: transparent; }
.social-btn.fb:hover { background: #1877f2; }
.social-btn.ig:hover { background: linear-gradient(135deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.social-btn.yt:hover { background: #ff0000; }
.social-btn.wapp:hover { background: #25d366; }

.contact-map {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  min-height: 460px;
  box-shadow: var(--shadow-card);
}

.map-overlay-card {
  position: absolute;
  bottom: 16px; left: 16px;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: rgba(5, 12, 26, 0.92);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-sm);
  backdrop-filter: blur(20px);
  max-width: 280px;
}
.map-card-icon {
  width: 38px; height: 38px;
  background: var(--grad-main);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}
.map-overlay-card div:last-child { display: flex; flex-direction: column; gap: 2px; }
.map-overlay-card strong { font-size: 0.8rem; font-weight: 700; }
.map-overlay-card span { font-size: 0.72rem; color: var(--text-3); }

/* ── FOOTER ───────────────────────────────────── */
.footer {
  background: var(--dark-bg);
  border-top: 1px solid var(--card-border);
  padding: 80px 0 0;
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.footer-glow {
  position: absolute;
  top: 0; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 300px;
  background: radial-gradient(ellipse at top, rgba(0, 91, 255, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  padding-bottom: 60px;
  border-bottom: 1px solid var(--card-border);
}

.footer-brand .nav-logo { margin-bottom: 18px; }
.footer-logo .logo-main { font-size: 1.1rem; }
.footer-brand > p {
  font-size: 0.87rem;
  color: var(--text-3);
  line-height: 1.8;
  margin-bottom: 16px;
}

.footer-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(0, 91, 255, 0.1);
  border: 1px solid rgba(0, 207, 255, 0.2);
  border-radius: 50px;
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--blue-1);
}

.footer-col h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul a {
  font-size: 0.87rem;
  color: var(--text-3);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul a::before { content: '→'; opacity: 0; transition: var(--transition); font-size: 0.8rem; }
.footer-col ul a:hover { color: var(--blue-1); padding-left: 4px; }
.footer-col ul a:hover::before { opacity: 1; }

.footer-contact-list { display: flex; flex-direction: column; gap: 12px; }
.fc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.83rem;
}
.fc-item i { color: var(--blue-1); margin-top: 3px; flex-shrink: 0; font-size: 0.9rem; }
.fc-item span, .fc-item a { color: var(--text-3); line-height: 1.5; transition: var(--transition); }
.fc-item a:hover { color: var(--blue-1); }

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
  gap: 20px;
  flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.8rem; color: var(--text-3); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a {
  font-size: 0.8rem;
  color: var(--text-3);
  transition: var(--transition);
}
.footer-bottom-links a:hover { color: var(--blue-1); }

/* ── FLOATING BUTTONS ─────────────────────────── */
.floating-actions {
  position: fixed;
  bottom: 32px;
  right: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 900;
  align-items: flex-end;
}

.fab-btn {
  width: 54px; height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  border: none;
  transition: var(--transition);
  position: relative;
  text-decoration: none;
}

.fab-btn.whatsapp { background: linear-gradient(135deg, #25d366, #128c7e); color: white; box-shadow: 0 6px 20px rgba(37, 211, 102, 0.5); }
.fab-btn.call { background: var(--grad-main); color: white; box-shadow: 0 6px 20px rgba(0, 91, 255, 0.5); }
.fab-btn.scroll-top { background: var(--card-bg); color: var(--blue-1); border: 1px solid var(--card-border); box-shadow: var(--shadow-card); opacity: 0; pointer-events: none; transition: var(--transition); backdrop-filter: blur(10px); }
.fab-btn.scroll-top.visible { opacity: 1; pointer-events: all; }

.fab-btn:hover { transform: scale(1.12) translateY(-2px); }

.fab-label {
  position: absolute;
  right: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(5, 12, 26, 0.9);
  border: 1px solid var(--card-border);
  padding: 5px 12px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-1);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
}
.fab-btn:hover .fab-label { opacity: 1; }

/* ── MODAL ────────────────────────────────────── */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  z-index: 99990;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
  background: var(--dark-3);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 50px 40px;
  max-width: 420px;
  width: 90%;
  text-align: center;
  box-shadow: var(--glow-strong);
  transform: scale(0.8);
  transition: var(--transition);
}
.modal-overlay.active .modal-box { transform: scale(1); }

.modal-icon-wrap {
  position: relative;
  width: 80px; height: 80px;
  margin: 0 auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: var(--grad-main);
  opacity: 0.15;
  animation: pulseExpand 2s ease-out infinite;
}
.modal-icon {
  font-size: 2.5rem;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.modal-box h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; }
.modal-box p { color: var(--text-2); font-size: 0.9rem; line-height: 1.7; }
.modal-phone {
  margin-top: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  font-size: 1rem;
  font-weight: 700;
  color: var(--blue-1);
}
.modal-close-btn { margin-top: 24px; }

/* ── LIGHTBOX ─────────────────────────────────── */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.94);
  z-index: 99995;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}
.lightbox-overlay.active { opacity: 1; visibility: visible; }
.lightbox-close {
  position: absolute;
  top: 20px; right: 24px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: none;
  color: white;
  font-size: 1.1rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.lightbox-close:hover { background: rgba(255,255,255,0.2); }
.lightbox-img { max-width: 90%; max-height: 88vh; border-radius: var(--radius-md); box-shadow: var(--shadow-card); }

/* ════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE STYLES
   Care Dental Hospital — All Breakpoints
   ════════════════════════════════════════════════ */

/* ── TABLET LARGE (≤1100px) ───────────────────── */
@media (max-width: 1100px) {
  .hero-content { max-width: 60%; }
  .hero-image-panel { width: 36%; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Hide nav whatsapp & phone to save space */
  .nav-whatsapp { display: none; }
  .nav-phone span { display: none; }
}

/* ── TABLET (≤900px) ──────────────────────────── */
@media (max-width: 900px) {
  /* Cursor — hide on touch devices */
  .custom-cursor, .cursor-follower { display: none !important; }
  body { cursor: auto; }

  /* Navbar */
  .nav-links, .nav-phone, .nav-whatsapp { display: none; }
  .hamburger { display: flex; }
  .btn-staff-login span { display: none; }
  .btn-staff-login { padding: 9px 12px; }

  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(5, 12, 26, 0.97);
    border-bottom: 1px solid var(--card-border);
    padding: 20px;
    gap: 8px;
    backdrop-filter: blur(20px);
    z-index: 999;
  }

  /* Hero */
  .hero { padding: 120px 0 60px; }
  .hero-grid-wrapper {
    flex-direction: column;
    text-align: center;
    gap: 40px;
  }
  .hero-content {
    width: 100%;
    padding: 0 5%;
    align-items: center;
  }
  .hero-image-panel {
    position: relative;
    width: 80%;
    max-width: 360px;
    margin: 40px auto 0 auto;
  }
  .hero-doc-photo { height: 380px; }
  .hero-badge { justify-content: center; }
  .hero-desc { text-align: center; margin: 0 auto; }
  .hero-actions { justify-content: center; flex-wrap: wrap; }
  .hero-stats { justify-content: center; width: 100%; }
  .hero-tooth-3d { display: none; }

  /* About */
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-float-card.card-a, .about-float-card.card-b { display: none; }
  .about-img { height: 320px; }
  .about-cta-row { justify-content: center; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); }

  /* Doctors */
  .doctors-grid.two-col { grid-template-columns: 1fr; max-width: 500px; }

  /* Appointment */
  .appointment-grid { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-card { flex: 0 0 calc(100% - 0px); }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; }
  .gallery-item.large { grid-column: 1 / 3; }
  .gallery-item:nth-child(4) { grid-column: 1; }
  .gallery-item:nth-child(5) { grid-column: 2; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 380px; }
}

/* ── DESKTOP MEDIUM / LAPTOP (≤1300px) ───────── */
@media (max-width: 1300px) {
  .nav-phone span,
  .nav-whatsapp span {
    display: none;
  }
}

/* ── MOBILE LARGE (≤768px) ────────────────────── */
@media (max-width: 768px) {
  /* General */
  section { padding: 70px 0; }
  .container { width: 92%; }

  /* Nav */
  .nav-actions { gap: 8px; }
  .btn-nav { padding: 8px 16px; font-size: 0.8rem; }

  /* Hero */
  .hero { padding: 100px 0 50px; }
  .hero-title { font-size: clamp(1.8rem, 7vw, 2.8rem); }
  .hero-tagline { font-size: 0.95rem; }
  .hero-desc { font-size: 0.9rem; }
  .hero-actions { gap: 10px; }
  .btn-primary, .btn-ghost, .btn-whatsapp-hero {
    padding: 12px 22px;
    font-size: 0.88rem;
  }
  .hero-stats {
    padding: 16px;
    gap: 0;
    width: 100%;
  }
  .stat-num { font-size: 1.6rem; }

  /* Hero Image */
  .hero-image-panel { max-width: 300px; }
  .hero-doc-photo { height: 320px; }

  /* About */
  .section-title { font-size: clamp(1.5rem, 5vw, 2.2rem); }
  .about-img { height: 280px; }
  .about-features { grid-template-columns: 1fr; gap: 10px; }
  .about-cta-row { flex-direction: column; align-items: flex-start; }
  .about-quote-box { font-size: 0.85rem !important; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; gap: 16px; }
  .service-card { padding: 28px 22px; }

  /* Doctors */
  .doctor-img-wrap { height: 350px; }
  .doctor-info { padding: 20px; }
  .doctor-profile-links .profile-links-grid { grid-template-columns: repeat(3, 1fr); }

  /* Video */
  .tour-video { max-height: 300px; }
  .video-info-strip {
    gap: 14px;
    padding: 12px 16px;
    flex-direction: column;
    align-items: flex-start;
  }

  /* Appointment */
  .appointment-form-card { padding: 28px 22px; }
  .form-row { grid-template-columns: 1fr; }

  /* Testimonials */
  .testimonial-card { padding: 24px 20px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 200px; }

  /* Contact */
  .contact-grid { grid-template-columns: 1fr; }
  .contact-map { min-height: 360px; }
  .map-tabs { flex-wrap: wrap; gap: 6px; }
  .map-tab-btn { font-size: 0.75rem; padding: 6px 12px; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer { padding: 60px 0 0; }

  /* Section header */
  .section-header { margin-bottom: 40px; }
  .section-sub { font-size: 0.9rem; }

  /* Trust strip */
  .trust-links-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .trust-badge-card { padding: 12px 14px; }

  /* Explorer grid */
  .explorer-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .explorer-card { padding: 22px 18px; }

  /* Smile slider */
  .comparison-slider { height: 260px; }
  .slider-wrapper { margin: 24px 0 0; }
}

/* ── MOBILE SMALL (≤600px) ────────────────────── */
@media (max-width: 600px) {
  /* Chatbot */
  .chatbot-wrapper { right: 20px; bottom: 20px; }
  .chat-window { width: calc(100vw - 40px); right: 0; }

  /* Smile comparison */
  .comparison-slider { height: 240px; }

  /* Explorer grid */
  .explorer-grid { grid-template-columns: 1fr; }
}

/* ── MOBILE PORTRAIT (≤480px) ─────────────────── */
@media (max-width: 480px) {
  /* General */
  section { padding: 60px 0; }
  .container { width: 94%; }

  /* Navbar */
  .navbar { padding: 14px 0; }
  .nav-container { gap: 10px; }
  .logo-img-wrap { width: 42px; height: 42px; }
  .logo-main { font-size: 1rem; }
  .logo-sub { display: none; }
  .btn-nav { display: none; } /* Show only hamburger on very small screens */
  .btn-staff-login { display: none; }

  /* Hero */
  .hero { padding: 90px 0 50px; }
  .hero-title { font-size: clamp(1.7rem, 8vw, 2.4rem); line-height: 1.15; }
  .hero-tagline { font-size: 0.88rem; }
  .hero-desc { font-size: 0.85rem; }
  .hero-badge { font-size: 0.72rem; padding: 6px 14px; }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0;
    padding: 14px;
    width: 100%;
  }
  .stat-item { padding: 8px 14px; }
  .stat-num { font-size: 1.4rem; }
  .stat-label { font-size: 0.62rem; }
  .stat-divider { display: none; }
  .hero-actions {
    flex-direction: column;
    align-items: center;
    gap: 10px;
    width: 100%;
  }
  .btn-primary, .btn-ghost, .btn-whatsapp-hero {
    width: 100%;
    justify-content: center;
    padding: 13px 20px;
    font-size: 0.9rem;
  }
  .hero-image-panel {
    width: 90%;
    max-width: none;
  }
  .hero-doc-photo { height: 280px; }
  .scroll-indicator { display: none; }

  /* About */
  .about-img { height: 240px; }
  .about-content { gap: 14px; }
  .about-text { font-size: 0.9rem; }
  .feature-item { font-size: 0.8rem; padding: 8px 12px; }
  .about-cta-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .btn-outline-call, .btn-outline-whatsapp {
    justify-content: center;
    width: 100%;
    padding: 12px 20px;
    font-size: 0.88rem;
  }

  /* Services */
  .service-card { padding: 24px 18px; }
  .service-icon-3d { width: 56px; height: 56px; font-size: 1.3rem; }
  .service-card h3 { font-size: 1rem; }

  /* Doctors */
  .doctor-img-wrap { height: 300px; }
  .doctor-info { padding: 18px 16px; gap: 6px; }
  .doctor-info h3 { font-size: 1.1rem; }
  .doctor-info p { font-size: 0.83rem; }
  .doctor-stats-row { gap: 6px; }
  .doc-stat { padding: 8px 6px; }
  .doctor-timings-badge { font-size: 0.72rem; flex-wrap: wrap; }
  .profile-links-grid { grid-template-columns: repeat(2, 1fr); gap: 6px; }
  .profile-link-btn { font-size: 0.7rem; padding: 7px 8px; }

  /* Video */
  .tour-video { max-height: 230px; }
  .video-info-strip span { font-size: 0.75rem; }

  /* Appointment form */
  .appointment-form-card { padding: 22px 16px; }
  .form-header h3 { font-size: 1rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 10px 14px; font-size: 0.85rem; }
  .btn-submit { font-size: 0.9rem; padding: 13px; }

  /* Testimonials */
  .testimonial-card { padding: 20px 16px; }
  .testimonial-card p { font-size: 0.85rem; }
  .testi-author strong { font-size: 0.82rem; }
  .carousel-controls { gap: 12px; margin-top: 24px; }
  .carousel-btn { width: 40px; height: 40px; font-size: 0.9rem; }

  /* Gallery */
  .gallery-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
  .gallery-item.large,
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) { grid-column: 1; }

  /* Contact */
  .contact-card { padding: 14px 16px; }
  .contact-card-icon { width: 38px; height: 38px; font-size: 0.95rem; }
  .contact-map { min-height: 340px; }
  .map-overlay-card { bottom: 10px; left: 10px; padding: 10px 14px; max-width: 220px; }
  .map-overlay-card strong { font-size: 0.72rem; }
  .map-overlay-card span { font-size: 0.65rem; }
  .map-tabs { position: static; border-radius: var(--radius-sm) var(--radius-sm) 0 0; flex-wrap: wrap; }
  .map-tab-content { padding-top: 0; }
  .map-tab-content.active { display: flex; flex-direction: column; height: 380px; }
  #liveMap { padding-top: 0; }

  /* Trust strip */
  .trust-links-grid { grid-template-columns: 1fr; gap: 10px; }
  .trust-badge-card { padding: 12px 14px; }

  /* Floating actions */
  .floating-actions { bottom: 20px; right: 16px; gap: 10px; }
  .fab-btn { width: 48px; height: 48px; font-size: 1.1rem; }
  .fab-label { display: none; }

  /* Footer */
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .footer { padding: 48px 0 0; }
  .footer-brand > p { font-size: 0.82rem; }
  .footer-bottom { flex-direction: column; text-align: center; gap: 12px; }
  .footer-bottom p { font-size: 0.75rem; }
  .footer-bottom-links { flex-direction: column; gap: 8px; align-items: center; }

  /* Explorer */
  .explorer-grid { grid-template-columns: 1fr; gap: 16px; }
  .explorer-card { padding: 22px 18px; }
  .card-title { font-size: 1rem; min-height: auto; }
  .card-metrics { gap: 8px; }
  .metric-box { padding: 8px 4px; }

  /* Smile slider */
  .comparison-slider { height: 200px; }
  .slider-label { font-size: 0.65rem; padding: 4px 10px; }

  /* Section headings */
  .section-title { font-size: clamp(1.4rem, 6vw, 2rem); }
  .section-tag { font-size: 0.7rem; }
  .section-header { margin-bottom: 32px; }
  .section-sub { font-size: 0.85rem; }

  /* Modal */
  .modal-box { padding: 36px 24px; }
  .modal-box h3 { font-size: 1.2rem; }

  /* Google rating badge in testimonials */
  .google-rating-badge { flex-direction: column; gap: 6px; text-align: center; }

  /* Route planner */
  .route-explorer-layout { grid-template-columns: 1fr; }
  .route-sidebar { border-right: none; border-bottom: 1px solid var(--card-border); }
  .origin-buttons { flex-direction: row; flex-wrap: wrap; }
  .origin-btn { width: auto; flex: 1 1 45%; }
}

/* ── VERY SMALL (≤360px) ──────────────────────── */
@media (max-width: 360px) {
  .hero-title { font-size: 1.6rem; }
  .stat-item { padding: 6px 10px; }
  .stat-num { font-size: 1.2rem; }
  .hero-badge { font-size: 0.65rem; }
  .doctor-img-wrap { height: 260px; }
  .appointment-form-card { padding: 18px 14px; }
  .service-icon-3d { width: 50px; height: 50px; font-size: 1.2rem; }
}

/* ── LANDSCAPE PHONE FIX ──────────────────────── */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 500px) {
  .hero { min-height: auto; padding: 80px 0 40px; }
  .hero-grid-wrapper { flex-direction: row; gap: 20px; align-items: flex-start; }
  .hero-content { width: 55%; padding: 0; align-items: flex-start; text-align: left; }
  .hero-image-panel { width: 40%; margin: 0; }
  .hero-doc-photo { height: 220px; }
  .hero-badge { justify-content: flex-start; }
  .hero-actions { justify-content: flex-start; }
  .hero-stats { justify-content: flex-start; }
  .hero-desc { text-align: left; }
  section { padding: 50px 0; }
}

/* ── PHONE / WHATSAPP NAV ACTIONS ──────────────── */
.nav-whatsapp {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-2);
  transition: var(--transition);
  text-decoration: none;
}
.nav-whatsapp i { color: #25d366; font-size: 1.1rem; }
.nav-whatsapp:hover { color: #25d366; }

/* ── HERO WHATSAPP CTA ─────────────────────────── */
.btn-whatsapp-hero {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 13px 26px;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.35);
  color: #25d366;
  border-radius: 50px;
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  text-decoration: none;
}
.btn-whatsapp-hero:hover {
  background: #25d366;
  color: #fff;
  box-shadow: 0 0 25px rgba(37, 211, 102, 0.4);
  transform: translateY(-2px);
}

/* ── ABOUT SECTION WHATSAPP BUTTON ────────────── */
.btn-outline-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 28px;
  background: transparent;
  border: 1.5px solid rgba(37, 211, 102, 0.5);
  color: #25d366;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 50px;
  transition: var(--transition);
  text-decoration: none;
}
.btn-outline-whatsapp:hover {
  background: #25d366;
  color: #fff;
  border-color: transparent;
  box-shadow: 0 0 20px rgba(37, 211, 102, 0.35);
  transform: translateY(-2px);
}

/* ── INTERACTIVE SMILE SLIDER SECTION ──────────── */
.makeover-section {
  background: var(--dark-2);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.slider-wrapper {
  max-width: 750px;
  margin: 40px auto 0 auto;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--card-border);
  box-shadow: var(--glow-blue), var(--shadow-card);
  background: var(--dark-3);
  position: relative;
}
.comparison-slider {
  position: relative;
  width: 100%;
  height: 380px;
  user-select: none;
  overflow: hidden;
}
.slider-image {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  overflow: hidden;
}
.image-before {
  background: #091223;
  z-index: 10;
}
.image-after {
  background: var(--dark-bg);
  z-index: 20;
  width: 50%; /* Default starting point */
}
.smile-img {
  position: absolute;
  top: 0; left: 0;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
  display: block;
}
.image-before .smile-img {
  width: 100%;
}
.image-after .smile-img {
  width: 748px; /* Managed dynamically via JS resize */
  max-width: none;
}
.slider-label {
  position: absolute;
  bottom: 20px;
  padding: 6px 14px;
  background: rgba(5, 12, 26, 0.85);
  border: 1px solid var(--card-border);
  color: #fff;
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 4px;
  letter-spacing: 1px;
  z-index: 25;
  pointer-events: none;
}
.label-before {
  left: 20px;
}
.label-after {
  right: 20px;
}

/* draggable handle line */
.slider-handle {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; /* Match default width */
  width: 4px;
  background: var(--blue-1);
  z-index: 30;
  cursor: ew-resize;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.handle-line {
  flex: 1;
  width: 2px;
  background: rgba(0, 207, 255, 0.4);
}
.handle-button {
  width: 44px; height: 44px;
  background: var(--grad-main);
  border: 3px solid var(--dark-bg);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: 1.1rem;
  box-shadow: var(--glow-blue);
  cursor: ew-resize;
  transition: transform 0.2s ease;
}
.slider-handle:hover .handle-button {
  transform: scale(1.1);
}

/* ── DENTAL TREATMENT EXPLORER GRID ───────────────── */
.treatment-explorer-section {
  background: var(--dark-bg);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.explorer-glow {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,207,255,0.06) 0%, transparent 70%);
  z-index: 1;
  pointer-events: none;
}
.explorer-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 25px;
  margin-top: 50px;
  position: relative;
  z-index: 2;
}

@media (max-width: 1200px) {
  .explorer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 650px) {
  .explorer-grid {
    grid-template-columns: 1fr;
  }
}

.explorer-card {
  background: rgba(13, 26, 53, 0.5);
  border: 1px solid rgba(0, 207, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 30px 25px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  backdrop-filter: blur(20px);
}
.explorer-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  border-radius: var(--radius-lg);
  padding: 1.5px;
  background: linear-gradient(135deg, rgba(0, 207, 255, 0.3), transparent 60%, rgba(0, 91, 255, 0.2));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  opacity: 0.5;
  transition: opacity 0.4s ease;
}

.explorer-card:hover {
  transform: translateY(-8px);
  background: rgba(15, 32, 68, 0.7);
  box-shadow: 0 15px 50px rgba(0, 207, 255, 0.12);
}
.explorer-card:hover::before {
  opacity: 1;
}

.card-bg-glow {
  position: absolute;
  top: -80px; right: -80px;
  width: 180px; height: 180px;
  background: radial-gradient(circle, rgba(0, 207, 255, 0.1) 0%, transparent 75%);
  border-radius: 50%;
  pointer-events: none;
  transition: transform 0.6s ease;
}
.explorer-card:hover .card-bg-glow {
  transform: scale(1.5);
}

.card-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}
.card-icon-wrap {
  width: 50px; height: 50px;
  border-radius: 14px;
  background: rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  color: var(--blue-1);
  transition: all 0.35s ease;
}
.explorer-card:hover .card-icon-wrap {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: 0 0 15px rgba(0, 207, 255, 0.4);
}

.card-badge {
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 50px;
  background: rgba(0, 207, 255, 0.1);
  color: var(--blue-1);
  border: 1px solid rgba(0, 207, 255, 0.2);
}
.card-badge.badge-emergency {
  background: rgba(255, 59, 48, 0.1);
  color: #ff3b30;
  border-color: rgba(255, 59, 48, 0.2);
}
.card-badge.badge-aesthetic {
  background: rgba(0, 229, 200, 0.1);
  color: var(--teal);
  border-color: rgba(0, 229, 200, 0.2);
}
.card-badge.badge-painless {
  background: rgba(186, 104, 200, 0.1);
  color: #e040fb;
  border-color: rgba(186, 104, 200, 0.2);
}

.card-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.4;
  margin-bottom: 20px;
  min-height: 48px;
  display: flex;
  align-items: center;
}

.card-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 25px;
}
.metric-box {
  background: rgba(5, 12, 26, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 12px;
  padding: 10px 5px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  transition: background 0.3s ease;
}
.explorer-card:hover .metric-box {
  background: rgba(5, 12, 26, 0.5);
}
.metric-box i {
  font-size: 0.95rem;
  color: var(--text-3);
  margin-bottom: 6px;
}
.metric-box .m-val {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 2px;
}
.metric-box .m-lbl {
  font-size: 0.65rem;
  color: var(--text-3);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.metric-box .star-val {
  color: #ffb800 !important;
}
.metric-box .star-val i {
  color: #ffb800;
  font-size: 0.75rem;
  margin-bottom: 0;
  margin-right: 2px;
}

.roadmap-wrapper {
  margin-bottom: 25px;
  flex-grow: 1;
}
.roadmap-title {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 15px;
}
.roadmap-steps {
  display: flex;
  flex-direction: column;
  gap: 15px;
  position: relative;
}
.roadmap-steps::before {
  content: '';
  position: absolute;
  left: 11px;
  top: 10px;
  bottom: 10px;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}
.roadmap-step {
  display: flex;
  gap: 15px;
  position: relative;
}
.step-dot {
  width: 24px; height: 24px;
  border-radius: 50%;
  background: rgba(13, 26, 53, 1);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
  color: var(--text-3);
  z-index: 2;
  transition: all 0.35s ease;
  flex-shrink: 0;
}
.explorer-card:hover .step-dot {
  border-color: var(--blue-1);
  color: var(--blue-1);
  box-shadow: 0 0 8px rgba(0, 207, 255, 0.2);
}
.step-info {
  display: flex;
  flex-direction: column;
}
.step-info h4 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-1);
  margin-bottom: 2px;
}
.step-info p {
  font-size: 0.72rem;
  color: var(--text-3);
  line-height: 1.4;
  margin-bottom: 0;
}
.explorer-card:hover .step-info h4 {
  color: #fff;
}

.card-action {
  margin-top: 15px;
}
.btn-card-action {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 12px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  color: var(--text-2);
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}
.btn-card-action i {
  font-size: 0.8rem;
  transition: transform 0.3s ease;
}
.explorer-card:hover .btn-card-action {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-blue);
}
.explorer-card:hover .btn-card-action i {
  transform: translateX(4px);
}


/* ── VIRTUAL AI DENTAL ASSISTANT WIDGET ────────── */
.chatbot-wrapper {
  position: fixed;
  bottom: 24px; right: 85px; /* Sits next to scroll to top */
  z-index: 999;
}
.chatbot-bubble {
  width: 54px; height: 54px;
  background: var(--grad-main);
  border: none;
  border-radius: 50%;
  color: #fff;
  font-size: 1.35rem;
  cursor: pointer;
  box-shadow: var(--glow-blue);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.chatbot-bubble:hover {
  transform: scale(1.08);
}
.bot-badge {
  position: absolute;
  top: 1px; right: 1px;
  width: 12px; height: 12px;
  background: #25d366;
  border: 2px solid var(--dark-bg);
  border-radius: 50%;
}

/* chat popup window */
.chat-window {
  position: absolute;
  bottom: 70px; right: 0;
  width: 350px;
  height: 480px;
  background: rgba(13, 26, 53, 0.94);
  border: 1px solid var(--card-border);
  border-radius: var(--radius-lg);
  box-shadow: 0 10px 40px rgba(0,0,0,0.6), var(--glow-blue);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(20px);
  opacity: 0;
  transform: scale(0.9) translateY(20px);
  pointer-events: none;
  transition: opacity 0.3s cubic-bezier(0.19, 1, 0.22, 1), transform 0.3s cubic-bezier(0.19, 1, 0.22, 1);
}
.chat-window.active {
  opacity: 1;
  transform: scale(1) translateY(0);
  pointer-events: auto;
}

/* header */
.chat-header {
  padding: 16px 20px;
  background: var(--grad-main);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.chat-header-info {
  display: flex;
  align-items: center;
  gap: 12px;
}
.chat-avatar {
  position: relative;
  width: 36px; height: 36px;
  border-radius: 50%;
  overflow: visible;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}
.chat-avatar img {
  width: 80%; height: 80%;
  object-fit: contain;
}
.active-dot {
  position: absolute;
  bottom: 0; right: 0;
  width: 8px; height: 8px;
  background: #25d366;
  border-radius: 50%;
  border: 1px solid #fff;
}
.chat-header h4 {
  font-size: 0.92rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.1;
}
.chat-header span {
  font-size: 0.7rem;
  color: rgba(255,255,255,0.75);
}
.chat-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1rem;
  cursor: pointer;
  opacity: 0.75;
  transition: var(--transition);
}
.chat-close:hover { opacity: 1; }

/* chat body messages */
.chat-body {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.chat-msg {
  max-width: 82%;
  display: flex;
}
.chat-msg.bot {
  align-self: flex-start;
}
.chat-msg.user {
  align-self: flex-end;
}
.msg-content {
  padding: 12px 16px;
  border-radius: 14px;
  font-size: 0.82rem;
  line-height: 1.45;
}
.chat-msg.bot .msg-content {
  background: rgba(255,255,255,0.06);
  color: var(--text-2);
  border-top-left-radius: 2px;
  border: 1px solid rgba(255,255,255,0.03);
}
.chat-msg.user .msg-content {
  background: var(--grad-main);
  color: #fff;
  border-top-right-radius: 2px;
}
.msg-content p {
  margin-bottom: 8px;
}
.msg-content p:last-child {
  margin-bottom: 0;
}
.msg-content a {
  color: var(--blue-1);
  font-weight: bold;
  text-decoration: underline;
}

/* suggestion buttons wrapper */
.chat-suggestions {
  padding: 10px 14px;
  border-top: 1px solid rgba(255,255,255,0.05);
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  background: rgba(5, 12, 26, 0.4);
}
.chat-sug-btn {
  padding: 6px 12px;
  background: rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.25);
  color: var(--blue-1);
  font-family: 'Outfit', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 50px;
  cursor: pointer;
  transition: var(--transition);
}
.chat-sug-btn:hover {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
}
.chat-sug-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* chatbot footer */
.chat-footer {
  padding: 8px 20px;
  background: rgba(5, 12, 26, 0.8);
  text-align: center;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.chat-footer-note {
  font-size: 0.65rem;
  color: var(--text-3);
  letter-spacing: 0.3px;
}

/* typing indicators */
.dot-typing {
  display: inline-block;
  width: 5px; height: 5px;
  background-color: var(--text-3);
  border-radius: 50%;
  margin-right: 3px;
  animation: typingBounce 1.2s infinite ease-in-out;
}
.dot-typing:nth-child(2) { animation-delay: 0.2s; }
.dot-typing:nth-child(3) { animation-delay: 0.4s; }

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

/* ── ADVANCED RESPONSIVENESS ───────────────────── */
@media (max-width: 600px) {
  .comparison-slider {
    height: 280px;
  }
  .chatbot-wrapper {
    right: 20px;
    bottom: 20px;
  }
  .chat-window {
    width: calc(100vw - 40px);
    right: 0;
  }
}



/* --- MAP INTERACTIVE TAB SYSTEM --- */
.map-tabs {
  display: flex;
  background: var(--dark-3);
  border-bottom: 1px solid var(--card-border);
  padding: 10px 14px;
  gap: 10px;
  position: absolute;
  top: 0; left: 0; right: 0;
  z-index: 25;
  backdrop-filter: blur(10px);
}
.map-tab-btn {
  padding: 8px 16px;
  border-radius: 6px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.06);
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.map-tab-btn.active {
  background: var(--grad-main);
  border-color: transparent;
  color: #fff;
  box-shadow: var(--glow-blue);
}
.map-tab-content {
  display: none;
  width: 100%;
  height: 100%;
  padding-top: 55px; /* height of tabs strip */
  position: relative;
}
.map-tab-content.active {
  display: block;
}

/* Route Planner layout */
.route-explorer-layout {
  display: grid;
  grid-template-columns: 180px 1fr;
  height: 100%;
  background: rgba(5, 12, 26, 0.4);
}
.route-sidebar {
  border-right: 1px solid var(--card-border);
  padding: 20px 14px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  background: rgba(0, 91, 255, 0.02);
}
.route-sidebar span {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--text-3);
  letter-spacing: 0.5px;
}
.origin-buttons {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.origin-btn {
  width: 100%;
  padding: 10px 12px;
  border-radius: 6px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.05);
  color: var(--text-2);
  font-family: 'Outfit', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  text-align: left;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}
.origin-btn i {
  color: var(--blue-1);
}
.origin-btn:hover {
  background: rgba(0, 207, 255, 0.08);
  border-color: rgba(0, 207, 255, 0.2);
}
.origin-btn.active {
  background: rgba(0, 207, 255, 0.12);
  border-color: var(--blue-1);
  color: var(--blue-1);
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.1);
}

.route-details-panel {
  padding: 20px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  overflow-y: auto;
}
.route-summary {
  display: flex;
  gap: 12px;
  margin-bottom: 14px;
}
.route-summary span {
  padding: 6px 12px;
  border-radius: 4px;
  background: rgba(0, 207, 255, 0.08);
  border: 1px solid rgba(0, 207, 255, 0.15);
  color: var(--blue-1);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.route-steps {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}
.route-step {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.84rem;
  line-height: 1.5;
  color: var(--text-2);
}
.route-step-num {
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--blue-1);
  color: #fff;
  font-size: 0.72rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.route-gps-btn {
  margin-top: auto;
  align-self: flex-start;
  padding: 10px 20px;
  font-size: 0.8rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .route-explorer-layout {
    grid-template-columns: 1fr;
    overflow-y: auto;
  }
  .route-sidebar {
    border-right: none;
    border-bottom: 1px solid var(--card-border);
    padding: 12px;
  }
  .origin-buttons {
    flex-direction: row;
    flex-wrap: wrap;
  }
  .origin-btn {
    width: auto;
    flex: 1 1 45%;
  }
}

/* ── WHATSAPP FAB PULSE ANIMATION ──────────── */
.fab-btn.whatsapp {
  animation: waPulse 2.8s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.5), 0 0 0 0 rgba(37,211,102,0.4); }
  50%       { box-shadow: 0 4px 20px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0); }
}

/* ── STAT HIGHLIGHT — large count ─────────── */
.stat-item .stat-num[data-count="5000"] {
  background: linear-gradient(135deg, #00cfff, #005bff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── PREFERRED DOCTOR SELECT LABEL ─────────── */
#preferredDoctor {
  border-color: rgba(0,207,255,0.2);
}
#preferredDoctor:focus {
  border-color: var(--blue-1);
  box-shadow: 0 0 0 3px rgba(0,207,255,0.12);
}

/* ── FOOTER BOTTOM LINKS SOCIAL ──────────── */
.footer-bottom-links a i {
  margin-right: 4px;
  font-size: 0.75rem;
}

/* ── APPOINTMENT FORM SMOOTH SELECT ─────── */
.appointment-form select option {
  background: #0d1a35;
  color: #ffffff;
}

/* ═══════════════════════════════════════════════════
   DOCTOR VIDEO SHOWCASE SECTION
   ═══════════════════════════════════════════════════ */
.doc-videos-section {
  position: relative;
  padding: 100px 0 80px;
  background: linear-gradient(180deg, var(--bg-2) 0%, var(--bg-1) 100%);
  overflow: hidden;
}
.doc-videos-bg-glow {
  position: absolute;
  top: -100px;
  left: 50%;
  transform: translateX(-50%);
  width: 800px;
  height: 500px;
  background: radial-gradient(ellipse at center, rgba(0,207,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* 4-column grid, wraps to 2 on tablet, 1 on mobile */
.doc-video-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
@media (max-width: 1200px) {
  .doc-video-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .doc-video-grid { grid-template-columns: 1fr; gap: 18px; }
}

/* Individual Video Card */
.doc-video-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  display: flex;
  flex-direction: column;
}
.doc-video-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(0,0,0,0.35), 0 0 0 1px rgba(0,207,255,0.15);
  border-color: rgba(0,207,255,0.25);
}

/* Video Player Wrap */
.dvc-player-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}
.dvc-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Play Overlay — shown before user plays */
.dvc-play-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(5,12,26,0.55) 0%, rgba(0,91,255,0.15) 100%);
  cursor: pointer;
  transition: opacity 0.3s ease;
  z-index: 2;
}
.dvc-play-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
.dvc-play-btn {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: #fff;
  box-shadow: 0 0 0 12px rgba(0,207,255,0.12), 0 8px 24px rgba(0,91,255,0.4);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.dvc-play-overlay:hover .dvc-play-btn {
  transform: scale(1.12);
  box-shadow: 0 0 0 18px rgba(0,207,255,0.15), 0 12px 32px rgba(0,91,255,0.5);
}
.dvc-play-btn i {
  margin-left: 4px; /* optical centre for play triangle */
}

/* Card Info */
.dvc-info {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}
.dvc-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--blue-1);
  background: rgba(0,207,255,0.08);
  border: 1px solid rgba(0,207,255,0.18);
  padding: 3px 10px;
  border-radius: 50px;
  width: fit-content;
}
.dvc-info h4 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-1);
  line-height: 1.35;
  margin: 0;
}
.dvc-info p {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.55;
  margin: 0;
  flex: 1;
}
.dvc-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-top: 4px;
  padding-top: 10px;
  border-top: 1px solid var(--card-border);
}
.dvc-meta span {
  font-size: 0.72rem;
  color: var(--text-3);
  display: flex;
  align-items: center;
  gap: 6px;
}
.dvc-meta span i {
  color: var(--blue-1);
  width: 12px;
}

/* CTA Row */
.doc-videos-cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 48px;
  flex-wrap: wrap;
}
.doc-videos-cta .btn-primary i,
.doc-videos-cta .btn-ghost i {
  margin-right: 8px;
}

/* ═══════════════════════════════════════════════
   PREMIUM WEBSITE VISUAL ENHANCEMENTS
   =============================================== */

/* 1. Ultra Vibrant Title Gradients */
.gradient-text {
  background: linear-gradient(135deg, #00f2fe 0%, #4facfe 35%, #00cfff 70%, #00e5c8 100%) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  text-shadow: 0 0 30px rgba(0, 207, 255, 0.1);
}

/* 2. Glass Reflection Sweep on Hover for Buttons */
.btn-primary, .btn-submit {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-submit::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 50%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
  transform: skewX(-25deg);
  transition: none;
}
.btn-primary:hover::after, .btn-submit:hover::after {
  left: 150%;
  transition: all 0.75s ease-in-out;
}

/* 3. Neon Card Lift & 3D Tilt Accents */
.service-card, .explorer-card, .doctor-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275), box-shadow 0.4s ease, border-color 0.4s ease !important;
  transform-style: preserve-3d;
  perspective: 1000px;
}
.service-card:hover, .explorer-card:hover, .doctor-card:hover {
  transform: translateY(-10px) rotateX(2deg) rotateY(1deg) !important;
  border-color: rgba(0, 207, 255, 0.45) !important;
  box-shadow: 0 20px 40px rgba(0, 207, 255, 0.16), 0 0 30px rgba(0, 91, 255, 0.1), inset 0 0 12px rgba(0, 207, 255, 0.05) !important;
}

/* 4. Rotating SVG Icons on Card Hover */
.service-card:hover .service-icon-3d, .explorer-card:hover .card-icon-wrap {
  transform: rotateY(360deg) scale(1.1) translateZ(20px) !important;
  background: var(--grad-main) !important;
  color: #fff !important;
  box-shadow: 0 8px 25px rgba(0, 207, 255, 0.4) !important;
}

/* 5. Ripple Waves for Floating Actions */
.fab-btn.whatsapp, .chatbot-bubble {
  position: relative;
}
.fab-btn.whatsapp::before, .chatbot-bubble::before {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid #25d366;
  opacity: 0;
  animation: rippleSpread 2.2s cubic-bezier(0.1, 0.8, 0.3, 1) infinite;
  pointer-events: none;
}
.chatbot-bubble::before {
  border-color: var(--blue-1);
}
@keyframes rippleSpread {
  0% { transform: scale(0.9); opacity: 0.9; }
  80% { transform: scale(1.4); opacity: 0; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* 6. High-Tech Smile visualizer Handle Glow */
.slider-handle {
  width: 5px !important;
  background: linear-gradient(to bottom, var(--blue-1), var(--teal), var(--blue-2)) !important;
  box-shadow: 0 0 15px var(--blue-1);
}
.handle-button {
  background: var(--grad-main) !important;
  border: 4px solid var(--dark-2) !important;
  box-shadow: 0 0 25px rgba(0, 207, 255, 0.8), 0 0 10px rgba(255,255,255,0.4) !important;
  animation: floatDial 4s ease-in-out infinite;
}
@keyframes floatDial {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

/* 7. Section Header Radial Ambient Mesh Lights */
.section-header {
  position: relative;
}
.section-header::before {
  content: '';
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 320px; height: 180px;
  background: radial-gradient(ellipse, rgba(0, 207, 255, 0.08) 0%, transparent 60%);
  z-index: -1;
  pointer-events: none;
  filter: blur(20px);
}


/* 8. Glowing & Animated Roadmap Steps on Card Hover */
.explorer-card:hover .roadmap-steps::before {
  background: linear-gradient(to bottom, var(--blue-1), var(--teal), var(--blue-2)) !important;
  box-shadow: 0 0 8px rgba(0, 207, 255, 0.5);
}
.roadmap-step {
  transition: transform 0.3s ease;
}
.explorer-card:hover .roadmap-step:hover {
  transform: translateX(4px);
}
.explorer-card:hover .step-dot {
  background: var(--dark-3) !important;
  border-color: var(--blue-1) !important;
  color: var(--blue-1) !important;
  box-shadow: 0 0 10px rgba(0, 207, 255, 0.4) !important;
  transform: scale(1.1);
}

/* 9. Glassmorphic Reviews with Glowing Borders */
.testimonial-card {
  background: rgba(13, 26, 53, 0.6) !important;
  backdrop-filter: blur(15px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(15px) saturate(180%) !important;
  border: 1px solid rgba(0, 207, 255, 0.15) !important;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}
.testimonial-card:hover {
  border-color: rgba(0, 207, 255, 0.4) !important;
  transform: translateY(-8px) scale(1.02) !important;
  box-shadow: 0 20px 40px rgba(0, 207, 255, 0.14), inset 0 0 15px rgba(0, 207, 255, 0.05) !important;
}

/* 10. Hero Card Parallax Tilt & Glare */
.hero-img-card {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  border: 1px solid var(--card-border);
  box-shadow: var(--glow-strong);
  transition: transform 0.5s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.5s ease;
}
.hero-img-card:hover {
  transform: scale(1.03) rotateY(2deg) rotateX(-2deg);
  box-shadow: 0 25px 55px rgba(0, 91, 255, 0.4), 0 0 35px rgba(0, 207, 255, 0.2);
}
.hero-img-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 50%, rgba(0,0,0,0.15) 100%);
  pointer-events: none;
  mix-blend-mode: overlay;
}

/* ── cursor system keyframes are defined in the cursor section above ── */

/* ============================================================
   ★ MEGA ENHANCEMENT PACK — Care Dental Hospital 2026 ★
   New Variables, Sections, Animations, Glassmorphism++
   ============================================================ */

:root {
  --neon-cyan: #00f5ff;
  --neon-blue: #0066ff;
  --neon-purple: #a855f7;
  --neon-green: #00ff9d;
  --glass-bg: rgba(8, 17, 34, 0.75);
  --glass-border: rgba(0, 207, 255, 0.2);
  --glass-blur: blur(20px) saturate(180%);
  --shimmer-grad: linear-gradient(90deg, transparent 0%, rgba(0,207,255,0.15) 50%, transparent 100%);
  --accent-pink: #ff6ec7;
  --accent-gold: #ffd700;
  --glow-neon: 0 0 20px rgba(0, 245, 255, 0.5), 0 0 60px rgba(0, 102, 255, 0.3);
}

/* ─── GLOBAL SHIMMER BUTTON SWEEP ─────────────────── */
.btn-primary, .btn-ghost, .btn-nav, .btn-submit, .btn-card-action {
  position: relative;
  overflow: hidden;
}
.btn-primary::after, .btn-ghost::after, .btn-nav::after, .btn-submit::after, .btn-card-action::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.25), transparent);
  transform: skewX(-20deg);
  transition: left 0.6s ease;
  pointer-events: none;
}
.btn-primary:hover::after, .btn-ghost:hover::after, .btn-nav:hover::after, .btn-submit:hover::after, .btn-card-action:hover::after {
  left: 160%;
}

/* ─── SECTION HEADER NEON GLOW PULSE ──────────────── */
.section-title {
  position: relative;
}
.section-title .gradient-text {
  animation: neonTextPulse 3s ease-in-out infinite;
}
@keyframes neonTextPulse {
  0%, 100% { filter: drop-shadow(0 0 8px rgba(0,207,255,0.4)); }
  50% { filter: drop-shadow(0 0 20px rgba(0,207,255,0.9)) drop-shadow(0 0 40px rgba(0,91,255,0.6)); }
}

/* ─── EMERGENCY BANNER ─────────────────────────────── */
.emergency-banner {
  position: fixed;
  top: 80px;
  right: 20px;
  z-index: 9000;
  background: linear-gradient(135deg, #ff0a0a, #cc0000);
  border: 1px solid rgba(255, 80, 80, 0.6);
  border-radius: 14px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: 0 0 30px rgba(255, 10, 10, 0.5), 0 8px 24px rgba(0,0,0,0.4);
  animation: emergencyPulse 2s ease-in-out infinite;
  max-width: 280px;
  cursor: pointer;
  transition: transform 0.3s ease;
  text-decoration: none;
  color: #fff;
}
.emergency-banner:hover { transform: scale(1.04); color: #fff; }
.emergency-banner.hidden { display: none !important; }
@keyframes emergencyPulse {
  0%, 100% { box-shadow: 0 0 20px rgba(255,10,10,0.5), 0 8px 24px rgba(0,0,0,0.4); }
  50% { box-shadow: 0 0 45px rgba(255,10,10,0.9), 0 12px 30px rgba(0,0,0,0.5); }
}
.emerg-icon {
  font-size: 1.6rem;
  animation: emergBell 1s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes emergBell {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(10deg); }
}
.emerg-text strong { display: block; font-size: 0.9rem; font-weight: 800; letter-spacing: 0.3px; }
.emerg-text span { font-size: 0.75rem; opacity: 0.9; }
.emerg-close {
  position: absolute;
  top: 6px;
  right: 8px;
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 0.7rem;
  cursor: pointer;
  padding: 0;
  line-height: 1;
}
.emerg-close:hover { color: #fff; }

/* ─── LIVE STATS SECTION ───────────────────────────── */
.stats-section {
  padding: 80px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(5,12,26,0.95), rgba(8,17,34,0.98));
}
.stats-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 60% 60% at 50% 50%, rgba(0,102,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
@media (max-width: 900px) { .stats-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .stats-grid { grid-template-columns: 1fr; } }
.stat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.stat-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: var(--shimmer-grad);
  background-size: 200% 100%;
  animation: shimmerMove 3s ease-in-out infinite;
  opacity: 0;
  transition: opacity 0.3s;
}
.stat-card:hover::before { opacity: 1; }
@keyframes shimmerMove {
  0% { background-position: -200% 0; }
  100% { background-position: 200% 0; }
}
.stat-card:hover {
  transform: translateY(-8px) scale(1.02);
  border-color: var(--blue-1);
  box-shadow: var(--glow-neon);
}
.stat-card-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue-1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: #fff;
  margin: 0 auto 16px;
  box-shadow: 0 0 20px rgba(0,207,255,0.4);
  transition: var(--transition);
}
.stat-card:hover .stat-card-icon {
  transform: scale(1.1) rotate(5deg);
  box-shadow: 0 0 35px rgba(0,207,255,0.7);
}
.stat-card-num {
  font-size: 3rem;
  font-weight: 900;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1;
  display: block;
}
.stat-card-suffix {
  font-size: 1.4rem;
  font-weight: 800;
  background: var(--grad-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.stat-card-label {
  font-size: 0.9rem;
  color: var(--text-2);
  margin-top: 8px;
  font-weight: 500;
  letter-spacing: 0.3px;
}
.stat-card-sub {
  font-size: 0.75rem;
  color: var(--text-3);
  margin-top: 4px;
}

/* ─── WHY CHOOSE US SECTION ────────────────────────── */
.why-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.why-section::before {
  content: '';
  position: absolute;
  top: -100px;
  left: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(0,207,255,0.06) 0%, transparent 70%);
  pointer-events: none;
}
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
  margin-top: 50px;
}
@media (max-width: 860px) { .why-grid { grid-template-columns: 1fr; gap: 40px; } }
.why-features-list { display: flex; flex-direction: column; gap: 20px; }
.why-feature {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.why-feature::after {
  content: '';
  position: absolute;
  left: 0; top: 0;
  width: 3px; height: 100%;
  background: var(--grad-main);
  border-radius: 4px 0 0 4px;
}
.why-feature:hover {
  transform: translateX(6px);
  border-color: var(--blue-1);
  box-shadow: 0 4px 20px rgba(0,207,255,0.15);
}
.why-feature-icon {
  width: 46px; height: 46px;
  background: linear-gradient(135deg, rgba(0,91,255,0.2), rgba(0,207,255,0.2));
  border: 1px solid rgba(0,207,255,0.3);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--blue-1);
  flex-shrink: 0;
  transition: var(--transition);
}
.why-feature:hover .why-feature-icon {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-1));
  color: #fff;
  transform: scale(1.1);
}
.why-feature-text h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 4px;
}
.why-feature-text p { font-size: 0.85rem; color: var(--text-3); line-height: 1.5; }
.why-comparison {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px;
  backdrop-filter: var(--glass-blur);
}
.why-comparison h3 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-1);
  text-align: center;
}
.compare-bar { margin-bottom: 20px; }
.compare-bar-label {
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-2);
  margin-bottom: 8px;
  font-weight: 500;
}
.compare-bar-label span:last-child { color: var(--blue-1); font-weight: 700; }
.compare-bar-track {
  height: 10px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
  position: relative;
}
.compare-bar-fill {
  height: 100%;
  background: var(--grad-main);
  border-radius: 10px;
  width: 0%;
  transition: width 1.6s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.compare-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 12px; height: 100%;
  background: rgba(255,255,255,0.5);
  border-radius: 10px;
  filter: blur(4px);
}

/* ─── TECHNOLOGY SECTION ───────────────────────────── */
.tech-section {
  padding: 90px 0;
  background: linear-gradient(180deg, var(--dark-2) 0%, var(--dark-bg) 100%);
  position: relative;
  overflow: hidden;
}
.tech-section::before {
  content: '';
  position: absolute;
  right: -100px; top: 50%;
  transform: translateY(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(0,91,255,0.08) 0%, transparent 70%);
  pointer-events: none;
}
.tech-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 50px;
}
@media (max-width: 960px) { .tech-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .tech-grid { grid-template-columns: 1fr; } }
.tech-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-md);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: default;
}
.tech-card::before {
  content: '';
  position: absolute;
  inset: -1px;
  background: var(--grad-main);
  border-radius: var(--radius-md);
  opacity: 0;
  transition: opacity 0.4s ease;
  z-index: -1;
}
.tech-card:hover {
  transform: translateY(-10px) scale(1.02);
  border-color: transparent;
  box-shadow: 0 20px 50px rgba(0,91,255,0.3), 0 0 30px rgba(0,207,255,0.2);
}
.tech-card:hover::before { opacity: 1; }
.tech-card-icon {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--blue-3), var(--blue-2));
  border-radius: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  margin: 0 auto 18px;
  transition: var(--transition);
  box-shadow: 0 8px 25px rgba(0,91,255,0.4);
}
.tech-card:hover .tech-card-icon {
  transform: scale(1.15) rotate(-5deg);
  box-shadow: 0 12px 35px rgba(0,207,255,0.6);
}
.tech-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 10px;
}
.tech-card p {
  font-size: 0.82rem;
  color: var(--text-3);
  line-height: 1.6;
}
.tech-card-badge {
  display: inline-block;
  margin-top: 14px;
  padding: 4px 12px;
  background: rgba(0,207,255,0.1);
  border: 1px solid rgba(0,207,255,0.25);
  border-radius: 20px;
  font-size: 0.72rem;
  color: var(--blue-1);
  font-weight: 600;
  letter-spacing: 0.5px;
}

/* ─── PATIENT JOURNEY SECTION ──────────────────────── */
.journey-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
}
.journey-section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse 80% 50% at 50% 50%, rgba(0,207,255,0.04) 0%, transparent 70%);
  pointer-events: none;
}
.journey-timeline {
  display: flex;
  align-items: flex-start;
  gap: 0;
  margin-top: 60px;
  position: relative;
}
.journey-timeline::before {
  content: '';
  position: absolute;
  top: 36px;
  left: calc(10% + 36px);
  right: calc(10% + 36px);
  height: 2px;
  background: linear-gradient(90deg, var(--blue-2), var(--blue-1), var(--teal));
  z-index: 0;
  animation: timelineGlow 3s ease-in-out infinite;
}
@keyframes timelineGlow {
  0%, 100% { box-shadow: 0 0 8px rgba(0,207,255,0.4); opacity: 0.7; }
  50% { box-shadow: 0 0 20px rgba(0,207,255,0.9); opacity: 1; }
}
@media (max-width: 800px) {
  .journey-timeline { flex-direction: column; gap: 20px; }
  .journey-timeline::before { display: none; }
}
.journey-step {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 10px;
  position: relative;
  z-index: 1;
}
.journey-step-circle {
  width: 72px; height: 72px;
  background: linear-gradient(135deg, var(--blue-2), var(--blue-1));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: #fff;
  margin-bottom: 18px;
  position: relative;
  transition: var(--transition);
  box-shadow: 0 0 20px rgba(0,91,255,0.5);
  cursor: default;
}
.journey-step-circle::after {
  content: '';
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  border: 2px solid rgba(0,207,255,0.4);
  animation: stepRingPulse 2.5s ease-in-out infinite;
}
@keyframes stepRingPulse {
  0%, 100% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.2); opacity: 0; }
}
.journey-step:hover .journey-step-circle {
  transform: scale(1.12);
  box-shadow: 0 0 40px rgba(0,207,255,0.8);
}
.journey-step-circle .journey-step-num {
  position: absolute;
  top: -8px; right: -8px;
  width: 24px; height: 24px;
  background: var(--accent-gold);
  border-radius: 50%;
  font-size: 0.7rem;
  font-weight: 800;
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
}
.journey-step h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-1);
  margin-bottom: 6px;
}
.journey-step p {
  font-size: 0.78rem;
  color: var(--text-3);
  line-height: 1.5;
  max-width: 130px;
}
@media (max-width: 800px) {
  .journey-step { flex-direction: row; text-align: left; gap: 16px; }
  .journey-step-circle { margin-bottom: 0; flex-shrink: 0; }
  .journey-step p { max-width: 100%; }
}

/* ─── AWARDS & ACHIEVEMENTS ────────────────────────── */
.awards-section {
  padding: 80px 0;
  background: linear-gradient(135deg, rgba(8,17,34,0.98), rgba(5,12,26,0.95));
  position: relative;
  overflow: hidden;
}
.awards-section::before {
  content: '';
  position: absolute;
  left: -150px; top: -150px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(255,215,0,0.04) 0%, transparent 70%);
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 50px;
}
@media (max-width: 900px) { .awards-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 540px) { .awards-grid { grid-template-columns: 1fr 1fr; gap: 12px; } }
.award-card {
  background: var(--glass-bg);
  border: 1px solid rgba(255, 215, 0, 0.15);
  border-radius: var(--radius-md);
  padding: 28px 18px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.award-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--accent-gold), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.award-card:hover {
  transform: translateY(-8px);
  border-color: rgba(255,215,0,0.5);
  box-shadow: 0 20px 50px rgba(255,215,0,0.1), 0 0 30px rgba(255,215,0,0.08);
}
.award-card:hover::before { opacity: 1; }
.award-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
  display: block;
  transition: var(--transition);
}
.award-card:hover .award-icon { transform: scale(1.15) rotate(5deg); }
.award-num {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--accent-gold);
  display: block;
  line-height: 1;
}
.award-label {
  font-size: 0.82rem;
  color: var(--text-2);
  margin-top: 6px;
  font-weight: 500;
}

/* ─── DOCTOR SKILL BARS ────────────────────────────── */
.doctor-skills {
  margin-top: 20px;
}
.doctor-skills-title {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-3);
  font-weight: 700;
  margin-bottom: 14px;
}
.skill-bar { margin-bottom: 14px; }
.skill-bar-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}
.skill-bar-name { font-size: 0.82rem; color: var(--text-2); font-weight: 500; }
.skill-bar-pct { font-size: 0.8rem; color: var(--blue-1); font-weight: 700; }
.skill-bar-track {
  height: 8px;
  background: rgba(255,255,255,0.06);
  border-radius: 10px;
  overflow: hidden;
}
.skill-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-2), var(--blue-1), var(--teal));
  border-radius: 10px;
  width: 0%;
  transition: width 1.8s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.skill-bar-fill::after {
  content: '';
  position: absolute;
  right: 0; top: 0;
  width: 16px; height: 100%;
  background: rgba(255,255,255,0.5);
  filter: blur(5px);
}
.doctor-spec-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0;
}
.spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 12px;
  background: rgba(0,91,255,0.12);
  border: 1px solid rgba(0,207,255,0.25);
  border-radius: 20px;
  font-size: 0.73rem;
  color: var(--blue-1);
  font-weight: 600;
  transition: var(--transition);
}
.spec-chip i { font-size: 0.65rem; }
.spec-chip:hover {
  background: rgba(0,207,255,0.2);
  border-color: var(--blue-1);
  transform: scale(1.05);
}
.spec-chip.pink {
  background: rgba(236,72,153,0.12);
  border-color: rgba(236,72,153,0.3);
  color: #ec4899;
}
.spec-chip.pink:hover { background: rgba(236,72,153,0.2); border-color: #ec4899; }
.btn-book-doctor {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 22px;
  background: var(--grad-main);
  color: #fff;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  font-weight: 700;
  transition: var(--transition);
  margin-top: 16px;
  box-shadow: 0 4px 20px rgba(0,91,255,0.4);
}
.btn-book-doctor:hover {
  transform: translateY(-3px) scale(1.03);
  box-shadow: 0 8px 30px rgba(0,91,255,0.6);
  color: #fff;
}
.btn-book-doctor.pink {
  background: linear-gradient(135deg, #ec4899, #a855f7);
  box-shadow: 0 4px 20px rgba(168,85,247,0.4);
}
.btn-book-doctor.pink:hover { box-shadow: 0 8px 30px rgba(168,85,247,0.6); }

/* ─── FAQ SECTION ──────────────────────────────────── */
.faq-section {
  padding: 90px 0;
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, var(--dark-bg) 0%, var(--dark-2) 100%);
}
.faq-section::after {
  content: '';
  position: absolute;
  right: -100px; bottom: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(168,85,247,0.05) 0%, transparent 70%);
  pointer-events: none;
}
.faq-container {
  max-width: 800px;
  margin: 50px auto 0;
}
.faq-item {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  overflow: hidden;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.faq-item.active {
  border-color: var(--blue-1);
  box-shadow: 0 0 20px rgba(0,207,255,0.12);
}
.faq-question {
  width: 100%;
  background: none;
  border: none;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
  color: var(--text-1);
  font-size: 0.95rem;
  font-weight: 600;
  text-align: left;
  gap: 16px;
  transition: color 0.3s ease;
  font-family: var(--font);
}
.faq-item.active .faq-question { color: var(--blue-1); }
.faq-question-left {
  display: flex;
  align-items: center;
  gap: 14px;
}
.faq-q-icon {
  width: 36px; height: 36px;
  background: rgba(0,91,255,0.12);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--blue-1);
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.active .faq-q-icon {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-1));
  color: #fff;
}
.faq-chevron {
  font-size: 0.85rem;
  color: var(--text-3);
  transition: transform 0.4s ease, color 0.3s ease;
  flex-shrink: 0;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-1);
}
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.active .faq-answer { max-height: 400px; }
.faq-answer-inner {
  padding: 0 22px 20px 22px;
  padding-left: 72px;
  font-size: 0.87rem;
  color: var(--text-2);
  line-height: 1.7;
}

/* ─── ENHANCED HERO TYPING ANIMATION ──────────────── */
.hero-typing-text {
  display: inline-block;
  border-right: 2px solid var(--blue-1);
  animation: typingBlink 0.8s step-end infinite;
  min-height: 1.2em;
}
@keyframes typingBlink {
  0%, 100% { border-right-color: var(--blue-1); }
  50% { border-right-color: transparent; }
}

/* ─── FLOATING WHATSAPP PULSE ──────────────────────── */
.fab-btn.whatsapp {
  animation: waPulse 2.5s ease-in-out infinite;
}
@keyframes waPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37,211,102,0.5), 0 4px 15px rgba(0,0,0,0.3); }
  50% { box-shadow: 0 0 0 12px rgba(37,211,102,0), 0 4px 15px rgba(0,0,0,0.3); }
}

/* ─── GLASSMORPHISM UPGRADE: NAVBAR ───────────────── */
.navbar {
  backdrop-filter: blur(24px) saturate(200%) !important;
  -webkit-backdrop-filter: blur(24px) saturate(200%) !important;
}
.navbar.scrolled {
  box-shadow: 0 4px 30px rgba(0,0,0,0.5), 0 0 20px rgba(0,207,255,0.08) !important;
}

/* ─── ENHANCED SERVICE CARD 3D TILT ───────────────── */
.service-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), box-shadow 0.4s ease, border-color 0.4s ease !important;
}
.service-card:hover {
  transform: translateY(-12px) rotateX(-4deg) rotateY(3deg) !important;
}

/* ─── ENHANCED SECTION TAGS ───────────────────────── */
.section-tag {
  position: relative;
  overflow: hidden;
}
.section-tag::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0,207,255,0.3), transparent);
  animation: tagShimmer 3s ease-in-out infinite;
}
@keyframes tagShimmer {
  0% { left: -100%; }
  100% { left: 200%; }
}

/* ─── SCROLL PROGRESS NEON ────────────────────────── */
#scrollProgress {
  background: linear-gradient(90deg, var(--blue-2), var(--blue-1), var(--teal)) !important;
  box-shadow: 0 0 12px rgba(0,207,255,0.6) !important;
}

/* ─── ANIMATED BACKGROUND GRID ────────────────────── */
.why-section::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,207,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,207,255,0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}
.why-section > * { position: relative; z-index: 1; }

/* ─── TYPING WRAPPER ───────────────────────────────── */
#typingTagline {
  display: block;
  font-style: italic;
  color: var(--text-2);
  font-size: 1.1rem;
  min-height: 1.6em;
}

/* ─── MOBILE RESPONSIVE TWEAKS ─────────────────────── */
@media (max-width: 600px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .stat-card { padding: 22px 14px; }
  .stat-card-num { font-size: 2rem; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .tech-grid { grid-template-columns: 1fr; }
  .faq-answer-inner { padding-left: 22px; }
  .emergency-banner { max-width: 220px; top: 70px; right: 10px; }
}

/* ─── CERTIFICATION STRIP ENHANCED ─────────────────── */
.trust-badge-card {
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.trust-badge-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 2px;
  background: var(--grad-main);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.trust-badge-card:hover::after { transform: scaleX(1); }
.trust-badge-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0,207,255,0.15);
}

/* ─── ENHANCED TESTIMONIAL AVATARS ─────────────────── */
.testi-avatar {
  position: relative;
  overflow: hidden;
}
.testi-avatar::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
}

/* ─── CONTACT SECTION ENHANCED ──────────────────────── */
.contact-card {
  transition: var(--transition);
}
.contact-card:hover {
  transform: translateX(6px);
  box-shadow: -4px 0 20px rgba(0,207,255,0.15);
}

/* ─── FOOTER BRAND GLOW ──────────────────────────────── */
.footer-logo:hover .logo-real-img {
  filter: drop-shadow(0 0 12px rgba(0,207,255,0.6));
  transform: scale(1.05);
  transition: all 0.3s ease;
}

/* =====================================================
   ★ PERFORMANCE & RENDERING OPTIMIZATIONS ★
   ===================================================== */

/*
  content-visibility: auto tells the browser it can SKIP
  painting + layout for anything fully off-screen.
  contain-intrinsic-size gives a placeholder size so the
  scroll bar doesn't jump when the section is revealed.
  Only applied to sections well below the fold.
*/
.about-section,
.services-section,
.doctor-videos-section,
.doc-videos-section,
.makeover-section,
.treatment-explorer-section,
.tech-section,
.journey-section,
.awards-section,
.faq-section,
.gallery-section,
.testimonials-section,
.contact-section,
.footer {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px; /* approximate height for scroll stability */
}

/*
  will-change promotes elements to their own GPU compositor
  layer BEFORE the animation starts, eliminating layout
  recalculations during animation.
  Use sparingly — only on elements that actually animate.
*/
.hero-title,
.hero-tagline,
.hero-content,
.hero-image-panel,
.hero-float-card {
  will-change: transform, opacity;
}

.navbar {
  will-change: transform, backdrop-filter;
}

.service-card:hover,
.doctor-card:hover,
.tech-card:hover,
.stat-card:hover,
.award-card:hover,
.faq-item.active .faq-answer {
  will-change: transform, box-shadow;
}

.compare-bar-fill,
.skill-bar-fill {
  will-change: width;
}

.scroll-progress-bar {
  will-change: transform;
}

/* Fast image rendering for gallery thumbnails */
.gallery-item img,
.doctor-photo {
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
}

/* Prevent text flash on render */
.hero-title,
.section-title,
.hero-tagline {
  text-rendering: optimizeSpeed;
}

/*
  Eliminate layout jitter by fixing the nav height,
  preventing CLS (Cumulative Layout Shift).
*/
.navbar {
  min-height: 68px;
}

/*
  Reduce motion for users who prefer it (accessibility + performance).
  This also avoids running expensive animations unnecessarily.
*/
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-tooth-3d,
  #particleCanvas,
  .cursor-trail,
  .cursor-burst,
  .cursor-orbit-wrap {
    display: none !important;
  }
}

/*
  CSS containment for card grids — tells the browser
  each card is isolated (no overflow painting into neighbors).
*/
.service-card,
.doctor-card,
.tech-card,
.stat-card,
.award-card,
.why-feature,
.journey-step,
.faq-item {
  contain: layout style;
}

/* Prevent repaint cascade from hover on cards */
.service-card,
.doctor-card,
.tech-card,
.stat-card {
  transform: translateZ(0); /* Force GPU composite layer */
  backface-visibility: hidden;
}

/* Optimise font rendering globally */
body {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* ═══════════════════════════════════════════════════
   ★ ENHANCEMENT ADDITIONS — v2.0 ★
   ═══════════════════════════════════════════════════ */

/* ── PERFORMANCE: Content visibility for off-screen sections ── */
.about-section,
.why-section,
.video-section,
.doc-videos-section,
.makeover-section,
.treatment-explorer-section,
.tech-section,
.journey-section,
.awards-section,
.testimonials-section,
.faq-section,
.gallery-section,
.contact-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px;
}

/* ── DOCTOR AVAILABILITY INDICATOR ─────────────── */
.doctor-availability {
  display: flex;
  align-items: center;
  gap: 7px;
  background: rgba(0, 214, 144, 0.08);
  border: 1px solid rgba(0, 214, 144, 0.25);
  border-radius: 30px;
  padding: 5px 12px;
  font-size: 0.74rem;
  font-weight: 500;
  color: #00d690;
  margin-top: 8px;
  width: fit-content;
}

.avail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.avail-on {
  background: #00d690;
  box-shadow: 0 0 0 0 rgba(0, 214, 144, 0.7);
  animation: availPulse 2s infinite;
}

.avail-off {
  background: #ff6b6b;
  box-shadow: none;
}

@keyframes availPulse {
  0%   { box-shadow: 0 0 0 0 rgba(0, 214, 144, 0.7); }
  70%  { box-shadow: 0 0 0 8px rgba(0, 214, 144, 0); }
  100% { box-shadow: 0 0 0 0 rgba(0, 214, 144, 0); }
}

/* ── TIME SLOT PICKER ───────────────────────────── */
.time-slot-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 8px;
}

.time-slot-btn {
  background: rgba(0, 207, 255, 0.06);
  border: 1px solid rgba(0, 207, 255, 0.2);
  color: var(--text-2);
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.25s ease;
  font-family: var(--font);
}

.time-slot-btn:hover {
  background: rgba(0, 207, 255, 0.15);
  border-color: var(--blue-1);
  color: var(--blue-1);
  transform: translateY(-2px);
}

.time-slot-btn.selected {
  background: linear-gradient(135deg, var(--blue-2), var(--blue-1));
  border-color: transparent;
  color: #fff;
  font-weight: 600;
  box-shadow: 0 4px 16px rgba(0, 91, 255, 0.4);
  transform: translateY(-2px);
}

/* ── LIGHTBOX PREV / NEXT NAVIGATION ─────────────── */
.lightbox-prev,
.lightbox-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 207, 255, 0.15);
  border: 1px solid rgba(0, 207, 255, 0.3);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1.1rem;
  transition: all 0.25s ease;
  z-index: 100002;
  backdrop-filter: blur(8px);
}

.lightbox-prev { left: 20px; }
.lightbox-next { right: 20px; }

.lightbox-prev:hover,
.lightbox-next:hover {
  background: rgba(0, 207, 255, 0.35);
  border-color: var(--blue-1);
  box-shadow: 0 0 20px rgba(0, 207, 255, 0.4);
  transform: translateY(-50%) scale(1.08);
}

.lightbox-caption {
  position: absolute;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(5, 12, 26, 0.85);
  border: 1px solid var(--card-border);
  color: var(--text-2);
  padding: 8px 24px;
  border-radius: 30px;
  font-size: 0.82rem;
  font-weight: 500;
  backdrop-filter: blur(12px);
  white-space: nowrap;
  z-index: 100002;
}

/* ── ENHANCED GRADIENT TEXT ANIMATION ───────────── */
@keyframes heroGradientShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.gradient-text {
  background: linear-gradient(90deg, #00cfff, #005bff, #a78bfa, #00cfff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: heroGradientShift 4s linear infinite;
}

/* ── ENHANCED SCROLL PROGRESS BAR ───────────────── */
#scrollProgress {
  background: linear-gradient(90deg, var(--blue-2), var(--blue-1), #a78bfa) !important;
  background-size: 200% 100% !important;
  animation: heroGradientShift 3s linear infinite;
}

/* ── ENHANCED BUTTON GLOW EFFECT ────────────────── */
.btn-primary {
  position: relative;
  overflow: hidden;
}

/* ── STAT CARD RADIAL GLOW ON HOVER ─────────────── */
.stat-card {
  position: relative;
  overflow: hidden;
}

.stat-card::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 207, 255, 0.08), transparent 70%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.stat-card:hover::after {
  opacity: 1;
}

/* ── SECTION TAG UNDERLINE ACCENT ───────────────── */
.section-tag {
  position: relative;
  display: inline-block;
}

/* ── ENHANCED TESTIMONIAL CARDS ─────────────────── */
.testimonial-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 20px 50px rgba(0, 91, 255, 0.3) !important;
}

/* ── FLOATING ACTION BUTTON WHATSAPP PULSE ─────── */
.fab-btn.whatsapp {
  animation: waPulse 2.5s infinite;
}

@keyframes waPulse {
  0%,100% { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.5), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50%     { box-shadow: 0 8px 30px rgba(37, 211, 102, 0.7), 0 0 0 12px rgba(37, 211, 102, 0); }
}

/* ── CHATBOT WHATSAPP CTA BUTTON ─────────────────── */
.chat-wa-cta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: #fff !important;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.78rem;
  font-weight: 600;
  text-decoration: none !important;
  margin-top: 8px;
  transition: all 0.25s ease;
}

.chat-wa-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.4);
}

/* ── ENHANCED IMAGE SKELETON LOADER ─────────────── */
.img-loading {
  background: linear-gradient(90deg, rgba(13,26,53,0.8) 25%, rgba(0,207,255,0.06) 50%, rgba(13,26,53,0.8) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
  0%   { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ── MOBILE RESPONSIVE ADJUSTMENTS ─────────────── */
@media (max-width: 768px) {
  .time-slot-grid { gap: 6px; }
  .time-slot-btn {
    padding: 6px 10px;
    font-size: 0.72rem;
  }
  .lightbox-prev,
  .lightbox-next {
    width: 40px;
    height: 40px;
    font-size: 0.9rem;
  }
  .lightbox-prev { left: 10px; }
  .lightbox-next { right: 10px; }
  .lightbox-caption {
    font-size: 0.75rem;
    padding: 6px 16px;
    bottom: 14px;
  }
  .doctor-availability {
    font-size: 0.7rem;
    padding: 4px 10px;
  }
}

/* ── GALLERY ITEM ENHANCED OVERLAY ─────────────── */
.gallery-hover-overlay {
  transition: all 0.3s ease;
}

.gallery-item:hover .gallery-hover-overlay {
  opacity: 1;
  transform: scale(1);
}

/* ── HERO BADGE SHINE EFFECT ─────────────────────── */
.hero-badge {
  position: relative;
  overflow: hidden;
}

.hero-badge::after {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.15), transparent);
  transform: skewX(-20deg);
  animation: badgeShine 4s ease-in-out infinite;
}

@keyframes badgeShine {
  0%   { left: -100%; }
  30%  { left: 150%; }
  100% { left: 150%; }
}

/* ── SMOOTH SECTION DIVIDER GLOW LINES ─────────── */
section + section {
  position: relative;
}

section + section::before {
  content: '';
  position: absolute;
  top: 0; left: 10%; right: 10%;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0,207,255,0.12), transparent);
}

/* ═══════════════════════════════════════════════════
   ★ HARDWARE SCROLL ACCELERATION & ZERO-LAG OVERRIDES ★
   ═══════════════════════════════════════════════════ */
/* 1. Disable heavy backdrop-filter blurs that cause GPU scroll lag */
.navbar,
.service-card,
.doctor-card,
.doc-video-card,
.trust-badge-card,
.stat-card,
.contact-card,
.appt-card,
.chatbot-window,
.explorer-card,
.fab-btn,
.map-dashboard-card {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  background-color: rgba(13, 26, 53, 0.96) !important;
}

/* 2. Navbar solid glass on scroll */
.navbar.scrolled {
  background-color: rgba(5, 12, 26, 0.97) !important;
}

/* 3. Promote major animated cards to GPU layers */
.service-card,
.doctor-card,
.doc-video-card,
.stat-card,
.gallery-item {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* 4. Disable heavy box-shadow animations on hover */
.service-card:hover,
.doctor-card:hover,
.doc-video-card:hover {
  box-shadow: 0 10px 30px rgba(0, 207, 255, 0.25) !important;
}

/* ════════════════════════════════════════════════════════
   ★ PREMIUM VISUAL ENHANCEMENTS — v2.1 UPGRADE PACK ★
   ════════════════════════════════════════════════════════ */

/* ── Stat Number Pop Animation (fires when counter ends) ── */
@keyframes statPop {
  0%   { transform: scale(1); }
  40%  { transform: scale(1.22); color: #00cfff; text-shadow: 0 0 20px rgba(0,207,255,0.7); }
  70%  { transform: scale(0.95); }
  100% { transform: scale(1); }
}
.stat-num, .stat-card-num {
  display: inline-block;
  transition: color 0.3s ease;
}
.stat-num.pop, .stat-card-num.pop {
  animation: statPop 0.55s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ── Hero Badge Shimmer Sweep ── */
@keyframes shimmerSweep {
  0%   { background-position: -200% center; }
  100% { background-position: 200% center; }
}
.hero-badge {
  position: relative;
  overflow: hidden;
}
.hero-badge::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255,255,255,0.18) 40%,
    rgba(255,255,255,0.28) 50%,
    rgba(255,255,255,0.18) 60%,
    transparent 100%
  );
  background-size: 200% 100%;
  animation: shimmerSweep 3.5s linear infinite;
  pointer-events: none;
  border-radius: inherit;
}

/* ── Ticker Strip — Gradient Fade Edges ── */
.ticker-strip {
  position: relative;
}
.ticker-strip::before,
.ticker-strip::after {
  content: '';
  position: absolute;
  top: 0;
  width: 80px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.ticker-strip::before {
  left: 0;
  background: linear-gradient(90deg, var(--dark-bg), transparent);
}
.ticker-strip::after {
  right: 0;
  background: linear-gradient(270deg, var(--dark-bg), transparent);
}

/* ── Service Card — Enhanced Glow on Hover ── */
@keyframes cardGlowPulse {
  0%, 100% { opacity: 0.4; transform: scale(0.95); }
  50%       { opacity: 1;   transform: scale(1.08); }
}
.service-card:hover .service-card-glow {
  animation: cardGlowPulse 1.8s ease-in-out infinite;
}
.service-card:hover .service-icon-3d {
  transform: translateY(-4px) scale(1.12) rotate(-3deg);
  filter: drop-shadow(0 0 12px rgba(0,207,255,0.7));
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.35s ease;
}
.service-icon-3d {
  transition: transform 0.3s ease, filter 0.3s ease;
}

/* ── Section Headers — Underline Glow Accent ── */
.section-title {
  position: relative;
}
.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-1), transparent);
  border-radius: 4px;
  margin-top: 10px;
  transition: width 0.6s ease;
}
.section-header:hover .section-title::after {
  width: 120px;
}

/* ── Floating WhatsApp Button — Breathing Glow ── */
@keyframes waBreathe {
  0%, 100% { box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4), 0 0 0 0 rgba(37, 211, 102, 0.3); }
  50%       { box-shadow: 0 8px 32px rgba(37, 211, 102, 0.7), 0 0 0 10px rgba(37, 211, 102, 0); }
}
.fab-btn.whatsapp {
  animation: waBreathe 2.5s ease-in-out infinite;
}
.fab-btn.whatsapp:hover {
  animation: none;
  transform: scale(1.12) translateY(-3px);
  box-shadow: 0 12px 40px rgba(37, 211, 102, 0.7);
}

/* ── Scroll Top Button — Active Glow ── */
.fab-btn.scroll-top.visible {
  animation: none;
}
.fab-btn.scroll-top:hover {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2)) !important;
  transform: translateY(-4px) scale(1.08);
  box-shadow: 0 8px 30px rgba(0,207,255,0.5);
}

/* ── Doctor Cards — Elevated Hover State ── */
.doctor-card {
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.35s ease;
}
.doctor-card:hover {
  transform: translateY(-10px) scale(1.01) !important;
}

/* ── Testimonial Card — Glow on Hover ── */
.testimonial-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.testimonial-card:hover {
  border-color: rgba(0,207,255,0.35) !important;
  box-shadow: 0 12px 40px rgba(0,207,255,0.15), 0 0 0 1px rgba(0,207,255,0.2) !important;
}

/* ── FAQ Items — Animated Arrow ── */
.faq-item .faq-chevron {
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), color 0.3s ease;
}
.faq-item.active .faq-chevron {
  transform: rotate(180deg);
  color: var(--blue-1);
}
.faq-item.active .faq-question {
  color: var(--blue-1);
}

/* ── Award Cards — Flip-In on Scroll ── */
@keyframes awardFlipIn {
  from { opacity: 0; transform: rotateY(-25deg) translateY(20px); }
  to   { opacity: 1; transform: rotateY(0deg) translateY(0); }
}
.award-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}
.award-card:hover {
  transform: translateY(-8px) scale(1.04);
  box-shadow: 0 16px 40px rgba(0,207,255,0.2);
}

/* ── Gallery Items — Zoom + Caption Slide ── */
.gallery-item {
  overflow: hidden;
}
.gallery-item img {
  transition: transform 0.55s cubic-bezier(0.4, 0, 0.2, 1);
}
.gallery-item:hover img {
  transform: scale(1.07);
}
.gallery-caption {
  transition: transform 0.35s ease, opacity 0.35s ease;
  transform: translateY(100%);
  opacity: 0;
}
.gallery-item:hover .gallery-caption {
  transform: translateY(0);
  opacity: 1;
}

/* ── Contact Cards — Lift Effect ── */
.contact-card {
  transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.3s ease,
              border-color 0.3s ease;
}
.contact-card:hover {
  transform: translateY(-6px);
  border-color: rgba(0,207,255,0.4);
  box-shadow: 0 10px 30px rgba(0,207,255,0.12);
}

/* ── Tech Cards — Neon Icon Glow on Hover ── */
.tech-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}
.tech-card:hover {
  transform: translateY(-8px);
  border-color: rgba(0,207,255,0.35);
  box-shadow: 0 12px 40px rgba(0,207,255,0.15);
}
.tech-card:hover .tech-card-icon {
  background: linear-gradient(135deg, var(--blue-1), var(--blue-2));
  box-shadow: 0 0 25px rgba(0,207,255,0.5);
  transform: scale(1.1) rotate(-5deg);
}
.tech-card-icon {
  transition: background 0.3s ease, box-shadow 0.3s ease, transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Journey Steps — Pulse Connector ── */
@keyframes connectorFlow {
  0%   { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

/* ── Mobile Quick Bar — Smooth Slide Up ── */
.mobile-quick-bar {
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s ease;
}

/* ── Success Modal — Scale In ── */
@keyframes modalScaleIn {
  from { transform: scale(0.85) translateY(20px); opacity: 0; }
  to   { transform: scale(1)    translateY(0);    opacity: 1; }
}
.modal-overlay.active .modal-box {
  animation: modalScaleIn 0.45s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}

/* ── Toast — Slide In from Right ── */
@keyframes toastSlideIn {
  from { transform: translateX(110%); opacity: 0; }
  to   { transform: translateX(0);    opacity: 1; }
}
@keyframes toastSlideOut {
  from { transform: translateX(0);    opacity: 1; }
  to   { transform: translateX(110%); opacity: 0; }
}
.toast-notification.show {
  animation: toastSlideIn 0.4s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
}
.toast-notification:not(.show) {
  animation: toastSlideOut 0.35s ease forwards;
}

/* ── Chatbot Bubble — Attention Bounce ── */
@keyframes chatBounce {
  0%, 100% { transform: translateY(0) scale(1); }
  25%       { transform: translateY(-8px) scale(1.05); }
  50%       { transform: translateY(-4px) scale(1.02); }
  75%       { transform: translateY(-10px) scale(1.07); }
}
.chatbot-bubble:not(:hover) {
  animation: chatBounce 4s ease-in-out 5s 3;
}

/* ── Smooth Section Reveal ── */
[data-aos] {
  will-change: opacity, transform;
}


