/* ============================================================
   Nagarik Samaj — Main Stylesheet
   ============================================================ */

:root {
  --navy:       #1B2B4A;
  --navy-dark:  #111D33;
  --navy-light: #253B62;
  --gold:       #C07C2E;
  --gold-hover: #D98E3A;
  --gold-pale:  #FBF3E6;
  --bg:         #FAFAF8;
  --bg-alt:     #EEE9E1;
  --text:       #1A1A1E;
  --text-muted: #5C5C70;
  --white:      #FFFFFF;
  --border:     #DDD8CF;
  --green-check:#2D7A4F;
  --max-w:      1080px;
  --nav-h:      72px;
  --radius:     6px;
  --radius-lg:  12px;
  --shadow:     0 2px 12px rgba(27,43,74,.10);
  --shadow-md:  0 4px 24px rgba(27,43,74,.14);
}

/* ── Reset ────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  font-size: 16px;
  line-height: 1.7;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: 'Lora', Georgia, 'Times New Roman', serif;
  line-height: 1.22;
  font-weight: 600;
  color: var(--navy);
}
h1 { font-size: clamp(2rem, 4.5vw, 3.25rem); }
h2 { font-size: clamp(1.6rem, 3vw, 2.25rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.5rem); }
h4 { font-size: 1.1rem; font-weight: 600; }

p { color: var(--text-muted); }
p + p { margin-top: 1em; }

strong { color: var(--text); font-weight: 600; }

/* ── Containers ───────────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.section {
  padding: 80px 0;
}
.section--alt {
  background: var(--bg-alt);
}
.section--navy {
  background: var(--navy);
}
.section--navy h2,
.section--navy h3,
.section--navy h4 { color: var(--white); }
.section--navy p { color: rgba(255,255,255,.72); }

.section-label {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 12px;
  display: block;
}
.section-intro {
  max-width: 640px;
}
.section-intro--centered {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.section-intro p {
  font-size: 1.05rem;
  margin-top: 16px;
}

/* ── Buttons ──────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius);
  font-family: 'Inter', sans-serif;
  font-size: .95rem;
  font-weight: 600;
  cursor: pointer;
  transition: all .18s ease;
  border: none;
  line-height: 1;
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--white);
}
.btn-primary:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(192,124,46,.35);
}
.btn-outline {
  background: transparent;
  color: var(--navy);
  border: 2px solid var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--white);
}
.btn-lg {
  padding: 15px 36px;
  font-size: 1rem;
}
.btn-sm {
  padding: 9px 20px;
  font-size: .875rem;
}

/* ── Navigation ───────────────────────────────────────────── */
.nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  height: var(--nav-h);
}
.nav__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.nav__logo {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.nav__logo-primary {
  font-family: 'Lora', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--navy);
}
.nav__logo-tagline {
  font-size: .68rem;
  font-weight: 500;
  letter-spacing: .06em;
  color: var(--text-muted);
  text-transform: uppercase;
}
.nav__links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav__link {
  font-size: .9rem;
  font-weight: 500;
  color: var(--text-muted);
  padding: 8px 14px;
  border-radius: var(--radius);
  transition: color .15s, background .15s;
}
.nav__link:hover,
.nav__link.active {
  color: var(--navy);
  background: var(--bg-alt);
}
.nav__donate {
  margin-left: 12px;
  background: var(--gold);
  color: var(--white);
  padding: 9px 22px;
  border-radius: var(--radius);
  font-size: .9rem;
  font-weight: 600;
  transition: background .18s, transform .18s;
}
.nav__donate:hover {
  background: var(--gold-hover);
  transform: translateY(-1px);
}
.nav__hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.nav__hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all .25s;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hero {
  background: var(--navy);
  color: var(--white);
  padding: 96px 0 80px;
}
.hero--page {
  padding: 64px 0 56px;
}
.hero__eyebrow {
  font-size: .78rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 20px;
}
.hero h1 {
  color: var(--white);
  max-width: 780px;
}
.hero__sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.75);
  max-width: 600px;
  margin-top: 18px;
  line-height: 1.65;
}
.hero__ctas {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 36px;
  flex-wrap: wrap;
}
.hero__legal {
  margin-top: 20px;
  font-size: .8rem;
  color: rgba(255,255,255,.45);
}

/* ── Feature grid (4 cards) ───────────────────────────────── */
.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-top: 48px;
}
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  transition: box-shadow .18s, transform .18s;
}
.feature-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.feature-card__icon {
  width: 44px;
  height: 44px;
  background: var(--gold-pale);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  font-size: 1.3rem;
}
.feature-card h4 { margin-bottom: 8px; }
.feature-card p { font-size: .9rem; }

/* ── Project card (home preview) ─────────────────────────── */
.project-preview {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
  box-shadow: var(--shadow);
}
.project-preview__visual {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%);
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 320px;
}
.project-preview__badge {
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(192,124,46,.15);
  border: 1px solid rgba(192,124,46,.3);
  padding: 5px 12px;
  border-radius: 20px;
  display: inline-block;
  margin-bottom: 24px;
  width: fit-content;
}
.project-preview__visual h3 {
  color: var(--white);
  font-size: 1.4rem;
}
.project-preview__visual p {
  color: rgba(255,255,255,.6);
  font-size: .85rem;
  margin-top: 8px;
}
.project-preview__body {
  padding: 48px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.project-preview__body p {
  font-size: .95rem;
  line-height: 1.7;
}
.project-preview__body .btn { margin-top: 28px; align-self: flex-start; }

/* ── Criteria list ────────────────────────────────────────── */
.criteria-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 48px;
}
.criteria-item {
  display: grid;
  grid-template-columns: 52px 1fr;
  gap: 24px;
  align-items: start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 28px 28px 24px;
}
.criteria-item__num {
  width: 48px;
  height: 48px;
  background: var(--navy);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1.1rem;
  flex-shrink: 0;
}
.criteria-item h4 { margin-bottom: 6px; font-size: 1.05rem; }
.criteria-item p { font-size: .93rem; }

/* ── Decision states ──────────────────────────────────────── */
.decision-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-top: 40px;
}
.decision-card {
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  border: 1px solid var(--border);
}
.decision-card--fund   { background: #EBF7F1; border-color: #A8D9BC; }
.decision-card--pilot  { background: #FFF8ED; border-color: #F5D390; }
.decision-card--later  { background: var(--bg-alt); }
.decision-card__status {
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}
.decision-card--fund   .decision-card__status { color: var(--green-check); }
.decision-card--pilot  .decision-card__status { color: #9A6800; }
.decision-card--later  .decision-card__status { color: var(--text-muted); }
.decision-card h4 { font-size: 1rem; margin-bottom: 8px; }
.decision-card p  { font-size: .88rem; }

/* ── Project detail ───────────────────────────────────────── */
.project-header {
  background: linear-gradient(135deg, var(--navy-light) 0%, var(--navy-dark) 100%);
  padding: 72px 0 64px;
}
.project-header h1 { color: var(--white); max-width: 820px; }
.project-header .hero__sub { max-width: 640px; }
.project-header .hero__eyebrow { color: var(--gold); }

.criteria-check-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 36px;
}
.criteria-check-item {
  display: flex;
  gap: 16px;
  align-items: start;
}
.criteria-check-item__icon {
  width: 28px;
  height: 28px;
  background: var(--green-check);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}
.criteria-check-item__icon svg { width: 14px; height: 14px; fill: none; stroke: white; stroke-width: 2.5; }
.criteria-check-item strong { display: block; color: var(--text); font-size: .95rem; margin-bottom: 2px; }
.criteria-check-item p { font-size: .9rem; margin: 0; }

/* ── Team cards ───────────────────────────────────────────── */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}
.team-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.team-card__avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--bg-alt);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Lora', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 16px;
}
.team-card h4 { font-size: 1rem; margin-bottom: 3px; }
.team-card__title {
  font-size: .83rem;
  font-weight: 600;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 12px;
}
.team-card p { font-size: .88rem; }

/* ── Donate section ───────────────────────────────────────── */
.donate-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.donate-card {
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  background: var(--white);
  position: relative;
  transition: box-shadow .18s;
}
.donate-card:hover { box-shadow: var(--shadow-md); }
.donate-card--primary { border-color: var(--gold); }
.donate-card__badge {
  position: absolute;
  top: -13px;
  left: 28px;
  background: var(--gold);
  color: var(--white);
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 20px;
}
.donate-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.donate-card p  { font-size: .92rem; margin-bottom: 24px; }
.donate-card .btn { width: 100%; justify-content: center; }

.legal-note {
  background: var(--gold-pale);
  border: 1px solid rgba(192,124,46,.25);
  border-radius: var(--radius-lg);
  padding: 24px 28px;
  margin-top: 36px;
}
.legal-note p {
  font-size: .88rem;
  color: var(--text-muted);
  margin: 0;
}
.legal-note strong { color: #8A5A10; }

/* ── Why section (2-col) ──────────────────────────────────── */
.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.why-grid p { font-size: 1.05rem; }

/* ── Stats strip ──────────────────────────────────────────── */
.stats-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  background: var(--navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-top: 48px;
}
.stat {
  padding: 36px 28px;
  border-right: 1px solid rgba(255,255,255,.1);
  text-align: center;
}
.stat:last-child { border-right: none; }
.stat__num {
  font-family: 'Lora', serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold);
  display: block;
  line-height: 1;
  margin-bottom: 6px;
}
.stat__label {
  font-size: .85rem;
  color: rgba(255,255,255,.6);
}

/* ── CTA banner ───────────────────────────────────────────── */
.cta-banner {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 56px 48px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 32px;
  margin-top: 48px;
}
.cta-banner h2 { color: var(--white); font-size: 1.8rem; }
.cta-banner p  { color: rgba(255,255,255,.65); margin-top: 8px; max-width: 480px; }
.cta-banner__actions { flex-shrink: 0; display: flex; gap: 12px; flex-wrap: wrap; }

/* ── Divider ──────────────────────────────────────────────── */
.divider {
  height: 1px;
  background: var(--border);
  margin: 0;
}

/* ── Board note ───────────────────────────────────────────── */
.board-note {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 28px 32px;
  margin-top: 40px;
}
.board-note p {
  color: rgba(255,255,255,.75);
  font-size: .95rem;
  font-style: italic;
}
.board-note strong { color: var(--white); }

/* ── Values list ──────────────────────────────────────────── */
.values-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 40px;
}
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
}
.value-card h4 {
  color: var(--navy);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.value-card__dash {
  display: inline-block;
  width: 20px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  flex-shrink: 0;
}
.value-card p { font-size: .92rem; }

/* ── Footer ───────────────────────────────────────────────── */
.footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,.55);
  padding: 56px 0 32px;
}
.footer__inner {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr;
  gap: 48px;
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
}
.footer__brand .nav__logo-primary { color: var(--white); font-size: 1.1rem; }
.footer__brand .nav__logo-tagline { color: rgba(255,255,255,.4); }
.footer__brand p {
  font-size: .85rem;
  margin-top: 14px;
  line-height: 1.65;
  color: rgba(255,255,255,.45);
}
.footer__col h5 {
  font-family: 'Inter', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255,255,255,.35);
  margin-bottom: 16px;
}
.footer__col li + li { margin-top: 8px; }
.footer__col a {
  font-size: .88rem;
  color: rgba(255,255,255,.55);
  transition: color .15s;
}
.footer__col a:hover { color: var(--white); }
.footer__bottom {
  max-width: var(--max-w);
  margin: 40px auto 0;
  padding: 20px 24px 0;
  border-top: 1px solid rgba(255,255,255,.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.footer__bottom p { font-size: .8rem; color: rgba(255,255,255,.3); }

/* ── Breadcrumb ───────────────────────────────────────────── */
.breadcrumb {
  font-size: .82rem;
  color: rgba(255,255,255,.45);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.breadcrumb a { color: rgba(255,255,255,.55); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: rgba(255,255,255,.3); }

/* ── Placeholder alert ───────────────────────────────────── */
.placeholder-notice {
  background: #FFF3CD;
  border: 1px solid #F0C060;
  border-radius: var(--radius);
  padding: 12px 18px;
  font-size: .83rem;
  color: #7A5000;
  margin-bottom: 40px;
}
.placeholder-notice strong { color: #5A3800; }

/* ── Responsive ───────────────────────────────────────────── */
@media (max-width: 900px) {
  .feature-grid { grid-template-columns: 1fr 1fr; }
  .team-grid    { grid-template-columns: 1fr 1fr; }
  .why-grid     { grid-template-columns: 1fr; gap: 40px; }
  .project-preview { grid-template-columns: 1fr; }
  .project-preview__visual { min-height: 200px; }
  .cta-banner { flex-direction: column; align-items: flex-start; }
  .footer__inner { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 640px) {
  :root { --nav-h: 64px; }
  .section { padding: 56px 0; }
  .feature-grid   { grid-template-columns: 1fr; }
  .team-grid      { grid-template-columns: 1fr; }
  .donate-options { grid-template-columns: 1fr; }
  .decision-grid  { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: 1fr; }
  .stats-strip    { grid-template-columns: 1fr; }
  .stat           { border-right: none; border-bottom: 1px solid rgba(255,255,255,.1); }
  .stat:last-child { border-bottom: none; }
  .footer__inner  { grid-template-columns: 1fr; gap: 32px; }
  .cta-banner     { padding: 36px 28px; }
  .hero__ctas { flex-direction: column; align-items: flex-start; }

  .nav__links { display: none; flex-direction: column; gap: 0; }
  .nav__links.open {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 0; right: 0;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 12px 0 16px;
    box-shadow: var(--shadow-md);
    z-index: 99;
  }
  .nav__link { padding: 12px 24px; border-radius: 0; }
  .nav__donate { margin: 8px 24px 0; padding: 11px 22px; }
  .nav__hamburger { display: flex; }
}
