#header-logo{ color: #ffffff; transition: 0.5s ease;}
#header-menu a{ color: #ffffff; transition: 0.5s ease;}
#header-menu a::before{ background-color: #ffffff; }
#header-menu a:last-of-type{ border: 2px solid #ffffff; }
#header-menu a:last-of-type:hover{ color: #000000; }
#header-menu a:last-of-type::before{ background-color: #ffffff; }
#header-menu i{ color: #ffffff; transition: 0.5s ease;}

#header.isSticky #header-logo{ color: #000000; }
#header.isSticky #header-menu a{ color: #000000; }
#header.isSticky #header-menu a::before{ background-color: #000000; }
#header.isSticky #header-menu a:last-of-type{ border: 2px solid #000000; }
#header.isSticky #header-menu a:last-of-type:hover{ color: #ffffff; }
#header.isSticky #header-menu a:last-of-type::before{ background-color: #000000; }
#header.isSticky #header-menu i{ color: #000000; }






#main{
    position: relative;
    padding: 250px clamp(20px, 10%, 10%);
    color: white;
}

#main-bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -10000;
}

#main-bg img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

#main-content{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 50px;
}

#main-content h1{
    font-size: 60px;
    margin-top: auto;
}

#main-content p{
    margin-top: auto;
}












#team{
    background-color: #f5f5f5;
    position: relative;
    padding: 100px clamp(20px, 10%, 10%);
}

#team-header h2{
    font-size: 45px;
    max-width: 900px;
}

#team-header h2 b{
    color: #00000080;
}

#team-header hr{
    width: 100%;
    max-width: 100px;
    border: 4px solid #000000;
    margin-bottom: 30px;
}

#team-list{
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 30px;
    margin-top: 100px;
    text-decoration: none;
}

.team-item{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 20px;
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
}

.team-item img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(1);
    transform: scale(1);
    transition: 0.5s ease;
}

.team-item:hover img{
    filter: brightness(0.4);
    transform: scale(1.2);
}

.team-item span{
    z-index: 100;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    flex-flow: column;
    text-align: right;
    width: 100%;
    height: 100%;
    padding: 20px;
    color: white;
    transform: translateY(50px);
    opacity: 0;
    transition: 0.5s ease;
}

.team-item:hover span{
    transform: translateY(0);
    opacity: 1;
}

.team-item span b{
    font-size: 24px;
}












#info{
    background-color: #f0f0f0;
    position: relative;
    padding: 100px clamp(20px, 10%, 10%);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 30px;
}

#info-content{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-flow: column;
    gap: 10px;
}

#info-content hr{
    width: 100%;
    max-width: 100px;
    border: 4px solid #000000;
    margin-bottom: 30px;
}

#info-content h2{
    font-size: 45px;
    max-width: 900px;
}

#info-content h2 b{
    color: #00000080;
}

#info-content p{
    max-width: 500px;
}

#info-image{
    display: flex;
    justify-content: center;
    align-items: center;
}

#info-image img{
    border-radius: 30px;
    width: 100%;
}












#why{
    background-color: #000000;
    color: white;
    position: relative;
    padding: 150px clamp(20px, 10%, 10%);
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 150px 50px;
}

.why-item{
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 20px;
}

.why-item i{
    font-size: 70px;
}

.why-item span{
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-flow: column;
    gap: 20px;
}

.why-item span b{
    font-size: 50px;
}

.why-item span p{
    color: #ffffff80;
    max-width: 500px;
}












#clients{
    background-color: #f5f5f5;
    display: grid;
    grid-template-columns: repeat(4,1fr);
    width: 100%;
}

.clients-item{
    aspect-ratio: 1/1;
    position: relative;
    display: block;
    overflow: hidden;
}


.clients-item img{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform: scale(1.2);
    transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.clients-item:hover img{
    transform: scale(1);
    filter: brightness(0.25);
}

.clients-item span{
    width: 100%;
    height: 100%;
    position: absolute;
    padding: 40px;
    text-align: center;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-flow: column;
    gap: 20px;
    color: white;
    transform: scale(0.8);
    opacity: 0;
    transition: 1s cubic-bezier(0.19, 1, 0.22, 1);
}

.clients-item:hover span{
    transform: scale(1);
    opacity: 1;
}

.clients-item span h3{
    font-size: 30px;
}


















@media screen and (max-width: 1000px) {
    #clients{
        grid-template-columns: repeat(2,1fr);
    }

    #main-content{
        grid-template-columns: repeat(1,1fr);
    }  
}

@media screen and (max-width: 900px) {
    #team-list{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
    }
    .team-item{
        max-width: 300px;
        max-height: 300px;
    }

    #info{
        grid-template-columns: repeat(1,1fr);
    }

    #why{
        grid-template-columns: repeat(1,1fr);
        gap: 60px;
    }

    #team{
        min-height: 80vh;
    }
    #team-content{
        width: 100%;
        padding-top: 50px;
    }
}

@media screen and (max-width: 560px) {
    #main-content h1{
        font-size: 40px;
    }
    #clients{
        grid-template-columns: repeat(1,1fr);
    }
    #why-list{
        grid-template-columns: repeat(1,1fr);
    }

    #team-content h2{
        font-size: 45px;
    }
}

@media screen and (max-width: 420px) {
    #why-list{
        grid-template-columns: repeat(1,1fr);
        gap: 50px;
    }
    #home-content h2{
        font-size: 35px;
    }

    .why-item i{
        font-size: 50px;
    }

    .why-item span b{
        font-size: 30px;
    }
    .why-item span p{
        color: #ffffff80;
        max-width: 500px;
    }
}














#main-content h1{
    transform: translateX(-70px);
    opacity: 0;
    animation: mainAnim 0.5s ease forwards;
}

#main-content p{
    transform: translateX(70px);
    opacity: 0;
    animation: mainAnim 0.5s ease forwards;
}

@keyframes mainAnim{
    from{ }
    to{ transform: translateY(0); opacity: 1; }
}


#team-header.animate{
    transform: translateX(-70px);
    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:nth-child(5){ transition-delay: 0.5s; }
.team-item.animate{
    transform: translateX(-70px);
    opacity: 0;
}


#info-content.animate{
    transform: translateX(-70px);
    opacity: 0;
}
#info-image.animate{
    transform: translateX(70px);
    opacity: 0;
}


.why-item:nth-child(odd){ transition-delay: 0.1s; }
.why-item:nth-child(even){ transition-delay: 0.2s; }

.why-item.animate{
    transform: translateX(-70px);
    opacity: 0;
}


.clients-item:nth-child(1){ transition-delay: 0.1s; }
.clients-item:nth-child(2){ transition-delay: 0.2s; }
.clients-item:nth-child(3){ transition-delay: 0.3s; }
.clients-item:nth-child(4){ transition-delay: 0.4s; }
.clients-item:nth-child(5){ transition-delay: 0.5s; }
.clients-item:nth-child(6){ transition-delay: 0.6s; }
.clients-item:nth-child(7){ transition-delay: 0.7s; }
.clients-item:nth-child(8){ transition-delay: 0.8s; }
.clients-item.animate{
    transform: scale(0.9);
    opacity: 0;
}
