/* ===================================================
   PM DISTRESSCARES FUND — DESIGN SYSTEM v2
   Inspired by: Everlast Life Foundation aesthetic
   =================================================== */

/* --- CSS Custom Properties --- */
:root {
    /* Brand Colors */
    --primary:       #907f66;      /* warm tan/gold — main accent */
    --primary-dark:  #7a6b55;      /* darker hover state */
    --primary-light: #f5f0ea;      /* very light tan bg */
    --secondary:     #1e293b;      /* dark navy — headings */
    --body-text:     #334155;      /* slate — body copy */
    --muted:         #64748b;      /* secondary text */
    --white:         #ffffff;
    --bg-light:      #F0F5FA;      /* page background tint */
    --bg-section:    #f8f5f1;      /* warm section background */
    --border:        #D1D5DB;
    --border-light:  #e8e4de;

    /* Semantic */
    --success:       #16a34a;
    --error:         #dc2626;

    /* Spacing */
    --section-pad:   80px;
    --container-max: 1200px;

    /* Typography */
    --font-body:     'Open Sans', system-ui, sans-serif;
    --font-display:  'Baloo 2', system-ui, sans-serif;

    /* Effects */
    --radius-sm:     4px;
    --radius-md:     8px;
    --radius-lg:     16px;
    --radius-full:   9999px;
    --shadow-sm:     0 1px 3px rgba(0,0,0,.08), 0 1px 2px rgba(0,0,0,.06);
    --shadow-md:     0 4px 16px rgba(0,0,0,.10);
    --shadow-lg:     0 12px 40px rgba(0,0,0,.14);
    --transition:    all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-size: 100%;
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.65;
    color: var(--body-text);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* --- Typography --- */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--secondary);
    line-height: 1.3;
    margin-bottom: 0.5em;
}

h1 { font-size: clamp(1.875rem, 4vw, 2.5rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }
h4 { font-size: 1.125rem; }
h5 { font-size: 1rem; }
h6 { font-size: 0.9375rem; }

p { margin-bottom: 1em; color: var(--body-text); }
p:last-child { margin-bottom: 0; }

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
}
a:hover { color: var(--primary-dark); }

ul, ol { padding-left: 1.25em; }
ul { list-style: none; padding: 0; }

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

/* --- Layout --- */
.container {
    max-width: var(--container-max);
    width: 100%;
    margin-inline: auto;
    padding-inline: 1.5rem;
}

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

.section-padding { padding-block: var(--section-pad); }

/* ===================================================
   SKIP LINK (Accessibility)
   =================================================== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 1rem;
    background: var(--primary);
    color: var(--white);
    padding: 0.625rem 1.25rem;
    border-radius: var(--radius-sm);
    font-weight: 700;
    z-index: 9999;
    transition: top 0.2s;
}
.skip-link:focus { top: 1rem; }

/* ===================================================
   HEADER & NAVIGATION
   =================================================== */
header {
    position: fixed;
    top: 0;
    inset-inline: 0;
    z-index: 1000;
    background: var(--white);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease, padding 0.3s ease;
    padding-block: 0;
}

header.scrolled {
    box-shadow: var(--shadow-md);
}

header .container {
    display: flex;
    align-items: stretch;
    justify-content: space-between;
    min-height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.875rem;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-dot {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    flex-shrink: 0;
}

.logo-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
    font-family: var(--font-display);
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.logo-text .logo-pm {
    font-size: 0.875rem;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0.8;
}

.logo-text .logo-main {
    color: var(--primary);
    font-size: 1.375rem;
    font-weight: 800;
    margin-top: -2px;
    letter-spacing: -0.5px;
}

/* Nav wrapper */
.header-right {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Primary nav */
.nav-links {
    display: flex;
    align-items: stretch;
    gap: 0;
    list-style: none;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: stretch;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0 1rem;
    font-size: 0.9375rem;
    font-weight: 600;
    color: var(--body-text);
    white-space: nowrap;
    cursor: pointer;
    transition: color 0.2s;
    border: none;
    background: none;
    font-family: var(--font-body);
}

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

/* Dropdown caret */
.nav-link .caret {
    font-size: 0.65rem;
    transition: transform 0.25s;
}
.nav-item:hover .caret,
.nav-item.open .caret { transform: rotate(180deg); }

/* --- Mega Dropdown --- */
.mega-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    min-width: 700px;
    background: var(--white);
    border-top: 3px solid var(--primary);
    border-radius: 0 0 var(--radius-md) var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    display: none;
    z-index: 100;
}

.nav-item:hover .mega-menu,
.nav-item.open .mega-menu { display: block; }

/* Keep dropdown visible when mousing into it */
.mega-menu::before {
    content: '';
    position: absolute;
    top: -12px;
    inset-inline: 0;
    height: 12px;
}

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

.mega-item {
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background 0.2s;
    cursor: pointer;
}
.mega-item:hover { background: var(--primary-light); }

.mega-item img {
    width: 56px;
    height: 56px;
    object-fit: contain;
    margin-inline: auto;
    margin-bottom: 0.75rem;
    border-radius: var(--radius-md);
    transition: transform 0.2s;
}
.mega-item:hover img { transform: scale(1.08); }

.mega-item h4 {
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--secondary);
    margin-bottom: 0.375rem;
}

.mega-item p {
    font-size: 0.8rem;
    color: var(--muted);
    line-height: 1.45;
    margin-bottom: 0;
}

/* Mega menu section heading */
.mega-section-title {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--primary);
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid var(--border-light);
    grid-column: 1 / -1;
}

/* --- Header Buttons --- */
.btn-volunteer,
.btn-donate-nav {
    display: inline-flex;
    align-items: center;
    gap: 0.375rem;
    padding: 0.625rem 1.25rem;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    margin-left: 0.25rem;
}

.btn-volunteer {
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
}
.btn-volunteer:hover {
    background: var(--primary-light);
    color: var(--primary-dark);
}

.btn-donate-nav {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(144,127,102,0.3);
}
.btn-donate-nav:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(144,127,102,0.4);
    color: var(--white);
}

/* --- Mobile Toggle --- */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.6rem;
    color: var(--secondary);
    cursor: pointer;
    padding: 0.375rem 0.5rem;
    border-radius: var(--radius-sm);
    transition: background 0.2s;
    align-items: center;
    justify-content: center;
}
.mobile-toggle:hover { background: var(--bg-light); }

/* Mobile overlay */
.mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.45);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}
.mobile-overlay.visible { opacity: 1; }

/* ===================================================
   BUTTONS (Global)
   =================================================== */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.7rem 1.5rem;
    background: var(--primary);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
    box-shadow: 0 2px 8px rgba(144,127,102,0.25);
}
.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(144,127,102,0.35);
    color: var(--white);
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--primary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    border: 2px solid var(--primary);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}
.btn-secondary:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-outline-white {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.65rem 1.5rem;
    background: transparent;
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9375rem;
    border-radius: var(--radius-sm);
    border: 2px solid rgba(255,255,255,0.7);
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}
.btn-outline-white:hover {
    background: var(--white);
    color: var(--primary);
    border-color: var(--white);
}

/* ===================================================
   HERO SECTION
   =================================================== */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, rgba(30,41,59,0.88) 0%, rgba(30,41,59,0.55) 100%),
                url('../img/hero.png') center / cover no-repeat;
    display: flex;
    align-items: center;
    padding-top: 80px;
    position: relative;
    color: var(--white);
}

@media (max-width: 768px) {
    .hero {
        min-height: 100vh;
        margin-top: 20px;
    }
}

.hero-content { max-width: 680px; }

.hero-tagline {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    padding: 0.35rem 1rem;
    border-radius: var(--radius-full);
    margin-bottom: 1.5rem;
}

.hero h1 {
    color: var(--white);
    font-size: clamp(2rem, 5vw, 3.25rem);
    line-height: 1.2;
    margin-bottom: 1.25rem;
}

.hero > .container > .hero-content > p {
    color: rgba(255,255,255,0.85);
    font-size: 1.1rem;
    margin-bottom: 1.25rem;
    max-width: 560px;
}

.hero-btns {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    align-items: center;
}

/* ===================================================
   STATS SECTION
   =================================================== */
.stats {
    background: var(--white);
    position: relative;
    z-index: 10;
    margin-top: -80px;
    padding-bottom: 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
    overflow: hidden;
    background: var(--white);
}

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

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

.stat-item {
    background: var(--white);
    padding: 2.5rem 1.5rem;
    text-align: center;
    border-right: 1px solid var(--border-light);
    transition: background 0.2s;
}
.stat-item:last-child { border-right: none; }
.stat-item:hover { background: var(--primary-light); }

.stat-item h3 {
    font-size: clamp(1.75rem, 3vw, 2.5rem);
    color: var(--primary);
    margin-bottom: 0.5rem;
}

.stat-item p {
    color: var(--muted);
    font-size: 0.8125rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0;
}

/* ===================================================
   SECTION TITLES
   =================================================== */
.section-title {
    text-align: center;
    margin-bottom: 3rem;
    max-width: 640px;
    margin-inline: auto;
}

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

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

.section-title p {
    color: var(--muted);
    font-size: 1.0625rem;
    margin-bottom: 0;
}

/* ===================================================
   MISSION / PROGRAM CARDS
   =================================================== */
.missions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.mission-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem 2rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.mission-card::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--primary);
    transform: scaleX(0);
    transition: transform 0.3s ease;
    transform-origin: left;
}

.mission-card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: var(--border);
}
.mission-card:hover::before { transform: scaleX(1); }

.mission-icon {
    width: 64px;
    height: 64px;
    background: var(--primary-light);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.75rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.mission-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.875rem;
}

.mission-card p {
    color: var(--muted);
    font-size: 0.975rem;
    margin-bottom: 0;
    line-height: 1.6;
}

/* ===================================================
   PAGE HEADER (inner pages)
   =================================================== */
.page-header {
    background: linear-gradient(135deg, var(--secondary) 0%, #334155 100%);
    padding: 140px 0 80px;
    text-align: center;
    color: var(--white);
}

.page-header h1 { color: var(--white); font-size: clamp(2rem, 4vw, 2.75rem); }

.header-desc {
    max-width: 560px;
    margin: 1rem auto 0;
    color: rgba(255,255,255,0.75);
    font-size: 1.05rem;
}

/* ===================================================
   ABOUT GRID
   =================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

@media (max-width: 768px) {
    .about-grid { grid-template-columns: 1fr; gap: 2.5rem; }
}

.about-img img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.about-content h2 { margin-bottom: 1.25rem; }
.about-content p { color: var(--muted); font-size: 1.0625rem; }

/* ===================================================
   DONATION CENTER
   =================================================== */
.donate-wrapper {
    max-width: 820px;
    margin-inline: auto;
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 3rem;
}

.amount-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-block: 1.5rem;
}

.amount-btn {
    border: 2px solid var(--border);
    padding: 1.25rem 1rem;
    border-radius: var(--radius-sm);
    text-align: center;
    cursor: pointer;
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 1.125rem;
    color: var(--body-text);
    transition: var(--transition);
    user-select: none;
}

.amount-btn:hover,
.amount-btn.selected {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
}

/* Form elements */
.form-group { margin-bottom: 1.25rem; }

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--secondary);
    font-size: 0.875rem;
}

.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 1rem;
    font-family: var(--font-body);
    color: var(--body-text);
    background: var(--white);
    transition: border-color 0.2s, box-shadow 0.2s;
    height: auto;
    box-shadow: var(--shadow-sm);
    line-height: 1.5;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(144,127,102,0.15);
}

.form-control.error {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220,38,38,0.1);
}

.form-control.success {
    border-color: var(--success);
    box-shadow: 0 0 0 3px rgba(22,163,74,0.1);
}

.field-error {
    display: block;
    color: var(--error);
    font-size: 0.8rem;
    margin-top: 0.375rem;
    font-weight: 500;
}

textarea.form-control { resize: vertical; min-height: 120px; }

/* ===================================================
   CONTACT PAGE
   =================================================== */
.contact-split {
    display: grid;
    grid-template-columns: 1fr 420px;
    gap: 4rem;
    align-items: start;
}

@media (max-width: 900px) {
    .contact-split { grid-template-columns: 1fr; gap: 2.5rem; }
}

.contact-info-card {
    background: var(--secondary);
    color: var(--white);
    padding: 2.5rem;
    border-radius: var(--radius-md);
}

.contact-info-card h3 { color: var(--white); margin-bottom: 0.75rem; }
.contact-info-card p { color: rgba(255,255,255,0.7); }

.info-item {
    display: flex;
    gap: 1.25rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}
.info-item:last-child { margin-bottom: 0; }

.info-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    background: rgba(144,127,102,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1rem;
    margin-top: 0.125rem;
}

/* Contact form card */
.contact-form-card {
    background: var(--white);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
    padding: 2.5rem;
    box-shadow: var(--shadow-sm);
}

/* ===================================================
   FOOTER
   =================================================== */
footer {
    background: var(--secondary);
    color: rgba(255,255,255,0.75);
    padding: 5rem 0 2rem;
}

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

@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; gap: 2rem; } }
@media (max-width: 540px) { .footer-grid { grid-template-columns: 1fr; } }

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    text-decoration: none;
    margin-bottom: 1rem;
}
.footer-logo span { color: var(--primary); }

footer .footer-info p {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    margin-bottom: 1.5rem;
}

.footer-links h4 {
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 1.25rem;
    padding-bottom: 0.625rem;
    border-bottom: 2px solid var(--primary);
    display: inline-block;
}

.footer-links ul li {
    margin-bottom: 0.75rem;
}

.footer-links ul li a {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    transition: color 0.2s, padding-left 0.2s;
}
.footer-links ul li a:hover { color: var(--primary); padding-left: 4px; }

.footer-links ul li:not(:has(a)) {
    color: rgba(255,255,255,0.65);
    font-size: 0.9375rem;
    display: flex;
    align-items: flex-start;
    gap: 0.625rem;
}

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

.social-link {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.7);
    font-size: 0.9rem;
    transition: var(--transition);
}
.social-link:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--white);
    transform: translateY(-3px);
}

.copyright {
    padding-top: 2rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    text-align: center;
    color: rgba(255,255,255,0.45);
    font-size: 0.9rem;
}

/* ===================================================
   ACTION CARDS (Get Involved section)
   =================================================== */
.action-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 1.5rem;
}

.action-card {
    background: var(--primary-light);
    border-radius: var(--radius-md);
    padding: 2rem 1.75rem;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    border: 1px solid var(--border-light);
}
.action-card:hover {
    background: var(--white);
    box-shadow: var(--shadow-md);
    transform: translateY(-5px);
}

.action-card .action-icon {
    width: 72px;
    height: 72px;
    margin: 0 auto 1.25rem;
    background: var(--white);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--primary);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}
.action-card:hover .action-icon { background: var(--primary); color: var(--white); }

.action-card h3 { font-size: 1.125rem; margin-bottom: 0.625rem; }
.action-card p { font-size: 0.9rem; color: var(--muted); margin-bottom: 0; }

/* ===================================================
   IMAGE BOX (mega menu & cards)
   =================================================== */
.img-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 1rem;
    border-radius: var(--radius-md);
    transition: background 0.2s;
    text-decoration: none;
}
.img-box:hover { background: var(--primary-light); }
.img-box img { width: 64px; height: 64px; object-fit: contain; margin-bottom: 0.75rem; }
.img-box h4 { font-size: 0.875rem; color: var(--secondary); margin-bottom: 0.25rem; }
.img-box p { font-size: 0.78rem; color: var(--muted); line-height: 1.4; margin: 0; }

/* ===================================================
   SCROLL ANIMATIONS
   =================================================== */
[data-aos] {
    opacity: 0;
    transition: opacity 0.7s ease, transform 0.7s cubic-bezier(0.22,1,0.36,1);
}
[data-aos="fade-up"]    { transform: translateY(28px); }
[data-aos="fade-right"] { transform: translateX(-28px); }
[data-aos="fade-left"]  { transform: translateX(28px); }
[data-aos="zoom-in"]    { transform: scale(0.92); }

[data-aos].aos-animate {
    opacity: 1 !important;
    transform: none !important;
}

/* ===================================================
   FOCUS RINGS (Accessibility)
   =================================================== */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
    outline: 3px solid var(--primary);
    outline-offset: 2px;
    border-radius: 3px;
}

.mobile-only { display: none; }

/* ===================================================
   RESPONSIVE: MOBILE NAV DRAWER
   =================================================== */
@media (max-width: 921px) {
    .mobile-only { display: block; }

    .mobile-toggle {
        display: flex;
    }

    .header-right .btn-volunteer,
    .header-right .btn-donate-nav { display: none; }

    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: min(320px, 88vw);
        height: 100dvh;
        background: var(--white);
        flex-direction: column;
        align-items: flex-start;
        padding: 5rem 1.5rem 2rem;
        gap: 0.5rem;
        z-index: 1001;
        transition: right 0.35s cubic-bezier(0.645, 0.045, 0.355, 1);
        box-shadow: -8px 0 32px rgba(0,0,0,0.12);
        overflow-y: auto;
        list-style: none;
    }

    .nav-links.open { right: 0; display: flex; }

    .nav-item { width: 100%; flex-direction: column; align-items: flex-start; }

    .nav-link {
        width: 100%;
        padding: 0.875rem 0;
        font-size: 1rem;
        border-bottom: 1px solid var(--border-light);
        justify-content: space-between;
    }

    /* Mobile mega-menu becomes accordion */
    .mega-menu {
        position: static;
        transform: none;
        min-width: unset;
        width: 100%;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding: 0.5rem 0 0.5rem 1rem;
        border-top: none;
        background: var(--primary-light);
        display: none;
        margin-bottom: 0.5rem;
    }

    .nav-item.open .mega-menu { display: block; }

    .mega-grid { grid-template-columns: 1fr; gap: 0.75rem; }
    .mega-grid-3 { grid-template-columns: 1fr; }

    .mega-item { 
        padding: 0.75rem; 
        text-align: left; 
        display: flex; 
        gap: 1rem; 
        align-items: center;
        background: var(--white);
        border: 1px solid var(--border-light);
        border-radius: var(--radius-sm);
    }
    .mega-item i { font-size: 1.25rem !important; margin-bottom: 0 !important; flex-shrink: 0; width: 32px; text-align: center; }
    .mega-item h4 { margin-bottom: 0px; font-size: 0.95rem; }
    .mega-item p { display: none; }

    /* Mobile nav buttons */
    .btn-volunteer-mobile,
    .btn-donate-mobile {
        display: flex;
        width: 100%;
        justify-content: center;
        padding: 0.875rem;
        font-family: var(--font-display);
        font-weight: 700;
        border-radius: var(--radius-sm);
        margin-top: 0.5rem;
        text-align: center;
    }

    .btn-volunteer-mobile {
        background: transparent;
        border: 2px solid var(--primary);
        color: var(--primary);
    }

    .btn-donate-mobile {
        background: var(--primary);
        color: var(--white);
        margin-top: 0.75rem;
    }
}

/* Hero & Sections Responsiveness */
@media (max-width: 768px) {
    :root { --section-pad: 60px; }
    
    .hero { min-height: 80vh; text-align: center; padding-top: 70px; }
    .hero-content { margin-inline: auto; }
    .hero h1 { font-size: clamp(1.75rem, 8vw, 2.5rem); br { display: none; } }
    .hero-btns { justify-content: center; flex-direction: column; width: 100%; }
    .hero-btns .btn-primary, 
    .hero-btns .btn-outline-white { width: 100%; justify-content: center; }

    .stats { margin-top: -30px; }
    .stat-item { padding: 2rem 1rem; border-right: none; border-bottom: 1px solid var(--border-light); }
    .stat-item:last-child { border-bottom: none; }

    .section-title { margin-bottom: 2.5rem; }
    .missions-grid, .action-grid { grid-template-columns: 1fr; }
}

@media (max-width: 480px) {

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

/* ===================================================
   ACCESSIBILITY (reduced motion)
   =================================================== */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        transition-duration: 0.01ms !important;
    }
    [data-aos] { opacity: 1 !important; transform: none !important; }
}

@media (forced-colors: active) {
    .btn-primary, .btn-donate-nav { border: 2px solid ButtonText; }
}

/* ===================================================
   UTILITY CLASSES
   =================================================== */
.text-center  { text-align: center; }
.text-accent  { color: var(--primary); }
.text-muted   { color: var(--muted); }
.text-white   { color: var(--white); }
.bg-light     { background: var(--bg-light); }
.bg-section   { background: var(--bg-section); }
.bg-dark      { background: var(--secondary); }

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }

.mb-0 { margin-bottom: 0; }

.glass-panel {
    background: rgba(255,255,255,0.8);
    backdrop-filter: blur(12px);
    border: 1px solid var(--border-light);
    border-radius: var(--radius-md);
}

.img-wrapper { position: relative; }

/* Additional About page */
.obj-number {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    background: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    font-size: 1.25rem;
    font-weight: 700;
    font-family: var(--font-display);
}

.objectives-list { max-width: 760px; margin-inline: auto; }

.objective-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.objective-item h4 { margin-bottom: 0.375rem; }
.objective-item p { color: var(--muted); font-size: 0.975rem; margin-bottom: 0; }
