/* =========================================
   GLOBAL RESET & VARIABLES
   ========================================= */
:root {
  --bg-main: #f8f5ff;
  --bg-section: #ffffff;
  --bg-accent: #f3e6ff;

  --purple-deep: #3b124a;
  --purple-dark: #2a0b34;
  --orange-accent: #ff8a3d;

  --text-main: #111827;
  --text-muted: #6b7280;

  --border-soft: #e5e7eb;
  --shadow-soft: 0 18px 40px rgba(15, 23, 42, 0.12);

  --radius-lg: 18px;
  --radius-md: 12px;
  --radius-pill: 999px;
}

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

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  background:
    linear-gradient(to bottom right, #faf7ff, #fff),
    var(--bg-main);
  color: var(--text-main);
  line-height: 1.6;
  padding-top: 90px;          /* space for fixed navbar */
  max-width: 100%;
  overflow-x: hidden;
}

/* Generic constrained content width (kept as you had it) */
.hero,
.section,
.about-main,
.about-layout,
.profile-section {
  max-width: 1120px;
  margin: 0 auto;
}

/* =========================================
   NAVBAR – DESKTOP + MOBILE
   ========================================= */

.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 1.4rem;
  background: #f7f3ff; /* pale lavender */
  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

/* Brand: logo + text */
.nav-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.15s ease, opacity 0.15s ease;
}

@media (hover: hover) {
  .nav-brand:hover {
    transform: scale(1.03);
    opacity: 0.85;
  }
}

/* Logo bigger without growing navbar height */
.nav-logo-image {
  height: 58px;
  width: auto;
  transform: scale(1.22);
  transform-origin: left center;
}

/* Hospital name bigger, dark rich purple */
.nav-logo-text {
  font-size: 1.6rem;
  font-weight: 700;
  color: #1f0a33;       /* extra dark rich purple */
  line-height: 1;
  display: inline-block;
  transform: translateY(2px);
}

/* Language dropdown */
.lang-switch {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.35rem 2.2rem 0.35rem 0.9rem;
  font-size: 0.9rem;
  background-color: #ffffff;
  color: #111827;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image:
    linear-gradient(45deg, transparent 50%, #9ca3af 50%),
    linear-gradient(135deg, #9ca3af 50%, transparent 50%);
  background-position:
    calc(100% - 14px) 50%,
    calc(100% - 8px) 50%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.lang-switch:focus-visible {
  outline: 2px solid #5b21b6;
  outline-offset: 3px;
}

/* Google Translate widget + English button */
#google_translate_element {
  display: inline-flex;
  align-items: center;
}

.goog-te-combo {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.35rem 2.1rem 0.35rem 0.7rem;
  font-size: 0.85rem;
  background-color: #ffffff;
  color: #111827;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  max-width: 170px;
}

.translate-english-btn {
  border-radius: 999px;
  border: 1px solid rgba(148, 163, 184, 0.9);
  padding: 0.35rem 0.9rem;
  font-size: 0.85rem;
  background-color: #ffffff;
  color: #111827;
  cursor: pointer;
}

/* NAV LINKS – DESKTOP */
.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.nav-links a {
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 600;
  color: #1f0a33; /* dark rich purple */
  position: relative;
}

/* underline on hover */
.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -0.25rem;
  width: 0;
  height: 2px;
  background: #ff8a3d;
  transition: width 0.18s ease;
}

.nav-links a:hover::after { width: 100%; }

/* Hamburger button (hidden on desktop) */
.nav-toggle {
  display: none;
  border: none;
  background: #ffffff;
  border-radius: 999px;
  padding: 0.35rem 0.7rem;
  font-size: 1.1rem;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(15, 23, 42, 0.12);
}

/* MOBILE NAVBAR */
@media (max-width: 768px) {
  .navbar { padding-inline: 5vw; }

  .nav-logo-text { font-size: 1.05rem; }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  /* Mobile dropdown menu */
  .nav-links {
    position: fixed;
    top: 60px;
    left: 0;
    right: 0;
    background: #0d0c24;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem 1.25rem 1.25rem;
    gap: 1rem;
    display: none;
    z-index: 2000;
  }

  .nav-links.open { display: flex; }

  .nav-links a {
    color: #ffffff;
    font-size: 1rem;
    width: 100%;
    padding: 0.4rem 0;
  }

  .lang-switch {
    font-size: 0.8rem;
    padding: 0.25rem 2rem 0.25rem 0.7rem;
  }

  .goog-te-combo {
    font-size: 0.8rem;
    padding: 0.25rem 1.9rem 0.25rem 0.7rem;
    max-width: 150px;
  }

  .translate-english-btn {
    font-size: 0.8rem;
    padding: 0.25rem 0.75rem;
  }
}

@media (max-width: 900px) {
  .navbar {
    flex-wrap: wrap;
    row-gap: 0.6rem;
  }
}

/* Extra-small phones: hide long name if needed */
@media (max-width: 430px) {
  .nav-logo-text { display: none; }
  .navbar { justify-content: space-between; }
}

/* =========================================
   HERO (HOME PAGE)
   ========================================= */

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr);
  align-items: center;
  gap: 2.4rem;
  padding: 4.2rem 7vw 3.2rem;
  background: radial-gradient(circle at top left, #f1e9ff 0%, #fdfbff 40%, #f7f7ff 100%);
}

.hero-content { max-width: 540px; }

.hero-content h1 {
  font-size: 2.2rem;
  line-height: 1.15;
  color: #1f2933;
  margin-bottom: 0.9rem;
}

.hero-content p {
  font-size: 0.98rem;
  color: #4b5563;
  margin-bottom: 1.6rem;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
}

.hero-image {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-photo {
  width: 100%;
  max-width: 800px; /* bigger hero image */
  border-radius: 26px;
  object-fit: cover;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.24);
  border: 3px solid #e5e7eb;
}

@media (max-width: 1200px) {
  .hero {
    padding: 3.8rem 6vw 3rem;
    gap: 2.2rem;
  }
}

@media (max-width: 768px) {
  .hero {
    grid-template-columns: 1fr;
    padding: 4.6rem 6vw 3.2rem;
    text-align: left;
  }

  .hero-image {
    order: -1;
    margin-bottom: 1.6rem;
  }

  .hero-photo {
    max-width: 100%;
    border-radius: 22px;
  }

  .hero-content h1 { font-size: 2rem; }
  .hero-content p { font-size: 0.96rem; }
}

@media (max-width: 430px) {
  .hero { padding: 4.2rem 5vw 2.8rem; }
  .hero-content h1 { font-size: 1.85rem; }
}

/* =========================================
   BUTTONS
   ========================================= */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition:
    transform 0.12s ease,
    box-shadow 0.12s ease,
    background 0.12s ease,
    color 0.12s ease;
}

.btn.primary {
  background: linear-gradient(135deg, var(--purple-deep), var(--orange-accent));
  color: #ffffff;
  box-shadow: var(--shadow-soft);
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.22);
  filter: brightness(1.08) saturate(1.15);
  box-shadow:
    0 22px 45px rgba(15, 23, 42, 0.22),
    0 0 0 4px rgba(255, 138, 61, 0.16),
    0 10px 28px rgba(255, 138, 61, 0.25);
}

.btn.ghost {
  background: #ffffff;
  color: var(--purple-deep);
  border-color: rgba(148, 163, 184, 0.7);
}

.btn.ghost:hover { background: var(--bg-accent); }
/* =========================================
   HERO CTA STRIP (chips)
   ========================================= */

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.1rem;
}

.cta-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;

  padding: 0.55rem 0.9rem;
  border-radius: 999px;

  background: rgba(43, 15, 75, 0.06); /* soft purple tint */
  border: 1px solid rgba(43, 15, 75, 0.18);

  color: #1f0a33; /* deep rich purple */
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;

  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.cta-chip:hover {
  transform: translateY(-1px);
  background: rgba(43, 15, 75, 0.1);
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.12);
}

.cta-chip:focus-visible {
  outline: 2px solid #ff8a3d;
  outline-offset: 3px;
}

/* Mobile: keep chips readable and tidy */
@media (max-width: 768px) {
  .hero-cta {
    gap: 0.6rem;
  }

  .cta-chip {
    font-size: 0.9rem;
    padding: 0.5rem 0.85rem;
  }
}
/* =========================================
   TRUST & CREDIBILITY STRIP (REFINED)
   ========================================= */

.trust-strip {
  max-width: 1120px;
  width: min(1120px, 100% - 14vw); /* ✅ THIS IS THE KEY LINE */
  margin: 0 auto 3.5rem;
  padding: 1.4rem 2rem;

  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;

  background: #ffffff;
  border-radius: 20px;
  box-shadow: 0 14px 32px rgba(15, 23, 42, 0.1);
}

.trust-item {
  display: flex;
  align-items: flex-start;
  gap: 0.9rem;
  color: #1f0a33;
}

.trust-icon {
  font-size: 1.35rem;
  line-height: 1;
  margin-top: 0.15rem;
}

.trust-item strong {
  display: block;
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 0.15rem;
}

.trust-item span {
  font-size: 0.85rem;
  color: #6b7280;
  line-height: 1.4;
}

/* Tablet */
@media (max-width: 900px) {
  .trust-strip {
    grid-template-columns: repeat(2, 1fr);
    padding: 1.4rem 1.6rem;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .trust-strip {
    grid-template-columns: 1fr;
    padding: 1.3rem 1.4rem;
  }
}

/* =========================================
   GENERIC SECTIONS
   ========================================= */

.section { padding: 3.5rem 7vw; }

.section-title {
  font-size: 1.8rem;
  margin-bottom: 0.3rem;
  color: var(--purple-dark);
}

.section-subtitle {
  color: var(--text-muted);
  margin-bottom: 2rem;
}

.section-text {
  max-width: 42rem;
  color: var(--text-muted);
}

@media (max-width: 900px) {
  .section { padding-inline: 5vw; }
}

/* =========================================
   SERVICES SECTION + CARDS
   ========================================= */

#services {
  position: relative;
  background: linear-gradient(to bottom, #f8f5ff 0%, #f1e2ff 40%, #fef7ff 70%, #ffffff 100%);
}

#services::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(91, 31, 168, 0.14) 0%, transparent 35%, transparent 65%, rgba(255, 138, 61, 0.14) 100%);
  pointer-events: none;
  z-index: 0;
}

#services > * { position: relative; z-index: 1; }

.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  border: 1px solid rgba(148, 163, 184, 0.35);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.6rem;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease, background 0.18s ease;
}

.card .service-icon {
  width: 42px;
  height: 42px;
  object-fit: contain;
  margin-bottom: 0.5rem;
}

.card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.2rem;
  color: #111827;
}

.card p {
  font-size: 0.97rem;
  color: var(--text-muted);
  line-height: 1.5;
}

.card:hover {
  transform: translateY(-4px);
  border-color: #7c3aed;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.16);
  background: radial-gradient(circle at top left, rgba(124, 58, 237, 0.07), #ffffff);
  filter: drop-shadow(0 10px 18px rgba(124, 58, 237, 0.18));
}

.card.highlight {
  border-color: #ff8a3d;
  box-shadow: 0 20px 40px rgba(248, 113, 38, 0.18);
}

.card.highlight:hover {
  background: radial-gradient(circle at top left, rgba(248, 113, 38, 0.08), #ffffff);
}

/* Scroll-in animation states (used by JS) */
.card.hidden { opacity: 0; transform: translateY(40px); }
.card.hidden.from-left { transform: translateX(-140px) translateY(40px); }
.card.hidden.from-right { transform: translateX(140px) translateY(40px); }
.card.show { opacity: 1; transform: translateX(0) translateY(0); }

.card.hidden,
.card.hidden.from-left,
.card.hidden.from-right,
.card.show {
  transition:
    transform 1.05s ease,
    opacity 1.05s ease,
    box-shadow 0.6s ease,
    border-color 0.6s ease,
    background 0.6s ease;
}

@media (max-width: 1024px) {
  .cards { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.6rem; }
  .card { padding: 1.5rem 1.3rem; }
}

@media (max-width: 640px) {
  .cards { grid-template-columns: 1fr; gap: 1.3rem; }
  .card { padding: 1.4rem 1.1rem; border-radius: 16px; }
  .card h3 { font-size: 1rem; }
  .card p { font-size: 0.93rem; }
}

/* =========================================
   TESTIMONIALS
   ========================================= */

.section.accent#testimonials,
#testimonials.section.accent {
  background: transparent;
  padding: 4rem 0;
}

#testimonials .section-title {
  text-align: center;
  margin-bottom: 1.5rem;
  color: var(--purple-dark);
}

#testimonials .testimonials {
  max-width: 900px;
  margin: 0 auto;
  background: #f7e9ff;
  border-radius: 18px;
  padding: 32px 30px;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  gap: 22px;
}

#testimonials .t-card {
  padding: 12px 20px;
  font-size: 1rem;
  line-height: 1.55;
  color: #4a345e;
  text-align: center;
  background: #fbf9ff;
  border-radius: 14px;
}

#testimonials .t-card span {
  display: block;
  margin-top: 8px;
  font-weight: 600;
  color: #6b4a82;
}

@media (max-width: 768px) {
  #testimonials .testimonials { max-width: 90%; padding: 2rem 1.2rem; }
  #testimonials .t-card { padding: 1.1rem 1.4rem; }
}

/* =========================================
   CONTACT SECTION – PURPLE BLOCK
   ========================================= */

.section.accent {
  background: #2b0f4b;
  color: #f9f5ff;
  padding: 3rem 2rem;
  border-radius: 22px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.25);
  margin-top: 3rem;
  margin-bottom: 3rem;
}

.section.accent h2,
.section.accent p { color: #ffffff; }

.section.accent a {
  color: #ffffff;
  text-decoration: none;
}

.section.accent a:hover,
.section.accent a:focus-visible {
  text-decoration: underline;
}

#contact.section.accent { text-align: center; }
#contact.section.accent .section-title,
#contact.section.accent .section-text,
#contact.section.accent p {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
#contact.section.accent strong { color: #ffffff !important; }

/* =========================================
   STICKY "BOOK APPOINTMENT" BUTTON
   ========================================= */

.sticky-book-btn {
  position: fixed;
  bottom: 2.5rem;
  right: 2.5rem;
  z-index: 900;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  border: none;
  text-decoration: none;
  background: linear-gradient(135deg, #5b1fa8, #ff7a2f);
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  opacity: 0;
  transform: translateY(24px);
  pointer-events: none;
  transition: opacity 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease, filter 0.25s ease;
}

.sticky-book-btn::before { content: "📅"; font-size: 1.1rem; }

.sticky-book-btn--visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.sticky-book-btn:hover,
.sticky-book-btn:focus-visible {
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.35);
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.sticky-book-btn:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
}

/* =========================================
   FLOATING WHATSAPP / CALL BUTTONS
   ========================================= */

.floating-contact {
  position: fixed;
  bottom: 1.5rem;
  left: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  z-index: 9999;
}

.fc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  font-size: 0.95rem;
  font-weight: 600;
  border: none;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
  transition: transform 0.18s ease, box-shadow 0.18s ease, opacity 0.18s ease;
  color: #ffffff;
}

.fc-whatsapp { background: linear-gradient(135deg, #00c853, #00e676); }
.fc-call { background: linear-gradient(135deg, #ff6a00, #ff9a3d); }

.fc-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.3);
  opacity: 0.95;
}

@media (max-width: 768px) {
  .floating-contact { bottom: 1rem; left: 1rem; }
  .fc-btn { padding: 0.55rem 0.9rem; font-size: 0.85rem; }
}

/* =========================================
   ABOUT / PATIENT INFO / PROFILE / FOOTER
   (kept exactly as your existing rules)
   ========================================= */

/* ---- ABOUT PAGE ---- */
body.about-page { background: var(--bg-main); }

.about-main {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 7vw 4rem;
}

.about-row {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
  gap: 2.5rem;
  align-items: center;
  margin-bottom: 3.2rem;
}

.about-text h1,
.about-text h2 {
  color: var(--purple-dark);
  margin-bottom: 0.7rem;
  text-align: left;
}

.about-text p {
  color: var(--text-muted);
  max-width: 56rem;
  text-align: left;
}

.about-image img {
  width: 100%;
  max-width: 850px;
  height: auto;
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.18);
}
/* Force vertical (portrait) image without distortion */
.about-image img.about-image-portrait {
  aspect-ratio: 3 / 4;   /* portrait ratio */
  object-fit: cover;     /* keeps it natural */
}


.about-values-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.2rem;
}

.about-value-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.1rem 1rem;
  border: 1px solid var(--border-soft);
  text-align: left;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.06);
  font-size: 0.95rem;
  color: var(--text-muted);
}

.about-value-card h3 {
  margin-bottom: 0.35rem;
  color: var(--purple-deep);
}

.about-section { margin-bottom: 3rem; }

.about-section h2 {
  font-size: 1.6rem;
  color: var(--purple-dark);
  margin-bottom: 0.75rem;
}

.about-section p {
  color: var(--text-muted);
  max-width: 56rem;
}

.about-photo-strip {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
  margin-top: 1.5rem;
}

.about-photo-strip img {
  width: 100%;
  height: 210px;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.14);
}

.about-trust-card {
  margin-top: 3rem;
  margin-bottom: 3.5rem;
  background: #2b0f4b;
  color: #f9f5ff;
  border-radius: 22px;
  padding: 1.9rem 1.7rem;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.45);
}

.about-trust-card h2 { color: #ffffff; margin-bottom: 0.9rem; }
.about-trust-card p { color: #e5d7ff; max-width: 52rem; }

@media (max-width: 960px) {
  .about-main { padding: 0 5vw 3rem; }
  .about-row { grid-template-columns: 1fr; }
  .about-image { order: -1; }
  .about-photo-strip { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  .about-photo-strip { grid-template-columns: 1fr; }
  .about-values-grid { grid-template-columns: 1fr; }
  .about-text h1,
  .about-text h2 { font-size: 1.9rem; }
}

/* ---- PATIENT INFO ---- */
.info-main {
  max-width: 1100px;
  margin: 0 auto 3rem auto;
  padding: 0 7vw;
}

.info-card-full { margin-bottom: 3rem; }

/* ---- PROFILE ---- */
.profile-page { background: var(--bg-main); }

.profile-hero {
  padding: 6rem 7vw 3rem;
  background: #f7f7ff;
  display: flex;
  justify-content: center;
}

.profile-video {
  width: 100%;
  max-width: 960px;
  border-radius: 24px;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.28);
  border: 3px solid #e5e7eb;
  background: #000;
  object-fit: cover;
}

.profile-section {
  max-width: 1100px;
  margin: 0 auto 3.5rem;
  padding: 0 7vw;
}

.profile-section h2 {
  margin-bottom: 1.2rem;
  font-size: 1.6rem;
  color: var(--purple-dark);
}

.profile-overview p {
  max-width: 48rem;
  color: var(--text-muted);
  margin-bottom: 1.8rem;
}

.profile-overview-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.overview-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.2rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.overview-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--purple-deep);
}

.overview-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
}

.profile-news .news-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.news-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.news-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
  color: var(--purple-deep);
}

.news-card p {
  font-size: 0.95rem;
  color: var(--text-muted);
  margin-bottom: 0.7rem;
}

.news-tag {
  display: inline-block;
  font-size: 0.78rem;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(168, 85, 247, 0.08);
  color: var(--purple-deep);
}

.profile-silhouette {
  position: relative;
  padding-top: 3.2rem;
  padding-bottom: 3.2rem;
}

.profile-silhouette-inner { position: relative; z-index: 1; }

.profile-silhouette::before {
  content: "";
  position: absolute;
  inset: 0;
  margin-inline: 3vw;
  border-radius: 26px;
  background-image: url("../images/silhouette-family.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  opacity: 0.14;
  pointer-events: none;
}

.silhouette-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.silhouette-card {
  background: rgba(255, 255, 255, 0.92);
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  box-shadow: 0 12px 30px rgba(15, 23, 42, 0.18);
}

.profile-trust .trust-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.2rem;
}

.trust-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.4rem 1.3rem;
  border: 1px solid var(--border-soft);
  text-align: center;
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

.trust-number {
  display: block;
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--purple-deep);
  margin-bottom: 0.4rem;
}

@media (max-width: 1024px) {
  .profile-hero { padding: 5.2rem 5vw 2.6rem; }
  .profile-video { max-width: 880px; }
}

@media (max-width: 900px) {
  .profile-hero { margin: 0 4vw 2.5rem; }
  .profile-overview-grid,
  .profile-news .news-grid,
  .silhouette-grid,
  .profile-trust .trust-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .profile-hero { padding: 4.8rem 4vw 2.3rem; }
  .profile-video { max-width: 100%; border-radius: 18px; box-shadow: 0 18px 35px rgba(15, 23, 42, 0.24); }
  .profile-section { padding: 0 5vw; margin-bottom: 2.5rem; }
}

@media (max-width: 430px) {
  .profile-hero { padding: 4.4rem 4vw 2rem; }
}

/* ---- FOOTER ---- */
.site-footer {
  background: #2b0f4b;
  color: #ffffff;
  padding: 3rem 0 2rem;
  margin-top: 4rem;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4vw;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 3rem;
  flex-wrap: wrap;
}

.footer-column {
  flex: 1;
  min-width: 220px;
  text-align: center;
}

.footer-column h4,
.footer-social h4 {
  font-size: 1.05rem;
  margin-bottom: 0.8rem;
  color: #ff8a3d;
}

.footer-contact p {
  font-size: 0.95rem;
  margin-bottom: 0.3rem;
  color: #e5e7eb;
}

.footer-contact p,
.footer-contact a {
  color: #ffffff !important;
  text-decoration: none;
}

.footer-links a {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.35rem;
  color: #e5e7eb;
  text-decoration: none;
}

.footer-links a:hover { color: #ffffff; }

.footer-social-icons {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.75rem;
  margin-top: 10px;
}

.footer-social-icons a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(148, 163, 184, 0.5);
  transition: transform 0.18s ease, background 0.18s ease, border-color 0.18s ease;
}

.footer-social-icons a img {
  width: 18px;
  height: 18px;
  object-fit: contain;
}

.footer-social-icons a:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.16);
  border-color: #ff8a3d;
}

.footer-bottom {
  margin-top: 1rem;
  text-align: center;
}

.partners-label {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 1rem;
  color: #e5e7eb;
}

.partners-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.6rem;
}

.partner-logo {
  height: 38px;
  object-fit: contain;
  opacity: 0.9;
  transition: transform 0.2s ease, opacity 0.2s ease;
}

.partner-logo:hover {
  transform: scale(1.06);
  opacity: 1;
}

.footer-copy {
  text-align: center;
  color: #9ca3af;
  font-size: 0.9rem;
  margin-top: 1.5rem;
  margin-bottom: 2rem;
  opacity: 0.7;
}

@media (max-width: 900px) {
  .footer-top { flex-direction: column; gap: 2rem; }
  .footer-inner { padding: 0 5vw; }
}
/* =========================================
   NAVBAR POLISH – SHADOW & SEPARATION
   ========================================= */

header.navbar {
  box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}
/* =========================================
   NAVBAR ACTIVE LINK STATE
   ========================================= */

.nav-links a.active {
  color: #1f0a33;
  font-weight: 700;
}

.nav-links a.active::after {
  width: 100%;
}
.trust-strip {
  width: min(1200px, 100% - 10vw); /* wider */
  margin: 0 auto 3rem;

  padding: 0.95rem 1.6rem; /* thinner vertically */
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  align-items: center; /* vertically centers content */

  gap: 1.4rem;

  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);

  border-radius: 18px;
  border: 1px solid rgba(43, 15, 75, 0.10);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.08);
}
/* =========================================================
   ABOUT PAGE – WIDER, MORE PROFESSIONAL LAYOUT (OVERRIDES)
   Paste at the VERY BOTTOM of style.css
   ========================================================= */

/* Let About page use more of the screen */
body.about-page .about-main {
  max-width: 1280px;        /* wider than before */
  margin: 0 auto;
  padding: 0 5vw 4rem;      /* slightly less “boxed in” */
}

/* Make each row feel more spacious and left-aligned */
body.about-page .about-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr); /* image bigger than text */
  gap: 3rem;
  align-items: center;
  margin-bottom: 4rem;
}

/* When image is on the left, keep balance (same sizing) */
body.about-page .about-row:nth-of-type(3) {
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
}

/* Make images larger, cleaner, and consistent */
body.about-page .about-image img {
  width: 100%;
  height: 420px;            /* makes them feel “premium” */
  max-width: none;          /* remove the small cap */
  border-radius: 22px;
  object-fit: cover;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.16);
}

/* Improve text layout so it uses space better */
body.about-page .about-text p {
  max-width: 65ch;          /* comfortable reading width */
}

/* Values grid: give it more room */
body.about-page .about-values-grid {
  gap: 1.2rem;
}

/* “Care in action” strip: bigger images */
body.about-page .about-photo-strip {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.2rem;
}

body.about-page .about-photo-strip img {
  height: 240px;            /* bigger than before */
  border-radius: 18px;
}

/* Tablet */
@media (max-width: 960px) {
  body.about-page .about-row,
  body.about-page .about-row:nth-of-type(3) {
    grid-template-columns: 1fr;
    gap: 1.8rem;
  }

  body.about-page .about-image img {
    height: 320px;
  }

  body.about-page .about-photo-strip {
    grid-template-columns: 1fr 1fr;
  }
}

/* Phones */
@media (max-width: 640px) {
  body.about-page .about-image img {
    height: 260px;
  }

  body.about-page .about-photo-strip {
    grid-template-columns: 1fr;
  }

  body.about-page .about-main {
    padding: 0 6vw 3.2rem;
  }
}
/* Keep nurse + child image portrait and uncropped */
.about-image img.no-crop {
  width: auto;              /* stop stretching */
  max-width: 380px;         /* controls portrait width */
  height: auto;
  object-fit: contain;      /* no cropping */
}
/* =========================================================
   FIX: Nurse + Child image should NOT crop (keep portrait)
   Paste at VERY BOTTOM of style.css
   ========================================================= */
body.about-page .about-image img.no-crop{
  width: 100%;
  height: auto;           /* remove forced height */
  max-height: 520px;      /* keeps it visually consistent */
  object-fit: contain;    /* NO cropping */
  aspect-ratio: auto;     /* remove forced ratio if any */
}
body.about-page .about-image.no-box img.no-crop{
  width: min(560px, 100%);   /* 🔥 BIGGER but still portrait */
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
  display: block;
  margin-inline: auto;
}
/* =========================================
   ABOUT PAGE – TYPOGRAPHY SCALE UP
   ========================================= */

/* Paragraph text */
body.about-page .about-text p,
body.about-page .about-section p,
body.about-page .about-trust-card p {
  font-size: 1.05rem;     /* was ~0.95 */
  line-height: 1.75;
}

/* Main page title */
body.about-page .about-text h1 {
  font-size: 2.4rem;      /* bigger hero heading */
  line-height: 1.2;
}

/* Section headings */
body.about-page .about-text h2,
body.about-page .about-section h2,
body.about-page .about-trust-card h2 {
  font-size: 1.85rem;
  line-height: 1.25;
}

/* Value card text */
body.about-page .about-value-card p {
  font-size: 1rem;
  line-height: 1.65;
}

body.about-page .about-value-card h3 {
  font-size: 1.15rem;
}

/* Mobile fine-tuning */
@media (max-width: 640px) {
  body.about-page .about-text h1 {
    font-size: 2.05rem;
  }

  body.about-page .about-text h2,
  body.about-page .about-section h2 {
    font-size: 1.6rem;
  }

  body.about-page .about-text p,
  body.about-page .about-section p {
    font-size: 1rem;
  }
}
/* =========================================
   ABOUT PAGE – PERFECT BALANCE (PHOTOS ↕ PURPLE CARD ↕ FOOTER)
   Paste at VERY BOTTOM of style.css
   ========================================= */

/* Space AFTER the 3 photos */
body.about-page .about-photo-strip{
  margin-bottom: 3.2rem;
}

/* Purple card spacing */
body.about-page .about-trust-card{
  margin-top: 0;
  margin-bottom: 3.2rem;  /* matches the space above for an “even” feel */
}

/* Remove the footer’s global top gap ONLY on About page */
body.about-page .site-footer{
  margin-top: 0;
  padding-top: 3.2rem;    /* adds controlled space below the purple card */
}
/* =========================================
   ABOUT PAGE – CARE IN ACTION PHOTOS (BIGGER)
   Paste BELOW your current bottom block
   ========================================= */

body.about-page .about-photo-strip img{
  height: 340px;     /* increase size */
}

/* Tablet */
@media (max-width: 960px){
  body.about-page .about-photo-strip img{
    height: 300px;
  }
}

/* Phones */
@media (max-width: 640px){
  body.about-page .about-photo-strip img{
    height: 260px;
  }
}
.footer-contact a {
  color: #ffffff;
  text-decoration: none;
}

.footer-contact a:hover,
.footer-contact a:focus-visible {
  text-decoration: underline;
}
.emergency-box a {
  color: #2b0f4b;          /* same medical purple */
  text-decoration: none;
}

.emergency-box a:hover,
.emergency-box a:focus-visible {
  text-decoration: underline;
}
/* Emergency box text should be white */
.emergency-box p {
  color: #ffffff;
}

/* Keep phone links white as well */
.emergency-box a {
  color: #ffffff;
  text-decoration: none;
}

.emergency-box a:hover {
  text-decoration: underline;
}
/* =========================================
   FOOTER – MOBILE CENTER ALIGN (ALL PAGES)
   Paste at VERY BOTTOM of style.css
   ========================================= */

@media (max-width: 768px) {

  /* Make the top row stack and center */
  .site-footer .footer-top{
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.6rem;
  }

  /* Each column becomes a centered block */
  .site-footer .footer-column{
    width: 100%;
    max-width: 420px;   /* keeps it nicely centered, not too wide */
    margin: 0 auto;
  }

  /* Center the social icons row */
  .site-footer .footer-social-icons{
    display: flex;
    justify-content: center;
    gap: 0.9rem;
  }

  /* Center contact + links nicely */
  .site-footer .footer-contact p,
  .site-footer .footer-links a{
    display: block;
    text-align: center;
  }

  /* Center insurance partner label + logos */
  .site-footer .footer-bottom{
    text-align: center;
  }

  .site-footer .partners-logos{
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.8rem;
  }
}
/* =========================================================
   PREMIUM POLISH — ULTRA-COMPACT SPACING
   (Very tight layout for high info density)
   ========================================================= */

/* 1. GLOBAL TYPE & BASE SPACING */
body {
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  line-height: 1.45;
  color: var(--text-main, #0f172a);
}

/* Ultra-compact section spacing */
section {
  padding-top: 1.75rem;
  padding-bottom: 1.75rem;
}

/* Title spacing */
.section-title {
  margin-bottom: 1rem;
  letter-spacing: -0.2px;
}

/* Headings */
h1, h2, h3 {
  margin-bottom: 0.5rem;
  line-height: 1.15;
}

/* Paragraphs */
p {
  margin-bottom: 0.65rem;
  font-size: 0.97rem;
}

/* 2. NAVBAR */
.navbar {
  padding: 0.5rem 1rem;
}

.nav-links {
  gap: 0.5rem;
}

.nav-links a {
  padding: 0.3rem 0.5rem;
  font-size: 0.95rem;
}

/* 3. BUTTONS */
.btn {
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
}

.btn.primary:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.22);
  filter: brightness(1.08) saturate(1.15);
}

/* 4. HERO SECTION */
.hero {
  padding: 2rem 1rem;
  border-radius: 18px;
}

.hero-content {
  gap: 0.75rem;
}

.hero-photo {
  box-shadow: 0 16px 44px rgba(15, 23, 42, 0.14);
}

/* 5. SERVICE CARDS */
.card {
  padding: 1.25rem;
  border-radius: 0.65rem;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.07);
}

.card .service-icon {
  margin-bottom: 0.5rem;
}

/* Grid spacing tighter */
.cards-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

/* 6. TESTIMONIALS */
#testimonials .testimonials {
  padding: 2rem 1rem;
}

#testimonials .t-card {
  padding: 1.25rem;
  margin-bottom: 1.25rem;
}

/* 7. CTA SECTION */
.section.accent {
  padding: 2rem 1rem;
  border-radius: 0.85rem;
}

/* 8. FOOTER */
.site-footer {
  padding: 1.5rem 1rem;
}

.footer-links a,
.footer-contact a {
  padding: 0.15rem 0;
  font-size: 0.9rem;
}

.footer-social-icons a {
  padding: 0.35rem;
  margin-right: 0.35rem;
  font-size: 0.9rem;
}

/* =========================================
   MAP SECTION (INDEX)
   ========================================= */

.map-section {
  margin-bottom: 3rem;
}

.map-card {
  background: #ffffff;
  border-radius: 18px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.12);
  overflow: hidden;
  margin-top: 1.2rem;
}

.map-embed {
  width: 100%;
  height: 360px;
  border: 0;
  display: block;
}

.map-actions {
  margin-top: 1.2rem;
}

@media (max-width: 768px) {
  .map-embed {
    height: 300px;
  }
}

/* =========================================
   FAQ SECTION
   ========================================= */

.faq-section {
  margin-top: 2.5rem;
}

.faq-list {
  display: grid;
  gap: 0.9rem;
  margin-top: 1.2rem;
}

.faq-item {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid var(--border-soft);
  box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
  padding: 0.95rem 1.1rem;
}

.faq-item summary {
  cursor: pointer;
  font-weight: 600;
  color: var(--purple-deep);
}

.faq-item p {
  margin-top: 0.6rem;
  color: var(--text-muted);
}

/* =========================================
   SERVICES LANDING PAGE
   ========================================= */

body.services-page {
  background: var(--bg-main);
}

.services-hero {
  padding: 4rem 7vw 2.5rem;
  background: radial-gradient(circle at top left, #f1e9ff 0%, #fdfbff 42%, #f7f7ff 100%);
  text-align: left;
}

.services-hero h1 {
  font-size: 2.2rem;
  color: var(--purple-dark);
  margin-bottom: 0.8rem;
}

.services-hero p {
  max-width: 52rem;
  color: var(--text-muted);
}

.service-detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.6rem;
}

.service-detail-card {
  background: #ffffff;
  border-radius: 18px;
  padding: 1.6rem 1.5rem;
  border: 1px solid var(--border-soft);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.08);
  scroll-margin-top: 120px;
}

.service-detail-card h3 {
  color: var(--purple-deep);
  margin-bottom: 0.6rem;
  font-size: 1.1rem;
}

.service-detail-card p {
  color: var(--text-muted);
  margin-bottom: 0.6rem;
}

.service-detail-card ul {
  padding-left: 1.1rem;
  color: var(--text-muted);
}

.service-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.75rem;
  font-weight: 600;
  color: var(--purple-deep);
  text-decoration: none;
}

.service-link:hover,
.service-link:focus-visible {
  text-decoration: underline;
}

@media (max-width: 900px) {
  .service-detail-grid {
    grid-template-columns: 1fr;
  }
}
