/* ============================================
   Sri Mahadev Hospital — Design System
   ============================================ */

:root {
  --teal-900: #0a3b47;
  --teal-800: #0d4e5a;
  --teal-700: #0f6272;
  --teal-600: #128695;
  --teal-500: #16a3b5;
  --teal-50:  #e6f4f6;
  --saffron:  #e8722c;
  --saffron-dark: #c25a1a;
  --red:      #e11d48;
  --red-dark: #be123c;
  --cream:    #fbf7f0;
  --ink:      #142029;
  --ink-soft: #3b4a56;
  --muted:    #6b7b85;
  --line:     #e2ebee;
  --white:    #ffffff;

  --font-display: "Fraunces", "Cormorant Garamond", Georgia, serif;
  --font-body:    "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-telugu:  "Noto Sans Telugu", "Manrope", sans-serif;

  --radius-sm: 8px;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(10, 59, 71, 0.06);
  --shadow: 0 10px 30px rgba(10, 59, 71, 0.10);
  --shadow-lg: 0 20px 50px rgba(10, 59, 71, 0.16);
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  letter-spacing: 0.3px;
}

body.te { font-family: var(--font-telugu); }

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
button { font-family: inherit; cursor: pointer; border: none; background: none; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: -0.015em;
  color: var(--teal-900);
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ========== TOP BAR ========== */
.topbar {
  background: var(--teal-900);
  color: var(--cream);
  font-size: 13px;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: var(--cream); font-weight: 500; }
.topbar .emergency {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--red);
  padding: 4px 12px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.topbar .emergency::before {
  content: "";
  width: 8px; height: 8px;
  background: #fff;
  border-radius: 50%;
  animation: pulse 1.5s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(0.8); }
}
.lang-switch {
  display: inline-flex;
  gap: 4px;
  background: rgba(255,255,255,0.1);
  border-radius: 20px;
  padding: 3px;
}
.lang-switch button {
  padding: 3px 12px;
  border-radius: 16px;
  color: var(--cream);
  font-size: 12px;
  font-weight: 600;
}
.lang-switch button.active {
  background: var(--saffron);
  color: #fff;
}

/* ========== HEADER ========== */
.header {
  background: var(--white);
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: var(--shadow-sm);
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  width: 56px; height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--teal-50);
}
.brand-text h1 {
  font-size: 20px;
  color: var(--teal-900);
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.brand-text .tagline {
  font-size: 11px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-top: 2px;
  font-weight: 600;
}
.nav {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav a {
  padding: 10px 16px;
  font-weight: 600;
  font-size: 15px;
  color: var(--ink-soft);
  border-radius: 8px;
  transition: all 0.2s;
}
.nav a:hover, .nav a.active {
  color: var(--teal-800);
  background: var(--teal-50);
}
.nav .cta-call {
  background: var(--saffron);
  color: #fff;
  padding: 10px 18px;
  border-radius: 8px;
  font-weight: 700;
  margin-left: 8px;
  box-shadow: 0 4px 12px rgba(232, 114, 44, 0.3);
}
.nav .cta-call:hover { background: var(--saffron-dark); transform: translateY(-1px); }

.menu-toggle {
  display: none;
  font-size: 26px;
  color: var(--teal-900);
}

/* ========== HERO ========== */
.hero {
  position: relative;
  min-height: 750px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  color: #fff;
  overflow: hidden;
  padding-top: 0;
  aspect-ratio: 16 / 9;
}
.hero-slides {
  position: absolute;
  inset: 0;
}
.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  opacity: 0;
  transition: opacity 1.2s ease, transform 6s linear;
  transform: scale(1);
}
.hero-slide.active { 
  opacity: 1; 
  transform: scale(1.05);
}
.hero-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: 
    linear-gradient(to right, rgba(10, 59, 71, 0.9) 0%, rgba(10, 59, 71, 0.6) 40%, rgba(10, 59, 71, 0.2) 100%),
    linear-gradient(to bottom, rgba(10, 59, 71, 0.4) 0%, rgba(10, 59, 71, 0.1) 100%);
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 50px 0;
  max-width: 720px;
  text-shadow: 0 2px 10px rgba(0,0,0,0.3);
}
.hero-kicker {
  display: inline-block;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(10px);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 14px;
  border: 1px solid rgba(255,255,255,0.2);
}
.hero h2 {
  color: #fff;
  font-size: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: 14px;
  letter-spacing: -0.01em;
  line-height: 1.1;
}
.hero h2 em {
  font-style: italic;
  color: #fdd28a;
  font-weight: 400;
}
.hero p {
  font-size: 15px;
  opacity: 0.95;
  margin-bottom: 24px;
  max-width: 640px;
  line-height: 1.5;
}
.hero-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}
.btn-primary, .btn-secondary {
  padding: 11px 22px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.25s;
}
.btn-primary {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 8px 20px rgba(232, 114, 44, 0.4);
}
.btn-primary:hover { background: var(--saffron-dark); transform: translateY(-2px); }
.btn-secondary {
  background: rgba(255,255,255,0.12);
  backdrop-filter: blur(10px);
  color: #fff;
  border: 1.5px solid rgba(255,255,255,0.4);
}
.btn-secondary:hover { background: rgba(255,255,255,0.22); }

.hero-dots {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  gap: 10px;
  z-index: 3;
}
.hero-dots button {
  width: 36px;
  height: 4px;
  background: rgba(255,255,255,0.35);
  border-radius: 2px;
  transition: all 0.3s;
}
.hero-dots button.active {
  background: var(--saffron);
  width: 56px;
}

/* ========== STATS STRIP ========== */
.stats {
  background: var(--white);
  padding: 40px 0;
  border-bottom: 1px solid var(--line);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
  text-align: center;
}
.stat-num {
  font-family: var(--font-display);
  font-size: 3rem;
  font-weight: 700;
  color: var(--teal-800);
  line-height: 1;
}
.stat-num .accent { color: var(--saffron); }
.stat-label {
  font-size: 13px;
  color: var(--muted);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-weight: 600;
  margin-top: 6px;
}

/* ========== SECTIONS ========== */
section.block { padding: 90px 0; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 60px;
}
.section-kicker {
  display: inline-block;
  color: var(--saffron-dark);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  margin-bottom: 12px;
}
.section-head h2 {
  font-size: clamp(2rem, 4vw, 3rem);
  margin-bottom: 14px;
}
.section-head p {
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 1.7;
}

/* ========== SERVICES GRID ========== */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 30px;
  border: 1px solid var(--line);
  transition: all 0.35s;
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 4px; height: 0;
  background: var(--saffron);
  transition: height 0.35s;
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal-50);
}
.service-card:hover::before { height: 100%; }
.service-icon {
  width: 60px;
  height: 60px;
  background: var(--teal-50);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  margin-bottom: 18px;
  transition: all 0.3s;
}
.service-card:hover .service-icon {
  background: var(--teal-800);
  transform: rotate(-6deg);
}
.service-card h3 {
  font-size: 19px;
  margin-bottom: 10px;
  font-weight: 700;
}
.service-card p {
  color: var(--ink-soft);
  font-size: 15px;
  line-height: 1.6;
}
.service-tag {
  display: inline-block;
  margin-top: 14px;
  font-size: 11px;
  font-weight: 700;
  color: var(--saffron-dark);
  background: rgba(232, 114, 44, 0.1);
  padding: 4px 10px;
  border-radius: 12px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

/* ========== LEARN MORE BUTTON ========== */
.learn-more-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 10px 18px;
  background: var(--saffron);
  color: #fff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(232, 114, 44, 0.3);
}
.learn-more-btn:hover {
  background: var(--saffron-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(232, 114, 44, 0.4);
}
.learn-more-btn:active {
  transform: translateY(0);
}

/* ========== WHY CHOOSE US ========== */
.why-section { background: linear-gradient(180deg, var(--teal-50) 0%, var(--cream) 100%); }
.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.why-card {
  background: var(--white);
  padding: 40px 28px;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.3s;
  border: 1px solid transparent;
}
.why-card:hover { transform: translateY(-6px); border-color: var(--teal-50); box-shadow: var(--shadow); }
.why-icon {
  font-size: 44px;
  margin-bottom: 16px;
}
.why-card h3 { font-size: 17px; margin-bottom: 10px; font-weight: 700; }
.why-card p { font-size: 14px; color: var(--ink-soft); line-height: 1.6; }

/* ========== DOCTOR CARDS ========== */
.doctors-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.doctor-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all 0.35s;
  border: 1px solid var(--line);
  display: flex;
  flex-direction: column;
}
.doctor-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}
.doctor-img {
  aspect-ratio: 4/5;
  overflow: hidden;
  background: var(--teal-50);
}
.doctor-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s;
}
.doctor-card:hover .doctor-img img { transform: scale(1.05); }
.doctor-info {
  padding: 24px 22px 22px;
  flex: 1;
  display: flex;
  flex-direction: column;
  text-align: center;
}
.doctor-info h3 {
  font-size: 19px;
  margin-bottom: 4px;
}
.doctor-qual {
  font-size: 12px;
  color: var(--saffron-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 4px;
}
.doctor-spec {
  font-size: 14px;
  color: var(--ink-soft);
  margin-bottom: 12px;
}
.doctor-time {
  display: inline-block;
  font-size: 12px;
  background: var(--teal-50);
  color: var(--teal-800);
  padding: 5px 12px;
  border-radius: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}
.doctor-actions {
  display: flex;
  gap: 10px;
  margin-top: auto;
}
.doctor-actions a {
  flex: 1;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  text-align: center;
  transition: all 0.2s;
}
.btn-call {
  background: var(--teal-800);
  color: #fff;
}
.btn-call:hover { background: var(--teal-900); }
.btn-wa {
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}
.btn-wa:hover { background: #1da851; transform: translateY(-1px); }

/* ========== FACILITIES ========== */
.facilities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.facility-card {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-sm);
}
.facility-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s;
}
.facility-card:hover img { transform: scale(1.08); }
.facility-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(10,59,71,0.9) 0%, rgba(10,59,71,0) 50%);
}
.facility-card h3 {
  position: absolute;
  bottom: 20px;
  left: 24px;
  right: 24px;
  color: #fff;
  font-size: 22px;
  z-index: 2;
}

/* ========== CTA BANNER ========== */
.cta-banner {
  background: linear-gradient(135deg, var(--teal-900), var(--teal-700));
  color: #fff;
  padding: 70px 50px;
  border-radius: var(--radius-lg);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-banner::before {
  content: "";
  position: absolute;
  top: -50%; right: -10%;
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(232,114,44,0.3) 0%, transparent 70%);
}
.cta-banner h2 { color: #fff; margin-bottom: 14px; font-size: 32px; }
.cta-banner p { opacity: 0.9; margin-bottom: 28px; font-size: 16px; line-height: 1.6; }
.cta-banner .btn-primary { background: #25d366; box-shadow: 0 8px 24px rgba(37,211,102,0.4); }
.cta-banner .btn-primary:hover { background: #1da851; }

/* ========== CONTACT ========== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.contact-info {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-info h3 { margin-bottom: 24px; font-size: 22px; font-weight: 700; }
.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--line);
}
.contact-item:last-child { border-bottom: none; }
.contact-icon {
  width: 44px; height: 44px;
  flex-shrink: 0;
  background: var(--teal-50);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}
.contact-item h4 { font-family: var(--font-body); font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.1em; margin-bottom: 4px; font-weight: 700; }
.contact-item p, .contact-item a { font-size: 15px; font-weight: 600; color: var(--ink); line-height: 1.6; }
.contact-item a:hover { color: var(--teal-700); }

.contact-form {
  background: var(--white);
  padding: 36px;
  border-radius: var(--radius);
  border: 1px solid var(--line);
}
.contact-form h3 { margin-bottom: 24px; font-size: 22px; font-weight: 700; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.form-group { margin-bottom: 14px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--ink-soft);
  margin-bottom: 8px;
  letter-spacing: 0.3px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--line);
  border-radius: 8px;
  font-family: inherit;
  font-size: 14px;
  background: var(--cream);
  transition: all 0.2s;
  letter-spacing: 0.2px;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--teal-600);
  background: #fff;
}
.form-group textarea { resize: vertical; min-height: 90px; }
.form-submit {
  width: 100%;
  background: var(--saffron);
  color: #fff;
  padding: 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 15px;
  transition: all 0.2s;
}
.form-submit:hover { background: var(--saffron-dark); }

.map-wrap {
  margin-top: 30px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  aspect-ratio: 16/9;
}
.map-wrap iframe { width: 100%; height: 100%; border: 0; }

/* ========== FOOTER ========== */
.footer {
  background: var(--teal-900);
  color: #cfe0e5;
  padding: 60px 0 24px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
.footer h4 {
  color: #fff;
  font-family: var(--font-body);
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 18px;
}
.footer-brand .brand-text h1 { color: #fff; font-size: 22px; }
.footer-brand .brand-text .tagline { color: var(--saffron); }
.footer-brand p { margin-top: 16px; font-size: 14px; color: #95adb4; max-width: 300px; }
.footer ul { list-style: none; }
.footer ul li { margin-bottom: 10px; }
.footer ul a { font-size: 14px; color: #cfe0e5; }
.footer ul a:hover { color: var(--saffron); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px;
  text-align: center;
  font-size: 13px;
  color: #95adb4;
}

/* ========== FLOATING BUTTONS ========== */
.float-btn {
  position: fixed;
  z-index: 90;
  width: 58px; height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s;
}
.float-btn:hover { transform: scale(1.08); }
.float-wa {
  bottom: 24px;
  right: 24px;
  background: #25d366;
}
.float-wa::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: #25d366;
  opacity: 0.4;
  animation: pulse-ring 2s infinite;
  z-index: -1;
}
.float-call {
  bottom: 24px;
  left: 24px;
  background: var(--red);
}
.float-call::after {
  content: "";
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  background: var(--red);
  opacity: 0.4;
  animation: pulse-ring 2s infinite;
  z-index: -1;
}
@keyframes pulse-ring {
  0% { transform: scale(1); opacity: 0.5; }
  100% { transform: scale(1.4); opacity: 0; }
}

/* ========== PAGE HEADER ========== */
.page-header {
  background: linear-gradient(135deg, var(--teal-900) 0%, var(--teal-700) 100%);
  color: #fff;
  padding: 80px 0 70px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header::before {
  content: "";
  position: absolute;
  top: -30%; right: -20%;
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(232,114,44,0.22) 0%, transparent 70%);
}
.page-header h1 {
  color: #fff;
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 10px;
}
.page-header p { opacity: 0.9; font-size: 18px; }

/* ========== FILTERS ========== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 40px;
}
.filter-bar button {
  padding: 8px 18px;
  border-radius: 20px;
  border: 1.5px solid var(--line);
  background: #fff;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink-soft);
  transition: all 0.2s;
}
.filter-bar button.active,
.filter-bar button:hover {
  background: var(--teal-800);
  color: #fff;
  border-color: var(--teal-800);
}

/* ========== ANIMATIONS ========== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s, transform 0.7s;
}
.reveal.in { opacity: 1; transform: translateY(0); }

/* ========== RESPONSIVE ========== */
@media (max-width: 1024px) {
  .services-grid, .why-grid, .doctors-grid { grid-template-columns: repeat(2, 1fr); }
  .facilities-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav { display: none; }
  .nav.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    padding: 16px;
    box-shadow: var(--shadow);
    gap: 4px;
  }
  .nav.open a { padding: 12px; width: 100%; }
  .menu-toggle { display: block; }
  .header-inner { position: relative; }
  .brand-text h1 { font-size: 17px; }
  .brand-text .tagline { font-size: 10px; }
  .brand img { width: 48px; height: 48px; }

  section.block { padding: 60px 0; }
  .hero { 
    min-height: auto;
    aspect-ratio: 16 / 9;
    padding-top: 15px;
  }
  .hero-content { 
    padding: 35px 0; 
  }
  .hero h2 {
    font-size: clamp(1.4rem, 4vw, 2.2rem);
    margin-bottom: 12px;
  }
  .hero p {
    font-size: 14px;
    margin-bottom: 20px;
  }
  .hero-actions {
    gap: 10px;
  }
  .btn-primary, .btn-secondary {
    padding: 10px 16px;
    font-size: 12px;
  }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .stat-num { font-size: 2.2rem; }
  .services-grid, .why-grid, .doctors-grid, .facilities-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 24px; }
  .form-row { grid-template-columns: 1fr; }
  .contact-info, .contact-form { padding: 24px; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
  .topbar-inner { font-size: 12px; gap: 8px; justify-content: center; }
  .cta-banner { padding: 40px 24px; }
  .float-btn { width: 52px; height: 52px; font-size: 22px; }
}


/* ========== SERVICE MODAL ========== */
.service-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 59, 71, 0.6);
  backdrop-filter: blur(4px);
  z-index: 200;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}
.service-modal.active {
  display: flex;
}
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}
.modal-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  max-width: 600px;
  width: 100%;
  box-shadow: var(--shadow-lg);
  animation: slideUp 0.4s ease;
  position: relative;
}
@keyframes slideUp {
  from { transform: translateY(40px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
.modal-close {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  background: var(--teal-50);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--teal-800);
}
.modal-close:hover {
  background: var(--teal-100);
  transform: rotate(90deg);
}
.modal-icon {
  width: 80px;
  height: 80px;
  background: var(--teal-50);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  margin-bottom: 20px;
}
.modal-content h2 {
  font-size: 28px;
  margin-bottom: 12px;
  color: var(--teal-900);
}
.modal-content p {
  font-size: 16px;
  color: var(--ink-soft);
  line-height: 1.7;
  margin-bottom: 28px;
}
.modal-actions {
  display: flex;
  gap: 12px;
}
.modal-actions a {
  flex: 1;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 700;
  text-align: center;
  font-size: 14px;
  transition: all 0.2s;
  text-decoration: none;
}
.modal-btn-primary {
  background: var(--saffron);
  color: #fff;
  box-shadow: 0 4px 12px rgba(232, 114, 44, 0.3);
}
.modal-btn-primary:hover {
  background: var(--saffron-dark);
  transform: translateY(-2px);
}
.modal-btn-secondary {
  background: var(--teal-50);
  color: var(--teal-800);
}
.modal-btn-secondary:hover {
  background: var(--teal-100);
}

@media (max-width: 768px) {
  .modal-content {
    padding: 28px 20px;
  }
  .modal-content h2 {
    font-size: 22px;
  }
  .modal-content p {
    font-size: 15px;
  }
  .modal-actions {
    flex-direction: column;
  }
}
