@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');

html {
    scroll-behavior: smooth;
}
body{
    font-family: 'Poppins', sans-serif;
}
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    border: none;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}
.center{
    text-align: center;
}
.bold{
    font-weight: bold;
}
.flex{
    display: flex;
}
.grid{
    display: grid;
}
.theme-color{
    color: #50a8ff;
}
.second-color{
    color: #3a8aed;
}
.third-color{
    color: #094c90;
}
.bg1{
    background-color: #094c90;
}
.bg2{
    background-color: #bde3ff;
}
.bg3{
    background-color: #ecf1f7;
}
.bg4{
    background-color: #3989eb;
}
.p50{
    padding: 50px;
}
.pb-30{
    padding-bottom: 30px;
}
.section-wrapper{
    max-width: 1140px;
    margin: 0px auto;
}

#mobile-nav-btn { 
    display: none; 
}
.home-bg-img{
    background-image: url(assets/hero.jpg);
    background-size: cover;
    background-repeat: no-repeat;
}
.logo{
    width: 100px;
}
.nav-wrapper{
    justify-content: space-between;
    align-items: center;
    height: 85px;
}
.nav-links li a {
    padding-right: 40px;
    color: #094c90;
}
.home-content h2{
    font-size: 60px;
    font-weight: normal;
    line-height: 1;
}
.home-content h5{
    font-size: 82px;
    font-weight: bold;
}
.home-content p{
    margin: 25px 0px;
}
.home-content button{
    border: 2px solid #094c90;
    border-radius: 33px;
    background-color: transparent;
    padding: 12px 16px;
    font-size: 16px;
}

.crises{
    height: 557px;
}
.crises, .involved-section{
    align-items: center;
    padding-left: 50px;
    padding-right: 50px;
}
.crises-text p{
    font-size: 40px;
}
.crises-imgs{
    position: relative;
}
.crises-imgs, .crises-text, .globe-img, .globe-text, .work-imgs, .work-text, 
.form-block, .home-content, .home-bg-img{
    width: 50%;
}
.crises-imgs img:nth-child(1){
    max-width: 430px;
    padding: 80px 0px 80px 40px;
} 
.crises-imgs img:nth-child(2){
    position: absolute;
    left: 400px;
    top: 150px;
    width: 40%;
}
.crises-content{
    align-items: center;
}

.impact-block h2{
    font-weight: 600;
    font-size: 50px;
}
.impact-block{
    padding-bottom: 50px;
}
.icon{
    width: 45px;
    vertical-align: middle;
}
.impact-cards{
    grid-template-columns: repeat(2, 400px);
    justify-content: center;
    gap: 50px;
}
.card p, .card a{
    font-size: 16px;
}
.card a{
    text-decoration: underline;
}
.card{
    background-color: #fff;
    border-radius: 15px;
    padding: 38px;
}
.globe-text p{
    color: #fff;
    font-size: 39px;
}
.globe-img img{
    width: 80%;
}
.work-block{
    padding-top: 50px;
}
.work-text h3{
    font-size: 30px;
    font-weight: 600;
}
.work-text p{
    padding-left: 55px;
}
.work-text{
    padding-left: 22px;
}

.involved-section{
    height: 618px;
}
form{
    padding: 16px;
}
form label{
    color: #fff;
    font-size: 14px;
    display: block;
    padding-bottom: 5px;
}
form input[type="text"], input[type="tel"], input[type="email"], select {
    padding: 12px 16px;
    border-radius: 5px;
    width: 400px;
    margin-bottom: 16px;
}
.submit-btn{
    color: #fff;
    border-radius: 20px;
    padding: 10px 24px;
    margin-top: 20px;
}

.footer-logo{
    width: 200px;
}
.footer-content {
    justify-content: space-around;
    padding: 40px 0;
}
.footer-content ul {
    margin-top: 12px;
    list-style-type: disc;
}
.footer-content a {
    color: #000;
    font-size: 14px;
}
.footer-bottom {
    padding: 15px 0;
    font-size: 12px;
}

/*Animations*/
.pulse {
    animation: pulse 5s ease-in-out infinite;
}
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.1);
    }
}
.rotate:hover {
    animation: rotate 20s linear infinite;
}
@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}
.float {
    animation: float 2s ease-in-out infinite;
}
@keyframes float {
    0% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-12px); 
    }
    100% {
        transform: translateY(0); 
    }
}
.shake:hover {
  animation: shake 0.5s ease-in-out;
}

@keyframes shake {
  0% { transform: translateX(0); }
  30% { transform: translateX(-5px); }
  60% { transform: translateX(5px); }
  90% { transform: translateX(-5px); }
  100% { transform: translateX(0); }
}
#mobileMenu{
    display: none;
}


@media screen and (max-width: 1024px) {
    header{
        padding-left: 12px;
        padding-right: 12px;
    }
    .crises-imgs img:nth-child(2) {
        left: 340px;
        top: 200px;
    }
    .nav-links li a {
        padding-right: 28px;
    }
    .home-content h5 {
        font-size: 74px;
    }
}
@media screen and (max-width: 768px) {
    .p50{
        padding: 25px;
    }
    .crises, .involved-section{
        height: 100%;
        padding-top: 50px;
        padding-bottom: 50px;
    }
    .home-content, #mobileMenu, .crises-imgs, .crises-text, .globe-img, .globe-text,
    .work-imgs, .work-text, .form-block, .shake, 
    form input[type="text"], input[type="tel"], input[type="email"], select {
        width: 100%;
    }
    .flex{
        flex-wrap: wrap;
    }
    .home-content h5{
        font-size: 65px;
    }
    .home-content h2{
        font-size: 50px;
    }
    #desktopMenu{
        display: none;
    }
    .section-wrapper{
        width: 100%;
    }
    #mobileHeader{
        padding: 10px 16px;
    }
    #mobile-nav-btn { 
        display: block; 
    }
    #mobileMenu {
        display: none;
        padding: 12px;
        flex-direction: column; 
    }
    #mobileHeader.open #mobileMenu {
        display: flex;
    }  
    .crises-imgs img:nth-child(2) {
        left: 400px;
        top: 130px;
    }
    .crises-text p {
        font-size: 37px;
    }  
    .crises-imgs img:nth-child(1) {
        width: 65%;
    }
    .impact-block h2, .work-text h3{
        font-size: 22px;
    }
    .impact-cards{
        grid-template-columns: 1fr;
        margin-left: 30px;
        margin-right: 30px;
    }
    .globe-img, .work-imgs{
        text-align: center;
        order: 2;
    }
    .globe-text, .work-text{
        order: 1;
    }
    .globe-text p, .crises-text p{
        font-size: 28px;
    }
    .globe-text, .globe-img, .work-imgs{
        padding-top: 40px;
    }
    .work-text p{
        font-size: 12px;
    }
    .footer-content > div {
        width: 45%;
    }
    .footer-logo{
        width: 70%;
    }
    .footer-content{
        padding-left: 14px;
        padding-right: 14px;
        align-items: center; 
    }
    .footer-content > div:nth-child(3),
    .footer-content > div:nth-child(4) {
        padding-top: 40px;
    }
    .home-bg-img{
        display: none;
    }
}
@media screen and (max-width: 500px) {
    .crises-imgs img:nth-child(2) {
        left: 220px;
        top: 130px;
    }
}
