/* --------- GOOGLE FONTS ----------*/
@import url('https://fonts.googleapis.com/css2?family=DM+Sans:ital,opsz,wght@0,9..40,100..1000;1,9..40,100..1000&display=swap');

/* --------- VARIABLES ----------*/

:root{

    /* --------- COLORS ----------*/

    --black: #201E1F;
    --black-45: rgba(32, 30, 31, .45);
    --black-70: rgba(32, 30, 31, .7);
    --dark-blue: #043C5C;
    --dark-blue-50:rgba(4, 60, 92, 0.5);
    --dark-blue-25:rgba(4, 60, 92, 0.25);
    --lightblue: #01AEF2;
    --lightblue-50:rgba(1, 174, 242, 0.5);
    --lightblue-35: rgba(1,174,242,.35);
    --lightblue-10: rgba(1, 174, 242, 0.1);
    --white: #FEFEFE;
    --white-85: rgba(254, 254, 254, .85);
    --white-50: rgba(254, 254, 254, .5);
    --white-35: rgba(254, 254, 254, .35);
    --white-10: rgba(254, 254, 254, .1);
    --grey: #858688;

    /* --------- FONTS ----------*/

    --ff-DMSans: "DM Sans", sans-serif;


}



/* --------- RESETS ----------*/
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html{
    scroll-behavior: smooth;
}

body{
    scroll-behavior: smooth;
}

a {
    color: inherit;
    text-decoration: none;
}

li{
    list-style: none;
}

/* --------- HOME SECTION ----------*/

.home_container {
    width: 100%;
    height: 100vh; 
    background-image: url('./images/about_img.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}


/* ------------- HEADER & NAVIGATION -------------- */
.home_header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 6.25rem;
    padding: 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: .03125rem solid var(--white-10);
    z-index: 1;
}

.header_scrolled {
    background-color: var(--black);
    transition: background-color .3s ease;
}

.header_nav{
    display: none;
}

.header_logo {
    width: 6.25rem;
    height: 6.25rem;
}

.nav_link{
    color: var(--white);
    font-family: var(--ff-DMSans);
    text-transform: capitalize; 
    font-size: 1.125rem;
    margin-right: 1.5rem;
    height: 100%;
}

.nav_link:hover{
    color: var(--lightblue);
    transition: color .3s ease;
}

.nav_btn { 
    width: 9rem;
    font-size: 1rem;
    cursor: pointer;
    font-weight: bold;
}

.btn_cta {
    font-family: var(--ff-DMSans);
    text-transform: capitalize;
    padding: 1rem 2rem;  
    border-radius: .75rem;
    background-color: var(--lightblue);
    color: var(--white);
    border: none;
}

.btn_cta:hover{
    transition: all .3s ease;
    background-color: var(--dark-blue);
    color: var(--white);
}

/* --------- MOBILE MENU ----------*/

.mobile_menu_container {
    position: fixed;
    top: 0;
    right: 0;
    bottom:0;
    display: flex; 
    flex-direction: column;
    justify-content: start;
    align-items: center;
    gap: 4rem;
    width: 18.75rem;
    padding: 12.5rem 1rem;
    background-color: var(--black);
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    z-index: 2;
}


.open-menu{
    transform: translateX(0%);
    visibility: visible;
    opacity: 1;
    transition: all .3s ease;
    box-shadow: -6.25rem 0rem 6.25rem 6.25rem var(--black-45);
    
}

.close-menu {
    transform: translateX(100%);
    visibility: hidden;
    opacity: 0;
    transition: all .3s ease-out;
    
}
.fa-bars{
    color: var(--white);
}

.fa-times {
    position: absolute;
    top: 0;
    right: 0;
    margin: 2rem 1rem;
    color: var(--white);
}

.mobile_menu_link{
    color: inherit;
    font-family: var(--ff-DMSans);
    text-transform: capitalize;
    font-size: 1.5rem;
    color: var(--white);
}

.mobile_menu_btn {
    font-size: 1.5rem;
}




/* --------- HERO SECTION ----------*/

.hero_bg{
    width: 100%;
    height: 100%;
    padding: 6.25rem 1rem;
    background: linear-gradient(to bottom, var(--black) 0%, var(--lightblue-10)  50%, var(--dark-blue) 100%);
    
}

.hero_content {
    width: 100%;
    height: 100%;
    color: var(--white);
    font-family: var(--ff-DMSans);
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    float: left;
}

.hero_title{
    text-align: center;
    max-width: 37.5rem;
    font-size: 2.125rem;
    font-weight: 300;
}

.hero_subtitle{
    font-size: 1.125rem;
}
/*
.hero_form {
    width: 100%;
    display:flex;
    flex-direction: column;
    gap: 1rem;
}

.hero_form_input {
    padding: 1rem;
    height: 2.8125rem;
    border: none;
    border-radius: 12px;
    font-family: var(--ff-inter);
    font-weight: 500;
}

.hero_form_input::placeholder{
    color: var(--grey);
    font-family: var(--ff-inter);
    font-size: 1rem;
}

.hero_form_msj{
    padding: 1rem;
    height: 9.375rem;
}


.hero_form_btn {
    height: 4.6875rem;
    font-size: 1.5rem;
    background: var(--lightblue);
}

.hero_form_btn a{
    color: var(--white);
    text-transform: capitalize;
    font-weight: 700;
}

.hero_form_btn:hover{
    background: var(--dark-blue);
    transition: background 300ms ease-in-out;
}*/

/* --------- WHATSAPP AND ARROW BUTTONS ----------*/

#whatsapp {
    width: 4rem;
    height: 4rem;
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 10;
}

#whatsapp img {
    width: 100%;
    height: 100%;
}

#goUp {
    width: 4rem;
    height: 4rem;
    position: fixed;
    bottom: 4rem;
    right: 2rem;
    margin-bottom: 2rem;
    cursor: pointer;
    z-index: 10;
}

#goUp img {
    width: 100%;
    height: 100%;
    color: var(--dark-blue);
}

#goUp img:hover {
    color: var(--lightblue);
    transition: all .3s ease;
}

.hidden {
    opacity: 0;
    visibility: hidden;
}

/* --------- ABOUT SECTION ----------*/

.about_container{
    width: 100%;    
    height: 50rem;
    background: url('./images/hero_img.webp');
    background-repeat: no-repeat;
    background-position: center ;
    background-size: cover;
}

.about_content{
    padding: 6.25rem 1rem;
    width: 100%;
    /*background: linear-gradient(to right bottom,  var(--white) 25%, var(--white-50) 100%);*/
    gap: 2rem;
}

.about_text{
    padding: 2rem 1rem;
    border: 1px solid var(--grey);
    background-color: var(--white-85);
    width: 100%;
    height: 100%;
    text-align: center;
    border-radius: .75rem;  
}

.about_title{
    width: 100%;
    font-family: var(--ff-DMSans);
    text-transform: uppercase;
    font-size: 2rem;
    color: var(--grey);
    margin-bottom: 1.5rem
}

.about_description{    
    font-family: var(--ff-DMSans);
    color: var(--black);
}

.about_img {
    padding: 0 .5rem;
    width: 22.75rem;
    height: 22.75rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.about_img img{
    width: 100%;
    height: 100%;

    border-radius: .75rem;
    object-fit: fill;
}


/* --------- SERVICES SECTION ----------*/

.services_container{
    padding: 6.25rem 1rem;
    width: 100%;
    height: 100%;
    background-color: var(--dark-blue);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    gap: 3rem;
}

.services_content{
    font-family: var(--ff-DMSans);
    color: var(--black);
}

.services_title{
    color: var(--white);
    font-size: 2rem;
    margin-bottom: .5rem;
    text-transform: uppercase;
    font-weight: bold;
}

.services_subtitle{
    font-size: 1.5rem;
    color:var(--white);
}

.services_boxes{
    width: 100%;
    height: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.services_box {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: var(--white);
    max-width: 22.125rem;
    height: 27.5rem;
    border-radius: .75rem;
}



.services_box_img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    overflow: hidden;
}

.services_box_img img {
    width: 100%;
    height: 100%;
    border-radius: .75rem .75rem 0 0;
}


.services_box_info {
    width: 100%;
    padding:1.875rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: left;
    gap: .5rem;
    font-family: var(--ff-DMSans);
}

.services_box_title{
    width: 100%;
    color: var(--dark-blue);
    font-size: 1.25rem;
}

.services_box_description{
    width: 100%;
    font-size: .875rem;
    font-weight: 300;
}

/* --------- CLIENTS SECTION ----------*/

.clients_container{
    padding: 2rem 1rem ;
    width: 100%;
    height: 21.875rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.clients_text {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1rem;
}

.clients_title {
    color: var(--dark-blue);
    font-family: var(--ff-DMSans);
    font-size: 2rem;
    text-align: center;
    text-transform:uppercase;
}

.clients_btn {
    width: 10.875rem;
    font-size: 1.125rem;
    font-weight:500;

}


.clients_carrousel {
    width: 100%;
    height: 100%;
}


.clients_carrousel_wrapper{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    
}


.clients_carrousel img {
    width: 4.6875rem;
    filter: contrast(0%);
}

.clients_carrousel[data-animated="true"] {
    overflow: hidden;
    mask: linear-gradient(90deg, transparent, var(--white) 10%, var(--white) 90%, transparent);
}

.clients_carrousel[data-animated="true"] .clients_carrousel_wrapper {
    width: fit-content;
    block-size: fit-content;
    flex-wrap: nowrap;
    animation: scroll 30s linear infinite;
}

@keyframes scroll {
    to {
        transform: translate(calc(-50% - 2rem)) ;
    }
}

/* --------- GALLERY SECTION ----------*/

.gallery_container{
    background-image: url('./images/gallery-bg.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    padding: 6.25rem 1rem;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    gap: 2rem;
    justify-content: center;
    align-items: center;
}

.gallery_title{
    font-family: var(--ff-DMSans);
    color: var(--grey);
    font-size: 1.5rem;
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 2rem;
}

.gallery_boxes{
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.gallery_boxes > * {
    flex: 1 1 100%;
}

.gallery_box{
    background-color: var(--white);
    width: 100%;
    height: 400px;
    border: 2px solid var(--grey);
    border-radius: .75rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: rgba(0, 0, 0, 0.3) .125rem .125rem .163rem;
}

.gallery_box_content {
    display: flex;
    flex-direction: column;
    justify-content: start;
    align-items:start;
    width: 100%;
    height: 100%;
    /*background: linear-gradient(transparent 0% , var(--black-70) 90%);*/
    font-size: 1rem;
    padding: 1rem;
    font-family: var(--ff-DMSans);
    border-radius: .75rem;
}

.gallery_box_content h3 {
    color: var(--black);
}

.gallery_box_content p {
    color: var(--grey);
}


.box-1 {
    background-image: url('./images/camio4-01.png');
    background-repeat: no-repeat;
    background-position: bottom;
    background-size: contain;
}

.box-2 {
    background-image: url('./images/bus-2.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.box-3 {
    background-image: url('./images/camio3-01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.box-4 {
    background-image: url('./images/camio1-01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.box-5 {
    background-image: url('./images/camio5-01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

.box-6 {
    background-image: url('./images/camio2-01.png');
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/* --------- CONTACT SECTION ----------*/

.contact_section{
    padding: 6.25rem 1rem;
    width: 100%;
    height: 100%;
    display: flex; 
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.contact_content {
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.contact_banner {
    display:flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100px;
    background: linear-gradient(135deg, var(--dark-blue) 0%, transparent 100%), url('./images/calltoaction.webp');
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.contact_title {   
    font-size: 2rem;
    font-family: var(--ff-DMSans);
    color: var(--white);
    text-align: center;
    text-transform: uppercase;
}

.contact_info{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.contact_item{
    width: 100%;
    color: var(--grey);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
}

.contact_item_title{
    font-size: 1.25rem;
    font-family: var(--ff-DMSans);
}

.contact_item_description {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: start;
    gap: .25rem;
}

.contact_item_description a {
    font-size: 1rem;
    font-family: var(--ff-DMSans);
    text-decoration: underline;
    cursor: pointer;
    text-align: center;
}


.phone-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    --svg: url("/images/phone.svg");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.map-icon {
    display: inline-block;
    width: 1.5rem;
    height: 1.5rem;
    --svg: url("/images/map.svg");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.facebook-icon {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    --svg: url("/images/facebook.svg");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.instagram-icon {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    --svg: url("/images/instagram.svg");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.linkedin-icon {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    --svg: url("/images/linkedin.svg");
    background-color: currentColor;
    -webkit-mask-image: var(--svg);
    mask-image: var(--svg);
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
}

.contact_item_social {
    display: flex;
    flex-direction: row;
    gap: 1rem;
}

.contact_item_social a .linkedin-icon:hover {
    background: #0e76a8;
    transition: all .3s ease-in;
}
.contact_item_social a .instagram-icon:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    transition: all .3s ease-in;
}

.contact_item_social a .facebook-icon:hover {
    background: #3b559b;
    transition: all .3s ease-in;
}
.contact_form {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2rem;
}

.contact_form_title {
    color: var(--white);
    font-family: var(--ff-DMSans);
    text-transform: capitalize;
    font-size: 1.375rem;
}

.contact_form_input {
    width: 100%;
    height: 3.125rem;
    border: 1px solid var(--grey);
    border-radius: .75rem;
    background-color: var(--dark-blue-50);  
    padding: .5rem;
    color: var(--white);
    font-size: 1rem;  
}


.contact_form_input:focus{
    background-color: none;
    transition: background-color .3s ease;
}


.contact_form_input::placeholder{
    color: var(--white);
    font-family: var(--ff-DMSans);

}

.contact_form_msj{
    resize: none;
    height: 13.125rem;
    font-family: var(--ff-DMSans);
}

.contact_form_msj::placeholder{
    text-transform: capitalize;
}

.contact_form_btn {
    font-size: 1.125rem;
    cursor: pointer;
    width: 10.25rem;
}

/* --------- FOOTER SECTION ----------*/

.footer_section {
    width: 100%;
    height: 6.25rem;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: var(--black);
}

.footer_content{
    color: var(--white);
    font-family: var(--ff-DMSans);
    font-size: 1rem;
}


/* --------- MEDIA QUERIES ----------*/

@media screen and (min-width: 400px) {
    .hero_title {
        font-size: 2.25rem;
    }    
}


@media screen and (min-width: 768px) {
    
    .hero_title {
        font-size: 3rem;
    }

    .gallery_boxes > * {
        flex: 1 1 33%;
    }

    .contact_form_input,
    .contact_form_msj {
        width: 70%;
    }

}

@media screen and (min-width: 1280px) {
    .home_header {
        padding: 1rem 4.375rem;
    }
    
    .header_nav{
        display: block;
    }

    .fa-bars{
        display: none;
    }

    .mobile_menu_container{
        width: 18.75rem;
    }

    .hero_bg{
        padding: 0 4.375rem;
    }   

    .hero_content {
        width: 100%;
        height: 100%;
        justify-content: start;
    }

    .hero_title{
        text-align: left;
    }

    .hero_title span{
        font-size: 1.75rem;
    }


    .about_content{
        padding: 6.25rem 4.375rem;
        flex-direction: row;
        justify-content: center;
        align-items: center;
    }

    .about_text{
        width: 37.5rem;
    }
    

    .about_title{
        font-size: 3rem;
        text-align: left;
    }
    
    .about_description {
        text-align: left;
    }

    .services_container {
        padding: 6.25rem 4.375rem;
    }

    .services_boxes {
        gap: 1rem;
        justify-content: center;
    }

    .clients_carrousel[data-animated="true"] {
        overflow: hidden;
        mask: linear-gradient(90deg, transparent, var(--white) 20%, var(--white) 80%, transparent);
    }
    
    .gallery_container{
        padding: 6.25rem 4.375rem;
        align-items: center;
    }

    .gallery_title {
        width: 700px;
        text-align: center;
        font-size: 2rem;
    }

    .gallery_boxes > * {
        flex: 1 1 30%;
    }

    .gallery_box {
        width: 150px;
        height: 400px;
    }

    .contact_form_input,
    .contact_form_msj {
        width: 100%;
    }

    .contact_section {
        padding: 6.25rem 4.375rem;
        align-items: center;
    }
    
    .contact_content{
        flex-direction: row;
    }

    .contact_item {
        text-align: left;
        justify-content: center;
        align-items: start;
    }

    .footer_content {
        font-size: 1.125rem;
    }

}

@media screen and (min-width: 1920px) {
    .home_header{
        padding: 1rem 24.375rem;
    }

    .header_scrolled {
        padding: .25rem 24.375rem;
    }


    .hero_content {
        padding: 6.25rem 24.375rem;
    }

    .hero_title {
        font-size: 3.25rem;
    }

    .about_content{
        padding: 6.25rem 25.375rem;
    }


    .about_text {
        align-items: start;
    }

    .about_title {
        font-size: 2.75rem;
    }

    .about_description {
        letter-spacing: 0;
        font-size: 1.125rem;
        font-weight: 300;
    }

    .about_img{
        width: 45%;
    }

    .services_container{
        padding: 6.25rem 24.375rem;
    }

    .services_boxes {
        justify-content: center;
        flex-wrap: nowrap;
        gap: 3rem;
    }

    .clients_carrousel[data-animated="true"] {
        overflow: hidden;
        mask: linear-gradient(90deg, transparent, var(--white) 50%, var(--white) 50%, transparent);
    }
    .gallery_container {
        padding: 6.25rem 24.375rem;
    }

    .contact_section {
        padding: 1rem 24.375rem 6.25rem 24.375rem;
    }

   
}