/* ============================================================
   Dr. Soumya Ranjan Panda — IVF Specialist Landing Page
   Theme: Warm & Trustworthy (soft rose, cream, deep teal)
   ============================================================ */
:root {
  --bg: #FDFBF7;
  --surface: #FFF5F6;
  --surface-2: #F3EBE6;
  --primary: #0A5C5A;
  --primary-hover: #074644;
  --text: #0A5C5A;
  --text-body: #4A4742;
  --accent: #E8B4B8;
  --border: #E5D9D5;
  --whatsapp: #25D366;
  --whatsapp-dark: #1DA851;
  --radius: 24px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: "Figtree", sans-serif;
  background: var(--bg);
  color: var(--text-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
::selection { background: var(--accent); color: var(--primary); }

h1, h2, h3, .footer-title {
  font-family: "Playfair Display", serif;
  color: var(--text);
  letter-spacing: -0.02em;
  line-height: 1.15;
}
h1 { font-size: clamp(2.4rem, 5vw, 3.9rem); font-weight: 600; }
h1 em, h2 em, .footer-title em { font-style: italic; color: #C4767D; }
h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 600; }
h3 { font-size: 1.25rem; font-weight: 600; margin-bottom: 0.5rem; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
@media (min-width: 768px) { .container { padding: 0 3rem; } }

.section { padding: 5.5rem 0; }
.section-head { max-width: 640px; margin-bottom: 3rem; }
.section-head p { margin-top: 0.75rem; }
.eyebrow {
  display: inline-block; font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.14em;
  color: #C4767D; margin-bottom: 0.75rem;
}
.eyebrow.light { color: var(--accent); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 0.6rem;
  font-family: "Figtree", sans-serif; font-weight: 600; font-size: 1rem;
  padding: 0.9rem 1.7rem; border-radius: 999px; border: none;
  cursor: pointer; text-decoration: none;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn:active { transform: translateY(0); }
.btn-sm { padding: 0.6rem 1.25rem; font-size: 0.9rem; }
.btn-full { width: 100%; justify-content: center; }
.btn-primary { background: var(--primary); color: #FDFBF7; box-shadow: 0 6px 18px rgba(10, 92, 90, 0.25); }
.btn-primary:hover { background: var(--primary-hover); }
.btn-whatsapp { background: var(--whatsapp); color: #fff; box-shadow: 0 6px 18px rgba(37, 211, 102, 0.3); }
.btn-whatsapp:hover { background: var(--whatsapp-dark); }
.btn-outline { background: transparent; color: var(--primary); border: 1.5px solid var(--primary); }
.btn-outline:hover { background: rgba(10, 92, 90, 0.06); }

/* ---------- Nav ---------- */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(253, 251, 247, 0.82);
  backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}
.nav.scrolled { border-color: var(--border); box-shadow: 0 4px 24px rgba(74, 71, 66, 0.06); }
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding-top: 0.8rem; padding-bottom: 0.8rem; }
.nav-logo { display: flex; align-items: center; gap: 0.7rem; text-decoration: none; }
.nav-logo-mark {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--primary); color: var(--accent);
  display: flex; align-items: center; justify-content: center;
  font-family: "Playfair Display", serif; font-weight: 700; font-size: 1rem;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.nav-logo-text strong { color: var(--text); font-size: 0.95rem; }
.nav-logo-text small { color: #C4767D; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 0.08em; }
.nav-links { display: none; gap: 2rem; }
.nav-links a { color: var(--text-body); text-decoration: none; font-weight: 500; font-size: 0.95rem; transition: color 0.2s ease; }
.nav-links a:hover { color: var(--primary); }
@media (min-width: 900px) { .nav-links { display: flex; } }

/* ---------- Hero ---------- */
.hero { padding: 4.5rem 0 5.5rem; overflow: hidden; position: relative; }
.hero::before {
  content: ""; position: absolute; top: -180px; right: -180px;
  width: 520px; height: 520px; border-radius: 50%;
  background: radial-gradient(circle, rgba(232, 180, 184, 0.35), transparent 70%);
}
.hero-grid { display: grid; gap: 3rem; align-items: center; position: relative; }
@media (min-width: 960px) { .hero-grid { grid-template-columns: 1.05fr 0.95fr; gap: 4rem; } }
.badge {
  display: inline-flex; align-items: center; gap: 0.5rem;
  background: var(--surface); border: 1px solid var(--accent);
  color: #B05E66; font-size: 0.82rem; font-weight: 600;
  padding: 0.45rem 1rem; border-radius: 999px; margin-bottom: 1.5rem;
}
.hero-sub { font-size: 1.13rem; margin: 1.4rem 0 2rem; max-width: 540px; }
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; margin-bottom: 2.8rem; }
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stats div { display: flex; flex-direction: column; }
.hero-stats strong { font-family: "Playfair Display", serif; font-size: 1.7rem; color: var(--primary); }
.hero-stats span { font-size: 0.85rem; }
.hero-media { position: relative; }
.hero-img-frame {
  border-radius: var(--radius); overflow: hidden;
  box-shadow: 0 30px 60px rgba(10, 92, 90, 0.18);
  border: 6px solid #fff;
  transform: rotate(1.5deg);
}
.hero-img-frame img { width: 100%; height: 480px; object-fit: cover; display: block; }
.hero-float-card {
  position: absolute; bottom: -18px; left: 8%;
  background: rgba(255, 255, 255, 0.92); backdrop-filter: blur(12px);
  border: 1px solid var(--border); border-radius: 16px;
  padding: 0.8rem 1.2rem; font-size: 0.85rem; font-weight: 600; color: var(--text);
  box-shadow: 0 12px 30px rgba(74, 71, 66, 0.12);
  display: flex; align-items: center; gap: 0.55rem; max-width: 320px;
}
.hero-float-card .dot {
  width: 9px; height: 9px; border-radius: 50%; background: var(--whatsapp);
  flex-shrink: 0; animation: pulse-dot 1.8s infinite;
}
@keyframes pulse-dot {
  0%, 100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
  50% { box-shadow: 0 0 0 7px rgba(37, 211, 102, 0); }
}

/* ---------- Cards / Bento ---------- */
.card {
  background: #fff; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.8rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.card:hover { transform: translateY(-5px); box-shadow: 0 18px 40px rgba(74, 71, 66, 0.1); }
.tint-rose { background: var(--surface); }
.tint-cream { background: var(--surface-2); }
.card-icon {
  width: 54px; height: 54px; border-radius: 16px; margin-bottom: 1rem;
  background: rgba(10, 92, 90, 0.08); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
}
.card-link { color: var(--primary); font-weight: 600; text-decoration: none; display: inline-block; margin-top: 0.8rem; }
.card-link:hover { text-decoration: underline; }

.bento { display: grid; gap: 1.4rem; }
@media (min-width: 760px) {
  .bento { grid-template-columns: repeat(3, 1fr); }
  .b-lg { grid-column: span 2; }
}

/* ---------- About ---------- */
.about { background: var(--surface); }
.about-bento { display: grid; gap: 1.4rem; }
@media (min-width: 900px) {
  .about-bento {
    grid-template-columns: 0.9fr 1.1fr 0.6fr;
    grid-template-areas:
      "photo main statA"
      "photo main statB"
      "photo quote quote";
  }
  .about-photo { grid-area: photo; }
  .about-main { grid-area: main; }
  .stat-a { grid-area: statA; }
  .stat-b { grid-area: statB; }
  .about-quote { grid-area: quote; }
}
.about-photo { border-radius: var(--radius); overflow: hidden; min-height: 340px; box-shadow: 0 20px 45px rgba(10, 92, 90, 0.15); }
.about-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.about-main p { margin: 0.6rem 0 1.2rem; }
.check-list { list-style: none; }
.check-list li { padding-left: 1.7rem; position: relative; margin-bottom: 0.7rem; font-size: 0.97rem; }
.check-list li::before { content: "✓"; position: absolute; left: 0; color: var(--primary); font-weight: 700; }
.check-list .ph { color: #B05E66; font-size: 0.82rem; }
.about-stat { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; }
.about-stat strong { font-family: "Playfair Display", serif; font-size: 2.2rem; color: var(--primary); }
.about-stat span { font-size: 0.88rem; }
.about-quote { background: var(--primary); border: none; }
.about-quote p { font-family: "Playfair Display", serif; font-style: italic; font-size: 1.15rem; color: #FDFBF7; margin-bottom: 0.6rem; }
.about-quote span { color: var(--accent); font-size: 0.88rem; font-weight: 600; }
.about-quote:hover { box-shadow: 0 18px 40px rgba(10, 92, 90, 0.3); }

/* ---------- Treatments ---------- */
.section-cta {
  margin-top: 3rem; text-align: center;
  display: flex; flex-direction: column; align-items: center; gap: 1rem;
}
.section-cta p { font-family: "Playfair Display", serif; font-size: 1.25rem; color: var(--text); }

/* ---------- Why Us ---------- */
.why { background: var(--surface-2); }
.why-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .why-grid { grid-template-columns: 0.95fr 1.05fr; } }
.why-media { border-radius: var(--radius); overflow: hidden; box-shadow: 0 25px 50px rgba(74, 71, 66, 0.15); }
.why-media img { width: 100%; height: 460px; object-fit: cover; display: block; }
.why-list { list-style: none; margin: 1.8rem 0 2.2rem; }
.why-list li { display: flex; flex-direction: column; padding: 1rem 0 1rem 2rem; position: relative; border-bottom: 1px dashed var(--border); }
.why-list li:last-child { border-bottom: none; }
.why-list li::before {
  content: ""; position: absolute; left: 0; top: 1.35rem;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--accent); border: 3px solid #fff; box-shadow: 0 0 0 1.5px var(--accent);
}
.why-list strong { color: var(--text); font-size: 1.05rem; }
.why-list span { font-size: 0.92rem; }

/* ---------- Stories ---------- */
.stories-grid { display: grid; gap: 1.4rem; }
@media (min-width: 860px) { .stories-grid { grid-template-columns: repeat(3, 1fr); } }
.story blockquote { font-size: 0.98rem; font-style: italic; margin-bottom: 1.4rem; }
.story figcaption { display: flex; align-items: center; gap: 0.7rem; font-weight: 600; color: var(--text); font-size: 0.9rem; flex-wrap: wrap; }
.story figcaption em { display: block; width: 100%; margin-left: 3.1rem; margin-top: -0.4rem; font-style: normal; font-weight: 500; color: #B05E66; font-size: 0.78rem; }
.avatar {
  width: 38px; height: 38px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: var(--accent);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700;
}

/* ---------- Lead Form ---------- */
.book { background: var(--primary); }
.book-grid { display: grid; gap: 3rem; align-items: center; }
@media (min-width: 960px) { .book-grid { grid-template-columns: 1fr 1fr; gap: 4.5rem; } }
.book-copy h2 { color: #FDFBF7; margin-bottom: 1rem; }
.book-copy p { color: rgba(253, 251, 247, 0.85); font-size: 1.08rem; }
.book-points { list-style: none; margin-top: 1.8rem; }
.book-points li { color: var(--accent); font-weight: 600; margin-bottom: 0.6rem; }
.lead-form { padding: 2.3rem; border: none; box-shadow: 0 30px 70px rgba(0, 0, 0, 0.25); }
.lead-form:hover { transform: none; }
.lead-form h3 { font-size: 1.5rem; margin-bottom: 1.4rem; }
.lead-form label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--text); margin: 1rem 0 0.35rem; }
.lead-form .opt { font-weight: 400; color: var(--text-body); }
.lead-form input, .lead-form select, .lead-form textarea {
  width: 100%; padding: 0.85rem 1rem;
  border: 1.5px solid var(--border); border-radius: 14px;
  background: var(--surface); font-family: "Figtree", sans-serif; font-size: 0.97rem;
  color: var(--text-body); outline: none; transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.lead-form input:focus, .lead-form select:focus, .lead-form textarea:focus {
  border-color: var(--primary); box-shadow: 0 0 0 3px rgba(10, 92, 90, 0.12); background: #fff;
}
.lead-form textarea { resize: vertical; }
.lead-form button { margin-top: 1.6rem; }
.form-note { font-size: 0.78rem; text-align: center; margin-top: 0.9rem; color: #8a857e; }

/* ---------- Footer ---------- */
.footer { background: #05403E; padding: 5rem 0 2rem; }
.footer-title { color: #FDFBF7; font-size: clamp(2.2rem, 6vw, 4.2rem); margin-bottom: 3rem; }
.footer-grid { display: grid; gap: 2rem; padding-bottom: 3rem; border-bottom: 1px solid rgba(253, 251, 247, 0.15); }
@media (min-width: 760px) { .footer-grid { grid-template-columns: repeat(3, 1fr); } }
.footer h4 { color: var(--accent); font-size: 0.82rem; text-transform: uppercase; letter-spacing: 0.12em; margin-bottom: 0.7rem; }
.footer p { color: rgba(253, 251, 247, 0.8); font-size: 0.95rem; }
.footer a { color: #FDFBF7; text-decoration: underline; text-decoration-color: rgba(232, 180, 184, 0.5); }
.footer a:hover { color: var(--accent); }
.footer-bottom { padding-top: 1.6rem; display: flex; flex-direction: column; gap: 0.4rem; }
.footer-bottom p { font-size: 0.8rem; color: rgba(253, 251, 247, 0.55); }
.disclaimer { max-width: 620px; }

/* ---------- Floating WhatsApp ---------- */
.wa-float {
  position: fixed; bottom: 22px; right: 22px; z-index: 200;
  width: 60px; height: 60px; border-radius: 50%;
  background: var(--whatsapp);
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45);
  animation: wa-pulse 2.2s infinite;
  transition: transform 0.2s ease;
}
.wa-float:hover { transform: scale(1.08); }
@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  50% { box-shadow: 0 10px 26px rgba(37, 211, 102, 0.45), 0 0 0 14px rgba(37, 211, 102, 0); }
}

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity 0.7s ease, transform 0.7s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }
.delay-3 { transition-delay: 0.36s; }
