/* ============================================================
   Health Care Diagnostic Laboratory – style.css
   Design: Professional healthcare · Blue/Teal/White palette
   ============================================================ */

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

:root {
  --blue: #0b4f8e;
  --blue-mid: #1565c0;
  --blue-light: #e8f0fc;
  --teal: #00838f;
  --teal-light: #e0f5f7;
  --red: #d32f2f;
  --red-badge: #c62828;
  --green: #2e7d32;
  --gold: #f9a825;
  --white: #ffffff;
  --off-white: #f5f8fe;
  --text: #1a2340;
  --text-muted: #546080;
  --border: #d0ddef;
  --shadow: 0 4px 24px rgba(11,79,142,0.10);
  --shadow-hover: 0 8px 32px rgba(11,79,142,0.18);
  --radius: 12px;
  --radius-sm: 8px;
  --font-body: 'Inter', sans-serif;
  --font-display: 'Poppins', sans-serif;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  font-size: 14px;
  overflow-x: hidden;
}

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; font-family: var(--font-body); }

.container {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* ---- TYPOGRAPHY HELPERS ---- */
.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 700;
  color: var(--blue);
  text-align: center;
  margin-bottom: 0.4rem;
}
.section-title.white { color: var(--white); }
.section-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.95rem;
  margin-bottom: 2.5rem;
}
.section-sub.white { color: rgba(255,255,255,0.82); }
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  background: var(--teal-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.8rem;
}
.subsection-title {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--blue);
  margin: 3rem 0 1.2rem;
  text-align: center;
}
.accent { color: var(--teal); }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 22px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 2px solid transparent;
  transition: all 0.22s ease;
  white-space: nowrap;
}
.btn.full { width: 100%; justify-content: center; border-radius: var(--radius-sm); }
.btn-primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
}
.btn-primary:hover { background: var(--blue-mid); transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.btn-outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn-outline:hover { background: var(--blue); color: var(--white); transform: translateY(-2px); }
.btn-whatsapp {
  background: #25d366;
  color: var(--white);
  border-color: #25d366;
}
.btn-whatsapp:hover { background: #1ebe5a; transform: translateY(-2px); }
.btn-white {
  background: var(--white);
  color: var(--blue);
  border-color: var(--white);
  font-weight: 700;
}
.btn-white:hover { background: var(--blue-light); }

/* ---- NAVBAR ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  transition: box-shadow 0.3s;
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(11,79,142,0.12); }
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 20px;
  max-width: 1180px;
  margin: 0 auto;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 10px;
}
.logo-icon {
  width: 40px; height: 40px;
  background: var(--blue);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--white);
  font-size: 1.1rem;
  flex-shrink: 0;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-en { font-family: var(--font-display); font-size: 0.75rem; font-weight: 700; color: var(--blue); }
.logo-kn { font-size: 0.6rem; color: var(--text-muted); }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
}
.nav-link {
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text);
  transition: all 0.2s;
}
.nav-link:hover { background: var(--blue-light); color: var(--blue); }
.nav-link.nav-cta {
  background: var(--blue);
  color: var(--white) !important;
  border-radius: 50px;
  padding: 7px 16px;
}
.nav-link.nav-cta:hover { background: var(--blue-mid); }
.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.3rem;
  color: var(--blue);
}

/* ---- HERO ---- */
.hero {
  padding: 80px 0 48px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 50%, var(--teal) 100%);
  position: relative;
  overflow: hidden;
  min-height: 80vh;
  display: flex;
  align-items: center;
}
.hero-bg-pattern {
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
                    radial-gradient(circle at 80% 20%, rgba(255,255,255,0.04) 0%, transparent 40%);
}
.hero-inner {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 32px;
  width: 100%;
  position: relative;
  z-index: 1;
}
.hero-content { color: var(--white); }
.reg-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.3);
  border-radius: 50px;
  padding: 5px 14px;
  font-size: 0.78rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: #fff;
}
.hero-kn {
  display: block;
  font-size: clamp(1rem, 2.5vw, 1.25rem);
  color: rgba(255,255,255,0.85);
  margin-bottom: 0.3rem;
}
.hero-en {
  display: block;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  margin-bottom: 1rem;
  color: var(--white);
}
.hero-tagline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--teal);
  padding: 6px 18px;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}
.hero-sub {
  font-size: 0.92rem;
  color: rgba(255,255,255,0.9);
  margin-bottom: 0.5rem;
}
.qual { font-size: 0.8rem; opacity: 0.75; }
.hero-timing {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.88);
}
.hero-timing span { display: flex; align-items: center; gap: 6px; }
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 1.5rem;
}
.hero-partners {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75);
  flex-wrap: wrap;
}
.partner-badge {
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 0.75rem;
  font-weight: 700;
}
.partner-badge.lal { background: #fff; color: var(--red); border: 1px solid var(--red); }
.partner-badge.thyro { background: #fff; color: var(--teal); border: 1px solid var(--teal); }

/* Hero visual – lab photo */
.hero-visual { display: flex; align-items: center; justify-content: center; }
.hero-lab-photo-wrap {
  position: relative;
  width: 320px;
  flex-shrink: 0;
}
.hero-lab-photo {
  width: 100%;
  border-radius: 16px;
  border: 3px solid rgba(255,255,255,0.3);
  box-shadow: 0 12px 40px rgba(0,0,0,0.35);
  display: block;
  object-fit: cover;
}
.hero-lab-badge {
  position: absolute;
  bottom: -12px; left: 50%;
  transform: translateX(-50%);
  background: var(--gold);
  color: #000;
  font-size: 0.72rem;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: 20px;
  white-space: nowrap;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
/* keep old icon-wrap just in case */
.hero-icon-wrap {
  position: relative;
  width: 180px; height: 180px;
  display: flex; align-items: center; justify-content: center;
}
.hero-microscope {
  font-size: 5rem;
  color: rgba(255,255,255,0.9);
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 20px rgba(255,255,255,0.3));
}
.pulse-ring {
  position: absolute;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.25);
  animation: pulse 2.5s ease-out infinite;
}
.pulse-ring.r1 { width: 100px; height: 100px; animation-delay: 0s; }
.pulse-ring.r2 { width: 140px; height: 140px; animation-delay: 0.6s; }
.pulse-ring.r3 { width: 180px; height: 180px; animation-delay: 1.2s; }
@keyframes pulse {
  0% { opacity: 0.7; transform: scale(0.8); }
  100% { opacity: 0; transform: scale(1.2); }
}

/* ---- OFFERS SECTION ---- */
.offers-section {
  background: linear-gradient(135deg, #b71c1c 0%, var(--red) 40%, #d84315 100%);
  padding: 48px 0;
  position: relative;
  overflow: hidden;
}
.offers-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 250px; height: 250px;
  border-radius: 50%;
  background: rgba(255,255,255,0.05);
}
/* Green override */
.offers-section.offers-green {
  background: linear-gradient(135deg, #1b5e20 0%, #2e7d32 50%, #388e3c 100%);
}
.offers-section.offers-green .offer-card { background: rgba(255,255,255,0.13); border-color: rgba(255,255,255,0.28); }
.offers-section.offers-green .offer-card.hot { background: rgba(0,0,0,0.18); border-color: var(--gold); }
.offers-header { text-align: center; margin-bottom: 2rem; }
.offer-flash-badge {
  display: inline-block;
  background: var(--gold);
  color: #000;
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 800;
  padding: 8px 24px;
  border-radius: 50px;
  margin-bottom: 1rem;
  animation: flashPulse 1.5s ease-in-out infinite alternate;
  box-shadow: 0 4px 16px rgba(249,168,37,0.6);
}
@keyframes flashPulse {
  from { transform: scale(1); }
  to { transform: scale(1.06); }
}
.offers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin-bottom: 1.5rem;
}
.offer-card {
  background: rgba(255,255,255,0.12);
  border: 1px solid rgba(255,255,255,0.25);
  border-radius: var(--radius);
  padding: 20px 16px;
  text-align: center;
  color: var(--white);
  position: relative;
  transition: transform 0.2s, background 0.2s;
  backdrop-filter: blur(4px);
}
.offer-card:hover { transform: translateY(-4px); background: rgba(255,255,255,0.18); }
.offer-card.hot { background: rgba(0,0,0,0.2); border-color: var(--gold); }
.discount-badge {
  position: absolute;
  top: -10px; right: 10px;
  background: var(--gold);
  color: #000;
  font-size: 0.7rem;
  font-weight: 800;
  padding: 3px 10px;
  border-radius: 20px;
}
.offer-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  margin-top: 0.5rem;
}
.offer-prices {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 0.4rem;
}
.old-price {
  text-decoration: line-through;
  color: rgba(255,255,255,0.6);
  font-size: 0.85rem;
}
.new-price {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
}
.offer-save {
  font-size: 0.75rem;
  color: rgba(255,255,255,0.75);
}
.offers-note {
  text-align: center;
  color: rgba(255,255,255,0.85);
  font-size: 0.88rem;
  background: rgba(0,0,0,0.15);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 8px;
}

/* ---- PACKAGES SECTION ---- */
.packages-section {
  padding: 60px 0;
  background: var(--off-white);
}
.packages-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  align-items: start;
}
.package-card {
  background: var(--white);
  border-radius: 16px;
  border: 1px solid var(--border);
  padding: 22px 18px;
  position: relative;
  box-shadow: var(--shadow);
  transition: transform 0.2s, box-shadow 0.2s;
}
.package-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-hover); }
.package-card.featured {
  background: linear-gradient(160deg, var(--blue) 0%, var(--teal) 100%);
  color: var(--white);
  border-color: transparent;
}
.pkg-badge {
  position: absolute;
  top: -12px; left: 50%;
  transform: translateX(-50%);
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  white-space: nowrap;
}
.pkg-badge.best-value { background: var(--green); color: #fff; }
.pkg-badge.popular { background: var(--gold); color: #000; }
.pkg-badge.comprehensive { background: var(--teal); color: #fff; }
.pkg-icon {
  width: 52px; height: 52px;
  border-radius: 50%;
  background: var(--blue-light);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin: 1rem 0 0.75rem;
}
.package-card.featured .pkg-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.pkg-name {
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
}
.pkg-price {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-bottom: 0.75rem;
}
.pkg-old {
  text-decoration: line-through;
  font-size: 0.9rem;
  color: var(--text-muted);
}
.package-card.featured .pkg-old { color: rgba(255,255,255,0.6); }
.pkg-new {
  font-family: var(--font-display);
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--blue);
}
.package-card.featured .pkg-new { color: var(--gold); }
.pkg-free-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #e8f5e9;
  color: var(--green);
  font-size: 0.8rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  margin-bottom: 1rem;
}
.pkg-tests {
  margin-bottom: 1.25rem;
}
.pkg-tests li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.86rem;
  padding: 4px 0;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
}
.pkg-tests li:last-child { border-bottom: none; }
.package-card.featured .pkg-tests li { color: rgba(255,255,255,0.85); border-color: rgba(255,255,255,0.15); }
.pkg-tests li i { color: var(--teal); margin-top: 3px; font-size: 0.7rem; flex-shrink: 0; }
.package-card.featured .pkg-tests li i { color: var(--gold); }
.pkg-note {
  font-size: 0.78rem;
  color: var(--teal);
  background: var(--teal-light);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}
.pkg-fasting-note {
  text-align: center;
  margin-top: 1.5rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  background: var(--teal-light);
  padding: 10px 20px;
  border-radius: var(--radius-sm);
}

/* Aarogyam grid */
.aarogyam-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.aro-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
.aro-card:hover { transform: translateY(-3px); }
.aro-head {
  padding: 12px 16px;
  font-family: var(--font-display);
  font-size: 0.88rem;
  font-weight: 700;
  color: #fff;
}
.aro-head span { display: block; font-size: 0.75rem; font-weight: 500; opacity: 0.85; }
.aro-head.purple { background: #6a1b9a; }
.aro-head.teal { background: var(--teal); }
.aro-head.blue { background: var(--blue); }
.aro-head.pink { background: #ad1457; }
.aro-head.green { background: var(--green); }
.aro-price {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  padding: 10px 16px 6px;
}
.aro-list {
  padding: 6px 16px 16px;
}
.aro-list li {
  font-size: 0.8rem;
  color: var(--text-muted);
  padding: 3px 0;
  border-bottom: 1px dotted var(--border);
}
.aro-list li:last-child { border-bottom: none; }
.aro-card .btn { margin: 0 16px 16px; width: calc(100% - 32px); }

/* ---- SERVICES ---- */
.services-section {
  padding: 60px 0;
  background: var(--white);
}
.services-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}
.service-card {
  padding: 22px 16px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  text-align: center;
  transition: all 0.25s;
  cursor: default;
}
.service-card:hover {
  border-color: var(--blue);
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  background: var(--blue-light);
}
.svc-icon {
  width: 60px; height: 60px;
  background: var(--blue-light);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--blue);
  margin: 0 auto 1rem;
  transition: background 0.25s;
}
.service-card:hover .svc-icon { background: var(--blue); color: var(--white); }
.service-card h4 {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.4rem;
  color: var(--text);
}
.service-card p { font-size: 0.83rem; color: var(--text-muted); }

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  padding: 36px 0;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  text-align: center;
  color: var(--white);
  padding: 20px;
  border-right: 1px solid rgba(255,255,255,0.2);
}
.stat-item:last-child { border-right: none; }
.stat-number {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  color: var(--gold);
  display: block;
}
.stat-label {
  font-size: 0.85rem;
  color: rgba(255,255,255,0.8);
}

/* ---- ABOUT ---- */
.about-section { padding: 60px 0; background: var(--off-white); }
.about-grid {
  display: grid;
  grid-template-columns: auto 1.4fr 1fr;
  gap: 40px;
  align-items: start;
}
.about-visual {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}
.about-img-wrap {
  width: 140px; height: 140px;
  background: linear-gradient(135deg, var(--blue) 0%, var(--teal) 100%);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  position: relative;
  flex-shrink: 0;
}
.about-big-icon { font-size: 3.2rem; color: rgba(255,255,255,0.9); }
.about-dna {
  position: absolute;
  bottom: 6px; right: 6px;
  width: 38px; height: 38px;
  background: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
  color: var(--teal);
  box-shadow: var(--shadow);
}
.about-content h2 {
  font-family: var(--font-display);
  font-size: clamp(1.2rem, 2vw, 1.6rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.about-content p {
  color: var(--text-muted);
  margin-bottom: 0.75rem;
  font-size: 0.88rem;
  line-height: 1.7;
}
.about-reg {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: var(--blue-light);
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  margin-top: 1rem;
  font-size: 0.82rem;
  border-left: 3px solid var(--blue);
}
.about-reg i { color: var(--blue); font-size: 1rem; margin-top: 2px; }
.about-reg strong { display: block; color: var(--blue); margin-bottom: 2px; }
.about-reg span { color: var(--text-muted); }

/* Certificate column */
.about-cert-col { display: flex; flex-direction: column; }
.cert-wrap {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.cert-label {
  background: var(--blue);
  color: var(--white);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 8px 14px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.cert-img {
  width: 100%;
  display: block;
  object-fit: contain;
  background: #fafafa;
}
.cert-info {
  padding: 10px 14px;
  display: flex;
  flex-direction: column;
  gap: 3px;
  background: var(--off-white);
}
.cert-info span {
  font-size: 0.75rem;
  color: var(--text-muted);
}
.cert-info strong { color: var(--text); }

/* ---- BRANCH SECTION ---- */
.branch-section { padding: 60px 0; background: var(--white); }
.branch-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
  background: var(--off-white);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: var(--shadow);
}
.branch-photo-col { overflow: hidden; }
.branch-photo {
  width: 100%;
  height: 100%;
  min-height: 320px;
  object-fit: cover;
  display: block;
}
.branch-info-col { padding: 32px 32px 32px 0; }
.branch-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--teal-light);
  color: var(--teal);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.branch-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--blue);
  margin-bottom: 0.6rem;
}
.branch-desc {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 1.2rem;
}
.branch-details { display: flex; flex-direction: column; gap: 12px; margin-bottom: 1.4rem; }
.branch-detail-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
}
.branch-detail-item i {
  color: var(--blue);
  font-size: 1rem;
  width: 22px;
  margin-top: 2px;
  flex-shrink: 0;
}
.branch-detail-item strong { font-size: 0.8rem; color: var(--text); display: block; margin-bottom: 2px; }
.branch-detail-item a, .branch-detail-item span {
  font-size: 0.83rem;
  color: var(--text-muted);
  line-height: 1.5;
}
.branch-detail-item a { color: var(--blue); }
.branch-detail-item a:hover { text-decoration: underline; }
.branch-btns { display: flex; gap: 10px; flex-wrap: wrap; }

/* ---- WHY CHOOSE US ---- */
.why-section { padding: 60px 0; background: var(--white); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}
.why-card {
  text-align: center;
  padding: 22px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all 0.25s;
}
.why-card:hover { border-color: var(--teal); background: var(--teal-light); transform: translateY(-3px); }
.why-card i {
  font-size: 1.8rem;
  color: var(--teal);
  margin-bottom: 0.75rem;
  display: block;
}
.why-card h4 {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 0.3rem;
}
.why-card p { font-size: 0.82rem; color: var(--text-muted); }

/* ---- TESTIMONIALS ---- */
.testimonials-section { padding: 60px 0; background: var(--off-white); }
.testimonials-track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}
.testi-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-top: 3px solid var(--teal);
}
.stars { color: var(--gold); font-size: 1rem; margin-bottom: 0.75rem; }
.testi-card p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.65; margin-bottom: 1rem; font-style: italic; }
.testi-author { font-size: 0.83rem; }
.testi-author strong { color: var(--blue); display: block; }
.testi-author span { color: var(--text-muted); }
.testi-dots { display: none; }

/* ---- FAQ ---- */
.faq-section { padding: 60px 0; background: var(--white); }
.faq-list { max-width: 760px; margin: 0 auto; }
.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%;
  background: none;
  border: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 4px;
  font-size: 0.93rem;
  font-weight: 600;
  color: var(--text);
  text-align: left;
  gap: 12px;
  transition: color 0.2s;
}
.faq-q:hover { color: var(--blue); }
.faq-q i { font-size: 0.8rem; transition: transform 0.3s; flex-shrink: 0; color: var(--teal); }
.faq-q.open i { transform: rotate(180deg); }
.faq-a {
  font-size: 0.87rem;
  color: var(--text-muted);
  line-height: 1.65;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease, padding 0.3s;
  padding: 0 4px;
}
.faq-a.open { max-height: 300px; padding: 0 4px 14px; }

/* ---- APPOINTMENT ---- */
.appointment-section {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--blue-light) 0%, var(--teal-light) 100%);
}
.appt-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 50px;
  align-items: start;
}
.appt-info h2 {
  font-family: var(--font-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--blue);
  margin-bottom: 0.8rem;
}
.appt-info p { font-size: 0.92rem; color: var(--text-muted); margin-bottom: 1.5rem; }
.appt-contact-list { display: flex; flex-direction: column; gap: 14px; }
.appt-contact-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  transition: transform 0.2s;
}
a.appt-contact-item:hover { transform: translateX(4px); }
.appt-contact-item i {
  font-size: 1.2rem;
  color: var(--blue);
  width: 28px;
  text-align: center;
}
.appt-contact-item div { display: flex; flex-direction: column; }
.appt-contact-item strong { font-size: 0.85rem; color: var(--text); }
.appt-contact-item span { font-size: 0.8rem; color: var(--text-muted); }
.appt-form-wrap {
  background: var(--white);
  border-radius: 16px;
  padding: 24px;
  box-shadow: var(--shadow);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 5px; margin-bottom: 16px; }
.form-group label { font-size: 0.82rem; font-weight: 600; color: var(--text); }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 10px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-family: var(--font-body);
  color: var(--text);
  transition: border-color 0.2s;
  background: var(--white);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--blue);
}
.form-error { font-size: 0.75rem; color: var(--red); min-height: 14px; }
.form-submit { margin-top: 4px; }
.form-success {
  display: none;
  align-items: center;
  gap: 8px;
  background: #e8f5e9;
  color: var(--green);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  margin-top: 12px;
}
.form-success.show { display: flex; }
.form-success i { font-size: 1.1rem; }

/* ---- CONTACT ---- */
.contact-section { padding: 60px 0; background: var(--off-white); }
.contact-grid { display: grid; grid-template-columns: 1fr 1.3fr; gap: 48px; align-items: start; }
.contact-item {
  display: flex;
  gap: 14px;
  margin-bottom: 1.2rem;
}
.contact-item i {
  color: var(--blue);
  font-size: 1.1rem;
  width: 28px;
  margin-top: 3px;
  flex-shrink: 0;
}
.contact-item strong { font-size: 0.85rem; color: var(--text); display: block; margin-bottom: 3px; }
.contact-item p { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }
.contact-item a { color: var(--blue); }
.contact-item a:hover { text-decoration: underline; }
.contact-btns { display: flex; gap: 12px; margin-top: 1.2rem; flex-wrap: wrap; }
.map-wrap { border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); }
.map-note {
  text-align: center;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--text);
  color: rgba(255,255,255,0.82);
  padding: 60px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr 1.4fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 1rem;
}
.footer-logo i {
  font-size: 1.5rem;
  color: var(--teal);
  margin-top: 3px;
  flex-shrink: 0;
}
.footer-logo strong { color: var(--white); font-size: 0.9rem; display: block; }
.footer-logo span { font-size: 0.72rem; color: rgba(255,255,255,0.55); }
.footer-brand p { font-size: 0.8rem; margin-bottom: 0.5rem; line-height: 1.5; }
.footer-brand .partner-badge { margin-top: 0.5rem; }
.footer-col h5 {
  color: var(--white);
  font-size: 0.88rem;
  font-weight: 700;
  margin-bottom: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.footer-col ul li { margin-bottom: 0.45rem; }
.footer-col ul li a {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  transition: color 0.2s;
}
.footer-col ul li a:hover { color: var(--teal); }
.footer-col ul li { font-size: 0.82rem; color: rgba(255,255,255,0.65); }
.footer-col p { font-size: 0.8rem; color: rgba(255,255,255,0.65); margin-bottom: 0.5rem; line-height: 1.6; }
.footer-col a { color: rgba(255,255,255,0.75); }
.footer-col a:hover { color: var(--teal); }
.footer-bottom {
  padding: 20px 0;
  text-align: center;
}
.footer-bottom p { font-size: 0.75rem; color: rgba(255,255,255,0.45); margin-bottom: 4px; }

/* ---- FLOATING BUTTONS ---- */
.float-whatsapp, .float-call {
  position: fixed;
  bottom: 80px;
  right: 20px;
  width: 52px; height: 52px;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem;
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,0,0,0.25);
  z-index: 900;
  transition: transform 0.2s;
}
.float-whatsapp { background: #25d366; bottom: 144px; }
.float-call { background: var(--blue); bottom: 84px; }
.float-whatsapp:hover, .float-call:hover { transform: scale(1.1); }
.scroll-top {
  position: fixed;
  bottom: 24px; right: 20px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--blue);
  color: var(--white);
  border: none;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 900;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s, transform 0.2s;
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { transform: translateY(-3px); }

/* ---- RESPONSIVE ---- */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .about-grid { grid-template-columns: 1fr 1.4fr; }
  .about-cert-col { grid-column: 1 / -1; max-width: 400px; }
  .about-visual { display: none; }
  .hero-lab-photo-wrap { width: 260px; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0; right: 0;
    background: var(--white);
    flex-direction: column;
    padding: 16px 20px;
    border-bottom: 1px solid var(--border);
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    gap: 4px;
  }
  .nav-links.open { display: flex; }
  .nav-link { width: 100%; padding: 10px 12px; }
  .hero-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
  }
  .hero-visual {
    display: flex;
    justify-content: center;
    order: -1;
  }
  .hero-lab-photo-wrap {
    width: 100%;
    max-width: 100%;
  }
  .hero-lab-photo {
    border-radius: 10px;
    max-height: 200px;
    width: 100%;
    object-fit: cover;
  }
  .hero { min-height: auto; padding: 80px 0 40px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .stat-item:nth-child(odd) { border-right: 1px solid rgba(255,255,255,0.15); }
  .appt-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .packages-grid { grid-template-columns: 1fr; }
  .offers-grid { grid-template-columns: repeat(2, 1fr); }
  .about-grid { grid-template-columns: 1fr; }
  .about-visual { display: none; }
  .about-cert-col { max-width: 100%; }
  .branch-grid { grid-template-columns: 1fr; }
  .branch-info-col { padding: 24px; }
  .branch-photo { min-height: 200px; }
}

@media (max-width: 480px) {
  .offers-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: flex-start; }
  .stats-grid { grid-template-columns: 1fr; }
  .stat-item { border-right: none; }
  .appt-form-wrap { padding: 20px 16px; }
  .aarogyam-grid { grid-template-columns: 1fr; }
  .services-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
}

/* ---- SCROLL ANIMATIONS ---- */
[data-aos] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
[data-aos].aos-in {
  opacity: 1;
  transform: translateY(0);
}

/* ---- REDUCED MOTION ---- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; }
  html { scroll-behavior: auto; }
}
