@import url('https://fonts.googleapis.com/css2?family=Lobster&display=swap');

@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.font-inter {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
}

p {
    font-family: "Poppins", sans-serif;
    font-weight: 400;
    font-style: normal;
}


#banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom,
            rgba(0, 0, 0, 0.45) 0%,
            rgba(0, 0, 0, 0.65) 50%,
            rgba(0, 0, 0, 0.85) 100%);
    z-index: 1;
}


#banner {
    position: relative;
    min-height: 85vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 70px;
    background-image: url("../images/donation1.jpg");
    background-size: cover;
    background-position: center;
    color: white;
}


.banner-container {
    position: relative;
    z-index: 2;
    text-align: center;
    justify-content: center;
    padding: 40px 0;

}

#banner h1 {
    font-size: 80px;
    line-height: 1.2;
    color: white;
    max-width: 50vw;
    margin: 0 auto;
    text-align: center;
}

#banner p {
    font-size: 18px;
    line-height: 2;
    color: white;
    max-width: 691px;
    text-align: center;
    margin: 20px auto 0;
}

.donate-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 32px;

    background-color: #ff5959;
    padding: 18px 22px;
    border: none;
    border-radius: 6px;
    font-size: 20px;
    font-weight: 600;
    color: white;
    cursor: pointer;

    transition: background-color 0.25s ease, transform 0.25s ease,
        box-shadow 0.25s ease;
}

.donate-btn:hover {
    background-color: #af2828;
    /* hover color */
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}

.donate-btn:active {
    background-color: #8f1f1f;
    /* pressed color */
    transform: translateY(0) scale(0.97);
    box-shadow: none;
}


#donate {
    padding: 100px 20px;
    text-align: center;
    background-color: #fff;
}


.donate-today h2 {
    font-size: 45px;
    margin-bottom: 16px;
    color: #111;
    margin-bottom: 20px;
}

.donate-today p {
    font-size: 18px;
    color: #777;
    max-width: 600px;
    margin: 0 auto 48px;
    line-height: 28px;
}

/* Taka cards */
.tk-list {
    display: flex;
    justify-content: center;
    gap: 22px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.cards {
    width: 120px;
    height: 110px;
    background-color: #ede9e9;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s ease;
    border: 2px solid transparent;
    /* default border */
    padding: 25px 45px;
    gap: 22px;
}

.cards p {
    font-size: 30px;
    font-weight: 600;
    color: #777;
    transition: all 0.25s ease;
}

/* Active card */
.cards.active {
    background-color: #eee5e5;
    border: 2px solid #ff5959;
}

.cards.active p {
    color: #ff5959;
}

/* Hover effect */
.cards:hover {
    background-color: #fff5f5;
    border: 2px solid #ff5959;
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
}

.cards:hover p {
    color: #ff5959;
}


.other-amount {
    text-align: center;
    margin-top: 60px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Input styled like plain text */
.other-amount input {
    font-size: 18px;
    color: #b5b5b5;
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
    width: 500px;
    max-width: 90%;
    padding-bottom: 12px;
}

/* Divider line */
.other-amount input {
    border-bottom: 1px solid #e5e5e5;
}

/* On focus */
.other-amount input:focus {
    color: #333;
    border-bottom-color: #ccc;
}

.other-amount .donate-btn {
    margin-top: 40px;
}


#plan {
    padding: 80px 20px;
    text-align: center;
    background-color: #fff;
}

#plan h2 {
    font-size: 45px;
    color: #111;
    margin-bottom: 20px;
}

#plan .plan-p {
    font-size: 18px;
    color: #777;
    max-width: 750px;
    margin: 0 auto 48px;
    line-height: 28px;
}

/* Card container */
#plan .plan-card {
    display: flex;
    justify-content: center;
    gap: 28px;
    flex-wrap: wrap;
    margin: 0px 155px;
    padding: 0px 40px 30px;
}

.food-card,
.shelter-card,
.edu-card {
    width: 360px;
    height: 352px;
    padding: 20px 35px;
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(129, 128, 128, 0.1);
    color: #111;
    transition: transform 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    position: relative;
}


.plan-card img {

    max-width: 80px;
    margin: 63px 0 31px 0;
}


.food-card {
    background-color: rgba(79, 157, 166, 0.1);
}

.shelter-card {
    background-color: rgba(255, 89, 89, 0.1);
}

.edu-card {
    background-color: rgba(252, 229, 165, 0.519);
}


.food-card h3,
.shelter-card h3,
.edu-card h3 {
    text-align: left;
    margin-top: 10px;
    margin-bottom: 16px;
    font-size: 24px;
    color: #111;
    font-size: 24px;

}

.food-card p,
.shelter-card p,
.edu-card p {
    text-align: left;
    font-size: 16px;
    line-height: auto;
    color: #707070;
    max-width: 315px;
}

.food-card:hover,
.shelter-card:hover,
.edu-card:hover {
    transform: translateY(-5px);
}





/* Base styles (already provided) */
.donation-section {
    padding: 0 auto;
    margin: 100px 200px;
}

.grid-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 85px;
    align-items: center;
}

.content.text h2 {
    max-width: 450px;
    font-size: 45px;
    font-weight: 700;
    margin-bottom: 20px;
}

.content.text p {
    color: #707070;
    line-height: 28px;
    font-size: 18px;
    max-width: 485px;
}

.content.image img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    border-radius: 6px;
    display: block;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

#update {
    margin: 0 auto;
    text-align: center;
}

.get-update-container {
    max-width: 1000px;
    margin: 0 auto;
    align-items: center;
    text-align: center;
}

.update-text h2 {
    margin-top: 130px;
    font-size: 45px;
    margin-bottom: 25px;
}

.update-text p {
    font-size: 18px;
    line-height: 28px;
    color: #707070;
    max-width: 550px;
    text-align: center;
    margin: 0 auto;
}

.subscribe {
    margin: 50px auto 130px;
    padding: 76px 190px;
    background-color: #FFF4D6;
}

.subscribe form {
    display: flex;
    gap: none;
    flex-wrap: wrap;
    margin: 0 auto;
}

.subscribe .email {
    padding: 12px 15px;
    font-size: 18px;
    border-radius: 6px 0 0 6px;
    flex: 1 1 250px;
    width: 450px;
    height: 55px;
    background-color: #D9D9D9;
    border: none;

}

.subscribe .subs-btn {
    padding: 12px 35px;
    font-size: 16px;
    border: none;
    font-weight: 600;
    background-color: #FF5959;
    /* Accent color */
    color: #fff;
    border-radius: 0 6px 6px 0px;
    cursor: pointer;

    transition: background-color 0.25s ease, transform 0.25s ease,
        box-shadow 0.25s ease;
}

.subscribe .subs-btn:hover {
    background-color: #bf2e2e;
    /* hover color */
    transform: translateY(-2px) scale(1);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.18);
}


/* #humble {
    margin-top: 130px;
    background-color: #0B0D17;
    height: 300px;
    text-align: center;
    padding: 55px 650px;

}

#humble .be-humble {
    margin: 45px auto;
}

#humble .be-humble h3 {
    color: #FF5959;
    font-size: 38px;
    margin-bottom: 24px;

    font-family: "Lobster", sans-serif;
    font-weight: 400;
    font-style: normal;

}

#humble .be-humble p {
    color: #D9DBE1;
} */

#humble {
    margin-top: 130px;
    background-color: #0B0D17;
    text-align: center;
    padding: 55px 20px;   /* flexible padding */
}

#humble .be-humble {
    max-width: 800px;    /* controls width instead of padding */
    margin: 45px auto;
}

#humble .be-humble h3 {
    color: #FF5959;
    font-size: 38px;
    margin-bottom: 24px;
    font-family: "Lobster", sans-serif;
    font-weight: 400;
}

#humble .be-humble p {
    color: #D9DBE1;
    font-size: 16px;
    line-height: 1.6;
}














@media screen and (max-width: 992px) {
    #banner {
        padding: 40px 30px 80px;
        min-height: 70vh;
    }

    #banner h1 {
        font-size: 56px;
        max-width: 90%;
    }

    #banner p {
        font-size: 18px;
        max-width: 90%;
    }


    #plan .plan-card {
        margin: 0 50px;
        gap: 20px;
    }

    .food-card,
    .shelter-card,
    .edu-card {
        width: 300px;
        height: 340px;
        padding: 20px;
    }

    .plan-card img {
        max-width: 70px;
        margin: 50px 0 25px 0;
    }

    #plan .plan-p {
        max-width: 600px;
    }

    .food-card h3,
    .shelter-card h3,
    .edu-card h3 {
        font-size: 22px;
    }

    .food-card p,
    .shelter-card p,
    .edu-card p {
        font-size: 15px;
    }


    .donation-section {
        margin: 60px 40px;
    }

    .grid-container {
        gap: 50px;
    }

    .content.text h2 {
        font-size: 34px;
        max-width: 100%;
    }

    .content.text p {
        font-size: 16px;
        line-height: 26px;
        max-width: 100%;
    }

    .content.image img {
        height: 380px;
    }


    #humble {
        margin-top: 100px;
        padding: 50px 30px;
    }

    #humble .be-humble {
        max-width: 600px;
    }

    #humble .be-humble h3 {
        font-size: 32px;
    }


}

@media screen and (max-width: 576px) {
    #banner {
        padding: 32px 20px 60px;
        min-height: 65vh;
    }

    #banner h1 {
        font-size: 36px;
        max-width: 100%;
        line-height: 1.3;
    }

    #banner p {
        font-size: 16px;
        max-width: 100%;
    }

    #banner .donate-btn {
        padding: 14px 18px;
        font-size: 15px;
        width: 100%;
        max-width: 240px;
    }


    .donate-today h2 {
        font-size: 32px;
    }

    .cards {
        width: 100px;
        height: 90px;
    }

    .cards p {
        font-size: 18px;
    }


    #plan .plan-card {
        flex-direction: column;
        margin: 0 auto;
        padding: 0 20px 30px;
        gap: 20px;
    }

    .food-card,
    .shelter-card,
    .edu-card {
        width: 100%;
        max-width: 360px;
        height: auto;
        padding: 20px 20px;
    }

    .plan-card img {
        max-width: 60px;
        margin: 40px 0 20px 0;
    }

    .food-card h3,
    .shelter-card h3,
    .edu-card h3 {
        font-size: 20px;
    }

    .food-card p,
    .shelter-card p,
    .edu-card p {
        font-size: 14px;
        max-width: 100%;
    }

    #plan h2 {
        font-size: 32px;
    }

    #plan .plan-p {
        font-size: 16px;
        max-width: 100%;
    }



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

    /* First section */
    .grid-container .content.image:nth-of-type(2) {
        order: 1;
    }

    .grid-container .content.text:nth-of-type(1) {
        order: 2;
    }

    /* Second section */
    .grid-container .content.image:nth-of-type(3) {
        order: 3;
    }

    .grid-container .content.text:nth-of-type(4) {
        order: 4;
    }


    .donation-section {
        margin: 40px 20px;
    }

    .grid-container {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .content.text h2 {
        font-size: 28px;
        line-height: 1.3;
    }

    .content.text p {
        font-size: 15px;
        line-height: 25px;
    }

    .content.image img {
        height: 260px;
    }

    .donate-btn {
        width: 100%;
        padding: 14px 0;
        font-size: 16px;
    }



    #update {
        margin: 0 auto;
        text-align: center;
        padding: 50px 20px;
    }

    .get-update-container {
        max-width: 100%;
        padding: 0 15px;
        text-align: center;
        align-items: center;
        display: flex;
        flex-direction: column;
        gap: 30px;
    }

    /* Heading */
    .update-text h2 {
        margin-top: 60px;
        /* reduce top margin for mobile */
        font-size: 28px;
        margin-bottom: 15px;
    }

    /* Paragraph */
    .update-text p {
        font-size: 16px;
        line-height: 24px;
        max-width: 100%;
        margin: 0 auto;
        text-align: center;
    }

    /* Subscribe box */
    .subscribe {
        margin: 40px auto 60px;
        padding: 40px 20px;
        /* reduce padding for mobile */
        width: 100%;
        box-sizing: border-box;
    }

    /* Subscribe form */
    .subscribe form {
        display: flex;
        flex-direction: column;
        /* stack inputs vertically */
        gap: 15px;
        margin: 0 auto;
        width: 100%;
    }

    /* Email input */
    .subscribe .email {
        margin: 0 auto;
        width: 80%;
        flex: unset;
        height: 50px;
        border-radius: 6px;
        padding: 12px 15px;
        font-size: 16px;
        background-color: #D9D9D9;
    }

    /* Subscribe button */
    .subscribe .subs-btn {
        margin: 0 auto;
        width: 70%;
        border-radius: 6px;
        padding: 12px 0;
        font-size: 16px;
    }


    #humble {
        margin-top: 80px;
        padding: 40px 16px;
    }

    #humble .be-humble {
        margin: 20px auto;
    }

    #humble .be-humble h3 {
        font-size: 26px;
    }

    #humble .be-humble p {
        font-size: 14px;
    }


}