:root {
    background-color: rgb(var(--beige-01)) !important;
}

.background1 {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 150vh;
    z-index: -1;
    background-image: url("/public/pictures/background.avif");
    background-position: center;
    background-size: cover;
    filter: brightness(0.5);
}
.background2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 60%;
    height: 100vh;
    z-index: -2;
    opacity: 0.3;
    background-color: rgb(var(--beige-02));
    left: 20%;
}


.body {
    z-index: 3;
    margin: 0 auto;
}

.hero, .services, .cta {
    width: calc(100% - 15vw);
    padding: 0 7.5vw;
    max-width: 1000px; 
    margin: 0 auto;   
}




.hero {
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero .content {
    max-width: 500px;
    width: 100%;
    text-align: center;
}
.hero .content h1 {
    font-size: 50px;
    transform: translateY(-50vh);
}
.hero .content p {
    opacity: 0.9;
    font-size: 16px;
    transform: translateY(-50vh);
}
.hero_part_container {
    overflow: hidden;
}





.services {
    display: flex;
    flex-direction: column;
    gap: 75px;
}
.service {
    background-color: rgb(var(--blue-01));
    padding: 50px 70px;
    width: calc(100% - 140px);
    opacity: 0;
    border-radius: 5px;
    /* position: relative;
    left: -100vw; */
}
.service h2 {
    font-size: 30px;
    margin-bottom: 10px;
}
.service > p {
    opacity: 0.8;
    line-height: 1.5;
    font-size: 16px;
}


/* .benefits_container {
    overflow-x: auto;
    width: 100%;
} */
.benefits {
    display: grid;
    grid-auto-flow: column;
    width: 100%;
    justify-content: left;
    overflow-x: auto;
    gap: 25px;
    margin-top: 30px;
    overflow-y: auto;
    padding-bottom: 10px;
}
.benefits::-webkit-scrollbar {
    height: 10px;
    border-radius: 10000px;
}
.benefits::-webkit-scrollbar-track {
    width: 2px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10000px;

}
.benefits::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.4);
    width: 2px;
    border-radius: 10000px;

}
.benefits::-webkit-scrollbar-thumb:hover {
    background: rgb(var(--beige-02));
}
.benefit {
    width: 400px;
    border: 2px rgb(var(--beige-02)) solid;
    border-radius: 5px;
    background-color: rgba(var(--beige-02), 0.2);
    padding: 15px;
}
.benefit h3 {
    font-size: 20px;
    margin-bottom: 10px;
    font-weight: 500;
    word-break: break-all;
}
.benefit p {
    opacity: 0.8;
    font-size: 14px;
    line-height: 1.5;
}








.cta {
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}
.cta .content {
    max-width: 500px;
    color: black;
}

.cta h2 {
    font-size: 30px;
    line-height: 1.1;
    margin-bottom: 20px;
}
.cta p {
    opacity: 0.8;
    font-size: 16px;
}
.cta button {
    margin-top: 20px;
    font-size: 14px;
    padding: 10px 30px;
    background-color: rgb(var(--beige-02));
}







.footer_links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 20px;
    font-size: 12px;
}




.footer_links a {
    color: black;
}







@media (max-width: 799px) { 
    .body {
        z-index: 3;
    }

    .hero, .services, .cta {
        padding: 0 5vw;
        width: calc(100% - 10vw);
        margin: 0 auto;
    }


    .background1 {
        height: 250vh;
    }
    .background2 {
        width: 80%;
        left: 10%;
    }





    .hero {
        height: 300px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    .hero .content {
        max-width: 500px;
        width: 100%;
        text-align: center;
    }
    .hero .content h1 {
        font-size: 35px;
    }
    .hero .content p {
        opacity: 0.9;
        font-size: 14px;
    }
    
    
    
    
    
    
    .services {
        gap: 50px;
    }
    .service {
        padding: 35px 30px;
        width: calc(100% - 60px);
    }
    .service h2 {
        font-size: 20px;
    }
    .service > p {
        font-size: 14px;
    }
    .benefits {
        width: 100%;
        gap: 25px;
        margin-top: 30px;
        padding-bottom: 10px;
    }
    .benefit {
        padding: 15px;
        width: 200px;
        max-width: calc(90vw - 95px);
    }
    .benefit h3 {
        font-size: 18px;
        margin-bottom: 10px;
    }
    .benefit p {
        font-size: 12px;
    }
    
    
    
    
    
    
    
    
    .cta {
        height: 600px;
    }
    .cta .content {
        max-width: 500px;
    }
    
    .cta h2 {
        font-size: 25px;
        margin-bottom: 20px;
    }
    .cta p {
        opacity: 0.8;
        font-size: 14px;
    }
    .cta button {
        margin-top: 20px;
        font-size: 14px;
        padding: 10px 30px;
        background-color: rgb(var(--beige-02));
    }
    

}













/* Animation */
.hero_part_container h1 {
    animation: vertical_slide_in 1s ease-out forwards;
}
.hero_part_container p {
    animation: vertical_slide_in 1s ease-out 0.2s forwards;
}

.service_container.visible .service{
    animation: appear 1s ease-out forwards;
}