/* ================================
   EML Donations Page
   ================================ */

:root {
    --primary: #0d6efd;
    --bg-soft: #f4fbff;
    --text-main: #333333;
    --card-radius: 28px;
    --card-shadow: 0 18px 40px rgba(13, 110, 253, 0.06);
    --font-main: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;

    --eml-dark: #10233f;
    --eml-blue: var(--primary);
    --eml-blue-soft: var(--bg-soft);
    --eml-green: #1f8a5b;
    --eml-green-soft: #e9f7f0;
    --eml-gold: #f4b63f;
    --eml-orange: #f58220;
    --eml-text: var(--text-main);
    --eml-muted: #667085;
    --eml-border: #e6eaf0;
    --eml-bg: var(--bg-soft);
    --eml-white: #ffffff;
    --eml-radius: var(--card-radius);
    --eml-shadow: var(--card-shadow);
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
}

/* General Helpers */

.eml-container {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
}

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

.section-heading h2 {
    color: var(--eml-dark);
    font-size: clamp(28px, 4vw, 42px);
    line-height: 1.15;
    margin: 10px 0 14px;
    font-weight: 800;
}

.section-heading p {
    color: var(--eml-muted);
    font-size: 17px;
    line-height: 1.7;
    margin: 0;
}

.narrow-heading {
    max-width: 720px;
}

.section-label,
.donation-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--eml-green);
    background: var(--eml-green-soft);
    border: 1px solid rgba(31, 138, 91, 0.16);
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

/* Hero */

.donation-hero-v2 {
    position: relative;
    padding: 90px 0 80px;
    background:
        radial-gradient(circle at top left, rgba(244, 182, 63, 0.24), transparent 30%),
        radial-gradient(circle at bottom right, rgba(31, 138, 91, 0.18), transparent 32%),
        linear-gradient(135deg, #10233f 0%, #153e6f 55%, #0f6b61 100%);
    overflow: hidden;
}

.donation-hero-v2::before {
    content: "";
    position: absolute;
    inset: 24px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 32px;
    pointer-events: none;
}

.donation-hero-inner {
    width: min(1120px, calc(100% - 32px));
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.donation-logo-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    margin-bottom: 34px;
}

.donation-logo-row img {
    background: var(--eml-white);
    padding: 14px 18px;
    border-radius: 18px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.16);
    object-fit: contain;
}

.eml-logo {
    max-height: 74px;
    max-width: 220px;
}

.myriad-logo {
    max-height: 74px;
    max-width: 220px;
}

.donation-hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    color: var(--eml-white);
}

.donation-hero-content h1 {
    font-size: clamp(36px, 6vw, 64px);
    line-height: 1.05;
    margin: 18px 0 20px;
    font-weight: 900;
    letter-spacing: -0.04em;
}

.donation-hero-content p {
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.88);
    font-size: 19px;
    line-height: 1.7;
}

.donation-hero-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 34px;
}

.donation-link,
.donation-primary-btn,
.donation-secondary-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 14px 24px;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition: 0.25s ease;
}

.donation-primary-btn {
    background: var(--eml-gold);
    color: var(--eml-dark);
    box-shadow: 0 12px 30px rgba(244, 182, 63, 0.32);
}

.donation-primary-btn:hover {
    transform: translateY(-2px);
    color: var(--eml-dark);
    text-decoration: none;
}

.donation-secondary-btn {
    color: var(--eml-white);
    border: 1px solid rgba(255, 255, 255, 0.36);
    background: rgba(255, 255, 255, 0.08);
}

.donation-secondary-btn:hover {
    background: rgba(255, 255, 255, 0.16);
    color: var(--eml-white);
    text-decoration: none;
}

/* Donation Options */

.donation-options-section {
    padding: 84px 0;
    background: var(--eml-white);
}

.donation-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 26px;
}

.donation-option-card {
    position: relative;
    background: var(--eml-white);
    border: 1px solid var(--eml-border);
    border-radius: var(--eml-radius);
    padding: 30px;
    box-shadow: var(--eml-shadow);
    overflow: hidden;
}

.donation-option-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 7px;
    background: linear-gradient(90deg, var(--eml-blue), var(--eml-green));
}

.flutterwave-option::before {
    background: linear-gradient(90deg, var(--eml-orange), var(--eml-gold));
}

.donation-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-bottom: 28px;
}

.donation-badge {
    display: inline-flex;
    color: var(--eml-blue);
    background: var(--eml-blue-soft);
    border: 1px solid rgba(22, 79, 143, 0.12);
    padding: 8px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.donation-badge-local {
    color: #9b4a00;
    background: #fff4e8;
    border-color: rgba(245, 130, 32, 0.18);
}

.donation-card-logo img {
    max-height: 52px;
    max-width: 150px;
    object-fit: contain;
}

.flutterwave-mark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 10px 16px;
    border-radius: 14px;
    background: #fff4e8;
    color: #10233f;
    font-weight: 900;
    letter-spacing: -0.02em;
}

.donation-option-card h3 {
    color: var(--eml-dark);
    font-size: 26px;
    line-height: 1.2;
    margin: 0 0 14px;
    font-weight: 850;
}

.donation-option-card p {
    color: var(--eml-muted);
    font-size: 16px;
    line-height: 1.7;
    margin: 0 0 22px;
}

.donation-feature-list {
    padding: 0;
    margin: 0 0 28px;
    list-style: none;
}

.donation-feature-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 12px;
    color: var(--eml-text);
    font-size: 15.5px;
    line-height: 1.5;
}

.donation-feature-list li::before {
    content: "✓";
    position: absolute;
    left: 0;
    top: 0;
    width: 20px;
    height: 20px;
    border-radius: 999px;
    background: var(--eml-green-soft);
    color: var(--eml-green);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 900;
}

.donation-card-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 14px 22px;
    border-radius: 14px;
    background: var(--eml-dark);
    color: var(--eml-white);
    font-weight: 850;
    text-decoration: none;
    transition: 0.25s ease;
}

.donation-card-btn:hover {
    transform: translateY(-2px);
    color: var(--eml-white);
    text-decoration: none;
    box-shadow: 0 14px 26px rgba(16, 35, 63, 0.18);
}

.flutterwave-btn {
    background: linear-gradient(135deg, var(--eml-orange), var(--eml-gold));
    color: var(--eml-dark);
}

.flutterwave-btn:hover {
    color: var(--eml-dark);
}

/* Guide Section */

.donation-guide-section {
    padding: 76px 0;
    background: var(--eml-bg);
}

.donation-guide-card {
    background: var(--eml-white);
    border: 1px solid var(--eml-border);
    border-radius: var(--eml-radius);
    padding: 36px;
    box-shadow: var(--eml-shadow);
}

.guide-intro {
    text-align: center;
    margin-bottom: 30px;
}

.guide-intro h2 {
    color: var(--eml-dark);
    font-size: clamp(28px, 4vw, 40px);
    margin: 14px 0 0;
    font-weight: 850;
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.guide-item {
    background: #fbfcfe;
    border: 1px solid var(--eml-border);
    border-radius: 18px;
    padding: 22px;
}

.guide-number {
    display: inline-flex;
    width: 42px;
    height: 42px;
    border-radius: 999px;
    align-items: center;
    justify-content: center;
    color: var(--eml-white);
    background: var(--eml-green);
    font-weight: 900;
    margin-bottom: 16px;
}

.guide-item h3 {
    color: var(--eml-dark);
    font-size: 20px;
    margin: 0 0 10px;
    font-weight: 850;
}

.guide-item p {
    color: var(--eml-muted);
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
}

/* About Donation */

.donation-about-section {
    padding: 82px 0;
    background: var(--eml-white);
}

.eml-intro {
    color: var(--eml-text);
    font-size: 17px;
    line-height: 1.85;
    margin: 0 auto 22px;
    max-width: 920px;
}

.impact-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
    margin-top: 36px;
}

.impact-item {
    background: var(--eml-bg);
    border: 1px solid var(--eml-border);
    border-radius: 18px;
    padding: 24px;
}

.impact-icon {
    display: inline-flex;
    font-size: 28px;
    margin-bottom: 14px;
}

.impact-item h3 {
    color: var(--eml-dark);
    font-size: 20px;
    margin: 0 0 8px;
    font-weight: 850;
}

.impact-item p {
    color: var(--eml-muted);
    font-size: 15.5px;
    line-height: 1.65;
    margin: 0;
}

/* Accordion */

.donation-accordion-section {
    padding: 82px 0;
    background: var(--eml-bg);
}

.donation-accordion-card {
    max-width: 920px;
    margin: 0 auto;
    background: var(--eml-white);
    border-radius: var(--eml-radius);
    box-shadow: var(--eml-shadow);
    border: 1px solid var(--eml-border);
    overflow: hidden;
}

.accordion-item {
    border-bottom: 1px solid var(--eml-border);
}

.accordion-item:last-child {
    border-bottom: 0;
}

.accordion-trigger {
    width: 100%;
    border: 0;
    background: var(--eml-white);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px;
    color: var(--eml-dark);
    font-size: 17px;
    font-weight: 850;
    text-align: left;
    cursor: pointer;
}

.accordion-trigger:hover {
    background: #fbfcfe;
}

.accordion-icon {
    width: 34px;
    height: 34px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--eml-blue-soft);
    color: var(--eml-blue);
    transition: 0.25s ease;
    flex: 0 0 auto;
}

.accordion-content {
    display: none;
    padding: 0 26px 26px;
}

.accordion-content p {
    color: var(--eml-muted);
    font-size: 16px;
    line-height: 1.75;
    margin: 0 0 16px;
}

.accordion-content a {
    color: var(--eml-blue);
    font-weight: 800;
    text-decoration: none;
}

.accordion-content a:hover {
    text-decoration: underline;
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(90deg);
    background: var(--eml-green-soft);
    color: var(--eml-green);
}

.inline-donation-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 11px 18px;
    border-radius: 999px;
    background: var(--eml-blue-soft);
    color: var(--eml-blue);
    font-weight: 850;
    text-decoration: none;
}

.donation-address {
    background: var(--eml-bg);
    border-left: 4px solid var(--eml-green);
    padding: 16px 18px;
    border-radius: 12px;
    color: var(--eml-dark) !important;
}

/* Trust Section */

.trust-section {
    padding: 82px 0;
    background: var(--eml-white);
}

.trust-card {
    background:
        radial-gradient(circle at top right, rgba(31, 138, 91, 0.14), transparent 28%),
        linear-gradient(135deg, #f8fbff 0%, #ffffff 100%);
    border: 1px solid var(--eml-border);
    border-radius: var(--eml-radius);
    padding: 36px;
    box-shadow: var(--eml-shadow);
}

.trust-card h2 {
    color: var(--eml-dark);
    font-size: clamp(28px, 4vw, 40px);
    line-height: 1.2;
    margin: 14px 0 28px;
    font-weight: 850;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.trust-item {
    background: var(--eml-white);
    border: 1px solid var(--eml-border);
    border-radius: 16px;
    padding: 20px;
}

.trust-item strong {
    display: block;
    color: var(--eml-dark);
    font-size: 16px;
    margin-bottom: 8px;
}

.trust-item span {
    display: block;
    color: var(--eml-muted);
    font-size: 14.5px;
    line-height: 1.6;
}

/* Final CTA */

.final-donation-section {
    padding: 82px 0;
    background:
        radial-gradient(circle at top left, rgba(244, 182, 63, 0.22), transparent 28%),
        linear-gradient(135deg, #10233f 0%, #14365f 100%);
}

.final-donation-card {
    max-width: 880px;
    margin: 0 auto;
    text-align: center;
    color: var(--eml-white);
}

.final-donation-card h2 {
    font-size: clamp(30px, 5vw, 48px);
    line-height: 1.12;
    margin: 0 0 16px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.final-donation-card p {
    color: rgba(255, 255, 255, 0.86);
    font-size: 18px;
    line-height: 1.75;
    max-width: 760px;
    margin: 0 auto 30px;
}

.final-donation-actions {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
}

.final-donation-actions .donation-card-btn {
    width: auto;
    min-width: 230px;
    background: var(--eml-white);
    color: var(--eml-dark);
}

.final-donation-actions .flutterwave-btn {
    background: linear-gradient(135deg, var(--eml-orange), var(--eml-gold));
    color: var(--eml-dark);
}

/* Responsive */

@media (max-width: 991px) {
    .donation-option-grid,
    .guide-grid,
    .impact-grid,
    .trust-grid {
        grid-template-columns: 1fr 1fr;
    }

    .donation-hero-v2 {
        padding: 72px 0 64px;
    }

    .donation-option-card,
    .donation-guide-card,
    .trust-card {
        padding: 26px;
    }
}

@media (max-width: 767px) {
    .eml-container,
    .donation-hero-inner {
        width: min(100% - 24px, 1120px);
    }

    .donation-option-grid,
    .guide-grid,
    .impact-grid,
    .trust-grid {
        grid-template-columns: 1fr;
    }

    .donation-hero-v2 {
        padding: 58px 0 54px;
    }

    .donation-hero-v2::before {
        inset: 12px;
        border-radius: 24px;
    }

    .donation-logo-row {
        gap: 14px;
        margin-bottom: 26px;
    }

    .donation-logo-row img {
        max-width: 150px;
        max-height: 62px;
        padding: 10px 12px;
        border-radius: 14px;
    }

    .donation-hero-content h1 {
        font-size: 36px;
    }

    .donation-hero-content p {
        font-size: 16.5px;
    }

    .donation-hero-actions,
    .final-donation-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .donation-primary-btn,
    .donation-secondary-btn,
    .final-donation-actions .donation-card-btn {
        width: 100%;
    }

    .donation-options-section,
    .donation-guide-section,
    .donation-about-section,
    .donation-accordion-section,
    .trust-section,
    .final-donation-section {
        padding: 58px 0;
    }

    .section-heading {
        margin-bottom: 28px;
    }

    .section-heading h2,
    .guide-intro h2,
    .trust-card h2 {
        font-size: 30px;
    }

    .donation-card-top {
        align-items: flex-start;
        flex-direction: column;
    }

    .accordion-trigger {
        padding: 20px;
        font-size: 16px;
    }

    .accordion-content {
        padding: 0 20px 22px;
    }
}

@media (max-width: 420px) {
    .donation-option-card,
    .donation-guide-card,
    .trust-card {
        padding: 22px;
    }

    .donation-hero-content h1 {
        font-size: 32px;
    }

    .donation-badge {
        font-size: 11px;
    }
}