/* =========================================
   GLOBAL RESET & UTILITIES FOR DONATE
   ========================================= */

/* =========================================
   HEADER OFFSET / HERO BANNER FIX
   ========================================= */

/* =========================================
   STANDARDIZED PAGE HERO BANNER ALIGNMENT FIX
   ========================================= */
.page-hero-banner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    min-height: 280px;
    padding-top: 100px; /* Accounts for fixed transparent navbar */
    padding-bottom: 40px;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: border-box;
}

.page-hero-banner .hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.page-hero-banner .page-hero-content {
    position: relative;
    z-index: 2;
    margin: 0 auto;
    max-width: 900px;
    width: 100%;
    text-align: center;
}

.page-hero-banner .page-hero-content h1 {
    margin: 0;
    padding: 0;
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    color: #1c4632;
    text-align: center;
}

@media (max-width: 768px) {
    .page-hero-banner {
        min-height: 220px;
        padding-top: 90px;
        padding-bottom: 30px;
    }

    .page-hero-banner .page-hero-content h1 {
        font-size: 2rem;
    }
}

.page-hero-banner {
    padding-top: 140px; /* Offsets the fixed transparent header */
    box-sizing: border-box;
}

.donate-container {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 25px;
    box-sizing: border-box;
}

.form-container-narrow {
    max-width: 860px;
}

.modern-tag {
    display: inline-block;
    font-size: 0.82rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #1c4632;
    background-color: rgba(28, 70, 50, 0.08);
    padding: 6px 14px;
    margin-bottom: 15px;
}

.section-center-heading {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 55px;
}

.section-center-heading h2 {
    font-size: 2.8rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #1c4632;
    margin: 10px 0 15px;
    line-height: 1.15;
}

.section-center-heading p {
    font-size: 1.15rem;
    color: #1c4632;
    opacity: 0.85;
    line-height: 1.6;
    margin: 0;
}

/* =========================================
   EDITORIAL INTRO SECTION
   ========================================= */
.donate-intro-section {
    background-color: #efe5db;
    padding: 90px 0 70px;
}

.donate-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 60px;
    align-items: flex-start;
}

.donate-intro-headline h2 {
    font-size: 2.9rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #1c4632;
    line-height: 1.15;
    margin: 10px 0 0;
}

.donate-intro-desc .lead-paragraph {
    font-size: 1.25rem;
    font-weight: 700;
    color: #1c4632;
    line-height: 1.7;
    margin: 0 0 20px;
}

.donate-intro-desc p {
    font-size: 1.05rem;
    color: #1c4632;
    opacity: 0.88;
    line-height: 1.8;
    margin: 0;
}

/* =========================================
   FUND ALLOCATION & IMPACT CARDS
   ========================================= */
.donate-breakdown-section {
    background-color: #ffffff;
    padding: 100px 0;
}

.modern-allocation-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.allocation-card {
    background-color: #faf6f0;
    border: 1px solid rgba(28, 70, 50, 0.15);
    padding: 40px;
    display: flex;
    flex-direction: column;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.allocation-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 36px rgba(28, 70, 50, 0.08);
    border-color: #1c4632;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.allocation-percent {
    font-size: 2.6rem;
    font-weight: 900;
    color: #1c4632;
    line-height: 1;
}

.allocation-badge {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background-color: #1c4632;
    color: #efe5db;
    padding: 6px 12px;
}

.allocation-card h3 {
    font-size: 1.4rem;
    font-weight: 900;
    color: #1c4632;
    margin: 0 0 15px;
    line-height: 1.3;
}

.allocation-card p {
    font-size: 1.02rem;
    line-height: 1.7;
    color: #1c4632;
    opacity: 0.85;
    margin: 0 0 25px;
}

.allocation-items {
    list-style: none;
    padding: 0;
    margin: auto 0 0;
    border-top: 1px solid rgba(28, 70, 50, 0.12);
    padding-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.allocation-items li {
    font-size: 0.92rem;
    font-weight: 700;
    color: #1c4632;
    display: flex;
    align-items: center;
    gap: 10px;
}

.allocation-items li::before {
    content: "✓";
    font-size: 0.9rem;
    color: #27ae60;
    font-weight: 900;
}

/* =========================================
   STEPS SECTION
   ========================================= */
.donate-steps-section {
    background-color: #efe5db;
    padding: 100px 0;
}

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

.step-card {
    background-color: #ffffff;
    padding: 40px 30px;
    border: 1px solid rgba(28, 70, 50, 0.12);
    display: flex;
    flex-direction: column;
    transition: transform 0.2s ease;
}

.step-card:hover {
    transform: translateY(-4px);
}

.step-number {
    font-size: 1.8rem;
    font-weight: 900;
    color: #1c4632;
    opacity: 0.35;
    margin-bottom: 20px;
}

.step-card h4 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1c4632;
    margin: 0 0 12px;
    text-transform: uppercase;
}

.step-card p {
    font-size: 0.98rem;
    line-height: 1.65;
    color: #1c4632;
    opacity: 0.85;
    margin: 0;
}

/* =========================================
   CLEAN MODERN DONATION FORM
   ========================================= */
.donate-form-section {
    background-color: #efe5db;
    padding: 0 0 110px;
}

.modern-donation-form {
    background-color: #ffffff;
    padding: 55px 50px;
    border: 2px solid #1c4632;
    box-shadow: 0 18px 45px rgba(28, 70, 50, 0.08);
}

.form-row-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 22px;
}

.form-row-1 {
    margin-bottom: 22px;
}

.modern-field label {
    display: block;
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #1c4632;
    margin-bottom: 8px;
}

.modern-field input,
.modern-field select,
.modern-field textarea {
    width: 100%;
    padding: 16px 18px;
    border: 1.5px solid #1c4632;
    background-color: #faf6f0;
    color: #1c4632;
    font-size: 1rem;
    outline: none;
    border-radius: 0;
    box-sizing: border-box;
    font-family: inherit;
    transition: all 0.2s ease;
}

.modern-field input:focus,
.modern-field select:focus,
.modern-field textarea:focus {
    background-color: #ffffff;
    border-color: #27ae60;
    box-shadow: 0 0 0 3px rgba(39, 174, 96, 0.12);
}

.form-actions {
    text-align: center;
    margin-top: 35px;
}

.btn-submit-modern {
    padding: 18px 55px;
    font-size: 1.1rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    border: none;
}

.donate-alert {
    padding: 16px 20px;
    text-align: center;
    margin-bottom: 30px;
    font-weight: 800;
}

.donate-alert-success {
    background-color: #1c4632;
    color: #efe5db;
}

.donate-alert-error {
    background-color: #a93226;
    color: #ffffff;
}

/* =========================================
   RESPONSIVE DESIGN
   ========================================= */
@media (max-width: 960px) {
    .donate-intro-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .modern-allocation-grid {
        grid-template-columns: 1fr;
    }

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

    .section-center-heading h2,
    .donate-intro-headline h2 {
        font-size: 2.3rem;
    }
}

@media (max-width: 640px) {
    .modern-donation-form {
        padding: 30px 20px;
    }

    .form-row-2 {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .allocation-card {
        padding: 30px 22px;
    }

    .section-center-heading h2 {
        font-size: 2rem;
    }
}