*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;

    font-family: sans-serif;
    scroll-behavior: smooth;

}

:root{
    --red: #E63946;

    --font-poppins: "Poppins", sans-serif;
    --font-rubik: "Rubik", sans-serif;
}

h1, h2, h3, h4, h5, h6{
    font-family: var(--font-poppins);
}

p, a, button{
    font-family: var(--font-rubik);
}



body{
    max-width: 2000px;
    margin: 0 auto;
}


section{
    padding-left: 20px;
    padding-right: 20px;


}

.above-the-fold{
    padding: 0;
}

body{
    background-color: #1A2B50;
    color: white;
}


a{
    all: unset;
}

header{
    background-color: white;
    color: black;
}

nav{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-end;
    width: 95%;
    margin: 0 auto;
    gap: 30px;
    padding: 10px;
}
nav img{
    width: 75px;
    height: 75px;
    border-radius: 50%;
    margin-right: auto;
}

nav a{
    padding: 7px 14px;
    cursor: pointer;
    
}

nav a:nth-of-type(2){
    outline: 1px solid var(--red);
    transition: all 0.5s;
}

nav a:nth-of-type(2):hover{
    background-color: var(--red);
    color: white;
}

nav a:nth-of-type(2):active{
    background-color: var(--red);
    color: white;
}


/* Landing Page */




.landing-page{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    min-height: 450px;
    height: 90vh;

    padding-left: 40px;
    padding-right: 40px;
}

.landing-page .right{
    position: relative;
    width: 100%;
    height: 100%;
    min-width: 510px;
    
}

.landing-page .right img{
    width: 250px;
    position: absolute;

    right: 20%;
    top: 50%;
    transform: translateY(-50%);

    box-shadow: 4px 4px 30px 3px rgba(255,255,255,1);
    outline: 1px solid white;
    border-radius: 20px;
}

.landing-page .right img:nth-of-type(1){
    rotate: -10deg;
    right: 35%;
    z-index: 2;

    box-shadow: -4px -4px 30px 3px rgba(255,255,255,1);
}

.landing-page .right .more p{
    top: 20%;
    transform: translateY(-50%);
    right: 10%;
    position: absolute;
    rotate: 20deg;

}


.landing-page .right img:nth-of-type(2){
    rotate: 15deg;
    scale: 0.9;
    top: 50%;
    transform: translateY(-50%);
}





.landing-page .text-block{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 20px;

    height: 100%;
}

.landing-page h1{
    font-size: 3rem;
}


.landing-page .text-block p{
    font-size: 1.3rem;
    line-height: 150%;
    letter-spacing: 0.8px;
}

.landing-page .text-block .donate-text{
    font-size: 1rem;
    margin-top: -10px;
}

.landing-page .text-block .buttons{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.landing-page .text-block .buttons button{
    padding: 12px 50px;
    font-size: 1.25rem;
    font-weight: 800;
    border-radius: 20px;

    border: none;
    outline: none;
    cursor: pointer;

    width: 100%;
}


.red-button{
    background-color: var(--red);
    color: white;
}

.white-button{
    background-color: #fff;
    color: black;
}





/* Stats Dividor */

.stats-dividor{
    background-color: var(--red);
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

    height: 150px;
}

.stats{
    font-size: 2rem;
    font-weight: 500;
}

.stats-text{
    font-size: 1rem;
}


.how-we-help{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    padding-top: 50px;
    padding-bottom: 50px;


    border-bottom: solid 2px rgba(230, 57, 71, 0.3);
}

.how-we-help h3{
    font-size: 2rem;
    margin-bottom: 20px;
}

.how-we-help .blocks-container{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;

    gap: 50px;

    width: 90%;
    margin: 40px auto;

    flex-wrap: wrap;
}

.how-we-help .block{
    flex: 1;
    background: linear-gradient(to bottom, #F08080, #EF9696 90%);
    padding: 20px;
    border-radius: 10px;

    min-height: 350px;
    min-width: 330px;
    max-width: 500px;


    color: black;

    box-shadow: 4px 4px 12px rgba(255, 255, 255, 0.25);
    
    transition: all 0.2s;
}

.how-we-help .block:hover{
    transform: translateY(-5px);
}

.blocks-container .block i{
    padding-right: 15px;
    padding-left: 15px;
    font-size: 1.2rem;
}

.how-we-help h5{
    font-size: 1rem;
    text-align: center;
    margin-bottom: 40px;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;

    position: relative;
}

.how-we-help h5::before{
    content: '';
    position: absolute;
    height: 1px;
    background-color: #1A2B50;
    width: 50%;
    left: 50%;
    bottom: -20px;
    transform: translateX(-50%);
}

.how-we-help p{
    line-height: 200%;
    width: 100%;
}

.how-we-help p span{
    display: block;
    width: 95%;
    margin: 0 auto;
}

.how-we-help button{
    align-self: center;
}

.white-button{
    padding: 15px 30px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
}



/* Donate & Contact */

.donate-and-contact{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding-top: 50px;
    padding-bottom: 100px;
}

.donate-and-contact h3{
    font-size: 2rem;
    margin-bottom: 75px;
}

.donate-and-contact .more{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    gap: 20px;
}


.donate img{
    height: 75px;
}

.donate p{
    font-size: 1.2rem;
    text-align: center;
    font-weight: 700;
}

.contact h6{
    margin-bottom: 20px;
    text-align: center;
    font-size: 1.2rem;
}

form{
    width: 500px;
}

input::placeholder, textarea::placeholder{
    color: rgba(0,0,0,0.5);
}

.contact .block{
    width: 100%;
    display: flex;
    flex-direction: row;
    gap: 10px;
    margin-bottom: 10px;
}

.contact input, textarea{
    width: 100%;
    height: 40px;
    border-radius: 5px;
    background-color: #EF9696;
    outline: none;
    border: none;

    padding: 10px;
}

textarea{
    height: 100px;
    margin-bottom: 10px;
    
}

.contact button{
    background-color: #E63946;
    width: 100%;
    border-radius: 10px;
    font-size: 1rem;
    padding: 10px;

    outline: none;
    border: none;

    cursor: pointer;
}


/* Footer */

footer{
    padding: 20px;
    background-color: #333;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
}


footer img{
    width: 75px;
    border-radius: 50%;
}

footer a{
    font-weight: 700;
}























/* Second Page */

.our-story-section {
    color: #F2F2F2;
    padding: 60px 20px;
    font-family: 'Poppins', sans-serif;

    border-bottom: 1px solid rgba(230, 57, 71, 0.3);
}


.our-story-section .container {
    padding: 10px 40px;
    margin: 0 auto;
}

.our-story-section h2.section-title {
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.icon-green {
    color: #A3D9A5;
    font-size: 1.5rem;
}

.our-story-section h3.subheading {
    font-size: 1.4rem;
    margin-top: 40px;
    margin-bottom: 10px;
    color: #A3D9A5;
}

.our-story-section p,
.our-story-section li {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 15px;
}

.our-story-section ul.challenge-list,
.our-story-section ul.commitment-list {
    padding-left: 20px;
    margin-bottom: 30px;
}


.our-story-section ul.commitment-list li {
    list-style: none;
    margin-left: 0;
}

.our-story-section ul.commitment-list li::before {
    content: "✅ ";
    margin-right: 5px;
}


/* Past Initiatives*/

.past-initiatives{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;

    gap: 50px;

    width: 95%;
    margin: 0 auto;

    margin-bottom: 50px;
    margin-top: 30px;

 
}


.impact-container{
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    gap: 40px;

    width: 95%;
    margin: 0 auto;
}

.impact-box{
    background-color: #F08080;
    color: black;
    padding: 20px;
    width: 100%;

    line-height: 200%;
    
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;

    border-radius: 10px;

    gap: 20px;
}

.impact-box h3{
    font-size: 1.2rem;
    font-weight: 600;
}

.impact-box ul{
    padding-left: 30px;
}


.impact-box .text{
    max-width: 70%;
}

.impact-box img{
    width: 100%;
    height: 100%;


    border-radius: 10px;
    outline: 1px white solid;
    box-shadow: 4px 4px 20px 4px rgba(255,255,255,0.5);

    min-width: 200px;
    max-height: 400px;
}

.box-3 .images{
    height: auto;
    width: 300px;
}


.past-initiatives h4{
    font-size: 1.5rem;
    text-align: center;
    align-self: center;
    margin-bottom: -20px;
    font-weight: 600;
    letter-spacing: 0.9px;
}


.past-initiatives button{
    padding: 12px 50px;
    font-size: 1.25rem;
    font-weight: 600;
    border-radius: 10px;
    align-self: center;

    border: none;
    outline: none;

    cursor: pointer;

    letter-spacing: 1px;
}





























/*  Responsive */

@media (max-width: 1200px) {

    .landing-page .right{
        transform: scale(0.9);
    }

    .landing-page .text-block .buttons a{
        width: 100%;
        min-width: 200px;
    }

    .landing-page h1{
        font-size: 2.2rem;
    }
    .landing-page .text-block p{
        font-size: 1rem;
    }
    .landing-page .text-block .buttons button{
        font-size: 1rem;
    }
    .landing-page .text-block .donate-text{
        font-size: 0.9rem;
    }
}


@media (max-width: 1000px) {
    .landing-page .right{
        min-width: 400px;
    }
    .landing-page .right img{
        width: 200px;
    }
    .landing-page{
        gap: 40px;
    }

    .landing-page{
        padding-left: 20px;
        padding-right: 20px;
        justify-content: space-between;
    }

    .donate-and-contact .more{
        flex-direction: column-reverse;
        gap: 100px;
    }



}

@media (max-width: 828px) {
    .how-we-help .block{
        min-height: 275px;
    }
}

@media (max-width: 800px) {

    .landing-page{
        flex-direction: column;
        min-height: 850px;
        justify-content: center;
        align-items: flex-start;
        gap: 50px;
        padding-bottom: 150px;
        padding-top: 50px;
    }


    .landing-page .text-block{
        align-items: center;
        text-align: center;
    }
    .landing-page .text-block .buttons{
        flex-direction: row;
    }

    .landing-page .text-block .buttons a{
        width: 45%;

    }
    .landing-page .text-block p{
        width: 80%;
        font-size: 0.9rem;
    }

    .landing-page .text-block .buttons .white-button{
        min-width: 215px;
    }
}



@media (max-width: 768px){
    .stats{
        font-size: 1.5rem;
    }
    .stats-text{
        font-size: 0.9rem;
    }

    .stats-dividor{
        display: flex;
        gap: 10px;
        justify-content: space-between;
    }














    
    /* More Information Page */
    .impact-box{
        flex-direction: column;
    }
    .impact-box img{
        max-height: 300px;
    }
    .impact-box .text{
        max-width: 100%;
    }

    .box-3 .images{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 20px;

        width: 95%;

    }

    .impact-box .images img{
        aspect-ratio: 16 / 9;   
        object-fit: cover;
        min-width: 195px;
    }

    .box-1 .images img{
        object-position: 100% 10%;
    }


    .past-initiatives h4{
        font-size: 1.2rem;
    }
}


@media (max-width: 600px){

    .landing-page .right{
        margin-top: 75px;
    }
    .landing-page h1{
        font-size: 1.8rem;
    }







    form{
        width: 100%;
    }
    .contact{
        width: 100%;
    }


    .stats-dividor{
        flex-wrap: wrap;
        align-items: center;
        justify-content: center;
        text-align: center;

        height: auto;
        padding: 20px;

        gap: 20px;
    }
    .stats-dividor .block{
        min-width: 190px;
    }










    
    
    .box-3 .images{
        flex-direction: column;
    }


}



@media (max-width: 450px){


    nav a:nth-of-type(1){
        display: none;
    }



    section{
        padding-left: 10px;
        padding-right: 10px;
    }
    .landing-page .right{
        margin-top: 150px;
        margin-bottom: 50px;
    }

    .landing-page .right {
        transform: scale(0.8);
        min-width: 100vw;
    }

    .landing-page .text-block .buttons button{
        padding: 10px;
    }

    .landing-page .text-block .buttons a{
        width: 100%;
    }

    .how-we-help .blocks-container{
        width: 100%;
    }
    
    .how-we-help .block{
        min-width: 300px;
    }

    .how-we-help h5{
        width: 100%;
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

        font-size: 0.9rem;
    }


    .stats-dividor{
        gap: 50px;
    }




    footer a{
        font-weight: 600;
        font-size: 0.8rem;
    }
    
    
}




@media (max-width: 350px){
    .landing-page{
        min-height: 1000px;
        padding-left: 10px;
        padding-right: 10px;
    }
    .landing-page .text-block{
        width: 100%;
    }
    .how-we-help .block{
        min-width: 200px;
    }
    .landing-page .right{
        margin-top: 100px;
        margin-bottom: 50px;
    }

    footer a{
        font-weight: 600;
        font-size: 0.7rem;
        text-overflow:ellipsis;
    }



    .landing-page .right{
        transform: scale(0.75);
        margin-right: 50px;
    }

    .landing-page .right img{
        left: 10%;
    }
}