/*
Theme Name: Billhax Theme - Nihira Foundation
Theme URI: https://nihirafoundation.org
Author: Billhax / Nihira Foundation
Author URI: https://nihirafoundation.org
Description: A production-ready WordPress theme for Nihira Foundation Uganda, featuring dedicated Sendwave 0% fee donation integration, accessible WCAG 2.2 AA design, and responsive community storytelling.
Version: 1.2.0
Requires at least: 6.0
Tested up to: 6.7
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: owenest-themes
Tags: nonprofit, charity, responsive, accessibility-ready, custom-logo, featured-images, sendwave, uganda
*/

/* Google Fonts now loaded via wp_enqueue_style() in functions.php for non-blocking render */

:root {
  --brand-dark: #231f20;
  --brand-dark-deep: #0b0b0d;
  --surface-warm: #f4f1ef;
  --brand-red: #ef2026;
  --brand-red-dark: #b7181c;
  --accent-gold: #f0d000;
  --ink: #171414;
  --muted: #5a524f;
  --line: #e5dcd7;
  --surface: #ffffff;
  --surface-soft: #faf7f5;
  --shadow: 0 18px 50px rgba(23, 20, 20, 0.12);
  --shadow-sm: 0 4px 12px rgba(23, 20, 20, 0.06);
  --radius: 8px;
  --radius-sm: 6px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --container: 1160px;
  --max-width: 1380px;
  --heading-font: "Oswald", "Arial Narrow", Arial, sans-serif;
  --body-font: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --whatsapp-green: #25d366;

  /* Fluid Typography System (clamp) */
  --font-size-hero: clamp(1.85rem, 5vw + 0.5rem, 3.5rem);
  --font-size-h1: clamp(1.65rem, 3.8vw + 0.4rem, 2.75rem);
  --font-size-h2: clamp(1.35rem, 2.8vw + 0.35rem, 2.15rem);
  --font-size-h3: clamp(1.15rem, 1.8vw + 0.25rem, 1.65rem);
  --font-size-h4: clamp(1rem, 1.2vw + 0.2rem, 1.25rem);
  --font-size-body: clamp(0.9375rem, 0.8vw + 0.55rem, 1.0625rem);
  --font-size-lead: clamp(1.05rem, 1.2vw + 0.6rem, 1.35rem);
  --font-size-small: clamp(0.8125rem, 0.5vw + 0.55rem, 0.875rem);

  /* 8px Systematic Spacing Tokens */
  --space-1: 0.25rem;  /* 4px */
  --space-2: 0.5rem;   /* 8px */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.25rem;  /* 20px */
  --space-6: 1.5rem;   /* 24px */
  --space-8: 2rem;     /* 32px */
  --space-10: 2.5rem;  /* 40px */
  --space-12: 3rem;    /* 48px */
  --space-16: 4rem;    /* 64px */
  --space-20: 5rem;    /* 80px */
  --space-24: 6rem;    /* 96px */

  /* Safe Area Insets for Notch / Dynamic Island / Home Bar */
  --safe-top: env(safe-area-inset-top, 0px);
  --safe-right: env(safe-area-inset-right, 0px);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  --safe-left: env(safe-area-inset-left, 0px);

  /* Touch Target Standard (WCAG 2.2 AA) */
  --touch-min: 48px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  min-width: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: clip;
  max-width: 100vw;
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--surface);
  color: var(--ink);
  font-family: var(--body-font);
  font-size: var(--font-size-body);
  line-height: 1.65;
  overflow-x: clip;
  max-width: 100vw;
  position: relative;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-wrap: break-word;
  word-break: normal;
}

body.is-animating main {
  opacity: 0;
  transform: translateY(16px);
}

body.is-ready main {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 500ms ease, transform 500ms ease;
}

img,
svg {
  display: block;
}

img {
  max-width: 100%;
}

a {
  color: inherit;
  text-decoration: none;
}

p,
h1,
h2,
h3,
ul {
  margin: 0;
  overflow-wrap: break-word;
}

.skip-link,
.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.skip-link:focus {
  position: fixed;
  top: 0.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: auto;
  height: auto;
  margin: 0;
  padding: 0.75rem 1.5rem;
  overflow: visible;
  clip: auto;
  white-space: normal;
  background: var(--accent-gold);
  color: var(--ink);
  font-weight: 800;
  font-size: 0.95rem;
  border-radius: var(--radius);
  box-shadow: 0 4px 16px rgba(0,0,0,0.18);
  text-decoration: none;
  outline: 3px solid var(--brand-dark-deep);
  outline-offset: 2px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  transition: background 180ms ease, box-shadow 180ms ease;
}

.header-actions {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  min-height: 43px;
  overflow: hidden;
  transition: min-height 180ms ease, opacity 180ms ease;
}

.header-action {
  display: grid;
  place-items: center;
  min-width: 0;
  padding: 0.55rem 1rem;
  color: #ffffff;
  font-size: 1.02rem;
  font-weight: 800;
  line-height: 1.15;
  text-align: center;
  transition: padding 180ms ease, font-size 180ms ease;
}

.header-action:hover,
.header-action:focus-visible {
  filter: brightness(0.96);
  outline-offset: -3px;
}

.header-action--donate {
  background: var(--accent-gold);
  color: var(--ink);
}

.header-action--volunteer {
  background: var(--brand-dark-deep);
}

.header-action--supplies {
  background: var(--brand-red);
}

.header-main {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(0, 1.1fr);
  align-items: center;
  gap: 2rem;
  min-height: 85px;
  padding: 0.75rem clamp(1rem, 4vw, 3rem);
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid rgba(216, 229, 239, 0.72);
  transition: min-height 180ms ease, padding 180ms ease;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.8rem;
  min-width: 0;
}

.brand img {
  width: 75px;
  height: auto;
  max-height: 75px;
  object-fit: contain;
  flex: 0 0 auto;
  transform-origin: left center;
  transition: width 180ms ease, max-height 180ms ease;
}

.site-header.is-scrolled {
  box-shadow: 0 10px 26px rgba(20, 32, 51, 0.09);
}

.site-header.is-scrolled .header-actions {
  min-height: 0;
  opacity: 0;
}

.site-header.is-scrolled .header-action {
  padding-block: 0;
  font-size: 0;
}

.site-header.is-scrolled .header-main {
  min-height: 54px;
  padding-block: 0.22rem;
}

.site-header.is-scrolled .brand img {
  width: 58px;
  height: auto;
  max-height: 58px;
}

.site-header.is-scrolled .site-nav a {
  padding-block: 0.1rem;
}

.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 600ms ease, transform 600ms ease;
  will-change: opacity, transform;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.reveal--soft {
  transform: translateY(18px);
}

.reveal--left {
  transform: translateX(-28px);
}

.reveal--right {
  transform: translateX(28px);
}

.reveal--left.is-visible,
.reveal--right.is-visible {
  transform: translateX(0);
}

.site-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.1rem, 0.45vw, 0.35rem);
  color: #1f2937;
  font-size: 0.92rem;
  font-weight: 800;
}

.site-nav__group {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.1rem, 0.45vw, 0.35rem);
}

.site-nav ul {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.1rem, 0.45vw, 0.35rem);
  padding: 0;
  margin: 0;
  list-style: none;
}

.site-nav__brand {
  display: none;
  flex: 0 0 auto;
}

.site-nav__brand img {
  width: clamp(150px, 18vw, 220px);
  height: auto;
}

.site-nav a {
  position: relative;
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  transition: color 180ms ease, background-color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0.7rem;
  bottom: 0.18rem;
  left: 0.7rem;
  height: 2px;
  background: var(--brand-red);
  content: "";
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: var(--brand-dark-deep);
  background: rgba(240, 208, 0, 0.12);
}

.site-nav a[aria-current="page"] {
  color: var(--brand-dark-deep);
  background: rgba(240, 208, 0, 0.14);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 5px;
  padding: 0;
  color: var(--brand-dark-deep);
  background: var(--surface-warm);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  cursor: pointer;
}

.nav-toggle span:not(.sr-only) {
  width: 20px;
  height: 2px;
  background: currentColor;
  border-radius: 999px;
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(1rem, 1fr) minmax(0, var(--container)) minmax(1rem, 1fr);
  width: 100%;
  min-height: 100svh;
  overflow: hidden;
  background: #061220;
  color: #ffffff;
}

.hero::after {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 32, 0.64), rgba(6, 18, 32, 0.82)),
    linear-gradient(90deg, rgba(6, 18, 32, 0.58), rgba(6, 18, 32, 0.22), rgba(6, 18, 32, 0.56));
  content: "";
  pointer-events: none;
}

.hero__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

.hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: blur(3px) saturate(0.9) brightness(0.72);
  transform: scale(1.04);
}

.hero__content {
  position: relative;
  z-index: 2;
  grid-column: 2;
  align-self: center;
  justify-self: center;
  max-width: 900px;
  padding: clamp(5rem, 10vw, 8rem) 0;
  text-align: center;
}

.eyebrow {
  color: var(--brand-green);
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow {
  color: #f6df5f;
}

h1,
h2,
h3 {
  font-family: var(--heading-font);
  line-height: 1.08;
}

h1 {
  max-width: 13ch;
  margin: 0.7rem auto 0;
  color: #ffffff;
  font-size: clamp(3.1rem, 8.6vw, 6.9rem);
  font-weight: 800;
  text-transform: uppercase;
}

h2 {
  color: var(--brand-dark-deep);
  font-size: clamp(2rem, 4vw, 3.45rem);
  font-weight: 800;
}

h3 {
  color: var(--brand-dark-deep);
  font-size: 1.25rem;
  font-weight: 800;
}

.hero__lead {
  max-width: 650px;
  margin: 1.35rem auto 0;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.28rem);
}

.hero__rule {
  display: block;
  width: min(100%, 43rem);
  height: 5px;
  margin: 1.9rem auto 0;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-dark));
  border-radius: 999px;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
  margin-top: 2.35rem;
}

.hero__scroll {
  display: inline-grid;
  width: 52px;
  height: 52px;
  place-items: center;
  margin-top: 2rem;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 50%;
  color: #ffffff;
}

.hero__scroll svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.hero__scroll:hover,
.hero__scroll:focus-visible {
  background: rgba(255, 255, 255, 0.12);
}

.button {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  padding: 0.78rem 1.2rem;
  border: 2px solid transparent;
  border-radius: var(--radius);
  font-weight: 800;
  line-height: 1.1;
  transition:
    background 180ms ease,
    border-color 180ms ease,
    color 180ms ease,
    transform 180ms ease;
}

.button:hover,
.button:focus-visible {
  transform: translateY(-2px);
}

.button--primary {
  background: var(--brand-red);
  color: #ffffff;
}

.button--primary:hover,
.button--primary:focus-visible {
  background: #c3191f;
}

.button--secondary {
  border-color: rgba(255, 255, 255, 0.62);
  color: #ffffff;
}

.button--secondary:hover,
.button--secondary:focus-visible {
  background: rgba(255, 255, 255, 0.13);
}

.button--light {
  background: #ffffff;
  color: var(--brand-dark-deep);
}

.button--light:hover,
.button--light:focus-visible {
  background: var(--surface-warm);
}

.section,
.impact-section,
.donate-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.mission-band,
.programs-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.section-inner {
  width: min(100%, var(--container));
  margin-inline: auto;
}

.mission-band {
  background: #f7f1ed;
}

.impact-layout,
.donate-layout,
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.impact-copy p,
.donate-layout p,
.contact-layout p {
  color: var(--muted);
  font-size: 1.05rem;
}

.mission-pillars {
  text-align: center;
}

.mission-pillars .eyebrow {
  color: var(--brand-dark);
}

.mission-pillars h2 {
  margin-top: 0.45rem;
  color: #0f172a;
  font-size: clamp(1.9rem, 3.2vw, 2.7rem);
}

.pillar-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.2rem, 2.5vw, 2.5rem);
  margin-top: 2.2rem;
  width: 100%;
  box-sizing: border-box;
}

.pillar {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  min-width: 0;
  padding: 0.5rem;
  box-sizing: border-box;
}

.pillar__num {
  display: block;
  font-family: var(--heading-font);
  font-size: clamp(1.6rem, 2.5vw, 2rem);
  font-weight: 800;
  color: var(--accent-gold);
  margin-bottom: 0.35rem;
  line-height: 1;
}

.pillar h3 {
  max-width: 100%;
  margin: 0 auto;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem);
  line-height: 1.25;
  word-break: break-word;
  overflow-wrap: break-word;
}

.pillar p {
  max-width: 100%;
  margin: 0.6rem auto 0;
  color: #32445a;
  line-height: 1.45;
  font-size: clamp(0.88rem, 1.3vw, 0.95rem);
  word-break: break-word;
  overflow-wrap: break-word;
}

.pillar--green h3 {
  color: var(--brand-red-dark);
}

.pillar--blue h3 {
  color: var(--brand-dark);
}

.pillar--gold h3 {
  color: #c68112;
}

.pillar--orange h3 {
  color: #e85d19;
}

.pillar--navy h3 {
  color: #0f172a;
}

.section-heading {
  max-width: 760px;
  margin-inline: auto;
}

.section-heading h2 {
  margin-top: 0.55rem;
}

.programs-section {
  background: #0f172a;
  color: #ffffff;
  padding: clamp(3.5rem, 6vw, 5.5rem) 0;
  position: relative;
  overflow: hidden;
}

.programs-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  max-width: 1200px;
  margin-inline: auto;
  box-sizing: border-box;
}

.programs-heading {
  max-width: 820px;
  text-align: center;
  margin-inline: auto;
  margin-bottom: clamp(1.5rem, 3.5vw, 2.75rem);
}

.programs-heading h2 {
  margin: 0;
  color: var(--brand-red);
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  line-height: 1.15;
}

.programs-heading p {
  margin-top: 1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  line-height: 1.55;
}

.program-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: clamp(1.25rem, 2.2vw, 1.75rem);
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  box-sizing: border-box;
}

.program-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-lg, 16px);
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.28);
  transition: transform 200ms ease, box-shadow 200ms ease;
  box-sizing: border-box;
}

.program-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

.program-card img {
  width: 100%;
  height: 200px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  background: var(--surface-warm);
  display: block;
  flex-shrink: 0;
  border-top-left-radius: inherit;
  border-top-right-radius: inherit;
}

.program-card__body {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  padding: clamp(1.25rem, 2.5vw, 1.5rem);
  gap: 0.75rem;
  min-width: 0;
  box-sizing: border-box;
}

.program-card h3 {
  color: var(--ink);
  font-size: clamp(1.25rem, 2vw, 1.5rem);
  line-height: 1.25;
  margin: 0;
  word-break: break-word;
  overflow-wrap: break-word;
}

.program-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
  line-height: 1.55;
  flex-grow: 1;
  word-break: break-word;
  overflow-wrap: break-word;
}

.program-card .program-link,
.program-card a {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  min-height: 48px;
  margin-top: auto;
  padding: 0.25rem 0;
  color: var(--brand-red-dark);
  font-weight: 800;
  font-size: 0.95rem;
  text-decoration: none;
  touch-action: manipulation;
  transition: color 180ms ease, gap 180ms ease;
}

.program-card .program-link:hover,
.program-card .program-link:focus-visible,
.program-card a:hover,
.program-card a:focus-visible {
  color: var(--brand-dark);
  gap: 0.55rem;
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.programs-cta {
  display: inline-flex;
  min-height: 48px;
  align-items: center;
  justify-content: center;
  margin-top: 2rem;
  padding: 0.8rem 1.55rem;
  background: var(--brand-red-dark);
  border-radius: var(--radius);
  color: #ffffff;
  font-weight: 800;
}

.programs-cta:hover,
.programs-cta:focus-visible {
  background: var(--brand-red);
  color: #0f2d20;
}

.impact-section {
  position: relative;
  padding: clamp(4.5rem, 8vw, 6.8rem) clamp(1rem, 4vw, 3rem) clamp(8rem, 14vw, 11rem);
  background: #ece1c8;
  overflow: hidden;
}

.impact-section::after {
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  height: clamp(7rem, 14vw, 11rem);
  background: var(--brand-blue-dark);
  clip-path: polygon(0 78%, 100% 0, 100% 100%, 0 100%);
  content: "";
}

.impact-copy h2,
.donate-layout h2,
.contact-layout h2 {
  margin-top: 0.55rem;
}

.impact-story p,
.donate-layout p,
.contact-layout p {
  margin-top: 1rem;
}

.impact-layout {
  position: relative;
  z-index: 1;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  align-items: start;
}

.impact-copy h2 {
  max-width: 11ch;
  color: var(--brand-dark-deep);
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  line-height: 1.12;
}

.impact-story {
  display: grid;
  gap: 1.5rem;
  max-width: 34rem;
  justify-self: end;
}

.impact-story p {
  color: rgba(23, 20, 20, 0.88);
  font-size: clamp(1.02rem, 1.6vw, 1.2rem);
  line-height: 1.6;
}

.donate-section {
  background:
    linear-gradient(135deg, rgba(23, 77, 125, 0.97), rgba(17, 104, 173, 0.95)),
    var(--brand-blue-dark);
  color: #ffffff;
}

.stats-section {
  position: relative;
  margin-top: clamp(-7rem, -9vw, -5rem);
  padding: 0 clamp(1rem, 4vw, 3rem) clamp(4rem, 8vw, 6rem);
  background: var(--brand-dark-deep);
  color: #ffffff;
}

.stats-intro {
  position: relative;
  z-index: 1;
  max-width: 36rem;
  margin-bottom: clamp(2.5rem, 5vw, 3.5rem);
}

.stats-intro .eyebrow {
  color: #f6df5f;
}

.stats-intro h2 {
  margin-top: 0.55rem;
  color: #ffffff;
  font-size: clamp(2.15rem, 4vw, 3.2rem);
  line-height: 1.08;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1rem, 2.4vw, 1.6rem);
  text-align: center;
}

.stat-item {
  display: grid;
  justify-items: center;
  align-content: start;
  gap: 0.75rem;
  min-width: 0;
}

.stat-icon {
  display: inline-flex;
  min-width: 3.1rem;
  min-height: 3.1rem;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(240, 208, 0, 0.48);
  border-radius: 50%;
  color: #f6df5f;
  font-size: 0.95rem;
  font-weight: 800;
}

.stat-number {
  display: flex;
  align-items: baseline;
  justify-content: center;
  gap: 0.3rem;
  font-size: clamp(2.25rem, 4vw, 3.5rem);
  font-weight: 800;
  line-height: 1;
  color: #ffffff;
}

.stat-plus {
  font-size: 0.6em;
  opacity: 0.9;
}

.stat-label {
  font-size: clamp(0.92rem, 1.6vw, 1.08rem);
  font-weight: 600;
  color: rgba(255, 255, 255, 0.82);
}

.donate-section {
  background:
    linear-gradient(135deg, rgba(11, 11, 13, 0.98), rgba(35, 31, 32, 0.96)),
    var(--brand-dark-deep);
  color: #ffffff;
}

.donate-layout h2,
.donate-layout p {
  color: #ffffff;
}

.donate-layout .eyebrow {
  color: #f6df5f;
}

.donate-layout {
  grid-template-columns: minmax(0, 1fr) auto;
}

.contact-section {
  background: var(--surface);
}

.contact-card {
  display: grid;
  gap: 0.85rem;
  padding: 1.4rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--brand-dark-deep);
  font-style: normal;
  font-weight: 800;
}

.contact-card a:hover,
.contact-card a:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.page-hero {
  position: relative;
  display: grid;
  min-height: 54svh;
  align-items: center;
  overflow: hidden;
  padding: clamp(5rem, 10vw, 8rem) clamp(1rem, 4vw, 3rem);
  background: #121011;
  color: #ffffff;
}

.page-hero::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(6, 18, 32, 0.46), rgba(6, 18, 32, 0.82)),
    linear-gradient(90deg, rgba(6, 18, 32, 0.72), rgba(6, 18, 32, 0.2));
  content: "";
}

.page-hero__media {
  position: absolute;
  inset: 0;
}

.page-hero__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(2px) saturate(0.92) brightness(0.82);
  transform: scale(1.035);
}

.page-hero__content {
  position: relative;
  z-index: 1;
  width: min(100%, var(--container));
  margin-inline: auto;
  min-width: 0;
}

.page-hero h1 {
  max-width: 13ch;
  margin: 0.75rem 0 0;
  font-size: clamp(3rem, 7vw, 5.8rem);
  overflow-wrap: normal;
}

.page-hero p:not(.eyebrow) {
  max-width: 690px;
  margin-top: 1.25rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1.08rem, 2vw, 1.28rem);
}

.content-section {
  padding: clamp(4rem, 8vw, 7rem) clamp(1rem, 4vw, 3rem);
}

.content-section--soft {
  background: var(--surface-soft);
}

.content-section--blue {
  background: var(--brand-blue-soft);
}

.donate-campaign {
  background:
    linear-gradient(90deg, rgba(240, 208, 0, 0.16) 0%, rgba(240, 208, 0, 0.16) 48%, rgba(250, 247, 245, 0) 48%),
    linear-gradient(180deg, rgba(183, 24, 28, 0.06), rgba(11, 11, 13, 0));
}

.donate-campaign__shell {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: 0;
  align-items: stretch;
  box-shadow: 0 28px 70px rgba(23, 20, 20, 0.16);
}

.donate-card,
.donate-visual {
  min-width: 0;
}

.donate-card {
  display: grid;
  gap: 1.25rem;
  align-content: start;
  padding: clamp(1.5rem, 3.5vw, 2.5rem);
  background: #ffffff;
}

.donate-card h2 {
  max-width: 10ch;
  font-size: clamp(2.2rem, 4vw, 3.35rem);
  line-height: 0.95;
}

.donate-program-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.donate-program-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 0.8rem;
  align-items: start;
  padding: 0.95rem 1rem;
  background: #fffaf8;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.donate-program-card--active {
  border-color: rgba(239, 32, 38, 0.3);
  box-shadow: inset 0 0 0 1px rgba(239, 32, 38, 0.14);
}

.donate-program-card__icon {
  display: inline-flex;
  width: 40px;
  height: 40px;
  align-items: center;
  justify-content: center;
  background: rgba(240, 208, 0, 0.18);
  border: 1px solid rgba(240, 208, 0, 0.4);
  border-radius: 999px;
  color: var(--brand-dark-deep);
  font-family: var(--heading-font);
  font-size: 0.95rem;
  font-weight: 700;
}

.donate-program-card h3 {
  margin-bottom: 0.3rem;
  font-size: 1.2rem;
}

.donate-program-card p,
.donate-note,
.donate-visual__story p {
  color: var(--muted);
  font-size: 0.98rem;
}

.donate-card__label {
  color: var(--ink);
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.donate-choice-row,
.donate-amount-row,
.donate-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

.donate-choice,
.donate-amount {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--brand-dark-deep);
  font-weight: 800;
  text-align: center;
}

.donate-choice {
  min-width: 170px;
}

.donate-amount {
  min-width: 132px;
}

.donate-choice--active,
.donate-amount--active {
  background: rgba(240, 208, 0, 0.14);
  border-color: rgba(239, 32, 38, 0.34);
  color: var(--brand-red-dark);
}

.donate-total {
  color: var(--brand-dark-deep);
  font-family: var(--heading-font);
  font-size: clamp(2rem, 4vw, 2.8rem);
  line-height: 1;
}

.donate-visual {
  position: relative;
  min-height: 100%;
  background: var(--brand-dark-deep);
  color: #ffffff;
  overflow: hidden;
}

.donate-visual__topline {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 1.25rem;
  z-index: 2;
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem 1.25rem;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.donate-visual img {
  width: 100%;
  height: 100%;
  min-height: 640px;
  object-fit: cover;
  filter: brightness(0.82) saturate(0.94);
}

.donate-visual__story {
  position: absolute;
  left: clamp(1rem, 3vw, 2rem);
  right: clamp(1rem, 3vw, 2rem);
  bottom: clamp(1rem, 3vw, 2rem);
  z-index: 2;
  display: grid;
  gap: 0.85rem;
  padding: 1.3rem 1.35rem;
  background: rgba(11, 11, 13, 0.76);
  border-left: 4px solid var(--accent-gold);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.22);
}

.donate-visual__story h3 {
  color: #ffffff;
}

.donate-visual::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(11, 11, 13, 0.12), rgba(11, 11, 13, 0.24) 45%, rgba(11, 11, 13, 0.72));
  content: "";
}

.donate-section-intro {
  margin-bottom: 2rem;
}

.split-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.split-layout > *,
.section-copy,
.contact-detail,
.form-card {
  min-width: 0;
}

.split-layout > img,
.image-panel img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.lede {
  color: var(--muted);
  font-size: clamp(1.08rem, 2vw, 1.25rem);
}

.section-copy h2 + p,
.section-copy p + p {
  margin-top: 1rem;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(1rem, 2vw, 1.5rem);
  margin-top: 2rem;
}

.feature-grid--two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.info-card {
  display: grid;
  gap: 0.75rem;
  align-content: start;
  padding: 1.35rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 12px 30px rgba(20, 32, 51, 0.08);
}

.info-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: calc(var(--radius) - 2px);
}

.info-card h3 {
  color: var(--ink);
}

.info-card p,
.numbered-list p,
.contact-detail p {
  color: var(--muted);
}

.info-card ul {
  display: grid;
  gap: 0.45rem;
  padding-left: 1.2rem;
  color: var(--muted);
}

.text-link {
  color: var(--brand-red-dark);
  font-weight: 800;
}

.text-link:hover,
.text-link:focus-visible {
  color: var(--brand-dark);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.projects-shell {
  display: grid;
  gap: clamp(3rem, 6vw, 4.75rem);
}

.projects-intro,
.project-pillar__copy {
  max-width: 820px;
}

.projects-intro--gleam {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(260px, 0.8fr);
  gap: clamp(1.5rem, 4vw, 2.6rem);
  align-items: start;
}

.projects-nav--gleam {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.projects-nav--gleam a {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 0.72rem 1rem;
  background: rgba(23, 77, 125, 0.06);
  border: 1px solid rgba(23, 77, 125, 0.12);
  border-radius: var(--radius);
  color: var(--brand-dark-deep);
  font-size: 0.95rem;
  font-weight: 800;
  transition: background 180ms ease, color 180ms ease, border-color 180ms ease;
}

.projects-nav--gleam a:hover,
.projects-nav--gleam a:focus-visible {
  background: var(--surface-warm);
  border-color: rgba(17, 104, 173, 0.24);
  color: var(--brand-dark);
}

.projects-summary-card {
  display: grid;
  gap: 0.9rem;
  align-content: start;
  padding: clamp(1.5rem, 3vw, 2rem);
  background: linear-gradient(180deg, rgba(240, 208, 0, 0.12), rgba(239, 32, 38, 0.05));
  border: 1px solid rgba(216, 229, 239, 0.92);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(20, 32, 51, 0.06);
}

.projects-summary-card__stat {
  color: var(--brand-red-dark);
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  line-height: 1;
}

.projects-summary-card h3 {
  margin: 0;
}

.projects-summary-card p,
.projects-summary-card blockquote {
  margin: 0;
  color: var(--muted);
}

.projects-summary-card blockquote {
  padding-left: 1rem;
  border-left: 3px solid var(--brand-red);
  font-weight: 600;
  font-style: normal;
}

.project-pillar {
  display: grid;
  gap: 1.4rem;
}

.project-pillar__layout {
  display: grid;
  grid-template-columns: minmax(0, 1.02fr) minmax(0, 0.98fr);
  gap: clamp(1.6rem, 4vw, 3rem);
  align-items: center;
}

.project-pillar__layout--reverse .project-pillar__copy {
  order: 2;
}

.project-pillar__layout--reverse .project-pillar__media {
  order: 1;
}

.project-pillar__copy {
  min-width: 0;
}

.project-pillar__eyebrow {
  color: var(--brand-red-dark);
  font-size: 0.88rem;
  font-weight: 800;
  text-transform: uppercase;
}

.project-pillar__copy h2 {
  margin-top: 0.55rem;
}

.project-pillar__copy p {
  margin-top: 1rem;
  color: var(--muted);
}

.project-pillar__link {
  display: inline-flex;
  margin-top: 1rem;
}

.project-pillar__media img {
  display: block;
  width: 100%;
  min-height: 340px;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.project-pillar__media img:hover {
  transform: scale(1.015);
  box-shadow: 0 24px 60px rgba(23, 20, 20, 0.18);
}

.numbered-list {
  display: grid;
  gap: 1rem;
  margin-top: 2rem;
}

.numbered-list article {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 1rem;
  padding: 1.1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.numbered-list span {
  display: grid;
  width: 2.25rem;
  height: 2.25rem;
  place-items: center;
  background: var(--brand-red);
  border-radius: 50%;
  color: #0f2d20;
  font-weight: 800;
}

.contact-page-grid {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
  gap: clamp(1.2rem, 4vw, 3rem);
  align-items: start;
}

.contact-detail {
  display: grid;
  gap: 1rem;
}

.contact-detail a {
  color: var(--brand-dark-deep);
  font-weight: 800;
}

.form-card {
  display: grid;
  gap: 1rem;
  padding: 1.5rem;
  background: var(--surface-soft);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.form-card label {
  display: grid;
  gap: 0.35rem;
  color: var(--brand-dark-deep);
  font-weight: 800;
}

.form-card input,
.form-card textarea,
.form-card select {
  width: 100%;
  padding: 0.85rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  color: var(--ink);
  font: inherit;
}

.form-card textarea {
  min-height: 9rem;
  resize: vertical;
}

.faq-list {
  display: grid;
  gap: 0.85rem;
  margin-top: 2rem;
}

.faq-list details {
  padding: 1rem 1.1rem;
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.faq-list summary {
  color: var(--brand-dark-deep);
  cursor: pointer;
  font-weight: 800;
}

.faq-list p {
  margin-top: 0.7rem;
  color: var(--muted);
}

.site-footer {
  background: var(--brand-dark-deep);
  color: rgba(255, 255, 255, 0.86);
}

.footer-main {
  padding: clamp(3.3rem, 7vw, 5.5rem) clamp(1rem, 4vw, 3rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: clamp(1.5rem, 3.5vw, 3.5rem);
  align-items: start;
}

.footer-column {
  min-width: 0;
}

.footer-column h2 {
  display: inline-block;
  padding-bottom: 0.58rem;
  border-bottom: 3px solid var(--accent-gold);
  color: #ffffff;
  font-size: clamp(1.45rem, 2.4vw, 2rem);
  line-height: 1.1;
}

.footer-column address,
.footer-column nav {
  display: grid;
  gap: 0.58rem;
  margin-top: 1.55rem;
  font-style: normal;
}

.footer-column p {
  max-width: 15rem;
  margin-top: 1.55rem;
}

.footer-column a,
.footer-column span,
.footer-column p {
  color: rgba(255, 255, 255, 0.86);
  font-size: 1.02rem;
}

.footer-column a:hover,
.footer-column a:focus-visible {
  color: var(--accent-gold);
  text-decoration: underline;
  text-underline-offset: 0.2rem;
}

.footer-button {
  display: inline-flex;
  min-height: 60px;
  align-items: center;
  justify-content: center;
  min-width: min(100%, 15rem);
  margin-top: 1.55rem;
  padding: 0.85rem 1.5rem;
  background: var(--brand-red);
  border-radius: var(--radius);
  color: #ffffff;
  font-size: 1.35rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  line-height: 1.15;
  text-align: center;
  text-transform: uppercase;
}

.footer-button:hover,
.footer-button:focus-visible {
  background: #c3191f;
  color: #ffffff;
  text-decoration: none;
}

.footer-bottom {
  padding: 1.05rem clamp(1rem, 4vw, 3rem);
  background: #050507;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  body.is-animating main,
  body.is-ready main,
  .reveal,
  .reveal.is-visible,
  .button,
  .program-card,
  .site-header,
  .header-main,
  .brand img,
  .header-actions,
  .header-action {
    transition: none !important;
    transform: none !important;
    opacity: 1 !important;
  }
}

.footer-bottom__inner {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  align-items: center;
}

.footer-bottom p {
  color: rgba(255, 255, 255, 0.92);
}

/* Social links */
.social-links {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.social-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  color: rgba(255, 255, 255, 0.86);
  transition: background 180ms ease, border-color 180ms ease, color 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
  background: var(--accent-gold);
  border-color: var(--accent-gold);
  color: var(--ink);
  text-decoration: none;
}

.social-links svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

/* Focus indicators */
*:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 2px;
}

.button:focus-visible {
  outline: 3px solid var(--accent-gold);
  outline-offset: 3px;
}

.site-nav a:focus-visible {
  outline: 2px solid var(--accent-gold);
  outline-offset: 3px;
  background: rgba(240, 208, 0, 0.12);
}

/* Info card hover enhancement */
.info-card {
  transition: box-shadow 220ms ease, transform 220ms ease, border-color 220ms ease;
}

.info-card:hover {
  border-color: rgba(240, 208, 0, 0.35);
  box-shadow: 0 18px 44px rgba(20, 32, 51, 0.12);
  transform: translateY(-2px);
}

/* Breadcrumbs */
.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.62);
}

.breadcrumb a {
  color: rgba(255, 255, 255, 0.72);
  transition: color 180ms ease;
}

.breadcrumb a:hover,
.breadcrumb a:focus-visible {
  color: var(--accent-gold);
}

.breadcrumb__sep {
  opacity: 0.45;
}

/* WhatsApp floating action button */
.whatsapp-fab {
  position: fixed;
  bottom: calc(1.5rem + var(--safe-bottom));
  right: calc(1.5rem + var(--safe-right));
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  background: var(--whatsapp-green);
  border-radius: 50%;
  color: #ffffff;
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.35);
  transition: transform 220ms ease, box-shadow 220ms ease;
  animation: whatsapp-enter 600ms ease 1s both;
}

body.has-sticky-bar .whatsapp-fab {
  bottom: calc(85px + var(--safe-bottom));
}

.whatsapp-fab:hover,
.whatsapp-fab:focus-visible {
  transform: scale(1.08);
  box-shadow: 0 8px 26px rgba(37, 211, 102, 0.45);
  color: #ffffff;
  text-decoration: none;
}

.whatsapp-fab svg {
  width: 28px;
  height: 28px;
  fill: currentColor;
}

@keyframes whatsapp-enter {
  from {
    opacity: 0;
    transform: translateY(20px) scale(0.8);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Stat animated counter */
.stat-number[data-count] {
  transition: color 200ms ease;
}

/* Form success/error states */
.form-status {
  display: none;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
}

.form-status--success {
  display: flex;
  background: rgba(37, 211, 102, 0.1);
  border: 1px solid rgba(37, 211, 102, 0.3);
  color: #1a7a3a;
}

.form-status--error {
  display: flex;
  background: rgba(239, 32, 38, 0.08);
  border: 1px solid rgba(239, 32, 38, 0.24);
  color: var(--brand-red-dark);
}

.form-card .button[disabled] {
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 1020px) {
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }

  .mobile-nav-backdrop {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    height: 100dvh;
    background: rgba(15, 23, 42, 0.45);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .mobile-nav-backdrop.is-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
  }

  .header-actions {
    display: none !important;
  }

  .site-header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    border-bottom: 1px solid var(--line, #e2e8f0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    padding: var(--safe-top) 0 0 0;
  }

  .header-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 64px;
    height: 64px;
    padding: 0 clamp(0.85rem, 3vw, 1.5rem);
    gap: 0.75rem;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
  }

  .brand {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    min-width: 0;
    max-width: calc(100% - 62px);
    text-decoration: none;
  }

  .brand img {
    width: auto;
    height: clamp(38px, 9vw, 46px);
    max-height: 46px;
    max-width: 110px;
    object-fit: contain;
    flex-shrink: 0;
  }

  .brand-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
  }

  .brand-text__title {
    font-size: clamp(0.92rem, 3.4vw, 1.15rem);
    font-weight: 800;
    color: var(--brand-dark);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.15;
  }

  .brand-text__subtitle {
    font-size: clamp(0.58rem, 2vw, 0.68rem);
    color: var(--muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.2;
  }

  .nav-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 1002;
    width: 48px;
    height: 48px;
    min-width: 48px;
    min-height: 48px;
    margin-left: auto;
    flex-shrink: 0;
    background: var(--ink, #0f172a);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: var(--radius, 8px);
    color: #ffffff;
    cursor: pointer;
    touch-action: manipulation;
    padding: 0;
    transition: background 0.18s ease, transform 0.18s ease;
  }

  .nav-toggle:hover,
  .nav-toggle:focus-visible {
    background: var(--brand-dark-deep, #070e17);
  }

  .nav-toggle span.hamburger-line,
  .nav-toggle span:not(.sr-only) {
    position: absolute;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 2px;
    transition: transform 220ms ease, opacity 220ms ease;
  }

  .nav-toggle span.hamburger-line:nth-child(2),
  .nav-toggle span:nth-child(2) {
    transform: translateY(-6px);
  }

  .nav-toggle span.hamburger-line:nth-child(3),
  .nav-toggle span:nth-child(3) {
    transform: translateY(0);
  }

  .nav-toggle span.hamburger-line:nth-child(4),
  .nav-toggle span:nth-child(4) {
    transform: translateY(6px);
  }

  .nav-toggle[aria-expanded="true"] span.hamburger-line:nth-child(2),
  .nav-toggle[aria-expanded="true"] span:nth-child(2) {
    transform: rotate(45deg);
  }

  .nav-toggle[aria-expanded="true"] span.hamburger-line:nth-child(3),
  .nav-toggle[aria-expanded="true"] span:nth-child(3) {
    opacity: 0;
  }

  .nav-toggle[aria-expanded="true"] span.hamburger-line:nth-child(4),
  .nav-toggle[aria-expanded="true"] span:nth-child(4) {
    transform: rotate(-45deg);
  }

  /* Full-width Dropdown Menu Beneath Header */
  .site-nav {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    width: 100%;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 1rem clamp(1rem, 4vw, 1.5rem) 1.5rem;
    background: #ffffff;
    border-bottom: 3px solid var(--brand-red, #ef2026);
    box-shadow: 0 16px 36px rgba(0, 0, 0, 0.14);
    z-index: 1001;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    max-height: calc(100dvh - 68px);
    box-sizing: border-box;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: transform 220ms cubic-bezier(0.16, 1, 0.3, 1), opacity 220ms ease;
  }

  .site-nav.is-open {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .site-nav__links {
    display: flex;
    flex-direction: column;
    width: 100%;
    gap: 0.25rem;
  }

  .site-nav__link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    min-height: 48px;
    padding: 0.75rem 1rem;
    color: var(--ink, #0f172a);
    font-family: var(--body-font, 'Inter', sans-serif);
    font-size: 1.05rem;
    font-weight: 600;
    line-height: 1.2;
    text-decoration: none;
    border-radius: var(--radius, 8px);
    background: #ffffff;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.18s ease;
    box-sizing: border-box;
  }

  .site-nav__link:last-child {
    border-bottom: none;
  }

  .site-nav__link .site-nav__arrow {
    color: #94a3b8;
    transition: transform 0.18s ease, color 0.18s ease;
    flex-shrink: 0;
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible {
    background: #f8fafc;
    color: var(--brand-red, #ef2026);
    padding-left: 1.25rem;
  }

  .site-nav__link:hover .site-nav__arrow,
  .site-nav__link:focus-visible .site-nav__arrow {
    transform: translateX(3px);
    color: var(--brand-red, #ef2026);
  }

  .site-nav__link.is-active,
  .site-nav__link[aria-current="page"] {
    background: rgba(239, 32, 38, 0.06);
    color: var(--brand-red, #ef2026);
    font-weight: 700;
    border-left: 3px solid var(--brand-red, #ef2026);
  }

  .site-nav__link.is-active .site-nav__arrow,
  .site-nav__link[aria-current="page"] .site-nav__arrow {
    color: var(--brand-red, #ef2026);
  }

  .site-nav__action {
    width: 100%;
    margin-top: 0.85rem;
    padding-top: 0.85rem;
    border-top: 1px dashed var(--line, #e2e8f0);
  }

  .site-nav__action .button,
  .site-nav__action .button--primary {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    background: var(--brand-red, #ef2026);
    color: #ffffff;
    font-family: var(--heading-font, 'Oswald', sans-serif);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    border-radius: var(--radius, 12px);
    box-shadow: 0 4px 14px rgba(239, 32, 38, 0.35);
    text-decoration: none;
    transition: all 0.18s ease;
  }

  .site-nav__action .button:hover,
  .site-nav__action .button:focus-visible {
    background: var(--brand-red-dark, #c8151b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(239, 32, 38, 0.45);
  }

  .site-nav a::after {
    display: none;
  }

  .impact-layout,
  .donate-layout,
  .contact-layout,
  .footer-bottom__inner,
  .split-layout,
  .contact-page-grid,
  .donate-campaign__shell {
    grid-template-columns: 1fr;
  }

  .pillar-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
  }

  .program-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    max-width: 760px;
    width: 100%;
    margin-inline: auto;
    gap: 1.5rem;
  }

  .program-card img {
    height: 200px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1.5rem, 3vw, 2.5rem);
  }

  .feature-grid,
  .feature-grid--two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .donate-visual img {
    min-height: 520px;
  }

  .projects-intro--gleam,
  .project-pillar__layout {
    grid-template-columns: 1fr;
  }

  .project-pillar__layout--reverse .project-pillar__copy,
  .project-pillar__layout--reverse .project-pillar__media {
    order: initial;
  }

  .impact-story {
    justify-self: start;
  }

  .donate-layout {
    justify-items: start;
  }

  .stats-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(1.25rem, 3vw, 2rem);
  }

  .footer-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1021px) {
  .mobile-nav-backdrop {
    display: none !important;
  }

  .site-nav__arrow {
    display: none !important;
  }

  .header-main {
    grid-template-columns: auto minmax(0, 1fr);
    gap: clamp(1rem, 2vw, 1.8rem);
  }

  .header-main > .brand {
    display: inline-flex;
    justify-self: start;
    align-self: center;
  }

  .site-nav {
    position: static;
    display: flex;
    flex-direction: row;
    width: 100%;
    max-height: none;
    overflow-y: visible;
    padding: 0;
    background: transparent;
    border: none;
    box-shadow: none;
    transform: none;
    opacity: 1;
    pointer-events: auto;
    gap: clamp(0.25rem, 0.7vw, 0.6rem);
    align-items: center;
    justify-content: flex-end;
  }

  .site-nav__links {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: clamp(0.15rem, 0.5vw, 0.4rem);
    width: auto;
  }

  .site-nav__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    padding: 0.35rem clamp(0.45rem, 0.75vw, 0.75rem);
    color: var(--brand-dark);
    font-family: var(--heading-font);
    font-size: clamp(0.85rem, 1.05vw, 0.98rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    border-radius: var(--radius);
    background: transparent;
    border-bottom: none;
    border-left: none;
    white-space: nowrap;
    transition: color 180ms ease, background-color 180ms ease;
  }

  .site-nav__link:hover,
  .site-nav__link:focus-visible {
    color: var(--brand-red);
    background: rgba(239, 32, 38, 0.06);
    padding-left: clamp(0.45rem, 0.75vw, 0.75rem);
  }

  .site-nav__link.is-active,
  .site-nav__link[aria-current="page"] {
    color: var(--brand-red);
    background: rgba(239, 32, 38, 0.08);
    border-left: none;
  }

  .site-nav__action {
    display: inline-flex;
    align-items: center;
    width: auto;
    margin-top: 0;
    padding-top: 0;
    border-top: none;
    margin-left: clamp(0.25rem, 0.6vw, 0.75rem);
  }

  .site-nav__action .button,
  .site-nav__action .button--primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    min-height: 40px;
    padding: 0.4rem 1.1rem;
    font-size: 0.9rem;
    letter-spacing: 0.04em;
    border-radius: 999px;
  }

  .site-nav__group--left {
    justify-content: flex-end;
  }

  .site-nav__group--right {
    justify-content: flex-end;
  }

  .site-nav__brand {
    display: none;
  }
}

@media (max-width: 560px) {
  .hero__content {
    padding: 4.2rem 0 4.8rem;
  }

  h1 {
    font-size: clamp(2.45rem, 14vw, 3.35rem);
  }

  h2 {
    font-size: clamp(1.85rem, 9vw, 2.35rem);
  }

  .page-hero h1 {
    font-size: clamp(2.55rem, 13vw, 3.5rem);
  }

  .hero__actions,
  .hero__actions .button {
    width: 100%;
  }

  .projects-nav--gleam a {
    width: 100%;
    justify-content: flex-start;
    border-radius: var(--radius);
  }

  .program-grid {
    grid-template-columns: 1fr;
    width: 100%;
    max-width: 440px;
    margin-inline: auto;
    gap: 1.5rem;
  }

  .program-card img {
    height: 180px;
  }

  .stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(1rem, 2vw, 1.5rem);
  }

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

  .donate-card h2 {
    max-width: none;
  }

  .donate-program-grid {
    grid-template-columns: 1fr;
  }

  .donate-choice-row,
  .donate-amount-row,
  .donate-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .donate-choice,
  .donate-amount {
    width: 100%;
  }

  .donate-visual__topline {
    justify-content: flex-start;
    font-size: 0.72rem;
  }

  .donate-visual img {
    min-height: 360px;
  }

  .project-pillar__media img {
    min-height: 240px;
  }

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

  .stat-number {
    font-size: clamp(2rem, 4.5vw, 2.8rem);
  }

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

  .footer-button {
    width: 100%;
  }

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

/* Stats section is now visible — orphaned display:none rule removed */

/* ==========================================================================
   WHAT WE DO PAGE REDESIGN
   ========================================================================== */
.what-we-do-page {
  background: var(--surface-warm);
}

.wwd-hero {
  position: relative;
  min-height: 55vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8rem 5%;
  text-align: center;
  overflow: hidden;
  color: var(--text-light);
}

.wwd-hero__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.wwd-hero__bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.wwd-hero__bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(11, 11, 13, 0.4);
}

.glass-panel {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.wwd-hero__content {
  position: relative;
  z-index: 1;
  max-width: 800px;
  padding: 3rem;
}

.wwd-hero__content .eyebrow {
  color: var(--accent-gold);
  margin-bottom: 1rem;
}

.wwd-hero__content h1 {
  font-size: clamp(2.5rem, 6vw, 4.5rem);
  margin-bottom: 1.5rem;
  color: #fff;
}

.wwd-hero__content p {
  font-size: clamp(1.1rem, 2vw, 1.25rem);
  color: #e5e5e5;
}

.wwd-content {
  padding: 6rem 5%;
}

.wwd-container {
  max-width: var(--max-width);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(220px, 280px) 1fr;
  gap: 3.5rem;
  align-items: start;
  min-width: 0;
  width: 100%;
}

.wwd-sidebar {
  position: sticky;
  top: 120px;
  min-width: 0;
  max-width: 100%;
}

.wwd-sidebar__inner {
  min-width: 0;
  max-width: 100%;
}

.wwd-sidebar__title {
  font-size: 1.5rem;
  margin-bottom: 2rem;
  color: var(--brand-dark);
}

.wwd-nav {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2.5rem;
  min-width: 0;
  max-width: 100%;
}

.wwd-nav__link {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius-sm);
  color: var(--muted);
  text-decoration: none;
  font-weight: 500;
  transition: all 0.3s ease;
  background: transparent;
}

.wwd-nav__link:hover,
.wwd-nav__link.active {
  background: #ffffff;
  color: #0f766e;
  box-shadow: 0 4px 14px rgba(15, 118, 110, 0.12);
  border-left: 3px solid #0f766e;
  transform: translateX(4px);
}

.wwd-nav__link.active .wwd-nav__num {
  color: #0f766e;
  font-weight: 700;
}

.wwd-nav__num {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  color: #ccc;
  transition: color 0.3s ease;
}

.wwd-summary-card {
  padding: 2rem;
  background: #fff;
  border: 1px solid rgba(0,0,0,0.05);
}

.wwd-summary-card__stat {
  font-family: var(--font-heading);
  font-size: 4rem;
  color: var(--accent-gold);
  line-height: 1;
  margin-bottom: 1rem;
}

.wwd-summary-card h4 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.wwd-summary-card p {
  color: var(--muted);
  font-size: 0.95rem;
}

.wwd-pillars {
  display: flex;
  flex-direction: column;
  gap: 6rem;
}

.wwd-pillar-card {
  position: relative;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  padding: 3rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  overflow: hidden;
  scroll-margin-top: 130px;
  opacity: 1 !important;
  visibility: visible !important;
  transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.wwd-pillar-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.wwd-pillar-card__bg-num {
  position: absolute;
  top: -2rem;
  right: -2rem;
  font-family: var(--font-heading);
  font-size: 20rem;
  line-height: 1;
  color: var(--surface-warm);
  opacity: 0.4;
  z-index: 0;
  pointer-events: none;
}

.wwd-pillar-card__media {
  position: relative;
  z-index: 1;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 4/3;
}

.program-card img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.wwd-pillar-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.wwd-pillar-card:hover .wwd-pillar-card__media img {
  transform: scale(1.05);
}

.wwd-pillar-card__content {
  position: relative;
  z-index: 1;
}

.wwd-pillar-card__eyebrow {
  color: var(--brand-red);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  font-size: 0.85rem;
  margin-bottom: 1rem;
}

.wwd-pillar-card h2 {
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  margin-bottom: 1.5rem;
  color: var(--brand-dark);
}

.wwd-pillar-card__text {
  color: var(--muted);
  margin-bottom: 2rem;
}

.wwd-pillar-card__text p {
  margin-bottom: 1rem;
}

.wwd-pillar-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
}

.wwd-pillar-card__link svg {
  transition: transform 0.3s ease;
}

.wwd-pillar-card__link:hover svg {
  transform: translateX(4px);
}

/* Alternate layout for even cards */
.wwd-pillar-card:nth-child(even) .wwd-pillar-card__media {
  order: 2;
}

.wwd-pillar-card:nth-child(even) .wwd-pillar-card__content {
  order: 1;
}

.wwd-pillar-card:nth-child(even) .wwd-pillar-card__bg-num {
  left: -2rem;
  right: auto;
}

/* Animations */
.fade-up {
  opacity: 1;
  transform: none;
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-up.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 1080px) {
  .wwd-container {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  
  .wwd-sidebar {
    position: static;
    width: 100%;
  }
  
  .wwd-nav {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.5rem;
    overflow-x: visible;
    width: 100%;
  }
  
  .wwd-nav__link {
    white-space: normal;
    flex: 1 1 calc(50% - 0.5rem);
    min-width: 140px;
    min-height: 48px;
  }
  
  .wwd-pillar-card {
    grid-template-columns: 1fr;
    gap: 2rem;
    padding: 1.75rem;
  }
  
  .wwd-pillar-card:nth-child(even) .wwd-pillar-card__media,
  .wwd-pillar-card:nth-child(even) .wwd-pillar-card__content {
    order: 0;
  }
}

@media (max-width: 640px) {
  .wwd-nav__link {
    flex: 1 1 100%;
    width: 100%;
  }

  .wwd-hero {
    padding: 5rem 1rem;
    min-height: 40vh;
  }

  .wwd-hero__content {
    padding: 1.5rem 1rem;
  }

  .wwd-content {
    padding: 3rem 1rem;
  }

  .wwd-pillar-card {
    padding: 1.25rem;
  }
}

/* ==========================================================================
   PRODUCTION ENHANCEMENTS: NIHIRA FOUNDATION OVERHAUL
   ========================================================================== */

/* Accessible Focus States */
:focus-visible {
  outline: 3px solid var(--brand-red-dark, #b7181c) !important;
  outline-offset: 3px !important;
}

/* Impact Metrics Counter Grid */
.impact-metrics-section {
  padding: 4.5rem 0;
  background: var(--surface-warm);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
  margin-top: 2.5rem;
}

.metric-card {
  background: var(--surface);
  padding: 2.25rem 1.5rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.metric-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.metric-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 14px;
  background: rgba(183, 24, 28, 0.08);
  color: var(--brand-red);
  margin-bottom: 0.75rem;
}

.metric-icon svg,
.metric-icon .icon-svg {
  width: 30px;
  height: 30px;
  stroke: currentColor;
}

.metric-card .stat-number {
  font-family: var(--heading-font);
  font-size: 3rem;
  font-weight: 700;
  color: var(--brand-red);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-label {
  font-family: var(--heading-font);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.metric-desc {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

/* Giving Tiers Section */
.giving-tiers-section {
  padding: 5rem 0;
  background: var(--surface);
}

.giving-tiers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-top: 2.75rem;
  align-items: stretch;
}

.giving-card {
  background: var(--surface);
  border: 2px solid var(--line);
  border-radius: var(--radius);
  padding: 2rem 1.5rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.giving-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-red);
  box-shadow: 0 12px 35px rgba(239, 32, 38, 0.1);
}

.giving-card--featured {
  border-color: var(--brand-red);
  box-shadow: 0 8px 30px rgba(239, 32, 38, 0.12);
  background: linear-gradient(180deg, #ffffff 0%, #fffbfb 100%);
}

.giving-card__badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  background: var(--surface-warm);
  color: var(--muted);
  border-radius: 50px;
  margin-bottom: 1rem;
}

.giving-card__badge--popular {
  background: var(--brand-red);
  color: #ffffff;
}

.giving-card__amount {
  font-family: var(--heading-font);
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1rem;
}

.giving-card__amount .usd-equiv {
  display: block;
  font-size: 0.95rem;
  font-family: var(--body-font);
  font-weight: 500;
  color: var(--muted);
  margin-top: 0.25rem;
}

.giving-card__body p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin-bottom: 1.5rem;
}

.button--full {
  width: 100%;
  text-align: center;
  justify-content: center;
}

/* Trust, Governance & Transparency */
.trust-credibility-section {
  padding: 5rem 0;
  background: var(--surface-soft);
  border-top: 1px solid var(--line);
}

.trust-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 2.5rem;
}

.trust-item {
  background: var(--surface);
  padding: 2.25rem 1.75rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  text-align: center;
}

.trust-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(183, 24, 28, 0.08);
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.trust-icon svg,
.trust-icon .icon-svg {
  width: 28px;
  height: 28px;
  stroke: currentColor;
}

.trust-item h3 {
  font-family: var(--heading-font);
  font-size: 1.35rem;
  margin-bottom: 0.75rem;
}

.trust-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
}

.trust-box {
  background: var(--brand-dark-deep);
  color: #ffffff;
  padding: 3.5rem 2.5rem;
  border-radius: var(--radius);
  text-align: center;
}

.trust-box h2 {
  color: var(--accent-gold);
  font-size: 2rem;
  margin-bottom: 1rem;
}

.trust-box p {
  max-width: 720px;
  margin: 0 auto 2rem;
  color: #e5dcd7;
  font-size: 1.1rem;
}

.trust-box__actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* Detailed Program Cards (page-programs.php) */
.pillar-nav-section {
  background: var(--brand-dark-deep);
  padding: 1rem 0;
  position: sticky;
  top: 70px;
  z-index: 15;
}

.pillar-nav-pills {
  display: flex;
  gap: 0.75rem;
  overflow-x: auto;
  padding: 0.25rem 0;
  scrollbar-width: none;
}

.pillar-nav-pills::-webkit-scrollbar {
  display: none;
}

.pillar-pill {
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  padding: 0.5rem 1rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.1);
  white-space: nowrap;
  transition: background 0.2s ease, color 0.2s ease;
}

.pillar-pill:hover,
.pillar-pill:focus-visible {
  background: var(--accent-gold);
  color: var(--ink);
}

.programs-detailed-list {
  display: grid;
  gap: 4rem;
}

.program-detailed-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  padding-bottom: 3rem;
  border-bottom: 1px solid var(--line);
}

.program-detailed-card:nth-child(even) .program-detailed-card__media {
  order: 2;
}

.program-detailed-card:nth-child(even) .program-detailed-card__content {
  order: 1;
}

.program-detailed-card__media img {
  border-radius: var(--radius);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  width: 100%;
  height: 360px;
  object-fit: cover;
}

.program-badge {
  display: inline-block;
  background: var(--brand-red);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 0.3rem 0.75rem;
  border-radius: 4px;
  margin-bottom: 0.75rem;
}

.program-detailed-card h2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.program-lead {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ink);
  margin-bottom: 1rem;
}

.program-highlights {
  background: var(--surface-warm);
  padding: 1.5rem;
  border-radius: var(--radius);
  margin: 1.5rem 0;
}

.program-highlights h3 {
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}

.program-highlights ul {
  padding-left: 1.25rem;
  margin: 0;
}

.program-highlights li {
  font-size: 0.95rem;
  color: var(--muted);
  margin-bottom: 0.5rem;
}

/* Milestone Timeline (page-about.php) */
.timeline-section {
  padding: 5rem 0;
  background: var(--surface);
}

.timeline {
  position: relative;
  max-width: 900px;
  margin: 3rem auto 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 4px;
  background-color: var(--line);
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -2px;
}

.timeline-item {
  padding: 1rem 2.5rem;
  position: relative;
  width: 50%;
}

.timeline-item--left {
  left: 0;
  text-align: right;
}

.timeline-item--right {
  left: 50%;
  text-align: left;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background-color: var(--brand-red);
  border: 4px solid #ffffff;
  top: 1.5rem;
  border-radius: 50%;
  z-index: 1;
}

.timeline-item--right::after {
  left: -10px;
}

.timeline-item__content {
  padding: 1.75rem;
  background-color: var(--surface-warm);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.timeline-date {
  display: inline-block;
  font-family: var(--heading-font);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-red);
  margin-bottom: 0.5rem;
}

.timeline-item__content h3 {
  font-size: 1.3rem;
  margin-bottom: 0.5rem;
}

.timeline-item__content p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.6;
  margin: 0;
}

/* Donation Page Calculator & Payment Methods Box */
.donate-summary-box {
  background: var(--surface-warm);
  padding: 1.75rem;
  border-radius: var(--radius);
  text-align: center;
  margin: 1.5rem 0;
  border: 1px solid var(--line);
}

.donate-total {
  font-family: var(--heading-font);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--brand-red);
}

.donate-usd-conversion {
  font-size: 1rem;
  font-weight: 600;
  color: var(--muted);
  margin-bottom: 0.75rem;
}

.donate-impact-text {
  font-size: 0.95rem;
  color: var(--ink);
  line-height: 1.5;
  background: #ffffff;
  padding: 0.85rem 1.25rem;
  border-radius: 6px;
  border-left: 4px solid var(--brand-red);
}

.payment-methods-box {
  margin: 2rem 0;
}

.payment-methods-box h3 {
  font-size: 1.15rem;
  margin-bottom: 1rem;
}

.payment-method-item {
  background: #ffffff;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 1.25rem;
  margin-bottom: 1rem;
}

.payment-badge {
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--ink);
}

.payment-method-content {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.6;
}

.payment-method-content p {
  margin-bottom: 0.25rem;
}

.payment-method-content strong {
  color: var(--ink);
}

/* Contact Page Additions */
.contact-info-cards {
  display: grid;
  gap: 1.25rem;
  margin: 2rem 0;
}

.contact-info-card {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.25rem;
  background: var(--surface-warm);
  border-radius: var(--radius);
  border: 1px solid var(--line);
}

.contact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(183, 24, 28, 0.08);
  color: var(--brand-red);
  flex-shrink: 0;
}

.contact-icon svg,
.contact-icon .icon-svg {
  width: 22px;
  height: 22px;
  stroke: currentColor;
}

.info-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(183, 24, 28, 0.08);
  color: var(--brand-red);
  margin-bottom: 1rem;
}

.info-card__icon svg,
.info-card__icon .icon-svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.impact-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(16, 185, 129, 0.12);
  color: #059669;
  flex-shrink: 0;
}

.impact-icon svg,
.impact-icon .icon-svg {
  width: 26px;
  height: 26px;
  stroke: currentColor;
}

.receipt-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: rgba(16, 185, 129, 0.15);
  color: #059669;
  margin: 0 auto 0.75rem auto;
}

.receipt-check svg,
.receipt-check .icon-svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.pay-tab .icon-svg {
  vertical-align: -2px;
  margin-right: 4px;
}

.sendwave-brand .icon-svg {
  vertical-align: -3px;
  margin-right: 4px;
}

.flag-icon {
  display: inline-flex;
  align-items: center;
  margin-right: 6px;
}

.flag-icon svg {
  border-radius: 2px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12);
}

.contact-info-card strong {
  display: block;
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
}

.contact-info-card p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
  margin: 0;
}

.button--whatsapp {
  background: #25d366;
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  width: 100%;
}

.button--whatsapp:hover {
  background: #1ebc59;
}

.contact-whatsapp-banner {
  background: #e9fbf0;
  border: 1px solid #b7eed0;
  padding: 1.5rem;
  border-radius: var(--radius);
  margin-top: 1.5rem;
}

.contact-whatsapp-banner p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #125e2e;
  margin-bottom: 0.75rem;
}

/* Responsive Overrides */
@media (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
  }

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

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

  .program-detailed-card {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .program-detailed-card:nth-child(even) .program-detailed-card__media {
    order: 0;
  }

  .program-detailed-card:nth-child(even) .program-detailed-card__content {
    order: 0;
  }

  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 15px;
    text-align: left;
  }

  .timeline-item--right {
    left: 0%;
  }

  .timeline-item::after {
    left: 21px;
  }
}

@media (max-width: 600px) {
  .metrics-grid {
    grid-template-columns: 1fr;
  }

  .giving-tiers-grid {
    grid-template-columns: 1fr;
  }

  .trust-box {
    padding: 2.5rem 1.5rem;
  }
}

/* ==========================================================================
   NIHIRA FOUNDATION — DONATION & SENDWAVE PAYMENT SYSTEM STYLES
   ========================================================================== */

/* 1. Live Status Badges & Banners */
.live-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 9999px;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  backdrop-filter: blur(8px);
}

.status--active {
  background: rgba(34, 197, 94, 0.18);
  border: 1px solid rgba(34, 197, 94, 0.4);
  color: #22c55e;
}

.status--progress {
  background: rgba(234, 179, 8, 0.18);
  border: 1px solid rgba(234, 179, 8, 0.4);
  color: #eab308;
}

.status--paused {
  background: rgba(239, 68, 68, 0.18);
  border: 1px solid rgba(239, 68, 68, 0.4);
  color: #ef4444;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
  display: inline-block;
  box-shadow: 0 0 8px currentColor;
  animation: pulse-dot 2s infinite;
}

@keyframes pulse-dot {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.25); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

.form-status-banner {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-radius: 12px;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  line-height: 1.5;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.75rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 500;
  color: #ffffff;
}

/* 2. Main Donation Layout */
.donate-grid-layout {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
}

.donate-primary-card,
.donate-secondary-card {
  background: #ffffff;
  border: 1px solid rgba(16, 25, 36, 0.08);
  border-radius: 20px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.04);
}

.card-step-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1.5rem;
}

.step-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #1b8a5a;
  color: #ffffff;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

.card-step-header h2 {
  font-size: 1.4rem;
  margin: 0;
  color: #101924;
}

/* 3. Currency & Frequency Toggles */
.donation-control-group {
  margin-bottom: 1.75rem;
}

.control-label {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #4a5568;
  margin-bottom: 0.65rem;
}

.currency-toggle-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.currency-pill {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 1rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
  text-align: center;
}

.currency-pill:hover,
.currency-pill:focus-visible {
  border-color: #1b8a5a;
  background: #f0fdf4;
  outline: none;
}

.currency-pill--active {
  border-color: #1b8a5a !important;
  background: #ecfdf5 !important;
  box-shadow: 0 4px 12px rgba(27, 138, 90, 0.15);
}

.currency-code {
  font-weight: 700;
  font-size: 1.05rem;
  color: #101924;
}

.currency-sub {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.2rem;
}

.frequency-toggle-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
}

.frequency-pill {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.75rem 0.5rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  transition: all 0.2s ease;
}

.frequency-pill:hover,
.frequency-pill:focus-visible {
  border-color: #1b8a5a;
  background: #f0fdf4;
  outline: none;
}

.frequency-pill--active {
  border-color: #1b8a5a !important;
  background: #1b8a5a !important;
  color: #ffffff !important;
}

.popular-ribbon {
  position: absolute;
  top: -8px;
  right: 6px;
  background: #d97706;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

/* 4. Amount Cards Grid */
.amount-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
}

.amount-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  background: #ffffff;
  border: 2px solid #e2e8f0;
  border-radius: 14px;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  min-height: 96px;
}

.amount-card:hover,
.amount-card:focus-visible {
  border-color: #1b8a5a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.06);
  outline: none;
}

.amount-card--active {
  border-color: #1b8a5a !important;
  background: #f0fdf4 !important;
  box-shadow: 0 6px 20px rgba(27, 138, 90, 0.2) !important;
}

.amount-card .amount-val {
  font-size: 1.1rem;
  font-weight: 800;
  color: #101924;
}

.amount-card .usd-hint {
  font-size: 0.75rem;
  color: #64748b;
  margin-top: 0.15rem;
}

.amount-card .amount-tag {
  font-size: 0.7rem;
  font-weight: 600;
  color: #1b8a5a;
  margin-top: 0.35rem;
}

.amount-card .amount-badge {
  position: absolute;
  top: -10px;
  background: #1b8a5a;
  color: #ffffff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
  text-transform: uppercase;
}

/* Custom Input Field */
.custom-amount-wrap {
  margin-top: 1rem;
  background: #f8fafc;
  padding: 1.25rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.custom-amount-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.5rem;
}

.custom-input-box {
  display: flex;
  align-items: center;
  background: #ffffff;
  border: 2px solid #cbd5e1;
  border-radius: 8px;
  padding: 0 0.75rem;
}

.custom-currency-prefix {
  font-weight: 700;
  color: #64748b;
  padding-right: 0.5rem;
}

.custom-input-box .custom-input {
  border: none !important;
  box-shadow: none !important;
  font-size: 1.1rem;
  font-weight: 700;
  padding: 0.75rem 0;
  width: 100%;
}

/* 5. Live Dynamic Impact Statement Card */
.live-impact-card {
  background: linear-gradient(135deg, #0d3826 0%, #155e3c 100%);
  color: #ffffff;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 1.5rem;
  box-shadow: 0 8px 24px rgba(13, 56, 38, 0.25);
}

.impact-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 0.75rem;
}

.impact-icon {
  font-size: 1.75rem;
}

.impact-lead-label {
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #86efac;
}

.impact-amount-selected {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
}

.impact-statement-text {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #f0fdf4;
  margin: 0;
}

.impact-footline {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1rem;
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 0.8rem;
  color: #86efac;
}

/* 6. Donor Form Controls */
.form-row--two-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.85rem;
  font-weight: 600;
  color: #334155;
  margin-bottom: 0.35rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1.5px solid #cbd5e1;
  border-radius: 10px;
  font-size: 0.95rem;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #1b8a5a;
  box-shadow: 0 0 0 3px rgba(27, 138, 90, 0.15);
  outline: none;
}

.form-checkbox-group {
  margin: 1.25rem 0;
}

.checkbox-container {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  font-size: 0.85rem;
  color: #475569;
  margin-bottom: 0.75rem;
  cursor: pointer;
}

.checkbox-container input {
  margin-top: 0.2rem;
  width: 18px;
  height: 18px;
  accent-color: #1b8a5a;
}

/* 7. Payment Rail Tabs & Panels */
.payment-tabs-nav {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.pay-tab {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.85rem 0.5rem;
  background: #f8fafc;
  border: 2px solid #e2e8f0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.pay-tab:hover,
.pay-tab:focus-visible {
  border-color: #1b8a5a;
  outline: none;
}

.pay-tab--active {
  border-color: #1b8a5a !important;
  background: #ffffff !important;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.pay-tab .tab-badge {
  position: absolute;
  top: -8px;
  background: #0284c7;
  color: #ffffff;
  font-size: 0.6rem;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 4px;
}

.pay-tab .tab-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #101924;
}

.pay-tab .tab-subtitle {
  font-size: 0.7rem;
  color: #64748b;
  margin-top: 0.15rem;
}

/* 8. Sendwave Showcase Card */
.sendwave-hero-card {
  background: #f0f9ff;
  border: 1px solid #bae6fd;
  border-radius: 16px;
  padding: 1.5rem;
  margin-bottom: 1.5rem;
}

.sendwave-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.sendwave-logo-text {
  font-size: 1.35rem;
  font-weight: 800;
  color: #0369a1;
}

.sendwave-pill {
  background: #0284c7;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.sendwave-lead {
  font-size: 0.9rem;
  color: #334155;
  margin-bottom: 1.25rem;
}

.steps-list {
  list-style: none;
  padding: 0;
  margin: 0 0 1.25rem 0;
}

.steps-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
  margin-bottom: 0.85rem;
}

.steps-list .step-num {
  width: 24px;
  height: 24px;
  background: #0284c7;
  color: #ffffff;
  border-radius: 50%;
  font-size: 0.8rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 2px;
}

.steps-list .step-info strong {
  display: block;
  font-size: 0.9rem;
  color: #0f172a;
}

.steps-list .step-info p {
  font-size: 0.85rem;
  color: #475569;
  margin: 0;
}

.app-download-links {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.app-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #0f172a;
  color: #ffffff !important;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  transition: background 0.2s ease;
}

.app-badge:hover {
  background: #1e293b;
}

.app-badge--light {
  background: #0284c7;
}

.app-badge--light:hover {
  background: #0369a1;
}

/* 9. Recipient Copy Box */
.recipient-box {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.25rem;
  margin-bottom: 1.5rem;
}

.recipient-box-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1rem;
}

.recipient-box-title h4 {
  margin: 0;
  font-size: 0.95rem;
  color: #1e293b;
}

.verified-tag {
  background: #dcfce7;
  color: #15803d;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 9999px;
}

.copy-field-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 0.75rem 1rem;
  margin-bottom: 0.65rem;
}

.field-meta {
  display: flex;
  flex-direction: column;
}

.field-label {
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 600;
}

.field-val {
  font-size: 0.95rem;
  color: #0f172a;
  font-family: monospace, sans-serif;
  font-weight: 700;
}

.field-note {
  font-size: 0.7rem;
  color: #1b8a5a;
}

.copy-btn {
  background: #f1f5f9;
  border: 1px solid #cbd5e1;
  color: #334155;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.copy-btn:hover {
  background: #1b8a5a;
  border-color: #1b8a5a;
  color: #ffffff;
}

.copy-btn--full {
  width: 100%;
  justify-content: center;
  padding: 0.65rem;
  margin-top: 0.75rem;
}

/* 10. Mobile Money Grid & QR Code Card */
.momo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin: 1rem 0;
}

.momo-card {
  background: #fffbeb;
  border: 1px solid #fde68a;
  border-radius: 12px;
  padding: 1rem;
}

.momo-card--airtel {
  background: #fef2f2;
  border-color: #fecaca;
}

.momo-logo-pill {
  display: inline-block;
  background: #f59e0b;
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 0.5rem;
}

.momo-logo-pill--red {
  background: #ef4444;
}

.momo-details p {
  font-size: 0.85rem;
  margin: 0 0 0.25rem 0;
  color: #1e293b;
}

.qr-scan-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1rem;
  margin-top: 1rem;
}

.qr-frame {
  background: #ffffff;
  padding: 0.5rem;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  flex-shrink: 0;
}

.qr-text h4 {
  margin: 0 0 0.25rem 0;
  font-size: 0.95rem;
}

.qr-text p {
  margin: 0;
  font-size: 0.8rem;
  color: #64748b;
}

/* 11. Confirmation Form & File Dropzone */
.confirmation-section {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 1.5rem;
  margin-top: 2rem;
}

.confirmation-lead {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1.25rem;
}

.file-upload-dropzone {
  position: relative;
  border: 2px dashed #cbd5e1;
  border-radius: 10px;
  padding: 1.5rem;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.file-upload-dropzone:hover {
  border-color: #1b8a5a;
}

.file-upload-dropzone .file-input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
}

.dropzone-text {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  color: #64748b;
  font-size: 0.85rem;
}

.dropzone-text i {
  font-size: 1.75rem;
  color: #1b8a5a;
}

.file-preview {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #1b8a5a;
}

/* 12. Verified Receipt Modal / Card */
.verified-receipt-modal {
  margin-top: 1.5rem;
  background: #ffffff;
  border: 2px solid #1b8a5a;
  border-radius: 16px;
  padding: 1.75rem;
  box-shadow: 0 10px 30px rgba(27, 138, 90, 0.15);
  animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

.receipt-header {
  text-align: center;
  margin-bottom: 1.25rem;
}

.receipt-check {
  width: 48px;
  height: 48px;
  background: #22c55e;
  color: #ffffff;
  border-radius: 50%;
  font-size: 1.5rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.75rem auto;
}

.receipt-header h3 {
  margin: 0;
  font-size: 1.3rem;
  color: #0f172a;
}

.receipt-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin: 0.25rem 0 0 0;
}

.receipt-meta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.receipt-meta-grid .label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
}

.receipt-meta-grid .val {
  font-size: 0.95rem;
  color: #0f172a;
}

.receipt-org-seal {
  text-align: center;
  font-size: 0.75rem;
  color: #64748b;
  border-top: 1px dashed #cbd5e1;
  padding-top: 0.85rem;
  margin-bottom: 1.25rem;
}

.receipt-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
}

/* 13. Mobile Sticky Action Bar */
.mobile-sticky-donate-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: #ffffff;
  border-top: 1px solid rgba(16, 25, 36, 0.12);
  padding: 0.75rem 1rem env(safe-area-inset-bottom, 0.75rem) 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.12);
  z-index: 999;
}

.mobile-sticky-donate-bar .sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 600px;
  margin: 0 auto;
}

.sticky-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sticky-tag {
  font-size: 0.75rem;
  color: #64748b;
}

.sticky-status-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #22c55e;
}

.sticky-amount {
  font-size: 1rem;
  font-weight: 800;
  color: #101924;
}

.sticky-give-btn {
  min-height: 48px;
  padding: 0 1.25rem;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.95rem;
}

/* 14. Toast Notification */
.nihira-toast {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  background: #101924;
  color: #ffffff;
  padding: 0.75rem 1.25rem;
  border-radius: 9999px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.25);
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
}

.nihira-toast.is-active {
  transform: translateY(0);
  opacity: 1;
}

.nihira-toast .toast-icon {
  background: #22c55e;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
}

/* 15. Trust Section Design */
.trust-section--light {
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
}

.trust-footer-callout {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid #e2e8f0;
  color: #64748b;
}

/* Responsive Breakpoints for Donation System */
@media (max-width: 1024px) {
  .donate-grid-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 768px) {
  .mobile-sticky-donate-bar {
    display: block;
  }

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

  .frequency-toggle-row {
    grid-template-columns: 1fr;
  }

  .form-row--two-col {
    grid-template-columns: 1fr;
  }

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

  .payment-tabs-nav {
    grid-template-columns: 1fr;
  }

  .receipt-meta-grid {
    grid-template-columns: 1fr;
  }

  body.has-sticky-bar {
    padding-bottom: calc(70px + var(--safe-bottom));
  }
}

@media (max-width: 480px) {
  .amount-cards-grid {
    grid-template-columns: 1fr;
  }

  .currency-toggle-row {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   MASTER RESPONSIVE & CROSS-DEVICE QA OVERHAUL (240px to 3440px)
   ========================================================================== */

/* 1. Touch Targets & Minimum Hitboxes (WCAG 2.2 AA) */
button,
.button,
.btn,
a.button,
.currency-pill,
.amount-pill,
.frequency-pill,
.pay-tab,
.mobile-toggle,
.menu-toggle,
.donate-choice,
.donate-amount,
.pillar-pill,
.copy-btn,
.tab-link {
  min-height: 48px;
  min-width: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  touch-action: manipulation;
  box-sizing: border-box;
}

/* Inputs & Form Elements (16px Font Size to Prevent iOS Auto-Zoom) */
input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="search"],
input[type="url"],
select,
textarea {
  font-size: 16px !important;
  min-height: 48px;
  max-width: 100%;
  width: 100%;
  box-sizing: border-box;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  border: 1px solid var(--line);
  background: #ffffff;
  color: var(--ink);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--brand-red);
  box-shadow: 0 0 0 3px rgba(239, 32, 38, 0.18);
}

/* 2. Mobile Navigation Drawer Scroll Lock & Safe Areas */
body.menu-open {
  overflow: hidden !important;
  height: 100vh !important;
  touch-action: none !important;
}

.site-header {
  padding-top: var(--safe-top);
  padding-left: var(--safe-left);
  padding-right: var(--safe-right);
}

.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  padding: 0.5rem;
  border: none;
  background: transparent;
  cursor: pointer;
  z-index: 30;
}

/* 3. Hero & Content Section Responsiveness */
.page-hero {
  position: relative;
  min-height: 48vh;
  display: flex;
  align-items: center;
  padding: 5rem 0 4rem;
}

.page-hero__content {
  position: relative;
  z-index: 2;
  max-width: 900px;
}

.page-hero__content h1 {
  font-size: var(--font-size-hero);
  line-height: 1.12;
  margin-bottom: 1rem;
  overflow-wrap: break-word;
}

.hero-lead {
  font-size: var(--font-size-lead);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  max-width: 720px;
}

.hero-trust-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 1.5rem;
}

.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.5rem 0.95rem;
  border-radius: 50px;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: #ffffff;
  font-size: 0.85rem;
  font-weight: 600;
  max-width: 100%;
}

.live-status-pill {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.45rem 1rem;
  border-radius: 50px;
  margin-bottom: 1.25rem;
  max-width: 100%;
  font-size: 0.85rem;
  font-weight: 700;
}

.live-status-pill .status-desc {
  font-weight: 500;
}

/* 4. Sticky Mobile Donate Bar */
.mobile-sticky-donate-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-top: 1px solid var(--line);
  padding: 0.65rem 1rem calc(0.65rem + var(--safe-bottom)) 1rem;
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.08);
}

.mobile-sticky-donate-bar .sticky-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 500px;
  margin: 0 auto;
  gap: 1rem;
}

.mobile-sticky-donate-bar .sticky-give-btn {
  min-height: 44px;
  padding: 0.55rem 1.25rem;
  white-space: nowrap;
}

/* 5. Extreme Narrow Screens Breakpoint (240px to 340px) */
@media (max-width: 340px) {
  .section-inner,
  .site-header__inner,
  .site-footer__inner,
  .page-hero__content {
    padding-left: 0.65rem !important;
    padding-right: 0.65rem !important;
  }

  .page-hero {
    padding: 3.5rem 0 2.5rem;
    min-height: auto;
  }

  .brand img {
    width: 55px !important;
    height: auto !important;
  }

  .brand-text__title {
    font-size: 1.1rem !important;
  }

  .brand-text__subtitle {
    font-size: 0.65rem !important;
  }

  .header-actions {
    display: none !important;
  }

  .hero-ctas,
  .hero-trust-badges,
  .currency-toggle-row,
  .frequency-toggle-row,
  .amount-cards-grid,
  .payment-tabs-nav,
  .momo-grid,
  .footer-columns,
  .metrics-grid,
  .trust-grid {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: 1fr !important;
    width: 100% !important;
  }

  .trust-badge {
    width: 100%;
    justify-content: flex-start;
  }

  .button,
  .btn,
  .currency-pill,
  .pay-tab {
    width: 100% !important;
  }

  .live-status-pill .status-sep {
    display: none;
  }

  .sendwave-brand {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .verified-receipt-modal .receipt-card {
    padding: 1rem 0.75rem;
  }
}

/* 6. Standard Mobile Breakpoint (341px to 640px) */
@media (max-width: 640px) {
  .metrics-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .trust-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .footer-columns {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .page-hero {
    padding: 4.5rem 0 3rem;
  }

  .card-step-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .donate-primary-card,
  .donate-secondary-card {
    padding: 1.5rem 1rem;
  }
}

/* 7. Tablet & Foldable Breakpoint (641px to 1024px) */
@media (min-width: 641px) and (max-width: 1024px) {
  .metrics-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
  }

  .footer-columns {
    grid-template-columns: repeat(2, 1fr);
    gap: 2.5rem;
  }
}

/* 8. Desktop & Ultra-Wide Monitor Containment (1440px to 3440px) */
@media (min-width: 1440px) {
  .section-inner,
  .site-header__inner,
  .site-footer__inner,
  .wwd-container,
  .donate-grid-layout {
    max-width: 1380px;
    margin-left: auto;
    margin-right: auto;
  }

  .page-hero__content {
    max-width: 1000px;
  }
}

@media (min-width: 1920px) {
  .section-inner,
  .site-header__inner,
  .site-footer__inner {
    max-width: 1440px;
  }

  body {
    font-size: 17px;
  }
}

@media (min-width: 2560px) {
  .section-inner,
  .site-header__inner,
  .site-footer__inner {
    max-width: 1560px;
  }
}

/* 9. Archive & Post Grid Responsiveness */
.archive-posts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 280px), 1fr));
  gap: 2rem;
  width: 100%;
  min-width: 0;
}

.post-card {
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
  overflow: hidden;
  word-break: break-word;
  overflow-wrap: break-word;
}

.post-card h3,
.post-card h3 a,
.post-card h4,
.post-card h4 a {
  word-break: break-word;
  overflow-wrap: break-word;
}

@media (max-width: 360px) {
  .archive-posts-grid {
    grid-template-columns: 1fr !important;
    gap: 1.25rem !important;
  }
}

/* 10. Motion Preferences (WCAG 2.2 AA) */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ==========================================================================
   11. IMPACT PAGE & FEATURED STORY ENHANCEMENTS
   ========================================================================== */

/* Hero CTA Row */
.impact-hero .hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

/* Category Pill */
.story-category-pill {
  display: inline-block;
  background: rgba(27, 138, 90, 0.1);
  color: #1b8a5a;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.35rem 1rem;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

/* Featured Story Spotlight Card */
.featured-story-section {
  background: #f8fafc;
  padding: 5rem 0;
}

.featured-story-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 20px;
  box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.06), 0 4px 12px -2px rgba(0, 0, 0, 0.03);
  overflow: hidden;
  margin-top: 2.5rem;
}

.featured-story-grid {
  display: grid;
  grid-template-columns: 1fr 1.15fr;
  gap: 0;
  align-items: stretch;
}

.featured-story-media-wrap {
  display: flex;
  flex-direction: column;
  background: #0f172a;
}

.featured-story-media {
  position: relative;
  height: 100%;
  min-height: 380px;
  overflow: hidden;
}

.featured-story-media .story-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
  transition: transform 0.4s ease;
}

.featured-story-card:hover .story-img {
  transform: scale(1.02);
}

.story-image-overlay {
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  z-index: 2;
}

.story-badge {
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(8px);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.9rem;
  border-radius: 9999px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.story-badge i {
  color: #f43f5e;
}

.story-caption-bar {
  background: #1e293b;
  padding: 0.85rem 1.25rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.story-caption-bar .caption-text {
  color: #94a3b8;
  font-size: 0.8rem;
  margin: 0;
  line-height: 1.4;
}

.story-caption-bar i {
  color: #38bdf8;
  margin-right: 0.35rem;
}

/* Featured Story Content */
.featured-story-content {
  padding: 3rem 3.5rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.story-tag {
  color: #1b8a5a;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.5rem;
}

.story-heading {
  font-size: 2rem;
  line-height: 1.25;
  color: #0f172a;
  margin: 0 0 1.5rem 0;
  font-weight: 800;
}

.story-body {
  font-size: 1.05rem;
  line-height: 1.7;
  color: #334155;
}

.story-lead-p {
  font-weight: 600;
  color: #1e293b;
}

.story-callout-p {
  background: #f0fdf4;
  border-left: 4px solid #1b8a5a;
  padding: 1rem 1.25rem;
  border-radius: 0 10px 10px 0;
  font-weight: 600;
  color: #14532d;
  margin: 1.25rem 0;
}

.story-meta-box {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  margin: 1.5rem 0 2rem 0;
  padding-top: 1.25rem;
  border-top: 1px solid #e2e8f0;
}

.meta-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: #475569;
}

.meta-icon {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dcfce7;
  color: #15803d;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  margin-top: 2px;
  flex-shrink: 0;
}

.meta-text strong {
  color: #0f172a;
}

.story-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-top: auto;
}

/* Framework Step Cards */
.framework-step-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 14px;
  padding: 1.5rem;
  margin: 1.5rem 0;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.step-item {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.step-tag {
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 2px 8px;
  border-radius: 6px;
  display: inline-block;
  width: fit-content;
}

.tag-challenge {
  background: #fee2e2;
  color: #991b1b;
}

.tag-intervention {
  background: #e0f2fe;
  color: #0369a1;
}

.tag-impact {
  background: #dcfce7;
  color: #15803d;
}

.step-item p {
  margin: 0;
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.6;
}

.story-split-cta {
  margin-top: 1rem;
}

/* 5 Core Donation Priorities */
.donation-priorities-section {
  background: #ffffff;
  padding: 5.5rem 0;
}

.donation-priorities-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 2rem;
  margin-top: 3rem;
}

.priority-card {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 18px;
  padding: 2.25rem 2rem;
  box-shadow: 0 4px 20px -2px rgba(0, 0, 0, 0.04);
  display: flex;
  flex-direction: column;
  transition: all 0.3s ease;
  position: relative;
}

.priority-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 32px -4px rgba(0, 0, 0, 0.08);
  border-color: #cbd5e1;
}

.priority-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: #f0fdf4;
  color: #1b8a5a;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.5rem;
}

.priority-icon-wrap svg {
  stroke: #1b8a5a;
}

.priority-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 3px 10px;
  border-radius: 9999px;
  margin-bottom: 0.75rem;
}

.priority-card h3 {
  font-size: 1.35rem;
  color: #0f172a;
  margin: 0 0 0.75rem 0;
  font-weight: 700;
}

.priority-card p {
  color: #475569;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.priority-bullets {
  list-style: none;
  padding: 0;
  margin: 0 0 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.priority-bullets li {
  font-size: 0.88rem;
  color: #334155;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.priority-bullets li i {
  color: #1b8a5a;
  font-size: 0.75rem;
}

.priority-action {
  margin-top: auto;
}

/* Impact CTA Banner Enhancements */
.impact-cta-section .cta-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  margin-bottom: 1rem;
}

.impact-cta-section .cta-trust-items {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  margin-top: 1.5rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

.impact-cta-section .cta-trust-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.impact-cta-section .cta-trust-items i {
  color: #a7f3d0;
}

.button--outline-light {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.6);
  color: #ffffff !important;
}

.button--outline-light:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: #ffffff !important;
}

/* Responsive Media Queries for Impact Experience */
@media (max-width: 1024px) {
  .featured-story-grid {
    grid-template-columns: 1fr;
  }

  .featured-story-media {
    min-height: 320px;
    max-height: 440px;
  }

  .featured-story-content {
    padding: 2.25rem 2rem;
  }

  .story-heading {
    font-size: 1.65rem;
  }
}

@media (max-width: 768px) {
  .impact-hero .hero-cta-row {
    flex-direction: column;
  }

  .featured-story-media {
    min-height: 260px;
  }

  .featured-story-content {
    padding: 1.75rem 1.25rem;
  }

  .story-heading {
    font-size: 1.4rem;
  }

  .story-body {
    font-size: 0.95rem;
  }

  .donation-priorities-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .priority-card {
    padding: 1.75rem 1.25rem;
  }

  .story-actions {
    flex-direction: column;
    width: 100%;
  }

  .story-actions .button {
    width: 100%;
    text-align: center;
    justify-content: center;
  }
}