/* ==========================================================================
   Muslim Legacy Fund (MLF) - Dignified Canadian Foundation Design System
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700;800&family=Playfair+Display:ital,wght@0,500;0,600;0,700;1,400;1,600&family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&display=swap');

:root {
  /* Institutional Foundation Palette - Lighter, Brighter Emerald Accent */
  --primary-950: #06382a;
  --primary-900: #0d4e3a;
  --primary-800: #12634a;
  --primary-700: #187a5c;
  --primary-600: #209470;
  --primary-500: #2ba780;
  --primary-100: #d7f1e7;
  --primary-50:  #f2faf6;

  --gold-900: #663108;
  --gold-800: #8a430d;
  --gold-700: #af5712;
  --gold-600: #c96b17;
  --gold-500: #df821f;
  --gold-400: #ed9d3b;
  --gold-200: #f6d19c;
  --gold-100: #fbf0dc;
  --gold-50:  #fdf8f0;

  --slate-950: #0b1117;
  --slate-900: #121a24;
  --slate-800: #1e293b;
  --slate-700: #334155;
  --slate-600: #475569;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --slate-50:  #f8fafc;

  --bg-page: #faf9f5;
  --bg-card: #ffffff;
  --text-main: #1e293b;
  --text-muted: #4e5b6d;
  --text-light: #94a3b8;
  --border-light: #e5e4dc;

  /* Typography */
  --font-serif: 'Playfair Display', Georgia, serif;
  --font-display: 'Cinzel', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

  /* Shadows - Subtle & grounded (no neon/glowing effects) */
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 14px rgba(15, 23, 42, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04);
  --shadow-lg: 0 10px 25px -4px rgba(15, 23, 42, 0.08);
  --shadow-xl: 0 20px 35px -8px rgba(10, 58, 44, 0.12);

  /* Radius */
  --radius-sm: 6px;
  --radius-md: 10px;
  --radius-lg: 16px;
  --radius-xl: 22px;
  --radius-pill: 9999px;

  /* Transitions */
  --transition-fast: 0.16s ease;
  --transition-base: 0.24s ease;
}

/* Base Reset */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.68;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

a {
  color: inherit;
  text-decoration: none;
  transition: color var(--transition-fast);
}

img, svg {
  display: block;
  max-width: 100%;
}

button, input, select, textarea {
  font: inherit;
}

/* ==========================================================================
   Layout Containers & Utilities
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1220px;
  margin-left: auto;
  margin-right: auto;
  padding-left: 24px;
  padding-right: 24px;
}

.container-narrow {
  max-width: 900px;
}

.section {
  padding: 88px 0;
  position: relative;
}

.section-sm {
  padding: 56px 0;
}

.section-dark {
  background-color: var(--primary-950);
  color: #ffffff;
}

.section-emerald {
  background: var(--primary-900);
  color: #ffffff;
}

.section-soft {
  background-color: #f3f2eb;
}

/* Section Header Styles - Clean Editorial */
.section-header {
  margin-bottom: 48px;
}

.section-header.text-center {
  text-align: center;
  max-width: 720px;
  margin-left: auto;
  margin-right: auto;
}

/* Dignified, authentic editorial eyebrow (no synthetic pill bubble) */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--gold-800);
  margin-bottom: 12px;
}

.eyebrow::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 2px;
  background: var(--gold-600);
}

.section-dark .eyebrow {
  color: var(--gold-200);
}

.section-dark .eyebrow::before {
  background: var(--gold-400);
}

.section-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.2vw, 2.625rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--primary-950);
  margin-bottom: 16px;
  letter-spacing: -0.01em;
}

.section-dark .section-title {
  color: #ffffff;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  line-height: 1.7;
}

.section-dark .section-subtitle {
  color: var(--slate-300);
}

/* ==========================================================================
   Announcement Bar
   ========================================================================== */
.announcement-bar {
  background: var(--primary-950);
  color: #ffffff;
  padding: 10px 20px;
  font-size: 0.875rem;
  font-weight: 500;
  border-bottom: 1px solid rgba(223, 130, 31, 0.3);
  position: relative;
  z-index: 100;
}

.announcement-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

.announcement-tag {
  background: var(--gold-500);
  color: #121a24;
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.announcement-link {
  color: var(--gold-200);
  text-decoration: underline;
  text-underline-offset: 4px;
  font-weight: 600;
}

.announcement-link:hover {
  color: #ffffff;
}

/* ==========================================================================
   Main Header & Navigation
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: #ffffff;
  border-bottom: 1px solid var(--border-light);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  transition: background 0.3s ease, backdrop-filter 0.3s ease, -webkit-backdrop-filter 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.site-header.scrolled {
  background: rgba(255, 255, 255, 0.85);
  -webkit-backdrop-filter: blur(14px) saturate(160%);
  backdrop-filter: blur(14px) saturate(160%);
  border-bottom-color: rgba(226, 232, 240, 0.8);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
}

.brand-link {
  display: flex;
  align-items: center;
}

.brand-logo {
  height: 68px;
  width: auto;
  object-fit: contain;
  display: block;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}

.nav-link {
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-700);
  position: relative;
  padding: 8px 0;
  letter-spacing: -0.01em;
}

.nav-link:hover {
  color: var(--primary-900);
}

.nav-link.active {
  color: var(--primary-900);
}

.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2.5px;
  background: var(--gold-600);
  border-radius: 2px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.header-actions .btn-primary {
  padding: 11px 22px;
  font-size: 0.9375rem;
  font-weight: 700;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), background var(--transition-fast);
}

.header-actions .btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(175, 87, 18, 0.4);
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  color: var(--slate-800);
}

.mobile-toggle svg {
  width: 28px;
  height: 28px;
}

/* ==========================================================================
   Buttons & CTAs
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  font-family: var(--font-sans);
  font-size: 0.9375rem;
  font-weight: 600;
  line-height: 1;
  padding: 13px 26px;
  border-radius: var(--radius-sm);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  white-space: nowrap;
}

.btn-sm {
  padding: 9px 18px;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 16px 32px;
  font-size: 1.0625rem;
}

.btn-primary {
  background: var(--gold-600);
  color: #ffffff;
  border-color: var(--gold-700);
  box-shadow: 0 2px 6px rgba(175, 87, 18, 0.25);
  font-weight: 700;
}

.btn-primary:hover {
  background: var(--gold-700);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-emerald {
  background: var(--primary-800);
  color: #ffffff;
  border-color: var(--primary-900);
  box-shadow: 0 2px 6px rgba(10, 58, 44, 0.2);
}

.btn-emerald:hover {
  background: var(--primary-900);
  color: #ffffff;
  transform: translateY(-1px);
}

.btn-outline-white {
  background: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.7);
  color: #ffffff;
}

.btn-outline-white:hover {
  background: #ffffff;
  color: var(--primary-950);
  border-color: #ffffff;
}

.btn-outline-emerald {
  background: transparent;
  border: 1.5px solid var(--primary-800);
  color: var(--primary-800);
}

.btn-outline-emerald:hover {
  background: var(--primary-50);
  border-color: var(--primary-900);
  color: var(--primary-900);
}

/* ==========================================================================
   Hero Section - Looping Video Background & Dignified Layout
   ========================================================================== */
.hero {
  position: relative;
  min-height: 620px;
  background-color: var(--primary-950);
  color: #ffffff;
  padding: 130px 0 160px;
  overflow: hidden;
  display: flex;
  align-items: center;
}

.hero-curved-bottom {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  height: 54px;
  z-index: 3;
  pointer-events: none;
  line-height: 0;
}

.hero-curved-bottom svg {
  width: 100%;
  height: 100%;
  display: block;
}

.hero-video-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 1;
}

.hero-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(6, 78, 59, 0.65) 0%,
    rgba(10, 105, 80, 0.58) 50%,
    rgba(6, 70, 53, 0.72) 100%
  );
}

.hero-container-centered {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 880px;
  margin: 0 auto;
}

.hero-badge-group {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
}

/* Refined official charity registration badge */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(4, 36, 27, 0.75);
  border: 1px solid rgba(223, 130, 31, 0.6);
  padding: 8px 18px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--gold-200);
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
}

.hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.5rem, 5vw, 4.125rem);
  font-weight: 700;
  line-height: 1.15;
  color: #ffffff;
  margin-bottom: 22px;
  letter-spacing: -0.015em;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.hero-title .text-gold {
  color: var(--gold-200);
  font-style: italic;
}

.hero-lead {
  font-size: clamp(1.15rem, 2.2vw, 1.35rem);
  line-height: 1.7;
  color: var(--slate-100);
  margin-bottom: 28px;
  font-weight: 400;
  max-width: 780px;
  margin-left: auto;
  margin-right: auto;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.hero-taglines {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 38px;
  font-size: 1.0625rem;
  color: var(--gold-200);
  font-weight: 600;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  flex-wrap: wrap;
}

/* Standalone Community Fund Section (Order 6 in Excel) */
.community-fund-section {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 48px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-md);
  margin-top: 56px;
}

/* Hero Right: Solid, Grounded Community Fund Snapshot Card */
.hero-card {
  background: #ffffff;
  color: var(--text-main);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-xl);
  border: 1px solid var(--border-light);
  position: relative;
}

.hero-card-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-light);
  padding-bottom: 12px;
}

.hero-card-title {
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--primary-900);
  font-weight: 700;
}

.hero-card-status {
  font-size: 0.75rem;
  color: var(--primary-800);
  background: var(--primary-50);
  padding: 3px 10px;
  border-radius: var(--radius-sm);
  font-weight: 700;
  border: 1px solid var(--primary-100);
}

.hero-card-stat {
  font-family: var(--font-serif);
  font-size: 2.75rem;
  font-weight: 700;
  color: var(--primary-950);
  line-height: 1;
  margin-bottom: 6px;
}

.hero-card-meta {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin-bottom: 22px;
}

/* Static, grounded progress bar (no laser shine) */
.progress-container {
  background: var(--slate-100);
  border: 1px solid var(--slate-200);
  border-radius: var(--radius-sm);
  height: 14px;
  overflow: hidden;
  margin-bottom: 10px;
}

.progress-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--gold-600), var(--gold-500));
  width: 30.6%;
  border-radius: var(--radius-sm);
}

.progress-labels {
  display: flex;
  justify-content: space-between;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--slate-600);
  margin-bottom: 24px;
}

.hero-card-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  border-top: 1px solid var(--border-light);
  padding-top: 20px;
  margin-bottom: 24px;
}

.card-feature-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
}

.card-feature-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-700);
  flex-shrink: 0;
  margin-top: 2px;
}

.card-feature-title {
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 2px;
}

.card-feature-sub {
  font-size: 0.75rem;
  color: var(--slate-600);
  line-height: 1.4;
}

.hero-card-action {
  width: 100%;
}

/* ==========================================================================
   Intro & Waqf Explanation - Open Layout (No Enclosing Box)
   ========================================================================== */
.waqf-intro-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}

.waqf-intro-text h3 {
  font-family: var(--font-serif);
  font-size: clamp(1.85rem, 3vw, 2.35rem);
  color: var(--primary-950);
  margin-bottom: 16px;
  line-height: 1.25;
}

.waqf-intro-text p {
  font-size: 1.0625rem;
  color: var(--text-muted);
  line-height: 1.8;
  margin-bottom: 24px;
}

.quote-highlight {
  background: var(--gold-50);
  border: 1px solid var(--gold-200);
  padding: 22px 24px;
  border-radius: var(--radius-md);
  font-size: 0.9375rem;
  color: var(--gold-900);
}

/* 3-Step Visual */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.step-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 30px 26px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
  transition: transform var(--transition-fast), box-shadow var(--transition-fast), border-color var(--transition-fast);
}

.step-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  border-color: var(--primary-700);
}

.step-number {
  position: absolute;
  top: 10px;
  right: 20px;
  font-family: var(--font-serif);
  font-size: 5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(201, 107, 23, 0.15);
  pointer-events: none;
  user-select: none;
  z-index: 0;
  transition: color var(--transition-fast), transform var(--transition-fast);
}

.step-card:hover .step-number {
  color: rgba(201, 107, 23, 0.26);
  transform: translateY(-2px);
}

.step-icon-wrap,
.step-title,
.step-desc {
  position: relative;
  z-index: 1;
}

.step-icon-wrap {
  width: 50px;
  height: 50px;
  border-radius: var(--radius-sm);
  background: var(--primary-50);
  color: var(--primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
}

.step-icon-wrap svg {
  width: 26px;
  height: 26px;
}

.step-title {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 10px;
}

.step-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ==========================================================================
   Impact Snapshot (Large Stats / Winnipeg Foundation inspiration)
   ========================================================================== */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.stat-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 24px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  text-align: center;
}

.stat-value {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3vw, 2.875rem);
  font-weight: 700;
  color: var(--primary-950);
  line-height: 1.1;
  margin-bottom: 8px;
}

.stat-label {
  font-size: 1rem;
  font-weight: 700;
  color: var(--slate-800);
  margin-bottom: 6px;
}

.stat-desc {
  font-size: 0.8125rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ==========================================================================
   Upcoming Gala Feature Banner
   ========================================================================== */
.gala-banner-card {
  background: var(--primary-900);
  border-radius: var(--radius-lg);
  padding: 52px;
  color: #ffffff;
  border: 1px solid rgba(223, 130, 31, 0.35);
  box-shadow: var(--shadow-lg);
}

.gala-banner-content {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 40px;
  align-items: center;
}

.gala-badge {
  display: inline-block;
  background: var(--gold-500);
  color: #0f172a;
  font-size: 0.75rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: var(--radius-sm);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 14px;
}

.gala-title {
  font-family: var(--font-serif);
  font-size: clamp(1.875rem, 3vw, 2.5rem);
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.gala-meta-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 26px;
}

.gala-meta-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 1rem;
  color: var(--slate-100);
}

.gala-meta-icon {
  width: 20px;
  height: 20px;
  color: var(--gold-300);
  flex-shrink: 0;
}

/* Gala Countdown Box */
.gala-card-box {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 28px;
  text-align: center;
}

.gala-box-header {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold-200);
  margin-bottom: 18px;
}

.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.countdown-unit {
  background: rgba(0, 0, 0, 0.3);
  border-radius: var(--radius-sm);
  padding: 10px 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.countdown-number {
  font-family: var(--font-serif);
  font-size: 1.625rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1;
}

.countdown-label {
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--slate-300);
  margin-top: 4px;
}

/* ==========================================================================
   Social Proof & Testimonials (Abdo El-Tassi, Shahina Siddiqui, Ismael Mukhtar)
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.testimonial-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.quote-mark {
  font-family: var(--font-serif);
  font-size: 3rem;
  line-height: 0.7;
  color: var(--gold-600);
  opacity: 0.5;
  margin-bottom: 14px;
}

.testimonial-quote {
  font-size: 0.9375rem;
  line-height: 1.7;
  color: var(--slate-700);
  margin-bottom: 24px;
  font-style: italic;
  flex-grow: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
  border-top: 1px solid var(--border-light);
  padding-top: 18px;
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--primary-900);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9375rem;
  border: 2px solid var(--gold-600);
  flex-shrink: 0;
}

.author-info h4 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-950);
  line-height: 1.3;
}

.author-info p {
  font-size: 0.75rem;
  color: var(--text-muted);
  line-height: 1.4;
  margin-top: 2px;
}

/* ==========================================================================
   Closing Call to Action
   ========================================================================== */
.closing-cta {
  background: var(--primary-950);
  border-radius: var(--radius-lg);
  padding: 64px 40px;
  text-align: center;
  color: #ffffff;
  border: 2px solid var(--gold-700);
  box-shadow: var(--shadow-lg);
}

.closing-cta-inner {
  max-width: 660px;
  margin: 0 auto;
}

.closing-cta-title {
  font-family: var(--font-serif);
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: #ffffff;
}

.closing-cta-desc {
  font-size: 1.125rem;
  color: var(--slate-200);
  line-height: 1.7;
  margin-bottom: 32px;
}

.closing-cta-actions {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}

/* ==========================================================================
   Global Footer
   ========================================================================== */
.site-footer {
  background: #0f1724;
  color: #94a3b8;
  padding: 72px 0 28px;
  border-top: 3px solid var(--gold-600);
}

.footer-top {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.3fr;
  gap: 40px;
  margin-bottom: 52px;
}

.footer-brand-badge {
  background: #ffffff;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  display: inline-block;
  margin-bottom: 18px;
}

.footer-brand-logo {
  height: 55px;
  width: auto;
  display: block;
  object-fit: contain;
}

.footer-brand p {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--slate-300);
  margin-bottom: 18px;
}

.footer-charity-badge {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  color: var(--gold-200);
}

.footer-col h4 {
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  font-size: 0.9375rem;
  color: var(--slate-400);
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 2px;
}

.footer-newsletter p {
  font-size: 0.875rem;
  color: var(--slate-300);
  margin-bottom: 14px;
  line-height: 1.5;
}

.newsletter-form {
  display: flex;
  gap: 8px;
}

.newsletter-input {
  flex-grow: 1;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  color: #ffffff;
  font-size: 0.875rem;
  outline: none;
}

.newsletter-input:focus {
  border-color: var(--gold-500);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  font-size: 0.8125rem;
  color: var(--slate-500);
  flex-wrap: wrap;
  gap: 16px;
}

/* ==========================================================================
   Page: Who We Are
   ========================================================================== */
.page-hero {
  position: relative;
  background-color: var(--primary-900);
  background-image: linear-gradient(
    180deg,
    rgba(6, 78, 59, 0.68) 0%,
    rgba(10, 105, 80, 0.62) 50%,
    rgba(6, 70, 53, 0.76) 100%
  ), url('../assets/tree-header.jpg');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #ffffff;
  padding: 80px 0 92px;
  border-bottom: 3px solid var(--gold-600);
}

.page-hero-title {
  font-family: var(--font-serif);
  font-size: clamp(2.25rem, 3.8vw, 3.25rem);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 14px;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

.page-hero-desc {
  font-size: 1.1875rem;
  color: var(--slate-100);
  max-width: 680px;
  line-height: 1.7;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.35);
}

.subnav-bar {
  background: rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px) saturate(150%);
  backdrop-filter: blur(12px) saturate(150%);
  border-bottom: 1px solid var(--border-light);
  position: sticky;
  top: 92px;
  z-index: 80;
}

.subnav-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 32px;
  list-style: none;
  overflow-x: auto;
  white-space: nowrap;
  padding: 0;
  margin: 0;
}

.subnav-link {
  display: block;
  padding: 16px 4px;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--slate-600);
  border-bottom: 2px solid transparent;
}

.subnav-link:hover, .subnav-link.active {
  color: var(--primary-900);
  border-bottom-color: var(--gold-600);
}

.vision-banner {
  background: #ffffff;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-md);
  padding: 40px;
  text-align: center;
  margin-bottom: 56px;
  box-shadow: var(--shadow-sm);
}

.vision-quote {
  font-family: var(--font-serif);
  font-size: clamp(1.25rem, 2vw, 1.625rem);
  color: var(--primary-950);
  line-height: 1.55;
  font-style: italic;
  max-width: 820px;
  margin: 0 auto 14px;
}

.vision-author {
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-800);
}

/* Team Grid */
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

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

.team-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  padding: 30px 26px;
  display: flex;
  flex-direction: column;
}

.team-card:hover {
  border-color: var(--primary-800);
  box-shadow: var(--shadow-md);
}

.team-avatar-frame {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid var(--gold-600);
  background: var(--slate-100);
  margin-bottom: 22px;
  flex-shrink: 0;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.team-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  display: block;
}

.staff-section-wrap {
  margin-top: 56px;
  border-top: 1px solid var(--border-light);
  padding-top: 48px;
}

.team-avatar-wrap {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--primary-900);
  color: var(--gold-200);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  font-weight: 700;
  border: 2px solid var(--gold-600);
  margin-bottom: 18px;
}

.team-name {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 4px;
}

.team-role {
  font-size: 0.8125rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--gold-800);
  margin-bottom: 12px;
}

.team-bio {
  font-size: 0.875rem;
  color: var(--slate-600);
  line-height: 1.65;
  margin-bottom: 16px;
  flex-grow: 1;
}

.team-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  border-top: 1px solid var(--border-light);
  padding-top: 14px;
}

.team-tag {
  background: var(--slate-100);
  color: var(--slate-700);
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 3px;
}

/* Funds Comparison Grid */
.funds-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
}

.fund-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 36px 32px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  position: relative;
  display: flex;
  flex-direction: column;
}

.fund-card.active-fund {
  border: 1.5px solid var(--primary-700);
}

.fund-status-pill {
  position: absolute;
  top: 24px;
  right: 24px;
  font-size: 0.6875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 4px 10px;
  border-radius: var(--radius-sm);
}

.fund-status-pill.active {
  background: var(--primary-50);
  color: var(--primary-900);
  border: 1px solid var(--primary-100);
}

.fund-status-pill.closed {
  background: var(--slate-100);
  color: var(--slate-600);
  border: 1px solid var(--slate-200);
}

.fund-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 12px;
}

.fund-desc {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin-bottom: 24px;
  flex-grow: 1;
}

.partner-highlight-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 32px 36px;
  border: 1px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 28px;
  box-shadow: var(--shadow-sm);
  margin-top: 40px;
}

.partner-icon {
  width: 56px;
  height: 56px;
  background: var(--gold-100);
  color: var(--gold-900);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.partner-text h4 {
  font-family: var(--font-serif);
  font-size: 1.25rem;
  color: var(--primary-950);
  margin-bottom: 6px;
}

.partner-text p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.governance-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.download-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 22px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.download-card:hover {
  border-color: var(--primary-700);
}

.download-icon {
  width: 42px;
  height: 42px;
  background: var(--primary-50);
  color: var(--primary-800);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.download-info h5 {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 4px;
}

.download-info p {
  font-size: 0.75rem;
  color: var(--slate-500);
  margin-bottom: 8px;
}

.download-btn {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--gold-800);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
   Page: Events & Impact
   ========================================================================== */
.impact-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
}

.impact-tab-btn {
  background: #ffffff;
  border: 1px solid var(--border-light);
  padding: 9px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--slate-700);
  cursor: pointer;
}

.impact-tab-btn:hover {
  border-color: var(--primary-700);
  color: var(--primary-900);
}

.impact-tab-btn.active {
  background: var(--primary-900);
  color: #ffffff;
  border-color: var(--primary-900);
}

.grants-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.grant-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  padding: 26px;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.grant-card-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 14px;
}

.grant-year-badge {
  font-size: 0.75rem;
  font-weight: 700;
  background: var(--gold-100);
  color: var(--gold-900);
  padding: 3px 8px;
  border-radius: 3px;
}

.grant-amount {
  font-family: var(--font-serif);
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--primary-800);
}

.grant-recipient {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 8px;
}

.grant-purpose {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 16px;
  flex-grow: 1;
}

.grant-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
  font-size: 0.75rem;
  color: var(--slate-500);
}

/* Stories Grid */
.stories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.story-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}

.story-thumb {
  height: 140px;
  background: var(--primary-900);
  border-bottom: 3px solid var(--gold-600);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-200);
  position: relative;
}

.story-thumb-tag {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 0.6875rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
}

.story-body {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.story-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-950);
  margin-bottom: 10px;
  line-height: 1.35;
}

.story-excerpt {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 18px;
  flex-grow: 1;
}

.story-link {
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--primary-800);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* ==========================================================================
   Page: Support & Donate
   ========================================================================== */
.donate-split-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: flex-start;
}

.donation-box {
  background: #ffffff;
  border-radius: var(--radius-lg);
  padding: 40px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-lg);
}

.donation-embed-box {
  padding: 24px;
  min-height: 680px;
  overflow: visible;
}

.donation-embed-box iframe {
  width: 100% !important;
  max-width: 100% !important;
  border: none !important;
  display: block;
}

.donation-type-toggle {
  display: flex;
  background: var(--slate-100);
  padding: 4px;
  border-radius: var(--radius-sm);
  margin-bottom: 28px;
}

.type-btn {
  flex: 1;
  padding: 11px 14px;
  border: none;
  background: transparent;
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--slate-600);
  border-radius: var(--radius-sm);
  cursor: pointer;
  text-align: center;
}

.type-btn.active {
  background: #ffffff;
  color: var(--primary-950);
  box-shadow: var(--shadow-sm);
}

.amount-presets-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.amount-btn {
  padding: 14px 10px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-800);
  cursor: pointer;
  text-align: center;
}

.amount-btn:hover {
  border-color: var(--primary-700);
  background: var(--primary-50);
}

.amount-btn.active {
  border-color: var(--gold-700);
  background: var(--gold-50);
  color: var(--gold-900);
  box-shadow: 0 0 0 1px var(--gold-700);
}

.custom-amount-wrapper {
  position: relative;
  margin-bottom: 22px;
}

.currency-symbol {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--slate-400);
}

.custom-amount-input {
  width: 100%;
  padding: 13px 16px 13px 36px;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-sm);
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--slate-800);
  outline: none;
}

.custom-amount-input:focus {
  border-color: var(--gold-700);
}

.impact-calc-banner {
  background: var(--primary-50);
  border: 1px solid var(--primary-100);
  border-radius: var(--radius-sm);
  padding: 16px 18px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 22px;
}

.impact-calc-icon {
  width: 22px;
  height: 22px;
  color: var(--primary-800);
  flex-shrink: 0;
  margin-top: 2px;
}

.impact-calc-text {
  font-size: 0.875rem;
  color: var(--primary-950);
  line-height: 1.5;
}

.impact-calc-text strong {
  color: var(--primary-900);
}

.tax-receipt-card {
  background: var(--slate-50);
  border-radius: var(--radius-sm);
  padding: 18px;
  border: 1px solid var(--border-light);
  margin-bottom: 24px;
}

.tax-receipt-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.875rem;
  color: var(--slate-600);
  margin-bottom: 6px;
}

.tax-receipt-row.highlight {
  font-weight: 700;
  color: var(--primary-900);
  font-size: 0.9375rem;
  border-top: 1px dashed var(--slate-300);
  padding-top: 8px;
  margin-top: 8px;
  margin-bottom: 0;
}

.form-group {
  margin-bottom: 18px;
}

.form-label {
  display: block;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--slate-700);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input, .form-select, .form-textarea {
  width: 100%;
  padding: 11px 14px;
  border: 1px solid var(--border-light);
  border-radius: var(--radius-sm);
  background: #ffffff;
  color: var(--slate-800);
  font-size: 0.9375rem;
  outline: none;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--gold-700);
  box-shadow: 0 0 0 2px rgba(201, 107, 23, 0.15);
}

.form-checkbox-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.875rem;
  color: var(--slate-600);
  cursor: pointer;
  margin-bottom: 22px;
}

.form-checkbox-label input {
  margin-top: 3px;
}

.form-error-banner[hidden],
.contact-success[hidden] {
  display: none;
}

.form-error-banner {
  background: #fef2f2;
  color: #991b1b;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  margin-bottom: 18px;
  font-size: 0.9375rem;
  font-weight: 500;
}

.contact-success {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 24px 12px 12px;
}

.contact-success-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--primary-100);
  color: var(--primary-800);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.contact-success-title {
  font-family: var(--font-serif);
  font-size: 1.75rem;
  color: var(--primary-950);
  margin-bottom: 10px;
}

.contact-success-title:focus-visible {
  outline: 2px solid var(--primary-800);
  outline-offset: 4px;
  border-radius: 4px;
}

.contact-success-message {
  font-size: 1rem;
  color: var(--slate-600);
  max-width: 480px;
  line-height: 1.65;
  margin-bottom: 24px;
}

.contact-success-actions {
  display: flex;
  justify-content: center;
}

.giving-methods-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.giving-method-card {
  background: #ffffff;
  border-radius: var(--radius-md);
  padding: 28px;
  border: 1px solid var(--border-light);
  box-shadow: var(--shadow-sm);
}

.giving-method-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 10px;
}

.giving-method-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  background: var(--gold-100);
  color: var(--gold-900);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.giving-method-title {
  font-family: var(--font-serif);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--primary-950);
}

.giving-method-desc {
  font-size: 0.875rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ==========================================================================
   Modals & Popovers
   ========================================================================== */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(9, 13, 22, 0.7);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 24px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.modal-overlay.active {
  display: flex;
  opacity: 1;
}

.modal-dialog {
  background: #ffffff;
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  position: relative;
  border: 1px solid var(--border-light);
}

.modal-close-btn {
  position: absolute;
  top: 18px;
  right: 18px;
  background: var(--slate-100);
  border: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--slate-700);
}

.modal-close-btn:hover {
  background: var(--slate-200);
}

.modal-header {
  padding: 28px 28px 14px;
  border-bottom: 1px solid var(--border-light);
}

.modal-title {
  font-family: var(--font-serif);
  font-size: 1.5rem;
  color: var(--primary-950);
  line-height: 1.25;
}

.modal-body {
  padding: 28px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 1100;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  background: var(--slate-900);
  color: #ffffff;
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow-xl);
  font-size: 0.875rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 12px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  pointer-events: auto;
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }
  .waqf-intro-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .gala-banner-content {
    grid-template-columns: 1fr;
  }
  .team-grid, .testimonials-grid, .grants-grid, .stories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 36px;
  }
  .donate-split-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .section {
    padding: 60px 0;
  }
  .header-actions .btn-sm {
    display: none;
  }
  .mobile-toggle {
    display: block;
  }
  .nav-menu {
    position: fixed;
    top: 92px;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    padding: 28px 24px;
    gap: 18px;
    border-bottom: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.open {
    display: flex;
  }
  .steps-grid, .funds-grid, .governance-grid, .team-grid, .team-grid--2col, .testimonials-grid, .grants-grid, .stories-grid {
    grid-template-columns: 1fr;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .footer-top {
    grid-template-columns: 1fr;
  }
  .donation-box {
    padding: 24px 18px;
  }
  .donation-embed-box {
    padding: 16px 12px;
  }
  .amount-presets-grid {
    grid-template-columns: repeat(3, 1fr);
  }
  .gala-banner-card {
    padding: 32px 20px;
  }
  .countdown-grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (max-width: 640px) {
  .subnav-list {
    justify-content: flex-start;
  }
}
