:root {
  --deep-rose: #6b1440;
  --brand-pink: #c0286b;
  --bright-pink: #e0568f;
  --ivory: #fdf7f9;
  --charcoal: #2a2226;
  --teal: #2c7a7b;
  --gold: #c79a4b;
  --border: #f0dce5;
  --radius: 10px;
}

* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: "Segoe UI", -apple-system, BlinkMacSystemFont, Arial, sans-serif;
  color: var(--charcoal);
  background: var(--ivory);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }

/* Header */
.site-header { background: var(--deep-rose); color: #fff; position: sticky; top: 0; z-index: 50; }
.site-header .container { display: flex; align-items: center; justify-content: space-between; padding-top: 14px; padding-bottom: 14px; }
.logo-link { display: inline-flex; align-items: center; }
.logo-badge {
  display: inline-flex; align-items: center; justify-content: center;
  background: #fff; border-radius: 12px; padding: 6px 14px;
}
.logo-badge img { display: block; height: 46px; width: auto; }
.main-nav { display: flex; gap: 22px; align-items: center; }
.main-nav a { font-size: 15px; opacity: 0.92; }
.main-nav a:hover { opacity: 1; text-decoration: underline; }
.cta-btn { background: var(--bright-pink); color: #3a0a22; padding: 10px 18px; border-radius: 999px; font-weight: 600; font-size: 14px; border: none; cursor: pointer; }
.cta-btn:hover { background: #d1447e; }

/* Hero */
.hero { background: radial-gradient(ellipse at top, #7a1c50 0%, #4a0e30 60%, #2a0619 100%); color: #fff; padding: 90px 0 70px; text-align: center; }
.hero .kicker { text-transform: uppercase; letter-spacing: 2px; font-size: 13px; color: var(--bright-pink); font-weight: 700; margin-bottom: 14px; }
.hero h1 { font-size: 40px; margin: 0 0 16px; font-weight: 700; }
.hero p { font-size: 18px; max-width: 640px; margin: 0 auto 30px; opacity: 0.9; }
.hero .stats { display: flex; flex-wrap: wrap; justify-content: center; gap: 34px; margin-top: 48px; }
.hero .stat { text-align: center; }
.hero .stat .num { font-size: 26px; font-weight: 700; color: var(--bright-pink); }
.hero .stat .lbl { font-size: 12px; opacity: 0.8; max-width: 130px; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.btn-outline { border: 1px solid rgba(255,255,255,0.5); color: #fff; padding: 10px 22px; border-radius: 999px; font-weight: 600; font-size: 14px; }

/* Sections */
section { padding: 64px 0; }
.section-title { font-size: 30px; text-align: center; margin: 0 0 10px; color: var(--deep-rose); }
.section-sub { text-align: center; color: #6b5a61; max-width: 640px; margin: 0 auto 40px; }

.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 22px; }
.card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; transition: transform 0.15s ease, box-shadow 0.15s ease; }
.card:hover { transform: translateY(-3px); box-shadow: 0 10px 24px rgba(107,20,64,0.08); }
.card h3 { margin: 0 0 8px; color: var(--deep-rose); font-size: 18px; }
.card p { color: #5a4a50; font-size: 14.5px; margin: 0 0 12px; }
.card .tag { display: inline-block; font-size: 12px; padding: 3px 10px; border-radius: 999px; background: rgba(192,40,107,0.1); color: var(--brand-pink); margin-bottom: 10px; font-weight: 600; }

.doctor-card { text-align: center; }
.doctor-card .photo { width: 110px; height: 110px; border-radius: 50%; margin: 0 auto 14px; object-fit: cover; background: #f3d9e6; border: 3px solid var(--bright-pink); }
.doctor-card h3 { margin: 0 0 4px; font-size: 16px; color: var(--deep-rose); }
.doctor-card .designation { font-size: 13px; color: var(--teal); font-weight: 600; margin-bottom: 4px; }
.doctor-card .meta { font-size: 12.5px; color: #7a6a70; }

.alt-bg { background: #fff; }
.dark-band { background: var(--deep-rose); color: #fff; }
.dark-band .section-title { color: #fff; }
.dark-band .section-sub { color: rgba(255,255,255,0.75); }

.claim-note { border-left: 3px solid var(--gold); background: #fbf3e3; padding: 14px 18px; font-size: 14px; color: #6b5518; border-radius: 6px; margin: 24px 0; }

.pill-list { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 18px; }
.pill-list span { background: rgba(192,40,107,0.08); border: 1px solid var(--border); color: var(--deep-rose); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: 13px; font-weight: 600; margin-bottom: 6px; color: var(--deep-rose); }
input, select, textarea { width: 100%; padding: 10px 12px; border: 1px solid var(--border); border-radius: 8px; font-size: 14px; font-family: inherit; background: #fff; }
textarea { resize: vertical; min-height: 90px; }
.submit-btn { background: var(--brand-pink); color: #fff; border: none; padding: 12px 26px; border-radius: 999px; font-weight: 700; font-size: 15px; cursor: pointer; }
.submit-btn:hover { background: var(--deep-rose); }
.success-box { background: #fdeaf3; border: 1px solid #f3b7d3; padding: 16px 20px; border-radius: 8px; color: #7a1348; margin-bottom: 20px; }
.error-box { background: #fdecec; border: 1px solid #f3b7b7; padding: 16px 20px; border-radius: 8px; color: #a12a2a; margin-bottom: 20px; }

/* Footer */
.site-footer { background: var(--deep-rose); color: rgba(255,255,255,0.85); padding: 50px 0 0; margin-top: 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; padding-bottom: 34px; }
.site-footer h4 { color: #fff; font-size: 15px; margin-bottom: 12px; }
.site-footer a { display: block; font-size: 13.5px; margin-bottom: 8px; opacity: 0.85; }
.site-footer a:hover { opacity: 1; text-decoration: underline; }
.footer-social { display: flex; gap: 10px; margin-top: 14px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px; border-radius: 50%; background: rgba(255,255,255,0.12);
  margin-bottom: 0;
}
.footer-social a:hover { background: #25D366; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.15); padding: 18px 24px;
  display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 10px;
  font-size: 12.5px; opacity: 0.7; max-width: 1160px; margin: 0 auto;
}
.footer-legal-links a { display: inline; margin: 0 0 0 16px; font-size: 12.5px; }

.mobile-cta { position: fixed; bottom: 0; left: 0; right: 0; background: var(--brand-pink); color: #fff; text-align: center; padding: 12px; font-weight: 700; display: none; z-index: 60; }
@media (max-width: 720px) {
  .main-nav { display: none; }
  .mobile-cta { display: block; }
  .hero h1 { font-size: 28px; }
  .form-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
}

.breadcrumbs { font-size: 13px; color: #8a7a80; margin-bottom: 18px; }
.breadcrumbs a { color: var(--brand-pink); }

/* Condition card cover images / upload placeholders */
.condition-card {
  padding: 0; overflow: hidden; display: flex; flex-direction: column;
  height: 420px; cursor: default;
}
.condition-card h3, .condition-card p { padding-left: 20px; padding-right: 20px; }
.condition-card h3 { margin-top: 16px; margin-bottom: 8px; font-size: 17px; min-height: 44px; }
.condition-cover { width: 100%; height: 140px; overflow: hidden; flex-shrink: 0; }
.condition-cover img { width: 100%; height: 100%; object-fit: cover; }
.condition-cover.placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  background: repeating-linear-gradient(45deg, #fbeef4, #fbeef4 10px, #f7e0ea 10px, #f7e0ea 20px);
  border-bottom: 1px dashed var(--border); color: #a5788f; gap: 4px;
}
.placeholder-icon { font-size: 22px; opacity: 0.6; }
.placeholder-text { font-size: 12.5px; font-weight: 700; }
.placeholder-path { font-size: 10.5px; font-family: monospace; opacity: 0.7; }

.condition-card-body { display: flex; flex-direction: column; flex: 1; min-height: 0; }
.condition-card-body .tag { margin: 14px 20px 0; align-self: flex-start; }
.condition-card-desc {
  font-size: 14px; color: #5a4a50; flex: 1;
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden; margin-bottom: 14px;
}
.condition-card-footer { padding: 0 20px 20px; margin-top: auto; }
.condition-more-btn {
  display: inline-block; width: 100%; text-align: center; background: transparent;
  border: 1.5px solid var(--brand-pink); color: var(--brand-pink); font-weight: 700;
  font-size: 13.5px; padding: 9px 14px; border-radius: 999px; cursor: pointer;
  transition: all 0.15s ease;
}
.condition-more-btn:hover { background: var(--brand-pink); color: #fff; }

/* Category accent colors, so cards read as distinct groups at a glance */
.condition-card[data-category="Female Fertility"] .tag { background: rgba(192,40,107,0.1); color: var(--brand-pink); }
.condition-card[data-category="Male Fertility"] .tag { background: rgba(44,122,123,0.12); color: var(--teal); }
.condition-card[data-category="Couple Clinic"] .tag { background: rgba(199,154,75,0.15); color: #9c7a2e; }
.condition-card[data-category="Male Fertility"] .condition-more-btn { border-color: var(--teal); color: var(--teal); }
.condition-card[data-category="Male Fertility"] .condition-more-btn:hover { background: var(--teal); color: #fff; }
.condition-card[data-category="Couple Clinic"] .condition-more-btn { border-color: #9c7a2e; color: #9c7a2e; }
.condition-card[data-category="Couple Clinic"] .condition-more-btn:hover { background: #9c7a2e; color: #fff; }

/* Lightbox modal for full condition details */
.lightbox-overlay {
  position: fixed; inset: 0; background: rgba(42,34,38,0.72); z-index: 200;
  display: none; align-items: flex-start; justify-content: center; padding: 40px 20px;
  overflow-y: auto;
}
.lightbox-overlay.active { display: flex; }
.lightbox-box {
  background: #fff; border-radius: 16px; max-width: 680px; width: 100%;
  padding: 36px; position: relative; margin-top: 20px;
}
.lightbox-close {
  position: absolute; top: 18px; right: 18px; background: #f5eef1; border: none;
  width: 34px; height: 34px; border-radius: 50%; font-size: 18px; color: #6b5a61;
  cursor: pointer; line-height: 1;
}
.lightbox-close:hover { background: #ecd9e2; }
.lightbox-box .tag { margin-bottom: 10px; }
.lightbox-box h2 { font-size: 24px; color: var(--deep-rose); margin: 0 0 8px; }
.lightbox-box .lightbox-tagline { color: #8a7580; font-size: 14.5px; margin-bottom: 18px; }
.lightbox-box .lightbox-section-title { font-size: 15px; color: var(--deep-rose); font-weight: 700; margin: 22px 0 10px; }
.lightbox-box ul { margin: 0; padding-left: 20px; }
.lightbox-box li { font-size: 14px; color: #5a4a50; margin-bottom: 6px; }
.lightbox-box .lightbox-advantage { margin-bottom: 12px; }
.lightbox-box .lightbox-advantage strong { color: var(--deep-rose); font-size: 14px; display: block; margin-bottom: 2px; }
.lightbox-box .lightbox-advantage span { font-size: 13.5px; color: #5a4a50; }
.lightbox-footer { margin-top: 28px; display: flex; gap: 12px; flex-wrap: wrap; }

/* Fertility Check-In (quiz) */
.quiz-panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; max-width: 640px; margin: 0 auto; padding: 32px; }
.quiz-progress { display: flex; gap: 6px; margin-bottom: 24px; }
.quiz-progress span { flex: 1; height: 4px; border-radius: 999px; background: var(--border); }
.quiz-progress span.done { background: var(--brand-pink); }
.quiz-question { display: none; }
.quiz-question.active { display: block; }
.quiz-question h3 { font-size: 17px; color: var(--deep-rose); margin-bottom: 16px; }
.quiz-options { display: grid; gap: 10px; }
.quiz-option {
  display: block; border: 1px solid var(--border); border-radius: 8px; padding: 12px 16px;
  font-size: 14.5px; cursor: pointer; background: #fff; transition: all 0.15s ease;
}
.quiz-option:hover { border-color: var(--bright-pink); background: #fdf3f7; }
.quiz-option.selected { border-color: var(--brand-pink); background: #fdeaf3; font-weight: 600; }
.quiz-nav { display: flex; justify-content: space-between; margin-top: 24px; }
.quiz-nav button { background: none; border: none; color: var(--brand-pink); font-weight: 700; font-size: 14px; cursor: pointer; }
.quiz-nav button:disabled { opacity: 0.35; cursor: not-allowed; }
.quiz-result { display: none; text-align: center; }
.quiz-result.active { display: block; }
.quiz-result .big-icon { font-size: 40px; margin-bottom: 12px; }
.quiz-disclaimer { font-size: 12px; color: #9a8890; margin-top: 18px; }

/* Inquiry section */
.inquiry-panel { background: #fff; border: 1px solid var(--border); border-radius: 14px; max-width: 640px; margin: 0 auto; padding: 32px; }
.phone-banner {
  display: flex; align-items: center; justify-content: center; gap: 14px; flex-wrap: wrap;
  margin-bottom: 26px; text-align: center;
}
.phone-banner a {
  display: inline-flex; align-items: center; gap: 8px; background: var(--brand-pink); color: #fff;
  padding: 12px 22px; border-radius: 999px; font-weight: 700; font-size: 15px;
}
.phone-banner a.whatsapp { background: #25D366; color: #06280f; }
.phone-banner a:hover { opacity: 0.9; }

/* Page banner (every page, admin-editable) */
.page-banner { width: 100%; border-radius: 12px; overflow: hidden; margin-top: 24px; }
.page-banner img { width: 100%; max-height: 260px; object-fit: cover; display: block; }
.page-banner-placeholder {
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; height: 140px;
  background: repeating-linear-gradient(45deg, #fbeef4, #fbeef4 12px, #f5dde8 12px, #f5dde8 24px);
  border: 1px dashed var(--border); border-radius: 12px; color: #a5788f;
}
.page-banner-placeholder .placeholder-text { font-size: 13px; font-weight: 700; }
.page-banner-placeholder .placeholder-path { font-size: 11px; font-family: monospace; opacity: 0.75; text-align: center; padding: 0 12px; }

/* Icons (feature pillars, service cards) */
.icon-badge {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 14px;
  background: rgba(192,40,107,0.1); color: var(--brand-pink);
  margin-bottom: 14px;
}
.icon-badge .icon-svg { width: 30px; height: 30px; }
.icon-badge .icon-img { width: 30px; height: 30px; object-fit: contain; }
.feature-card { text-align: left; }
.feature-card h3 { font-size: 16px; }
.feature-card p { font-size: 13.5px; }

/* Honeypot spam-trap field: off-screen but not display:none, so simple bots that
   skip hidden inputs still fill it in and get caught */
.hp-field { position: absolute; left: -9999px; top: -9999px; width: 1px; height: 1px; overflow: hidden; }
