/* ============================================
   Pratham Girls PG — Shared Stylesheet
   Palette pulled from the logo: deep navy + sunflower gold
   ============================================ */

:root {
  --navy: #1b2a63;
  --navy-dark: #121c47;
  --navy-soft: #2f3f82;
  --gold: #f2a93c;
  --gold-dark: #d9901f;
  --gold-soft: #fbe3b7;
  --cream: #fdf9f0;
  --cream-dark: #f6efdf;
  --ink: #26304f;
  --muted: #6b7290;
  --white: #ffffff;
  --green-ok: #2f8f5b;
  --shadow: 0 10px 30px rgba(27, 42, 99, 0.10);
  --shadow-sm: 0 4px 14px rgba(27, 42, 99, 0.08);
  --radius: 16px;
  --radius-sm: 10px;
  --max-width: 1120px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: 'Poppins', 'Segoe UI', sans-serif;
  color: var(--ink);
  background: var(--cream);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
  font-family: 'Playfair Display', Georgia, serif;
  color: var(--navy);
  margin: 0 0 0.5em;
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4.5vw, 3.2rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.3rem); }
h3 { font-size: 1.3rem; }

p { margin: 0 0 1em; color: var(--ink); }
a { color: var(--navy-soft); text-decoration: none; }
img { max-width: 100%; display: block; }

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 600;
  margin-bottom: 10px;
}

.section {
  padding: 72px 0;
}
.section--tight { padding: 48px 0; }
.section--cream { background: var(--cream-dark); }
.section--navy {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
}
.section--navy h2, .section--navy h3 { color: var(--white); }
.section--navy p { color: #d7ddf5; }

.section-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 44px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease, color .15s ease;
}
.btn:hover { transform: translateY(-2px); }

.btn--gold {
  background: var(--gold);
  color: var(--navy-dark);
  box-shadow: 0 8px 20px rgba(242, 169, 60, 0.35);
}
.btn--gold:hover { background: var(--gold-dark); }

.btn--outline {
  background: transparent;
  border-color: var(--white);
  color: var(--white);
}
.btn--outline:hover { background: rgba(255,255,255,0.12); }

.btn--navy-outline {
  background: transparent;
  border-color: var(--navy);
  color: var(--navy);
}
.btn--navy-outline:hover { background: var(--navy); color: var(--white); }

.btn--sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-row { display: flex; flex-wrap: wrap; gap: 14px; }

/* ---------- Header / Nav ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(253, 249, 240, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid rgba(27,42,99,0.08);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
}
.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Playfair Display', serif;
  font-weight: 700;
  color: var(--navy);
  font-size: 1.15rem;
}
.brand img { height: 80px; width: 80px; border-radius: 12px; object-fit: cover; }
.brand small {
  display: block;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.68rem;
  letter-spacing: 0.05em;
  color: var(--gold-dark);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 26px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.nav-links a {
  color: var(--ink);
  font-weight: 500;
  font-size: 0.93rem;
  padding: 6px 2px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover, .nav-links a.active {
  color: var(--navy);
  border-bottom-color: var(--gold);
}
.nav-cta { display: flex; gap: 10px; align-items: center; }
.nav-cta-mobile { display: none; }

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: var(--navy);
  cursor: pointer;
}

@media (max-width: 920px) {
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--white);
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 24px;
    gap: 14px;
    box-shadow: var(--shadow);
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-cta { display: none; }
  .nav-links.open .nav-cta-mobile { display: flex; gap: 10px; margin-top: 10px; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(160deg, var(--navy) 0%, var(--navy-dark) 70%);
  color: var(--white);
  padding: 90px 0 100px;
}
.hero::before {
  content: "";
  position: absolute;
  right: -120px;
  top: -120px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle, rgba(242,169,60,0.28) 0%, rgba(242,169,60,0) 70%);
}
.hero::after {
  content: "";
  position: absolute;
  left: -100px;
  bottom: -140px;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(242,169,60,0.16) 0%, rgba(242,169,60,0) 70%);
}
.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
  align-items: center;
}
.hero h1 { color: var(--white); }
.hero .tagline {
  font-family: 'Playfair Display', serif;
  font-style: italic;
  color: var(--gold);
  font-size: 1.25rem;
  margin-bottom: 18px;
}
.hero p.lead { color: #d7ddf5; font-size: 1.08rem; max-width: 520px; }
.hero-badges {
  display: flex;
  gap: 18px;
  margin-top: 30px;
  flex-wrap: wrap;
}
.hero-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #e7ebfa;
  background: rgba(255,255,255,0.08);
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.15);
}

@media (max-width: 860px) {
  .hero-inner { grid-template-columns: 1fr; }
}

/* ---------- Placeholder art ---------- */
.art-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.hero-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  aspect-ratio: 4 / 3;
}
.placeholder-art {
  width: 100%;
  aspect-ratio: 4 / 3;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.placeholder-art svg { width: 60%; height: 60%; opacity: 0.9; }
.placeholder-art span.tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.75);
  background: rgba(0,0,0,0.18);
  padding: 3px 9px;
  border-radius: 999px;
}
.pa-navy { background: linear-gradient(135deg, var(--navy-soft), var(--navy-dark)); }
.pa-gold { background: linear-gradient(135deg, var(--gold), var(--gold-dark)); }
.pa-cream { background: linear-gradient(135deg, #fff, var(--gold-soft)); }

/* ---------- Cards / grids ---------- */
.grid {
  display: grid;
  gap: 26px;
}
.grid--3 { grid-template-columns: repeat(3, 1fr); }
.grid--2 { grid-template-columns: repeat(2, 1fr); }
.grid--4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 900px) {
  .grid--3, .grid--4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .grid--2, .grid--3, .grid--4 { grid-template-columns: 1fr; }
}

.card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-sm);
  border: 1px solid rgba(27,42,99,0.06);
}
.card .icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  background: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 16px;
  font-size: 1.4rem;
}
.card h3 { margin-bottom: 8px; }
.card p { color: var(--muted); margin-bottom: 0; font-size: 0.95rem; }

.stat-strip {
  display: flex;
  justify-content: center;
  gap: 50px;
  flex-wrap: wrap;
  text-align: center;
}
.stat-strip .num {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  color: var(--gold);
  font-weight: 700;
}
.stat-strip .label {
  font-size: 0.82rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #c7cdec;
}

/* ---------- Testimonials ---------- */
.testimonial {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 26px;
  box-shadow: var(--shadow-sm);
  position: relative;
}
.testimonial .quote-mark {
  font-family: 'Playfair Display', serif;
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  margin-bottom: 6px;
  display: block;
}
.testimonial .who {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}
.avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--navy-soft), var(--gold));
  flex-shrink: 0;
}
.who strong { display: block; font-size: 0.92rem; color: var(--navy); }
.who span { font-size: 0.8rem; color: var(--muted); }

/* ---------- Table (pricing) ---------- */
table.pricing-table {
  width: 100%;
  border-collapse: collapse;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
}
table.pricing-table th, table.pricing-table td {
  padding: 16px 18px;
  text-align: left;
  border-bottom: 1px solid var(--cream-dark);
  font-size: 0.94rem;
}
table.pricing-table th {
  background: var(--navy);
  color: var(--white);
  font-weight: 600;
  font-family: 'Playfair Display', serif;
}
table.pricing-table tr:last-child td { border-bottom: none; }
table.pricing-table td.price { color: var(--gold-dark); font-weight: 700; }

.pill {
  display: inline-block;
  background: var(--gold-soft);
  color: var(--gold-dark);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ---------- Timeline / rules list ---------- */
.rule-list { list-style: none; margin: 0; padding: 0; }
.rule-list li {
  display: flex;
  gap: 14px;
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
}
.rule-list li:last-child { border-bottom: none; }
.rule-list .n {
  flex-shrink: 0;
  width: 34px; height: 34px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
}
.rule-list h4 { margin: 0 0 4px; color: var(--navy); font-size: 1rem; }
.rule-list p { margin: 0; color: var(--muted); font-size: 0.92rem; }

/* ---------- FAQ accordion ---------- */
.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-sm);
  margin-bottom: 12px;
  overflow: hidden;
}
.faq-q {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 22px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
}
.faq-q .plus { font-size: 1.3rem; color: var(--gold-dark); transition: transform .2s ease; }
.faq-item.open .plus { transform: rotate(45deg); }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  padding: 0 22px;
  color: var(--muted);
  font-size: 0.93rem;
}
.faq-item.open .faq-a { max-height: 300px; padding: 0 22px 20px; }

/* ---------- Forms ---------- */
.form-grid { display: grid; gap: 16px; grid-template-columns: 1fr 1fr; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 600px) { .form-grid { grid-template-columns: 1fr; } }
label { display: block; font-size: 0.85rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; }
input, textarea, select {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1.5px solid #e2e2ea;
  font-family: inherit;
  font-size: 0.95rem;
  background: var(--white);
}
input:focus, textarea:focus, select:focus { outline: none; border-color: var(--gold); }

/* ---------- App promo section ---------- */
.app-promo {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
@media (max-width: 860px) { .app-promo { grid-template-columns: 1fr; } }
.store-badges { display: flex; gap: 14px; margin-top: 22px; flex-wrap: wrap; }
.store-badge {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--navy-dark);
  color: var(--white);
  padding: 10px 18px;
  border-radius: 12px;
  border: 1px solid rgba(255,255,255,0.15);
  font-size: 0.85rem;
}
.store-badge small { display: block; font-size: 0.65rem; color: #b9c0e6; }
.store-badge strong { font-size: 0.92rem; }

/* ---------- CTA banner ---------- */
.cta-banner {
  background: linear-gradient(120deg, var(--gold-dark), var(--gold));
  border-radius: 24px;
  padding: 46px 40px;
  text-align: center;
  color: var(--navy-dark);
}
.cta-banner h2 { color: var(--navy-dark); }
.cta-banner .btn-row { justify-content: center; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-dark);
  color: #cfd5f2;
  padding: 56px 0 26px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1fr;
  gap: 34px;
  margin-bottom: 36px;
}
@media (max-width: 760px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
.site-footer h4 { color: var(--white); font-size: 0.95rem; font-family: 'Poppins', sans-serif; font-weight: 600; margin-bottom: 14px; }
.site-footer a { color: #cfd5f2; font-size: 0.88rem; }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.footer-brand { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.footer-brand img { height: 40px; width: 40px; border-radius: 8px; object-fit: cover; }
a.admin-link {
  font-size: 0.72rem;
  color: #4a5280;
  text-decoration: none;
  letter-spacing: 0.04em;
  opacity: 0.7;
  transition: opacity 0.2s;
}
a.admin-link:hover { opacity: 1; color: #f2a93c; }
.footer-brand strong { color: var(--white); font-family: 'Playfair Display', serif; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 20px;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 0.8rem;
  color: #9aa2cc;
}

/* ---------- Page header (inner pages) ---------- */
.page-header {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-dark) 100%);
  color: var(--white);
  padding: 56px 0;
  text-align: center;
}
.page-header h1 { color: var(--white); margin-bottom: 8px; }
.page-header p { color: #d7ddf5; max-width: 560px; margin: 0 auto; }
.breadcrumb { font-size: 0.82rem; color: var(--gold); margin-bottom: 10px; }

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}
@media (max-width: 760px) { .gallery-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 480px) { .gallery-grid { grid-template-columns: 1fr; } }
.gallery-item { border-radius: var(--radius-sm); overflow: hidden; box-shadow: var(--shadow-sm); position: relative; }
.gallery-photo { width: 100%; aspect-ratio: 1 / 1; object-fit: cover; display: block; }
.gallery-tag {
  position: absolute;
  bottom: 10px;
  right: 12px;
  font-size: 0.68rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(27,42,99,0.75);
  color: #fff;
  padding: 3px 8px;
  border-radius: 4px;
  pointer-events: none;
}

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-0 { margin-top: 0; }
.muted { color: var(--muted); }
.small { font-size: 0.85rem; }
.divider-gold {
  width: 60px; height: 3px;
  background: var(--gold);
  margin: 14px auto 0;
  border-radius: 999px;
}
