/* ============================================================
   JAGDAMBA EYE HOSPITAL — MASTER STYLESHEET
   Dark Glassmorphic 3D Design System
   ============================================================ */

/* ---- CSS VARIABLES ---------------------------------------- */
:root {
  --primary: #5BB6D6;
  --primary-dark: #3A9BBC;
  --primary-light: #7ecde6;
  --accent: #00d4ff;
  --accent2: #a78bfa;
  --bg-dark: #060d17;
  --bg-dark2: #0a1628;
  --bg-dark3: #0d1f35;
  --bg-card: rgba(255,255,255,0.04);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border-glass: rgba(255,255,255,0.10);
  --border-glass-hover: rgba(91,182,214,0.35);
  --text-primary: #f0f6fc;
  --text-secondary: #94a3b8;
  --text-muted: #64748b;
  --shadow-glow: 0 0 40px rgba(91,182,214,0.18);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.45);
  --shadow-hover: 0 20px 60px rgba(0,0,0,0.55);
  --radius-card: 24px;
  --radius-btn: 50px;
  --radius-sm: 12px;
  --transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  --font-main: 'Poppins', sans-serif;
  --white: #ffffff;
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: var(--font-main);
  background: var(--bg-dark);
  color: var(--text-primary);
  line-height: 1.7;
  overflow-x: hidden;
  cursor: none;
}

body.menu-open { overflow: hidden; }

::selection { background: rgba(91,182,214,0.3); color: #fff; }

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

a { text-decoration: none; color: inherit; }

ul { list-style: none; }

/* ---- SCROLLBAR -------------------------------------------- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-dark2); }
::-webkit-scrollbar-thumb { background: var(--primary-dark); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--primary); }

/* ============================================================
   PAGE LOADER
   ============================================================ */
.page-loader {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: var(--bg-dark);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 28px;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.page-loader.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.loader-eye {
  position: relative;
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.loader-eye-lid-top,
.loader-eye-lid-bottom {
  position: absolute;
  left: 0;
  width: 80px;
  height: 40px;
  overflow: hidden;
}

.loader-eye-lid-top {
  top: 0;
  animation: eyeBlink 2.4s ease-in-out infinite;
  transform-origin: bottom center;
}

.loader-eye-lid-top::after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  position: absolute;
  top: 0; left: 0;
}

.loader-eye-lid-bottom {
  bottom: 0;
  animation: eyeBlinkBottom 2.4s ease-in-out infinite;
  transform-origin: top center;
}

.loader-eye-lid-bottom::after {
  content: '';
  display: block;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  border: 2px solid var(--primary);
  position: absolute;
  bottom: 0; left: 0;
}

.loader-iris {
  position: absolute;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, var(--primary-light), var(--primary), var(--primary-dark));
  animation: pulseGlow 1.8s ease-in-out infinite;
  box-shadow: 0 0 20px rgba(91,182,214,0.7);
  z-index: 2;
}

.loader-pupil {
  position: absolute;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #060d17;
  z-index: 3;
}

.loader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255,255,255,0.08);
  border-radius: 2px;
  overflow: hidden;
}

.loader-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary-dark), var(--accent));
  border-radius: 2px;
  animation: loadBar 2s ease-in-out forwards;
}

.loader-text {
  font-size: 0.85rem;
  font-weight: 500;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-secondary);
  background: linear-gradient(90deg, var(--text-secondary), var(--primary), var(--text-secondary));
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shimmerText 2s linear infinite;
}

/* ============================================================
   CUSTOM CURSOR
   ============================================================ */
.cursor-dot {
  position: fixed;
  width: 8px;
  height: 8px;
  background: var(--primary);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99998;
  transform: translate(-50%, -50%);
  transition: width 0.2s, height 0.2s, background 0.2s;
}

.cursor-ring {
  position: fixed;
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(91,182,214,0.65);
  border-radius: 50%;
  pointer-events: none;
  z-index: 99997;
  transform: translate(-50%, -50%);
  transition: width 0.35s ease, height 0.35s ease, border-color 0.35s ease;
}

.cursor-hover .cursor-dot {
  width: 12px;
  height: 12px;
  background: var(--accent);
}

.cursor-hover .cursor-ring {
  width: 52px;
  height: 52px;
  border-color: var(--accent);
}

@media (hover: none) {
  .cursor-dot, .cursor-ring { display: none; }
  body { cursor: auto; }
}

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  background: transparent;
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(6,13,23,0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-glass);
  padding: 12px 0;
  box-shadow: 0 4px 30px rgba(0,0,0,0.4);
}

.navbar-logo {
  height: 56px;
  width: auto;
  transition: height 0.3s ease;
}

.navbar.scrolled .navbar-logo { height: 44px; }

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-link {
  color: rgba(255,255,255,0.85) !important;
  font-size: 0.88rem;
  font-weight: 500;
  padding: 8px 14px !important;
  position: relative;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 14px;
  width: 0; height: 2px;
  background: var(--primary);
  border-radius: 1px;
  transition: width 0.3s ease;
}

.nav-link:hover,
.nav-link.active-link {
  color: var(--primary) !important;
}

.nav-link:hover::after,
.nav-link.active-link::after { width: calc(100% - 28px); }

.btn-nav-cta {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary)) !important;
  color: #fff !important;
  border-radius: var(--radius-btn) !important;
  padding: 9px 22px !important;
  font-weight: 600 !important;
  font-size: 0.85rem !important;
  box-shadow: 0 4px 16px rgba(91,182,214,0.3);
  transition: var(--transition) !important;
}

.btn-nav-cta:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent)) !important;
  box-shadow: 0 6px 24px rgba(91,182,214,0.5);
  transform: translateY(-1px);
}

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

.navbar-toggler {
  border: 1px solid var(--border-glass);
  border-radius: 10px;
  padding: 7px 10px;
  background: rgba(255,255,255,0.05);
}

.navbar-toggler:focus { box-shadow: none; }
.navbar-toggler-icon { filter: invert(1); }

/* Dropdown */
.dropdown-menu {
  background: rgba(10,22,40,0.97);
  backdrop-filter: blur(20px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 10px;
  box-shadow: var(--shadow-card);
  min-width: 220px;
}

.dropdown-item {
  color: var(--text-secondary);
  font-size: 0.875rem;
  font-weight: 500;
  padding: 9px 14px;
  border-radius: 8px;
  transition: var(--transition);
  display: flex;
  align-items: center;
}

.dropdown-item:hover {
  background: rgba(91,182,214,0.1);
  color: var(--primary);
}

/* ============================================================
   SHAPE ORBS (background decoration)
   ============================================================ */
.shape-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
  z-index: 0;
}

.shape-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(91,182,214,0.1), transparent 70%);
  top: -200px; right: -150px;
}

.shape-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(167,139,250,0.07), transparent 70%);
  bottom: -100px; left: -100px;
}

.shape-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(0,212,255,0.06), transparent 70%);
  top: 30%; left: 40%;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
  position: relative;
  min-height: 100vh;
  background: var(--bg-dark);
  overflow: hidden;
  display: flex;
  align-items: center;
}

#hero-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg,
    rgba(6,13,23,0.85) 0%,
    rgba(6,13,23,0.6) 50%,
    rgba(6,13,23,0.4) 100%);
  z-index: 1;
}

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

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,182,214,0.1);
  border: 1px solid rgba(91,182,214,0.25);
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  margin-bottom: 22px;
}

.badge-dot {
  width: 7px;
  height: 7px;
  background: var(--primary);
  border-radius: 50%;
  animation: pulseGlow 1.6s ease-in-out infinite;
  box-shadow: 0 0 8px var(--primary);
}

.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4.8rem);
  font-weight: 800;
  line-height: 1.12;
  color: #fff;
  margin-bottom: 22px;
  letter-spacing: -0.02em;
}

.highlight {
  color: var(--primary);
  text-shadow: 0 0 40px rgba(91,182,214,0.4);
  position: relative;
}

.highlight::after {
  content: '';
  position: absolute;
  bottom: 4px; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
}

.hero-subtitle {
  font-size: 1.05rem;
  color: var(--text-secondary);
  margin-bottom: 36px;
  max-width: 530px;
  line-height: 1.75;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.btn-primary-3d {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 14px 32px;
  border-radius: var(--radius-btn);
  box-shadow: 0 6px 30px rgba(91,182,214,0.35), 0 3px 0 var(--primary-dark);
  transition: var(--transition);
  border: none;
}

.btn-primary-3d:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-3px);
  box-shadow: 0 12px 40px rgba(91,182,214,0.5), 0 3px 0 var(--primary-dark);
  color: #fff;
}

.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  background: rgba(37,211,102,0.12);
  border: 1px solid rgba(37,211,102,0.35);
  color: #25d366;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 13px 30px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
}

.btn-whatsapp:hover {
  background: rgba(37,211,102,0.2);
  border-color: #25d366;
  color: #25d366;
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(37,211,102,0.25);
}

.hero-trust {
  display: flex;
  gap: 22px;
  flex-wrap: wrap;
}

.hero-trust span {
  display: flex;
  align-items: center;
  gap: 7px;
  font-size: 0.85rem;
  color: var(--text-secondary);
  font-weight: 500;
}

.hero-trust .bi-check-circle-fill { color: var(--primary); font-size: 1rem; }

/* --- Hero 3D Float --- */
.hero-3d-float {
  position: relative;
  width: 380px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: float3D 5s ease-in-out infinite;
}

@keyframes float3D {
  0%   { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
  25%  { transform: translateY(-14px) rotateX(3deg) rotateY(2deg); }
  50%  { transform: translateY(-22px) rotateX(0deg) rotateY(-2deg); }
  75%  { transform: translateY(-10px) rotateX(-2deg) rotateY(3deg); }
  100% { transform: translateY(0) rotateX(0deg) rotateY(0deg); }
}

.hero-float-card {
  position: relative;
  z-index: 5;
  background: rgba(255,255,255,0.04);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(91,182,214,0.2);
  border-radius: var(--radius-card);
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 40px rgba(91,182,214,0.08);
}

.float-stat {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.float-num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  text-shadow: 0 0 20px rgba(91,182,214,0.4);
}

.float-label {
  font-size: 0.8rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Orbit rings */
.orbit-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px solid rgba(91,182,214,0.15);
  pointer-events: none;
}

.ring-1 {
  width: 300px; height: 300px;
  border-color: rgba(91,182,214,0.2);
  animation: orbFloat 8s linear infinite;
}

.ring-2 {
  width: 360px; height: 360px;
  border-color: rgba(91,182,214,0.1);
  animation: orbFloat 12s linear infinite reverse;
  border-style: dashed;
}

@keyframes orbFloat {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.orbit-dot {
  position: absolute;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--primary);
  box-shadow: 0 0 12px var(--primary);
  pointer-events: none;
}

.dot-1 {
  animation: spinDot1 8s linear infinite;
}

.dot-2 {
  animation: spinDot2 12s linear infinite reverse;
}

@keyframes spinDot1 {
  0% { transform: rotate(0deg) translateX(150px); }
  100% { transform: rotate(360deg) translateX(150px); }
}

@keyframes spinDot2 {
  0% { transform: rotate(0deg) translateX(180px); }
  100% { transform: rotate(360deg) translateX(180px); }
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  z-index: 3;
}

.scroll-indicator span {
  font-size: 0.72rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 500;
}

.scroll-arrow {
  width: 22px;
  height: 22px;
  border-right: 2px solid var(--primary);
  border-bottom: 2px solid var(--primary);
  transform: rotate(45deg);
  animation: bounceDown 1.8s ease-in-out infinite;
}

@keyframes bounceDown {
  0%, 100% { transform: rotate(45deg) translateY(0); opacity: 1; }
  50%       { transform: rotate(45deg) translateY(7px); opacity: 0.5; }
}

/* ============================================================
   STATS BAR
   ============================================================ */
.stats-bar {
  background: rgba(255,255,255,0.03);
  border-top: 1px solid var(--border-glass);
  border-bottom: 1px solid var(--border-glass);
  padding: 36px 0;
  position: relative;
  overflow: hidden;
}

.stats-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(91,182,214,0.03), transparent);
}

.stat-item {
  text-align: center;
  position: relative;
  z-index: 1;
}

.stat-item + .stat-item::before {
  content: '';
  position: absolute;
  left: 0; top: 10%;
  height: 80%;
  width: 1px;
  background: var(--border-glass);
}

.stat-num {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
  display: block;
  text-shadow: 0 0 30px rgba(91,182,214,0.35);
}

.stat-suffix {
  font-size: 1.4rem;
  color: var(--primary);
}

.stat-label {
  font-size: 0.82rem;
  color: var(--text-secondary);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-top: 6px;
  display: block;
}

/* ============================================================
   SECTION HEADERS
   ============================================================ */
.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(91,182,214,0.08);
  border: 1px solid rgba(91,182,214,0.2);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 18px;
  border-radius: var(--radius-btn);
  margin-bottom: 18px;
}

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

.section-title .highlight { font-size: inherit; }

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.75;
}

/* Generic section padding */
section { padding: 90px 0; }

/* ============================================================
   SERVICES — 3D CARD FLIP
   ============================================================ */
.services-section { background: var(--bg-dark); position: relative; overflow: hidden; }

.service-card-3d-wrap {
  perspective: 1200px;
  height: 300px;
  cursor: pointer;
}

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

.service-card-3d-wrap:hover .service-card-3d {
  transform: rotateY(180deg);
}

.card-front,
.card-back {
  position: absolute;
  inset: 0;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  border-radius: var(--radius-card);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  border: 1px solid var(--border-glass);
  overflow: hidden;
}

.card-front {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.card-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,182,214,0.04) 0%, transparent 60%);
  pointer-events: none;
}

.service-card-3d-wrap:hover .card-front {
  border-color: var(--border-glass-hover);
}

.card-back {
  transform: rotateY(180deg);
  background: linear-gradient(135deg, #0a2a3d, #0d3347);
  border-color: rgba(91,182,214,0.2);
  align-items: flex-start;
}

.card-icon {
  width: 56px; height: 56px;
  background: rgba(91,182,214,0.1);
  border: 1px solid rgba(91,182,214,0.2);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  font-size: 1.4rem;
  color: var(--primary);
  transition: var(--transition);
}

.service-card-3d-wrap:hover .card-icon {
  background: rgba(91,182,214,0.18);
  box-shadow: 0 0 20px rgba(91,182,214,0.2);
}

.card-front h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-front p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin: 0;
}

.card-back h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 12px;
  line-height: 1.3;
}

.card-back p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
}

.card-back .card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  border: 1px solid rgba(91,182,214,0.3);
  padding: 7px 16px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
  margin-top: auto;
}

.card-back .card-link:hover {
  background: rgba(91,182,214,0.1);
  color: var(--accent);
}

/* ============================================================
   WHY CHOOSE US
   ============================================================ */
.why-section {
  background: var(--bg-dark2);
  position: relative;
  overflow: hidden;
}

.feature-item {
  display: flex;
  gap: 18px;
  margin-bottom: 28px;
  padding: 22px;
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.feature-item:hover {
  background: var(--bg-card-hover);
  border-color: rgba(91,182,214,0.2);
  transform: translateX(6px);
}

.feature-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: rgba(91,182,214,0.1);
  border: 1px solid rgba(91,182,214,0.2);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
}

.feature-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.feature-text p {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.6;
}

/* Stats visual circle */
.stats-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.stats-circle {
  width: 180px; height: 180px;
  border-radius: 50%;
  background: conic-gradient(var(--primary) 0deg 270deg, rgba(255,255,255,0.06) 270deg);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  box-shadow: 0 0 40px rgba(91,182,214,0.15);
}

.stats-circle-inner {
  width: 130px; height: 130px;
  border-radius: 50%;
  background: var(--bg-dark2);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.stats-circle-inner .num {
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.stats-circle-inner .lbl {
  font-size: 0.7rem;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Branch map preview in why section */
.branch-mini-map {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 10px;
  transition: var(--transition);
}

.branch-mini-map:hover {
  border-color: rgba(91,182,214,0.2);
  background: var(--bg-card-hover);
}

.branch-mini-map h6 {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 4px;
}

.branch-mini-map p {
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   SURGERY EXPLAINER
   ============================================================ */
.surgery-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.surgery-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 48px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  padding: 6px;
  border-radius: var(--radius-btn);
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.surgery-tab-btn {
  padding: 10px 28px;
  border-radius: var(--radius-btn);
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-secondary);
  background: transparent;
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.surgery-tab-btn.active {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  box-shadow: 0 4px 16px rgba(91,182,214,0.3);
}

.surgery-tab-btn:hover:not(.active) {
  color: var(--primary);
  background: rgba(91,182,214,0.07);
}

.surgery-tab-panel {
  display: none;
}

.surgery-tab-panel.active {
  display: flex;
  gap: 60px;
  align-items: center;
}

/* SVG Diagram */
.eye-diagram {
  width: 100%;
  max-width: 280px;
  min-width: 200px;
  filter: drop-shadow(0 0 20px rgba(91,182,214,0.15));
}

/* SVG Animations */
.anim-cloudy {
  animation: cloudyPulse 3s ease-in-out infinite;
}

@keyframes cloudyPulse {
  0%, 100% { opacity: 0.7; }
  50%       { opacity: 0.2; }
}

.anim-phaco {
  animation: phacoMove 2.5s ease-in-out infinite;
}

@keyframes phacoMove {
  0%, 100% { transform: translateX(0); }
  50%       { transform: translateX(18px); }
}

.anim-clear {
  animation: clearReveal 3s ease-in-out infinite;
  opacity: 0;
}

@keyframes clearReveal {
  0%, 40% { opacity: 0; }
  60%, 100% { opacity: 1; }
}

.anim-flap {
  animation: flapLift 3s ease-in-out infinite;
  transform-origin: 130px 80px;
}

@keyframes flapLift {
  0%, 100% { transform: rotateY(0deg); }
  40%, 60% { transform: rotateY(40deg); }
}

.anim-laser {
  stroke-dasharray: 100;
  stroke-dashoffset: 100;
  animation: laserFire 2s ease-in-out infinite;
}

@keyframes laserFire {
  0%       { stroke-dashoffset: 100; opacity: 0; }
  20%      { opacity: 1; }
  100%     { stroke-dashoffset: 0; opacity: 1; }
}

.anim-scan {
  animation: scanLine 2.2s ease-in-out infinite;
}

@keyframes scanLine {
  0%   { transform: translateY(-40px); opacity: 0; }
  20%  { opacity: 1; }
  80%  { opacity: 1; }
  100% { transform: translateY(40px); opacity: 0; }
}

/* Surgery Steps */
.surgery-steps-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  flex: 1;
}

.surgery-step {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 16px 18px;
  background: rgba(255,255,255,0.02);
  border: 1px solid rgba(255,255,255,0.06);
  border-radius: var(--radius-sm);
  opacity: 0.5;
  transform: translateX(-10px);
  transition: all 0.5s cubic-bezier(0.4,0,0.2,1);
  cursor: pointer;
}

.surgery-step.active {
  opacity: 1;
  transform: translateX(0);
  background: rgba(91,182,214,0.07);
  border-color: rgba(91,182,214,0.25);
  box-shadow: 0 4px 20px rgba(91,182,214,0.08);
}

.step-num {
  width: 34px; height: 34px;
  min-width: 34px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}

.surgery-step:not(.active) .step-num {
  background: rgba(255,255,255,0.07);
}

.step-content h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.step-content p {
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.5;
}

.surgery-tab-panel .diagram-col {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 30px;
  min-width: 260px;
}

/* ============================================================
   DOCTORS SECTION
   ============================================================ */
.doctors-section {
  background: var(--bg-dark2);
  position: relative;
  overflow: hidden;
}

.doctor-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 32px 26px;
  text-align: center;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  will-change: transform;
}

.doctor-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}

.doctor-card:hover::before { opacity: 1; }

.doctor-card:hover {
  border-color: rgba(91,182,214,0.25);
  box-shadow: var(--shadow-glow);
}

.doctor-photo-wrap {
  position: relative;
  display: inline-block;
  margin-bottom: 22px;
}

.doctor-photo-placeholder {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), rgba(91,182,214,0.3));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  color: rgba(255,255,255,0.8);
  border: 3px solid rgba(91,182,214,0.3);
  margin: 0 auto;
  transition: var(--transition);
}

.doctor-card:hover .doctor-photo-placeholder {
  border-color: var(--primary);
  box-shadow: 0 0 30px rgba(91,182,214,0.25);
}

.doctor-photo-placeholder img {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  object-fit: cover;
}

.doctor-exp-badge {
  position: absolute;
  bottom: -4px; right: -4px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-btn);
  white-space: nowrap;
  box-shadow: 0 2px 12px rgba(91,182,214,0.35);
}

.doctor-name {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 5px;
}

.doctor-qual {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 5px;
  letter-spacing: 0.5px;
}

.doctor-role {
  font-size: 0.82rem;
  color: var(--text-secondary);
  margin-bottom: 18px;
}

.doctor-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 7px;
  justify-content: center;
}

.doctor-tag {
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  background: rgba(91,182,214,0.08);
  border: 1px solid rgba(91,182,214,0.15);
  color: var(--text-secondary);
}

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonials-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 32px 28px;
  position: relative;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: '\201C';
  position: absolute;
  top: 16px; left: 24px;
  font-size: 5rem;
  font-family: Georgia, serif;
  color: rgba(91,182,214,0.12);
  line-height: 1;
  pointer-events: none;
}

.testimonial-card:hover {
  border-color: rgba(91,182,214,0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.star-rating {
  display: flex;
  gap: 3px;
  margin-bottom: 16px;
  color: #f59e0b;
  font-size: 0.85rem;
}

.testimonial-text {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 22px;
  flex: 1;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
  border-top: 1px solid var(--border-glass);
  padding-top: 16px;
}

.author-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary-dark), rgba(91,182,214,0.4));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: #fff;
  font-weight: 700;
  flex-shrink: 0;
}

.author-name {
  font-size: 0.9rem;
  font-weight: 700;
  color: #fff;
  display: block;
}

.author-loc {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
  margin-top: 1px;
}

/* ============================================================
   APPOINTMENT FORM
   ============================================================ */
.appointment-section {
  background: var(--bg-dark2);
  position: relative;
  overflow: hidden;
}

.form-glass-wrap {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 48px 44px;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.form-glass-wrap::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--primary), transparent);
}

.form-label {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
  display: block;
}

.form-control,
.form-select {
  background: rgba(255,255,255,0.04) !important;
  border: 1px solid var(--border-glass) !important;
  color: #fff !important;
  border-radius: var(--radius-sm) !important;
  padding: 13px 16px !important;
  font-family: var(--font-main);
  font-size: 0.88rem;
  transition: var(--transition);
}

.form-control::placeholder { color: var(--text-muted) !important; }

.form-control:focus,
.form-select:focus {
  background: rgba(91,182,214,0.05) !important;
  border-color: rgba(91,182,214,0.4) !important;
  box-shadow: 0 0 0 3px rgba(91,182,214,0.1) !important;
  color: #fff !important;
  outline: none;
}

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

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

.btn-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 14px 40px;
  border-radius: var(--radius-btn);
  border: none;
  cursor: pointer;
  width: 100%;
  box-shadow: 0 6px 24px rgba(91,182,214,0.3);
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(91,182,214,0.45);
}

.form-success {
  display: none;
  text-align: center;
  padding: 32px;
  background: rgba(34,197,94,0.08);
  border: 1px solid rgba(34,197,94,0.2);
  border-radius: var(--radius-sm);
  margin-top: 20px;
}

.form-success.show { display: block; }

.form-success .success-icon {
  font-size: 2.5rem;
  color: #22c55e;
  margin-bottom: 12px;
}

.form-success h5 {
  font-weight: 700;
  color: #22c55e;
  margin-bottom: 8px;
}

.form-success p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  margin: 0;
}

/* ============================================================
   LOCATION CARDS
   ============================================================ */
.locations-section {
  background: var(--bg-dark);
  position: relative;
  overflow: hidden;
}

.location-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
  will-change: transform;
}

.location-card:hover {
  border-color: rgba(91,182,214,0.3);
  box-shadow: var(--shadow-glow), var(--shadow-card);
  transform: translateY(-5px);
}

.location-card-header {
  padding: 24px 24px 18px;
  background: linear-gradient(135deg, rgba(91,182,214,0.08), rgba(91,182,214,0.03));
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 14px;
}

.loc-icon {
  width: 46px; height: 46px;
  background: rgba(91,182,214,0.12);
  border: 1px solid rgba(91,182,214,0.25);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  color: var(--primary);
  flex-shrink: 0;
}

.loc-name {
  font-size: 1rem;
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
}

.loc-badge {
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--primary);
  background: rgba(91,182,214,0.1);
  border: 1px solid rgba(91,182,214,0.2);
  padding: 2px 9px;
  border-radius: var(--radius-btn);
  margin-top: 3px;
  display: inline-block;
}

.location-card-body { padding: 20px 24px; flex: 1; }

.location-detail-row {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  margin-bottom: 12px;
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.5;
}

.location-detail-row i {
  color: var(--primary);
  margin-top: 2px;
  flex-shrink: 0;
  font-size: 0.9rem;
}

.location-card-footer {
  padding: 16px 24px 24px;
  display: flex;
  gap: 10px;
}

.btn-loc-map {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 18px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
  flex: 1;
  justify-content: center;
}

.btn-loc-map:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  box-shadow: 0 4px 16px rgba(91,182,214,0.3);
}

.btn-loc-call {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: transparent;
  color: var(--primary);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 9px 16px;
  border-radius: var(--radius-btn);
  border: 1px solid rgba(91,182,214,0.3);
  transition: var(--transition);
  flex: 1;
  justify-content: center;
}

.btn-loc-call:hover {
  background: rgba(91,182,214,0.08);
  border-color: var(--primary);
  color: var(--primary);
}

/* ============================================================
   BLOG CARDS
   ============================================================ */
.blog-section {
  background: var(--bg-dark2);
  position: relative;
  overflow: hidden;
}

.blog-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  overflow: hidden;
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  border-color: rgba(91,182,214,0.2);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.blog-img-placeholder {
  width: 100%;
  height: 190px;
  background: linear-gradient(135deg, var(--bg-dark3), var(--bg-dark2));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.2rem;
  color: rgba(91,182,214,0.3);
  position: relative;
  overflow: hidden;
}

.blog-img-placeholder::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(91,182,214,0.05), transparent);
}

.blog-category {
  position: absolute;
  top: 14px; left: 14px;
  background: rgba(91,182,214,0.85);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: var(--radius-btn);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.blog-body { padding: 22px 20px; flex: 1; display: flex; flex-direction: column; }

.blog-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}

.blog-meta span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.75rem;
  color: var(--text-muted);
}

.blog-title {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.4;
  transition: var(--transition);
}

.blog-card:hover .blog-title { color: var(--primary); }

.blog-excerpt {
  font-size: 0.82rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 18px;
  flex: 1;
}

.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}

.blog-read-more:hover { gap: 10px; color: var(--accent); }

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #030a12;
  position: relative;
  overflow: hidden;
  padding: 70px 0 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}

.footer-logo { height: 50px; width: auto; margin-bottom: 18px; }

.footer-about {
  font-size: 0.83rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 22px;
  max-width: 280px;
}

.social-icons { display: flex; gap: 10px; }

.social-icon {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  color: var(--text-secondary);
  transition: var(--transition);
}

.social-icon:hover {
  background: rgba(91,182,214,0.1);
  border-color: rgba(91,182,214,0.35);
  color: var(--primary);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(91,182,214,0.2);
}

.footer-heading {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  color: var(--primary);
  margin-bottom: 20px;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.footer-links li a {
  font-size: 0.83rem;
  color: var(--text-secondary);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-links li a::before {
  content: '';
  width: 5px; height: 5px;
  border-radius: 50%;
  background: rgba(91,182,214,0.3);
  flex-shrink: 0;
  transition: var(--transition);
}

.footer-links li a:hover { color: var(--primary); }
.footer-links li a:hover::before { background: var(--primary); }

/* Footer branch sections */
.footer-branch {
  margin-bottom: 18px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.footer-branch:last-child { border-bottom: none; margin-bottom: 0; }

.footer-branch-name {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-branch-name i { font-size: 0.8rem; }

.footer-branch-addr {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.55;
  margin-bottom: 8px;
}

.footer-branch-links {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-branch-links a {
  font-size: 0.76rem;
  font-weight: 600;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 5px;
  transition: var(--transition);
}

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

/* Footer bottom */
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.05);
  margin-top: 50px;
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom span {
  font-size: 0.78rem;
  color: var(--text-muted);
}

/* ============================================================
   MOBILE STICKY BAR
   ============================================================ */
.mobile-sticky-bar {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  z-index: 9999;
  display: flex;
  background: rgba(6,13,23,0.95);
  backdrop-filter: blur(15px);
  border-top: 1px solid var(--border-glass);
  padding: 8px;
  gap: 6px;
}

.sticky-call,
.sticky-whatsapp,
.sticky-book {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 8px 6px;
  border-radius: 12px;
  transition: var(--transition);
  letter-spacing: 0.3px;
}

.sticky-call {
  background: rgba(91,182,214,0.12);
  color: var(--primary);
  border: 1px solid rgba(91,182,214,0.2);
}

.sticky-call:hover { background: rgba(91,182,214,0.22); color: var(--primary); }

.sticky-whatsapp {
  background: rgba(37,211,102,0.1);
  color: #25d366;
  border: 1px solid rgba(37,211,102,0.2);
}

.sticky-whatsapp:hover { background: rgba(37,211,102,0.2); color: #25d366; }

.sticky-book {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
  border: none;
}

.sticky-book:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
}

.sticky-call i,
.sticky-whatsapp i,
.sticky-book i { font-size: 1rem; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  position: relative;
  padding: 150px 0 80px;
  background: linear-gradient(135deg, var(--bg-dark) 0%, var(--bg-dark2) 100%);
  overflow: hidden;
  border-bottom: 1px solid var(--border-glass);
}

.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 70% 50%, rgba(91,182,214,0.08), transparent 60%);
}

.page-hero-content { position: relative; z-index: 1; }

.breadcrumb-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.82rem;
}

.breadcrumb-nav a { color: var(--primary); }
.breadcrumb-nav span { color: var(--text-muted); }
.breadcrumb-nav .separator { color: rgba(255,255,255,0.2); }

.page-hero-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: #fff;
  line-height: 1.2;
  margin-bottom: 16px;
  letter-spacing: -0.02em;
}

.page-hero-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 560px;
  line-height: 1.75;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 30px 24px;
  text-align: center;
  transition: var(--transition);
}

.contact-card:hover {
  border-color: rgba(91,182,214,0.25);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.contact-card-icon {
  width: 64px; height: 64px;
  border-radius: 50%;
  background: rgba(91,182,214,0.1);
  border: 1px solid rgba(91,182,214,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--primary);
  margin: 0 auto 18px;
}

.contact-card h5 {
  font-size: 1rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
}

.contact-card p,
.contact-card a {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  display: block;
  margin-bottom: 5px;
  transition: var(--transition);
}

.contact-card a:hover { color: var(--primary); }

.emergency-box {
  background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(239,68,68,0.04));
  border: 1px solid rgba(239,68,68,0.2);
  border-radius: var(--radius-card);
  padding: 32px;
  text-align: center;
}

.emergency-box h4 { color: #ef4444; font-weight: 800; margin-bottom: 10px; }

.emergency-box p {
  color: var(--text-secondary);
  font-size: 0.88rem;
  margin-bottom: 16px;
}

.btn-emergency {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ef4444;
  color: #fff;
  font-weight: 700;
  font-size: 1rem;
  padding: 13px 30px;
  border-radius: var(--radius-btn);
  transition: var(--transition);
}

.btn-emergency:hover {
  background: #dc2626;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(239,68,68,0.35);
}

/* ============================================================
   TREATMENT / SERVICE DETAIL PAGES
   ============================================================ */
.treatment-section {
  background: var(--bg-dark);
  position: relative;
}

.content-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 36px 32px;
  margin-bottom: 28px;
}

.content-card h3 {
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
}

.content-card p {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 14px;
}

.content-card p:last-child { margin-bottom: 0; }

.checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 0;
}

.checklist li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.55;
}

.checklist li i {
  color: var(--primary);
  font-size: 0.85rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.step-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 22px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  transition: var(--transition);
  margin-bottom: 14px;
}

.step-card:hover {
  border-color: rgba(91,182,214,0.2);
  transform: translateX(6px);
}

.step-num-large {
  width: 44px; height: 44px;
  min-width: 44px;
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 800;
  color: #fff;
  flex-shrink: 0;
}

.step-card-text h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 5px;
}

.step-card-text p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* Recovery timeline */
.timeline {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 21px; top: 0; bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, var(--primary), transparent);
}

.timeline-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
  padding: 0 0 26px 0;
  position: relative;
}

.timeline-dot {
  width: 44px; height: 44px;
  min-width: 44px;
  border-radius: 50%;
  background: var(--bg-dark2);
  border: 2px solid var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  position: relative;
  z-index: 1;
  flex-shrink: 0;
}

.timeline-content { flex: 1; padding-top: 8px; }

.timeline-content h5 {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 5px;
}

.timeline-content p {
  font-size: 0.83rem;
  color: var(--text-secondary);
  margin: 0;
  line-height: 1.55;
}

/* FAQ Accordion */
.faq-accordion .accordion-item {
  background: var(--bg-card);
  border: 1px solid var(--border-glass) !important;
  border-radius: var(--radius-sm) !important;
  margin-bottom: 10px;
  overflow: hidden;
}

.faq-accordion .accordion-button {
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 18px 22px;
  border: none;
  box-shadow: none;
  font-family: var(--font-main);
}

.faq-accordion .accordion-button:not(.collapsed) {
  background: rgba(91,182,214,0.06);
  color: var(--primary);
  box-shadow: none;
}

.faq-accordion .accordion-button::after {
  filter: brightness(0) saturate(100%) invert(62%) sepia(60%) saturate(400%) hue-rotate(171deg);
}

.faq-accordion .accordion-body {
  background: transparent;
  padding: 0 22px 20px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* Sidebar */
.sidebar-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 28px 24px;
  margin-bottom: 24px;
}

.sidebar-card h5 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--border-glass);
}

.sidebar-contact-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 14px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.sidebar-contact-row i {
  color: var(--primary);
  font-size: 1rem;
  flex-shrink: 0;
}

.sidebar-contact-row a { color: var(--primary); font-weight: 600; }
.sidebar-contact-row a:hover { color: var(--accent); }

.btn-sidebar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 12px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  transition: var(--transition);
  margin-top: 8px;
  border: 1px solid transparent;
  font-family: var(--font-main);
  cursor: pointer;
}

.btn-sidebar-primary {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  color: #fff;
}

.btn-sidebar-primary:hover {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #fff;
  transform: translateY(-2px);
}

.btn-sidebar-whatsapp {
  background: rgba(37,211,102,0.1);
  border-color: rgba(37,211,102,0.25);
  color: #25d366;
}

.btn-sidebar-whatsapp:hover {
  background: rgba(37,211,102,0.18);
  color: #25d366;
}

/* ============================================================
   CONDITION CARDS (Retina page etc)
   ============================================================ */
.condition-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 24px 22px;
  height: 100%;
  transition: var(--transition);
}

.condition-card:hover {
  border-color: rgba(91,182,214,0.2);
  transform: translateY(-4px);
}

.condition-card-icon {
  width: 46px; height: 46px;
  background: rgba(91,182,214,0.08);
  border: 1px solid rgba(91,182,214,0.15);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  color: var(--primary);
  margin-bottom: 14px;
}

.condition-card h5 {
  font-size: 0.93rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.condition-card p {
  font-size: 0.81rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

/* Warning signs section */
.warning-signs {
  background: rgba(239,68,68,0.04);
  border: 1px solid rgba(239,68,68,0.12);
  border-radius: var(--radius-card);
  padding: 32px;
}

.warning-signs h4 { color: #ef4444; font-weight: 700; margin-bottom: 6px; }
.warning-signs .subtitle { color: var(--text-secondary); font-size: 0.88rem; margin-bottom: 22px; }

.warning-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px;
}

.warning-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: rgba(239,68,68,0.06);
  border: 1px solid rgba(239,68,68,0.1);
  border-radius: var(--radius-sm);
  font-size: 0.83rem;
  color: var(--text-secondary);
}

.warning-item i { color: #ef4444; font-size: 0.9rem; flex-shrink: 0; }

/* ============================================================
   LOCATIONS PAGE (full)
   ============================================================ */
.loc-full-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  overflow: hidden;
  margin-bottom: 40px;
  transition: var(--transition);
}

.loc-full-card:hover {
  border-color: rgba(91,182,214,0.25);
  box-shadow: var(--shadow-glow);
}

.loc-full-header {
  padding: 28px 32px;
  background: linear-gradient(135deg, rgba(91,182,214,0.08), transparent);
  border-bottom: 1px solid var(--border-glass);
  display: flex;
  align-items: center;
  gap: 16px;
}

.loc-full-icon {
  width: 54px; height: 54px;
  background: rgba(91,182,214,0.12);
  border: 1px solid rgba(91,182,214,0.25);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  color: var(--primary);
  flex-shrink: 0;
}

.loc-full-title {
  font-size: 1.2rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 3px;
}

.loc-full-state {
  font-size: 0.8rem;
  color: var(--text-secondary);
}

.loc-full-body {
  padding: 28px 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.loc-detail-group h6 {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 8px;
}

.loc-detail-group p {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin: 0;
}

.loc-full-footer {
  padding: 16px 32px 28px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ============================================================
   REVEAL ANIMATIONS
   ============================================================ */
.reveal-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-left {
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-right {
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.reveal-scale {
  opacity: 0;
  transform: scale(0.85);
  transition: opacity 0.7s cubic-bezier(0.4,0,0.2,1),
              transform 0.7s cubic-bezier(0.4,0,0.2,1);
}

.revealed {
  opacity: 1 !important;
  transform: none !important;
}

/* Stagger delays */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* ============================================================
   KEYFRAME ANIMATIONS
   ============================================================ */
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 10px rgba(91,182,214,0.4); transform: scale(1); }
  50%       { box-shadow: 0 0 24px rgba(91,182,214,0.7); transform: scale(1.06); }
}

@keyframes loadBar {
  0%   { width: 0%; }
  30%  { width: 45%; }
  60%  { width: 72%; }
  85%  { width: 90%; }
  100% { width: 100%; }
}

@keyframes eyeBlink {
  0%, 45%, 100% { transform: scaleY(1); }
  50%           { transform: scaleY(0.05); }
}

@keyframes eyeBlinkBottom {
  0%, 45%, 100% { transform: scaleY(1); }
  50%           { transform: scaleY(0.05); }
}

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

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.text-primary-custom { color: var(--primary) !important; }

.text-primary-glow {
  color: var(--primary);
  text-shadow: 0 0 30px rgba(91,182,214,0.45);
}

.text-gradient {
  background: linear-gradient(135deg, var(--primary), var(--accent));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-dark-custom { background: var(--bg-dark); }
.bg-dark2-custom { background: var(--bg-dark2); }

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(10px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
}

.glow-border { border-color: rgba(91,182,214,0.3) !important; }
.glow-shadow { box-shadow: var(--shadow-glow) !important; }

.section-divider {
  width: 60px; height: 3px;
  background: linear-gradient(90deg, var(--primary), transparent);
  border-radius: 2px;
  margin: 16px auto 0;
}

/* Override Bootstrap */
.container { max-width: 1180px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
  section { padding: 70px 0; }

  .hero-title { font-size: clamp(2rem, 6vw, 3.2rem); }

  .surgery-tab-panel.active {
    flex-direction: column;
    gap: 32px;
  }

  .surgery-tab-panel .diagram-col {
    min-width: unset;
    width: 100%;
    max-width: 260px;
    margin: 0 auto;
  }

  .form-glass-wrap { padding: 32px 24px; }

  .loc-full-body { grid-template-columns: 1fr; }

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

@media (max-width: 767.98px) {
  section { padding: 55px 0; }

  .stats-bar { padding: 28px 0; }

  .stat-item + .stat-item::before { display: none; }

  .hero-badge { font-size: 0.72rem; padding: 6px 12px; }

  .hero-buttons { flex-direction: column; }
  .btn-primary-3d, .btn-whatsapp { width: 100%; justify-content: center; }

  .hero-trust { gap: 12px; }
  .hero-trust span { font-size: 0.78rem; }

  .surgery-tabs { flex-wrap: wrap; width: 100%; }
  .surgery-tab-btn { flex: 1; min-width: 80px; padding: 9px 16px; font-size: 0.82rem; }

  .service-card-3d-wrap { height: 260px; }
  .card-front, .card-back { padding: 22px 18px; }

  .doctor-card { padding: 24px 18px; }

  .form-glass-wrap { padding: 24px 18px; }

  .loc-full-header { padding: 22px 20px; }
  .loc-full-body { padding: 20px; }
  .loc-full-footer { padding: 12px 20px 22px; }

  .footer { padding: 50px 0 0; }

  body { padding-bottom: 72px; }
}

@media (max-width: 575.98px) {
  .section-title { font-size: 1.6rem; }
  .page-hero { padding: 120px 0 60px; }
  .page-hero-title { font-size: 1.8rem; }

  .hero-3d-float { width: 300px; height: 300px; }
  .ring-2 { width: 280px; height: 280px; }

  .testimonial-card { padding: 24px 18px; }

  .footer-branch-links { flex-direction: column; gap: 6px; }
}

/* Prevent layout shift while loading */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* ── Value Cards (About page) — base dark-mode styles ─────── */
.value-card {
  background: var(--bg-card);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-card);
  padding: 32px 24px;
  height: 100%;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.value-card:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-glass-hover);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.value-icon {
  width: 52px; height: 52px; border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  background: rgba(91,182,214,0.12); border: 1px solid rgba(91,182,214,0.22);
  color: var(--primary); font-size: 1.4rem; flex-shrink: 0;
}
.value-card h3 {
  font-size: 1.05rem; font-weight: 700; color: var(--text-primary); margin: 0;
}
.value-card p {
  font-size: 0.85rem; color: var(--text-secondary); line-height: 1.65; margin: 0;
}

/* ============================================================
   LIGHT THEME — AUTO-ACTIVATES WHEN DEVICE IS IN LIGHT MODE
   Uses CSS prefers-color-scheme so no JS toggle needed.
   ============================================================ */
@media (prefers-color-scheme: light) {

  /* ── CSS Variables Override ─────────────────────────────── */
  :root {
    --bg-dark:           #f0f8ff;
    --bg-dark2:          #e4f2fc;
    --bg-dark3:          #d5e9f8;
    --bg-card:           rgba(255,255,255,0.82);
    --bg-card-hover:     rgba(255,255,255,0.98);
    --border-glass:      rgba(91,182,214,0.18);
    --border-glass-hover:rgba(91,182,214,0.45);
    --text-primary:      #1b2d42;
    --text-secondary:    #3d5570;
    --text-muted:        #6a7f95;
    --white:             #1b2d42;
    --shadow-glow:       0 0 32px rgba(91,182,214,0.14);
    --shadow-card:       0 4px 22px rgba(91,182,214,0.10), 0 1px 4px rgba(0,0,0,0.04);
    --shadow-hover:      0 12px 40px rgba(91,182,214,0.16), 0 4px 12px rgba(0,0,0,0.06);
  }

  /* ── Base ───────────────────────────────────────────────── */
  body { background: var(--bg-dark); color: var(--text-primary); }
  ::selection { background: rgba(91,182,214,0.28); color: var(--text-primary); }

  /* Scrollbar */
  ::-webkit-scrollbar-track { background: #deeefa; }
  ::-webkit-scrollbar-thumb { background: rgba(91,182,214,0.5); }
  ::-webkit-scrollbar-thumb:hover { background: var(--primary); }

  /* ── Page Loader ────────────────────────────────────────── */
  .page-loader {
    background: #f0f8ff;
  }
  .loader-bar {
    background: rgba(91,182,214,0.15);
  }
  .loader-pupil { background: #f0f8ff; }
  .loader-text {
    background: linear-gradient(90deg, var(--text-secondary), var(--primary), var(--text-secondary));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
  }

  /* ── Custom Cursor ──────────────────────────────────────── */
  .cursor-ring { border-color: rgba(91,182,214,0.5); }

  /* ── Navbar ─────────────────────────────────────────────── */
  .navbar.scrolled {
    background: rgba(240,248,255,0.96) !important;
    border-bottom-color: rgba(91,182,214,0.14);
    box-shadow: 0 2px 20px rgba(91,182,214,0.10);
  }
  .nav-link { color: rgba(27,45,66,0.82) !important; }
  .nav-link:hover,
  .nav-link.active-link { color: var(--primary) !important; }
  .navbar-toggler {
    border-color: rgba(91,182,214,0.25);
    background: rgba(91,182,214,0.06);
  }
  .navbar-toggler-icon { filter: none; }

  /* Dropdown */
  .dropdown-menu {
    background: rgba(242,250,255,0.99);
    border-color: rgba(91,182,214,0.16);
    box-shadow: 0 8px 32px rgba(91,182,214,0.14);
  }
  .dropdown-item { color: var(--text-secondary); }
  .dropdown-item:hover { background: rgba(91,182,214,0.08); }

  /* ── Shape Orbs ─────────────────────────────────────────── */
  .shape-orb-1 {
    background: radial-gradient(circle, rgba(91,182,214,0.14), transparent 70%);
  }
  .shape-orb-2 {
    background: radial-gradient(circle, rgba(91,182,214,0.10), transparent 70%);
  }
  .shape-orb-3 {
    background: radial-gradient(circle, rgba(91,182,214,0.08), transparent 70%);
  }

  /* ── Hero ───────────────────────────────────────────────── */
  .hero-section { background: var(--bg-dark); }
  .hero-overlay {
    background: linear-gradient(135deg,
      rgba(240,248,255,0.92) 0%,
      rgba(240,248,255,0.72) 50%,
      rgba(240,248,255,0.45) 100%);
  }
  .hero-title { color: var(--text-primary); }
  .hero-title .highlight { color: var(--primary); }
  .hero-subtitle { color: var(--text-secondary); }
  .hero-trust span { color: var(--text-secondary); }
  .scroll-indicator span { color: var(--text-muted); }

  /* Hero Float Card */
  .hero-float-card {
    background: rgba(255,255,255,0.88);
    border-color: rgba(91,182,214,0.22);
    box-shadow: 0 20px 60px rgba(91,182,214,0.14);
  }
  .float-label { color: var(--text-secondary); }

  /* ── Stats Bar ──────────────────────────────────────────── */
  .stats-bar {
    background: rgba(255,255,255,0.6);
    border-color: rgba(91,182,214,0.12);
  }
  .stats-bar::before {
    background: linear-gradient(90deg, transparent, rgba(91,182,214,0.05), transparent);
  }
  .stat-label { color: var(--text-secondary); }
  .stat-item + .stat-item::before { background: rgba(91,182,214,0.18); }

  /* Stats circle (why section) */
  .stats-circle {
    background: conic-gradient(var(--primary) 0deg 270deg, rgba(91,182,214,0.12) 270deg);
  }
  .stats-circle-inner { background: var(--bg-dark2); }
  .stats-circle-inner .lbl { color: var(--text-secondary); }

  /* ── Section Headers ────────────────────────────────────── */
  .section-title { color: var(--text-primary); }
  .section-subtitle { color: var(--text-secondary); }
  .section-desc { color: var(--text-secondary); }

  /* ── Services — 3D Flip Cards ───────────────────────────── */
  .card-front {
    background: rgba(255,255,255,0.88);
    border-color: rgba(91,182,214,0.16);
  }
  .card-front::before {
    background: linear-gradient(135deg, rgba(91,182,214,0.06) 0%, transparent 60%);
  }
  .card-front h4 { color: var(--text-primary); }
  .card-front p  { color: var(--text-secondary); }
  .card-back {
    background: linear-gradient(135deg, #c8e6f7, #d8f0fb);
    border-color: rgba(91,182,214,0.25);
  }
  .card-back h4 { color: var(--primary-dark); }
  .card-back p  { color: var(--text-secondary); }
  .card-back .card-link { color: var(--primary-dark); }

  /* ── Why Choose Us ──────────────────────────────────────── */
  .why-section { background: var(--bg-dark2); }
  .feature-item {
    background: rgba(255,255,255,0.72);
    border-color: rgba(91,182,214,0.14);
  }
  .feature-item:hover {
    background: rgba(255,255,255,0.96);
    border-color: rgba(91,182,214,0.28);
  }
  .feature-text h5 { color: var(--text-primary); }
  .feature-text p  { color: var(--text-secondary); }

  /* Branch mini map */
  .branch-mini-map { background: rgba(255,255,255,0.72); }
  .branch-mini-map:hover { background: rgba(255,255,255,0.96); }

  /* ── Surgery Explainer ──────────────────────────────────── */
  .surgery-section { background: var(--bg-dark); }
  .surgery-tabs {
    background: rgba(255,255,255,0.5);
    border-color: rgba(91,182,214,0.16);
  }
  .surgery-tab-btn { color: var(--text-secondary); }
  .surgery-tab-btn:hover:not(.active) {
    background: rgba(91,182,214,0.08);
    color: var(--primary);
  }

  .surgery-tab-panel .diagram-col {
    background: rgba(255,255,255,0.6);
    border-color: rgba(91,182,214,0.16);
  }

  .surgery-step {
    background: rgba(255,255,255,0.55);
    border-color: rgba(91,182,214,0.12);
  }
  .surgery-step.active {
    background: rgba(91,182,214,0.08);
    border-color: rgba(91,182,214,0.28);
  }
  .surgery-step:not(.active) .step-num {
    background: rgba(91,182,214,0.15);
    color: var(--primary);
  }
  .step-content h5 { color: var(--text-primary); }
  .step-content p  { color: var(--text-secondary); }

  /* ── Doctors ────────────────────────────────────────────── */
  .doctors-section { background: var(--bg-dark2); }
  .doctor-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.15);
  }
  .doctor-name { color: var(--text-primary); }
  .doctor-role { color: var(--text-secondary); }
  .doctor-tag  { color: var(--text-secondary); background: rgba(91,182,214,0.08); }

  /* ── Testimonials ───────────────────────────────────────── */
  .testimonials-section { background: var(--bg-dark); }
  .testimonial-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.15);
  }
  .testimonial-card::before { color: rgba(91,182,214,0.16); }
  .testimonial-text { color: var(--text-secondary); }
  .testimonial-author { border-top-color: rgba(91,182,214,0.14); }
  .author-name { color: var(--text-primary); }
  .author-loc  { color: var(--text-muted); }

  /* ── Locations (home page preview) ─────────────────────── */
  .location-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.15);
  }
  .location-card-header {
    background: linear-gradient(135deg, rgba(91,182,214,0.08), rgba(91,182,214,0.03));
    border-bottom-color: rgba(91,182,214,0.12);
  }
  .loc-name { color: var(--text-primary); }
  .location-detail-row { color: var(--text-secondary); }

  /* ── Appointment Form ───────────────────────────────────── */
  .appointment-section { background: var(--bg-dark2); }
  .form-glass-wrap {
    background: rgba(255,255,255,0.72);
    border-color: rgba(91,182,214,0.16);
    backdrop-filter: blur(12px);
  }
  .form-control,
  .form-select {
    background: rgba(255,255,255,0.85) !important;
    border-color: rgba(91,182,214,0.22) !important;
    color: var(--text-primary) !important;
  }
  .form-control::placeholder { color: var(--text-muted) !important; }
  .form-control:focus,
  .form-select:focus {
    background: #fff !important;
    border-color: rgba(91,182,214,0.5) !important;
    box-shadow: 0 0 0 3px rgba(91,182,214,0.12) !important;
    color: var(--text-primary) !important;
  }
  .form-select option {
    background: #f0f8ff;
    color: var(--text-primary);
  }
  .form-label { color: var(--text-secondary); }

  /* ── Blog ───────────────────────────────────────────────── */
  .blog-section { background: var(--bg-dark2); }
  .blog-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(91,182,214,0.14);
  }
  .blog-card:hover { border-color: rgba(91,182,214,0.28); }
  .blog-img-placeholder {
    background: linear-gradient(135deg, var(--bg-dark3), var(--bg-dark2));
    color: rgba(91,182,214,0.45);
  }
  .blog-img-placeholder::before {
    background: linear-gradient(135deg, rgba(91,182,214,0.06), transparent);
  }
  .blog-title { color: var(--text-primary); }
  .blog-card:hover .blog-title { color: var(--primary); }
  .blog-excerpt { color: var(--text-secondary); }
  .blog-meta span { color: var(--text-muted); }

  /* ── Contact Page Cards ─────────────────────────────────── */
  .contact-info-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.15);
  }
  .contact-card h5 { color: var(--text-primary); }
  .contact-card p, .contact-card a { color: var(--text-secondary); }

  /* ── Glass Cards (utility) ──────────────────────────────── */
  .glass-card {
    background: rgba(255,255,255,0.78);
    border-color: rgba(91,182,214,0.16);
    backdrop-filter: blur(12px);
  }

  /* ── Page Hero (inner pages) ────────────────────────────── */
  .page-hero-inner {
    background: linear-gradient(160deg, var(--bg-dark2) 0%, var(--bg-dark) 100%);
  }
  .page-title { color: var(--text-primary); }
  .breadcrumb-custom a { color: var(--primary); }
  .breadcrumb-custom .current,
  .breadcrumb-custom .sep { color: var(--text-muted); }

  /* ── Treatment / Service Detail Pages ──────────────────── */
  .treatment-section { background: var(--bg-dark); }
  .content-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.14);
  }
  .content-card h3 { color: var(--text-primary); }
  .content-card p  { color: var(--text-secondary); }

  .checklist li { color: var(--text-secondary); }

  .step-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.14);
  }
  .step-card:hover { border-color: rgba(91,182,214,0.28); }
  .step-card-text h5 { color: var(--text-primary); }
  .step-card-text p  { color: var(--text-secondary); }

  .timeline::before { background: linear-gradient(to bottom, var(--primary), transparent); }
  .timeline-dot {
    background: var(--bg-dark2);
    border-color: var(--primary);
  }
  .timeline-content p { color: var(--text-secondary); }

  /* FAQ Accordion */
  .faq-accordion .accordion-item {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.16) !important;
  }
  .faq-accordion .accordion-button {
    background: transparent;
    color: var(--text-primary);
  }
  .faq-accordion .accordion-button:not(.collapsed) {
    background: rgba(91,182,214,0.07);
    color: var(--primary);
  }
  .faq-accordion .accordion-body { color: var(--text-secondary); }

  /* Sidebar */
  .sidebar-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(91,182,214,0.15);
  }
  .sidebar-card h5 {
    color: var(--text-primary);
    border-bottom-color: rgba(91,182,214,0.14);
  }
  .sidebar-contact-row { color: var(--text-secondary); }

  /* Condition cards */
  .condition-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.14);
  }
  .condition-card h5 { color: var(--text-primary); }
  .condition-card p  { color: var(--text-secondary); }

  /* About / blog timeline */
  .about-timeline-item { border-left-color: rgba(91,182,214,0.25); }

  /* Locations full-page cards */
  .loc-full-card {
    background: rgba(255,255,255,0.82);
    border-color: rgba(91,182,214,0.14);
  }
  .loc-full-header {
    background: linear-gradient(135deg, rgba(91,182,214,0.07), transparent);
    border-bottom-color: rgba(91,182,214,0.12);
  }
  .loc-full-title { color: var(--text-primary); }
  .loc-full-state { color: var(--text-secondary); }
  .loc-detail-group p { color: var(--text-secondary); }

  /* Location detail rows (inline on pages) */
  .info-row { border-bottom-color: rgba(91,182,214,0.10); }
  .info-value { color: var(--text-secondary); }
  .info-value a { color: var(--text-secondary); }

  /* Branch section (locations page) */
  .branch-info-card {
    background: rgba(255,255,255,0.85);
    border-color: rgba(91,182,214,0.16);
  }
  .reach-card {
    background: rgba(255,255,255,0.65);
    border-color: rgba(91,182,214,0.12);
  }
  .reach-card:hover {
    background: rgba(255,255,255,0.95);
    border-color: rgba(91,182,214,0.28);
  }
  .reach-card h5 { color: var(--text-primary); }
  .reach-card p  { color: var(--text-secondary); }

  /* Map embed wrapper */
  .map-wrap { border-color: rgba(91,182,214,0.18); }
  .map-embed-wrap { border-color: rgba(91,182,214,0.18); }

  /* ── Footer — intentionally dark for contrast ───────────── */
  /* Footer stays dark even in light mode — logo-white.svg is designed for dark bg */
  .footer {
    background: #0d1e30;
    border-top-color: rgba(91,182,214,0.12);
  }
  /* Re-apply original dark-mode text colors inside footer so they stay readable */
  .footer .footer-heading    { color: var(--primary); }
  .footer .footer-about      { color: #94a3b8; }
  .footer .footer-links li a { color: #94a3b8; }
  .footer .footer-branch-addr{ color: #94a3b8; }
  .footer .footer-branch-links a { color: #64748b; }
  .footer .footer-bottom     { color: #64748b; border-top-color: rgba(255,255,255,0.07); }
  .footer .footer-bottom a   { color: #64748b; }
  .footer .footer-branch-name{ color: var(--primary); }
  .footer .footer-contact-item{ color: #94a3b8; }

  /* ── Mobile Sticky Bar ──────────────────────────────────── */
  .mobile-sticky-bar {
    background: rgba(240,248,255,0.97);
    border-top-color: rgba(91,182,214,0.14);
    backdrop-filter: blur(16px);
  }
  .sticky-call {
    background: rgba(91,182,214,0.12);
    border-color: rgba(91,182,214,0.22);
    color: var(--primary);
  }

  /* ── Misc Text that was hardcoded #fff ──────────────────── */
  .loc-name          { color: var(--text-primary); }
  .loc-badge         { background: rgba(91,182,214,0.1); }
  .float-num         { color: var(--primary); }
  .section-tag       { background: rgba(91,182,214,0.08); }
  .hero-badge        { background: rgba(91,182,214,0.1); }
  .badge-dot         { background: var(--primary); }

  /* Text-primary-glow spans (inline heading highlights) */
  .text-primary-glow {
    color: var(--primary);
    text-shadow: 0 0 24px rgba(91,182,214,0.3);
  }

  /* Map glow overlay */
  .map-glow {
    background: radial-gradient(circle, rgba(91,182,214,0.10) 0%, transparent 70%);
  }

  /* Loc stat row on locations hero */
  .loc-stat {
    background: rgba(255,255,255,0.65);
    border-color: rgba(91,182,214,0.18);
  }
  .loc-stat-lbl { color: var(--text-muted); }

  /* Branch section divider */
  .branch-divider {
    background: linear-gradient(90deg, transparent, rgba(91,182,214,0.22), transparent);
  }

  /* Branch section background alternation in light mode */
  .branch-section { background: var(--bg-dark); }
  .branch-section:nth-child(even) { background: var(--bg-dark2); }

  /* About page timeline */
  .timeline-item .timeline-dot { background: var(--bg-dark2); }

  /* Blog cards section-bg */
  .bg-dark-custom  { background: var(--bg-dark); }
  .bg-dark2-custom { background: var(--bg-dark2); }

  /* Emergency box — stays red-tinted */
  .emergency-box {
    background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(239,68,68,0.03));
  }

  /* Warning signs */
  .warning-signs {
    background: rgba(239,68,68,0.04);
    border-color: rgba(239,68,68,0.12);
  }
  .warning-item {
    background: rgba(239,68,68,0.04);
    color: var(--text-secondary);
  }

  /* Override any inline bg-dark hardcoded in sections */
  [style*="background:var(--bg-dark)"],
  [style*="background: var(--bg-dark)"] {
    background: var(--bg-dark) !important;
  }
  [style*="background:linear-gradient(180deg,var(--bg-dark)"],
  [style*="background: linear-gradient(180deg,var(--bg-dark)"] {
    background: linear-gradient(180deg, var(--bg-dark2), var(--bg-dark)) !important;
  }

}

/* ============================================================
   DAY THEME — COLORFUL ILLUSTRATIONS & VIVID SECTION STYLING
   Append-only block. Uses prefers-color-scheme: light.
   ============================================================ */

/* Day-only elements now visible in BOTH themes — styled for dark bg by default */
.day-only { display: block; }

/* Hide the orbit/3d-float in dark mode — SVG eye replaces it */
.hero-3d-float { display: none !important; }

/* Hero SVG eye — dark mode */
.day-hero-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.day-hero-visual svg {
  filter: drop-shadow(0 20px 60px rgba(91,182,214,0.35));
  max-width: 460px;
  width: 100%;
  animation: float3D 5s ease-in-out infinite;
}

/* Cataract before/after banner — dark mode adaptation */
.day-cataract-banner {
  display: block;
  background: rgba(91,182,214,0.04);
  border: 1px solid rgba(91,182,214,0.14);
  border-radius: 24px;
  padding: 32px 24px;
  margin-bottom: 40px;
  text-align: center;
}
.day-cataract-banner h3 { font-size:1.1rem; font-weight:700; color:var(--white); margin-bottom:6px; }
.day-cataract-banner p  { font-size:0.82rem; color:var(--text-muted); margin-bottom:20px; }

/* About hospital illustration — dark mode adaptation */
.day-about-visual {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  margin-bottom: 24px;
}
.day-about-visual svg {
  max-width: 420px; width: 100%;
  filter: drop-shadow(0 12px 40px rgba(91,182,214,0.25));
  animation: float3D 5s ease-in-out infinite;
}

@media (prefers-color-scheme: light) {

  /* Show / hide day-only vs dark-only */
  .day-only { display: block !important; }
  .dark-only { display: none !important; }
  .hero-3d-float { display: none !important; }
  .day-hero-visual {
    display: flex !important;
    align-items: center;
    justify-content: center;
    width: 100%;
  }
  .day-hero-visual svg {
    filter: drop-shadow(0 20px 48px rgba(91,182,214,0.22));
    max-width: 460px;
    width: 100%;
    animation: float3D 5s ease-in-out infinite;
  }

  /* ── Colorful hero gradient ─────────────────────── */
  .hero-section {
    background: linear-gradient(155deg, #e3f4fe 0%, #fef5e8 40%, #f2ecff 100%) !important;
  }
  .hero-overlay {
    background: linear-gradient(135deg,
      rgba(230,245,255,0.88) 0%,
      rgba(255,248,236,0.72) 50%,
      rgba(242,236,255,0.55) 100%) !important;
  }

  /* ── Colorful section backgrounds ──────────────── */
  .services-section    { background: linear-gradient(150deg,#fffdf5 0%,#f0f9ff 100%) !important; }
  .why-section         { background: linear-gradient(150deg,#f0fdf6 0%,#eaf4fb 100%) !important; }
  .surgery-section     { background: linear-gradient(150deg,#fdf3ff 0%,#f4f9ff 100%) !important; }
  .doctors-section     { background: linear-gradient(150deg,#fffdf0 0%,#f0f9ff 100%) !important; }
  .testimonials-section{ background: linear-gradient(150deg,#f2fff5 0%,#fdf3ff 100%) !important; }
  .appointment-section { background: linear-gradient(150deg,#f3f0ff 0%,#f0f9ff 100%) !important; }
  .blog-section        { background: linear-gradient(150deg,#fffbf0 0%,#f0f9ff 100%) !important; }
  .treatment-section   { background: linear-gradient(150deg,#f7f4ff 0%,#f0f9ff 100%) !important; }
  .page-hero-inner {
    background: linear-gradient(135deg,#e3f4fe 0%,#fef3e8 55%,#f0ecff 100%) !important;
  }

  /* ── Stats bar rainbow ──────────────────────────── */
  .stats-bar {
    background: linear-gradient(90deg,#fff9f0,#f0f9ff,#f5f0ff,#f0fff5) !important;
  }
  .stat-item:nth-child(1) .stat-num { color:#FF8C42 !important; text-shadow:0 0 20px rgba(255,140,66,0.25) !important; }
  .stat-item:nth-child(2) .stat-num { color:#9B59B6 !important; text-shadow:0 0 20px rgba(155,89,182,0.25) !important; }
  .stat-item:nth-child(3) .stat-num { color:#27AE60 !important; text-shadow:0 0 20px rgba(39,174,96,0.25) !important; }
  .stat-item:nth-child(4) .stat-num { color:#5BB6D6 !important; text-shadow:0 0 20px rgba(91,182,214,0.25) !important; }

  /* ── Service flip cards — per-treatment colors ─── */
  .services-section .row > div:nth-child(1) .card-front { border-top:4px solid #FF8C42; }
  .services-section .row > div:nth-child(1) .card-icon  { background:rgba(255,140,66,.10);border-color:rgba(255,140,66,.28);color:#e07228; }
  .services-section .row > div:nth-child(1) .card-back  { background:linear-gradient(135deg,#fff6ee,#ffecd8); }

  .services-section .row > div:nth-child(2) .card-front { border-top:4px solid #9B59B6; }
  .services-section .row > div:nth-child(2) .card-icon  { background:rgba(155,89,182,.10);border-color:rgba(155,89,182,.28);color:#8e44ad; }
  .services-section .row > div:nth-child(2) .card-back  { background:linear-gradient(135deg,#f7edff,#eedaff); }

  .services-section .row > div:nth-child(3) .card-front { border-top:4px solid #1ABC9C; }
  .services-section .row > div:nth-child(3) .card-icon  { background:rgba(26,188,156,.10);border-color:rgba(26,188,156,.28);color:#16a085; }
  .services-section .row > div:nth-child(3) .card-back  { background:linear-gradient(135deg,#e6fff8,#ccf5ec); }

  .services-section .row > div:nth-child(4) .card-front { border-top:4px solid #27AE60; }
  .services-section .row > div:nth-child(4) .card-icon  { background:rgba(39,174,96,.10);border-color:rgba(39,174,96,.28);color:#1e8449; }
  .services-section .row > div:nth-child(4) .card-back  { background:linear-gradient(135deg,#ecffee,#d5f5e0); }

  .services-section .row > div:nth-child(5) .card-front { border-top:4px solid #5BB6D6; }
  .services-section .row > div:nth-child(5) .card-icon  { background:rgba(91,182,214,.12);border-color:rgba(91,182,214,.28);color:#1a80b6; }
  .services-section .row > div:nth-child(5) .card-back  { background:linear-gradient(135deg,#e8f7ff,#cceeff); }

  .services-section .row > div:nth-child(6) .card-front { border-top:4px solid #E74C3C; }
  .services-section .row > div:nth-child(6) .card-icon  { background:rgba(231,76,60,.10);border-color:rgba(231,76,60,.28);color:#c0392b; }
  .services-section .row > div:nth-child(6) .card-back  { background:linear-gradient(135deg,#fff2f0,#ffe0dd); }

  .services-section .row > div:nth-child(7) .card-front { border-top:4px solid #F39C12; }
  .services-section .row > div:nth-child(7) .card-icon  { background:rgba(243,156,18,.10);border-color:rgba(243,156,18,.28);color:#d68910; }
  .services-section .row > div:nth-child(7) .card-back  { background:linear-gradient(135deg,#fffaec,#ffedbb); }

  .services-section .row > div:nth-child(8) .card-front { border-top:4px solid #E91E8C; }
  .services-section .row > div:nth-child(8) .card-icon  { background:rgba(233,30,140,.10);border-color:rgba(233,30,140,.28);color:#c2185b; }
  .services-section .row > div:nth-child(8) .card-back  { background:linear-gradient(135deg,#fff0f7,#ffd6ee); }

  .services-section .row > div:nth-child(9) .card-front { border-top:4px solid #3498DB; }
  .services-section .row > div:nth-child(9) .card-icon  { background:rgba(52,152,219,.10);border-color:rgba(52,152,219,.28);color:#2471a3; }
  .services-section .row > div:nth-child(9) .card-back  { background:linear-gradient(135deg,#edf7ff,#d5eeff); }

  /* Card back text readable in light backs */
  .services-section .card-back h4   { color:#1b2d42; }
  .services-section .card-back p    { color:#3d5570; }
  .services-section .card-back .card-link { color:var(--primary-dark); border-color:rgba(91,182,214,.35); }

  /* ── Why section feature icons — colorful ────── */
  .why-section .col-12:nth-child(1) .feature-icon { background:rgba(255,140,66,.10);border-color:rgba(255,140,66,.25);color:#e07228; }
  .why-section .col-12:nth-child(2) .feature-icon { background:rgba(91,182,214,.10);border-color:rgba(91,182,214,.25);color:#1a80b6; }
  .why-section .col-12:nth-child(3) .feature-icon { background:rgba(39,174,96,.10);border-color:rgba(39,174,96,.25);color:#1e8449; }
  .why-section .col-12:nth-child(4) .feature-icon { background:rgba(155,89,182,.10);border-color:rgba(155,89,182,.25);color:#8e44ad; }
  .why-section .col-12:nth-child(5) .feature-icon { background:rgba(243,156,18,.10);border-color:rgba(243,156,18,.25);color:#d68910; }
  .why-section .col-12:nth-child(6) .feature-icon { background:rgba(231,76,60,.10);border-color:rgba(231,76,60,.25);color:#c0392b; }

  /* ── Doctor card top borders ──────────────────── */
  .doctors-section .col-md-6.col-lg-4:nth-child(1) .doctor-card { border-top:4px solid #5BB6D6; }
  .doctors-section .col-md-6.col-lg-4:nth-child(2) .doctor-card { border-top:4px solid #9B59B6; }
  .doctors-section .col-md-6.col-lg-4:nth-child(3) .doctor-card { border-top:4px solid #27AE60; }

  /* ── Blog image placeholder gradients ────────── */
  .blog-section .col-md-6:nth-child(1) .blog-img-placeholder { background:linear-gradient(135deg,#ffecd8,#ffe0b2);color:#e07228; }
  .blog-section .col-md-6:nth-child(2) .blog-img-placeholder { background:linear-gradient(135deg,#e8f7ff,#b3e5fc);color:#1a80b6; }
  .blog-section .col-md-6:nth-child(3) .blog-img-placeholder { background:linear-gradient(135deg,#f3e5f5,#e1bee7);color:#8e44ad; }
  .blog-section .col-md-6:nth-child(4) .blog-img-placeholder { background:linear-gradient(135deg,#e8f5e9,#c8e6c9);color:#1e8449; }
  .blog-section .col-md-6:nth-child(5) .blog-img-placeholder { background:linear-gradient(135deg,#fff3e0,#ffe0b2);color:#d68910; }
  .blog-section .col-md-6:nth-child(6) .blog-img-placeholder { background:linear-gradient(135deg,#fce4ec,#f8bbd9);color:#c2185b; }

  /* ── Locations page — per-branch accent colors ─ */
  /* Bhiwadi = sky blue */
  #bhiwadi .branch-info-card    { border-top:4px solid #5BB6D6; }
  #bhiwadi .branch-badge        { background:rgba(91,182,214,.12);border-color:rgba(91,182,214,.35);color:#1a6fa0; }
  #bhiwadi .map-wrap            { border-color:rgba(91,182,214,.35);box-shadow:0 8px 32px rgba(91,182,214,.12); }
  #bhiwadi .branch-title        { color:#1b2d42; }

  /* Sri Ganganagar = emerald green */
  #sri-ganganagar .branch-info-card   { border-top:4px solid #27AE60; }
  #sri-ganganagar .branch-badge       { background:rgba(39,174,96,.12);border-color:rgba(39,174,96,.35);color:#1e8449; }
  #sri-ganganagar .branch-title span  { color:#1e8449 !important; }
  #sri-ganganagar .info-icon          { background:rgba(39,174,96,.10);border-color:rgba(39,174,96,.22);color:#27AE60; }
  #sri-ganganagar .branch-cta-call    { background:rgba(39,174,96,.10);border-color:rgba(39,174,96,.3);color:#1e8449; }
  #sri-ganganagar .branch-cta-call:hover { background:#27AE60;color:#fff; }
  #sri-ganganagar .map-wrap           { border-color:rgba(39,174,96,.35);box-shadow:0 8px 32px rgba(39,174,96,.10); }
  #sri-ganganagar .reach-card:hover   { border-color:rgba(39,174,96,.25); }

  /* Baghapurana = royal purple */
  #baghapurana .branch-info-card   { border-top:4px solid #9B59B6; }
  #baghapurana .branch-badge       { background:rgba(155,89,182,.12);border-color:rgba(155,89,182,.35);color:#8e44ad; }
  #baghapurana .branch-title span  { color:#8e44ad !important; }
  #baghapurana .info-icon          { background:rgba(155,89,182,.10);border-color:rgba(155,89,182,.22);color:#9B59B6; }
  #baghapurana .branch-cta-call    { background:rgba(155,89,182,.10);border-color:rgba(155,89,182,.3);color:#8e44ad; }
  #baghapurana .branch-cta-call:hover { background:#9B59B6;color:#fff; }
  #baghapurana .map-wrap           { border-color:rgba(155,89,182,.35);box-shadow:0 8px 32px rgba(155,89,182,.10); }
  #baghapurana .reach-card:hover   { border-color:rgba(155,89,182,.25); }

  /* Branch quick-jump card borders */
  .loc-jump-bhiwadi .glass-card     { border-top:4px solid #5BB6D6; }
  .loc-jump-ganganagar .glass-card  { border-top:4px solid #27AE60; }
  .loc-jump-punjab .glass-card      { border-top:4px solid #9B59B6; }

  /* ── Cataract day banner ─────────────────────── */
  .day-cataract-banner {
    display: block;
    background: linear-gradient(135deg,#fff8f0 0%,#f0f9ff 50%,#f5f0ff 100%);
    border-radius:24px;
    border:1px solid rgba(91,182,214,.2);
    padding:32px 24px;
    margin-bottom:40px;
    text-align:center;
  }
  .day-cataract-banner h3 {
    font-size:1.1rem;font-weight:700;color:#1b2d42;margin-bottom:6px;
  }
  .day-cataract-banner p {
    font-size:0.82rem;color:#3d5570;margin-bottom:20px;
  }

  /* ── About day illustration ──────────────────── */
  .day-about-visual {
    display:flex !important;
    align-items:center;
    justify-content:center;
    padding:20px;
  }
  .day-about-visual svg {
    max-width:420px;width:100%;
    filter:drop-shadow(0 12px 32px rgba(91,182,214,.18));
    animation:float3D 5s ease-in-out infinite;
  }

  /* ── Surgery diagram brighter in light mode ──── */
  .eye-diagram { filter:drop-shadow(0 0 24px rgba(91,182,214,.22)) !important; }

  /* ── Timeline colorful dots (about page) ─────── */
  .timeline-dot {
    background:var(--bg-dark2);border-color:var(--primary);
  }
  .timeline-item:nth-child(1) .timeline-dot { border-color:#5BB6D6;color:#5BB6D6; }
  .timeline-item:nth-child(2) .timeline-dot { border-color:#27AE60;color:#27AE60; }
  .timeline-item:nth-child(3) .timeline-dot { border-color:#9B59B6;color:#9B59B6; }
  .timeline-item:nth-child(4) .timeline-dot { border-color:#FF8C42;color:#FF8C42; }
  .timeline::before { background:linear-gradient(to bottom,#5BB6D6,#27AE60,#9B59B6,#FF8C42); }

  /* ── Value cards on about page ───────────────── */
  .value-card { background:rgba(255,255,255,.85);border-color:rgba(91,182,214,.15); }
  .about-values .col-sm-6:nth-child(1) .value-card { border-top:4px solid #E74C3C; }
  .about-values .col-sm-6:nth-child(2) .value-card { border-top:4px solid #5BB6D6; }
  .about-values .col-sm-6:nth-child(3) .value-card { border-top:4px solid #27AE60; }
  .about-values .col-sm-6:nth-child(4) .value-card { border-top:4px solid #F39C12; }

  /* ── About page — timeline col goes full-width in light mode (illustration is visible) */
  .col-about-timeline {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* ── "What makes us different" section dark bg fix ── */
  .section-dark-bg {
    background: var(--bg-dark) !important;
  }

}

/* ══════════════════════════════════════════════════
   VIDEO SECTIONS — shared across all pages
══════════════════════════════════════════════════ */

/* Hero video wrapper (homepage right column) */
.hero-video-frame {
  width: 100%;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(91,182,214,0.25);
  box-shadow: 0 30px 80px rgba(0,0,0,0.55), 0 0 0 1px rgba(91,182,214,0.08);
  position: relative;
  aspect-ratio: 16/9;
  background: #000;
  cursor: pointer;
}
.hero-video-frame::before {
  content: '';
  position: absolute; inset: -1px;
  border-radius: 21px;
  background: linear-gradient(135deg,rgba(91,182,214,0.18),transparent 60%);
  pointer-events: none; z-index: 2;
}

/* Full-page video showcase (treatment pages) */
.video-showcase {
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  border: 1px solid rgba(91,182,214,0.2);
  box-shadow: 0 24px 60px rgba(0,0,0,0.5);
  aspect-ratio: 16/9;
  background: #000;
}

/* Shared: thumbnail behind overlay */
.video-thumb {
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  object-fit: cover;
  opacity: 0.75;
  transition: opacity 0.3s;
}
.hero-video-frame:hover .video-thumb,
.video-showcase:hover .video-thumb { opacity: 0.9; }

/* Play button overlay */
.video-overlay {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 10px; z-index: 3;
  background: rgba(0,0,0,0.25);
  transition: background 0.3s;
}
.hero-video-frame:hover .video-overlay,
.video-showcase:hover .video-overlay { background: rgba(0,0,0,0.1); }

.video-play-btn {
  width: 80px; height: 80px;
  background: rgba(255,255,255,0.95);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2.2rem;
  color: #5BB6D6;
  transition: transform 0.3s, box-shadow 0.3s;
  box-shadow: 0 8px 32px rgba(91,182,214,0.45);
}
.hero-video-frame:hover .video-play-btn,
.video-showcase:hover .video-play-btn {
  transform: scale(1.12);
  box-shadow: 0 16px 48px rgba(91,182,214,0.65);
}
.video-play-label {
  color: #fff; font-size: 0.95rem; font-weight: 600;
  text-shadow: 0 2px 8px rgba(0,0,0,0.6); letter-spacing: 0.3px;
}

/* Video info chips at bottom of overlay */
.video-chips {
  position: absolute; bottom: 16px; left: 16px;
  display: flex; gap: 8px; flex-wrap: wrap; z-index: 4;
}
.video-chip {
  background: rgba(0,0,0,0.6); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,0.15);
  color: #fff; font-size: 0.72rem; font-weight: 600;
  padding: 4px 12px; border-radius: 20px;
  letter-spacing: 0.3px;
}

/* Active: iframe replaces facade */
.video-showcase.playing .video-thumb,
.video-showcase.playing .video-overlay,
.video-showcase.playing .video-chips,
.hero-video-frame.playing .video-thumb,
.hero-video-frame.playing .video-overlay,
.hero-video-frame.playing .video-chips { display: none !important; }

.video-iframe {
  display: none;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  border: 0;
}
.hero-video-frame.playing .video-iframe,
.video-showcase.playing .video-iframe { display: block; }

/* Section wrapper */
.video-section {
  padding: 80px 0;
  background: var(--bg-dark2);
}

@media (prefers-color-scheme: light) {
  .hero-video-frame { border-color: rgba(91,182,214,0.3); }
  .video-showcase    { border-color: rgba(91,182,214,0.3); }
  .video-section     { background: #eef3f9; }
}
#introOverlay.fade-out {
  opacity: 0;
  pointer-events: none;
}
#introVideo {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.intro-skip-btn {
  position: absolute;
  bottom: 32px;
  right: 32px;
  z-index: 2;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.28);
  color: #fff;
  padding: 9px 22px;
  border-radius: 30px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 0.4px;
  backdrop-filter: blur(6px);
  transition: background 0.2s, border-color 0.2s;
  display: flex; align-items: center; gap: 8px;
}
.intro-skip-btn:hover {
  background: rgba(91,182,214,0.25);
  border-color: rgba(91,182,214,0.5);
}
.intro-progress {
  position: absolute;
  bottom: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #5BB6D6, #a78bfa);
  width: 0%;
  transition: width 0.1s linear;
  z-index: 2;
}

/* ══════════════════════════════════════════════════
   HERO 3D EXPERIENCE CARD
══════════════════════════════════════════════════ */

/* Wrapper — positions chips + rings relative to center card */
.hero-xp-wrap {
  position: relative;
  width: 440px;
  height: 440px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Orbiting rings */
.xp-orbit-ring {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.xp-ring-outer {
  width: 420px;
  height: 420px;
  border: 1px solid rgba(91,182,214,0.18);
  animation: xpRingRotate 22s linear infinite;
}
.xp-ring-outer::before,
.xp-ring-outer::after {
  content: '';
  position: absolute;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5BB6D6;
  box-shadow: 0 0 14px #5BB6D6;
}
.xp-ring-outer::before { top: -4px;    left: 50%; transform: translateX(-50%); }
.xp-ring-outer::after  { bottom: -4px; left: 50%; transform: translateX(-50%); }

.xp-ring-mid {
  width: 310px;
  height: 310px;
  border: 1px solid rgba(155,89,182,0.18);
  animation: xpRingRotate 16s linear infinite reverse;
}
.xp-ring-mid::before {
  content: '';
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #9B59B6;
  box-shadow: 0 0 10px #9B59B6;
  right: -3px;
  top: 50%;
  transform: translateY(-50%);
}

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

/* Corner floating chips */
.xp-chip {
  position: absolute;
  background: linear-gradient(145deg, rgba(8,16,38,0.96) 0%, rgba(5,10,26,0.98) 100%);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(91,182,214,0.3);
  border-radius: 18px;
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  z-index: 10;
  min-width: 82px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.5), 0 0 16px rgba(91,182,214,0.1);
}
.xp-chip-tl { top: 28px;    left: 8px;   animation: xpChipFloat 4s ease-in-out infinite 0s; }
.xp-chip-tr { top: 28px;    right: 8px;  animation: xpChipFloat 4s ease-in-out infinite 1s; }
.xp-chip-bl { bottom: 28px; left: 8px;   animation: xpChipFloat 4s ease-in-out infinite 2s; }
.xp-chip-br { bottom: 28px; right: 8px;  animation: xpChipFloat 4s ease-in-out infinite 1.5s; }

.xp-chip-icon { font-size: 1.05rem; line-height: 1; }
.xp-chip-val  { font-size: 0.9rem; font-weight: 700; color: #fff; line-height: 1.1; }
.xp-chip-lbl  { font-size: 0.6rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.05em; }

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

/* Central card */
.hero-xp-card {
  position: relative;
  z-index: 5;
  width: 280px;
  background: linear-gradient(160deg, rgba(8,16,38,0.97) 0%, rgba(5,10,26,0.99) 100%);
  border: 1px solid rgba(91,182,214,0.32);
  border-radius: 30px;
  padding: 0;
  overflow: hidden;
  box-shadow:
    0 0 0 1px rgba(255,255,255,0.06) inset,
    0 0 60px rgba(91,182,214,0.18),
    0 28px 80px rgba(0,0,0,0.6),
    0 4px 24px rgba(91,182,214,0.12);
  transform-style: preserve-3d;
  cursor: default;
}

/* Top glow shimmer */
.xp-card-glow {
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 55%;
  background: radial-gradient(ellipse 90% 55% at 50% 0%, rgba(91,182,214,0.13) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

.xp-card-body {
  position: relative;
  z-index: 2;
  padding: 26px 22px 20px;
}

/* Header badge */
.xp-header-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.66rem;
  font-weight: 600;
  color: #5BB6D6;
  background: rgba(91,182,214,0.1);
  border: 1px solid rgba(91,182,214,0.28);
  border-radius: 20px;
  padding: 4px 12px;
  margin-bottom: 18px;
  text-transform: uppercase;
  letter-spacing: 0.07em;
}
.xp-live-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #5BB6D6;
  box-shadow: 0 0 8px #5BB6D6;
  animation: xpDotBlink 2s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes xpDotBlink {
  0%, 100% { opacity: 1; box-shadow: 0 0 8px #5BB6D6; }
  50%       { opacity: 0.45; box-shadow: 0 0 3px #5BB6D6; }
}

/* Hero stat — years */
.xp-hero-stat {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}
.xp-years-big {
  font-size: 4.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(135deg, #5BB6D6 0%, #a78bfa 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 3px 12px rgba(91,182,214,0.5));
  letter-spacing: -2px;
}
.xp-plus {
  font-size: 2.8rem;
  letter-spacing: 0;
}
.xp-years-sub {
  font-size: 0.78rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.xp-years-sub strong {
  display: block;
  color: #ffffff;
  font-size: 0.88rem;
  font-weight: 700;
}

/* Separator line */
.xp-sep {
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(91,182,214,0.28), transparent);
  margin: 14px 0;
}

/* 3-column mini stats */
.xp-stats-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.xp-mini-stat { text-align: center; flex: 1; }
.xp-mini-n {
  display: block;
  font-size: 1.75rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  text-shadow: 0 0 20px rgba(91,182,214,0.4);
}
.xp-mini-l {
  display: block;
  font-size: 0.6rem;
  color: rgba(255,255,255,0.62);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 3px;
}
.xp-mini-divider {
  width: 1px;
  height: 38px;
  background: rgba(91,182,214,0.2);
  flex-shrink: 0;
}

/* Feature list */
.xp-feat-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.xp-feat-item {
  font-size: 0.73rem;
  color: rgba(255,255,255,0.8);
  display: flex;
  align-items: center;
  gap: 7px;
}
.xp-feat-item i { font-size: 0.82rem; flex-shrink: 0; }

/* Bottom strip */
.xp-bottom-strip {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(91,182,214,0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
}
.xp-strip-tag {
  font-size: 0.58rem;
  color: rgba(255,255,255,0.55);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Pulse rings — expand & fade outward */
.xp-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 30px;
  border: 1px solid rgba(91,182,214,0.35);
  animation: xpCardPulse 3.5s ease-out infinite;
  pointer-events: none;
  z-index: 3;
}
.xp-pulse-2 { animation-delay: 1.75s; border-color: rgba(167,139,250,0.25); }

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

/* Responsive — hide on small screens (col already d-none d-lg-flex) */
@media (max-width: 991px) {
  .hero-xp-wrap { display: none; }
}

/* ════════════════════════════════════════════════════════════
   v2.0 — BHIWADI EDITION: HERO CAROUSEL + ABOUT + MAP FRAME
   ════════════════════════════════════════════════════════════ */

/* Hero carousel — 3 slides, 18s cycle, Ken Burns zoom + cross-fade */
.hero-carousel { position: relative; overflow: hidden; isolation: isolate; }
.hero-carousel-stage {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-slide {
  position: absolute; inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0; transform: scale(1.0);
  animation: jeh-hero-cycle 18s infinite cubic-bezier(.4, 0, .2, 1);
  will-change: opacity, transform;
  backface-visibility: hidden;
}
.hero-slide--1 { animation-delay:  0s; }
.hero-slide--2 { animation-delay:  6s; }
.hero-slide--3 { animation-delay: 12s; }
@keyframes jeh-hero-cycle {
  0%   { opacity: 0; transform: scale(1.00); }
  5%   { opacity: 1; transform: scale(1.02); }
  28%  { opacity: 1; transform: scale(1.10); }
  33%  { opacity: 0; transform: scale(1.11); }
  100% { opacity: 0; transform: scale(1.00); }
}

/* Dark overlay for text legibility */
.hero-carousel .hero-overlay {
  position: absolute; inset: 0; z-index: 1;
  background:
    linear-gradient(90deg, rgba(8,15,30,0.94) 0%, rgba(8,15,30,0.80) 35%, rgba(8,15,30,0.45) 65%, rgba(8,15,30,0.20) 100%),
    linear-gradient(180deg, rgba(8,15,30,0.30) 0%, transparent 30%, rgba(8,15,30,0.55) 100%);
  pointer-events: none;
}
.hero-carousel .hero-content,
.hero-carousel .container { position: relative; z-index: 2; }

/* Hero progress dots */
.hero-dots {
  position: absolute; bottom: 28px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 10px; z-index: 5; pointer-events: none;
}
.hero-dot {
  display: block; width: 38px; height: 3px;
  background: rgba(255,255,255,0.22); border-radius: 4px;
  position: relative; overflow: hidden;
}
.hero-dot::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(90deg, #5BB6D6, #FFFFFF);
  transform-origin: left center; transform: scaleX(0);
  animation: jeh-dot-fill 18s infinite linear;
}
.hero-dot--1::after { animation-delay:  0s; }
.hero-dot--2::after { animation-delay:  6s; }
.hero-dot--3::after { animation-delay: 12s; }
@keyframes jeh-dot-fill {
  0%   { transform: scaleX(0); opacity: 1; }
  33%  { transform: scaleX(1); opacity: 1; }
  34%  { transform: scaleX(1); opacity: 0; }
  35%  { transform: scaleX(0); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide { animation: none; opacity: 1; }
  .hero-slide--2, .hero-slide--3 { display: none; }
  .hero-dot::after { animation: none; transform: scaleX(0); }
}
@media (max-width: 767px) {
  .hero-slide { background-position: 70% center; }
  .hero-dots { bottom: 18px; gap: 6px; }
  .hero-dot { width: 26px; }
}

/* About Us section (homepage) */
.about-home-section {
  padding: 100px 0;
  background: linear-gradient(180deg, rgba(91,182,214,0.02) 0%, transparent 100%);
}
.about-image-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(91,182,214,0.18);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
  aspect-ratio: 4 / 3;
}
.about-image-frame img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}
.about-image-frame:hover img { transform: scale(1.04); }
.about-image-frame::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, transparent 60%, rgba(91,182,214,0.18) 100%);
  pointer-events: none;
}

.about-feature-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.7rem;
  margin-top: 0.8rem;
}
.about-feature-item {
  display: flex; align-items: center; gap: 0.55rem;
  padding: 0.75rem 1rem;
  background: rgba(91,182,214,0.06);
  border: 1px solid rgba(91,182,214,0.18);
  border-radius: 10px;
  font-size: 0.88rem;
  color: #cbd5e1;
  font-weight: 500;
}
.about-feature-item i { color: #5BB6D6; font-size: 1.05rem; }
@media (max-width: 575px) {
  .about-feature-grid { grid-template-columns: 1fr; }
}

/* Location embedded map frame */
.location-map-frame {
  position: relative;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(91,182,214,0.20);
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  background: rgba(91,182,214,0.04);
  min-height: 420px;
  height: 100%;
}
.location-map-frame iframe {
  display: block;
  filter: grayscale(0.15) saturate(0.95) brightness(0.92);
  border-radius: 22px;
}

/* Sticky scroll header logo image — slightly larger for the new PNG */
.navbar-brand img.navbar-logo {
  height: 62px;
  width: auto;
  max-height: 62px;
  image-rendering: -webkit-optimize-contrast;
  transform: translateZ(0);
}
.footer-logo {
  max-width: 240px;
  image-rendering: -webkit-optimize-contrast;
}



/* ════════════════════════════════════════════════════════════
   v2.9 — FULL-SCREEN CINEMATIC HERO CAROUSEL
   Banner images dominate the screen. Text overlays with a smart
   left-side gradient so the image stays the visual focus.
   ════════════════════════════════════════════════════════════ */
.hero-cinematic {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 640px;
  max-height: 900px;
  overflow: hidden;
  isolation: isolate;
  background: #08131F;
}

/* Hide any legacy hero CSS leftovers when on .hero-cinematic */
.hero-cinematic .hero-carousel-stage,
.hero-cinematic .hero-overlay,
.hero-cinematic .hero-dots,
.hero-cinematic .hero-image-col,
.hero-cinematic .hero-image-frame { display: none !important; }

/* ── Full-bleed slide stage ─────────────────────────────── */
.hero-fs-stage { position: absolute; inset: 0; z-index: 0; }
.hero-fs-slide {
  position: absolute; inset: 0;
  opacity: 0;
  animation: jeh-fs-cycle 63s infinite cubic-bezier(.4, 0, .2, 1);
  will-change: opacity;
}
.hero-fs-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.0);
  animation: jeh-fs-zoom 63s infinite cubic-bezier(.33, 0, .67, 1);
  will-change: transform;
}
.hero-fs-slide--1, .hero-fs-slide--1 img { animation-delay: 0s; }
.hero-fs-slide--2, .hero-fs-slide--2 img { animation-delay: 7s; }
.hero-fs-slide--3, .hero-fs-slide--3 img { animation-delay: 14s; }
.hero-fs-slide--4, .hero-fs-slide--4 img { animation-delay: 21s; }
.hero-fs-slide--5, .hero-fs-slide--5 img { animation-delay: 28s; }
.hero-fs-slide--6, .hero-fs-slide--6 img { animation-delay: 35s; }
.hero-fs-slide--7, .hero-fs-slide--7 img { animation-delay: 42s; }
.hero-fs-slide--8, .hero-fs-slide--8 img { animation-delay: 49s; }
.hero-fs-slide--9, .hero-fs-slide--9 img { animation-delay: 56s; }

@keyframes jeh-fs-cycle {
  0%    { opacity: 0; }
  1.3%  { opacity: 1; }
  9.7%  { opacity: 1; }
  11.1% { opacity: 0; }
  100%  { opacity: 0; }
}
@keyframes jeh-fs-zoom {
  /* Slow cinematic Ken Burns — 1.0 → 1.10 across each slide's window */
  0%    { transform: scale(1.00); }
  11.1% { transform: scale(1.10); }
  100%  { transform: scale(1.10); }
}

/* ── Smart left-side dark gradient (text readability) ───── */
.hero-fs-overlay {
  position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background:
    linear-gradient(90deg,
      rgba(8,19,31,0.82) 0%,
      rgba(8,19,31,0.60) 22%,
      rgba(8,19,31,0.30) 42%,
      rgba(8,19,31,0.05) 62%,
      transparent 80%),
    linear-gradient(180deg,
      rgba(8,19,31,0.15) 0%,
      transparent 18%,
      transparent 70%,
      rgba(8,19,31,0.40) 100%);
}

/* ── Foreground content (left-aligned) ──────────────────── */
.hero-fs-content {
  position: relative;
  z-index: 3;
  height: 100%;
  display: flex;
  align-items: center;
}
.hero-fs-text {
  max-width: 620px;
  padding: 80px 0;
}
.hero-cinematic .hero-badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.5rem 1.1rem;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.22);
  border-radius: 4rem;
  backdrop-filter: blur(10px);
  font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  color: #FFFFFF !important;
  margin-bottom: 1.4rem;
}
.hero-cinematic .badge-dot {
  width: 8px; height: 8px; border-radius: 50%; background: #5BB6D6;
  box-shadow: 0 0 10px rgba(91,182,214,0.8);
  animation: jeh-dot-pulse 2s infinite;
}
@keyframes jeh-dot-pulse {
  0%,100% { transform: scale(1); opacity: 1; }
  50%     { transform: scale(1.4); opacity: 0.7; }
}
.hero-cinematic .hero-title {
  color: #FFFFFF !important;
  font-size: clamp(2.4rem, 5.4vw, 4.4rem);
  line-height: 1.05;
  font-weight: 800;
  letter-spacing: -0.02em;
  margin-bottom: 1.2rem;
  text-shadow: 0 2px 14px rgba(0,0,0,0.45);
}
.hero-cinematic .hero-title .highlight {
  color: #5BB6D6;
  background: linear-gradient(135deg, #7BCDF0 0%, #5BB6D6 50%, #FFFFFF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.hero-cinematic .hero-subtitle {
  color: rgba(255,255,255,0.9) !important;
  font-size: 1.08rem;
  line-height: 1.75;
  max-width: 540px;
  margin-bottom: 2rem;
  text-shadow: 0 1px 6px rgba(0,0,0,0.4);
}
.hero-cinematic .hero-buttons {
  display: flex; flex-wrap: wrap; gap: 14px;
  margin-bottom: 2rem;
}
.hero-cinematic .hero-trust {
  display: flex; flex-wrap: wrap; gap: 28px;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.18);
}
.hero-cinematic .hero-trust span {
  color: rgba(255,255,255,0.92) !important;
  font-size: 0.92rem;
  font-weight: 500;
  display: inline-flex; align-items: center; gap: 0.5rem;
}
.hero-cinematic .hero-trust i {
  color: #2ECC71;
  font-size: 1.05rem;
}

/* ── Per-slide corner labels ─────────────────────────────── */
.hero-fs-labels {
  position: absolute;
  right: 38px; bottom: 70px;
  z-index: 4; pointer-events: none;
}
.hero-fs-label {
  position: absolute; right: 0; bottom: 0;
  display: inline-block;
  padding: 10px 22px;
  background: rgba(255,255,255,0.94);
  color: #0B2D4D;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 0.82rem;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  border-radius: 4rem;
  border: 1px solid rgba(11,45,77,0.10);
  box-shadow: 0 8px 22px rgba(0,0,0,0.25);
  opacity: 0;
  white-space: nowrap;
  animation: jeh-fs-label 63s infinite cubic-bezier(.4, 0, .2, 1);
}
.hero-fs-label--1 { animation-delay: 0s; }
.hero-fs-label--2 { animation-delay: 7s; }
.hero-fs-label--3 { animation-delay: 14s; }
.hero-fs-label--4 { animation-delay: 21s; }
.hero-fs-label--5 { animation-delay: 28s; }
.hero-fs-label--6 { animation-delay: 35s; }
.hero-fs-label--7 { animation-delay: 42s; }
.hero-fs-label--8 { animation-delay: 49s; }
.hero-fs-label--9 { animation-delay: 56s; }
@keyframes jeh-fs-label {
  0%    { opacity: 0; transform: translateY(10px); }
  2%    { opacity: 1; transform: translateY(0); }
  9.7%  { opacity: 1; transform: translateY(0); }
  11.1% { opacity: 0; transform: translateY(-6px); }
  100%  { opacity: 0; }
}

/* ── Bottom progress bars (3 dashes) ─────────────────────── */
.hero-fs-dots {
  position: absolute;
  bottom: 30px; left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  display: flex; gap: 10px;
  pointer-events: none;
}
.hero-fs-dot {
  display: block;
  width: 56px; height: 3px;
  background: rgba(255,255,255,0.28);
  border-radius: 4px;
  position: relative;
  overflow: hidden;
}
.hero-fs-dot::after {
  content: ''; position: absolute; inset: 0;
  background: #FFFFFF;
  transform-origin: left center;
  transform: scaleX(0);
  animation: jeh-fs-dotfill 63s infinite linear;
}
.hero-fs-dot--1::after { animation-delay: 0s; }
.hero-fs-dot--2::after { animation-delay: 7s; }
.hero-fs-dot--3::after { animation-delay: 14s; }
.hero-fs-dot--4::after { animation-delay: 21s; }
.hero-fs-dot--5::after { animation-delay: 28s; }
.hero-fs-dot--6::after { animation-delay: 35s; }
.hero-fs-dot--7::after { animation-delay: 42s; }
.hero-fs-dot--8::after { animation-delay: 49s; }
.hero-fs-dot--9::after { animation-delay: 56s; }
@keyframes jeh-fs-dotfill {
  0%    { transform: scaleX(0);  opacity: 1; }
  11.1% { transform: scaleX(1);  opacity: 1; }
  11.4% { transform: scaleX(1);  opacity: 0; }
  11.7% { transform: scaleX(0);  opacity: 0; }
  100%  { transform: scaleX(0);  opacity: 0; }
}

/* Reduced motion users — single static slide */
@media (prefers-reduced-motion: reduce) {
  .hero-fs-slide { animation: none; opacity: 1; }
  .hero-fs-slide img { animation: none; transform: none; }
  .hero-fs-slide--2, .hero-fs-slide--3, .hero-fs-slide--4, .hero-fs-slide--5, .hero-fs-slide--6, .hero-fs-slide--7, .hero-fs-slide--8, .hero-fs-slide--9 { display: none; }
  .hero-fs-label, .hero-fs-dot::after { animation: none; }
  .hero-fs-label--1 { opacity: 1; transform: none; }
}

/* Responsive — adjust label position + content padding */
@media (max-width: 991px) {
  .hero-cinematic { height: 90vh; min-height: 580px; }
  .hero-fs-overlay {
    background:
      linear-gradient(180deg,
        rgba(8,19,31,0.30) 0%,
        rgba(8,19,31,0.55) 50%,
        rgba(8,19,31,0.80) 100%);
  }
  .hero-fs-text { padding: 48px 0; max-width: 100%; }
  .hero-fs-labels { right: 20px; bottom: 60px; }
  .hero-fs-label { font-size: 0.72rem; padding: 8px 16px; }
}
@media (max-width: 575px) {
  .hero-cinematic { height: auto; min-height: 100vh; }
  .hero-fs-dots { bottom: 18px; }
  .hero-fs-dot { width: 38px; }
  .hero-fs-label { font-size: 0.66rem; padding: 6px 12px; letter-spacing: 0.12em; }
}

/* ════════════════════════════════════════════════════════════
   v2.6 — Hospital building (original JPG, premium framed)
   Use the original image as-is — no cutout, no transparency.
   ════════════════════════════════════════════════════════════ */
.about-building-img {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 20px;
  overflow: hidden;
  box-shadow:
    0 24px 50px -16px rgba(11,45,77,0.30),
    0 12px 28px -10px rgba(11,45,77,0.18);
  transition: transform 0.5s ease;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
  aspect-ratio: 3 / 4;
  background: #0a1421;
}
.about-building-img img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.about-building-img:hover { transform: translateY(-4px); }
@media (max-width: 991px) { .about-building-img { max-width: 380px; } }
@media (max-width: 575px) { .about-building-img { max-width: 300px; aspect-ratio: 4 / 5; } }

/* ════════════════════════════════════════════════════════════
   v3.0 — Navbar: collapse to hamburger below 1200px (expand-xl)
   At ≥1200px every menu label stays on a single line with comfortable padding.
   Below 1200px → hamburger mobile menu (no wrap possible).
   ════════════════════════════════════════════════════════════ */
#mainNav .navbar-nav,
nav.navbar .navbar-nav { flex-wrap: nowrap !important; }
#mainNav .nav-item,
nav.navbar .nav-item { flex-shrink: 0; }
#mainNav .nav-link,
nav.navbar .nav-link,
#mainNav .nav-link.dropdown-toggle,
#mainNav .btn-nav-cta {
  white-space: nowrap !important;
  word-break: keep-all !important;
  overflow-wrap: normal !important;
  display: inline-flex !important;
  align-items: center;
}
/* Desktop sizing — generous since hamburger covers narrow viewports */
@media (min-width: 1200px) and (max-width: 1399px) {
  #mainNav .nav-link {
    padding-left: 0.55rem !important;
    padding-right: 0.55rem !important;
    font-size: 0.86rem;
  }
}
@media (min-width: 1400px) {
  #mainNav .nav-link {
    padding-left: 0.7rem !important;
    padding-right: 0.7rem !important;
    font-size: 0.92rem;
  }
}

/* "Trusted Eye Care in Bhiwadi" heading — never wrap awkwardly */
.trusted-heading {
  text-wrap: balance;
  word-break: keep-all;
  overflow-wrap: normal;
  hyphens: none;
}
@media (min-width: 992px) {
  .trusted-heading { white-space: nowrap; }
}

/* ════════════════════════════════════════════════════════════
   v2.4 — HERO SPLIT LAYOUT (left text · right clean carousel)
   No dark overlay, no white wash — the image is the hero.
   ════════════════════════════════════════════════════════════ */
.hero-carousel {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 60% 80% at 0% 50%, rgba(91,182,214,0.06) 0%, transparent 60%),
    linear-gradient(180deg, #FFFFFF 0%, #F2F8FC 100%);
  isolation: isolate;
}
/* Kill the legacy full-bleed carousel + overlay from v2.0 */
.hero-carousel .hero-carousel-stage,
.hero-carousel > .hero-overlay,
.hero-carousel > .hero-dots { display: none !important; }

.hero-split-content { position: relative; z-index: 2; }

.hero-text-col { padding-right: 24px; }
.hero-text-col .hero-badge,
.hero-text-col .hero-title,
.hero-text-col .hero-subtitle,
.hero-text-col .hero-trust span { color: #0c1e3a; }
.hero-text-col .hero-title .highlight { color: #1a6fa0; }
.hero-text-col .hero-subtitle { color: #4a5a73; }
.hero-text-col .hero-trust span { color: #2a3a55; }
.hero-text-col .hero-trust i { color: #2ECC71; }
.hero-text-col .hero-badge {
  background: rgba(91,182,214,0.10);
  color: #1a6fa0;
  border: 1px solid rgba(91,182,214,0.30);
}

/* Right column — large premium hero image frame */
.hero-image-col {
  padding-left: 24px;
  display: flex;
  align-items: stretch;
}
.hero-image-frame {
  position: relative;
  width: 100%;
  min-height: 78vh;
  height: 100%;
  border-radius: 26px;
  overflow: hidden;
  box-shadow:
    0 40px 80px -24px rgba(11,45,77,0.38),
    0 24px 48px -16px rgba(11,45,77,0.22);
  background: #e7f0f6;
}
.hero-image-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  animation: jeh-img-cycle 21s infinite cubic-bezier(.4, 0, .2, 1);
  will-change: opacity;
}
.hero-image-slide img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1.0);
  animation: jeh-img-zoom 21s infinite cubic-bezier(.33, 0, .67, 1);
  will-change: transform;
}
.hero-image-slide--1, .hero-image-slide--1 img { animation-delay:  0s; }
.hero-image-slide--2, .hero-image-slide--2 img { animation-delay:  7s; }
.hero-image-slide--3, .hero-image-slide--3 img { animation-delay: 14s; }
@keyframes jeh-img-cycle {
  0%   { opacity: 0; }
  4%   { opacity: 1; }
  29%  { opacity: 1; }
  33%  { opacity: 0; }
  100% { opacity: 0; }
}
@keyframes jeh-img-zoom {
  /* Slow Ken Burns — 1.0 → 1.08 over the slide's visible window */
  0%   { transform: scale(1.00); }
  33%  { transform: scale(1.08); }
  100% { transform: scale(1.08); }
}

/* Premium label badge in the corner of each slide */
.hero-slide-label {
  position: absolute;
  bottom: 50px; left: 24px;
  z-index: 4;
  display: inline-block;
  padding: 8px 18px;
  background: rgba(11,45,77,0.85);
  backdrop-filter: blur(10px);
  color: #FFFFFF;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  border-radius: 4rem;
  border: 1px solid rgba(255,255,255,0.16);
  opacity: 0;
  animation: jeh-label-fade 21s infinite cubic-bezier(.4, 0, .2, 1);
  pointer-events: none;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
}
.hero-image-slide--1 .hero-slide-label { animation-delay:  0s; }
.hero-image-slide--2 .hero-slide-label { animation-delay:  7s; }
.hero-image-slide--3 .hero-slide-label { animation-delay: 14s; }
@keyframes jeh-label-fade {
  0%   { opacity: 0; transform: translateY(8px); }
  6%   { opacity: 1; transform: translateY(0); }
  29%  { opacity: 1; transform: translateY(0); }
  33%  { opacity: 0; transform: translateY(-4px); }
  100% { opacity: 0; }
}
@media (max-width: 575px) {
  .hero-slide-label { bottom: 32px; left: 16px; font-size: 0.68rem; padding: 6px 14px; }
}

/* Dots — sit inside the image frame at the bottom */
.hero-image-dots {
  position: absolute;
  bottom: 18px; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 8px; z-index: 5; pointer-events: none;
}
.hero-image-dot {
  display: block; width: 32px; height: 3px;
  background: rgba(255,255,255,0.45);
  border-radius: 3px;
  position: relative; overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.25);
}
.hero-image-dot::after {
  content: ''; position: absolute; inset: 0;
  background: #FFFFFF;
  transform-origin: left center; transform: scaleX(0);
  animation: jeh-img-dot 21s infinite linear;
}
.hero-image-dot--1::after { animation-delay:  0s; }
.hero-image-dot--2::after { animation-delay:  7s; }
.hero-image-dot--3::after { animation-delay: 14s; }
@keyframes jeh-img-dot {
  0%   { transform: scaleX(0); opacity: 1; }
  33%  { transform: scaleX(1); opacity: 1; }
  34%  { transform: scaleX(1); opacity: 0; }
  35%  { transform: scaleX(0); opacity: 0; }
  100% { transform: scaleX(0); opacity: 0; }
}

@media (prefers-reduced-motion: reduce) {
  .hero-image-slide { animation: none; opacity: 1; }
  .hero-image-slide--2, .hero-image-slide--3 { display: none; }
  .hero-image-dot::after { animation: none; }
}

@media (max-width: 991px) {
  .hero-text-col { padding-right: 12px; margin-bottom: 32px; }
  .hero-image-col { padding-left: 12px; display: block; }
  .hero-image-frame {
    min-height: 0;
    aspect-ratio: 4 / 3;
    max-width: 720px;
    margin: 0 auto;
    height: auto;
  }
}
@media (max-width: 575px) {
  .hero-image-frame { aspect-ratio: 4 / 3; border-radius: 18px; }
}

/* Once-only override — kill carousel-mode navbar dark variant on this page if any */
.hero-carousel ~ .scroll-indicator,
.hero-carousel .scroll-indicator { display: none !important; }

/* === v2.1 — Logo-only preloader === */
.page-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: #FFFFFF;
  display: flex; align-items: center; justify-content: center;
  transition: opacity 0.5s ease, visibility 0.5s ease;
}
.page-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo-wrap {
  display: flex; align-items: center; justify-content: center;
  animation: jeh-loader-pulse 1.6s ease-in-out infinite;
}
.loader-logo {
  max-width: 180px; width: 36vw; height: auto; display: block;
}
@media (max-width: 575px) { .loader-logo { max-width: 150px; width: 50vw; } }
@keyframes jeh-loader-pulse {
  0%,100% { opacity: 0.7; transform: scale(0.985); }
  50%     { opacity: 1.0; transform: scale(1.015); }
}

/* === v2.2 — Remove custom cursor entirely === */
.cursor-dot, .cursor-ring { display: none !important; }
body, html, * { cursor: auto; }
a, button, .btn, [role="button"], input[type="submit"] { cursor: pointer; }

/* === v2.3 — Footer menu: single line per item === */
.footer-links li { white-space: nowrap; }
.footer-links li a { white-space: nowrap; display: inline-block; }
.footer-heading { white-space: nowrap; }
