/* =============================================
   GLOBAL STYLES - Dr. Arjun Sharma Cardiologist
   Performance Optimized Version
   ============================================= */

/* font-display:swap prevents invisible text during font load */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Playfair+Display:wght@400;600;700&display=swap');

:root {
  --primary: #1a4f7a;
  --primary-dark: #0f3256;
  --primary-light: #2d7ab8;
  --accent: #e63946;
  --accent-dark: #c1121f;
  --accent-light: #ff6b77;
  --gold: #f4a261;
  --bg-light: #f0f7ff;
  --bg-soft: #f8fbff;
  --white: #ffffff;
  --text-dark: #1a2332;
  --text-mid: #4a5568;
  --text-light: #718096;
  --border: #e2eaf4;
  --shadow-sm: 0 2px 8px rgba(26,79,122,0.08);
  --shadow-md: 0 8px 30px rgba(26,79,122,0.14);
  --shadow-lg: 0 20px 60px rgba(26,79,122,0.18);
  --shadow-red: 0 8px 30px rgba(230,57,70,0.25);
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-xl: 40px;
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
}

/* ---- RESET ---- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.65;
  overflow-x: hidden;
  text-rendering: optimizeSpeed; /* faster than optimizeLegibility for body */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
  /* Prevent layout shift while loading */
  content-visibility: auto;
}
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; outline: none; font-family: var(--font-body); }

/* ---- UTILITY ---- */
.container { width: 100%; max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.section { padding: 90px 0; }
.section-sm { padding: 60px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white); }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-1 { gap: 8px; }
.gap-2 { gap: 16px; }
.gap-3 { gap: 24px; }
.mt-1 { margin-top: 8px; }
.mt-2 { margin-top: 16px; }
.mt-3 { margin-top: 24px; }
.mb-2 { margin-bottom: 16px; }
.mb-3 { margin-bottom: 24px; }

/* ---- SECTION LABELS ---- */
.section-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(230,57,70,0.08);
  border: 1px solid rgba(230,57,70,0.2);
  padding: 6px 14px;
  border-radius: 50px;
  margin-bottom: 18px;
}
.section-label i { font-size: 11px; }

.section-title {
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.25;
  margin-bottom: 16px;
}
.section-title span { color: var(--primary); }
.section-subtitle {
  font-size: 16px;
  color: var(--text-mid);
  max-width: 580px;
  line-height: 1.7;
}
.section-subtitle.center { margin: 0 auto; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 50px;
  font-size: 15px;
  font-weight: 600;
  transition: var(--transition);
  letter-spacing: 0.3px;
  position: relative;
  overflow: hidden;
}
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.12);
  opacity: 0;
  transition: var(--transition);
}
.btn:hover::after { opacity: 1; }
.btn-primary {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  box-shadow: 0 6px 22px rgba(26,79,122,0.35);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(26,79,122,0.45); }
.btn-accent {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: var(--white);
  box-shadow: var(--shadow-red);
}
.btn-accent:hover { transform: translateY(-2px); box-shadow: 0 12px 36px rgba(230,57,70,0.45); }
.btn-outline {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}
.btn-outline:hover { background: var(--primary); color: var(--white); transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--primary);
  box-shadow: 0 6px 22px rgba(255,255,255,0.25);
}
.btn-white:hover { background: var(--bg-light); transform: translateY(-2px); }
.btn-lg { padding: 17px 36px; font-size: 16px; }
.btn-sm { padding: 10px 20px; font-size: 13px; }

/* ==========================================
   NAVBAR
   ========================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 0;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: var(--transition);
}
.navbar.scrolled {
  border-bottom-color: var(--border);
  box-shadow: var(--shadow-sm);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo-icon {
  width: 44px; height: 44px;
  background: transparent;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-icon i { color: white; font-size: 20px; }
.nav-logo-img {
  width: 44px;
  height: 44px;
  object-fit: contain;
  border-radius: 10px;
  display: block;
}
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-name {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1.2;
}
.nav-logo-title { font-size: 11px; color: var(--text-light); letter-spacing: 0.5px; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  transition: var(--transition);
}
.nav-links a:hover, .nav-links a.active {
  color: var(--primary);
  background: rgba(26,79,122,0.07);
}
.nav-cta { display: flex; align-items: center; gap: 10px; }
.nav-phone {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--accent);
  padding: 8px 12px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-phone:hover { background: rgba(230,57,70,0.07); }
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  padding: 8px;
  border-radius: 8px;
  transition: var(--transition);
}
.nav-hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 4px;
  transition: var(--transition);
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* Mobile Menu */
.mobile-menu {
  display: none;
  position: fixed;
  top: 72px; left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: 20px;
  z-index: 999;
  transform: translateY(-20px);
  opacity: 0;
  transition: var(--transition);
}
.mobile-menu.open {
  display: block;
  transform: translateY(0);
  opacity: 1;
}
.mobile-menu a {
  display: block;
  padding: 13px 16px;
  font-size: 15px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: var(--radius-sm);
  transition: var(--transition);
  border-bottom: 1px solid var(--bg-light);
}
.mobile-menu a:hover { background: var(--bg-light); color: var(--primary); }
.mobile-menu .mobile-cta {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.mobile-menu .mobile-cta a { flex: 1; text-align: center; border-bottom: none; }

/* ==========================================
   HERO SECTION
   ========================================== */
.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f2744 0%, #1a4f7a 50%, #1e6091 100%);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 72px;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,122,184,0.3), transparent 70%);
  border-radius: 50%;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -150px; left: -80px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(230,57,70,0.15), transparent 70%);
  border-radius: 50%;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 60px;
  position: relative;
  z-index: 2;
  padding: 60px 0;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: #a8d8f0;
  font-size: 13px;
  font-weight: 500;
  padding: 8px 16px;
  border-radius: 50px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
}
.hero-badge span { color: var(--gold); font-weight: 600; }
.hero-title {
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 58px);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 20px;
}
.hero-title .highlight {
  color: var(--gold);
  display: block;
}
.hero-subtitle {
  font-size: 17px;
  color: rgba(255,255,255,0.78);
  margin-bottom: 36px;
  line-height: 1.7;
  max-width: 480px;
}
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 48px; }
.hero-emergency {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, #c1121f, var(--accent));
  color: var(--white);
  padding: 16px 28px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 16px;
  box-shadow: 0 8px 30px rgba(193,18,31,0.5);
  animation: pulse-red 2.5s ease infinite;
  transition: var(--transition);
}
.hero-emergency:hover { transform: translateY(-3px); box-shadow: 0 14px 40px rgba(193,18,31,0.6); }
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 8px 30px rgba(193,18,31,0.5); }
  50% { box-shadow: 0 8px 40px rgba(193,18,31,0.8), 0 0 0 8px rgba(193,18,31,0.12); }
}
.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}
.hero-stat {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 20px 16px;
  text-align: center;
  transition: var(--transition);
  will-change: transform; /* promote to own layer for hover */
}
.hero-stat:hover { background: rgba(255,255,255,0.13); transform: translateY(-3px); }
.hero-stat-num {
  font-family: var(--font-heading);
  font-size: 32px;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label { font-size: 12px; color: rgba(255,255,255,0.7); font-weight: 500; }

.hero-image-wrap {
  position: relative;
  display: flex;
  justify-content: center;
}
.hero-image-frame {
  position: relative;
  display: inline-block;
}
.hero-image-frame::before {
  content: '';
  position: absolute;
  inset: -14px;
  border: 2px solid rgba(244,162,97,0.4);
  border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
  animation: morph 8s ease-in-out infinite;
}
@keyframes morph {
  0%, 100% { border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%; }
  50% { border-radius: 70% 30% 30% 70% / 70% 70% 30% 30%; }
}
.hero-img {
  width: 420px;
  height: 520px;
  object-fit: cover;
  border-radius: 28px;
  box-shadow: 0 30px 80px rgba(0,0,0,0.4);
  position: relative;
  z-index: 1;
}
.hero-card {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 2;
  animation: float 3s ease-in-out infinite;
  will-change: transform; /* GPU composite layer for animation */
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.hero-card-1 { bottom: 40px; left: -40px; animation-delay: 0s; }
.hero-card-2 { top: 60px; right: -40px; animation-delay: 1.5s; }
.hero-card-icon {
  width: 42px; height: 42px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.hero-card-icon.green { background: rgba(34,197,94,0.12); color: #16a34a; }
.hero-card-icon.blue { background: rgba(26,79,122,0.12); color: var(--primary); }
.hero-card-text p { font-size: 12px; color: var(--text-light); }
.hero-card-text strong { font-size: 14px; color: var(--text-dark); font-weight: 700; }

/* ==========================================
   TRUST BAR
   ========================================== */
.trust-bar {
  background: var(--primary-dark);
  padding: 18px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255,255,255,0.85);
  font-size: 13px;
  font-weight: 500;
}
.trust-item i { color: var(--gold); font-size: 16px; }

/* ==========================================
   ABOUT / INTRO SECTION
   ========================================== */
.about-intro { background: var(--white); }
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 70px;
  align-items: center;
}
.about-image-block { position: relative; }
.about-img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.experience-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: white;
  border-radius: var(--radius-md);
  padding: 20px 24px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.experience-badge .num {
  font-family: var(--font-heading);
  font-size: 42px;
  font-weight: 700;
  line-height: 1;
  color: var(--gold);
}
.experience-badge p { font-size: 12px; opacity: 0.85; margin-top: 2px; }
.about-content {}
.about-highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin: 28px 0;
}
.about-highlight {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 16px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--primary);
  transition: var(--transition);
}
.about-highlight:hover { background: var(--bg-light); border-left-color: var(--accent); }
.about-highlight i {
  color: var(--primary);
  font-size: 18px;
  margin-top: 2px;
  flex-shrink: 0;
}
.about-highlight h4 { font-size: 13px; font-weight: 600; color: var(--text-dark); }
.about-highlight p { font-size: 12px; color: var(--text-light); margin-top: 2px; }

/* ==========================================
   WHY CHOOSE US
   ========================================== */
.why-choose { background: var(--bg-light); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}
.why-card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 24px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  contain: layout style; /* isolate paint cost */
  will-change: transform;
}
.why-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: var(--transition);
}
.why-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon {
  width: 68px; height: 68px;
  background: linear-gradient(135deg, rgba(26,79,122,0.08), rgba(26,79,122,0.15));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
  font-size: 28px;
  color: var(--primary);
  transition: var(--transition);
}
.why-card:hover .why-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
  transform: scale(1.08);
}
.why-card h3 { font-size: 17px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.why-card p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }

/* ==========================================
   SERVICES SECTION
   ========================================== */
.services { background: var(--white); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
  margin-top: 48px;
}
.service-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 32px 26px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
  contain: layout style;
  will-change: transform;
}
.service-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), var(--accent-light));
  transform: scaleX(0);
  transition: var(--transition);
}
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: rgba(26,79,122,0.2); }
.service-card:hover::after { transform: scaleX(1); }
.service-icon {
  width: 60px; height: 60px;
  background: linear-gradient(135deg, var(--bg-light), rgba(26,79,122,0.1));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: var(--primary);
  margin-bottom: 20px;
  transition: var(--transition);
}
.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  color: var(--white);
}
.service-card h3 { font-size: 19px; font-weight: 700; color: var(--text-dark); margin-bottom: 10px; }
.service-card p { font-size: 14px; color: var(--text-mid); line-height: 1.65; margin-bottom: 20px; }
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: var(--transition);
}
.service-link:hover { gap: 10px; color: var(--accent); }

/* ==========================================
   TREATMENT HIGHLIGHTS
   ========================================== */
.treatment-highlights {
  background: linear-gradient(135deg, #0f2744 0%, #1a4f7a 100%);
  position: relative;
  overflow: hidden;
}
.treatment-highlights::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(244,162,97,0.1), transparent 70%);
  border-radius: 50%;
}
.treatments-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
  position: relative;
  z-index: 1;
}
.treatment-card {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  border-radius: var(--radius-md);
  padding: 30px 22px;
  text-align: center;
  transition: var(--transition);
  will-change: transform;
}
.treatment-card:hover {
  background: rgba(255,255,255,0.11);
  transform: translateY(-4px);
  border-color: rgba(244,162,97,0.3);
}
.treatment-icon {
  font-size: 36px;
  margin-bottom: 16px;
  display: block;
}
.treatment-card h3 { font-size: 16px; font-weight: 700; color: var(--white); margin-bottom: 8px; }
.treatment-card p { font-size: 13px; color: rgba(255,255,255,0.7); line-height: 1.6; }

/* ==========================================
   TESTIMONIALS
   ========================================== */
.testimonials { background: var(--bg-light); }
.testimonials-slider { margin-top: 48px; position: relative; overflow: hidden; }
.testimonials-track { display: flex; transition: transform 0.5s cubic-bezier(0.4,0,0.2,1); }
.testimonial-card {
  min-width: calc(33.333% - 16px);
  margin-right: 24px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); }
.testimonial-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testimonial-stars i { color: var(--gold); font-size: 16px; }
.testimonial-text {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  margin-bottom: 24px;
  font-style: italic;
}
.testimonial-text::before { content: '"'; font-size: 40px; color: var(--primary); opacity: 0.2; line-height: 0; vertical-align: -18px; margin-right: 4px; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 700;
  font-size: 18px;
  flex-shrink: 0;
}
.testimonial-author h4 { font-size: 15px; font-weight: 700; color: var(--text-dark); }
.testimonial-author p { font-size: 13px; color: var(--text-light); }
.slider-controls { display: flex; justify-content: center; gap: 12px; margin-top: 32px; }
.slider-btn {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  border: 2px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: var(--primary);
  transition: var(--transition);
  cursor: pointer;
}
.slider-btn:hover { background: var(--primary); color: var(--white); border-color: var(--primary); }
.slider-dots { display: flex; gap: 8px; align-items: center; }
.slider-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--border);
  cursor: pointer;
  transition: var(--transition);
}
.slider-dot.active { background: var(--primary); width: 24px; border-radius: 4px; }

/* ==========================================
   GOOGLE REVIEWS
   ========================================== */
.google-reviews { background: var(--white); }
.reviews-summary {
  display: flex;
  align-items: center;
  gap: 40px;
  background: linear-gradient(135deg, var(--bg-light), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 48px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}
.review-score { text-align: center; }
.review-score .score-num {
  font-family: var(--font-heading);
  font-size: 72px;
  font-weight: 700;
  color: var(--primary);
  line-height: 1;
}
.review-score .score-stars { display: flex; gap: 4px; justify-content: center; margin: 8px 0; }
.review-score .score-stars i { color: var(--gold); font-size: 20px; }
.review-score p { font-size: 14px; color: var(--text-light); }
.review-divider { width: 1px; background: var(--border); height: 100px; }
.review-bars { flex: 1; display: flex; flex-direction: column; gap: 10px; }
.review-bar-row { display: flex; align-items: center; gap: 12px; }
.review-bar-row span { font-size: 13px; color: var(--text-mid); min-width: 40px; }
.review-bar-track {
  flex: 1;
  height: 8px;
  background: var(--bg-light);
  border-radius: 4px;
  overflow: hidden;
}
.review-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold), #f4a261);
  border-radius: 4px;
  transition: width 1s ease;
}
.google-badge {
  display: flex;
  align-items: center;
  gap: 10px;
}
.google-g {
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: 800;
  background: linear-gradient(135deg, #4285F4, #EA4335);
  color: white;
}
.google-badge p { font-size: 13px; color: var(--text-light); }
.google-badge strong { font-size: 15px; color: var(--text-dark); }

/* ==========================================
   FAQ SECTION
   ========================================== */
.faq { background: var(--bg-light); }
.faq-list { max-width: 800px; margin: 48px auto 0; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.faq-item.open { border-color: rgba(26,79,122,0.25); box-shadow: var(--shadow-md); }
.faq-question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 22px 28px;
  cursor: pointer;
  gap: 16px;
  transition: var(--transition);
  user-select: none;
}
.faq-question:hover { background: var(--bg-soft); }
.faq-question h3 { font-size: 16px; font-weight: 600; color: var(--text-dark); }
.faq-item.open .faq-question h3 { color: var(--primary); }
.faq-icon {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 14px;
  flex-shrink: 0;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--primary); color: var(--white); transform: rotate(180deg); }
.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}
.faq-answer-inner {
  padding: 0 28px 24px;
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
  border-top: 1px solid var(--border);
  padding-top: 16px;
}
.faq-item.open .faq-answer { max-height: 300px; }

/* ==========================================
   APPOINTMENT CTA
   ========================================== */
.appt-cta {
  background: linear-gradient(135deg, var(--accent-dark) 0%, var(--accent) 50%, #ff6b77 100%);
  position: relative;
  overflow: hidden;
}
.appt-cta::before {
  content: '';
  position: absolute;
  top: -80px; right: 10%;
  width: 400px; height: 400px;
  background: rgba(255,255,255,0.06);
  border-radius: 50%;
}
.appt-cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}
.appt-cta-text h2 {
  font-family: var(--font-heading);
  font-size: clamp(26px, 3.5vw, 38px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
}
.appt-cta-text p { font-size: 16px; color: rgba(255,255,255,0.85); }
.appt-cta-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ==========================================
   MAP SECTION
   ========================================== */
.map-section { background: var(--white); }
.map-grid {
  display: grid;
  grid-template-columns: 1fr 1.8fr;
  gap: 40px;
  align-items: start;
  margin-top: 48px;
}
.map-info { display: flex; flex-direction: column; gap: 16px; }
.map-info-card {
  background: var(--bg-soft);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px 22px;
  display: flex;
  align-items: flex-start;
  gap: 14px;
  transition: var(--transition);
}
.map-info-card:hover { border-color: var(--primary); background: var(--bg-light); }
.map-info-card i {
  color: var(--primary);
  font-size: 20px;
  margin-top: 2px;
  flex-shrink: 0;
}
.map-info-card h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.map-info-card p { font-size: 14px; color: var(--text-mid); line-height: 1.5; }
.map-embed {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.map-embed iframe { width: 100%; height: 400px; border: none; display: block; }

/* ==========================================
   FOOTER
   ========================================== */
.footer {
  background: #0a1929;
  color: rgba(255,255,255,0.8);
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-icon {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.footer-logo-icon i { color: white; font-size: 20px; }
.footer-logo-name { font-family: var(--font-heading); font-size: 16px; font-weight: 700; color: white; }
.footer-brand p { font-size: 14px; line-height: 1.7; color: rgba(255,255,255,0.6); margin-bottom: 24px; }
.footer-social-wrap { margin-top: 30px; }
.stay-in-touch {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 15px;
  letter-spacing: 1px;
}
.footer-social { display: flex; gap: 12px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 20px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  transition: var(--transition);
  text-decoration: none;
}
.footer-social a:hover { transform: translateY(-3px); box-shadow: 0 6px 15px rgba(0,0,0,0.25); }
.footer-social a .fa-instagram {
  background: -webkit-linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.footer-social a .fa-facebook-f { color: #1877F2; }
.footer-social a .fa-linkedin-in { color: #0077B5; }
.footer-social a .fa-youtube { color: #FF0000; }
.footer-col h4 { font-size: 15px; font-weight: 700; color: white; margin-bottom: 20px; position: relative; padding-bottom: 10px; }
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0;
  width: 28px; height: 2px;
  background: var(--accent);
  border-radius: 2px;
}
.footer-links { display: flex; flex-direction: column; gap: 10px; }
.footer-links a {
  font-size: 14px;
  color: rgba(255,255,255,0.6);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-links a::before { content: '→'; font-size: 12px; opacity: 0; transform: translateX(-6px); transition: var(--transition); }
.footer-links a:hover { color: rgba(255,255,255,0.9); padding-left: 8px; }
.footer-links a:hover::before { opacity: 1; transform: translateX(0); }
.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin-bottom: 14px;
}
.footer-contact-item i { color: var(--accent); font-size: 15px; margin-top: 2px; flex-shrink: 0; }
.footer-contact-item a, .footer-contact-item span { font-size: 14px; color: rgba(255,255,255,0.65); transition: var(--transition); }
.footer-contact-item a:hover { color: rgba(255,255,255,0.9); }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.footer-bottom p { font-size: 13px; color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 13px; color: rgba(255,255,255,0.4); transition: var(--transition); }
.footer-bottom-links a:hover { color: rgba(255,255,255,0.7); }

/* ==========================================
   STICKY BUTTONS
   ========================================== */
.sticky-actions {
  position: fixed;
  bottom: 28px;
  right: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 998;
}
.sticky-btn {
  width: 56px; height: 56px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 6px 24px rgba(0,0,0,0.25);
  transition: var(--transition);
  position: relative;
  color: white;
}
.sticky-btn:hover { transform: scale(1.1); }
.sticky-btn.whatsapp { background: #25D366; }
.sticky-btn.call { background: var(--accent); }
.sticky-btn .sticky-tooltip {
  position: absolute;
  right: 68px;
  background: rgba(0,0,0,0.82);
  color: white;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.sticky-btn:hover .sticky-tooltip { opacity: 1; }

/* ==========================================
   ABOUT PAGE
   ========================================== */
.page-hero {
  background: linear-gradient(135deg, #0f2744, #1a4f7a);
  padding: 130px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: -100px; left: 50%;
  transform: translateX(-50%);
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(45,122,184,0.2), transparent 70%);
  border-radius: 50%;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 {
  font-family: var(--font-heading);
  font-size: clamp(32px, 5vw, 54px);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 14px;
}
.page-hero p { font-size: 17px; color: rgba(255,255,255,0.75); max-width: 600px; margin: 0 auto; }
.breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-top: 20px;
}
.breadcrumb a, .breadcrumb span { font-size: 14px; color: rgba(255,255,255,0.6); }
.breadcrumb a:hover { color: white; }
.breadcrumb i { font-size: 10px; color: rgba(255,255,255,0.4); }

.doctor-profile-grid {
  display: grid;
  grid-template-columns: 380px 1fr;
  gap: 60px;
  align-items: start;
}
.doctor-profile-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  border: 1px solid var(--border);
  position: sticky;
  top: 100px;
}
.doctor-profile-img { width: 100%; height: 360px; object-fit: cover; }
.doctor-profile-info { padding: 28px; }
.doctor-profile-info h2 {
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.doctor-degree { font-size: 13px; color: var(--text-light); margin-bottom: 16px; }
.doctor-rating {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
}
.doctor-rating .stars { display: flex; gap: 2px; }
.doctor-rating .stars i { color: var(--gold); font-size: 14px; }
.doctor-rating span { font-size: 13px; color: var(--text-mid); }
.doctor-quick-info { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.doctor-quick-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  color: var(--text-mid);
}
.doctor-quick-row i { color: var(--primary); width: 18px; font-size: 15px; }
.doctor-profile-actions { display: flex; flex-direction: column; gap: 10px; }
.doctor-profile-actions a { text-align: center; justify-content: center; }

.qualification-timeline { position: relative; }
.timeline-item {
  position: relative;
  padding-left: 36px;
  padding-bottom: 32px;
  border-left: 2px solid var(--border);
  margin-left: 12px;
}
.timeline-item:last-child { border-left-color: transparent; padding-bottom: 0; }
.timeline-dot {
  position: absolute;
  left: -9px;
  top: 4px;
  width: 16px; height: 16px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: 0 0 0 2px var(--primary);
}
.timeline-year {
  font-size: 12px;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 6px;
}
.timeline-item h3 { font-size: 16px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.timeline-item p { font-size: 14px; color: var(--text-mid); }

.awards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.award-card {
  background: linear-gradient(135deg, var(--bg-light), var(--white));
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  text-align: center;
  transition: var(--transition);
}
.award-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); border-color: var(--gold); }
.award-icon { font-size: 36px; margin-bottom: 12px; display: block; }
.award-card h4 { font-size: 14px; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.award-card p { font-size: 13px; color: var(--text-light); }

.opd-schedule {
  background: var(--bg-light);
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border);
}
.opd-schedule h3 { font-size: 20px; font-weight: 700; color: var(--text-dark); margin-bottom: 20px; display: flex; align-items: center; gap: 10px; }
.opd-schedule h3 i { color: var(--primary); }
.opd-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  border-bottom: 1px solid var(--border);
}
.opd-row:last-child { border-bottom: none; }
.opd-day { font-weight: 600; font-size: 15px; color: var(--text-dark); }
.opd-time { font-size: 14px; color: var(--text-mid); }
.opd-status {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
}
.opd-status.open { background: rgba(34,197,94,0.1); color: #16a34a; }
.opd-status.closed { background: rgba(230,57,70,0.1); color: var(--accent); }

/* ==========================================
   SERVICES PAGE
   ========================================== */
.services-hero {}
.services-detailed { background: var(--white); }
.service-detail-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  margin-bottom: 40px;
  transition: var(--transition);
}
.service-detail-card:hover { box-shadow: var(--shadow-md); }
.service-detail-header {
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 36px;
  background: linear-gradient(135deg, var(--bg-light), var(--white));
  border-bottom: 1px solid var(--border);
}
.service-detail-icon {
  width: 72px; height: 72px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, var(--primary), var(--primary-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: white;
  flex-shrink: 0;
}
.service-detail-title h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
}
.service-detail-title p { font-size: 14px; color: var(--text-light); margin-top: 4px; }
.service-detail-body {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 0;
}
.service-detail-col {
  padding: 30px 32px;
  border-right: 1px solid var(--border);
}
.service-detail-col:last-child { border-right: none; }
.service-detail-col h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.service-detail-col h3 i { color: var(--primary); }
.service-detail-col p { font-size: 14px; color: var(--text-mid); line-height: 1.7; }
.service-detail-col ul { display: flex; flex-direction: column; gap: 10px; }
.service-detail-col ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 14px;
  color: var(--text-mid);
}
.service-detail-col ul li i { color: var(--primary); font-size: 13px; margin-top: 3px; flex-shrink: 0; }
.service-detail-cta {
  padding: 22px 32px;
  background: var(--bg-soft);
  border-top: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
}
.service-detail-cta p { font-size: 14px; color: var(--text-mid); }
.service-detail-cta .btn { padding: 12px 24px; font-size: 14px; }

/* ==========================================
   APPOINTMENT PAGE
   ========================================== */
.appointment-page { background: var(--bg-light); }
.appointment-grid {
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  gap: 48px;
  align-items: start;
}
.appointment-info {}
.info-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 28px;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.info-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.info-card h3 i { color: var(--primary); }
.info-list { display: flex; flex-direction: column; gap: 12px; }
.info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: var(--text-mid);
  padding: 10px 14px;
  background: var(--bg-soft);
  border-radius: var(--radius-sm);
}
.info-row i { color: var(--primary); font-size: 16px; width: 20px; flex-shrink: 0; }
.info-row a { color: var(--primary); font-weight: 600; }
.info-row a:hover { text-decoration: underline; }

.appointment-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  padding: 44px;
  border: 1px solid var(--border);
}
.appointment-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.appointment-form-wrap > p {
  font-size: 15px;
  color: var(--text-mid);
  margin-bottom: 32px;
}
.form-group { margin-bottom: 22px; }
.form-group label {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.form-group label span { color: var(--accent); }
.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 13px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--primary);
  background: var(--bg-soft);
  box-shadow: 0 0 0 3px rgba(26,79,122,0.08);
}
.form-input.error { border-color: var(--accent); }
.form-textarea { min-height: 110px; resize: vertical; }
.form-select { cursor: pointer; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-submit { width: 100%; padding: 16px; font-size: 16px; border-radius: var(--radius-md); margin-top: 8px; }
.whatsapp-note {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(37,211,102,0.07);
  border: 1px solid rgba(37,211,102,0.2);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-top: 14px;
  font-size: 13px;
  color: var(--text-mid);
}
.whatsapp-note i { color: #25D366; font-size: 18px; }

/* ==========================================
   CONTACT PAGE
   ========================================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 48px;
}
.contact-form-wrap {
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 44px;
  border: 1px solid var(--border);
}
.contact-form-wrap h2 {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contact-form-wrap > p { font-size: 14px; color: var(--text-mid); margin-bottom: 28px; }
.contact-info-stack { display: flex; flex-direction: column; gap: 20px; }
.contact-info-block {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 26px 28px;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}
.contact-info-block:hover { border-color: rgba(26,79,122,0.25); box-shadow: var(--shadow-md); }
.contact-info-block.emergency {
  background: linear-gradient(135deg, var(--accent-dark), var(--accent));
  border-color: transparent;
}
.contact-info-block.emergency h3, .contact-info-block.emergency p, .contact-info-block.emergency a { color: white; }
.contact-info-block h3 {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.contact-info-block h3 i { color: var(--primary); }
.contact-info-block.emergency h3 i { color: rgba(255,255,255,0.8); }
.contact-info-block p { font-size: 14px; color: var(--text-mid); line-height: 1.6; }
.contact-info-block a {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent);
  display: block;
  margin-top: 8px;
}
.contact-info-block.emergency a { color: white; font-size: 28px; }

/* ==========================================
   ANIMATIONS
   ========================================== */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-up.visible { opacity: 1; transform: translateY(0); }
.fade-left {
  opacity: 0;
  transform: translateX(-30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-left.visible { opacity: 1; transform: translateX(0); }
.fade-right {
  opacity: 0;
  transform: translateX(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.fade-right.visible { opacity: 1; transform: translateX(0); }

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

/* ==========================================
   RESPONSIVE
   ========================================== */
@media (max-width: 1100px) {
  .why-grid { grid-template-columns: repeat(2, 1fr); }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .service-detail-body { grid-template-columns: 1fr 1fr; }
  .service-detail-col:nth-child(2) { border-right: none; }
  .service-detail-col:last-child { grid-column: 1 / -1; border-top: 1px solid var(--border); border-right: none; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; text-align: center; gap: 40px; }
  .hero-image-wrap { order: -1; }
  .hero-img { width: 320px; height: 400px; }
  .hero-subtitle { margin: 0 auto 36px; }
  .hero-actions { justify-content: center; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .hero-card-1 { left: 10px; bottom: 20px; }
  .hero-card-2 { right: 10px; top: 20px; }
  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .appointment-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .doctor-profile-grid { grid-template-columns: 1fr; }
  .doctor-profile-card { position: static; }
  .map-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonial-card { min-width: calc(50% - 12px); }
  .service-detail-body { grid-template-columns: 1fr; }
  .service-detail-col { border-right: none; border-bottom: 1px solid var(--border); }
  .service-detail-col:last-child { border-bottom: none; border-top: none; }
  .reviews-summary { flex-direction: column; gap: 20px; }
  .review-divider { width: 100%; height: 1px; }
}

@media (max-width: 768px) {
  .section { padding: 64px 0; }
  .nav-links, .nav-cta .btn { display: none; }
  .nav-hamburger { display: flex; }
  .nav-phone { font-size: 13px; }
  .trust-bar-inner { gap: 20px; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); gap: 10px; }
  .why-grid { grid-template-columns: 1fr 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .treatments-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr; }
  .testimonial-card { min-width: 100%; margin-right: 0; }
  .appt-cta-inner { flex-direction: column; text-align: center; }
  .appt-cta-actions { justify-content: center; }
  .appointment-form-wrap { padding: 28px 20px; }
  .contact-form-wrap { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }
  .about-highlights { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr 1fr; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-card-1, .hero-card-2 { display: none; }
  .service-detail-header { flex-direction: column; align-items: flex-start; gap: 16px; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero-stats { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: center; }
  .why-grid { grid-template-columns: 1fr; }
  .treatments-grid { grid-template-columns: 1fr; }
  .awards-grid { grid-template-columns: 1fr; }
  .hero-img { width: 280px; height: 340px; }
  .nav-phone { display: none; }
}

/* ==========================================
   PERFORMANCE: content-visibility on heavy sections
   Skips rendering off-screen sections until needed
   ========================================== */
.why-choose,
.services,
.treatment-highlights,
.testimonials,
.google-reviews,
.faq,
.map-section {
  content-visibility: auto;
  contain-intrinsic-size: 0 600px; /* estimated height to prevent layout shift */
}

/* ==========================================
   ACCESSIBILITY + PERFORMANCE:
   Disable animations for users who prefer reduced motion
   ========================================== */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
  .hero-emergency { animation: none !important; }
  .hero-image-frame::before { animation: none !important; }
  .hero-card { animation: none !important; }
  .fade-up, .fade-left, .fade-right {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  .testimonials-track { transition: none !important; }
}

/* ==========================================
   PERFORMANCE: GPU layer hints for slider track
   ========================================== */
.testimonials-track {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

/* Critical: prevent FOUC on font icons */
.fonts-loaded body { font-display: swap; }

/* ============================================================
   PREMIUM UPGRADE — Dr. Arjun Sharma Cardiology
   New color system: Navy #0A1628 · Gold #C9A84C · DM Sans body
   ============================================================ */

/* Extended CSS Variables */
:root {
  --navy:        #0A1628;
  --navy-mid:    #0D1F3C;
  --navy-light:  #142952;
  --gold-new:    #C9A84C;
  --gold-light:  #E2C47A;
  --gold-dark:   #A8872E;
  --glass-bg:    rgba(255,255,255,0.06);
  --glass-border:rgba(255,255,255,0.14);
  --call-blue:   #0A84FF;
  --wa-green:    #25D366;
  --font-dm:     'DM Sans', 'Inter', sans-serif;
}

/* Focus ring for accessibility */
:focus-visible {
  outline: 2px solid var(--gold-new);
  outline-offset: 3px;
}

/* ============================================================
   1. DOCTOR VIDEO GALLERY (Home Page — above footer)
   ============================================================ */
.specialists-section {
  background: linear-gradient(160deg, var(--navy) 0%, #0D2147 60%, #0a1a3a 100%);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.specialists-section::before {
  content: '';
  position: absolute;
  top: -200px; left: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.08), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.specialists-section::after {
  content: '';
  position: absolute;
  bottom: -150px; right: -100px;
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(26,79,122,0.2), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}

/* Section heading with gold underline */
.specialists-heading {
  text-align: center;
  position: relative;
  z-index: 2;
  margin-bottom: 56px;
}
.specialists-heading .section-label-new {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-new);
  font-family: var(--font-dm);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 20px;
}
.specialists-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 700;
  color: #fff;
  margin-bottom: 10px;
  line-height: 1.2;
}
.specialists-heading h2 .gold-underline {
  position: relative;
  display: inline-block;
  color: var(--gold-new);
}
.specialists-heading h2 .gold-underline::after {
  content: '';
  position: absolute;
  left: 0; bottom: -6px;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--gold-new), var(--gold-light));
  border-radius: 2px;
}
.specialists-heading p {
  font-family: var(--font-dm);
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  max-width: 500px;
  margin: 14px auto 0;
}

/* Scroll track */
.specialists-scroll-wrap {
  position: relative;
  z-index: 2;
}
.specialists-track {
  display: flex;
  gap: 28px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 16px 24px 24px;
  scrollbar-width: thin;
  scrollbar-color: rgba(201,168,76,0.4) transparent;
}
.specialists-track::-webkit-scrollbar { height: 4px; }
.specialists-track::-webkit-scrollbar-track { background: transparent; }
.specialists-track::-webkit-scrollbar-thumb { background: rgba(201,168,76,0.4); border-radius: 4px; }

/* Individual Doctor Card */
.doctor-video-card {
  flex: 0 0 300px;
  scroll-snap-align: start;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 24px;
  overflow: visible;
  position: relative;
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
.doctor-video-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 30px 70px rgba(0,0,0,0.5), 0 0 0 1px rgba(201,168,76,0.3);
  background: rgba(255,255,255,0.09);
}

/* Avatar overlapping top */
.dvc-avatar-wrap {
  display: flex;
  justify-content: center;
  position: relative;
  top: -28px;
  margin-bottom: -12px;
  z-index: 3;
}
.dvc-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-light), var(--primary));
  border: 3px solid var(--gold-new);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: white;
  box-shadow: 0 8px 24px rgba(0,0,0,0.4);
  overflow: hidden;
}
.dvc-avatar img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; }

/* Video thumbnail */
.dvc-thumb {
  position: relative;
  width: 100%;
  height: 178px;
  overflow: hidden;
  border-radius: 0;
  background: linear-gradient(135deg, #0d2040 0%, #1a4f7a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.dvc-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.3s ease, transform 0.3s ease;
}
.doctor-video-card:hover .dvc-thumb-img {
  opacity: 0.85;
  transform: scale(1.04);
}
.dvc-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(10,22,40,0.2), rgba(10,22,40,0.6));
}
.dvc-play-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold-new), var(--gold-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  color: var(--navy);
  box-shadow: 0 6px 24px rgba(201,168,76,0.5);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.dvc-play-btn i { margin-left: 3px; }
.doctor-video-card:hover .dvc-play-btn {
  animation: pulseGold 1.5s ease infinite;
  transform: translate(-50%,-50%) scale(1.12);
}
@keyframes pulseGold {
  0%, 100% { box-shadow: 0 6px 24px rgba(201,168,76,0.5); }
  50% { box-shadow: 0 6px 40px rgba(201,168,76,0.8), 0 0 0 10px rgba(201,168,76,0.15); }
}

/* Card body */
.dvc-body {
  padding: 16px 22px 24px;
}
.dvc-name {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  text-align: center;
}
.dvc-spec-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.35);
  color: var(--gold-new);
  font-family: var(--font-dm);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  padding: 4px 12px;
  border-radius: 50px;
  margin: 0 auto 12px;
  display: flex;
  justify-content: center;
  width: fit-content;
}
.dvc-bio {
  font-family: var(--font-dm);
  font-size: 13px;
  color: rgba(255,255,255,0.6);
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-align: center;
  margin-bottom: 18px;
}
.dvc-book-btn {
  display: block;
  width: 100%;
  text-align: center;
  padding: 11px 20px;
  background: linear-gradient(135deg, var(--gold-new), var(--gold-light));
  color: var(--navy);
  border-radius: 50px;
  font-family: var(--font-dm);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.3px;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}
.dvc-book-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(201,168,76,0.4);
}
.dvc-book-btn:focus-visible {
  outline: 2px solid var(--gold-new);
  outline-offset: 3px;
}

/* ---- Video Lightbox Modal ---- */
.video-lightbox {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: rgba(5,10,20,0.94);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}
.video-lightbox.open {
  opacity: 1;
  pointer-events: all;
}
.lightbox-inner {
  position: relative;
  width: min(860px, 92vw);
  border-radius: 20px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 40px 100px rgba(0,0,0,0.8);
  transform: scale(0.92);
  transition: transform 0.3s ease;
}
.video-lightbox.open .lightbox-inner { transform: scale(1); }
.lightbox-video-wrap {
  position: relative;
  padding-bottom: 56.25%;
  height: 0;
  overflow: hidden;
}
.lightbox-video-wrap iframe,
.lightbox-video-wrap video {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  border: none;
}
.lightbox-close {
  position: absolute;
  top: -44px; right: 0;
  width: 38px; height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  color: white;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.lightbox-close:hover { background: rgba(255,255,255,0.22); }
.lightbox-close:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 3px; }

/* ============================================================
   2. BLOG PAGE
   ============================================================ */

/* Blog Hero */
.blog-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2147 100%);
  padding: 140px 0 80px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.blog-hero::before {
  content: '';
  position: absolute;
  top: -150px; left: 50%;
  transform: translateX(-50%);
  width: 700px; height: 700px;
  background: radial-gradient(circle, rgba(201,168,76,0.07), transparent 65%);
  border-radius: 50%;
}
.blog-hero-content { position: relative; z-index: 1; }
.blog-hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(201,168,76,0.12);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-new);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 7px 18px;
  border-radius: 50px;
  margin-bottom: 24px;
  font-family: var(--font-dm);
}
.blog-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(32px, 5vw, 58px);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 16px;
}
.blog-hero h1 span {
  background: linear-gradient(135deg, var(--gold-new), var(--gold-light), #fff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 4s ease infinite alternate;
}
@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}
.blog-hero p {
  font-family: var(--font-dm);
  font-size: 17px;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.7;
}

/* Blog Filter Tabs */
.blog-filters {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 72px;
  z-index: 100;
  backdrop-filter: blur(12px);
}
.blog-filters-inner {
  display: flex;
  gap: 4px;
  padding: 14px 0;
  overflow-x: auto;
  scrollbar-width: none;
}
.blog-filters-inner::-webkit-scrollbar { display: none; }
.blog-filter-btn {
  flex-shrink: 0;
  padding: 8px 20px;
  border-radius: 50px;
  font-family: var(--font-dm);
  font-size: 14px;
  font-weight: 500;
  color: var(--text-mid);
  background: transparent;
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
}
.blog-filter-btn:hover {
  color: var(--navy);
  border-color: rgba(10,22,40,0.2);
  background: var(--bg-light);
}
.blog-filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.blog-filter-btn:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 2px; }

/* Blog Layout */
.blog-layout {
  background: var(--bg-light);
  padding: 64px 0 80px;
}
.blog-content-wrap {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 40px;
  align-items: start;
}
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

/* Blog Card */
.blog-card {
  background: var(--white);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}
.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 56px rgba(10,22,40,0.14);
  border-color: rgba(10,22,40,0.12);
}
.blog-card[data-category]:not([data-category="all"]) { }

.blog-card-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}
.blog-card:hover .blog-card-img { transform: scale(1.04); }
.blog-card-img-wrap {
  overflow: hidden;
  height: 200px;
  flex-shrink: 0;
}
.blog-card-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.blog-cat-badge {
  display: inline-flex;
  align-items: center;
  font-family: var(--font-dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  margin-bottom: 12px;
  width: fit-content;
}
.blog-cat-badge.cardiology  { background: rgba(26,79,122,0.1); color: var(--primary); }
.blog-cat-badge.nutrition   { background: rgba(34,197,94,0.1); color: #16a34a; }
.blog-cat-badge.lifestyle   { background: rgba(168,85,247,0.1); color: #7c3aed; }
.blog-cat-badge.pediatrics  { background: rgba(249,115,22,0.1); color: #c2410c; }
.blog-cat-badge.general     { background: rgba(201,168,76,0.12); color: var(--gold-dark); }

.blog-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 17px;
  font-weight: 700;
  color: var(--text-dark);
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 12px;
}
.blog-card-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.blog-card-author-img {
  width: 28px; height: 28px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  color: white;
  flex-shrink: 0;
}
.blog-card-meta-text {
  font-family: var(--font-dm);
  font-size: 12px;
  color: var(--text-light);
}
.blog-card-meta-text strong { color: var(--text-mid); font-weight: 600; }
.blog-card-read-time {
  display: flex;
  align-items: center;
  gap: 4px;
  font-family: var(--font-dm);
  font-size: 12px;
  color: var(--text-light);
  margin-left: auto;
}
.blog-card-excerpt {
  font-family: var(--font-dm);
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin-bottom: 16px;
  flex: 1;
}
.blog-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-dm);
  font-size: 14px;
  font-weight: 600;
  color: var(--primary);
  transition: all 0.25s ease;
  position: relative;
  width: fit-content;
}
.blog-read-more::after {
  content: '';
  position: absolute;
  bottom: -2px; left: 0;
  width: 0; height: 2px;
  background: var(--gold-new);
  transition: width 0.25s ease;
}
.blog-read-more:hover { color: var(--navy); gap: 10px; }
.blog-read-more:hover::after { width: 100%; }

/* Blog Pagination */
.blog-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 48px;
}
.pag-btn {
  width: 40px; height: 40px;
  border-radius: 10px;
  border: 1.5px solid var(--border);
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-dm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.pag-btn:hover { border-color: var(--navy); color: var(--navy); }
.pag-btn.active { background: var(--navy); border-color: var(--navy); color: #fff; }
.pag-btn.arrow { font-size: 16px; }
.pag-btn:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 2px; }

/* Blog Sidebar */
.blog-sidebar { position: sticky; top: 140px; display: flex; flex-direction: column; gap: 28px; }
.sidebar-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 26px;
  box-shadow: var(--shadow-sm);
}
.sidebar-card h3 {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--gold-new);
  width: fit-content;
}
.sidebar-recent { display: flex; flex-direction: column; gap: 16px; }
.sidebar-recent-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.sidebar-recent-img {
  width: 60px; height: 60px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
  background: var(--bg-light);
}
.sidebar-recent-text h4 {
  font-family: var(--font-dm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-dark);
  line-height: 1.4;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.sidebar-recent-text span {
  font-family: var(--font-dm);
  font-size: 12px;
  color: var(--text-light);
}
.sidebar-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.sidebar-tag {
  padding: 6px 14px;
  border-radius: 50px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  font-family: var(--font-dm);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
  cursor: pointer;
  transition: all 0.2s;
}
.sidebar-tag:hover { background: var(--navy); color: #fff; border-color: var(--navy); }
.newsletter-form { display: flex; flex-direction: column; gap: 12px; }
.newsletter-input {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-family: var(--font-dm);
  font-size: 14px;
  color: var(--text-dark);
  outline: none;
  transition: border-color 0.2s;
}
.newsletter-input:focus { border-color: var(--gold-new); }
.newsletter-btn {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  font-family: var(--font-dm);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
}
.newsletter-btn:hover { background: linear-gradient(135deg, var(--gold-new), var(--gold-light)); color: var(--navy); }
.newsletter-btn:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 2px; }

/* ---- Blog Post / Single Article ---- */
.post-hero {
  background: linear-gradient(135deg, var(--navy) 0%, #0D2147 100%);
  padding: 140px 0 0;
  position: relative;
  overflow: hidden;
}
.post-hero-content { position: relative; z-index: 1; padding-bottom: 60px; }
.post-cat-badge {
  display: inline-flex;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  padding: 5px 14px;
  border-radius: 50px;
  background: rgba(201,168,76,0.2);
  color: var(--gold-new);
  border: 1px solid rgba(201,168,76,0.3);
  margin-bottom: 20px;
  font-family: var(--font-dm);
}
.post-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: 700;
  color: #fff;
  line-height: 1.2;
  max-width: 800px;
  margin-bottom: 20px;
}
.post-meta-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  margin-bottom: 0;
}
.post-author-chip {
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 50px;
}
.post-author-chip img {
  width: 32px; height: 32px;
  border-radius: 50%;
  object-fit: cover;
}
.post-author-chip span {
  font-family: var(--font-dm);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}
.post-meta-item {
  font-family: var(--font-dm);
  font-size: 13px;
  color: rgba(255,255,255,0.55);
  display: flex;
  align-items: center;
  gap: 6px;
}
.post-hero-img-wrap {
  margin-top: 48px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
  height: 420px;
}
.post-hero-img { width: 100%; height: 100%; object-fit: cover; }

.post-layout {
  background: var(--bg-light);
  padding: 0 0 80px;
}
.post-content-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
  padding-top: 56px;
}
.post-article {
  background: var(--white);
  border-radius: 20px;
  padding: 48px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.post-article h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 32px 0 14px;
}
.post-article h3 {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--text-dark);
  margin: 26px 0 12px;
}
.post-article p {
  font-family: var(--font-dm);
  font-size: 16px;
  color: var(--text-mid);
  line-height: 1.8;
  margin-bottom: 18px;
}
.post-article ul {
  list-style: disc;
  padding-left: 24px;
  margin-bottom: 18px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.post-article ul li {
  font-family: var(--font-dm);
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}
.post-callout {
  background: linear-gradient(135deg, rgba(10,22,40,0.04), rgba(201,168,76,0.06));
  border-left: 4px solid var(--gold-new);
  border-radius: 0 12px 12px 0;
  padding: 20px 24px;
  margin: 28px 0;
  font-family: var(--font-dm);
  font-size: 15px;
  color: var(--text-mid);
  font-style: italic;
  line-height: 1.7;
}

/* Social Share */
.post-share {
  background: var(--bg-light);
  border-radius: 14px;
  padding: 22px 26px;
  border: 1px solid var(--border);
  margin-top: 36px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.post-share span {
  font-family: var(--font-dm);
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
}
.share-btns { display: flex; gap: 10px; }
.share-btn {
  width: 40px; height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  color: white;
  transition: all 0.2s;
  cursor: pointer;
  border: none;
}
.share-btn.wa  { background: #25D366; }
.share-btn.fb  { background: #1877F2; }
.share-btn.tw  { background: #1DA1F2; }
.share-btn.cp  { background: var(--text-mid); }
.share-btn:hover { transform: scale(1.12); }
.share-btn:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 2px; }

/* Table of Contents */
.post-toc {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow-sm);
  position: sticky;
  top: 100px;
  margin-bottom: 24px;
}
.post-toc h4 {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--gold-new);
}
.toc-list { display: flex; flex-direction: column; gap: 8px; }
.toc-link {
  font-family: var(--font-dm);
  font-size: 13px;
  color: var(--text-mid);
  padding: 6px 10px;
  border-radius: 8px;
  display: block;
  transition: all 0.2s;
  border-left: 2px solid transparent;
}
.toc-link:hover, .toc-link.active {
  background: var(--bg-light);
  color: var(--navy);
  border-left-color: var(--gold-new);
}

/* Related Posts */
.related-posts { padding: 64px 0; background: var(--white); }
.related-posts h2 {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 32px;
}
.related-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* ============================================================
   3. ULTRA-PREMIUM FLOATING CONTACT BUTTONS
   ============================================================ */
@keyframes fabPulse {
  0%   { box-shadow: 0 0 0 0 var(--pulse-color); }
  70%  { box-shadow: 0 0 0 14px transparent; }
  100% { box-shadow: 0 0 0 0 transparent; }
}
@keyframes fabShimmer {
  0%   { left: -100%; }
  60%  { left: 150%; }
  100% { left: 150%; }
}
@keyframes fabEntrance {
  0%   { opacity: 0; transform: translateX(100px) scale(0.6); }
  70%  { transform: translateX(-6px) scale(1.04); }
  100% { opacity: 1; transform: translateX(0) scale(1); }
}
@keyframes floatBob {
  0%, 100% { transform: translateY(0px); }
  50%       { transform: translateY(-5px); }
}
@keyframes ringPulse {
  0%   { transform: scale(1); opacity: 0.7; }
  100% { transform: scale(2.4); opacity: 0; }
}

.fab-stack {
  position: fixed;
  right: 28px;
  bottom: 90px;
  display: flex;
  flex-direction: column;
  gap: 18px;
  z-index: 9999;
}

.fab-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 62px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  text-decoration: none;
  overflow: hidden;
  width: 62px;
  transition: width 0.5s cubic-bezier(0.34, 1.56, 0.64, 1),
              box-shadow 0.4s ease,
              transform 0.3s ease;
  animation: fabEntrance 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}
.fab-btn.fab-wa   { animation-delay: 0.1s; }
.fab-btn.fab-call { animation-delay: 0.25s; }

/* Floating bob animation when not hovered */
.fab-btn:not(:hover) {
  animation: floatBob 3s ease-in-out infinite;
}
.fab-btn.fab-wa:not(:hover)   { animation-delay: 0s; }
.fab-btn.fab-call:not(:hover) { animation-delay: 0.4s; }

.fab-btn:hover {
  width: 200px;
  transform: scale(1.06);
}

/* === SHIMMER SWEEP === */
.fab-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 60%;
  height: 100%;
  background: linear-gradient(120deg, transparent, rgba(255,255,255,0.35), transparent);
  animation: fabShimmer 3.5s ease-in-out infinite;
  pointer-events: none;
  z-index: 3;
}

/* === PULSE RING === */
.fab-btn::before {
  content: '';
  position: absolute;
  right: 0;
  top: 50%;
  width: 62px;
  height: 62px;
  border-radius: 50%;
  margin-top: -31px;
  animation: ringPulse 2s ease-out infinite;
  pointer-events: none;
  z-index: 0;
}

/* === ICON CIRCLE === */
.fab-btn i {
  position: absolute;
  right: 0;
  width: 62px;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  border-radius: 50%;
  z-index: 2;
  flex-shrink: 0;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

/* === LABEL === */
.fab-btn .fab-label {
  position: absolute;
  left: 18px;
  right: 70px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 800;
  white-space: nowrap;
  opacity: 0;
  transform: translateX(8px);
  transition: opacity 0.35s ease 0.12s, transform 0.35s ease 0.12s;
  letter-spacing: 0.5px;
  text-shadow: 0 1px 4px rgba(0,0,0,0.2);
  z-index: 2;
}
.fab-btn:hover .fab-label {
  opacity: 1;
  transform: translateX(0);
}

/* === ONLINE DOT BADGE === */
.fab-btn .fab-badge {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: #ffffff;
  border: 2px solid;
  z-index: 4;
}

/* ===== WHATSAPP ===== */
.fab-btn.fab-wa {
  background: linear-gradient(135deg, #075E54 0%, #25D366 60%, #40e884 100%);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5), 0 2px 8px rgba(0,0,0,0.15);
  --pulse-color: rgba(37,211,102,0.5);
}
.fab-btn.fab-wa::before { background: rgba(37,211,102,0.5); }
.fab-btn.fab-wa i       { background: linear-gradient(135deg, #075E54, #25D366); }
.fab-btn.fab-wa .fab-badge { background: #00e676; border-color: #075E54; }
.fab-btn.fab-wa:hover {
  box-shadow: 0 12px 40px rgba(37,211,102,0.65), 0 4px 16px rgba(0,0,0,0.18);
  animation: fabPulse 1.5s ease infinite, floatBob 0s;
}

/* ===== CALL ===== */
.fab-btn.fab-call {
  background: linear-gradient(135deg, #9b0a15 0%, #e63946 60%, #ff6b7a 100%);
  box-shadow: 0 6px 24px rgba(230,57,70,0.5), 0 2px 8px rgba(0,0,0,0.15);
  --pulse-color: rgba(230,57,70,0.5);
}
.fab-btn.fab-call::before { background: rgba(230,57,70,0.5); }
.fab-btn.fab-call i       { background: linear-gradient(135deg, #9b0a15, #e63946); }
.fab-btn.fab-call .fab-badge { background: #ff1744; border-color: #9b0a15; }
.fab-btn.fab-call:hover {
  box-shadow: 0 12px 40px rgba(230,57,70,0.65), 0 4px 16px rgba(0,0,0,0.18);
  animation: fabPulse 1.5s ease infinite, floatBob 0s;
}

/* Hide old tooltip */
.fab-btn .fab-tooltip { display: none; }

@media (max-width: 768px) {
  .fab-stack { right: 14px; bottom: 70px; gap: 14px; }
  .fab-btn { width: 54px; height: 54px; }
  .fab-btn:hover { width: 175px; }
  .fab-btn i { width: 54px; height: 54px; font-size: 21px; }
  .fab-btn::before { width: 54px; height: 54px; margin-top: -27px; }
  .fab-btn .fab-label { font-size: 13px; right: 60px; }
  .fab-btn .fab-badge { top: 4px; right: 4px; width: 11px; height: 11px; }
}

/* ===== GOOGLE REVIEW ===== */
.fab-btn.fab-grev {
  background: #ffffff;
  box-shadow: 0 6px 24px rgba(0,0,0,0.1), 0 2px 8px rgba(0,0,0,0.05);
  --pulse-color: rgba(255,255,255,0.8);
  animation-delay: 0.4s;
}
.fab-btn.fab-grev::before { background: rgba(255,255,255,0.8); }
.fab-btn.fab-grev i { 
  background: #fff; 
  color: #fff; /* text color hidden, we use inline svg */
}
.fab-btn.fab-grev .fab-badge { background: #FFD700; border-color: #fff; } /* gold star dot */
.fab-btn.fab-grev:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.15), 0 4px 16px rgba(0,0,0,0.08);
  animation: fabPulse 1.5s ease infinite, floatBob 0s;
}
.fab-btn.fab-grev .fab-label {
  color: #333;
}
.fab-btn.fab-grev:not(:hover) { animation-delay: 0.8s; }

/* Google G icon (multicolor SVG inline) */
.fab-g-icon { width: 26px; height: 26px; display: block; }

/* ============================================================
   4A. PATIENT TESTIMONIALS CAROUSEL (About Page)
   ============================================================ */
.testimonials-upgrade {
  background: linear-gradient(160deg, var(--navy) 0%, #0D2147 100%);
  padding: 100px 0 110px;
  position: relative;
  overflow: hidden;
}
.testimonials-upgrade::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 1px 1px, rgba(255,255,255,0.04) 1px, transparent 0);
  background-size: 32px 32px;
  pointer-events: none;
}
.testimonials-upgrade::after {
  content: '';
  position: absolute;
  bottom: -200px; right: -200px;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(201,168,76,0.06), transparent 65%);
  border-radius: 50%;
  pointer-events: none;
}
.testimonials-upgrade .specialists-heading { margin-bottom: 52px; }

.tup-carousel-wrap {
  position: relative;
  overflow: hidden;
  z-index: 2;
}
.tup-track {
  display: flex;
  gap: 24px;
  transition: transform 0.55s cubic-bezier(0.4,0,0.2,1);
  will-change: transform;
}

/* Glassmorphism testimonial card */
.tup-card {
  flex: 0 0 calc(33.333% - 16px);
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-radius: 24px;
  padding: 32px 28px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  overflow: hidden;
}
.tup-card::before {
  content: '"';
  position: absolute;
  top: -10px; left: 16px;
  font-family: 'Playfair Display', serif;
  font-size: 120px;
  line-height: 1;
  color: rgba(201,168,76,0.12);
  pointer-events: none;
}
.tup-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 30px 60px rgba(0,0,0,0.4);
  border-color: rgba(201,168,76,0.25);
}
.tup-card-top {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}
.tup-avatar {
  width: 64px; height: 64px;
  border-radius: 50%;
  border: 3px solid rgba(201,168,76,0.4);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--navy-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--gold-new);
}
.tup-avatar img { width: 100%; height: 100%; object-fit: cover; }
.tup-patient-info {}
.tup-patient-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 2px;
}
.tup-patient-city {
  font-family: var(--font-dm);
  font-size: 12px;
  color: rgba(255,255,255,0.5);
}
.tup-stars {
  display: flex;
  gap: 3px;
  margin-bottom: 14px;
}
.tup-stars svg { width: 16px; height: 16px; fill: var(--gold-new); }
.tup-text {
  font-family: var(--font-dm);
  font-size: 14px;
  color: rgba(255,255,255,0.75);
  line-height: 1.7;
  font-style: italic;
  margin-bottom: 18px;
}
.tup-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
}
.tup-treatment-tag {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: rgba(201,168,76,0.15);
  border: 1px solid rgba(201,168,76,0.3);
  color: var(--gold-new);
  font-family: var(--font-dm);
  font-size: 11px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 50px;
}
.tup-date {
  font-family: var(--font-dm);
  font-size: 12px;
  color: rgba(255,255,255,0.4);
}

/* Carousel controls */
.tup-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 40px;
  position: relative;
  z-index: 2;
}
.tup-arrow {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.25s;
}
.tup-arrow:hover { background: var(--gold-new); border-color: var(--gold-new); color: var(--navy); }
.tup-arrow:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 3px; }
.tup-dots { display: flex; gap: 8px; }
.tup-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(255,255,255,0.25);
  cursor: pointer;
  transition: all 0.25s;
  border: none;
}
.tup-dot.active { background: var(--gold-new); width: 24px; border-radius: 4px; }

@media (max-width: 900px) {
  .tup-card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 600px) {
  .tup-card { flex: 0 0 calc(100% - 0px); }
}

/* ============================================================
   4B. DOCTOR GALLERY (About Page)
   ============================================================ */
.doctor-gallery-section {
  background: var(--bg-light);
  padding: 100px 0;
}
.dg-heading {
  text-align: center;
  margin-bottom: 48px;
}
.dg-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.dg-heading h2 span { color: var(--primary); }
.dg-heading p {
  font-family: var(--font-dm);
  font-size: 16px;
  color: var(--text-mid);
  max-width: 500px;
  margin: 0 auto;
}

/* Filter buttons */
.dg-filters {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.dg-filter-btn {
  padding: 9px 22px;
  border-radius: 50px;
  font-family: var(--font-dm);
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  background: var(--white);
  border: 1.5px solid var(--border);
  cursor: pointer;
  transition: all 0.25s;
}
.dg-filter-btn:hover {
  color: var(--navy);
  border-color: var(--navy);
}
.dg-filter-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}
.dg-filter-btn:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 2px; }

/* Doctor grid */
.dg-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
@media (max-width: 1100px) { .dg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 768px)  { .dg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px)  { .dg-grid { grid-template-columns: 1fr; } }

.dg-card {
  background: var(--white);
  border-radius: 20px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all 0.3s ease;
}
.dg-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.dg-card[data-category].hidden { display: none; }

/* Headshot */
.dg-card-img-wrap {
  position: relative;
  height: 260px;
  overflow: hidden;
}
.dg-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.4s ease;
}
.dg-card:hover .dg-card-img { transform: scale(1.06); }

/* Certification badge */
.dg-cert-badge {
  position: absolute;
  top: 12px; right: 12px;
  background: linear-gradient(135deg, var(--gold-new), var(--gold-light));
  color: var(--navy);
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  box-shadow: 0 4px 12px rgba(201,168,76,0.4);
  z-index: 2;
}

/* Hover overlay */
.dg-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,22,40,0.96) 0%, rgba(10,22,40,0.6) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.3s ease;
  z-index: 1;
}
.dg-card:hover .dg-card-overlay { opacity: 1; }
.dg-overlay-name {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.dg-overlay-spec {
  font-family: var(--font-dm);
  font-size: 12px;
  color: var(--gold-new);
  margin-bottom: 4px;
}
.dg-overlay-exp {
  font-family: var(--font-dm);
  font-size: 12px;
  color: rgba(255,255,255,0.6);
  margin-bottom: 12px;
}
.dg-overlay-actions {
  display: flex;
  gap: 8px;
}
.dg-linkedin-btn, .dg-profile-btn {
  padding: 7px 14px;
  border-radius: 50px;
  font-family: var(--font-dm);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  border: none;
  transition: all 0.2s;
}
.dg-linkedin-btn {
  background: rgba(255,255,255,0.15);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.25);
}
.dg-linkedin-btn:hover { background: #0A66C2; border-color: #0A66C2; }
.dg-profile-btn {
  background: linear-gradient(135deg, var(--gold-new), var(--gold-light));
  color: var(--navy);
}
.dg-profile-btn:hover { transform: scale(1.04); }

/* Card bottom info */
.dg-card-info {
  padding: 16px 18px;
}
.dg-info-name {
  font-family: 'Playfair Display', serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.dg-info-spec {
  font-family: var(--font-dm);
  font-size: 12px;
  color: var(--text-light);
}

/* ---- Doctor Drawer Modal ---- */
.doctor-drawer-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(5,12,25,0.7);
  z-index: 9000;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
  backdrop-filter: blur(4px);
}
.doctor-drawer-backdrop.open {
  opacity: 1;
  pointer-events: all;
}
.doctor-drawer {
  position: fixed;
  top: 0; right: 0;
  width: min(480px, 100vw);
  height: 100vh;
  background: var(--white);
  z-index: 9001;
  box-shadow: -20px 0 60px rgba(0,0,0,0.3);
  transform: translateX(100%);
  transition: transform 0.4s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
  overscroll-behavior: contain;
}
.doctor-drawer.open { transform: translateX(0); }
.drawer-header {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  padding: 28px 28px 0;
  position: relative;
}
.drawer-close {
  position: absolute;
  top: 16px; right: 16px;
  width: 36px; height: 36px;
  border-radius: 50%;
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.2);
  color: white;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background 0.2s;
}
.drawer-close:hover { background: rgba(255,255,255,0.22); }
.drawer-close:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 2px; }
.drawer-doctor-img {
  width: 90px; height: 90px;
  border-radius: 50%;
  object-fit: cover;
  object-position: top;
  border: 3px solid var(--gold-new);
  margin-bottom: 16px;
  display: block;
}
.drawer-doctor-name {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.drawer-doctor-spec {
  font-family: var(--font-dm);
  font-size: 14px;
  color: var(--gold-new);
  margin-bottom: 20px;
}
.drawer-tabs {
  display: flex;
  gap: 0;
  border-bottom: none;
}
.drawer-tab {
  padding: 10px 20px;
  font-family: var(--font-dm);
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.55);
  cursor: pointer;
  border: none;
  background: none;
  border-bottom: 2px solid transparent;
  transition: all 0.2s;
}
.drawer-tab.active { color: var(--gold-new); border-bottom-color: var(--gold-new); }
.drawer-body { padding: 28px; }
.drawer-section { margin-bottom: 24px; }
.drawer-section h4 {
  font-family: var(--font-dm);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-light);
  margin-bottom: 12px;
}
.drawer-section p, .drawer-section ul li {
  font-family: var(--font-dm);
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.7;
}
.drawer-section ul { display: flex; flex-direction: column; gap: 6px; padding-left: 0; }
.drawer-section ul li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.drawer-section ul li::before {
  content: '✦';
  color: var(--gold-new);
  font-size: 10px;
  margin-top: 4px;
  flex-shrink: 0;
}
.drawer-lang-tags { display: flex; gap: 8px; flex-wrap: wrap; }
.drawer-lang-tag {
  padding: 5px 14px;
  background: var(--bg-light);
  border: 1px solid var(--border);
  border-radius: 50px;
  font-family: var(--font-dm);
  font-size: 12px;
  font-weight: 500;
  color: var(--text-mid);
}
.drawer-days { display: flex; gap: 8px; flex-wrap: wrap; }
.drawer-day {
  padding: 6px 14px;
  background: rgba(10,22,40,0.06);
  border: 1px solid var(--border);
  border-radius: 8px;
  font-family: var(--font-dm);
  font-size: 12px;
  font-weight: 600;
  color: var(--primary);
}
.drawer-cta {
  padding: 20px 28px;
  border-top: 1px solid var(--border);
  background: var(--bg-soft);
}
.drawer-cta-btn {
  width: 100%;
  padding: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
  border: none;
  border-radius: 12px;
  font-family: var(--font-dm);
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-decoration: none;
}
.drawer-cta-btn:hover {
  background: linear-gradient(135deg, var(--gold-new), var(--gold-light));
  color: var(--navy);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(201,168,76,0.3);
}
.drawer-cta-btn:focus-visible { outline: 2px solid var(--gold-new); outline-offset: 2px; }

/* ============================================================
   BLOG RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .blog-content-wrap { grid-template-columns: 1fr; }
  .blog-sidebar { position: static; }
  .blog-grid { grid-template-columns: repeat(2, 1fr); }
  .post-content-wrap { grid-template-columns: 1fr; }
  .post-toc { position: static; }
  .related-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
  .related-grid { grid-template-columns: 1fr; }
  .blog-hero { padding: 120px 0 60px; }
  .post-article { padding: 28px 20px; }
  .post-hero-img-wrap { height: 240px; }
}

/* ============================================================
   NAV LINK — Blog
   ============================================================ */
.nav-links a[href="blog.html"].active {
  color: var(--primary);
  background: rgba(26,79,122,0.07);
}

/* ============================================================
   NEW VIDEO GALLERY (HOME PAGE)
   ============================================================ */
.video-gallery-section {
  background: var(--white);
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}
.vg-wave-bg {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-image: repeating-radial-gradient(circle at center, transparent 0, transparent 20px, rgba(10,22,40,0.02) 21px, rgba(10,22,40,0.02) 22px);
  pointer-events: none;
}
.vg-title {
  text-align: center;
  font-family: var(--font-heading);
  font-size: clamp(28px, 4vw, 42px);
  color: var(--navy);
  margin-bottom: 12px;
  line-height: 1.2;
}
.vg-subtitle {
  text-align: center;
  font-size: 16px;
  color: var(--text-mid);
  margin-bottom: 60px;
}
.vg-swiper {
  width: 100%;
  padding-bottom: 20px;
}
.vg-swiper .swiper-slide {
  width: 65%; /* Center slide width */
  max-width: 800px;
}
.vg-slide-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  cursor: pointer;
  background: #000;
}
.vg-slide-inner img,
.vg-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.85;
  transition: opacity 0.3s;
  display: block;
}
.swiper-slide-active .vg-slide-inner img,
.swiper-slide-active .vg-video {
  opacity: 1;
}
.vg-play-center {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 70px; height: 70px;
  background: #e63946; /* YouTube Red style */
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 0 0 10px rgba(230,57,70,0.2);
  transition: var(--transition);
}
.vg-slide-inner:hover .vg-play-center {
  transform: translate(-50%, -50%) scale(1.1);
  box-shadow: 0 0 0 15px rgba(230,57,70,0.3);
}
.vg-slide-caption {
  position: absolute;
  top: 0; left: 0; right: 0;
  padding: 20px;
  background: linear-gradient(to bottom, rgba(0,0,0,0.8), transparent);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 18px;
}
/* Navigation Buttons */
.vg-nav-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
  z-index: 10;
}
.vg-nav-btn {
  position: static !important;
  width: 50px !important;
  height: 50px !important;
  border-radius: 50%;
  background: var(--navy);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 !important;
  cursor: pointer;
  transition: var(--transition);
}
.vg-nav-btn::after { display: none; }
.vg-nav-btn i { font-size: 18px; }
.vg-nav-btn:hover { background: var(--primary); transform: translateY(-3px); }
@media(max-width: 768px) {
  .vg-swiper .swiper-slide { width: 85%; }
  .vg-slide-caption { font-size: 14px; padding: 15px; }
}

/* ============================================================
   NEW PHOTO GALLERY (ABOUT PAGE) - SWIPER 3D
   ============================================================ */
.photo-gallery-section {
  padding: 80px 0;
  background: var(--white);
  overflow: hidden;
}
.pg-swiper-container {
  max-width: 1200px;
  margin: 0 auto;
}
.pg-swiper {
  width: 100%;
  padding-top: 20px;
  padding-bottom: 60px;
}
.pg-swiper .swiper-slide {
  background-position: center;
  background-size: cover;
  width: 500px; /* Base width */
  max-width: 85vw; /* Responsive limit */
}
.pg-slide-inner {
  position: relative;
  width: 100%;
  aspect-ratio: 16/10;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.15);
  background: #000;
}
.pg-slide-inner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.7;
  transition: opacity 0.4s ease, transform 0.4s ease;
  display: block;
}
.pg-swiper .swiper-slide-active .pg-slide-inner img {
  opacity: 1;
}

/* Nav Buttons */
.pg-prev, .pg-next {
  color: var(--white);
  background: var(--navy);
  width: 44px; height: 44px;
  border-radius: 50%;
  box-shadow: var(--shadow-md);
  margin-top: -40px; /* Adjust vertical center */
}
.pg-prev::after, .pg-next::after { font-size: 18px; font-weight: bold; }
.pg-prev:hover, .pg-next:hover { background: var(--primary); }

@media (max-width: 768px) {
  .pg-swiper .swiper-slide { width: 320px; }
  .pg-slide-inner { border-radius: 12px; }
}
