#donation-opportunities {
    scroll-margin-top: 110px;
}

.donation-section {
    background: #f7f7f7;
}

.donation-hero-row {
    --donation-hero-gap: 1.5rem;
}

@media (min-width: 768px) {
    .donation-hero-row {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 2rem;
        align-items: center;
    }

    .donation-hero-content,
    .donation-hero-media {
        width: 100%;
        max-width: none;
    }
}

.donation-hero-content {
    max-width: none;
}

.donation-tag {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    margin-bottom: 20px;
    background: #FFFBC9;
    border-radius: 50px;
    border: 1px solid rgba(254, 240, 138, 0.8);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #166534 !important;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(254, 240, 138, 0.4);
}

.donation-title {
    margin-bottom: 24px;
    font-size: clamp(2.25rem, 4.8vw, 4.375rem);
    line-height: 1.05;
    font-weight: 600;
    color: #000;
    font-family: 'Poppins', sans-serif;
}

.donation-description {
    max-width: 100%;
    margin-bottom: 30px;
    color: #777;
    font-size: 18px;
    line-height: 1.8;
    font-family: 'Inter', sans-serif;
}

.donate-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 32px;
    background: linear-gradient(97.87deg, #FFEA00 -39.18%, #006D5B 75.53%);
    border: 0;
    border-radius: 8px;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.donate-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
}

.donate-btn span,
.donation-btn span {
    display: inline-block;
    transition: transform 0.25s ease;
}

.donate-btn:hover span,
.donation-btn:hover span {
    transform: translateX(4px);
}

.donation-banner {
    display: block;
    width: 100%;
}

.donation-banner img {
    width: 100%;
    max-width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 14px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.08);
}

/* Donation opportunities */
.donations-list-section {
    background: #fff;
    padding: 70px 0;
}

.section-title {
    font-size: 42px;
    font-weight: 700;
    color: #111;
    font-family: 'Poppins', sans-serif;
}

.donation-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    margin-bottom: 70px;
}

.donation-item.reverse .donation-image {
    order: 2;
}

.donation-item.reverse .donation-content {
    order: 1;
}

.donation-image img {
    width: 100%;
    border-radius: 12px;
    display: block;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
    transition: transform 0.4s ease;
}

.donation-image:hover img {
    transform: scale(1.02);
}

.donation-category {
    display: inline-block;
    margin-bottom: 12px;
    color: #8f8f8f;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
}

.donation-content h3 {
    margin-bottom: 15px;
    color: #111;
    font-size: 32px;
    font-weight: 700;
    line-height: 1.25;
    font-family: 'Poppins', sans-serif;
}

.donation-content p {
    margin-bottom: 24px;
    color: #666;
    line-height: 1.8;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
}

.donation-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 14px 32px;
    background: linear-gradient(97.87deg, #FFEA00 -39.18%, #006D5B 75.53%);
    border: none;
    border-radius: 8px;
    color: #fff !important;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 16px;
    line-height: 1.2;
    text-decoration: none;
}

.donation-btn:hover {
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 109, 91, 0.3);
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }

    25% {
        background-position: 35% 45%;
    }

    50% {
        background-position: 100% 50%;
    }

    75% {
        background-position: 65% 55%;
    }

    100% {
        background-position: 0% 50%;
    }
}

/* 1024px: keep text and image separated */
@media (max-width: 1024px) {
    .donation-title {
        font-size: 46px;
    }

    .donation-description {
        max-width: 100%;
        font-size: 16px;
    }

    .donation-banner img {
        max-width: 100%;
        height: 430px;
    }

    .donation-content h3 {
        font-size: 28px;
    }
}

@media (max-width: 991px) {

    .donation-item,
    .donation-item.reverse {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .donation-item.reverse .donation-image,
    .donation-item.reverse .donation-content {
        order: unset;
    }

    .donation-content h3 {
        font-size: 28px;
    }
}

/* 768px: banner beside content, 3 cards per row */
@media (min-width: 768px) and (max-width: 991px) {
    .donation-hero-row {
        flex-wrap: nowrap;
    }

    .donation-hero-content {
        padding-right: 12px;
    }

    .donation-hero-media {
        padding-left: 12px;
    }

    .donation-title {
        font-size: 34px;
        margin-bottom: 16px;
    }

    .donation-description {
        margin-bottom: 20px;
        font-size: 15px;
        line-height: 1.6;
    }

    .donate-btn {
        min-height: 44px;
        padding: 12px 24px;
        font-size: 16px;
    }

    .donation-banner {
        justify-content: flex-end;
    }

    .donation-banner img {
        width: 100%;
        max-width: none;
        height: 360px;
    }
}

@media (max-width: 767px) {
    .donation-title {
        font-size: 38px;
    }

    .donation-description {
        max-width: 100%;
    }

    .donation-banner {
        justify-content: center;
    }

    .donation-banner img {
        max-width: 100%;
        height: 300px;
    }

    .section-title {
        font-size: 32px;
    }

    .donation-btn {
        width: 100%;
        text-align: center;
    }
}

@media (min-width: 992px) and (max-width: 1199px) {
    .donation-banner img {
        max-width: 100%;
        height: 470px;
    }
}