/* Give Hero */
.give-hero {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 550px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    z-index: 0;
}

.give-hero__background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.give-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.6);
}

.give-hero__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.4) 0%, rgba(0, 0, 0, 0.7) 100%);
}

.give-hero__content {
    position: relative;
    z-index: 1;
}

.give-hero__title {
    font-family: var(--font-heading);
    font-size: 80px;
    font-weight: 400;
    color: #fff;
    margin-bottom: 0;
    text-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

/* Give Content Section */
.give-section {
    position: relative;
    margin-top: 550px;
    z-index: 2;
    padding: 60px 0;
    background-color: var(--color-bg-light);
}

.give-section .badge {
    margin: 0 auto 24px;
    display: table;
}

.give-section-title {
    max-width: 650px;
    margin: 0 auto 60px;
    font-size: 54px;
    line-height: 1.1;
}

.give-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: start;
    padding: 0 75px;
}

.give-left {
    position: sticky;
    top: 120px;
}

.give-left__title {
    font-family: var(--font-heading);
    font-size: 38px !important;
    color: var(--color-text-dark);
    line-height: 1.1;
    height: 300px;
}

.give-contact-card {
    background-color: #1a1a1a;
    border-radius: 12px;
    padding: 24px;
    max-width: 280px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.give-contact-card__title {
    font-size: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-family: var(--font-primary);
    font-weight: 600;
    margin: 0;
}

.give-contact-btn {
    font-size: 14px;
    padding: 10px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 40px;
    background: transparent;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    font-weight: 500;
}

.give-contact-btn i {
    font-size: 12px;
}

.give-contact-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
}

/* Right Section */
.give-right {
    display: flex;
    flex-direction: column;
    gap: 40px;
    /* initial gap before they stack */
    padding-bottom: 40px;
    /* some room at bottom */
}

.give-card {
    background-color: #111113;
    /* darker card */
    border: 1px solid rgba(255, 255, 255, 0.08);
    /* slight border */
    border-radius: 12px;
    padding: 35px 35px 45px;
    /* bigger bottom padding keeps text from touching edges when stacked */
    color: #ffffff;
    transition: transform 0.3s ease;

    /* Stacking Sticky Animation */
    position: sticky;
    /* box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5); */
    /* shadow upwards */
}

.give-card:nth-child(1) {
    top: 120px;
    z-index: 1;
}

.give-card:nth-child(2) {
    top: 240px;
    z-index: 2;
}

.give-card:nth-child(3) {
    top: 360px;
    z-index: 3;
}

.give-card:nth-child(4) {
    top: 480px;
    z-index: 4;
    min-height: 250px;
}

.give-card__title {
    font-size: 38px;
    font-family: var(--font-heading);
    font-weight: 400;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    color: #fff;
}

.give-card__desc {
    font-size: 17px;
    line-height: 1.6;
    font-weight: 500;
    color: #f7f7f7;
    margin: 0;
}

/* Responsive */
@media (max-width: 991px) {
    .give-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0;
    }
    
    h2 {
        font-size: 30px !important;
    }

    .give-card__title {
        font-size: 30px;
    }

    .give-card__desc {
        font-size: 12px;
    }

    .give-left {
        position: relative;
        top: 0;
    }

    .give-left__title {
        height: auto;
        text-align: center;
    }

    .give-contact-card {
        display: none;
    }

    .give-section-title {
        font-size: 40px;
        margin-bottom: 30px;
    }

    .give-hero {
        height: 30vh;
        min-height: 350px;
    }

    /* Enable sticky stack on smaller screens */
    .give-card {
        position: unset;
        /* box-shadow: 0 -15px 40px rgba(0, 0, 0, 0.5); */
        margin-bottom: 0px;
        padding: 20px;
    }

    .give-card:nth-child(1) {
        top: 80px;
        z-index: 1;
    }

    .give-card:nth-child(2) {
        top: 140px;
        z-index: 2;
    }

    .give-card:nth-child(3) {
        top: 200px;
        z-index: 3;
    }

    .give-card:nth-child(4) {
        top: 260px;
        z-index: 4;
    }

    .contact-info-stack {
        max-width: 292px;
        margin: auto;
    }

    .contact-info-card {
        padding: 30px 36px;
    }
}

.give-card:nth-child(1) {
    top: 120px;
    z-index: 1;
}

.give-card:nth-child(2) {
    top: 240px;
    z-index: 2;
}

.give-card:nth-child(3) {
    top: 360px;
    z-index: 3;
}

@media (max-width: 767px) {
    .give-left__title {
        font-size: 30px !important;
    }
}