*{
    padding: 0;
    margin: 0;
    box-sizing: border-box;
}


ul{
    list-style: none;

}

a{
    text-decoration: none;
}

button{
    outline: none;
    border: none;
}

section{
    padding: 50px 100px;
}

.section-heading{
    text-align: center;
    margin: 3rem 0px;
}

.section-heading h2{
    font-size: clamp(35px,5vw,50px);
}
.section-heading span{
    color: rgb(244, 92, 54);
    font-weight: 500;
    font-size: clamp(16px,5vw,20px);
}

html{
        scroll-behavior: smooth;
}

body{
    background: #fff;

    position: relative;

}

.navbar{
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
z-index: 1000;
background:#fff;
    
}

/* ce style sera affecte dynamiquement au navbar quand l'utlisateur scrollera la page */

.navbar.active{
    box-shadow: 0px 5px 5px rgba(0, 0, 0, 0.2);
}

/* ############################ */

.navbar .links{
    display: flex;
    gap: 0px;
    list-style: none;
}

.navbar .links a{
    position: relative;
    color: #060606;
    font-size: 1.1rem;
    text-transform: capitalize;
    padding:5px 30px;
}

.navbar .links a::before,.navbar .links a::after{
    content: '';
    position: absolute;
    width: 0%;
    height: 2px;
    background: rgb(244, 92, 54);
        /* background: rgb(189, 56, 22); */
        left: 0;
        transition: width 0.3s linear;
}

.navbar .links a::before{
    bottom: -4px;
}

.navbar .links a::after{
    top: -4px;
}
.navbar .links a:hover::before,.navbar .links a:hover::after,.navbar .links a.actif::before,.navbar .links a.actif::after {
    width: 100%;
}


.menu{
    display: none;
}
.menu i{
    font-size: 1.6rem;
    z-index: 1000;
    cursor: pointer;
    color: #060606;
    
}

.menu i:hover{
    color: rgb(244, 92, 54); 
}

.inscrip{
    padding: 10px 12px;
    font-weight: 500;
    background: rgb(244, 92, 54);
    border-radius: 7px;
    color: #fff;
    transition: 0.2s ease-in-out;
    cursor: pointer;
}

.inscrip:hover{
     background: rgb(189, 56, 22);
}




/* ################################## */

/* section home */

 .home{
    width: 100%;
    min-height: 100vh;
    background: url('bg-home.jpg') center / cover no-repeat black;
    display: flex;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
   
}


.home-header h1{
    font-size:clamp(30px,5vw,80px);
    letter-spacing: 5px;
    color: white;
    font-weight: bold;
}

.home-header h1 span{
    color: rgb(244, 92, 54) ;
}


.home-header p{
    color: white;
    font-size: clamp(16px,5vw,20px);
}


.appstore img{
    width: 150px;
    cursor: pointer;
}

.form form{
    background: white;
    border-radius: 7px;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
   position: absolute;
   color: #060606;
   gap: 15px;
}

form .inputBox{
    display: flex;
    flex-direction: column;
    gap: 10px;
}


form input[type='submit']{
    background:  rgb(244, 92, 54);
    font-size: 1rem;
    padding: 10px 30px;
    border-radius: 5px;
    color: white;
    text-transform: capitalize;
    outline: none;
    border: none;
    cursor: pointer;
}


form input[type='date'],
input[type='search']{
    outline: none;
    border: none;
    height: 40px;
    border-radius: 5px;
    background: #e2e2e2;
    font-size: 1rem;
    padding-left: 2px;
    width: 100%;
}

form span{
    color: #060606;
    text-transform: capitalize;
    font-size: 1.1rem;
}
form input[type='submit']:hover{
    background:rgb(189, 56, 22);
}

/* ####################################### */



/* ######################################## */

 .voiture .voitures-body{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,auto));
    gap: 20px;
    align-items:center;



}

.voiture .voitures-body .box{
    text-align: center;
    padding: 25px;
    position: relative;
    transition: 0.3s ease-in-out;
    background: #fff;
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
}


.voiture .voitures-body .box::after,.voiture .voitures-body .box::before{
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgb(244, 92, 54);
    z-index: -1;
    transition:  width 0.3s ease-in-out , height 0.3s ease-in-out;

}


.voiture .voitures-body .box::after{
    bottom: -0.2rem;
    right: -0.2rem;
}

.voiture .voitures-body .box::before{
    top: -0.2rem;
    left: -0.2rem;
}

.voiture .voitures-body .box:hover{
    background: #cdcbcb;

}

.voiture .voitures-body .box i:hover{
    background: rgb(244, 92, 54);
}


.voiture .voitures-body .box:hover::after,.voiture .voitures-body .box:hover::before{
    width: 100%;
    height: 100%;
}



.voitures-body .box:hover::before{
    background: rgb(244, 92, 54);
}


.voitures-body i{
font-size: 1.2rem;
color: gray;

}



/* ######################################## */


/* ##############################3 */

/* services */

.services-body{
    max-width: 960px;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,auto));
    gap: 1rem;
    margin: 0 auto;
    margin-top: 2rem;
}


.services-body .box{
    padding: 20px;
    border-radius: 7px;
    box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.2);

}

.services-body .box .box-img{
    width: 100%;
    height: 200px;
}

 .services-body .box .box-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border-radius: 7px;
}

 .services-body .box p{
    background: rgb(244, 92, 54);
    border-radius: 7px;
    color: #fff;
    padding: 0 10px;
    margin: .3rem 0;
    width: 58px;
    

}
.services-body .box h4{
    text-transform: uppercase;
    padding: 10px 0 ;
    font-weight: 600;
}

 .services-body .box h5{
font-weight: bold;
color: rgb(244, 92, 54);
font-size: 1.1rem;
}

 .services-body .box h5 span{

    font-weight: 500;
    font-size:16px;
}

 .services-body .box .btn{
    background: rgb(244, 92, 54);
    display: block;
    padding: 10px 30px;
    border-radius: 7px;
    text-align: center;
    color: white;
    text-transform: capitalize;
    font-size: 1.1rem;
}

.box .btn:hover{
    background: rgb(189, 56, 22);
}
/* ########################## */









/* #############################3 */
/* a propos */

.propos-body{
    display: grid;
    grid-template-columns: repeat(2,1fr);
    gap: 2rem;
    align-items: center;
}
 .propos-img img{
    width: 100%;
}


.propos-txt{
    display: flex;
    flex-direction: column;
    gap: 15px;
}


.propos-txt span{
    color: rgb(244, 92, 54);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 1rem;
}


.propos-txt p{
    font-size: 1.1rem;
    color: #060606;
    
}
.propos-txt a{
    background: rgb(244, 92, 54);
    padding: 10px 30px;
    color:white;
    font-size: 1.2rem;
    border-radius: 7px;
    display: block;
    text-align: center;
    
}

.propos-txt a:hover{
    background: rgb(189, 56, 22);
}
/* ############################### */



/* ########################### */
/* avis */

.avis-body{
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,auto));
    gap: 2rem;
    
     text-align: center;

}

.avis-body .boxe{
     box-shadow: 1px 5px 5px rgba(0, 0, 0, 0.2);
     padding: 20px;
     text-align: center;
     border-bottom: 2px solid rgb(244, 92, 54);
  
}

.avis-body .boxe:hover{
    background: #e2e2e2;
}

.boxe .boxe-img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    text-align: center;
    overflow: hidden;
}

.boxe-img img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;


}
.boxe h3{
    text-transform: capitalize;
    font-weight: 600;

}

.boxe p{
    font-size: 1rem;
}
/* ######################### */



/* #################################00 */

/* subscribe */

.subscribe{
    background:#cc421f;
}

.subscribe-content{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.subscribe-content h2{
    color: white;
}

.subscribe-content .subs{
    display: flex;
    padding:10px 30px;
    justify-content: space-between;
    background: #fff;
    border-radius: 7px;
    gap: 25px;

}

.subscribe-content .subs a{
    background: rgb(244, 92, 54);
    color: #fff;
    text-transform: capitalize;
    padding: 8px;
    font-size: 1rem;
    border-radius: 7px;
}
.subscribe-content .subs a:hover{
    background: rgb(189, 56, 22);
}
.subscribe-content .subs input{
    padding: 0.5rem;
    outline: none;
    border: none;

}
/* ############################ */




/* ########################3 */

/* footer */

footer{
    background: #060606;
    display: grid;
    grid-template-columns: repeat(auto-fit,minmax(240px,auto));
    gap: 2rem;
    padding:50px  20px;
    color: #fff;

}

.footer-box  .lien ul{
    list-style: none;

}


.footer-box  .icones-sociaux {
    display: flex;
    justify-content: start;
    gap: 15px;
   


}

.footer-box  .icones-sociaux .ic {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 20px;
    height: 20px;
    background: rgb(244, 92, 54);
    border-radius:50%;
    padding: 15px;
    cursor: pointer;
    
}
.footer-box  .icones-sociaux .ic:hover{
    background: rgb(189, 56, 22);
}

.footer-box  .icones-sociaux i{
    color: white;
    font-size: .8rem;
    
    
    

}

.footer-box h2{
    margin-bottom: 10px;
    text-transform: capitalize;
}


.footer-box ul li a{
    color: rgb(244, 92, 54);
    font-size: 1rem;
    text-transform: capitalize;
    font-weight: 600;

}

.footer-box ul li a:hover{
    color: rgb(189, 56, 22);
}

.footer-box img{
    width: 50px;
}

.copy{
    padding: 50px 20px;
    text-align: center;

}

/* ########################## */













@media screen and (max-width:850px) {
    .propos-body{
        display: grid;
        grid-template-columns: 1fr;
        text-align: center;
    }
    
     .propos-img img{
        order: 2;
        padding: 1rem;
     }
}

@media screen and (max-width:820px) {

    .home{

    background-position: right;
    align-items: center;   
         
    
    
}



.home-header h1{
    font-size:clamp(30px,5vw,80px);
    letter-spacing: 5px;
    color: white;
    font-weight: bold;
    width: 100%;

}

.home-header h1 span{
    color: rgb(244, 92, 54) ;
}


.home-header p{
    color: white;
    font-size: clamp(16px,5vw,20px);
}



   .form form{
        position: static;      
        padding: 20px;
        margin: 0 auto;     
        transform: none;
        left: auto;
        width: 90%;           
        max-width: 900px;
    }


.appstore img{
    width: 100px;
    cursor: pointer;
}


    .navbar .links{
        position: fixed;
        top: 70px;
        right: -100%;
        width: 50%;
        height: 100vh;
        background: #fff;
        flex-direction: column;
        padding:20px 20px;
        gap: 20px;
        box-shadow: 2px 0px 5px rgba(0, 0, 0, 0.2);
        transition: right 0.5s linear;
    }
    
    .navbar .links a{
        display: block;
    }
    .navbar .links.active{
    right: 0;
            transition: right 0.5s linear;
    }
    
    .menu{
        display: block;
    }
    
}


@media screen and (max-width:586px)
{
    .home{
        align-items: center;
        text-align: center;
        padding: 60px 12px;
    }

    .home-header{
        width: 100%;
        padding: 0 12px;      
        box-sizing: border-box;
    }

    .home-header h1,
    .home-header p{
        width: 100%;
        max-width: none;
        margin: 0 auto;
        padding: 0 6px;        
    }

}