/* ================================================================
   ANIL MEMORIAL HOSPITAL — style.css
   Brand Colors (change here to update the whole site):
     --blue:    Medical blue (primary)
     --green:   Medical green (accent)
     --red:     Emergency red
     --gold:    Soft gold accent
   ================================================================ */

/* ---- CSS Variables ---- */
:root {
  /* Brand Colors — change these to retheme the site */
  --blue:        #1565C0;
  --blue-light:  #1976D2;
  --blue-pale:   #E3F0FF;
  --green:       #2E7D32;
  --green-light: #43A047;
  --green-pale:  #E8F5E9;
  --red:         #C62828;
  --red-pale:    #FFEBEE;
  --gold:        #C8960C;
  --gold-pale:   #FFF8E1;

  /* Neutrals */
  --white:       #FFFFFF;
  --gray-50:     #F8FAFE;
  --gray-100:    #F1F5FB;
  --gray-200:    #E2E8F4;
  --gray-400:    #94A3B8;
  --gray-600:    #475569;
  --gray-800:    #1E293B;
  --black:       #0F172A;

  /* Typography */
  --font-hindi:  'Noto Sans Devanagari', 'Noto Sans', sans-serif;
  --font-body:   'Inter', 'Noto Sans Devanagari', sans-serif;

  /* Layout */
  --radius:      12px;
  --radius-lg:   20px;
  --radius-xl:   28px;
  --shadow-sm:   0 2px 8px rgba(21, 101, 192, 0.08);
  --shadow-md:   0 4px 20px rgba(21, 101, 192, 0.12);
  --shadow-lg:   0 8px 40px rgba(21, 101, 192, 0.16);
  --transition:  0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --max-width:   1200px;
  --header-h:    72px;
}

/* ---- Reset ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  color: var(--gray-800);
  background: var(--white);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }
input, select, textarea { font: inherit; }

/* ---- Utility ---- */
.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.text-center { text-align: center; }
.text-primary { color: var(--blue); }

/* ---- Animation helpers ---- */
[data-anim] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}
[data-anim="fade-left"]  { transform: translateX(-28px); }
[data-anim="fade-right"] { transform: translateX(28px); }
[data-anim].is-visible {
  opacity: 1;
  transform: translate(0, 0);
}

/* ================================================================
   BUTTONS
================================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.2;
  transition: var(--transition);
  white-space: nowrap;
  cursor: pointer;
  border: 2px solid transparent;
}
.btn--sm  { padding: 8px 16px; font-size: 0.875rem; }
.btn--lg  { padding: 14px 28px; font-size: 1.05rem; }
.btn--block { display: flex; width: 100%; }

.btn--primary {
  background: var(--blue);
  color: var(--white);
  border-color: var(--blue);
  box-shadow: 0 4px 14px rgba(21,101,192,0.3);
}
.btn--primary:hover { background: var(--blue-light); box-shadow: 0 6px 20px rgba(21,101,192,0.4); transform: translateY(-1px); }
.btn--primary:active { transform: translateY(0); }

.btn--outline {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline:hover { background: var(--blue-pale); transform: translateY(-1px); }

.btn--outline-dark {
  background: transparent;
  color: var(--blue);
  border-color: var(--blue);
}
.btn--outline-dark:hover { background: var(--blue-pale); }

.btn--whatsapp {
  background: #25D366;
  color: var(--white);
  border-color: #25D366;
  box-shadow: 0 4px 14px rgba(37,211,102,0.35);
}
.btn--whatsapp:hover { background: #22C35E; box-shadow: 0 6px 20px rgba(37,211,102,0.45); transform: translateY(-1px); }

.btn--emergency {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
  box-shadow: 0 4px 14px rgba(198,40,40,0.35);
  animation: pulse-btn 2s infinite;
}
.btn--emergency:hover { background: #B71C1C; transform: translateY(-1px); }

.btn--emergency-alt {
  background: transparent;
  color: var(--red);
  border: 2px solid rgba(255,255,255,0.5);
  color: var(--white);
}
.btn--emergency-alt:hover { background: rgba(255,255,255,0.15); }

@keyframes pulse-btn {
  0%, 100% { box-shadow: 0 4px 14px rgba(198,40,40,0.35); }
  50%       { box-shadow: 0 4px 24px rgba(198,40,40,0.6); }
}

.btn--submit {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

/* ================================================================
   HEADER
================================================================ */
.header {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  height: var(--header-h);
  background: var(--white);
  border-bottom: 1px solid var(--gray-200);
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header__inner {
  display: flex;
  align-items: center;
  gap: 20px;
  height: 100%;
}

.header__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  text-decoration: none;
}
.header__logo {
  width: 48px;
  height: 48px;
  object-fit: contain;
}
.header__name-block { display: flex; flex-direction: column; }
.header__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--blue);
  line-height: 1.2;
  letter-spacing: 0.02em;
}
.header__tagline {
  font-size: 0.7rem;
  color: var(--green);
  font-weight: 500;
  letter-spacing: 0.03em;
}

.header__nav {
  display: flex;
  align-items: center;
  gap: 4px;
  margin: 0 auto;
}
.nav-link {
  padding: 6px 14px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--gray-600);
  border-radius: 8px;
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active { color: var(--blue); background: var(--blue-pale); }

.header__cta {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: 8px;
  background: var(--gray-100);
  margin-left: auto;
}
.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ================================================================
   MOBILE NAV DRAWER
================================================================ */
.mobile-nav {
  position: fixed;
  top: 0; right: -100%;
  width: min(320px, 90vw);
  height: 100vh;
  background: var(--white);
  z-index: 1100;
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-lg);
  transition: right 0.35s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto;
}
.mobile-nav.open { right: 0; }

.mobile-nav__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--gray-200);
}
.mobile-nav__logo { width: 40px; height: 40px; object-fit: contain; }
.mobile-nav__close {
  font-size: 1.2rem;
  padding: 8px;
  border-radius: 8px;
  background: var(--gray-100);
  color: var(--gray-600);
  transition: var(--transition);
}
.mobile-nav__close:hover { background: var(--red-pale); color: var(--red); }

.mobile-nav__link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 16px;
  border-radius: var(--radius);
  font-size: 1.05rem;
  font-weight: 500;
  color: var(--gray-800);
  transition: var(--transition);
}
.mobile-nav__link:hover { background: var(--blue-pale); color: var(--blue); }

.mobile-nav__actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--gray-200);
}

/* Overlay */
.overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.5);
  z-index: 1050;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  backdrop-filter: blur(2px);
}
.overlay.show { opacity: 1; pointer-events: all; }

/* ================================================================
   HERO SECTION
================================================================ */
.hero {
  display: flex;
  align-items: center;
  padding: calc(var(--header-h) + 48px) 0 64px;
  background: linear-gradient(135deg, var(--white) 0%, var(--blue-pale) 50%, var(--green-pale) 100%);
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -100px; right: -100px;
  width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(21,101,192,0.07) 0%, transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(46,125,50,0.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero__inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.hero__badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  background: var(--white);
  border: 1px solid var(--blue-pale);
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--blue);
  box-shadow: var(--shadow-sm);
  font-family: var(--font-hindi);
}

.hero__headline {
  font-family: var(--font-hindi);
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--black);
  margin-bottom: 16px;
}

.hero__sub {
  font-family: var(--font-hindi);
  font-size: clamp(1rem, 2vw, 1.15rem);
  color: var(--gray-600);
  margin-bottom: 32px;
  line-height: 1.7;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

/* Hero visuals */
.hero__visuals {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__img-main {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  position: relative;
}
.hero__img-main img {
  width: 100%;
  height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.hero__img-main:hover img { transform: scale(1.03); }
.hero__img-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 10px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
  color: var(--white);
  font-size: 0.85rem;
  font-weight: 600;
  font-family: var(--font-hindi);
}

.hero__img-doc {
  display: flex;
  align-items: center;
  gap: 16px;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 12px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
}
.hero__img-doc img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  object-position: top;
  border-radius: 50%;
  border: 3px solid var(--blue-pale);
  flex-shrink: 0;
}
.hero__doc-badge strong {
  display: block;
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  font-family: var(--font-hindi);
}
.hero__doc-badge span {
  font-size: 0.78rem;
  color: var(--green);
  font-weight: 600;
}

/* ================================================================
   SECTION COMMON
================================================================ */
.section {
  padding: 70px 0;
}
.section-header {
  max-width: 640px;
  margin: 0 auto 36px;
}
.section-pre {
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--blue);
  margin-bottom: 8px;
}
.section-title {
  font-family: var(--font-hindi);
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--black);
  line-height: 1.3;
  margin-bottom: 12px;
}
.section-sub {
  font-family: var(--font-hindi);
  font-size: 1rem;
  color: var(--gray-600);
  line-height: 1.65;
}

/* ================================================================
   DOCTOR SECTION
================================================================ */
.doctor-section {
  background: var(--gray-50);
}

.doctor-card {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 48px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-width: 900px;
  margin: 0 auto;
}

.doctor-card__photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.doctor-card__photo img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.doctor-card__photo:hover img { transform: scale(1.03); }
.doctor-card__badge {
  position: absolute;
  bottom: 16px; left: 16px;
  background: var(--gold);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.doctor-card__info { display: flex; flex-direction: column; gap: 12px; }
.doctor-card__name {
  font-family: var(--font-hindi);
  font-size: 1.9rem;
  font-weight: 800;
  color: var(--black);
}
.doctor-card__degree {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--blue);
  background: var(--blue-pale);
  display: inline-block;
  padding: 4px 12px;
  border-radius: 6px;
}
.doctor-card__specialty {
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--green);
}
.doctor-card__desc {
  font-family: var(--font-hindi);
  font-size: 0.97rem;
  color: var(--gray-600);
  line-height: 1.75;
  padding: 12px 0;
  border-top: 1px solid var(--gray-200);
  border-bottom: 1px solid var(--gray-200);
}
.doctor-card__highlights {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}
.doctor-card__highlights li {
  font-family: var(--font-hindi);
  font-size: 0.88rem;
  color: var(--gray-600);
  font-weight: 500;
}

/* ================================================================
   SERVICES SECTION
================================================================ */
.services-section { background: var(--white); }

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.service-card {
  background: var(--white);
  border: 1px solid var(--gray-200);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
  text-align: center;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  cursor: default;
}
.service-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--blue-pale);
}
.service-card--highlight {
  background: linear-gradient(135deg, var(--blue) 0%, #1976D2 100%);
  color: var(--white);
  border-color: transparent;
}
.service-card--highlight .service-card__title { color: var(--white); }
.service-card--highlight .service-card__desc  { color: rgba(255,255,255,0.85); }
.service-card--highlight:hover { box-shadow: 0 8px 30px rgba(21,101,192,0.4); }

.service-card__icon { font-size: 2.2rem; margin-bottom: 14px; }
.service-card__title {
  font-family: var(--font-hindi);
  font-size: 0.97rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 8px;
  line-height: 1.3;
}
.service-card__desc {
  font-family: var(--font-hindi);
  font-size: 0.82rem;
  color: var(--gray-600);
  line-height: 1.55;
}

/* ================================================================
   MATERNITY SECTION
================================================================ */
.maternity-section {
  background: linear-gradient(135deg, var(--green-pale) 0%, var(--gold-pale) 100%);
}

.maternity-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}

.maternity-visual {
  display: flex;
  justify-content: center;
}

.maternity-art {
  position: relative;
  width: 300px;
  height: 300px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}
.mat-bg-circle {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
}
.mat-bg-1 {
  width: 280px; height: 280px;
  background: rgba(46,125,50,0.1);
  border: 2px solid rgba(46,125,50,0.2);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: gentle-pulse 3s ease-in-out infinite;
}
.mat-bg-2 {
  width: 200px; height: 200px;
  background: rgba(200,150,12,0.08);
  border: 2px solid rgba(200,150,12,0.15);
  top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  animation: gentle-pulse 3s ease-in-out infinite 1s;
}
@keyframes gentle-pulse {
  0%, 100% { transform: translate(-50%,-50%) scale(1); opacity: 1; }
  50%       { transform: translate(-50%,-50%) scale(1.06); opacity: 0.7; }
}
.mat-emoji {
  font-size: 5rem;
  line-height: 1;
  position: relative;
  z-index: 1;
  animation: float 4s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50%       { transform: translateY(-10px); }
}
.mat-tagline {
  font-family: var(--font-hindi);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  text-align: center;
  position: relative;
  z-index: 1;
}

.maternity-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin: 24px 0;
}
.maternity-list li {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}
.mat-check {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  background: var(--green);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  font-weight: 700;
  margin-top: 2px;
}
.maternity-list li strong {
  display: block;
  font-family: var(--font-hindi);
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 2px;
}
.maternity-list li p {
  font-family: var(--font-hindi);
  font-size: 0.88rem;
  color: var(--gray-600);
  line-height: 1.5;
}

/* ================================================================
   EMERGENCY SECTION
================================================================ */
.emergency-section {
  background: linear-gradient(135deg, var(--red) 0%, #B71C1C 100%);
  color: var(--white);
  padding: 56px 0;
}
.emergency-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 20px;
}
.emergency-pulse {
  font-size: 4rem;
  animation: pulse-icon 1.5s ease-in-out infinite;
}
@keyframes pulse-icon {
  0%, 100% { transform: scale(1); }
  50%       { transform: scale(1.15); }
}
.emergency-title {
  font-family: var(--font-hindi);
  font-size: clamp(1.4rem, 3vw, 2rem);
  font-weight: 800;
  line-height: 1.3;
}
.emergency-desc {
  font-family: var(--font-hindi);
  font-size: 1.05rem;
  opacity: 0.9;
  line-height: 1.7;
}
.emergency-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  justify-content: center;
}

/* ================================================================
   APPOINTMENT FORM SECTION
================================================================ */
.appt-section { background: var(--gray-50); }

.appt-form {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 40px;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--gray-200);
  max-width: 800px;
  margin: 0 auto;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.form-group label {
  font-family: var(--font-hindi);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--gray-800);
}
.req { color: var(--red); }

.form-group input,
.form-group select,
.form-group textarea {
  padding: 12px 14px;
  border: 1.5px solid var(--gray-200);
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-family: var(--font-hindi);
  color: var(--gray-800);
  background: var(--white);
  transition: var(--transition);
  outline: none;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(21,101,192,0.1);
}
.form-group input.error,
.form-group select.error {
  border-color: var(--red);
}
.form-group textarea { resize: vertical; min-height: 90px; }

.form-error {
  font-size: 0.8rem;
  color: var(--red);
  font-weight: 500;
  min-height: 18px;
}

.form-submit-wrap {
  display: flex;
  justify-content: center;
  margin-top: 8px;
}

.appt-note {
  text-align: center;
  margin-top: 16px;
  padding: 14px 20px;
  background: var(--green-pale);
  border: 1px solid rgba(46,125,50,0.25);
  border-radius: var(--radius);
  color: var(--green);
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  font-weight: 600;
  animation: fadeIn 0.4s ease;
}
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: translateY(0); } }

/* ================================================================
   GALLERY SECTION
================================================================ */
.gallery-section { background: var(--white); }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  max-width: 860px;
  margin: 0 auto;
}

.gallery-item {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  background: var(--gray-100);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
  aspect-ratio: 4/3;
}
.gallery-item:hover { box-shadow: var(--shadow-md); transform: scale(1.02); }

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
  transition: transform 0.5s;
}
.gallery-item:hover img { transform: scale(1.05); }

.gallery-caption {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 12px 16px;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, transparent 100%);
  color: var(--white);
  font-size: 0.9rem;
  font-weight: 600;
  font-family: var(--font-hindi);
}

/* ================================================================
   FAQ SECTION
================================================================ */
.faq-section {
  background: linear-gradient(160deg, #f0f6ff 0%, #f8fffe 100%);
  padding: 64px 0;
}
@media (max-width: 768px) { .faq-section { padding: 44px 0; } }

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

.faq-accordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 40px;
}

.faq-item {
  background: var(--white);
  border: 1.5px solid #dde8f8;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(21,101,192,0.06);
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}
.faq-item.active {
  border-color: var(--blue);
  box-shadow: 0 6px 24px rgba(21,101,192,0.13);
}

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 20px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-family: var(--font-hindi);
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-800);
  line-height: 1.4;
  transition: color 0.2s ease;
}
.faq-question:hover { color: var(--blue); }
.faq-item.active .faq-question { color: var(--blue); }

.faq-icon {
  flex-shrink: 0;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #eef4ff;
  border: 1.5px solid #c7d9f5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, background 0.25s ease, border-color 0.25s ease;
  position: relative;
}
.faq-icon::before,
.faq-icon::after {
  content: "";
  position: absolute;
  background: var(--blue);
  border-radius: 2px;
  transition: transform 0.3s ease, opacity 0.25s ease;
}
.faq-icon::before { width: 12px; height: 2px; }
.faq-icon::after  { width: 2px;  height: 12px; }

.faq-item.active .faq-icon {
  background: var(--blue);
  border-color: var(--blue);
  transform: rotate(45deg);
}
.faq-item.active .faq-icon::before,
.faq-item.active .faq-icon::after { background: var(--white); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.38s cubic-bezier(0.4,0,0.2,1);
}
.faq-item.active .faq-answer { max-height: 260px; }

.faq-answer p {
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.8;
  padding: 2px 20px 20px;
  border-top: 1px solid #eef2fb;
  margin: 0;
}
.faq-answer p a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: underline;
}
.faq-answer p a:hover { color: var(--blue-light); }

/* ================================================================
   LOCATION SECTION
================================================================ */
.location-section { background: var(--gray-50); }

.location-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

.location-address-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--gray-200);
  margin-bottom: 20px;
}
.location-icon { font-size: 2rem; flex-shrink: 0; }
.location-address-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--black);
  margin-bottom: 4px;
}
.location-address-card p {
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  color: var(--gray-600);
  line-height: 1.65;
}

.location-contacts {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}
.location-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--gray-200);
  font-family: var(--font-hindi);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--gray-800);
  transition: var(--transition);
  text-decoration: none;
}
.location-contact-item:hover { background: var(--blue-pale); color: var(--blue); border-color: var(--blue); }
.loc-icon { font-size: 1.1rem; }

.location-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.location-map {
  border-radius: var(--radius-xl);
  overflow: hidden;
  background: var(--gray-100);
  box-shadow: var(--shadow-md);
  height: 380px;
}
.location-map iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

.map-placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  height: 350px;
  background: linear-gradient(135deg, var(--gray-100), var(--blue-pale));
  border: 2px dashed var(--gray-200);
  border-radius: var(--radius-xl);
  padding: 24px;
  text-align: center;
}
.map-icon { font-size: 3.5rem; }
.map-placeholder h4 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--gray-800);
}
.map-placeholder p {
  font-family: var(--font-hindi);
  font-size: 0.9rem;
  color: var(--gray-600);
  line-height: 1.6;
}

/* ================================================================
   FOOTER
================================================================ */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.85);
  padding: 40px 0 0;
}

.footer__top {
  display: grid;
  grid-template-columns: 2fr 1.5fr 1fr 1fr;
  gap: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer__brand {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.footer__logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  flex-shrink: 0;
}
.footer__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
  margin-bottom: 3px;
}
.footer__tagline {
  font-size: 0.75rem;
  color: var(--green-light);
  font-weight: 500;
}

.footer__col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 10px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.footer__col p,
.footer__col > a {
  display: block;
  font-family: var(--font-hindi);
  font-size: 0.83rem;
  color: rgba(255,255,255,0.65);
  margin-bottom: 6px;
  line-height: 1.55;
  transition: color var(--transition);
}
.footer__col p {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: nowrap;
}
.footer__col p a {
  color: rgba(255,255,255,0.65);
  transition: color var(--transition);
  white-space: nowrap;
}
.footer__col a:hover,
.footer__col p a:hover { color: var(--white); }

.footer__cta {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-wrap: wrap;
}
.footer__cta-text {
  font-family: var(--font-hindi);
  font-size: 1rem;
  font-weight: 700;
  color: var(--white);
}
.footer__cta-btns { display: flex; gap: 10px; flex-wrap: wrap; }

.footer__bottom {
  padding: 12px 0;
  text-align: center;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.4);
  font-family: var(--font-hindi);
}

/* ================================================================
   PC-PNDT COMPLIANCE NOTICE
================================================================ */
.pcpndt-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #E3F2FD;
  border: 1px solid #90CAF9;
  border-radius: 10px;
  padding: 12px 16px;
  margin-top: 28px;
  max-width: 680px;
  margin-left: auto;
  margin-right: auto;
}
.pcpndt-notice--inline {
  margin: 20px 0 24px;
  max-width: 100%;
}
.pcpndt-icon {
  font-size: 1.1rem;
  flex-shrink: 0;
  margin-top: 1px;
}
.pcpndt-notice p {
  font-size: 0.82rem;
  color: #1565C0;
  line-height: 1.5;
  margin: 0;
}
.pcpndt-notice p strong {
  color: #0D47A1;
}

/* ================================================================
   FLOATING APPOINTMENT CTA — DESKTOP
================================================================ */
.float-appt {
  position: fixed;
  bottom: 28px;
  left: 20px;
  display: flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #1565C0, #0D47A1);
  color: #fff;
  text-decoration: none;
  border-radius: 28px;
  padding: 12px 22px 12px 16px;
  font-size: 0.88rem;
  font-weight: 600;
  font-family: inherit;
  box-shadow: 0 4px 18px rgba(21,101,192,0.45);
  z-index: 501;
  white-space: nowrap;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  animation: bounce-in 0.6s ease 1.2s both;
}
.float-appt__icon { font-size: 1.1rem; }
.float-appt:hover {
  background: linear-gradient(135deg, #1976D2, #1565C0);
  transform: translateY(-2px);
  box-shadow: 0 6px 24px rgba(21,101,192,0.55);
}
.float-appt:active { transform: translateY(0); }

/* ================================================================
   MOBILE STICKY APPOINTMENT BAR
================================================================ */
.mobile-appt-bar {
  display: none;
}

@media (max-width: 768px) {
  /* Hide desktop floating appointment button on mobile */
  .float-appt { display: none; }

  /* Show mobile bar */
  .mobile-appt-bar {
    display: flex;
    flex-wrap: nowrap;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: #fff;
    border-top: 2px solid #e0e0e0;
    box-shadow: 0 -3px 18px rgba(0,0,0,0.13);
    padding: 10px 10px calc(10px + env(safe-area-inset-bottom, 0px)) 10px;
    gap: 8px;
    align-items: stretch;
  }
  .mobile-appt-bar__btn {
    flex: 1 1 0;
    min-width: 0;
    background: linear-gradient(135deg, #1565C0, #0D47A1);
    color: #fff;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-align: center;
    font-family: inherit;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .mobile-appt-bar__btn:active { background: #0D47A1; }
  .mobile-appt-bar__call {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #E8F5E9;
    color: #2E7D32;
    text-decoration: none;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    font-family: inherit;
    white-space: nowrap;
    border: 1.5px solid #A5D6A7;
    transition: background 0.2s;
  }
  .mobile-appt-bar__call:active { background: #C8E6C9; }

  /* Push WhatsApp button up above sticky bar */
  .float-wa { bottom: 92px; }

  /* Hide scroll-to-top on mobile (covered by sticky bar area) */
  .scroll-top { bottom: 92px; right: 76px; }

  /* Add bottom padding so entire footer is visible above bar */
  body { padding-bottom: 88px; }
}

/* ================================================================
   FLOATING BUTTONS
================================================================ */
.float-wa {
  position: fixed;
  bottom: 72px;
  right: 20px;
  width: 52px;
  height: 52px;
  background: #25D366;
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.5);
  z-index: 500;
  transition: var(--transition);
  animation: bounce-in 0.6s ease 1s both;
}
.float-wa:hover { transform: scale(1.1); box-shadow: 0 6px 30px rgba(37,211,102,0.6); }

.scroll-top {
  position: fixed;
  bottom: 16px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: var(--blue);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  box-shadow: var(--shadow-md);
  z-index: 500;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition);
}
.scroll-top.visible { opacity: 1; pointer-events: all; }
.scroll-top:hover { background: var(--blue-light); transform: translateY(-2px); }

@keyframes bounce-in {
  from { opacity: 0; transform: scale(0.5); }
  to   { opacity: 1; transform: scale(1); }
}

/* ================================================================
   RESPONSIVE — TABLET (max 1024px)
================================================================ */
@media (max-width: 1024px) {
  .services-grid { grid-template-columns: repeat(3, 1fr); }
  .footer__top { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ================================================================
   RESPONSIVE — MOBILE (max 768px)
================================================================ */
@media (max-width: 768px) {
  :root { --header-h: 64px; }

  /* Header */
  .header__nav  { display: none; }
  .header__cta  { display: none; }
  .hamburger    { display: flex; }
  .header__name { font-size: 0.82rem; }
  .header__tagline { font-size: 0.62rem; }
  .header__logo { width: 38px; height: 38px; }

  /* Hero */
  .hero {
    padding: calc(var(--header-h) + 24px) 0 48px;
  }
  .hero__inner {
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
  }
  .hero__badges { justify-content: center; }
  .hero__actions { justify-content: center; }
  .hero__visuals { order: -1; }
  .hero__img-main img { height: 220px; }

  /* Sections */
  .section { padding: 45px 0; }

  /* Doctor */
  .doctor-card {
    grid-template-columns: 1fr;
    gap: 24px;
    padding: 24px;
  }
  .doctor-card__photo img { height: 280px; }
  .doctor-card__highlights { grid-template-columns: 1fr; }

  /* Services */
  .services-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }

  /* Maternity */
  .maternity-inner { grid-template-columns: 1fr; gap: 32px; }
  .maternity-visual { order: -1; }
  .maternity-art { width: 220px; height: 220px; }
  .mat-bg-1 { width: 200px; height: 200px; }
  .mat-bg-2 { width: 140px; height: 140px; }
  .mat-emoji { font-size: 3.5rem; }

  /* Form */
  .appt-form { padding: 24px 16px; }
  .form-row { grid-template-columns: 1fr; gap: 16px; }

  /* Gallery */
  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
  .gallery-item--tall { grid-row: span 1; }

  /* Location */
  .location-inner { grid-template-columns: 1fr; gap: 24px; }
  .location-map { height: 300px; }

  /* Footer */
  .footer__top { grid-template-columns: 1fr; gap: 28px; }
  .footer__cta { flex-direction: column; align-items: flex-start; }
}

/* ================================================================
   RESPONSIVE — SMALL MOBILE (max 480px)
================================================================ */
@media (max-width: 480px) {
  .services-grid { grid-template-columns: 1fr; }
  .gallery-grid  { grid-template-columns: 1fr; }
  .hero__actions { flex-direction: column; }
  .emergency-actions { flex-direction: column; align-items: center; }
  .location-actions { flex-direction: column; }
  .hero__img-doc { flex-direction: column; text-align: center; }
}
