/* Naruvi Hospitals — demo site (theme-matched to naruvihospitals.com)
   Palette pulled from the live site:
     cream bg     #fff9f9
     deep ink     #0e3745
     brand pink   #e780a9    (logo + "care" accent)
     pink dark    #c95f8c
     deep navy    #13467b    (footer / strong actions)
     info blue    #017fba
*/
:root {
  --bg:          #fff9f9;
  --bg-soft:     #fdeff3;
  --ink:         #0e3745;
  --ink-soft:    #4a6a76;
  --muted:       #6b7f87;
  --border:      #f1d9e2;
  --pink:        #e780a9;
  --pink-dark:   #c95f8c;
  --pink-tint:   #fce5ee;
  --navy:        #13467b;
  --navy-dark:   #0c2f56;
  --blue:        #017fba;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  font-family: 'Manrope', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  color: var(--ink);
  background: var(--bg);
  scroll-behavior: smooth;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--navy); text-decoration: none; }
a:hover { color: var(--pink-dark); }

.container { max-width: 1180px; margin: 0 auto; padding: 0 24px; }

/* Top bar — pink emergency strip like the real site's accents */
.topbar {
  background: var(--pink);
  color: #fff;
  font-size: 13px;
  padding: 9px 0;
  letter-spacing: 0.01em;
}
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.topbar a { color: #fff; }
.topbar a:hover { color: #fff; opacity: 0.9; }
.topbar .emergency { font-weight: 700; }
.topbar .emergency::before { content: "⚕ "; opacity: 0.9; }

/* Header */
header {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 50;
  box-shadow: 0 1px 0 rgba(231,128,169,0.08);
}
header .container {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 18px; padding-bottom: 18px; gap: 24px;
}

/* Logo — 4-petal pink mark + wordmark in navy */
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 44px; height: 44px;
  display: inline-flex; align-items: center; justify-content: center;
  color: var(--pink);
}
.logo-mark svg { width: 100%; height: 100%; }
.logo-text {
  font-size: 22px; font-weight: 700; color: var(--navy); letter-spacing: -0.01em;
  font-family: 'Manrope', sans-serif;
  line-height: 1.05;
}
.logo-text small {
  display: block;
  font-size: 10px; font-weight: 600; color: var(--pink); letter-spacing: 0.18em; text-transform: uppercase;
  margin-top: 4px;
}

nav ul { display: flex; gap: 28px; list-style: none; margin: 0; padding: 0; }
nav a { color: var(--ink); font-weight: 600; font-size: 14px; }
nav a:hover { color: var(--pink); }

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 14px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.01em;
}
.btn-primary {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 6px 16px rgba(231,128,169,0.35);
}
.btn-primary:hover { background: var(--pink-dark); color: #fff; transform: translateY(-1px); box-shadow: 0 8px 20px rgba(231,128,169,0.45); }
.btn-outline {
  background: transparent; color: var(--navy);
  border: 1.5px solid var(--navy);
}
.btn-outline:hover { background: var(--navy); color: #fff; }

/* Hero — cream background, big navy headline with pink accent word, soft petal art */
.hero {
  background: var(--bg);
  padding: 88px 0 96px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  right: -180px; top: -160px;
  width: 520px; height: 520px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(231,128,169,0.18), transparent 70%);
  pointer-events: none;
}
.hero::after {
  content: "";
  position: absolute;
  left: -120px; bottom: -120px;
  width: 360px; height: 360px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(19,70,123,0.08), transparent 70%);
  pointer-events: none;
}
.hero .container { position: relative; display: grid; grid-template-columns: 1.05fr 1fr; gap: 56px; align-items: center; }
.hero h1 {
  font-size: 56px; font-weight: 700; line-height: 1.08;
  margin: 18px 0 22px; letter-spacing: -0.025em;
  color: var(--ink);
}
.hero h1 .accent { color: var(--pink); font-style: italic; font-weight: 700; }
.hero p { font-size: 17px; color: var(--ink-soft); margin: 0 0 32px; max-width: 540px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* Hero visual — soft pink panel with 4-petal motif (mirrors the real logo) */
.hero-visual {
  position: relative;
  aspect-ratio: 5/4;
  background: linear-gradient(135deg, var(--pink-tint) 0%, #fbeaf0 100%);
  border-radius: 28px;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 20px 50px rgba(231,128,169,0.18);
  overflow: hidden;
}
.hero-visual svg.petals { width: 60%; height: auto; opacity: 0.9; }
.hero-visual .badge {
  position: absolute; bottom: 22px; left: 22px;
  background: #fff; color: var(--navy);
  padding: 10px 16px; border-radius: 999px;
  font-size: 13px; font-weight: 700;
  box-shadow: 0 6px 18px rgba(14,55,69,0.12);
}
.hero-visual .badge::before { content: "● "; color: #2ecc71; }

/* Stats strip — navy on cream */
.stats {
  background: #fff;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  padding: 36px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; text-align: center; }
.stat-num { font-size: 36px; font-weight: 800; color: var(--navy); letter-spacing: -0.02em; }
.stat-label { font-size: 12px; color: var(--muted); text-transform: uppercase; letter-spacing: 0.12em; margin-top: 6px; font-weight: 600; }

/* Sections */
section { padding: 88px 0; }
.section-head { text-align: center; max-width: 680px; margin: 0 auto 56px; }
.section-eyebrow {
  color: var(--pink); font-size: 12px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.18em;
}
.section-head h2 {
  font-size: 40px; font-weight: 700; margin: 10px 0 14px;
  letter-spacing: -0.025em; color: var(--ink);
}
.section-head h2 .accent { color: var(--pink); font-style: italic; }
.section-head p { color: var(--ink-soft); font-size: 16px; }

/* Specialties grid */
.specialties { background: var(--bg); }
.specialty-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.specialty-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: 28px;
  transition: all 0.2s;
}
.specialty-card:hover {
  border-color: var(--pink);
  transform: translateY(-3px);
  box-shadow: 0 12px 28px rgba(231,128,169,0.15);
}
.specialty-icon {
  width: 54px; height: 54px;
  background: var(--pink-tint);
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  margin-bottom: 18px;
}
.specialty-card h3 { font-size: 19px; margin: 0 0 8px; font-weight: 700; color: var(--navy); }
.specialty-card p { color: var(--ink-soft); font-size: 14px; margin: 0; }

/* Doctors */
.doctors { background: #fff; }
.doctor-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }
.doctor-card {
  background: var(--bg);
  border-radius: 18px;
  padding: 28px 20px;
  text-align: center;
  border: 1px solid var(--border);
  transition: all 0.2s;
}
.doctor-card:hover { border-color: var(--pink); transform: translateY(-2px); }
.doctor-photo {
  width: 96px; height: 96px;
  border-radius: 50%;
  margin: 0 auto 16px;
  background: linear-gradient(135deg, var(--pink-tint), #fbeaf0);
  display: flex; align-items: center; justify-content: center;
  font-size: 38px;
  border: 3px solid #fff;
  box-shadow: 0 4px 12px rgba(231,128,169,0.18);
}
.doctor-card h4 { font-size: 16px; margin: 0 0 4px; font-weight: 700; color: var(--navy); }
.doctor-card .specialty { font-size: 13px; color: var(--pink); font-weight: 700; }
.doctor-card .quals { font-size: 12px; color: var(--muted); margin-top: 6px; }

/* CTA — navy gradient with pink button */
.cta {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: #fff;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta::before {
  content: "";
  position: absolute; right: -100px; top: -100px;
  width: 360px; height: 360px; border-radius: 50%;
  background: radial-gradient(circle, rgba(231,128,169,0.25), transparent 70%);
}
.cta .container { position: relative; }
.cta h2 { font-size: 38px; margin: 0 0 16px; color: #fff; letter-spacing: -0.025em; }
.cta h2 .accent { color: var(--pink); font-style: italic; }
.cta p { font-size: 17px; opacity: 0.9; margin: 0 0 28px; }
.cta .btn { background: var(--pink); color: #fff; box-shadow: 0 8px 22px rgba(231,128,169,0.4); }
.cta .btn:hover { background: var(--pink-dark); color: #fff; }

/* Footer — deep navy like the real site */
footer {
  background: var(--navy-dark);
  color: #c4d2e3;
  padding: 64px 0 28px;
}
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
footer h5 { color: #fff; font-size: 13px; text-transform: uppercase; letter-spacing: 0.12em; margin: 0 0 18px; font-weight: 700; }
footer ul { list-style: none; padding: 0; margin: 0; }
footer li { margin-bottom: 10px; font-size: 14px; }
footer a { color: #c4d2e3; }
footer a:hover { color: var(--pink); }
footer .logo-text { color: #fff; }
footer .logo-text small { color: var(--pink); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding-top: 24px; text-align: center;
  font-size: 13px; color: #8ea4be;
}

@media (max-width: 860px) {
  .hero { padding: 56px 0 64px; }
  .hero .container { grid-template-columns: 1fr; }
  .hero h1 { font-size: 38px; }
  .stats-grid, .specialty-grid, .doctor-grid, .footer-grid { grid-template-columns: 1fr 1fr; }
  nav { display: none; }
  header .btn-primary { padding: 9px 16px; font-size: 13px; }
  .section-head h2 { font-size: 30px; }
}
@media (max-width: 480px) {
  .stats-grid, .doctor-grid, .specialty-grid, .footer-grid { grid-template-columns: 1fr; }
  section { padding: 56px 0; }
  .hero h1 { font-size: 32px; }
}

/* === Search bar (mirrors real Naruvi homepage department search) === */
.search-bar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 36px 0 40px;
}
.search-bar label {
  display: block;
  font-size: 26px; font-weight: 700;
  color: var(--ink); letter-spacing: -0.02em;
  margin-bottom: 16px;
}
.search-bar label .accent { color: var(--pink); font-style: italic; }
.search-bar form {
  display: flex; gap: 10px; max-width: 720px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 999px;
  padding: 6px 6px 6px 22px;
  align-items: center;
}
.search-bar input {
  flex: 1; border: 0; background: transparent;
  font: inherit; color: var(--ink);
  font-size: 15px; outline: none;
  padding: 12px 0;
}
.search-bar input::placeholder { color: var(--muted); }
.search-bar form .btn { white-space: nowrap; }
.search-hint { font-size: 13px; color: var(--muted); margin: 14px 0 0; }

/* === Testimonials === */
.testimonials { background: var(--bg-soft); }
.testimonial-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px;
}
.testimonial {
  background: #fff;
  border-radius: 18px;
  padding: 28px;
  margin: 0;
  border: 1px solid var(--border);
  box-shadow: 0 6px 18px rgba(231,128,169,0.06);
}
.testimonial .stars { color: #f5a623; letter-spacing: 2px; font-size: 16px; margin-bottom: 12px; }
.testimonial blockquote {
  margin: 0 0 16px; font-size: 15px; line-height: 1.65;
  color: var(--ink); font-style: italic;
}
.testimonial figcaption {
  font-size: 13px; font-weight: 700; color: var(--navy);
  letter-spacing: 0.02em;
}

/* === International patients band === */
.intl {
  background: linear-gradient(135deg, var(--pink-tint) 0%, #fdeaf2 100%);
  padding: 72px 0;
}
.intl .container { max-width: 820px; text-align: center; }
.intl h2 {
  font-size: 36px; font-weight: 700; margin: 12px 0 18px;
  letter-spacing: -0.025em; color: var(--ink);
}
.intl h2 .accent { color: var(--pink); font-style: italic; }
.intl p {
  color: var(--ink-soft); font-size: 16px; max-width: 640px;
  margin: 0 auto 28px;
}

/* === WhatsApp floating button === */
.wa-fab {
  position: fixed; left: 20px; bottom: 20px;
  width: 56px; height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 22px rgba(37,211,102,0.4);
  z-index: 40;
  transition: transform 0.2s;
}
.wa-fab:hover { transform: scale(1.08); }
.wa-fab svg { display: block; }

@media (max-width: 860px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .search-bar form { flex-direction: column; border-radius: 18px; padding: 14px; align-items: stretch; }
  .search-bar input { padding: 12px 14px; border: 1px solid var(--border); border-radius: 999px; }
  .intl h2 { font-size: 28px; }
  .wa-fab { width: 48px; height: 48px; left: 14px; bottom: 80px; }
  .wa-fab svg { width: 24px; height: 24px; }
}
