/* ==========================================================================
   Namal University — "Women First" Campaign Landing Page
   ========================================================================== */

:root {
  /* Color tokens — sampled directly from source design */
  --color-cream: #F7F2E9;
  --color-cream-alt: #FDF8EC;
  --color-cream-card: #FFF9ED;
  --color-dark-green: #0C1F16;
  --color-dark-green-2: #0A1809;
  --color-sage: #267351;
  --color-sage-light: #4E8B6C;
  --color-gold: #C59B23;
  --color-gold-dark: #A87F18;
  --color-ink: #1C2818;
  --color-ink-soft: #4A5142;
  --color-cream-text: #F7F2E9;
  --color-stat-blue: #DCE6F0;
  --color-stat-pink: #F5DAD3;
  --color-stat-sage: #E7E9DC;
  --color-border-soft: rgba(28, 40, 24, 0.10);
  --color-border-on-dark: rgba(247, 242, 233, 0.18);

  /* Shadows */
  --shadow-card: 0 6px 18px rgba(30, 25, 10, 0.10), 0 1px 3px rgba(30, 25, 10, 0.06);
  --shadow-card-sm: 0 3px 10px rgba(30, 25, 10, 0.08);
  --shadow-btn: 0 4px 14px rgba(20, 30, 15, 0.22);

  /* Typography — Poppins for display/headings, Montserrat for body */
  --font-display: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --font-body: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  /* Type scale — tuned down for better balance and readability */
  --text-xs: 11px;
  --text-sm: 12px;
  --text-base: 14px;
  --text-md: 17px;
  --text-lg: 21px;
  --text-xl: 22px;
  --text-body: var(--text-lg);
  --text-body-sm: 18px;
  --text-body-xs: 17px;
  --leading-body: 1.65;

  /* Layout */
  --container-width: 1200px;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 24px;
  --radius-pill: 999px;
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: var(--text-base);
  color: var(--color-ink);
  background: var(--color-cream);
  line-height: var(--leading-body);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, p { margin: 0; }
button { font-family: inherit; cursor: pointer; }
input { font-family: inherit; }

:focus-visible {
  outline: 3px solid var(--color-gold);
  outline-offset: 2px;
}

.container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (prefers-reduced-motion: reduce) {
  * { animation-duration: 0.01ms !important; transition-duration: 0.01ms !important; scroll-behavior: auto !important; }
}

/* ---------- Utility ---------- */
.eyebrow {
  display: inline-block;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--color-gold);
}
.section {
  padding: 48px 0;
}
.section--tight { padding: 40px 0; }
.section-heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(34px, 4vw, 46px);
  line-height: 1.15;
  color: var(--color-ink);
}
.section-heading .accent { color: var(--color-sage); font-style: italic; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  font-size: var(--text-base);
  font-weight: 600;
  border: none;
  transition: transform 0.15s ease, background-color 0.15s ease, opacity 0.15s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-1px); }
.btn--dark {
  background: var(--color-dark-green);
  color: var(--color-cream-text);
  box-shadow: var(--shadow-btn);
}
.btn--dark:hover { background: #16301f; }
.btn--gold {
  background: var(--color-gold);
  /* margin-top: 1rem; */
  color: #2A2000;
  box-shadow: 0 4px 14px rgba(197, 155, 35, 0.35);
}
.btn--gold:hover { background: var(--color-gold-dark); }
.btn--nav { text-transform: uppercase; letter-spacing: 0.04em; font-size: var(--text-sm); padding: 12px 22px; }
.btn--green.btn--dark { background: var(--color-sage); }
.btn--green.btn--dark:hover { background: var(--color-sage-light); }
.btn--block { width: 100%; }

/* ==========================================================================
   Header / Nav
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--color-cream);
  border-bottom: 1px solid var(--color-border-soft);
}
.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  max-width: var(--container-width);
  margin: 0 auto;
}
.nav__brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-ink);
}
.nav__logo {
  width: 40px;
  height: auto;
  flex-shrink: 0;
}
.nav__links {
  display: flex;
  gap: 32px;
  font-size: var(--text-base);
  font-weight: 500;
}
.nav__links a { opacity: 0.85; transition: opacity 0.15s; }
.nav__links a:hover { opacity: 1; }
.nav__actions { display: flex; align-items: center; gap: 16px; }
.nav__toggle {
  display: none;
  background: none;
  border: none;
  padding: 4px;
}
.nav__toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--color-ink);
  margin: 5px 0;
}
.nav__links--open { display: flex; }

/* ==========================================================================
   Hero
   ========================================================================== */
.hero {
  position: relative;
  color: var(--color-cream-text);
  background-color: #2b2b26;
  /*background-image: linear-gradient(180deg, rgba(10,15,8,0.12) 0%, rgba(8,12,7,0.22) 50%, rgba(6,10,5,0.55) 100%), url('<?php echo base_url('assets/img/women-page-img/') ?>hero-convocation.png');*/
  background-size: cover;
  background-position: center 20%;
  min-height: 720px;
  display: flex;
  align-items: flex-end;
}
.hero__inner {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 120px 20px 56px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
}
.hero__eyebrow {
  position: absolute;
  top: 96px;
  left: 24px;
  font-family: var(--font-display);
  font-size: clamp(20px, 3vw, 28px);
  letter-spacing: 0.02em;
  max-width: 480px;
}
.hero__title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(38px, 5.4vw, 58px);
  line-height: 1.08;
  max-width: 720px;
  white-space: nowrap;
}
.hero__copy {
  margin-top: 12px;
  max-width: 760px;
  font-size: var(--text-xl);
  line-height: var(--leading-body);
  color: rgba(246,242,233,0.9);
}
.hero__copy strong { color: #fff; }
.hero__stat {
  flex-shrink: 0;
  text-align: right;
}
.hero__stat-num {
  font-family: var(--font-display);
  font-size: clamp(76px, 10vw, 128px);
  font-weight: 700;
  color: var(--color-gold);
  line-height: 1;
}
.hero__stat-label {
  font-size: 18px;
  font-weight: 600;
  max-width: 240px;
  margin-top: 10px;
  color: rgba(246,242,233,0.9);
}
.hero__mobile-photo { display: none; }

/* ==========================================================================
   Quote band
   ========================================================================== */
.quote-band {
  background: var(--color-dark-green);
  color: var(--color-cream-text);
  padding: 40px 24px;
  text-align: center;
}
.quote-band__text {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 400;
  font-size: clamp(20px, 3vw, 28px);
  max-width: 920px;
  margin: 0 auto;
  line-height: 1.4;
}
.quote-band__cite {
  display: block;
  margin-top: 16px;
  font-family: var(--font-body);
  font-style: normal;
  font-weight: 700;
  font-size: var(--text-sm);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ==========================================================================
   Problem & Vision
   ========================================================================== */
.problem {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}
.problem__text { max-width: 560px; }
.problem__heading {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(30px, 4vw, 42px);
  line-height: 1.1;
  color: var(--color-sage);
}
.problem__text p {
  margin-top: 16px;
  color: var(--color-ink-soft);
  font-size: var(--text-lg);
  line-height: var(--leading-body);
}
.problem__text strong { color: var(--color-ink); }

.stat-cards { display: flex; flex-direction: column; gap: 16px; }
.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: var(--color-stat-sage);
  border: none;
  border-radius: var(--radius-md);
  padding: 22px 26px;
  box-shadow: var(--shadow-card);
}
.stat-card--blue { background: var(--color-stat-blue); }
.stat-card--pink { background: var(--color-stat-pink); }
.stat-card__num {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 30px;
  color: var(--color-dark-green);
  flex-shrink: 0;
  min-width: 76px;
}
.stat-card__label {
  font-size: var(--text-body-sm);
  color: var(--color-ink-soft);
  line-height: 1.45;
}

/* ==========================================================================
   Photo band with overlay tag
   ========================================================================== */
.photo-band {
  position: relative;
  width: 100%;
  height: 500px;
  border-radius: 0;
  overflow: hidden;
  /*background: #333 url('<?php echo base_url('assets/img/women-page-img/') ?>graduates-jump.png') center 25% / cover no-repeat;*/
  margin: 48px 0;
}

/* ==========================================================================
   Feature grid ("Women First in every room")
   ========================================================================== */
.features__head { max-width: 980px; margin-bottom: 32px; }
.features__head p {
  margin-top: 14px;
  color: var(--color-ink-soft);
  font-size: var(--text-lg);
  line-height: var(--leading-body);
}
.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
.feature-card {
  background: var(--color-cream-card);
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-card);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.feature-card:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}
.feature-card h3 {
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  margin-bottom: 10px;
}
.feature-card p {
  font-size: var(--text-body-sm);
  color: var(--color-ink-soft);
  line-height: var(--leading-body);
}

/* ==========================================================================
   Reach / Map section
   ========================================================================== */
.reach {
  display: grid;
  grid-template-columns: 0.9fr 1fr;
  gap: 56px;
  align-items: center;
}
.reach__map {
  /*background: transparent url('<?php echo base_url('assets/img/women-page-img/') ?>pakistan-mianwali-map.png') center/contain no-repeat;*/
  height: 380px;
}
.reach h2 {
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 600;
  font-size: clamp(26px, 3.2vw, 34px);
  color: var(--color-dark-green);
  line-height: 1.2;
}
.reach p {
  margin-top: 20px;
  color: var(--color-ink);
  font-weight: 600;
  font-size: var(--text-lg);
  line-height: var(--leading-body);
}
.reach strong { color: var(--color-gold); }

/* ==========================================================================
   About Namal (dark photo overlay)
   ========================================================================== */
.about-namal {
  position: relative;
  color: var(--color-cream-text);
  /*background: #23281d url('<?php echo base_url('assets/img/women-page-img/') ?>campus-golden-hour.png') center/cover no-repeat;*/
  padding: 72px 20px 40px;
  min-height: 620px;
  display: flex;
  align-items: flex-end;
}
.about-namal::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(10,15,8,0.05) 0%, rgba(10,15,8,0.02) 45%, rgba(10,15,8,0.12) 100%);
}
.about-namal__inner {
  position: relative;
  max-width: var(--container-width);
  margin: 0 auto;
  width: 100%;
  padding-top: 160px;
}
.about-namal .eyebrow { color: var(--color-gold); }
.about-namal h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(30px, 3.8vw, 42px);
  max-width: 1100px;
  text-shadow: 0 2px 12px rgba(0,0,0,0.35);
}
.about-namal p {
  margin-top: 140px;
  max-width: 100%;
  font-family: var(--font-display);
  font-size: var(--text-lg);
  font-weight: 600;
  line-height: var(--leading-body);
  color: #000000;
  background: rgba(197, 155, 35, 0.32);
  padding: 28px 32px;
  border-radius: var(--radius-md);
}

/* ==========================================================================
   Programmes offered
   ========================================================================== */
.programmes-band { background: #ECE8DC; }
.programmes { max-width: 780px; }
.programmes h2 {
  margin-top: 14px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: clamp(24px, 3vw, 30px);
}
.programme-list {
  margin-top: 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0 40px;
  text-align: left;
}
.programme-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: var(--text-md);
  font-weight: 600;
  color: var(--color-ink);
  padding: 16px 0;
  border-bottom: 1px solid var(--color-border-soft);
}
.programme-list .dot {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--color-sage);
  color: #fff;
  flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-size: var(--text-sm);
}

/* ==========================================================================
   Stat grid (numbers)
   ========================================================================== */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.stat-grid__item {
  background: var(--color-stat-sage);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  text-align: left;
  transition: box-shadow 0.2s ease, transform 0.2s ease;
}
.stat-grid__item:hover {
  box-shadow: 0 18px 34px rgba(0, 0, 0, 0.18);
  transform: translateY(-4px);
}
.stat-grid__num {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 32px;
  color: var(--color-dark-green);
}
.stat-grid__label {
  margin-top: 6px;
  font-size: var(--text-body-xs);
  font-weight: 600;
  color: var(--color-ink-soft);
  line-height: 1.45;
}

/* ==========================================================================
   Before / After (Real example)
   ========================================================================== */
.example {
  position: relative;
  /*background: #23281d url('<?php echo base_url('assets/img/women-page-img/') ?>graduates-portrait-bg.png') center/cover no-repeat;*/
  min-height: 540px;
  display: flex;
  align-items: center;
}
.example::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(90deg, rgba(8,14,7,0.82) 0%, rgba(8,14,7,0.55) 45%, rgba(8,14,7,0.25) 75%);
}
.example__inner {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  padding-top: 56px;
  padding-bottom: 56px;
}
.example__content {
  max-width: 560px;
  color: var(--color-cream-text);
}
.example .eyebrow { display: block; color: var(--color-gold); }
.example__cols {
  margin-top: 24px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}
.example__col h4 {
  font-size: var(--text-sm);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--color-gold);
  margin-bottom: 8px;
}
.example__col p {
  font-size: var(--text-lg);
  font-weight: 500;
  color: rgba(247,242,233,0.92);
  line-height: var(--leading-body);
}
.example__col p strong { color: var(--color-gold); }
.example__photo-wrap {
  position: relative;
  text-align: center;
  flex-shrink: 0;
}
.example__photo {
  width: 440px;
  max-width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 20px 30px rgba(0,0,0,0.35));
}
.example__name {
  position: relative;
  margin-top: 18px;
  font-family: var(--font-display);
  font-size: var(--text-xl);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gold);
}

/* ==========================================================================
   Testimonials
   ========================================================================== */
.testimonials__head { text-align: center; max-width: 760px; margin: 0 auto 36px; }
.testimonials__head h2 { color: var(--color-ink); }
.testimonials__head .accent { color: var(--color-sage); font-style: italic; }
.testimonial-grid {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonial-feature {
  background: var(--color-dark-green);
  color: var(--color-cream-text);
  border-radius: var(--radius-lg);
  padding: 40px;
  display: flex;
  gap: 36px;
  align-items: stretch;
}
.testimonial-feature__photo {
  width: 280px;
  height: auto;
  flex-shrink: 0;
  align-self: stretch;
  border-radius: var(--radius-md);
  background: #555 center/cover no-repeat;
}
.testimonial-feature__photo--portrait {
  background-position: center 18%;
}
.testimonial-feature__photo--square {
  background-position: center 20%;
}
.testimonial-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}
.testimonial-row--reverse .testimonial-row__text { order: 2; }
.testimonial-row--reverse .testimonial-row__photo { order: 1; }
.testimonial-row__text {
  background: var(--color-dark-green);
  color: var(--color-cream-text);
  border-radius: var(--radius-lg);
  padding: 36px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.testimonial-row__photo {
  border-radius: var(--radius-lg);
  background: #555 center/cover no-repeat;
  min-height: 280px;
}
.testimonial-card__quote {
  font-size: calc(var(--text-body-sm) * 1.2);
  line-height: var(--leading-body);
  color: rgba(247,242,233,0.92);
}
.testimonial-card__name {
  margin-top: 16px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: calc(var(--text-base) * 1.5);
}
.testimonial-card__role {
  margin-top: 2px;
  font-size: calc(var(--text-sm) * 1.5);
  font-weight: 600;
  color: var(--color-gold);
}

/* ==========================================================================
   Sponsor callout
   ========================================================================== */
.sponsor-callout-wrap { display: flex; flex-direction: column; align-items: center; gap: 28px; }
.sponsor-callout {
  background: #fff;
  color: var(--color-ink);
  border-radius: var(--radius-lg);
  padding: 40px;
  text-align: left;
  box-shadow: var(--shadow-card);
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
}
.sponsor-callout h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px, 3vw, 32px);
  max-width: 680px;
  color: var(--color-ink);
}
.sponsor-callout h2 .accent { color: var(--color-sage); }
.sponsor-callout blockquote {
  margin: 24px 0 0;
  max-width: 680px;
  font-size: var(--text-lg);
  line-height: var(--leading-body);
  color: var(--color-ink);
}
.sponsor-callout cite {
  display: block;
  margin-top: 18px;
  font-style: normal;
  font-size: var(--text-base);
  color: var(--color-ink-soft);
}

/* ==========================================================================
   Gallery ("This is what 51% looks like")
   ========================================================================== */
.gallery-section {
  background: var(--color-dark-green);
  padding: 48px 0;
}
.gallery-section h2 {
  text-align: center;
  color: var(--color-cream-text);
  font-family: var(--font-display);
  font-style: italic;
  font-weight: 500;
  font-size: clamp(22px, 3vw, 28px);
  margin-bottom: 24px;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 215px;
  grid-auto-flow: dense;
  gap: 12px;
}
.gallery-grid img, .gallery-grid .g-item {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 25%;
  border-radius: 8px;
  background: #555;
  background-size: cover;
  background-position: center 25%;
}
.gallery-grid .g-wide { grid-column: span 2; }
.gallery-grid .g-tall { grid-row: span 2; }
.gallery-grid .g-tall--sm { width: 92%; height: 92%; margin: auto; }

/* ==========================================================================
   Donation section
   ========================================================================== */
.donate-section {
  background: var(--color-cream);
  color: var(--color-ink);
  padding: 56px 24px;
}
.donate-card {
  max-width: 640px;
  margin: 0 auto;
  text-align: center;
}
.donate-card h2 {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(28px, 3.6vw, 38px);
  color: var(--color-sage);
}
.donate-card > p {
  margin-top: 14px;
  color: var(--color-ink);
  font-weight: 600;
  font-size: var(--text-lg);
}
.donate-panel {
  margin-top: 36px;
  text-align: left;
}
.donate-panel__label {
  font-size: var(--text-sm);
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-ink);
}
.give-tabs {
  margin-top: 14px;
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.give-tab {
  flex: none;
  background: var(--color-cream-card);
  border: 1px solid var(--color-border-soft);
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  color: var(--color-ink);
  font-size: var(--text-base);
  font-weight: 600;
  transition: background-color 0.15s, color 0.15s;
}
.give-tab[aria-selected="true"] {
  background: var(--color-gold);
  color: #2A2000;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card-sm);
}
.give-desc {
  margin-top: 14px;
  background: var(--color-cream-card);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  font-size: var(--text-body-xs);
  font-weight: 600;
  color: var(--color-ink);
  line-height: var(--leading-body);
}
.amount-label { margin-top: 30px; }
.amount-grid {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}
.amount-option {
  background: var(--color-cream-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  padding: 16px;
  text-align: left;
  color: var(--color-ink);
  transition: background-color 0.15s, border-color 0.15s;
}
.amount-option:hover { border-color: var(--color-gold); }
.amount-option[aria-pressed="true"] {
  background: #F5EACE;
  border-color: var(--color-gold);
  box-shadow: var(--shadow-card-sm);
}
.amount-option[aria-pressed="true"] .amount-option__value { color: var(--color-gold-dark); }
.amount-option__value {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: var(--text-md);
  color: var(--color-sage);
}
.amount-option__hint {
  margin-top: 4px;
  font-size: var(--text-sm);
  font-weight: 600;
  color: var(--color-ink-soft);
}
.amount-custom {
  grid-column: span 2;
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-cream-card);
  border: 1px solid var(--color-border-soft);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}
.amount-custom span { font-size: var(--text-base); color: var(--color-ink-soft); }
.amount-custom input {
  flex: 1;
  background: none;
  border: none;
  color: var(--color-sage);
  font-size: var(--text-md);
  font-weight: 700;
  font-family: var(--font-display);
  outline: none;
}
.amount-custom input::placeholder { color: var(--color-sage); opacity: 0.7; font-weight: 600; }
.donate-panel .btn { margin-top: 28px; }
.donate-error {
  margin-top: 12px;
  font-size: var(--text-sm);
  color: #b3401f;
  display: none;
}
.donate-error.is-visible { display: block; }

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  background: var(--color-dark-green);
  color: rgba(247,242,233,0.65);
  text-align: center;
  padding: 36px 24px;
  font-size: var(--text-sm);
  border-top: 1px solid var(--color-border-on-dark);
}
.site-footer__location {
  font-family: var(--font-display);
  font-weight: 600;
  font-size: var(--text-base);
  color: var(--color-cream-text);
}
.site-footer__chapters {
  margin-top: 8px;
  font-size: var(--text-sm);
}
.site-footer__copy {
  margin-top: 18px;
  font-size: var(--text-xs);
  opacity: 0.8;
}

/* ==========================================================================
   Responsive — Laptop (≤1280)
   ========================================================================== */
@media (min-width: 1024px) {
  .quote-band__text,
  .problem__heading,
  .features__head .section-heading {
    white-space: nowrap;
  }
}

@media (max-width: 1280px) {
  .container { padding: 0 20px; }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

/* ==========================================================================
   Responsive — Tablet / Mobile (≤900)
   ========================================================================== */
@media (max-width: 900px) {
  .nav {
    position: relative;
    flex-wrap: wrap;
  }
  .nav__links {
    display: none;
    width: 100%;
    flex-direction: column;
    gap: 16px;
    padding: 16px 0 0;
    margin-top: 16px;
    border-top: 1px solid var(--color-border-soft);
  }
  .nav__links a {
    display: block;
    padding: 4px 0;
  }
  .nav__links--open { display: flex; }
  .nav__toggle { display: block; }
  .nav__actions { gap: 12px; }

  .photo-band {
    height: 420px;
    background-position: center 20%;
  }

  .about-namal {
    min-height: 480px;
    padding-top: 48px;
  }
  .about-namal__inner { padding-top: 60px; }
  .about-namal p {
    margin-top: 40px;
    max-width: none;
    padding: 24px;
    font-size: var(--text-body-sm);
  }

  .hero { min-height: 640px; }
  .hero__eyebrow { position: static; margin: 0 0 140px; padding: 0 4px; }
  .hero__inner { flex-direction: column; align-items: flex-start; padding: 24px 20px 40px; gap: 24px; }
  .hero__title { white-space: normal; }
  .hero__stat { text-align: left; }

  .quote-band__text,
  .problem__heading,
  .features__head .section-heading {
    white-space: normal;
  }

  .problem { grid-template-columns: 1fr; }
  .problem__text { max-width: none; }

  .feature-grid { grid-template-columns: 1fr; }

  .reach { grid-template-columns: 1fr; padding: 28px; }

  .programme-list { grid-template-columns: 1fr; }

  .stat-grid { grid-template-columns: repeat(2, 1fr); }

  .example { min-height: 0; }
  .example__inner { flex-direction: column; padding-top: 32px; padding-bottom: 32px; }
  .example__photo-wrap { margin: 24px 0 0; }
  .example__photo { width: 100%; max-width: 260px; }

  .testimonial-feature { flex-direction: column; }
  .testimonial-feature__photo {
    width: 100%;
    max-width: 320px;
    align-self: center;
  }
  .testimonial-feature__photo--portrait {
    aspect-ratio: 2 / 3;
    height: auto;
  }
  .testimonial-feature__photo--square {
    aspect-ratio: 1 / 1;
    height: auto;
  }

  .gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 140px; }

  .amount-grid { grid-template-columns: 1fr; }
  .amount-custom { grid-column: span 1; }

  .section { padding: 40px 0; }
}

@media (max-width: 480px) {
  .nav {
    padding: 14px 16px;
  }
  .nav__brand {
    font-size: 16px;
    gap: 10px;
  }
  .nav__logo { width: 34px; }
  .btn--nav {
    padding: 10px 16px;
    font-size: 12px;
  }
  .hero__title { font-size: 34px; white-space: normal; }
  .hero__copy {
    margin-top: 10px;
    max-width: 100%;
    font-size: var(--text-lg);
  }
  .hero__stat-num { font-size: 72px; }
  .hero__stat-label { font-size: 16px; }
  .photo-band { height: 360px; }
  .stat-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 120px; }

  /* Mobile-only hero layout: photo first, text below on solid nav-color background */
  .hero {
    display: block;
    min-height: 0;
    background-image: none;
    background-color: var(--color-cream);
  }
  .hero__mobile-photo {
    display: block;
    width: 100%;
    height: 380px;
    background-size: cover;
    background-position: center 25%;
    background-repeat: no-repeat;
  }
  .hero__inner {
    background: var(--color-cream);
    padding: 24px 20px 40px;
    gap: 20px;
  }
  .hero__title,
  .hero__copy,
  .hero__stat-num,
  .hero__stat-label {
    color: var(--color-ink);
  }
  .hero__copy { color: var(--color-ink-soft); }
  .hero__stat-label { color: var(--color-ink-soft); }
}