/* =============================================
   PhysioElite – Premium Dark Physiotherapy CSS
   Complete Overhaul – Production Ready
   ============================================= */

/* ── Custom Properties ── */
:root {
  --bg-deep: #000a1a;
  --bg-dark: #001224;
  --bg-card: rgba(0, 30, 60, 0.55);
  --blue-neon: #00d4ff;
  --blue-mid: #0088cc;
  --blue-deep: #003366;
  --blue-accent: #0055aa;
  --text-white: #f0f8ff;
  --text-light: #a8d4f0;
  --text-dim: #5a8ab0;
  --border-glow: rgba(0, 212, 255, 0.25);
  --border-glass: rgba(0, 150, 220, 0.18);
  --glass-bg: rgba(0, 25, 55, 0.6);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 8px;
  --transition: 0.4s cubic-bezier(0.23, 1, 0.32, 1);
  --shadow-glow: 0 0 40px rgba(0, 212, 255, 0.18), 0 8px 32px rgba(0,0,0,0.5);
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
}

/* ── Reset ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--bg-deep);
  color: var(--text-white);
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
body.no-scroll { overflow: hidden !important; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }
input, select, textarea { font-family: inherit; }

/* ── Particles Canvas ── */
#particles-canvas {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  opacity: 0.45;
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: var(--blue-mid); border-radius: 3px; }

/* ── Typography ── */
.section-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--blue-neon);
  background: rgba(0, 212, 255, 0.08);
  border: 1px solid rgba(0, 212, 255, 0.22);
  padding: 6px 16px;
  border-radius: 100px;
  margin-bottom: 1.2rem;
}
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--text-white);
}
.section-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.05rem);
  color: var(--text-light);
  max-width: 560px;
  margin-bottom: 3rem;
  line-height: 1.7;
}
.accent { color: var(--blue-neon); }

/* ── Glass Card ── */
.glass-card {
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-glow);
}

/* ── Buttons ── */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-neon));
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.92rem;
  letter-spacing: 0.04em;
  border: none;
  border-radius: 100px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  box-shadow: 0 4px 24px rgba(0, 212, 255, 0.35);
  white-space: nowrap;
}
.btn-primary::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.15), transparent);
  opacity: 0;
  transition: opacity 0.3s;
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 36px rgba(0,212,255,0.5); }
.btn-primary:hover::before { opacity: 1; }
.btn-primary:active { transform: scale(0.97); }
.btn-primary svg { width: 18px; height: 18px; transition: transform 0.3s; flex-shrink: 0; }
.btn-primary:hover svg { transform: translateX(4px); }
.btn-primary.btn-full { width: 100%; justify-content: center; border-radius: var(--radius-md); }

.btn-ghost {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  background: transparent;
  color: var(--text-white);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.92rem;
  border: 1px solid rgba(0, 212, 255, 0.35);
  border-radius: 100px;
  transition: var(--transition);
  white-space: nowrap;
}
.btn-ghost:hover {
  background: rgba(0, 212, 255, 0.1);
  border-color: var(--blue-neon);
  transform: translateY(-2px);
}

/* ── Container ── */
.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; width: 100%; }
.section-pad { padding: 100px 0; position: relative; z-index: 1; }

/* ── Scroll Reveal ── */
.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.75s cubic-bezier(0.23,1,0.32,1), transform 0.75s cubic-bezier(0.23,1,0.32,1);
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   NAVBAR
   ======================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 18px 0;
  transition: background 0.4s, padding 0.4s, box-shadow 0.4s;
}
.navbar.scrolled {
  background: rgba(0, 10, 26, 0.92);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  padding: 12px 0;
  box-shadow: 0 2px 24px rgba(0,0,0,0.6), 0 0 0 1px rgba(0,212,255,0.08);
}
.nav-container {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}
.nav-logo {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.35rem;
  color: var(--text-white);
  display: flex;
  align-items: center;
  gap: 6px;
  letter-spacing: -0.02em;
  flex-shrink: 0;
}
.logo-icon { color: var(--blue-neon); font-size: 1.1rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-light);
  border-radius: var(--radius-sm);
  transition: color 0.3s, background 0.3s;
}
.nav-links a:hover { color: var(--blue-neon); background: rgba(0,212,255,0.07); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, var(--blue-mid), var(--blue-neon));
  color: #fff;
  padding: 9px 20px;
  border-radius: 100px;
  font-weight: 700;
  font-family: var(--font-display);
  box-shadow: 0 4px 16px rgba(0,212,255,0.3);
}
.nav-links .nav-cta:hover { transform: translateY(-1px); box-shadow: 0 6px 24px rgba(0,212,255,0.45); }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 101;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile nav overlay backdrop */
.nav-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 5, 22, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  z-index: 98;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s ease, visibility 0.4s ease;
}
.nav-backdrop.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* ========================================
   HERO
   ======================================== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  padding: 120px 0 80px;
}
.hero-bg-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,212,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,212,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  z-index: 0;
}
.hero-glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  pointer-events: none;
  z-index: 0;
}
.glow-1 { width: 500px; height: 500px; background: rgba(0,100,200,0.25); top: -100px; left: -100px; animation: glowFloat 8s ease-in-out infinite; }
.glow-2 { width: 400px; height: 400px; background: rgba(0,212,255,0.12); bottom: -50px; right: 10%; animation: glowFloat 10s ease-in-out infinite reverse; }
.glow-3 { width: 300px; height: 300px; background: rgba(0,60,150,0.3); top: 50%; right: 30%; animation: glowFloat 12s ease-in-out infinite 2s; }
@keyframes glowFloat { 0%,100%{transform:translateY(0) scale(1)} 50%{transform:translateY(-30px) scale(1.05)} }

/* Hero inner layout container */
.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
  width: 100%;
  display: flex;
  align-items: center;
  gap: 60px;
}

.hero-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  min-width: 0;
  max-width: 620px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.25);
  padding: 7px 16px;
  border-radius: 100px;
  font-size: clamp(0.72rem, 1vw, 0.8rem);
  color: var(--blue-neon);
  font-weight: 600;
  letter-spacing: 0.05em;
  margin-bottom: 1.5rem;
  opacity: 0;
  animation: fadeDown 0.8s 0.3s forwards;
}
.badge-dot { width: 8px; height: 8px; background: var(--blue-neon); border-radius: 50%; box-shadow: 0 0 8px var(--blue-neon); animation: blink 2s infinite; flex-shrink: 0; }
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.3} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 5vw, 4.5rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.4rem;
  display: flex;
  flex-direction: column;
  word-break: break-word;
  overflow-wrap: break-word;
}
.hero-title em { font-style: normal; color: var(--blue-neon); }
.line-reveal {
  opacity: 0;
  transform: translateY(40px);
  animation: lineUp 0.9s cubic-bezier(0.23,1,0.32,1) forwards;
}
.line-reveal.delay-1 { animation-delay: 0.2s; }
.line-reveal.delay-2 { animation-delay: 0.4s; }
@keyframes lineUp { to { opacity:1; transform:translateY(0); } }

.hero-sub {
  font-size: clamp(0.95rem, 1.5vw, 1.08rem);
  color: var(--text-light);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 500px;
  opacity: 0;
  animation: fadeUp 0.8s 0.6s forwards;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 3rem;
  opacity: 0;
  animation: fadeUp 0.8s 0.8s forwards;
}
.hero-stats {
  display: flex;
  align-items: center;
  gap: 24px;
  opacity: 0;
  animation: fadeUp 0.8s 1s forwards;
}
.h-stat { display: flex; flex-direction: column; }
.h-stat strong { font-family: var(--font-display); font-size: clamp(1.3rem, 2vw, 1.6rem); font-weight: 800; color: var(--text-white); line-height: 1; }
.h-stat span { font-size: clamp(0.7rem, 1vw, 0.78rem); color: var(--text-dim); margin-top: 2px; }
.h-stat-divider { width: 1px; height: 40px; background: var(--border-glass); flex-shrink: 0; }

@keyframes fadeUp { from{opacity:0;transform:translateY(20px)} to{opacity:1;transform:translateY(0)} }
@keyframes fadeDown { from{opacity:0;transform:translateY(-12px)} to{opacity:1;transform:translateY(0)} }

/* Hero Visual */
.hero-visual {
  flex: 0 0 auto;
  width: 420px;
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  animation: fadeUp 1s 0.5s forwards;
}
.hero-img-wrap {
  position: relative;
  width: 380px;
  height: 480px;
}
.hero-img-bg {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse, rgba(0,100,200,0.2) 0%, transparent 70%);
  border-radius: 40% 60% 60% 40% / 40% 40% 60% 60%;
  animation: morphBlob 8s ease-in-out infinite;
}
@keyframes morphBlob {
  0%,100%{border-radius:40% 60% 60% 40%/40% 40% 60% 60%}
  50%{border-radius:60% 40% 40% 60%/60% 60% 40% 40%}
}
.hero-img-inner {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-body-svg { width: 240px; height: auto; filter: drop-shadow(0 0 30px rgba(0,212,255,0.3)); }
.pulse-line { stroke-dasharray: 300; stroke-dashoffset: 300; animation: drawLine 3s 1s linear forwards, pulseLine 3s 4s ease-in-out infinite; }
@keyframes drawLine { to{stroke-dashoffset:0} }
@keyframes pulseLine { 0%,100%{opacity:0.6} 50%{opacity:1} }
.joint-pulse { animation: jointBeat 2s ease-in-out infinite; }
.joint-pulse.delay-1 { animation-delay: 0.4s; }
.joint-pulse.delay-2 { animation-delay: 0.8s; }
.joint-pulse.delay-3 { animation-delay: 1.2s; }
@keyframes jointBeat { 0%,100%{r:6;opacity:0.8} 50%{r:10;opacity:1} }

.floating-badge {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  backdrop-filter: blur(14px);
  border-radius: 100px;
  padding: 8px 16px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-white);
  white-space: nowrap;
  box-shadow: var(--shadow-glow);
}
.floating-badge svg { width: 16px; height: 16px; flex-shrink: 0; }
.fb-1 { top: 60px; left: -30px; animation: floatBadge 4s ease-in-out infinite; }
.fb-2 { top: 200px; right: -20px; animation: floatBadge 4s ease-in-out infinite 1s; }
.fb-3 { bottom: 80px; left: -10px; animation: floatBadge 4s ease-in-out infinite 2s; }
@keyframes floatBadge { 0%,100%{transform:translateY(0)} 50%{transform:translateY(-10px)} }

.hero-scroll-hint {
  position: absolute;
  bottom: 30px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--text-dim);
  opacity: 0;
  animation: fadeUp 0.8s 1.5s forwards;
}
.scroll-line {
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, var(--blue-neon), transparent);
  animation: scrollPulse 2s ease-in-out infinite;
}
@keyframes scrollPulse { 0%,100%{transform:scaleY(1);opacity:1} 50%{transform:scaleY(0.6);opacity:0.5} }

/* ========================================
   ABOUT
   ======================================== */
.about { background: linear-gradient(180deg, var(--bg-deep), var(--bg-dark)); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-text { display: flex; flex-direction: column; gap: 16px; }
.about-text p { color: var(--text-light); line-height: 1.8; font-size: clamp(0.9rem, 1.2vw, 1rem); }
.about-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 8px 0 24px;
}
.about-features li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: var(--text-light);
  font-size: 0.95rem;
}
.feat-icon { color: var(--blue-neon); font-size: 1.1rem; flex-shrink: 0; }
.doctors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.doctor-card {
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
  transition: var(--transition);
  cursor: pointer;
}
.doctor-card:hover { transform: translateY(-6px); box-shadow: 0 12px 40px rgba(0,212,255,0.2); border-color: rgba(0,212,255,0.3); }
.doc-avatar {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0,212,255,0.3);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
  flex-shrink: 0;
}
.doc-avatar svg { width: 100%; height: 100%; }
.doctor-card h4 { font-family: var(--font-display); font-size: 0.95rem; font-weight: 700; }
.doctor-card > span { font-size: 0.75rem; color: var(--blue-neon); font-weight: 600; letter-spacing: 0.04em; }
.doctor-card p { font-size: 0.8rem; color: var(--text-dim); line-height: 1.5; }
.doctor-card .doc-view-profile {
  font-size: 0.75rem;
  color: var(--blue-neon);
  font-weight: 600;
  letter-spacing: 0.04em;
  margin-top: 4px;
  opacity: 0;
  transform: translateY(4px);
  transition: var(--transition);
}
.doctor-card:hover .doc-view-profile {
  opacity: 1;
  transform: translateY(0);
}

/* ========================================
   TREATMENTS
   ======================================== */
.treatments { background: var(--bg-deep); }
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.treatment-card {
  padding: 32px 28px;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.treatment-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--ic, var(--blue-neon)), transparent);
  opacity: 0;
  transition: opacity 0.4s;
}
.treatment-card:hover::before { opacity: 1; }
.treatment-card:hover {
  transform: translateY(-8px) scale(1.01);
  box-shadow: 0 20px 60px rgba(0,212,255,0.2), 0 0 0 1px rgba(0,212,255,0.2);
}
.tc-icon {
  width: 60px;
  height: 60px;
  border-radius: var(--radius-md);
  background: rgba(0,212,255,0.06);
  border: 1px solid rgba(0,212,255,0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  color: var(--ic, var(--blue-neon));
  transition: var(--transition);
}
.treatment-card:hover .tc-icon {
  background: rgba(0,212,255,0.12);
  box-shadow: 0 0 20px rgba(0,212,255,0.2);
  transform: scale(1.05);
}
.tc-icon svg { width: 28px; height: 28px; }
.treatment-card h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  font-weight: 700;
  margin-bottom: 10px;
}
.treatment-card p { font-size: 0.88rem; color: var(--text-light); line-height: 1.7; margin-bottom: 16px; }
.tc-tag {
  font-size: 0.8rem;
  color: var(--blue-neon);
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: letter-spacing 0.3s;
}
.treatment-card:hover .tc-tag { letter-spacing: 0.08em; }

/* ========================================
   WHY US
   ======================================== */
.why-us { background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep)); }
.counters-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 60px;
}
.counter-card {
  padding: 36px 24px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
}
.counter-card:hover { transform: translateY(-6px); box-shadow: 0 16px 50px rgba(0,212,255,0.2); }
.counter-glow {
  position: absolute;
  bottom: -30px;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 80px;
  background: radial-gradient(ellipse, rgba(0,212,255,0.25), transparent 70%);
  pointer-events: none;
}
.counter-val {
  font-family: var(--font-display);
  font-size: clamp(2.2rem, 3vw, 3rem);
  font-weight: 800;
  color: var(--blue-neon);
  line-height: 1;
  text-shadow: 0 0 20px rgba(0,212,255,0.5);
}
.counter-plus { font-family: var(--font-display); font-size: 2rem; font-weight: 800; color: var(--blue-neon); }
.counter-card p { font-size: 0.9rem; color: var(--text-light); margin-top: 8px; font-weight: 500; }
.why-features {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.why-feat {
  padding: 28px 22px;
  transition: var(--transition);
}
.why-feat:hover { transform: translateY(-4px); border-color: rgba(0,212,255,0.3); }
.wf-icon {
  width: 50px;
  height: 50px;
  background: rgba(0,212,255,0.06);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.wf-icon svg { width: 24px; height: 24px; }
.why-feat h4 { font-family: var(--font-display); font-size: 1rem; font-weight: 700; margin-bottom: 8px; }
.why-feat p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }

/* ========================================
   APPOINTMENT
   ======================================== */
.appointment { background: var(--bg-deep); position: relative; }
.appt-bg-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  max-width: 800px;
  height: 600px;
  background: radial-gradient(ellipse, rgba(0,80,180,0.15), transparent 70%);
  pointer-events: none;
}
.appt-wrapper {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 0;
  overflow: hidden;
  padding: 0;
}
.appt-info {
  padding: 48px 40px;
  background: rgba(0,212,255,0.04);
  border-right: 1px solid var(--border-glass);
}
.appt-info h3 { font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; margin-bottom: 24px; }
.appt-info ul { display: flex; flex-direction: column; gap: 14px; margin-bottom: 32px; }
.appt-info ul li { display: flex; align-items: center; gap: 12px; color: var(--text-light); font-size: 0.9rem; }
.appt-info ul li span { color: var(--blue-neon); font-size: 1rem; flex-shrink: 0; }
.appt-contact { margin-top: 24px; }
.appt-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue-neon);
  font-weight: 600;
  font-size: 1rem;
  transition: gap 0.3s;
}
.appt-btn-link:hover { gap: 14px; }
.appt-btn-link svg { width: 18px; height: 18px; flex-shrink: 0; }
.appt-form { padding: 48px 40px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-bottom: 20px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text-light); letter-spacing: 0.04em; text-transform: uppercase; }
.form-group input,
.form-group select {
  background: rgba(0,20,45,0.6);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  padding: 13px 16px;
  color: var(--text-white);
  font-size: 0.92rem;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
}
.form-group input::placeholder { color: var(--text-dim); }
.form-group input:focus,
.form-group select:focus {
  border-color: var(--blue-neon);
  box-shadow: 0 0 0 3px rgba(0,212,255,0.12), 0 0 16px rgba(0,212,255,0.1);
}
.form-group input.error,
.form-group select.error { border-color: #ff4466; box-shadow: 0 0 0 3px rgba(255,68,102,0.12); }
.form-error { font-size: 0.75rem; color: #ff4466; display: none; }
.form-error.show { display: block; animation: shakeError 0.4s; }
@keyframes shakeError { 0%,100%{transform:translateX(0)} 20%,60%{transform:translateX(-6px)} 40%,80%{transform:translateX(6px)} }

/* ========================================
   TESTIMONIALS
   ======================================== */
.testimonials { background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep)); overflow: hidden; }
.testimonial-slider-wrap { position: relative; overflow: hidden; }
.testimonial-slider {
  display: flex;
  gap: 24px;
  transition: transform 0.6s cubic-bezier(0.23,1,0.32,1);
}
.testi-card {
  flex: 0 0 calc(33.333% - 16px);
  max-width: 400px;
  padding: 32px;
  flex-shrink: 0;
  transition: var(--transition);
}
.testi-card:hover { border-color: rgba(0,212,255,0.3); transform: translateY(-4px); }
.stars { color: #fbbf24; font-size: 1rem; margin-bottom: 14px; letter-spacing: 2px; }
.testi-card > p { color: var(--text-light); font-size: 0.92rem; line-height: 1.75; margin-bottom: 24px; font-style: italic; }
.testi-author { display: flex; align-items: center; gap: 14px; }
.testi-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
  border: 1px solid rgba(0,212,255,0.25);
}
.testi-author strong { font-size: 0.92rem; font-weight: 700; display: block; }
.testi-author span { font-size: 0.78rem; color: var(--text-dim); }
.testi-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 36px;
}
.testi-prev, .testi-next {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}
.testi-prev:hover, .testi-next:hover {
  background: rgba(0,212,255,0.15);
  border-color: var(--blue-neon);
  box-shadow: 0 0 16px rgba(0,212,255,0.25);
}
.testi-dots { display: flex; gap: 8px; }
.testi-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--text-dim);
  cursor: pointer;
  transition: var(--transition);
  border: none;
  padding: 0;
}
.testi-dot.active { background: var(--blue-neon); width: 24px; border-radius: 4px; box-shadow: 0 0 8px var(--blue-neon); }

/* ========================================
   GALLERY
   ======================================== */
.gallery { background: var(--bg-deep); }
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 220px);
  gap: 16px;
}
.gallery-item { border-radius: var(--radius-lg); overflow: hidden; cursor: pointer; }
.gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
.gallery-item:nth-child(2) { grid-column: 2; grid-row: 1/3; }
.gallery-item:nth-child(3) { grid-column: 3; grid-row: 1; }
.gallery-item:nth-child(4) { grid-column: 1; grid-row: 2; }
.gallery-item:nth-child(5) { grid-column: 3; grid-row: 2; }
.gallery-item:nth-child(6) { display: none; }
.gallery-img {
  width: 100%;
  height: 100%;
  position: relative;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s cubic-bezier(0.23,1,0.32,1);
}
.gallery-item:hover .gallery-img { transform: scale(1.06); }
.gi-1 { background: linear-gradient(135deg,#001a3a,#003366), url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 200 200'%3E%3Crect width='200' height='200' fill='%23001a3a'/%3E%3Ccircle cx='100' cy='80' r='40' fill='%23003366' opacity='.6'/%3E%3Crect x='60' y='110' width='80' height='60' rx='8' fill='%23003366' opacity='.5'/%3E%3C/svg%3E") center/cover; }
.gi-2 { background: linear-gradient(180deg,#001133,#004477); min-height: 100%; }
.gi-3 { background: linear-gradient(135deg,#002244,#005588); }
.gi-4 { background: linear-gradient(135deg,#001122,#003355); }
.gi-5 { background: linear-gradient(135deg,#002233,#004466); }
.gi-6 { background: linear-gradient(135deg,#001a33,#003355); }

/* Decorative SVG overlays on gallery */
.gi-1::after, .gi-2::after, .gi-3::after, .gi-4::after, .gi-5::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0,100,200,0.3), transparent);
}
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,10,30,0.85) 0%, transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.4s;
  z-index: 2;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span {
  font-size: 1.5rem;
  color: var(--blue-neon);
  margin-bottom: 4px;
  display: block;
}
.gallery-overlay p { font-family: var(--font-display); font-weight: 700; font-size: 0.95rem; color: #fff; }

/* Gallery decorative content */
.gi-1 { position: relative; }
.gi-1::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 60% 40%, rgba(0,212,255,0.15), transparent 60%);
  z-index: 1;
}

/* ========================================
   CONTACT
   ======================================== */
.contact { background: linear-gradient(180deg, var(--bg-dark), var(--bg-deep)); }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 32px;
  align-items: start;
}
.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-card {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 22px 24px;
  transition: var(--transition);
}
.contact-card:hover { border-color: rgba(0,212,255,0.3); transform: translateX(4px); }
.contact-card svg { width: 24px; height: 24px; flex-shrink: 0; margin-top: 2px; }
.contact-card h4 { font-family: var(--font-display); font-size: 0.9rem; font-weight: 700; margin-bottom: 6px; }
.contact-card p { font-size: 0.85rem; color: var(--text-light); line-height: 1.6; }
.contact-link { font-size: 0.82rem; color: var(--blue-neon); font-weight: 600; margin-top: 6px; display: inline-block; }
.contact-actions-row { display: flex; gap: 12px; flex-wrap: wrap; }
.btn-whatsapp {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  background: linear-gradient(135deg, #128C7E, #25D366);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  border-radius: 100px;
  transition: var(--transition);
  box-shadow: 0 4px 20px rgba(37,211,102,0.3);
}
.btn-whatsapp:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(37,211,102,0.45); }
.btn-whatsapp svg { width: 18px; height: 18px; }
.map-wrap {
  overflow: hidden;
  padding: 0;
  height: 380px;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; filter: invert(90%) hue-rotate(180deg) saturate(0.3) brightness(0.9); }

/* ========================================
   FOOTER
   ======================================== */
.footer {
  background: rgba(0,5,15,0.98);
  border-top: 1px solid var(--border-glass);
  padding: 60px 0 30px;
  position: relative;
  z-index: 1;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 50px;
}
.footer-brand p { font-size: 0.88rem; color: var(--text-dim); line-height: 1.7; max-width: 260px; }
.footer-col h5 { font-family: var(--font-display); font-size: 0.85rem; font-weight: 700; color: var(--text-white); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 18px; }
.footer-col ul { display: flex; flex-direction: column; gap: 10px; }
.footer-col ul li, .footer-col ul a { font-size: 0.85rem; color: var(--text-dim); transition: color 0.3s; }
.footer-col ul a:hover { color: var(--blue-neon); }
.footer-bottom {
  border-top: 1px solid var(--border-glass);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: var(--text-dim);
  flex-wrap: wrap;
  gap: 8px;
}

/* ========================================
   MODALS
   ======================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,5,20,0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.4s, visibility 0.4s;
}
.modal-overlay.active {
  opacity: 1;
  visibility: visible;
  pointer-events: all;
}
.modal-box {
  max-width: 580px;
  width: 100%;
  padding: 48px 44px;
  position: relative;
  transform: scale(0.85) translateY(30px);
  transition: transform 0.45s cubic-bezier(0.23,1,0.32,1);
  max-height: 90vh;
  overflow-y: auto;
}
.modal-overlay.active .modal-box {
  transform: scale(1) translateY(0);
}
.modal-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 40px; height: 40px;
  border-radius: 50%;
  background: rgba(0,212,255,0.08);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 10;
  cursor: pointer;
}
.modal-close:hover { background: rgba(0,212,255,0.2); transform: rotate(90deg); }
.modal-box h2 { font-family: var(--font-display); font-size: clamp(1.4rem, 3vw, 1.8rem); font-weight: 800; margin-bottom: 16px; padding-right: 40px; }
.modal-box p { color: var(--text-light); font-size: 0.92rem; line-height: 1.7; margin-bottom: 14px; }
.modal-list { display: flex; flex-direction: column; gap: 10px; margin: 16px 0 28px; }
.modal-list li { display: flex; align-items: center; gap: 10px; color: var(--text-light); font-size: 0.9rem; }
.modal-form { margin-top: 20px; display: flex; flex-direction: column; gap: 16px; }
.modal-form .form-group { margin-bottom: 0; }

/* Treatment modal */
#treatmentModalContent h2 { margin-bottom: 10px; }
#treatmentModalContent .tc-detail { display: flex; flex-direction: column; gap: 12px; margin: 16px 0 24px; }
#treatmentModalContent .tc-detail-item { display: flex; align-items: flex-start; gap: 12px; }
#treatmentModalContent .tc-detail-item span { color: var(--blue-neon); font-size: 1.1rem; flex-shrink: 0; }
#treatmentModalContent .tc-detail-item p { font-size: 0.88rem; color: var(--text-light); margin-bottom: 0; }

/* Gallery Modal */
.gallery-modal-box { max-width: 700px; padding: 20px; }
.gallery-modal-img {
  width: 100%;
  height: 400px;
  border-radius: var(--radius-md);
  overflow: hidden;
  margin-bottom: 16px;
  background: linear-gradient(135deg, var(--bg-dark), var(--blue-deep));
  display: flex;
  align-items: center;
  justify-content: center;
  animation: galleryZoomIn 0.5s cubic-bezier(0.23,1,0.32,1);
}
@keyframes galleryZoomIn {
  from { transform: scale(0.9); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}
.gallery-caption { text-align: center; font-family: var(--font-display); font-weight: 700; color: var(--text-white); font-size: 1.1rem; }

/* Doctor Profile Modal */
.doctor-modal-box { max-width: 600px; padding: 0; overflow: hidden; }
.doctor-modal-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 40px 40px 24px;
  background: linear-gradient(135deg, rgba(0,40,80,0.4), rgba(0,20,50,0.4));
  border-bottom: 1px solid var(--border-glass);
}
.doctor-modal-avatar {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  overflow: hidden;
  border: 2px solid rgba(0,212,255,0.3);
  box-shadow: 0 0 30px rgba(0,212,255,0.25);
  flex-shrink: 0;
}
.doctor-modal-avatar svg { width: 100%; height: 100%; }
.doctor-modal-info h3 {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  margin-bottom: 4px;
}
.doctor-modal-info .dm-specialty {
  font-size: 0.85rem;
  color: var(--blue-neon);
  font-weight: 600;
  margin-bottom: 6px;
}
.doctor-modal-info .dm-experience {
  font-size: 0.82rem;
  color: var(--text-dim);
}
.doctor-modal-body {
  padding: 28px 40px 40px;
}
.doctor-modal-body h4 {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--text-white);
}
.doctor-modal-body p {
  color: var(--text-light);
  font-size: 0.9rem;
  line-height: 1.7;
  margin-bottom: 20px;
}
.dm-specializations {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}
.dm-spec-tag {
  background: rgba(0,212,255,0.08);
  border: 1px solid rgba(0,212,255,0.2);
  color: var(--blue-neon);
  padding: 6px 14px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-weight: 600;
}

/* Success */
.success-box { text-align: center; padding: 60px 48px; }
.success-icon { width: 80px; height: 80px; margin: 0 auto 24px; }
.success-icon svg { width: 80px; height: 80px; filter: drop-shadow(0 0 16px rgba(0,212,255,0.5)); }
.success-sub { color: var(--text-dim); font-size: 0.88rem; margin-bottom: 28px; }
.success-checkmark { animation: checkmarkDraw 0.6s 0.2s ease-out forwards; }
@keyframes checkmarkDraw {
  from { stroke-dashoffset: 60; }
  to { stroke-dashoffset: 0; }
}
.success-circle { animation: successPulse 0.8s ease-out; }
@keyframes successPulse {
  0% { transform: scale(0.5); opacity: 0; }
  50% { transform: scale(1.1); }
  100% { transform: scale(1); opacity: 1; }
}

/* WhatsApp redirect notice */
.wa-redirect-notice {
  display: flex;
  align-items: center;
  gap: 8px;
  justify-content: center;
  margin-top: 12px;
  font-size: 0.82rem;
  color: #25D366;
  font-weight: 600;
  animation: fadeUp 0.5s 0.5s forwards;
  opacity: 0;
}
.wa-redirect-notice svg { width: 18px; height: 18px; flex-shrink: 0; }

/* ========================================
   FLOATING ELEMENTS
   ======================================== */
.whatsapp-float {
  position: fixed;
  bottom: 90px;
  right: 24px;
  z-index: 150;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #128C7E, #25D366);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--transition);
  color: #fff;
}
.whatsapp-float svg { width: 28px; height: 28px; }
.whatsapp-float:hover { transform: scale(1.12) translateY(-3px); box-shadow: 0 10px 32px rgba(37,211,102,0.6); }

.scroll-top {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 150;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--border-glass);
  color: var(--text-white);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
  backdrop-filter: blur(10px);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: rgba(0,212,255,0.15); border-color: var(--blue-neon); transform: translateY(-3px); }
.scroll-top svg { width: 20px; height: 20px; }

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 1100px) {
  .hero-visual { display: none; }
  .hero-inner { justify-content: center; }
  .hero-content { max-width: 700px; align-items: center; text-align: center; }
  .hero-title { align-items: center; }
  .hero-sub { text-align: center; margin-left: auto; margin-right: auto; }
  .hero-actions { justify-content: center; }
  .hero-stats { justify-content: center; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .why-features { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 30px; }
}

@media (max-width: 768px) {
  .desktop-only {
    display: none !important;
  }
  .navbar {
    background: rgba(0, 8, 22, 0.88) !important;
    backdrop-filter: blur(20px) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    padding: 14px 0 !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 1px 0 rgba(0, 212, 255, 0.12) !important;
  }
  .hamburger { display: flex; }
  .nav-links {
    position: fixed;
    top: 0; right: -100%;
    height: 100vh;
    width: 280px;
    flex-direction: column;
    background: rgba(0, 8, 22, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    padding: 100px 24px 40px;
    gap: 6px;
    transition: right 0.4s cubic-bezier(0.23, 1, 0.32, 1);
    z-index: 99;
    border-left: 1px solid rgba(0, 212, 255, 0.15);
    overflow-y: auto;
    box-shadow: -8px 0 32px rgba(0, 0, 0, 0.6);
  }
  .nav-links.open { right: 0; }
  .nav-links li {
    width: 100%;
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.4s ease, transform 0.4s ease;
    transition-delay: calc(var(--i) * 0.04s);
  }
  .nav-links.open li {
    opacity: 1;
    transform: translateX(0);
  }
  .nav-links a {
    display: block;
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 1rem;
    color: var(--text-light);
    transition: color 0.3s, background 0.3s;
  }
  .nav-links a:hover,
  .nav-links a:active {
    color: var(--blue-neon);
    background: rgba(0, 212, 255, 0.08);
  }
  .mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px solid rgba(0, 212, 255, 0.15);
  }
  .mcta-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 20px;
    border-radius: 100px;
    font-size: 0.9rem;
    font-weight: 600;
    font-family: var(--font-display);
    text-align: center;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    color: var(--text-white) !important;
    text-shadow: none;
  }
  .mcta-wa {
    background: linear-gradient(135deg, #128c7e, #25d366);
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.3);
  }
  .mcta-call {
    background: linear-gradient(135deg, #0044cc, #0088ff);
    box-shadow: 0 4px 15px rgba(0, 136, 255, 0.3);
  }
  .mcta-book {
    background: linear-gradient(135deg, var(--blue-mid), var(--blue-neon));
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.3);
  }
  .mcta-btn:active {
    transform: scale(0.96);
  }
  .section-pad { padding: 70px 0; }
  .hero { padding: 100px 0 60px; min-height: auto; }
  .hero-actions { gap: 12px; }
  .treatments-grid { grid-template-columns: 1fr; }
  .counters-grid { grid-template-columns: repeat(2, 1fr); }
  .why-features { grid-template-columns: 1fr; }
  .doctors-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(3, 200px);
  }
  .gallery-item:nth-child(1) { grid-column: 1; grid-row: 1; }
  .gallery-item:nth-child(2) { grid-column: 2; grid-row: 1/3; }
  .gallery-item:nth-child(3) { grid-column: 1; grid-row: 2; }
  .gallery-item:nth-child(4) { grid-column: 1; grid-row: 3; }
  .gallery-item:nth-child(5) { grid-column: 2; grid-row: 3; }
  .contact-grid { grid-template-columns: 1fr; }
  .appt-wrapper { grid-template-columns: 1fr; }
  .appt-info { border-right: none; border-bottom: 1px solid var(--border-glass); padding: 32px 24px; }
  .appt-form { padding:  32px 10px 32px 5px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-stats { gap: 16px; flex-wrap: wrap; justify-content: center; }
  .h-stat-divider { display: none; }
  .testi-card { flex: 0 0 calc(100% - 0px); max-width: 100%; }
  .modal-box { padding: 32px 24px; margin: 10px; }
  .gallery-modal-img { height: 260px; }
  .doctor-modal-header { flex-direction: column; align-items: center; text-align: center; padding: 32px 24px 20px; }
  .doctor-modal-body { padding: 20px 24px 32px; }
  .dm-specializations { justify-content: center; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-title { font-size: clamp(1.8rem, 8vw, 2.4rem); }
  .hero-actions { flex-direction: column; align-items: stretch; width: 100%; }
  .hero-actions .btn-primary,
  .hero-actions .btn-ghost { width: 100%; justify-content: center; }
  .hero-sub { font-size: 0.92rem; }
  .counters-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .counter-card { padding: 24px 16px; }
  .doctors-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; grid-template-rows: none; }
  .gallery-item { min-height: 180px; }
  .gallery-item:nth-child(1),
  .gallery-item:nth-child(2),
  .gallery-item:nth-child(3),
  .gallery-item:nth-child(4),
  .gallery-item:nth-child(5) {
    grid-column: 1;
    grid-row: auto;
  }
  .gallery-img { height: 180px; }
  .section-title { font-size: clamp(1.6rem, 6vw, 2rem); }
  .treatment-card { padding: 24px 20px; }
  .modal-box { padding: 28px 20px; }
  .gallery-modal-img { height: 200px; }
  .testi-card { padding: 24px 20px; }
  .contact-actions-row { flex-direction: column; }
  .contact-actions-row a { text-align: center; justify-content: center; }
}

/* ── Animation Utilities ── */
.reveal.delay-1 { transition-delay: 0.1s; }
.reveal.delay-2 { transition-delay: 0.2s; }
.reveal.delay-3 { transition-delay: 0.3s; }
.reveal.delay-4 { transition-delay: 0.4s; }

/* ========================================
   MOBILE BOTTOM BAR
   ======================================== */
.mobile-bottom-bar {
  display: none;
}

@media (max-width: 768px) {
  body {
    padding-bottom: calc(72px + env(safe-area-inset-bottom)) !important;
  }
  
  .whatsapp-float {
    display: none !important;
  }
  
  .scroll-top {
    bottom: calc(86px + env(safe-area-inset-bottom)) !important;
  }

  .mobile-bottom-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: rgba(0, 8, 22, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(0, 212, 255, 0.25);
    border-radius: 20px 20px 0 0;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.6);
    z-index: 180;
    padding: 12px 8px calc(12px + env(safe-area-inset-bottom));
    animation: mbbSlideUp 0.6s cubic-bezier(0.23, 1, 0.32, 1) forwards;
  }

  @keyframes mbbSlideUp {
    from { transform: translateY(100%); }
    to { transform: translateY(0); }
  }

  .mbb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    background: none;
    border: none;
    color: var(--text-white);
    font-size: 0.72rem;
    font-weight: 500;
    font-family: var(--font-body);
    transition: var(--transition);
    cursor: pointer;
    text-align: center;
    padding: 4px 0;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    -webkit-tap-highlight-color: transparent;
  }

  .mbb-item i {
    font-size: 1.2rem;
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275), color 0.3s;
    color: var(--text-light);
  }

  .mbb-item span {
    transition: color 0.3s;
    color: var(--text-light);
  }

  /* Active glow effect on touch/hover */
  .mbb-item:active i,
  .mbb-item:hover i {
    color: var(--blue-neon);
    transform: translateY(-2px) scale(1.1);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
  }
  
  .mbb-item:active span,
  .mbb-item:hover span {
    color: var(--blue-neon);
    text-shadow: 0 0 8px rgba(0, 212, 255, 0.5);
  }

  .mbb-item:focus {
    outline: none;
  }
  
  /* Animated background ripple overlay */
  .mbb-ripple {
    position: absolute;
    border-radius: 50%;
    background: rgba(0, 212, 255, 0.15);
    transform: scale(0);
    animation: mbbRippleAnim 0.5s ease-out;
    pointer-events: none;
  }

  @keyframes mbbRippleAnim {
    to { transform: scale(2.5); opacity: 0; }
  }
}
/* Desktop default */
.mobile-nav-ctas {
  display: none;
}

/* Mobile view only */
@media (max-width: 768px) {

  /* Hide desktop book button */
  .desktop-only {
    display: none !important;
  }

  /* Show mobile CTA buttons */
  .mobile-nav-ctas {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
    margin-top: 18px;
    padding: 0 10px;
    list-style: none;
  }

  .mobile-nav-ctas a,
  .mobile-nav-ctas button {
    width: 100%;
    border: none;
    outline: none;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
  }

  /* WhatsApp Button */
  .mcta-wa {
    background: #25D366;
    color: #fff;
  }

  .mcta-wa:hover {
    transform: translateY(-2px);
  }

  /* Call Button */
  .mcta-call {
    background: #0d6efd;
    color: #fff;
  }

  .mcta-call:hover {
    transform: translateY(-2px);
  }

  /* Book Appointment Button */
  .mcta-book {
    background: #ff7a00;
    color: #fff;
  }

  .mcta-book:hover {
    transform: translateY(-2px);
  }

  /* Icons */
  .mobile-nav-ctas i {
    font-size: 16px;
  }
}