/*-- About Us ------------------------------*/

#aboutUs{
    position: relative;
    padding: 100px clamp(20px, 10%, 10%);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 20px;
    place-items: center;
}

#aboutUs-text{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
    flex-flow: column;
}

#aboutUs-text h2{
    font-size: 40px;
}

#aboutUs-text p{
    color: #ffffff80;
    max-width: 600px;
}

#aboutUs-image{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#aboutUs-image img{
    width: 100%;
    max-width: 600px;
    border-radius: 20px;
}










/*-- Why ------------------------------*/

#why{
    position: relative;
    padding: 100px clamp(20px, 10%, 10%);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 50px;
    place-items: center;
}

#why-text{
    width: 100%;
}

#why-text h2{
    font-size: 60px;
}

#why-list{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 50px;
    background-color: #071424;
    padding: 40px;
    border-radius: 20px;
    width: 100%;
}

.why-item{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    gap: 10px;
}

.why-item i{
    font-size: 50px;
}










/*-- Team -----------------------*/

#team{
    position: relative;
    padding: 100px clamp(20px, 10%, 10%);
    text-align: center;
}

#team h2{
    max-width: 1000px;
    margin: auto;
    margin-bottom: 80px;
}

#team-list{
    display: grid;
    grid-template-columns: repeat(4,1fr);
    gap: 50px;
}

.team-item{
    overflow: hidden;
    position: relative;
    border-radius: 20px;
    min-height: 400px;
}

.team-item::before{
    content: "";
    z-index: -1;
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(0deg, #00000080, #00000000);
}

.team-item img{
    z-index: -10;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.team-item-text{
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-flow: column;
    text-align: right;
    padding: 20px;
}

.team-item-text b{
    font-size: 22px;
}







/*-- Responsive Design -----------------------*/

@media screen and (max-width: 1280px) {
    
}
@media screen and (max-width: 1160px) {
    #aboutUs-text h2{
        font-size: 40px;
    }

    #team-list{
        grid-template-columns: 1fr 1fr;
    }
}
@media screen and (max-width: 1000px) {
    #why{
        grid-template-columns: 1fr;
    }
    #why-list{
        order: 2;
    }
}
@media screen and (max-width: 900px) {
    
}
@media screen and (max-width: 800px) {
    #aboutUs{
        grid-template-columns: 1fr;
        margin-top: 50px;
    }
}
@media screen and (max-width: 700px){
    #aboutUs-text h2{
        font-size: 30px;
    }
}
@media screen and (max-width: 500px) {
    #why-text h2{
        font-size: 40px;
    }
    #why-list{
        padding: 20px;
    }
    .why-item{
        align-items: center;
        text-align: center;
    }

    #team-list{
        grid-template-columns: 1fr;
    }
}















/*-- Scroll Animations -------------------------*/

#aboutUs-text.animate{
    transform: translateX(-50px);
    opacity: 0;
}
#aboutUs-image.animate{
    transform: translateX(50px);
    opacity: 0;
}


#why-list.animate{
    transform: translateX(-50px);
    opacity: 0;
}
#why-text.animate{
    transform: translateX(50px);
    opacity: 0;
}


#team .section-title.animate{
    transform: translateY(-50px);
    opacity: 0;
}
#team h2.animate{
    transform: translateY(-50px);
    opacity: 0;
}
.team-item:nth-child(1){ transition-delay: 0.1s; }
.team-item:nth-child(2){ transition-delay: 0.2s; }
.team-item:nth-child(3){ transition-delay: 0.3s; }
.team-item:nth-child(4){ transition-delay: 0.4s; }
.team-item.animate{
    transform: translateX(-50px);
    opacity: 0;
}