/* ============================================
   ANWAAR FOUNDATION - MAIN STYLESHEET
   ============================================ */

/* CSS Variables */
:root {
    /* Colors */
    --bg-primary: #F7F7F5;
    --bg-secondary: #0B3A2E;
    --accent: #C8A24C;
    --accent-dark: #8F6D2A;
    --text-primary: #111111;
    --text-secondary: #6D6D6D;
    --text-light: #FFFFFF;
    --border-color: rgba(17, 17, 17, 0.14);
    
    /* Typography */
    --font-display: 'Montserrat', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'IBM Plex Mono', monospace;
    
    /* Spacing */
    --pad-x: 6vw;
    --section-padding: 10vh;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-medium: 0.4s ease;
    --transition-slow: 0.6s ease;
    
    /* Shadows */
    --shadow-subtle: 0 10px 30px rgba(0, 0, 0, 0.08);
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    font-weight: 400;
    font-size: clamp(15px, 1.1vw, 18px);
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-primary);
    overflow-x: hidden;
}

body.page-entry-fade .main-header,
body.page-entry-fade main {
    animation: pageEntryFade 420ms ease both;
}

body.page-entry-fade .main-header {
    animation-delay: 0.04s;
}

body.page-entry-fade main {
    animation-delay: 0.08s;
}

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

/* Grain Overlay */
.grain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    opacity: 0.04;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%' height='100%' filter='url(%23noise)'/%3E%3C/svg%3E");
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.1;
    letter-spacing: -0.02em;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(44px, 5vw, 72px);
    line-height: 0.95;
}

h2 {
    font-size: clamp(34px, 3.6vw, 52px);
    line-height: 1.0;
}

h3 {
    font-size: clamp(24px, 2.2vw, 32px);
}

h4 {
    font-size: clamp(18px, 1.4vw, 22px);
}

p {
    max-width: 60ch;
}

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

.eyebrow {
    display: block;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 500;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 1rem;
}

/* Container */
.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.875rem 1.75rem;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    border-radius: 4px;
    border: none;
    cursor: pointer;
    transition: var(--transition-medium);
    text-transform: uppercase;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--text-primary);
}

.btn-primary:hover {
    background-color: #b08d3f;
    transform: translateY(-2px);
    box-shadow: var(--shadow-subtle);
}

.btn-secondary {
    background-color: transparent;
    color: var(--text-light);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

.btn-secondary:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.6);
}

.btn-outline {
    background-color: transparent;
    color: var(--text-primary);
    border: 1px solid var(--border-color);
}

.btn-outline:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
}

.btn-donate {
    background-color: var(--accent);
    color: var(--text-primary);
    padding: 0.625rem 1.25rem;
}

.btn-donate:hover {
    background-color: #b08d3f;
}

.btn-donate.active {
    background-color: #b08d3f;
    box-shadow: var(--shadow-subtle);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 15px;
}

.link-gold {
    color: var(--accent);
    font-weight: 600;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.link-gold:hover {
    color: #b08d3f;
}

.link-gold i {
    font-size: 12px;
    transition: transform var(--transition-fast);
}

.link-gold:hover i {
    transform: translateX(4px);
}

/* ============================================
   MOTION SYSTEM (REUSABLE)
   ============================================ */

.motion-ready [data-anim] {
    opacity: 0;
    will-change: opacity, transform;
    transition:
        opacity 1100ms cubic-bezier(0.22, 0.61, 0.36, 1),
        transform 1100ms cubic-bezier(0.22, 0.61, 0.36, 1);
    transition-delay: var(--anim-delay, 0s);
}

.motion-ready [data-anim="fade-up"] {
    transform: translateY(20px);
}

.motion-ready [data-anim="fade-down"] {
    transform: translateY(-20px);
}

.motion-ready [data-anim="fade-left"] {
    transform: translateX(20px);
}

.motion-ready [data-anim="fade-right"] {
    transform: translateX(-20px);
}

.motion-ready [data-anim="zoom-in"] {
    transform: scale(0.95);
}

.motion-ready [data-anim].is-visible {
    opacity: 1;
    transform: none;
}

.hover-card-soft {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast);
}

.hover-card-soft:hover,
.hover-card-soft:focus-within {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.hover-image-zoom {
    overflow: hidden;
}

.hover-image-zoom img {
    transition: transform 800ms cubic-bezier(0.22, 0.61, 0.36, 1);
}

.hover-image-zoom:hover img,
.hover-image-zoom:focus-within img {
    transform: scale(1.05);
}

.hover-btn-soft {
    transition: transform var(--transition-fast), box-shadow var(--transition-fast), background-color var(--transition-fast), color var(--transition-fast), border-color var(--transition-fast);
}

.hover-btn-soft:hover,
.hover-btn-soft:focus-visible {
    transform: translateY(-2px) scale(1.02);
}

@media (prefers-reduced-motion: reduce) {
    .motion-ready [data-anim] {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .hover-card-soft,
    .hover-image-zoom img,
    .hover-btn-soft {
        transition: none;
    }

    .hover-card-soft:hover,
    .hover-image-zoom:hover img,
    .hover-btn-soft:hover {
        transform: none;
    }
}

/* ============================================
   HEADER & NAVIGATION
   ============================================ */

.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
    transition: var(--transition-medium);
}

.main-header.scrolled {
    background-color: rgba(247, 247, 245, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.05);
}

.main-header.scrolled .logo-text,
.main-header.scrolled .nav-link {
    color: var(--text-primary);
}

.main-header.scrolled .menu-toggle {
    color: var(--text-primary);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 var(--pad-x);
    max-width: 1600px;
    margin: 0 auto;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

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

.header-logo img {
    height: 40px;
    width: auto;
}

.logo-text {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.1rem;
    color: var(--text-light);
    letter-spacing: -0.01em;
}

.desktop-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-dropdown {
    position: relative;
}

.dropdown-toggle {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
}

.dropdown-toggle i {
    font-size: 10px;
    transition: transform var(--transition-fast);
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    left: 0;
    min-width: 250px;
    background-color: rgba(247, 247, 245, 0.98);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    padding: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 0.125rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition-fast);
    z-index: 1200;
}

.dropdown-menu a {
    font-family: var(--font-body);
    font-size: 13px;
    font-weight: 500;
    color: var(--text-primary);
    padding: 0.6rem 0.75rem;
    border-radius: 4px;
}

.dropdown-menu a:hover,
.dropdown-menu a:focus-visible {
    background-color: rgba(200, 162, 76, 0.16);
    color: var(--text-primary);
}

.nav-dropdown:hover .dropdown-menu,
.nav-dropdown:focus-within .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.nav-dropdown:hover .dropdown-toggle i,
.nav-dropdown:focus-within .dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-link {
    font-family: var(--font-body);
    font-weight: 500;
    font-size: 14px;
    color: var(--text-light);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--accent);
    transition: width var(--transition-medium);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ============================================
   HERO SECTION
   ============================================ */

.hero-section {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
    display: flex;
    align-items: center;
}

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

.hero-slide {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 1.5s ease;
    will-change: transform, opacity;
}

.hero-slide.is-active {
    opacity: 1;
    animation: heroKenBurns 10.5s ease-out forwards;
}

.hero-slide-video.is-active {
    animation: none;
    transform: scale(1);
}

.hero-slide-video {
    object-position: center center;
    background: #000;
}

@keyframes heroKenBurns {
    0% {
        transform: scale(1) translate3d(var(--kb-x0, 0%), var(--kb-y0, 0%), 0);
    }
    100% {
        transform: scale(var(--kb-scale, 1.12)) translate3d(var(--kb-x1, 0%), var(--kb-y1, 0%), 0);
    }
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.55) 0%, rgba(0, 0, 0, 0.25) 50%, rgba(0, 0, 0, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    width: 100%;
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.hero-text-panel {
    max-width: 550px;
    color: var(--text-light);
}

.hero-text-panel .eyebrow {
    color: var(--accent);
    margin-bottom: 1.5rem;
}

.hero-headline {
    color: var(--text-light);
    margin-bottom: 0.5rem;
}

.hero-subheadline {
    font-family: var(--font-display);
    font-size: clamp(20px, 2vw, 28px);
    font-weight: 600;
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.hero-body {
    color: rgba(255, 255, 255, 0.85);
    font-size: 16px;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.hero-ctas {
    display: flex;
    gap: 1rem;
}

.hero-headline,
.hero-subheadline,
.hero-body,
.hero-section .hero-ctas {
    opacity: 0;
    transform: translateY(24px);
}

.hero-section.hero-text-animate .hero-headline {
    animation: fadeInUp 0.9s ease-out 0.15s both;
}

.hero-section.hero-text-animate .hero-subheadline {
    animation: fadeInUp 0.9s ease-out 0.35s both;
}

.hero-section.hero-text-animate .hero-body {
    animation: fadeInUp 0.9s ease-out 0.55s both;
}

.hero-section.hero-text-animate .hero-ctas {
    animation: fadeInUp 0.9s ease-out 0.75s both;
}

.hero-microcopy {
    position: absolute;
    bottom: 8vh;
    left: var(--pad-x);
    z-index: 3;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
}

.scroll-hint {
    position: absolute;
    bottom: 8vh;
    right: var(--pad-x);
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    font-family: var(--font-mono);
    letter-spacing: 0.04em;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

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

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ============================================
   WHAT WE DO SECTION
   ============================================ */

.what-we-do-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.section-header {
    margin-bottom: 4rem;
}

.section-header.centered {
    text-align: center;
}

.section-header.centered p {
    margin-left: auto;
    margin-right: auto;
}

.section-header h2 {
    margin-bottom: 1rem;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 17px;
}

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

.pillar-card {
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-medium);
    background-color: transparent;
}

.pillar-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-subtle);
}

.pillar-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(200, 162, 76, 0.1);
    border-radius: 4px;
    margin-bottom: 1.5rem;
}

.pillar-icon i {
    font-size: 24px;
    color: var(--accent);
}

.pillar-card h3 {
    font-size: 20px;
    margin-bottom: 0.75rem;
}

.pillar-card p {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   ABOUT SECTION
   ============================================ */

.about-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.25rem;
    color: var(--text-secondary);
}

.about-text p em {
    color: var(--accent);
    font-style: normal;
    font-weight: 600;
}

.vision-mission {
    margin: 2.5rem 0;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.vm-item h4 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
    font-size: 16px;
}

.vm-item h4 i {
    color: var(--accent);
    font-size: 18px;
}

.vm-item p {
    font-size: 14px;
    margin-bottom: 0;
    padding-left: 2rem;
}

.about-image {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    display: block;
}

.image-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: var(--accent);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.image-caption span {
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    color: var(--text-primary);
    letter-spacing: 0.04em;
}

/* ============================================
   VALUES SECTION
   ============================================ */

.values-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

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

.value-item {
    text-align: center;
    border: 1px solid transparent;
    border-radius: 8px;
    padding: 1rem 0.9rem;
    transition: transform var(--transition-medium), border-color var(--transition-medium), background-color var(--transition-medium), box-shadow var(--transition-medium);
}

.value-item i {
    font-size: 32px;
    color: var(--accent);
    margin-bottom: 1rem;
    transition: transform var(--transition-medium), color var(--transition-medium);
}

.value-item h4 {
    margin-bottom: 0.5rem;
    font-size: 18px;
    transition: color var(--transition-medium);
}

.value-item p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0 auto;
    transition: color var(--transition-medium);
}

.value-item:hover,
.value-item:focus-within {
    transform: translateY(-6px);
    border-color: rgba(200, 162, 76, 0.45);
    background-color: rgba(200, 162, 76, 0.08);
    box-shadow: 0 14px 26px rgba(0, 0, 0, 0.08);
}

.value-item:hover i,
.value-item:focus-within i {
    transform: translateY(-2px) scale(1.08);
    color: var(--accent-dark);
}

.value-item:hover h4,
.value-item:focus-within h4 {
    color: #1d1d1d;
}

.value-item:hover p,
.value-item:focus-within p {
    color: #4f4f4f;
}

/* ============================================
   PROGRAMS SECTION
   ============================================ */

.programs-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

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

.program-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition-medium);
    background-color: transparent;
}

.program-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: var(--shadow-subtle);
}

.program-image {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.program-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.program-card:hover .program-image img {
    transform: scale(1.05);
}

.program-tag {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: var(--accent);
    color: var(--text-primary);
    font-family: var(--font-mono);
    font-size: 11px;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    letter-spacing: 0.04em;
}

.program-content {
    padding: 1.5rem;
}

.program-content h3 {
    font-size: 18px;
    margin-bottom: 0.75rem;
}

.program-content p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.6;
}

/* ============================================
   IMPACT SECTION
   ============================================ */

.impact-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.impact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.impact-stats h2 {
    margin-bottom: 1rem;
}

.impact-intro {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

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

.stat-item {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    gap: 0.25rem;
}

.stat-number {
    font-family: var(--font-display);
    font-size: clamp(36px, 3.5vw, 48px);
    font-weight: 800;
    color: var(--accent);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: clamp(24px, 2vw, 32px);
    font-weight: 700;
    color: var(--accent);
}

.stat-label {
    width: 100%;
    font-size: 14px;
    color: var(--text-secondary);
    margin-top: 0.5rem;
}

.impact-image {
    border-radius: 4px;
    overflow: hidden;
}

.impact-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   STORIES SECTION
   ============================================ */

.stories-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.stories-collage {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem;
    height: 600px;
}

.story-item {
    position: relative;
    border-radius: 4px;
    overflow: hidden;
}

.story-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.story-item:hover img {
    transform: scale(1.03);
}

.story-large {
    grid-row: span 2;
}

.story-caption {
    position: absolute;
    bottom: 1rem;
    left: 1rem;
    background-color: rgba(11, 58, 46, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 4px;
}

.story-caption span {
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--text-light);
    letter-spacing: 0.04em;
}

/* ============================================
   PARTNERS SECTION
   ============================================ */

.partners-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.partners-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: center;
}

.partners-content h2 {
    margin-bottom: 1rem;
}

.partners-content > p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
}

.partners-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.partner-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    transition: var(--transition-fast);
}

.partner-item:hover {
    border-color: var(--accent);
}

.partner-logo-image {
    max-width: 70px;
    max-height: 36px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    flex-shrink: 0;
}

.partner-item h4 {
    font-size: 16px;
    margin-bottom: 0.25rem;
}

.partner-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.partners-image {
    border-radius: 4px;
    overflow: hidden;
}

.partners-image img {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   DONATE SECTION
   ============================================ */

.donate-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.donate-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.donate-content h2 {
    margin-bottom: 1rem;
}

.donate-content > p {
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    margin-left: auto;
    margin-right: auto;
}

.donation-options {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.donation-amount {
    padding: 1rem 2rem;
    border: 1px solid var(--border-color);
    background-color: transparent;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 18px;
    color: var(--text-primary);
    border-radius: 4px;
    cursor: pointer;
    transition: var(--transition-fast);
}

.donation-amount:hover {
    border-color: var(--accent);
}

.donation-amount.active {
    background-color: var(--accent);
    border-color: var(--accent);
}

.donation-type {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 15px;
}

.radio-label input {
    width: 18px;
    height: 18px;
    accent-color: var(--accent);
}

.donate-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.donate-section .btn-secondary {
    color: var(--text-primary);
    border-color: var(--border-color);
    background-color: transparent;
}

.donate-section .btn-secondary:hover {
    background-color: var(--text-primary);
    color: var(--bg-primary);
    border-color: var(--text-primary);
}

.donate-note {
    font-size: 13px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.donate-note i {
    color: var(--accent);
}

.payment-methods {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    font-size: 13px;
    color: var(--text-secondary);
}

.payment-methods i {
    font-size: 24px;
    color: var(--text-primary);
}

/* ============================================
   CONTACT SECTION
   ============================================ */

.contact-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 6vw;
    align-items: start;
}

.contact-form-wrapper h2 {
    margin-bottom: 1rem;
}

.contact-form-wrapper > p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

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

.form-group label {
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.form-group input,
.form-group textarea {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    background-color: transparent;
    transition: var(--transition-fast);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
}

.contact-item i {
    color: var(--accent);
    font-size: 16px;
    margin-top: 0.25rem;
}

.contact-item strong {
    font-size: 14px;
    display: block;
    margin-bottom: 0.25rem;
}

.contact-item p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.contact-image {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-image img {
    width: 100%;
    height: auto;
    border-radius: 4px;
}

.map-embed {
    height: 300px;
    border-radius: 4px;
    overflow: hidden;
}

.map-embed iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* ============================================
   NEWSLETTER SECTION
   ============================================ */

.newsletter-section {
    padding: var(--section-padding) 0;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.newsletter-section .container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 4rem;
}

.newsletter-content h3 {
    margin-bottom: 0.5rem;
}

.newsletter-content p {
    color: var(--text-secondary);
    font-size: 14px;
    margin-bottom: 1rem;
}

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

.newsletter-form input {
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 14px;
    width: 250px;
    background-color: transparent;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--accent);
}

.quick-links {
    display: flex;
    gap: 4rem;
}

.link-column h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.link-column nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.link-column a {
    font-size: 14px;
    color: var(--text-secondary);
}

.link-column a:hover {
    color: var(--accent);
}

/* ============================================
   CLOSING SECTION
   ============================================ */

.closing-section {
    padding: 20vh 0;
    background-color: var(--bg-secondary);
    text-align: center;
}

.closing-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--pad-x);
}

.closing-content h2 {
    color: var(--text-light);
    font-size: clamp(32px, 4vw, 56px);
}

/* ============================================
   FOOTER
   ============================================ */

.main-footer {
    padding: 5rem 0 2rem;
    background-color: var(--bg-primary);
    border-top: 1px solid var(--border-color);
}

.motion-ready .main-footer {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 700ms cubic-bezier(0.2, 0.7, 0.2, 1), transform 700ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.motion-ready .main-footer.is-visible {
    opacity: 1;
    transform: none;
}

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

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

.footer-logo img {
    height: 36px;
    width: auto;
}

.footer-logo span {
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1rem;
}

.footer-tagline {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-links a:hover {
    background-color: var(--accent);
    border-color: var(--accent);
    color: var(--text-primary);
}

.footer-contact h4,
.footer-links h4,
.footer-legal h4 {
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 1rem;
}

.contact-details p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.contact-details i {
    color: var(--accent);
    font-size: 14px;
    margin-top: 0.25rem;
}

.footer-links nav,
.footer-legal nav {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-links a,
.footer-legal a {
    display: inline-block;
    font-size: 14px;
    color: var(--text-secondary);
    position: relative;
}

.footer-links a::after,
.footer-legal a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 100%;
    height: 1px;
    background: var(--accent);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-fast);
}

.footer-links a:hover,
.footer-legal a:hover {
    color: var(--accent);
}

.footer-links a:hover::after,
.footer-links a:focus-visible::after,
.footer-legal a:hover::after,
.footer-legal a:focus-visible::after {
    transform: scaleX(1);
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-secondary);
    margin: 0;
}

.registration {
    font-family: var(--font-mono);
    font-size: 11px !important;
    letter-spacing: 0.04em;
}

/* ============================================
   MOBILE MENU
   ============================================ */

.mobile-menu-overlay {
    position: fixed;
    inset: 0;
    background-color: rgba(11, 58, 46, 0.45);
    backdrop-filter: blur(3px);
    z-index: 2000;
    display: flex;
    justify-content: flex-end;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-medium);
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.menu-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: var(--text-light);
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition-fast);
    z-index: 1;
}

.menu-close:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.34);
}

.mobile-nav {
    width: min(86vw, 340px);
    height: 100%;
    background-color: var(--bg-secondary);
    border-left: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: -12px 0 28px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    padding: 4.75rem 1rem 1rem;
    gap: 0.3rem;
    transform: translateX(100%);
    transition: transform var(--transition-medium);
}

.mobile-menu-overlay.active .mobile-nav {
    transform: translateX(0);
}

.mobile-nav a {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: var(--text-light);
    border: 1px solid transparent;
    border-radius: 4px;
    padding: 0.8rem 0.85rem;
}

.mobile-nav a:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: var(--accent);
}

.mobile-nav a.mobile-sub-link {
    font-size: 12px;
    font-weight: 500;
    text-transform: none;
    letter-spacing: 0.01em;
    margin-left: 0.55rem;
    padding: 0.55rem 0.75rem;
    color: rgba(255, 255, 255, 0.88);
    border-left: 2px solid rgba(200, 162, 76, 0.42);
    border-radius: 0 4px 4px 0;
}

.mobile-nav a.mobile-sub-link:hover {
    background: rgba(255, 255, 255, 0.07);
    color: var(--accent);
}

/* ============================================
   ABOUT PAGE
   ============================================ */

.about-page {
    background-color: #eef2f5;
}

.about-hero {
    position: relative;
    margin-top: 72px;
    height: 260px;
    overflow: hidden;
}

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

.about-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 58, 46, 0.7), rgba(11, 58, 46, 0.25));
}

.about-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.about-hero-content h1 {
    color: var(--text-light);
    font-size: clamp(34px, 4vw, 50px);
    margin-bottom: 0.25rem;
}

.about-hero-content p {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.about-intro-block,
.about-mission-block,
.about-volunteer-block,
.about-events-block {
    padding: 5rem 0;
}

.about-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.1fr;
    gap: 2.5rem;
    align-items: stretch;
}

.about-intro-media img {
    width: 100%;
    height: 100%;
    min-height: 560px;
    object-fit: cover;
    border-radius: 4px;
}

.about-intro-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
}

.about-intro-content h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.about-intro-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.about-lead {
    font-size: 17px;
}

.about-stat-grid {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.about-stat-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.1rem;
}

.about-stat-card i {
    color: var(--accent);
    font-size: 20px;
    margin-bottom: 0.55rem;
}

.about-stat-card h4 {
    font-size: 24px;
    margin-bottom: 0.3rem;
}

.about-stat-card p {
    font-size: 13px;
    margin: 0;
    color: var(--text-secondary);
}

.about-mission-block {
    background: var(--bg-primary);
}

.about-mission-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.about-mission-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem 1.4rem;
    text-align: center;
}

.about-mission-icon {
    width: 62px;
    height: 62px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(200, 162, 76, 0.14);
}

.about-mission-icon i {
    color: var(--accent);
    font-size: 24px;
}

.about-mission-card h4 {
    margin-bottom: 0.6rem;
}

.about-mission-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin: 0;
}

.about-volunteer-panel {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    overflow: hidden;
}

.about-volunteer-image img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
}

.about-volunteer-details {
    padding: 2rem;
}

.about-volunteer-details h3 {
    font-size: 30px;
    margin-bottom: 0.5rem;
}

.about-role {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--accent);
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.about-social-row {
    margin-top: 1.4rem;
    display: flex;
    gap: 0.7rem;
}

.about-social-row a {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: 1px solid var(--border-color);
    color: var(--text-secondary);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.about-social-row a:hover {
    background: var(--accent);
    color: var(--text-primary);
    border-color: var(--accent);
}

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

.about-event-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.about-event-card img {
    width: 100%;
    height: 280px;
    object-fit: cover;
}

.about-event-body {
    padding: 1.25rem;
}

.about-event-body h4 {
    font-size: 20px;
    margin-bottom: 0.5rem;
}

.about-event-body p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.about-partners-block {
    padding: 5rem 0 6rem;
    background: var(--bg-primary);
}

.about-partners-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    align-items: stretch;
}

.about-partner-logo {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    min-height: 98px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    padding: 0.75rem;
    transition: var(--transition-fast);
}

.about-partner-logo-image,
.about-partner-logo .partner-logo-image {
    max-width: 110px;
    max-height: 42px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: saturate(0.96) contrast(1.02);
}

.about-partner-logo span {
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 0.01em;
    color: #7a7a7a;
    text-align: center;
}

.about-partner-logo:hover {
    border-color: rgba(200, 162, 76, 0.5);
    transform: translateY(-2px);
}

.about-partner-logo:hover .about-partner-logo-image,
.about-partner-logo:hover .partner-logo-image {
    filter: saturate(1) contrast(1.03);
}

.about-partner-logo:hover span {
    color: var(--text-primary);
}

/* ============================================
   PROGRAMS PAGE
   ============================================ */

.programs-page {
    background-color: #eef2f5;
}

.programs-hero {
    position: relative;
    margin-top: 72px;
    height: 280px;
    overflow: hidden;
}

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

.programs-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 58, 46, 0.72), rgba(11, 58, 46, 0.2));
}

.programs-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.programs-hero-content h1 {
    color: var(--text-light);
    font-size: clamp(34px, 4vw, 52px);
    margin-bottom: 0.3rem;
}

.programs-hero-content p {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.05em;
    opacity: 0.9;
}

.programs-overview-block,
.programs-framework-block {
    padding: 5rem 0;
}

.programs-overview-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr;
    gap: 2.5rem;
    align-items: center;
}

.programs-overview-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
}

.programs-overview-content h2 {
    font-size: clamp(28px, 3.2vw, 42px);
    line-height: 1.05;
    margin-bottom: 1rem;
}

.programs-overview-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.programs-lead {
    font-size: 17px;
}

.programs-overview-stats {
    margin-top: 1.75rem;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.programs-overview-stat {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.9rem;
}

.programs-overview-stat h4 {
    font-size: 26px;
    margin-bottom: 0.3rem;
}

.programs-overview-stat p {
    margin: 0;
    font-size: 12px;
}

.programs-overview-media img {
    width: 100%;
    min-height: 380px;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
}

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

.program-brief-list {
    margin: 0 0 1rem 1rem;
    color: var(--text-secondary);
    font-size: 13px;
    line-height: 1.6;
}

.program-brief-list li {
    margin-bottom: 0.3rem;
}

.programs-framework-block {
    background: var(--bg-primary);
}

.programs-framework-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.4rem;
}

.programs-framework-card {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.75rem 1.35rem;
    text-align: center;
}

.programs-framework-card i {
    color: var(--accent);
    font-size: 28px;
    margin-bottom: 0.8rem;
}

.programs-framework-card h4 {
    margin-bottom: 0.6rem;
}

.programs-framework-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.programs-gallery-block,
.programs-video-block {
    padding: 5rem 0;
}

.programs-gallery-block {
    background: var(--bg-primary);
}

.programs-gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.programs-gallery-item {
    background: #ffffff;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
}

.programs-gallery-item img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    display: block;
}

.programs-gallery-caption {
    padding: 0.85rem 0.95rem;
    font-size: 13px;
    color: var(--text-secondary);
}

.programs-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}

.programs-video-grid.single-video {
    grid-template-columns: minmax(0, 760px);
    justify-content: center;
}

.programs-video-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    background: #ffffff;
}

.programs-video-card iframe,
.programs-video-card video {
    width: 100%;
    height: 280px;
    border: 0;
    display: block;
}

.programs-video-meta {
    padding: 1rem;
}

.programs-video-meta h4 {
    margin-bottom: 0.45rem;
}

.programs-video-meta p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 13px;
}

.programs-cta-text {
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    max-width: 62ch;
}

.programs-cta-actions {
    margin-top: 2rem;
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.programs-cta-actions .btn-outline {
    color: var(--text-light);
    border-color: rgba(255, 255, 255, 0.4);
}

.programs-cta-actions .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.7);
}

.about-page .closing-content p {
    margin: 1rem auto 0;
    color: rgba(255, 255, 255, 0.82);
    font-size: 16px;
    max-width: 62ch;
}

/* ============================================
   GET INVOLVED PAGE
   ============================================ */

.getinvolved-page {
    background: var(--bg-primary);
}

.getinvolved-hero {
    position: relative;
    margin-top: 72px;
    height: 320px;
    overflow: hidden;
}

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

.getinvolved-pathways-block,
.getinvolved-process-block,
.getinvolved-forms-block,
.getinvolved-support-block {
    padding: 5rem 0;
}

.getinvolved-process-block,
.getinvolved-support-block {
    background: #ffffff;
}

.getinvolved-pathways-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.getinvolved-pathway-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    padding: 1.4rem 1.15rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.getinvolved-pathway-card i {
    color: var(--accent);
    font-size: 24px;
}

.getinvolved-pathway-card h3 {
    font-size: 18px;
    margin: 0;
}

.getinvolved-pathway-card p {
    color: var(--text-secondary);
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

.getinvolved-pathway-card .btn {
    margin-top: auto;
    width: fit-content;
}

.getinvolved-process-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.getinvolved-step {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.25rem;
    background: var(--bg-primary);
}

.getinvolved-step span {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 0.06em;
    color: var(--accent-dark);
    display: inline-block;
    margin-bottom: 0.5rem;
}

.getinvolved-step h4 {
    margin-bottom: 0.55rem;
}

.getinvolved-step p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.getinvolved-forms-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem;
    align-items: start;
}

.getinvolved-form-panel {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    padding: 1.5rem;
}

.getinvolved-form-panel .section-header {
    margin-bottom: 1.25rem;
}

.getinvolved-form-panel .section-header h2 {
    font-size: clamp(24px, 2.7vw, 34px);
}

.getinvolved-form-panel .contact-form {
    margin-bottom: 0;
}

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

.getinvolved-eligibility-panel,
.getinvolved-faq-panel {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    padding: 1.5rem;
}

.getinvolved-eligibility-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 0.9rem;
}

.getinvolved-eligibility-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.6;
}

.getinvolved-eligibility-list i {
    color: var(--accent);
    margin-top: 0.15rem;
}

.getinvolved-faq-list {
    display: grid;
    gap: 0.75rem;
}

.getinvolved-faq-item {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 0.85rem 0.9rem;
    background: var(--bg-primary);
}

.getinvolved-faq-item summary {
    list-style: none;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
    padding-right: 1.25rem;
    position: relative;
}

.getinvolved-faq-item summary::-webkit-details-marker {
    display: none;
}

.getinvolved-faq-item summary::after {
    content: '+';
    position: absolute;
    right: 0;
    top: -0.1rem;
    color: var(--accent-dark);
    font-size: 18px;
    line-height: 1;
}

.getinvolved-faq-item[open] summary::after {
    content: '-';
}

.getinvolved-faq-item p {
    margin: 0.65rem 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.getinvolved-support-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.getinvolved-support-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    padding: 1.2rem;
}

.getinvolved-support-card i {
    color: var(--accent);
    font-size: 22px;
    margin-bottom: 0.65rem;
}

.getinvolved-support-card h4 {
    margin-bottom: 0.5rem;
}

.getinvolved-support-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   CONTACT PAGE
   ============================================ */

.contact-page {
    background: var(--bg-primary);
}

.contact-hero {
    position: relative;
    margin-top: 72px;
    height: 320px;
    overflow: hidden;
}

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

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 58, 46, 0.72), rgba(11, 58, 46, 0.2));
}

.contact-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.contact-hero-content h1 {
    color: var(--text-light);
    font-size: clamp(34px, 4vw, 52px);
    margin-bottom: 0.35rem;
}

.contact-hero-content p {
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.9);
}

.contact-channels-block,
.contact-main-block {
    padding: 5rem 0;
}

.contact-channels-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
}

.contact-channel-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 1.25rem;
    background: #ffffff;
}

.contact-channel-card i {
    color: var(--accent);
    font-size: 23px;
    margin-bottom: 0.65rem;
}

.contact-channel-card h3 {
    margin-bottom: 0.45rem;
}

.contact-channel-card p {
    margin-bottom: 0.6rem;
    color: var(--text-secondary);
    font-size: 14px;
}

.contact-channel-card a {
    font-size: 14px;
    color: var(--accent-dark);
    text-decoration: underline;
    text-underline-offset: 2px;
}

.contact-main-block {
    background: #ffffff;
}

.contact-main-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 1.5rem;
    align-items: start;
}

.contact-form-panel,
.contact-office-card,
.contact-map-card,
.contact-faq-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
}

.contact-form-panel,
.contact-office-card,
.contact-map-card,
.contact-faq-card {
    padding: 1.5rem;
}

.contact-form .form-group select {
    padding: 0.875rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 15px;
    background-color: transparent;
    transition: var(--transition-fast);
}

.contact-form .form-group select:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-form .btn i {
    margin-right: 0.35rem;
}

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

.contact-office-card h3,
.contact-map-card h3,
.contact-faq-card h3 {
    margin-bottom: 0.9rem;
}

.contact-faq-list {
    display: grid;
    gap: 0.7rem;
}

.contact-faq-list details {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    padding: 0.8rem 0.9rem;
}

.contact-faq-list summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
}

.contact-faq-list p {
    margin: 0.55rem 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================
   DONATE PAGE
   ============================================ */

.donate-page {
    background: var(--bg-primary);
}

.donate-hero {
    position: relative;
    margin-top: 72px;
    height: 320px;
    overflow: hidden;
}

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

.donate-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 58, 46, 0.72), rgba(11, 58, 46, 0.2));
}

.donate-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.donate-hero-content h1 {
    color: var(--text-light);
    font-size: clamp(34px, 4vw, 52px);
    margin-bottom: 0.35rem;
}

.donate-hero-content p {
    max-width: 62ch;
    color: rgba(255, 255, 255, 0.9);
}

.donate-impact-block,
.donate-main-block {
    padding: 5rem 0;
}

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

.donate-impact-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    padding: 1.2rem;
}

.donate-impact-card h3 {
    color: var(--accent-dark);
    margin-bottom: 0.45rem;
}

.donate-impact-card p {
    margin: 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.donate-main-block {
    background: #ffffff;
}

.donate-main-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 1.5rem;
    align-items: start;
}

.donate-main-card,
.donate-side-card {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: var(--bg-primary);
    padding: 1.5rem;
}

.donate-main-card .donation-options {
    justify-content: flex-start;
}

.donation-currency-switch {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid var(--border-color);
    border-radius: 999px;
    padding: 0.25rem;
    background: #ffffff;
    margin: 0.1rem 0 0.6rem;
}

.currency-btn {
    border: none;
    background: transparent;
    border-radius: 999px;
    padding: 0.45rem 0.9rem;
    font-family: var(--font-display);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.04em;
    color: var(--text-secondary);
    cursor: pointer;
    transition: var(--transition-fast);
}

.currency-btn.active {
    background: var(--accent-dark);
    color: var(--text-light);
}

.donation-rate,
.donation-selected-equivalent {
    margin: 0 0 0.7rem;
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.donation-selected-equivalent {
    min-height: 1.1rem;
    margin-top: -0.2rem;
}

.donate-main-card .donation-type,
.donate-main-card .donate-actions,
.donate-main-card .payment-methods {
    justify-content: flex-start;
}

.donate-main-card .payment-methods {
    flex-wrap: wrap;
}

.donate-side-panel {
    display: grid;
    gap: 1rem;
}

.donate-side-card h3 {
    margin-bottom: 0.8rem;
}

.donate-side-list {
    margin: 0 0 1.2rem 1rem;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
}

.donate-side-list li {
    margin-bottom: 0.45rem;
}

.manual-donation-card {
    border-color: rgba(11, 58, 46, 0.22);
}

.manual-donation-intro {
    margin: 0 0 0.75rem;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.manual-donation-details {
    display: grid;
    gap: 0.42rem;
    padding: 0.8rem 0.85rem;
    border: 1px solid var(--border-color);
    background: #ffffff;
    border-radius: 4px;
    margin-bottom: 0.9rem;
}

.manual-donation-details p {
    margin: 0;
    font-size: 14px;
    color: var(--text-primary);
}

.manual-donation-card h4 {
    margin: 0 0 0.55rem;
    font-size: 16px;
}

.manual-donation-steps {
    margin: 0 0 0.95rem 1.15rem;
    padding: 0;
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.65;
}

.manual-donation-steps li {
    margin-bottom: 0.38rem;
}

.manual-donation-note {
    margin: 0 0 0.9rem;
    font-size: 13px;
    color: var(--text-secondary);
    line-height: 1.6;
}

.donate-faq-list {
    display: grid;
    gap: 0.7rem;
}

.donate-faq-list details {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    background: #ffffff;
    padding: 0.8rem 0.9rem;
}

.donate-faq-list summary {
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 600;
    font-size: 14px;
}

.donate-faq-list p {
    margin: 0.55rem 0 0;
    color: var(--text-secondary);
    font-size: 14px;
}

.donate-custom-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 58, 46, 0.72);
    backdrop-filter: blur(3px);
    z-index: 3250;
    display: grid;
    place-items: center;
    padding: clamp(12px, 2.5vw, 24px);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-medium);
}

.donate-custom-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.donate-custom-panel {
    width: min(94vw, 520px);
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    padding: 1.25rem;
    position: relative;
    opacity: 0;
    transform: translateY(12px);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.donate-custom-modal.active .donate-custom-panel {
    opacity: 1;
    transform: translateY(0);
}

.donate-custom-close {
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
    width: 36px;
    height: 36px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-primary);
    cursor: pointer;
}

.donate-custom-panel h3 {
    margin: 0.35rem 0 0.45rem;
}

.donate-custom-copy {
    margin: 0 0 0.95rem;
    color: var(--text-secondary);
    font-size: 14px;
}

.donate-custom-label {
    display: block;
    font-family: var(--font-display);
    font-size: 13px;
    margin-bottom: 0.45rem;
}

.donate-custom-input {
    width: 100%;
    padding: 0.85rem 0.95rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    font-family: var(--font-body);
    font-size: 16px;
    background: #ffffff;
    transition: var(--transition-fast);
}

.donate-custom-input:focus {
    outline: none;
    border-color: var(--accent);
}

.donate-custom-hint {
    margin: 0.55rem 0 0;
    color: var(--text-secondary);
    font-size: 12px;
}

.donate-custom-error {
    margin: 0.5rem 0 0;
    min-height: 1.25rem;
    color: #a32020;
    font-size: 13px;
}

.donate-custom-actions {
    margin-top: 0.5rem;
    display: flex;
    justify-content: flex-end;
    gap: 0.65rem;
    flex-wrap: wrap;
}

/* ============================================
   GALLERY PAGE
   ============================================ */

.gallery-page {
    background: var(--bg-primary);
}

.gallery-hero {
    position: relative;
    margin-top: 72px;
    height: 280px;
    overflow: hidden;
}

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

.gallery-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(11, 58, 46, 0.72), rgba(11, 58, 46, 0.2));
}

.gallery-hero-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    color: var(--text-light);
}

.gallery-hero-content h1 {
    color: var(--text-light);
    font-size: clamp(34px, 4vw, 52px);
    margin-bottom: 0.35rem;
}

.gallery-hero-content p {
    max-width: 58ch;
    color: rgba(255, 255, 255, 0.9);
}

.gallery-main-block {
    padding: 4.8rem 0 5rem;
    background: var(--bg-primary);
}

.gallery-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.8rem 1.7rem;
    margin-bottom: 2.6rem;
}

.gallery-filter-btn {
    border: 1px solid transparent;
    border-radius: 999px;
    background: transparent;
    cursor: pointer;
    font-family: var(--font-display);
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.02em;
    color: var(--text-primary);
    text-transform: uppercase;
    padding: 0.5rem 0.95rem;
    position: relative;
    transition: var(--transition-fast);
}

.gallery-filter-btn:hover,
.gallery-filter-btn.active {
    color: var(--accent-dark);
}

.gallery-filter-btn:hover {
    background: rgba(189, 130, 32, 0.08);
    border-color: rgba(189, 130, 32, 0.26);
}

.gallery-filter-btn.active {
    background: var(--accent-dark);
    border-color: var(--accent-dark);
    color: var(--text-light);
    box-shadow: 0 6px 14px rgba(143, 109, 42, 0.28);
}

.gallery-filter-btn::after {
    content: '';
    position: absolute;
    left: 16%;
    bottom: -0.45rem;
    width: 68%;
    height: 3px;
    background: var(--accent-dark);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform var(--transition-fast);
}

.gallery-filter-btn.active::after {
    transform: scaleX(1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.3rem;
}

.gallery-card {
    position: relative;
    overflow: hidden;
    min-height: 360px;
    background: #121212;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    cursor: pointer;
}

.gallery-card img {
    width: 100%;
    height: 100%;
    min-height: 360px;
    object-fit: cover;
    filter: grayscale(100%);
    display: block;
    transition: transform var(--transition-medium), filter var(--transition-medium);
}

.gallery-card-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 1.15rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.08));
    transition: var(--transition-medium);
}

.gallery-card:hover img,
.gallery-card:focus-visible img {
    transform: scale(1.035);
    filter: grayscale(45%);
}

.gallery-card .gallery-plus {
    display: none;
}

.gallery-card h3 {
    margin: 0;
    color: #ffffff;
    font-size: 21px;
}

.gallery-card p {
    margin: 0.35rem 0 0;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.gallery-card:hover .gallery-card-overlay,
.gallery-card:focus-visible .gallery-card-overlay {
    background: rgba(189, 130, 32, 0.86);
    justify-content: center;
    align-items: center;
    text-align: center;
}

.gallery-plus {
    width: 118px;
    height: 118px;
    border-radius: 999px;
    background: #ffffff;
    color: var(--accent-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 42px;
    margin-bottom: 1.1rem;
}

.gallery-card:hover .gallery-plus,
.gallery-card:focus-visible .gallery-plus {
    display: inline-flex;
}

.gallery-card:hover h3,
.gallery-card:focus-visible h3 {
    font-size: clamp(30px, 3.2vw, 44px);
    margin-bottom: 0.3rem;
}

.gallery-card:hover p,
.gallery-card:focus-visible p {
    font-size: 28px;
    font-family: var(--font-display);
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.gallery-modal {
    position: fixed;
    inset: 0;
    background: rgba(11, 58, 46, 0.72);
    backdrop-filter: blur(3px);
    z-index: 3200;
    display: block;
    overflow: hidden;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: var(--transition-medium);
}

.gallery-modal.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.gallery-modal-panel {
    width: min(88vw, 860px);
    max-height: min(82vh, 760px);
    overflow: auto;
    background: var(--bg-primary);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    box-shadow: var(--shadow-subtle);
    padding: 1.1rem;
    position: fixed;
    top: 50%;
    left: 50%;
    margin: 0;
    opacity: 0;
    transform: translate(-50%, -46%);
    transition: transform var(--transition-fast), opacity var(--transition-fast);
}

.gallery-modal.active .gallery-modal-panel {
    opacity: 1;
    transform: translate(-50%, -50%);
}

.gallery-modal-close {
    position: absolute;
    right: 0.9rem;
    top: 0.9rem;
    width: 38px;
    height: 38px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-primary);
    cursor: pointer;
}

.gallery-modal-header {
    padding-right: 3rem;
    margin-bottom: 0.75rem;
}

.gallery-modal-header h3 {
    margin-bottom: 0.35rem;
}

.gallery-lightbox {
    display: grid;
    grid-template-columns: 48px 1fr 48px;
    gap: 0.65rem;
    align-items: center;
}

.gallery-lightbox-figure {
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    margin: 0;
    background: #ffffff;
}

.gallery-lightbox-figure img {
    width: 100%;
    height: clamp(230px, 38vh, 410px);
    object-fit: cover;
    display: block;
}

.gallery-lightbox-figure figcaption {
    padding: 0.75rem 0.85rem;
    font-size: 13px;
    color: var(--text-secondary);
    border-top: 1px solid var(--border-color);
}

.gallery-lightbox-nav {
    width: 48px;
    height: 48px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
    background: #ffffff;
    color: var(--text-primary);
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-fast);
}

.gallery-lightbox-nav:hover {
    border-color: var(--accent);
    color: var(--accent-dark);
}

.gallery-lightbox-meta {
    margin-top: 0.55rem;
    display: flex;
    justify-content: flex-end;
}

.gallery-lightbox-counter {
    font-family: var(--font-mono);
    font-size: 12px;
    color: var(--text-secondary);
}

.gallery-card.is-hidden {
    display: none;
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */

.toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background-color: var(--bg-secondary);
    color: var(--text-light);
    padding: 1rem 1.5rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: var(--shadow-subtle);
    z-index: 3000;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition-medium);
    pointer-events: none;
}

.toast.show {
    opacity: 1;
    transform: translateY(0);
}

.toast i {
    color: var(--accent);
}

/* ============================================
   RESPONSIVE DESIGN
   ============================================ */

@media (max-width: 1024px) {
    :root {
        --pad-x: 5vw;
    }
    
    .pillars-grid,
    .programs-grid,
    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .about-grid,
    .impact-grid,
    .partners-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-image,
    .impact-image,
    .partners-image {
        order: -1;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .newsletter-section .container {
        flex-direction: column;
        gap: 2rem;
    }
    
    .quick-links {
        gap: 2rem;
    }

    .about-intro-grid,
    .about-volunteer-panel,
    .about-events-grid {
        grid-template-columns: 1fr;
    }

    .programs-overview-grid {
        grid-template-columns: 1fr;
    }

    .getinvolved-pathways-grid,
    .getinvolved-process-grid,
    .getinvolved-support-grid,
    .contact-channels-grid,
    .donate-impact-grid,
    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-lightbox {
        grid-template-columns: 46px 1fr 46px;
    }

    .gallery-lightbox-nav {
        width: 46px;
        height: 46px;
    }

    .getinvolved-forms-grid {
        grid-template-columns: 1fr;
    }

    .contact-main-grid {
        grid-template-columns: 1fr;
    }

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

    .getinvolved-help-grid {
        grid-template-columns: 1fr;
    }

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

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

    .programs-video-grid {
        grid-template-columns: 1fr;
    }

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

    .about-intro-media img {
        min-height: 420px;
    }

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

@media (max-width: 768px) {
    :root {
        --pad-x: 5vw;
    }

    .header-container {
        justify-content: flex-start;
    }

    .header-logo {
        order: 1;
    }
    
    .menu-toggle {
        display: block;
        order: 2;
        margin-left: auto;
    }
    
    .desktop-nav {
        display: none;
    }

    .btn-donate {
        display: none;
    }
    
    .header-logo .logo-text {
        display: none;
    }
    
    .hero-content {
        justify-content: center;
        text-align: center;
    }
    
    .hero-text-panel {
        max-width: 100%;
    }
    
    .hero-ctas {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .hero-microcopy,
    .scroll-hint {
        display: none;
    }
    
    .pillars-grid,
    .programs-grid,
    .values-grid,
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stories-collage {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(3, 200px);
        height: auto;
    }
    
    .story-large {
        grid-row: span 1;
    }
    
    .donation-options {
        gap: 0.5rem;
    }
    
    .donation-amount {
        padding: 0.75rem 1.25rem;
        font-size: 16px;
    }
    
    .donate-actions {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .quick-links {
        flex-direction: column;
        gap: 1.5rem;
    }

    .about-hero {
        height: 220px;
    }

    .about-stat-grid,
    .about-mission-cards {
        grid-template-columns: 1fr;
    }

    .programs-hero {
        height: 230px;
    }

    .getinvolved-hero {
        height: 240px;
    }

    .contact-hero {
        height: 240px;
    }

    .donate-hero {
        height: 240px;
    }

    .gallery-hero {
        height: 240px;
    }

    .gallery-filter-btn {
        font-size: 16px;
    }

    .programs-overview-stats,
    .programs-highlights-grid,
    .programs-framework-grid {
        grid-template-columns: 1fr;
    }

    .getinvolved-pathways-grid,
    .getinvolved-process-grid,
    .getinvolved-support-grid,
    .contact-channels-grid,
    .donate-impact-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .donate-main-card .donation-options,
    .donate-main-card .donation-type,
    .donate-main-card .donate-actions,
    .donate-main-card .payment-methods {
        justify-content: center;
    }

    .gallery-filters {
        justify-content: flex-start;
        gap: 0.55rem 1rem;
    }

    .gallery-filter-btn {
        font-size: 14px;
    }

    .gallery-card,
    .gallery-card img {
        min-height: 300px;
    }

    .gallery-plus {
        width: 88px;
        height: 88px;
        font-size: 32px;
    }

    .gallery-card:hover h3,
    .gallery-card:focus-visible h3 {
        font-size: 34px;
    }

    .gallery-modal-panel {
        width: min(94vw, 720px);
        max-height: 84vh;
        padding: 1rem;
    }

    .gallery-modal {
        padding: 0;
    }

    .gallery-lightbox {
        grid-template-columns: 1fr;
        gap: 0.7rem;
    }

    .gallery-lightbox-nav {
        width: 100%;
        height: 42px;
    }

    .gallery-lightbox-figure img {
        height: 260px;
    }

    .gallery-lightbox-meta {
        justify-content: center;
    }

    .programs-gallery-grid {
        grid-template-columns: 1fr;
    }

    .programs-video-card iframe,
    .programs-video-card video {
        height: 220px;
    }

    .programs-cta-actions {
        flex-direction: column;
    }

    .donate-custom-modal {
        place-items: center;
        padding: 10px;
        overflow-y: auto;
    }

    .donate-custom-panel {
        width: min(96vw, 520px);
        max-height: 88vh;
        overflow: auto;
        padding: 1rem;
        -webkit-overflow-scrolling: touch;
    }

    .donate-custom-close {
        width: 34px;
        height: 34px;
        right: 0.7rem;
        top: 0.7rem;
    }

    .donate-custom-actions {
        justify-content: stretch;
    }

    .donate-custom-actions .btn {
        width: 100%;
    }

    .about-partners-logos {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .newsletter-form input {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .about-partners-logos {
        grid-template-columns: 1fr;
    }

    .donate-custom-modal {
        padding: 8px;
    }

    .donate-custom-panel {
        width: 100%;
        max-height: 90vh;
        padding: 0.9rem;
    }

    .donate-custom-panel h3 {
        font-size: 26px;
        line-height: 1.1;
        margin-right: 2.2rem;
    }

    .donate-custom-copy {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 36px;
    }
    
    h2 {
        font-size: 28px;
    }
    
    .btn {
        padding: 0.75rem 1.25rem;
        font-size: 13px;
    }
    
    .pillar-card,
    .program-card {
        padding: 1.5rem;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-suffix {
        font-size: 20px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

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

/* Focus styles */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
