/**
 * Diaspora Solidaires — Main stylesheet
 * Port of the Next.js design to WordPress.
 *
 * Charte graphique (defaults, overridden by Customizer inline CSS):
 *   --forest: #1B6B45
 *   --forest-dark: #0F3D2E
 *   --gold: #F4A823
 *   --beige: #F5F1E8
 *   --beige-light: #FBF8F1
 *   --ink: #1A1A1A
 */

/* ==========================================================================
   1. RESET & BASE
   ========================================================================== */

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

html {
        scroll-behavior: smooth;
        scroll-padding-top: 96px; /* Offset for fixed header (80px) + breathing room */
        -webkit-text-size-adjust: 100%;
}

@media (prefers-reduced-motion: reduce) {
        html {
                scroll-behavior: auto;
        }
        *, *::before, *::after {
                animation-duration: 0.01ms !important;
                animation-iteration-count: 1 !important;
                transition-duration: 0.01ms !important;
        }
}

body {
        font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
        font-weight: 400;
        font-size: 16px;
        line-height: 1.65;
        color: var(--ink);
        background: var(--beige-light);
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
        font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, sans-serif;
        font-weight: 800;
        letter-spacing: -0.02em;
        line-height: 1.15;
        color: var(--forest-dark);
}

a {
        color: var(--forest);
        text-decoration: none;
        transition: color 0.2s ease;
}

a:hover {
        color: var(--gold-dark);
}

img {
        max-width: 100%;
        height: auto;
        display: block;
}

button {
        font-family: inherit;
        cursor: pointer;
        border: none;
        background: none;
}

*:focus-visible {
        outline: 2px solid var(--forest);
        outline-offset: 2px;
}

/* Screen reader text */
.screen-reader-text {
        position: absolute !important;
        width: 1px;
        height: 1px;
        overflow: hidden;
        clip: rect(0, 0, 0, 0);
        white-space: nowrap;
}

.skip-link {
        position: absolute;
        left: -9999px;
        top: 0;
        z-index: 1000;
        padding: 12px 20px;
        background: var(--forest);
        color: #fff !important;
        font-weight: 700;
        border-radius: 0 0 8px 0;
        text-decoration: none;
}

.skip-link:focus {
        left: 0;
}

/* ==========================================================================
   2. LAYOUT
   ========================================================================== */

.container {
        max-width: 1280px;
        margin: 0 auto;
        padding: 0 1rem;
}

@media (min-width: 640px) {
        .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
        .container { padding: 0 2rem; }
}

.site-main {
        min-height: 60vh;
}

/* ==========================================================================
   3. BUTTONS
   ========================================================================== */

.btn {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 0.95rem;
        border-radius: 0.5rem;
        transition: all 0.25s ease;
        text-decoration: none;
        cursor: pointer;
        min-height: 48px;
        line-height: 1;
}

.btn svg {
        width: 1.1rem;
        height: 1.1rem;
}

.btn-lg {
        padding: 1rem 2rem;
        font-size: 1rem;
        min-height: 56px;
}

.btn-block {
        display: flex;
        width: 100%;
}

.btn-don {
        background: var(--gold);
        color: var(--ink) !important;
        box-shadow: 0 4px 12px -2px rgba(244, 168, 35, 0.4);
}

.btn-don:hover {
        background: var(--gold-dark);
        color: var(--ink) !important;
        transform: translateY(-1px);
        box-shadow: 0 8px 20px -4px rgba(244, 168, 35, 0.5);
}

.btn-gold {
        background: var(--gold);
        color: var(--ink) !important;
}

.btn-gold:hover {
        background: var(--gold-dark);
        color: var(--ink) !important;
}

.btn-outline {
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.4);
        color: #fff !important;
        backdrop-filter: blur(8px);
}

.btn-outline:hover {
        background: rgba(255, 255, 255, 0.2);
        color: #fff !important;
}

/* ==========================================================================
   LANGUAGE TABS — FR / EN / AR
   ========================================================================== */

.lang-switcher {
        display: inline-flex;
        align-items: center;
        gap: 2px;
        padding: 4px;
        /* Always dark-themed since the header is now always solid beige. */
        background: rgba(15, 61, 46, 0.06);
        border: 1px solid rgba(15, 61, 46, 0.15);
        border-radius: 999px;
        backdrop-filter: blur(8px);
}

/* Old rule removed: .site-header.is-scrolled .lang-switcher was setting the
   dark background only on scroll. Now the dark background is the default. */

.lang-tab {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        min-width: 36px;
        height: 30px;
        padding: 0 10px;
        border-radius: 999px;
        font-family: 'Montserrat', sans-serif;
        font-size: 0.75rem;
        font-weight: 700;
        /* Always dark text since the header is always solid. */
        color: rgba(15, 61, 46, 0.7);
        background: transparent;
        border: none;
        cursor: pointer;
        transition: all 0.2s ease;
        letter-spacing: 0.02em;
}

/* Old rule removed: .site-header.is-scrolled .lang-tab was setting dark text
   only on scroll. Now dark text is the default. */

.lang-tab:hover {
        color: var(--gold);
        background: rgba(244, 168, 35, 0.1);
}

.lang-tab.is-active,
.lang-tab[aria-selected="true"] {
        background: var(--gold);
        color: var(--ink) !important;
}

/* Mobile lang switcher (inside mobile menu) */
.mobile-nav .lang-switcher {
        display: inline-flex;
        margin: 0 auto 1.5rem;
        background: rgba(15, 61, 46, 0.06);
        border-color: rgba(15, 61, 46, 0.15);
}

.mobile-nav .lang-tab {
        color: rgba(15, 61, 46, 0.7);
        min-width: 44px;
        height: 36px;
        font-size: 0.875rem;
}

/* RTL: tabs flip order */
.rtl .lang-switcher {
        flex-direction: row-reverse;
}

/* Show/hide lang switcher on small screens */
@media (max-width: 1023px) {
        .lang-switcher-desktop {
                display: none;
        }
}

@media (min-width: 1024px) {
        .lang-switcher-mobile {
                display: none;
        }
}

/* ==========================================================================
   4. HEADER
   ========================================================================== */

.site-header {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 100;
        transition: all 0.3s ease;
        /* ALWAYS solid opaque background — no backdrop-filter (unreliable in some browsers). */
        background: #FBF8F1;
        box-shadow: 0 1px 0 rgba(15, 61, 46, 0.08);
}

/* On interior pages, same solid background. */
.site-header.header-solid {
        background: #FBF8F1;
        box-shadow: 0 1px 0 rgba(15, 61, 46, 0.08);
}

.site-header.is-scrolled,
.site-header.header-solid.is-scrolled {
        background: #FBF8F1;
        box-shadow: 0 4px 24px -12px rgba(15, 61, 46, 0.25);
        border-bottom: 1px solid rgba(245, 241, 232, 0.6);
}

/* Menu text is always dark now (since the header background is always light). */
.menu-primary li a {
        color: var(--ink-soft);
}

/* Override the old rule that forced white text on transparent header.
   We keep the dark text everywhere for consistency. */
.site-header:not(.is-scrolled) .menu-primary li a,
.site-header.header-solid .menu-primary li a,
.site-header.is-scrolled .menu-primary li a {
        color: var(--ink-soft);
}

.menu-primary li a:hover,
.site-header:not(.is-scrolled) .menu-primary li a:hover,
.site-header.header-solid .menu-primary li a:hover,
.site-header.is-scrolled .menu-primary li a:hover {
        background: rgba(27, 107, 69, 0.08);
        color: var(--forest);
}

/* Menu toggle (mobile) — always dark. */
.menu-toggle,
.site-header.header-solid .menu-toggle,
.site-header.is-scrolled .menu-toggle {
        color: var(--forest-dark);
}

/* Logo fallback (text logo) — always dark. */
.logo-name,
.site-header.header-solid .logo-name,
.site-header.is-scrolled .logo-name {
        color: var(--forest-dark);
}

.header-inner {
        display: flex;
        align-items: center;
        justify-content: space-between;
        height: 80px;
        gap: 1rem;
}

/* Keep logo on the left even when nav items are disabled. */
.site-logo {
        flex-shrink: 0;
        margin-right: auto;
        display: flex;
        align-items: center;
        gap: 0.75rem;
        text-decoration: none;
}

/* Nav takes remaining space so the logo stays left-aligned. */
.primary-nav {
        flex: 1;
        display: flex;
        justify-content: center;
}

.site-logo img,
.custom-logo {
        max-height: 60px;
        width: auto;
}

.logo-fallback {
        display: flex;
        align-items: center;
        gap: 0.75rem;
}

.logo-mark {
        font-size: 2rem;
        color: var(--gold);
        line-height: 1;
}

.logo-text {
        display: flex;
        flex-direction: column;
}

.logo-name {
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 1.1rem;
        color: var(--forest-dark);
        letter-spacing: -0.01em;
}

.logo-name em {
        font-style: normal;
        color: var(--gold);
}

.logo-tag {
        font-size: 0.625rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.25em;
        color: var(--ink-muted, #6B6B6B);
        margin-top: 2px;
}

/* Nav */
.primary-nav {
        display: none;
}

@media (min-width: 1024px) {
        .primary-nav {
                display: block;
        }
}

.menu-primary {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        list-style: none;
}

.menu-primary li a {
        display: block;
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
        font-weight: 600;
        color: var(--ink-soft);
        border-radius: 0.375rem;
        transition: all 0.2s ease;
}

/* NOTE: The old `.site-header:not(.is-scrolled) .menu-primary li a { color: #fff; }`
   rule has been removed — it was overriding the "always solid header" rules
   defined above (lines ~340-352) and forcing white text on a light background.
   The header is now always solid beige with dark text, on all pages. */

.menu-primary li a:hover {
        background: rgba(27, 107, 69, 0.08);
        color: var(--forest);
}

.header-actions {
        display: flex;
        align-items: center;
        gap: 0.75rem;
}

.lang-switcher-desktop ul {
        list-style: none;
        display: flex;
        gap: 0.25rem;
}

.lang-switcher-desktop li a {
        display: block;
        padding: 0.35rem 0.6rem;
        font-size: 0.75rem;
        font-weight: 700;
        color: var(--ink-soft);
        border: 1px solid transparent;
        border-radius: 0.25rem;
}

.lang-switcher-desktop li.is-active a {
        background: var(--forest);
        color: #fff;
}

.menu-toggle {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        border-radius: 0.375rem;
        color: var(--forest-dark);
        transition: background 0.2s ease;
}

/* NOTE: The old `.site-header:not(.is-scrolled) .menu-toggle { color: #fff; }`
   rule has been removed — it was forcing white hamburger icon on a light
   background, making it invisible. The toggle is now always dark. */

.menu-toggle:hover {
        background: rgba(27, 107, 69, 0.08);
}

.menu-toggle svg {
        width: 1.5rem;
        height: 1.5rem;
}

.menu-toggle svg:nth-child(2) {
        display: none;
}

.menu-toggle.is-open svg:nth-child(1) {
        display: none;
}

.menu-toggle.is-open svg:nth-child(2) {
        display: block;
}

@media (min-width: 1024px) {
        .menu-toggle {
                display: none;
        }
}

/* Mobile nav */
.mobile-nav {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(251, 248, 241, 0.98);
        backdrop-filter: blur(10px);
        padding: 2rem 1rem;
        overflow-y: auto;
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
}

.mobile-nav.is-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
}

.mobile-menu {
        list-style: none;
        margin-bottom: 1.5rem;
}

.mobile-menu li a {
        display: block;
        padding: 1rem 0;
        font-size: 1.125rem;
        font-weight: 600;
        color: var(--ink-soft);
        border-bottom: 1px solid rgba(245, 241, 232, 0.6);
}

/* ==========================================================================
   5. SECTIONS — COMMON
   ========================================================================== */

section {
        padding: 5rem 0;
}

@media (min-width: 640px) {
        section { padding: 7rem 0; }
}

.section-header {
        max-width: 48rem;
        margin-bottom: 3.5rem;
}

.section-header-center {
        margin-left: auto;
        margin-right: auto;
        text-align: center;
}

.section-eyebrow {
        display: inline-block;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.25em;
        color: var(--gold);
        margin-bottom: 1.25rem;
}

.section-title {
        font-size: 1.875rem;
        line-height: 1.2;
        margin-bottom: 1.25rem;
}

@media (min-width: 640px) {
        .section-title { font-size: 2.25rem; }
}

@media (min-width: 1024px) {
        .section-title { font-size: 2.75rem; }
}

.section-title-light {
        color: #fff;
}

.accent-gold {
        color: var(--gold);
        background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
}

.accent-forest {
        color: var(--forest);
}

.section-description {
        font-size: 1.0625rem;
        line-height: 1.7;
        color: rgba(51, 51, 51, 0.8);
        max-width: 42rem;
}

.section-header-center .section-description {
        margin-left: auto;
        margin-right: auto;
}

.section-sources {
        font-size: 0.75rem;
        color: rgba(51, 51, 51, 0.5);
        margin-top: 0.75rem;
}

/* ==========================================================================
   6. HERO
   ========================================================================== */

.section-hero {
        position: relative;
        min-height: 100vh;
        min-height: 100svh;
        display: flex;
        align-items: center;
        padding: 6rem 0 4rem;
        overflow: hidden;
}

.hero-bg {
        position: absolute;
        inset: 0;
        z-index: -1;
}

.hero-bg img {
        width: 100%;
        height: 100%;
        object-fit: cover;
}

.hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(180deg, rgba(10, 40, 24, 0.85) 0%, rgba(15, 61, 46, 0.75) 50%, rgba(15, 61, 46, 0.85) 100%);
}

.hero-pattern {
        position: absolute;
        inset: 0;
        opacity: 0.07;
        background-image:
                repeating-linear-gradient(60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.5) 80px, rgba(244, 168, 35, 0.5) 81px),
                repeating-linear-gradient(-60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.5) 80px, rgba(244, 168, 35, 0.5) 81px);
}

.hero-content {
        max-width: 48rem;
        color: #fff;
}

.hero-arabic {
        font-family: 'Amiri', serif;
        font-size: 1.5rem;
        color: var(--gold);
        margin-bottom: 0.75rem;
}

@media (min-width: 640px) {
        .hero-arabic { font-size: 1.875rem; }
}

.hero-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.375rem 1rem;
        border-radius: 999px;
        border: 1px solid rgba(244, 168, 35, 0.4);
        background: rgba(244, 168, 35, 0.1);
        margin-bottom: 1.5rem;
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.18em;
        color: var(--gold);
}

.pulse-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gold);
        animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
        0%, 100% { opacity: 1; }
        50% { opacity: 0.4; }
}

.hero-title {
        font-size: 2.25rem;
        font-weight: 800;
        color: #fff;
        line-height: 1.1;
        margin-bottom: 1.5rem;
}

@media (min-width: 640px) {
        .hero-title { font-size: 3rem; }
}

@media (min-width: 1024px) {
        .hero-title { font-size: 3.75rem; }
}

.hero-subtitle {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.85);
        line-height: 1.7;
        max-width: 42rem;
        margin-bottom: 2rem;
}

@media (min-width: 640px) {
        .hero-subtitle { font-size: 1.25rem; }
}

.hero-cta {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        margin-bottom: 2.5rem;
}

@media (min-width: 640px) {
        .hero-cta {
                flex-direction: row;
        }
}

.hero-trust {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.7);
}

.hero-trust svg {
        width: 1.25rem;
        height: 1.25rem;
        color: var(--gold);
        flex-shrink: 0;
}

/* ==========================================================================
   7. IMPACT SECTION
   ========================================================================== */

.section-impact {
        background: var(--forest);
        color: #fff;
        position: relative;
        overflow: hidden;
}

.section-impact::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
                repeating-linear-gradient(60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px),
                repeating-linear-gradient(-60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px);
        pointer-events: none;
}

.section-impact .container {
        position: relative;
}

.section-impact .section-title {
        color: #fff;
}

.section-impact .section-description {
        color: rgba(255, 255, 255, 0.7);
}

.stats-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-bottom: 3.5rem;
}

@media (min-width: 640px) {
        .stats-grid {
                grid-template-columns: repeat(2, 1fr);
        }
}

@media (min-width: 1024px) {
        .stats-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 1.25rem;
        }
}

.stat-card {
        background: rgba(15, 61, 46, 0.4);
        backdrop-filter: blur(4px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        padding: 1.5rem;
        transition: all 0.4s ease;
        /* Safety: never let a stat-card be invisible (in case main.js fails to load
           or the IntersectionObserver doesn't fire). */
        opacity: 1 !important;
}

.stat-card:hover {
        border-color: rgba(244, 168, 35, 0.4);
        background: rgba(15, 61, 46, 0.6);
        transform: translateY(-4px);
}

.stat-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1.25rem;
}

.stat-icon {
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background: rgba(244, 168, 35, 0.15);
        border: 1px solid rgba(244, 168, 35, 0.25);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
}

.stat-icon svg {
        width: 1.25rem;
        height: 1.25rem;
}

.stat-source {
        font-size: 0.625rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: rgba(255, 255, 255, 0.4);
}

.stat-number {
        font-family: 'Montserrat', sans-serif;
        font-size: 2.25rem;
        font-weight: 800;
        color: #fff;
        line-height: 1;
        margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
        .stat-number { font-size: 3rem; }
}

.stat-unit {
        font-size: 1.125rem;
        color: var(--gold);
        font-weight: 700;
        margin-left: 0.25rem;
}

.stat-label {
        font-size: 0.875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(255, 255, 255, 0.75);
        margin-bottom: 0.5rem;
}

.stat-sep {
        width: 2rem;
        height: 1px;
        background: rgba(244, 168, 35, 0.4);
        margin: 0.5rem 0;
}

.stat-sub {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.5);
        line-height: 1.5;
}

.impact-cta {
        text-align: center;
        margin-top: 3rem;
}

.impact-cta-sep {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-bottom: 1.5rem;
        opacity: 0.7;
}

.impact-cta-sep hr {
        flex: 1;
        border: none;
        border-top: 1px solid rgba(255, 255, 255, 0.4);
}

.impact-cta-sep span {
        font-size: 0.625rem;
        font-weight: 700;
        letter-spacing: 0.3em;
        text-transform: uppercase;
        color: rgba(255, 255, 255, 0.85);
        white-space: nowrap;
}

.impact-cta-text {
        font-size: 1.125rem;
        color: rgba(255, 255, 255, 0.9);
        max-width: 36rem;
        margin: 0 auto;
        line-height: 1.65;
}

/* ==========================================================================
   8. MISSION (4 PILLARS)
   ========================================================================== */

.section-mission {
        background: var(--beige-light);
        position: relative;
        overflow: hidden;
}

.section-mission::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(27, 107, 69, 0.08) 1px, transparent 1px);
        background-size: 24px 24px;
        opacity: 0.4;
        pointer-events: none;
}

.section-mission .container {
        position: relative;
}

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

@media (min-width: 640px) {
        .pillars-grid {
                grid-template-columns: repeat(2, 1fr);
        }
}

@media (min-width: 1024px) {
        .pillars-grid {
                grid-template-columns: repeat(4, 1fr);
                gap: 1.5rem;
        }
}

.pillar-card {
        position: relative;
        overflow: hidden;
        background: #fff;
        border: 1px solid rgba(245, 241, 232, 0.8);
        border-radius: 1rem;
        padding: 1.75rem;
        transition: all 0.4s ease;
}

.pillar-card:hover {
        transform: translateY(-6px);
        box-shadow: 0 24px 48px -16px rgba(15, 61, 46, 0.18);
}

.pillar-accent-bar {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        height: 4px;
        background: var(--accent);
        transform: scaleX(0);
        transform-origin: left;
        transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-accent-bar {
        transform: scaleX(1);
}

.pillar-number {
        position: absolute;
        top: 1rem;
        right: 1.25rem;
        font-family: 'Montserrat', sans-serif;
        font-size: 4.5rem;
        font-weight: 800;
        color: rgba(15, 61, 46, 0.06);
        line-height: 1;
}

.pillar-icon {
        display: inline-flex;
        width: 56px;
        height: 56px;
        align-items: center;
        justify-content: center;
        border-radius: 1rem;
        background: color-mix(in srgb, var(--accent) 15%, transparent);
        border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
        color: var(--accent);
        margin-bottom: 1.5rem;
        transition: transform 0.3s ease;
}

.pillar-icon svg {
        width: 1.75rem;
        height: 1.75rem;
}

.pillar-card:hover .pillar-icon {
        transform: scale(1.1);
}

.pillar-name {
        font-size: 1.5rem;
        margin-bottom: 0.75rem;
        color: var(--forest-dark);
}

.pillar-desc {
        font-size: 0.875rem;
        line-height: 1.7;
        color: rgba(51, 51, 51, 0.8);
        margin-bottom: 1.5rem;
}

.pillar-link {
        display: inline-flex;
        align-items: center;
        gap: 0.375rem;
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--accent);
}

.pillar-link svg {
        width: 1rem;
        height: 1rem;
        transition: transform 0.3s ease;
}

.pillar-link:hover svg {
        transform: translate(2px, -2px);
}

.mission-quote {
        text-align: center;
        max-width: 48rem;
        margin: 5rem auto 0;
}

.mission-quote-arabic {
        font-family: 'Amiri', serif;
        font-size: 1.5rem;
        color: rgba(244, 168, 35, 0.6);
        margin-bottom: 1rem;
}

.mission-quote p {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--forest-dark);
        line-height: 1.4;
}

@media (min-width: 640px) {
        .mission-quote p { font-size: 2rem; }
}

.quote-mark {
        color: var(--gold);
}

.mission-quote-author {
        margin-top: 1.5rem;
        font-size: 0.8125rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: rgba(51, 51, 51, 0.5);
}

/* ==========================================================================
   9. STORIES
   ========================================================================== */

.section-stories {
        background: #fff;
}

.stories-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.5rem;
}

@media (min-width: 768px) {
        .stories-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 1024px) {
        .stories-grid { grid-template-columns: repeat(3, 1fr); }
}

.story-card {
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--beige);
        border-radius: 1rem;
        overflow: hidden;
        transition: all 0.4s ease;
}

.story-card:hover {
        box-shadow: 0 24px 48px -16px rgba(15, 61, 46, 0.18);
}

.story-accent-bar {
        height: 6px;
        background: var(--accent);
}

.story-image img {
        width: 100%;
        height: 200px;
        object-fit: cover;
}

.story-body {
        padding: 1.75rem;
        display: flex;
        flex-direction: column;
        flex: 1;
}

.story-header {
        display: flex;
        align-items: flex-start;
        gap: 1rem;
        margin-bottom: 1.25rem;
}

.story-avatar {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        background: var(--accent);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1.25rem;
        flex-shrink: 0;
}

.story-meta {
        min-width: 0;
}

.story-name {
        font-family: 'Montserrat', sans-serif;
        font-weight: 700;
        font-size: 1.125rem;
        color: var(--forest-dark);
}

.story-location {
        display: flex;
        align-items: center;
        gap: 0.25rem;
        font-size: 0.875rem;
        color: rgba(51, 51, 51, 0.6);
}

.story-location svg {
        width: 0.875rem;
        height: 0.875rem;
        flex-shrink: 0;
}

.story-program {
        display: inline-flex;
        padding: 0.25rem 0.75rem;
        border-radius: 999px;
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        background: color-mix(in srgb, var(--accent) 15%, transparent);
        color: var(--accent);
        margin-bottom: 1.25rem;
        align-self: flex-start;
}

.story-quote {
        margin-bottom: 1.25rem;
        flex: 1;
}

.story-quote svg {
        width: 2rem;
        height: 2rem;
        color: var(--accent);
        opacity: 0.25;
        margin-bottom: 0.5rem;
}

.story-quote p {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.125rem;
        font-style: italic;
        color: var(--forest-dark);
        line-height: 1.5;
}

.story-context {
        font-size: 0.875rem;
        line-height: 1.7;
        color: rgba(51, 51, 51, 0.75);
        margin-bottom: 1rem;
}

.story-outcome {
        padding-top: 1rem;
        border-top: 1px solid var(--beige);
}

.story-outcome-label {
        font-size: 0.625rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: rgba(51, 51, 51, 0.5);
        margin-bottom: 0.5rem;
}

.story-outcome-value {
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--forest);
}

.stories-note {
        margin-top: 2.5rem;
        font-size: 0.75rem;
        color: rgba(51, 51, 51, 0.6);
        text-align: center;
        max-width: 36rem;
        margin-left: auto;
        margin-right: auto;
        font-style: italic;
        line-height: 1.7;
}

/* ==========================================================================
   10. PROGRAMS
   ========================================================================== */

.section-programs {
        background: var(--beige-light);
        position: relative;
        overflow: hidden;
}

.section-programs::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(27, 107, 69, 0.08) 1px, transparent 1px);
        background-size: 24px 24px;
        opacity: 0.3;
        pointer-events: none;
}

.section-programs .container {
        position: relative;
}

.programs-list {
        margin-bottom: 3rem;
}

.program-block {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        padding: 3rem 0;
        border-top: 1px solid var(--beige);
}

@media (min-width: 1024px) {
        .program-block {
                grid-template-columns: 5fr 7fr;
                gap: 3rem;
                padding: 4rem 0;
        }
}

.program-block:first-child {
        border-top: none;
        padding-top: 0;
}

@media (min-width: 1024px) {
        .program-block-reverse .program-visual {
                order: 2;
        }
}

.program-visual {
        aspect-ratio: 4/3;
        border-radius: 1rem;
        padding: 2rem;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        background: linear-gradient(135deg, color-mix(in srgb, var(--accent) 15%, transparent) 0%, color-mix(in srgb, var(--accent) 5%, transparent) 100%);
        border: 1px solid color-mix(in srgb, var(--accent) 25%, transparent);
}

.program-visual-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
}

.program-icon {
        width: 64px;
        height: 64px;
        border-radius: 1rem;
        background: var(--accent);
        color: #fff;
        display: flex;
        align-items: center;
        justify-content: center;
}

.program-icon svg {
        width: 2rem;
        height: 2rem;
}

.program-number {
        font-family: 'Montserrat', sans-serif;
        font-size: 4.5rem;
        font-weight: 800;
        color: var(--accent);
        opacity: 0.1;
        line-height: 1;
}

.program-metrics {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
}

.program-metric {
        background: rgba(255, 255, 255, 0.7);
        backdrop-filter: blur(4px);
        border-radius: 0.75rem;
        padding: 0.75rem;
        text-align: center;
}

.program-metric-val {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.25rem;
        font-weight: 800;
        color: var(--accent);
        margin-bottom: 0.25rem;
}

.program-metric-lab {
        font-size: 0.625rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(51, 51, 51, 0.6);
        line-height: 1.3;
}

.program-tag {
        display: inline-flex;
        padding: 0.25rem 0.75rem;
        border-radius: 999px;
        font-size: 0.6875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        background: color-mix(in srgb, var(--accent) 15%, transparent);
        color: var(--accent);
        margin-bottom: 1rem;
}

.program-title {
        font-size: 1.5rem;
        margin-bottom: 0.5rem;
}

@media (min-width: 640px) {
        .program-title { font-size: 2rem; }
}

@media (min-width: 1024px) {
        .program-title { font-size: 2.5rem; }
}

.program-subtitle {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.125rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
}

.program-description {
        font-size: 1rem;
        line-height: 1.7;
        color: rgba(51, 51, 51, 0.85);
}

.program-description p {
        margin-bottom: 0.75rem;
}

.program-description ul,
.program-description li {
        margin-bottom: 0.5rem;
}

/* Quick stats footer */
.programs-quick-stats {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
        margin-top: 3rem;
}

@media (min-width: 1024px) {
        .programs-quick-stats {
                grid-template-columns: repeat(4, 1fr);
        }
}

.quick-stat {
        background: #fff;
        border: 1px solid var(--beige);
        border-radius: 0.75rem;
        padding: 1.25rem;
        text-align: center;
}

.quick-stat svg {
        width: 1.5rem;
        height: 1.5rem;
        margin: 0 auto 0.5rem;
        color: var(--gold);
}

.quick-stat-value {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.5rem;
        font-weight: 800;
        color: var(--forest-dark);
}

.quick-stat-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(51, 51, 51, 0.6);
        margin-top: 0.25rem;
}

/* ==========================================================================
   11. TRANSPARENCY
   ========================================================================== */

.section-transparency {
        background: #fff;
}

.transparency-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 5rem;
}

@media (min-width: 1024px) {
        .transparency-grid {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
        }
}

.transparency-block-title {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
}

.transparency-block-title svg {
        width: 1.5rem;
        height: 1.5rem;
        color: var(--gold);
}

.transparency-block-title h3 {
        font-size: 1.25rem;
        margin: 0;
}

.budget-bars {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 1.5rem;
}

.budget-bar-top {
        display: flex;
        justify-content: space-between;
        align-items: baseline;
        margin-bottom: 0.5rem;
}

.budget-bar-label {
        font-weight: 600;
        color: var(--forest-dark);
        font-size: 0.9375rem;
}

.budget-bar-desc {
        font-size: 0.75rem;
        color: rgba(51, 51, 51, 0.6);
        margin-top: 0.125rem;
}

.budget-bar-value {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.5rem;
        font-weight: 800;
}

.budget-bar-track {
        height: 10px;
        background: var(--beige);
        border-radius: 999px;
        overflow: hidden;
}

.budget-bar-fill {
        height: 100%;
        border-radius: 999px;
        width: 0;
        transition: width 1.2s ease-out;
}

.transparency-note {
        font-size: 0.75rem;
        color: rgba(51, 51, 51, 0.6);
        font-style: italic;
}

.certifs-list {
        list-style: none;
        margin-bottom: 2rem;
}

.certifs-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.75rem;
        padding: 0.5rem 0;
        font-size: 0.875rem;
        color: rgba(51, 51, 51, 0.85);
}

.certifs-list svg {
        width: 1.25rem;
        height: 1.25rem;
        color: var(--forest);
        flex-shrink: 0;
        margin-top: 0.125rem;
}

.transparency-figures {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
}

.transparency-figure {
        background: var(--beige);
        border-radius: 0.75rem;
        padding: 1.25rem;
}

.figure-value {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.875rem;
        font-weight: 800;
        color: var(--forest);
        margin-bottom: 0.25rem;
}

.transparency-figure:nth-child(2) .figure-value {
        color: var(--gold);
}

.figure-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: rgba(51, 51, 51, 0.6);
}

/* Reports */
.reports-block {
        margin-top: 2rem;
}

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

@media (min-width: 768px) {
        .reports-grid { grid-template-columns: repeat(3, 1fr); }
}

.report-card {
        background: var(--beige-light);
        border: 1px solid var(--beige);
        border-radius: 1rem;
        padding: 1.5rem;
        transition: all 0.3s ease;
}

.report-card:hover {
        border-color: rgba(244, 168, 35, 0.4);
        box-shadow: 0 16px 32px -12px rgba(15, 61, 46, 0.15);
        transform: translateY(-4px);
}

.report-card-top {
        display: flex;
        justify-content: space-between;
        align-items: flex-start;
        margin-bottom: 1rem;
}

.report-year {
        display: inline-flex;
        padding: 0.25rem 0.625rem;
        border-radius: 0.375rem;
        background: rgba(27, 107, 69, 0.1);
        color: var(--forest);
        font-size: 0.75rem;
        font-weight: 700;
}

.report-card svg {
        width: 2rem;
        height: 2rem;
        color: rgba(244, 168, 35, 0.4);
}

.report-card h4 {
        font-size: 1rem;
        margin-bottom: 0.5rem;
        line-height: 1.4;
}

.report-card p {
        font-size: 0.75rem;
        line-height: 1.6;
        color: rgba(51, 51, 51, 0.7);
        margin-bottom: 1rem;
}

.report-download {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.875rem;
        font-weight: 700;
        color: var(--forest);
}

.report-download svg {
        width: 1rem;
        height: 1rem;
        color: var(--forest);
}

.report-download-placeholder {
        color: rgba(51, 51, 51, 0.5);
}

.report-download-placeholder svg {
        color: rgba(51, 51, 51, 0.5);
}

/* ==========================================================================
   12. ABOUT
   ========================================================================== */

.section-about {
        background: var(--forest-dark);
        color: #fff;
        position: relative;
        overflow: hidden;
}

.section-about::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
                repeating-linear-gradient(60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px),
                repeating-linear-gradient(-60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px);
        opacity: 0.2;
        pointer-events: none;
}

.section-about .container {
        position: relative;
}

.about-top {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 5rem;
}

@media (min-width: 1024px) {
        .about-top {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
        }
}

.about-text p {
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.7;
        margin-bottom: 1rem;
        font-size: 1.0625rem;
}

.about-origins-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: var(--gold);
        margin-bottom: 1.25rem;
}

.about-origins-list {
        display: flex;
        flex-wrap: wrap;
        gap: 0.625rem;
        margin-bottom: 2rem;
}

.origin-tag {
        display: inline-flex;
        padding: 0.5rem 1rem;
        border-radius: 999px;
        border: 1px solid rgba(244, 168, 35, 0.3);
        background: rgba(244, 168, 35, 0.1);
        color: var(--gold);
        font-size: 0.875rem;
        font-weight: 600;
}

.about-identity {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        padding: 1.5rem;
        backdrop-filter: blur(4px);
}

.about-identity-arabic {
        font-family: 'Amiri', serif;
        font-size: 1.125rem;
        color: rgba(244, 168, 35, 0.7);
        margin-bottom: 0.75rem;
}

.about-identity p {
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.7;
}

/* Values */
.about-values {
        margin-bottom: 5rem;
}

.values-grid {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 1.25rem;
}

@media (min-width: 768px) {
        .values-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (min-width: 1024px) {
        .values-grid { grid-template-columns: repeat(5, 1fr); }
}

.value-item {
        display: flex;
        flex-direction: column;
        align-items: center;
        text-align: center;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        padding: 1.5rem 1rem;
        transition: all 0.4s ease;
        backdrop-filter: blur(4px);
}

.value-item:hover {
        background: rgba(255, 255, 255, 0.1);
        transform: translateY(-4px);
}

.value-icon {
        width: 56px;
        height: 56px;
        border-radius: 50%;
        border: 1px solid rgba(244, 168, 35, 0.3);
        background: rgba(244, 168, 35, 0.1);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
        margin-bottom: 1rem;
        transition: transform 0.3s ease;
}

.value-item:hover .value-icon {
        transform: scale(1.1);
}

.value-icon svg {
        width: 1.5rem;
        height: 1.5rem;
}

.value-label {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
        color: #fff;
        margin-bottom: 0.25rem;
}

.value-desc {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.55);
        line-height: 1.5;
}

/* Zones */
.about-zones {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2rem;
        align-items: center;
        max-width: 1100px;
        margin-left: auto;
        margin-right: auto;
}

@media (min-width: 1024px) {
        .about-zones {
                grid-template-columns: 1fr 1.2fr;
                gap: 4rem;
                align-items: center;
        }
}

.about-zones-text {
        text-align: left;
}

@media (min-width: 1024px) {
        .about-zones-text {
                text-align: right;
                /* Right-align the text column so it visually balances with the list column. */
                padding-right: 1rem;
        }
}

.about-zones-text p {
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.7;
}

.zones-list {
        list-style: none;
        /* Center the list within its grid column on mobile, full width on desktop. */
        width: 100%;
}

.zones-list li {
        display: flex;
        align-items: center;
        gap: 1rem;
        padding: 1rem 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        color: rgba(255, 255, 255, 0.85);
        font-size: 0.9375rem;
}

.zones-list li:last-child {
        border-bottom: none;
}

.zone-dot {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: var(--gold);
        flex-shrink: 0;
}

/* ==========================================================================
   13. CALL TO ACTION
   ========================================================================== */

.section-cta {
        background: var(--beige-light);
        position: relative;
        overflow: hidden;
}

.section-cta::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image: radial-gradient(rgba(27, 107, 69, 0.08) 1px, transparent 1px);
        background-size: 24px 24px;
        opacity: 0.3;
        pointer-events: none;
}

.section-cta .container {
        position: relative;
}

.cta-actions {
        display: grid;
        grid-template-columns: 1fr;
        gap: 1.25rem;
        margin-bottom: 4rem;
}

@media (min-width: 768px) {
        .cta-actions { grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
}

.action-card {
        position: relative;
        display: flex;
        flex-direction: column;
        background: #fff;
        border: 1px solid var(--beige);
        border-radius: 1rem;
        padding: 1.75rem;
        transition: all 0.4s ease;
}

.action-card:hover {
        box-shadow: 0 24px 48px -16px rgba(15, 61, 46, 0.18);
        transform: translateY(-4px);
}

.action-card-primary {
        border: 2px solid rgba(244, 168, 35, 0.4);
}

.action-badge {
        position: absolute;
        top: -0.75rem;
        left: 1.75rem;
        display: inline-flex;
        padding: 0.25rem 0.75rem;
        border-radius: 999px;
        background: var(--gold);
        color: var(--ink);
        font-size: 0.625rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.05em;
}

.action-icon {
        display: inline-flex;
        width: 56px;
        height: 56px;
        align-items: center;
        justify-content: center;
        border-radius: 1rem;
        background: color-mix(in srgb, var(--accent) 15%, transparent);
        border: 1px solid color-mix(in srgb, var(--accent) 30%, transparent);
        color: var(--accent);
        margin-bottom: 1.25rem;
}

.action-icon svg {
        width: 1.75rem;
        height: 1.75rem;
}

.action-card h3 {
        font-size: 1.25rem;
        margin-bottom: 0.75rem;
}

.action-card p {
        font-size: 0.875rem;
        color: rgba(51, 51, 51, 0.8);
        line-height: 1.7;
        margin-bottom: 1.25rem;
}

.action-bullets {
        list-style: none;
        margin-bottom: 1.5rem;
        flex: 1;
}

.action-bullets li {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.75rem;
        color: rgba(51, 51, 51, 0.75);
        margin-bottom: 0.5rem;
}

.action-bullets svg {
        width: 1rem;
        height: 1rem;
        color: var(--accent);
        flex-shrink: 0;
        margin-top: 0.125rem;
}

.action-cta {
        background: var(--accent);
        color: #fff !important;
}

.action-cta:hover {
        opacity: 0.9;
        color: #fff !important;
}

.action-card-primary .action-cta {
        background: var(--gold);
        color: var(--ink) !important;
}

/* Donation block */
.donation-block {
        background: var(--forest);
        color: #fff;
        border-radius: 1.5rem;
        padding: 2rem;
        position: relative;
        overflow: hidden;
}

@media (min-width: 640px) {
        .donation-block { padding: 2.5rem; }
}

@media (min-width: 1024px) {
        .donation-block { padding: 3.5rem; }
}

.donation-block::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
                repeating-linear-gradient(60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px),
                repeating-linear-gradient(-60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px);
        opacity: 0.15;
        pointer-events: none;
}

.donation-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        position: relative;
}

@media (min-width: 1024px) {
        .donation-grid {
                grid-template-columns: 1fr 1fr;
                gap: 4rem;
        }
}

.donation-eyebrow {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        padding: 0.25rem 0.75rem;
        border-radius: 999px;
        border: 1px solid rgba(244, 168, 35, 0.3);
        background: rgba(244, 168, 35, 0.15);
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: var(--gold);
        margin-bottom: 1.25rem;
}

.donation-eyebrow svg {
        width: 0.875rem;
        height: 0.875rem;
}

.donation-block h3 {
        color: #fff;
        font-size: 1.5rem;
        margin-bottom: 1rem;
}

@media (min-width: 640px) {
        .donation-block h3 { font-size: 1.875rem; }
}

.donation-description {
        color: rgba(255, 255, 255, 0.75);
        line-height: 1.7;
        margin-bottom: 1.75rem;
        font-size: 0.9375rem;
}

.amounts-grid {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
}

.amount-btn {
        text-align: left;
        border-radius: 0.75rem;
        padding: 1rem;
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: #fff;
        transition: all 0.2s ease;
}

.amount-btn:hover {
        border-color: rgba(244, 168, 35, 0.5);
}

.amount-btn.is-selected {
        background: var(--gold);
        border-color: var(--gold);
        color: var(--ink);
}

.amount-value {
        font-family: 'Montserrat', sans-serif;
        font-size: 1.25rem;
        font-weight: 800;
        margin-bottom: 0.25rem;
}

.amount-desc {
        font-size: 0.6875rem;
        line-height: 1.4;
        color: rgba(255, 255, 255, 0.6);
}

.amount-btn.is-selected .amount-desc {
        color: rgba(26, 26, 26, 0.8);
}

.donation-submit {
        box-shadow: 0 8px 24px -4px rgba(244, 168, 35, 0.4);
}

.donation-tax {
        text-align: center;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.55);
        margin-top: 0.75rem;
}

/* Aside cards */
.donation-aside {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
}

.aside-card {
        background: rgba(255, 255, 255, 0.05);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 1rem;
        padding: 1.5rem;
        backdrop-filter: blur(4px);
}

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

.aside-card-icon {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: rgba(244, 168, 35, 0.15);
        border: 1px solid rgba(244, 168, 35, 0.25);
        color: var(--gold);
        display: flex;
        align-items: center;
        justify-content: center;
}

.aside-card-icon svg {
        width: 1.25rem;
        height: 1.25rem;
}

.aside-card h4 {
        color: #fff;
        font-size: 1.125rem;
        margin: 0;
}

.aside-card p {
        color: rgba(255, 255, 255, 0.7);
        font-size: 0.875rem;
        line-height: 1.6;
        margin-bottom: 1rem;
}

.newsletter-form {
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
}

@media (min-width: 640px) {
        .newsletter-form {
                flex-direction: row;
        }
}

.newsletter-form input {
        flex: 1;
        border-radius: 0.5rem;
        background: rgba(255, 255, 255, 0.1);
        border: 1px solid rgba(255, 255, 255, 0.2);
        padding: 0.75rem 1rem;
        color: #fff;
        font-size: 0.875rem;
        font-family: inherit;
}

.newsletter-form input::placeholder {
        color: rgba(255, 255, 255, 0.4);
}

.newsletter-form input:focus {
        outline: none;
        border-color: var(--gold);
        background: rgba(255, 255, 255, 0.15);
}

.newsletter-success {
        display: none; /* Hidden by default — shown via JS only on success. */
        align-items: center;
        gap: 0.5rem;
        padding: 1rem;
        border-radius: 0.75rem;
        background: rgba(15, 61, 46, 0.3);
        border: 1px solid rgba(244, 168, 35, 0.3);
        color: var(--gold);
        font-size: 0.875rem;
        font-weight: 600;
}

/* When JS adds .is-visible, show the success message. */
.newsletter-success.is-visible {
        display: flex;
}

.newsletter-success svg {
        width: 1.25rem;
        height: 1.25rem;
}

.trust-list {
        list-style: none;
}

.trust-list li {
        display: flex;
        align-items: flex-start;
        gap: 0.5rem;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.5rem;
}

.trust-list svg {
        width: 1rem;
        height: 1rem;
        color: var(--gold);
        flex-shrink: 0;
        margin-top: 0.125rem;
}

/* ==========================================================================
   14. FOOTER
   ========================================================================== */

.site-footer {
        background: #0a2818;
        color: rgba(255, 255, 255, 0.8);
        padding: 4rem 0 2rem;
        position: relative;
}

.site-footer::before {
        content: '';
        position: absolute;
        inset: 0;
        background-image:
                repeating-linear-gradient(60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px),
                repeating-linear-gradient(-60deg, transparent, transparent 80px, rgba(244, 168, 35, 0.04) 80px, rgba(244, 168, 35, 0.04) 81px);
        opacity: 0.1;
        pointer-events: none;
}

.site-footer .container {
        position: relative;
}

.footer-grid {
        display: grid;
        grid-template-columns: 1fr;
        gap: 2.5rem;
        margin-bottom: 3rem;
}

@media (min-width: 1024px) {
        .footer-grid {
                grid-template-columns: 4fr 8fr;
                gap: 3rem;
        }
}

.footer-logo-fallback {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        margin-bottom: 1.25rem;
}

.footer-logo-fallback .logo-mark {
        font-size: 2rem;
        color: var(--gold);
}

.footer-logo-fallback .logo-name {
        font-family: 'Montserrat', sans-serif;
        font-weight: 800;
        font-size: 1.1rem;
        color: #fff;
}

.footer-logo-fallback .logo-name em {
        font-style: normal;
        color: var(--gold);
}

.footer-about {
        color: rgba(255, 255, 255, 0.65);
        font-size: 0.875rem;
        line-height: 1.7;
        max-width: 28rem;
        margin-bottom: 1.5rem;
}

.footer-contact {
        list-style: none;
}

.footer-contact li {
        display: flex;
        align-items: center;
        gap: 0.75rem;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.8);
        margin-bottom: 0.625rem;
}

.footer-contact a {
        color: rgba(255, 255, 255, 0.8);
}

.footer-contact a:hover {
        color: var(--gold);
}

.footer-contact svg {
        width: 1rem;
        height: 1rem;
        color: var(--gold);
        flex-shrink: 0;
}

.footer-address {
        align-items: flex-start !important;
}

.footer-nav .footer-menu-columns {
        list-style: none;
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
}

@media (min-width: 768px) {
        .footer-nav .footer-menu-columns {
                grid-template-columns: repeat(4, 1fr);
        }
}

.footer-menu-columns > li > a,
.footer-menu-columns > li > .footer-col-title {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.875rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.15em;
        color: var(--gold);
        margin-bottom: 1rem;
        display: block;
}

.footer-menu-columns > li > .footer-col-title {
        /* The title is now a <span> (not a link), so it shouldn't look clickable. */
        cursor: default;
}

.footer-menu-columns .sub-menu,
.footer-menu-columns ul {
        list-style: none;
}

.footer-menu-columns li li a {
        display: block;
        padding: 0.375rem 0;
        font-size: 0.875rem;
        color: rgba(255, 255, 255, 0.65);
}

.footer-menu-columns li li a:hover {
        color: #fff;
        text-decoration: underline;
        text-underline-offset: 4px;
}

.footer-middle {
        display: flex;
        flex-direction: column;
        gap: 1.5rem;
        padding: 1.5rem 0;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
        .footer-middle {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
        }
}

.footer-social {
        display: flex;
        align-items: center;
        gap: 0.75rem;
}

.footer-label {
        font-size: 0.75rem;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.2em;
        color: rgba(255, 255, 255, 0.4);
}

.footer-social ul {
        list-style: none;
        display: flex;
        gap: 0.5rem;
}

.footer-social a {
        display: inline-flex;
        width: 36px;
        height: 36px;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
        border: 1px solid rgba(255, 255, 255, 0.15);
        color: rgba(255, 255, 255, 0.7);
        transition: all 0.2s ease;
}

.footer-social a:hover {
        background: var(--gold);
        color: var(--ink);
        border-color: var(--gold);
}

.footer-social svg {
        width: 1rem;
        height: 1rem;
}

.footer-badges {
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
}

.footer-badge {
        display: inline-flex;
        align-items: center;
        gap: 0.5rem;
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.5);
}

.footer-badge .dot {
        width: 6px;
        height: 6px;
        border-radius: 50%;
        background: var(--gold);
}

.footer-legal {
        display: flex;
        flex-direction: column;
        gap: 1rem;
        padding-top: 1.5rem;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
}

@media (min-width: 768px) {
        .footer-legal {
                flex-direction: row;
                justify-content: space-between;
                align-items: center;
        }
}

.copyright {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.4);
}

.legal-links {
        list-style: none;
        display: flex;
        flex-wrap: wrap;
        gap: 1rem;
}

.legal-links a {
        font-size: 0.75rem;
        color: rgba(255, 255, 255, 0.4);
}

.legal-links a:hover {
        color: #fff;
}

.footer-signature {
        margin-top: 2rem;
        padding-top: 2rem;
        border-top: 1px solid rgba(255, 255, 255, 0.05);
        text-align: center;
}

.footer-arabic {
        font-family: 'Amiri', serif;
        font-size: 1.125rem;
        color: rgba(244, 168, 35, 0.4);
        margin-bottom: 0.5rem;
}

.footer-quote {
        font-family: 'Montserrat', sans-serif;
        font-size: 0.875rem;
        font-style: italic;
        color: rgba(255, 255, 255, 0.5);
        max-width: 36rem;
        margin: 0 auto;
}

.footer-sig-label {
        margin-top: 0.75rem;
        font-size: 0.625rem;
        text-transform: uppercase;
        letter-spacing: 0.3em;
        color: rgba(244, 168, 35, 0.5);
        font-weight: 700;
}

/* ==========================================================================
   15. ENTRY CONTENT (default templates)
   ========================================================================== */

.entry-content {
        padding: 8rem 0 4rem;
}

.entry-content h2 {
        margin-top: 2.5rem;
        margin-bottom: 1rem;
}

.entry-content h3 {
        margin-top: 2rem;
        margin-bottom: 0.75rem;
}

.entry-content p {
        margin-bottom: 1.25rem;
        line-height: 1.7;
}

.entry-content ul,
.entry-content ol {
        margin: 1rem 0 1.25rem 2rem;
}

.entry-content li {
        margin-bottom: 0.5rem;
}

/* ==========================================================================
   16. ANIMATIONS
   ========================================================================== */

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

.fade-in {
        animation: fadeUp 0.8s ease both;
}

/* ==========================================================================
   17. RESPONSIVE TWEAKS
   ========================================================================== */

@media (max-width: 639px) {
        .section-hero {
                padding-top: 5rem;
        }

        .hero-title {
                font-size: 2rem;
        }

        .donation-block {
                padding: 1.5rem;
        }

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