*{
    margin: 0;
    padding: 0;
    font-family: "Poppins" , "sans-serif";
    text-decoration: none;
    border: none;
    box-sizing: border-box;
    transition: all.2s linear;
}
html{
    font-size: 62.5%;
    overflow-x: hidden;
    scroll-padding-top: 7em;
    scroll-behavior: smooth;
}
body{
    position: relative;
}
nav{
    
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    z-index: 20;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8%;
    height: 50px;
    box-shadow: 0 0 10px 0 rgba(0,0,0,0.2) ;
}
nav .logo{
    color: rgb(233, 33, 33);
    font-size: 30px;
    font-weight: 500 ;
}
nav .logo span {
    color:#000;
    font-weight: 500;
    font-size: 30px;
    
}







/*menu responsive 2 */






nav menu-button {
    display: none;
    position: absolute;
    right: 25px;    
}
nav{
    display: flex;
}
nav ul{
    list-style: none;
    display: flex;
    align-items: center;

}
nav ul a {
    font-size: 14px;
    color: #000;
    font-weight: 300px;
    transition: 0.2s;
    padding: 0 15px;
    text-decoration: none;

    
}
nav ul a:hover {
    color:rgb(233, 33, 33);
}

.menu-button{
    display:none;
}


 
@media (max-width:840px) {
  #home h1 {
    margin-top: 100px ;
  }
  #home p {
    margin: 10px;
  }
   
}  

@media (max-width:679px) {
     
    #home h1{
        margin-top: 135px;
    }
    #home p {
        margin: auto;
    }

    nav ul{
        position: absolute;
        top: 50px;
        width: 100%;
        height: 50px;
        left: 0;
        z-index: 2;
        align-items:center;
        background-color: #fff;
        overflow: hidden;
        justify-content: center;
        border-top: 1px solid #e7e7e7;
        transition: 1s;
        

    }
   
    nav ul li {
        padding: 8px;
    
    }

    .menu-button {
        display: block;
    }



    #menulist{
        transition: all 0.2s;
    }

}





/*#home*/






#home {

    margin-top: 60px;
    margin-bottom: 50px;
    height: calc(65vh - 50px);
    padding: 0 8%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;

}


html::-webkit-scrollbar {
    width: 5px;
    background-color:transparent;
}
::-webkit-scrollbar-thumb {
    background-color:rgb(233, 33, 33) ;
}

#home .left {
width:50%;
}
#home .left h1 {
    font-weight: 700;
    margin-bottom: 10px;
}
#home .left h1 span {
    color: rgb(233, 33, 33) ;
}
#home .left span {
    color: rgb(233, 33, 33) ;
}
#home .left p {
    margin-bottom: 50px;
    font-weight: 500;
    font-size: 16px;
    color: #443d3d;
    text-align: justify;

}



#home .right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#home .right img {
    width: 80%;
}





/*#Secteurs*/





#Secteurs {
    display:flex ;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 50px;
    margin-bottom: 100px;
    
    
   
}

#Secteurs .container {
    background-color: #e7e7e7;
}

#Secteurs h2{
    font-weight: 700;
  
}

#Secteurs p {
    font-weight: 500;
    font-size:15px ;
    align-items: center;
    padding: 5%;
    justify-content: center;
    text-align: justify;
    
}
.section_title {
    text-transform: uppercase;
    position: relative;
    font-size: 20px;
    padding: 2px;

}
.section_title:before {
    position: absolute;
    left: 50px;
    bottom: 0;
    background-color: rgb(233, 33, 33);
    width: 100px;
    height: 4px;
    content: "";
    border-radius: 6px;

}
.section_title:after {
    position: absolute;
    right: 50px;
    top: 0;
    background-color: rgb(233, 33, 33);
    width: 100px;
    height: 4px;
    content: "";
    border-radius: 6px;

}
.Secteurs .row p {
    text-align: justify;

}

#Secteurs .row{
  display: flex;
  align-items: center;
  justify-content: center;
  
} 

#Secteurs .row img {
 max-width: 150px;
 margin: 50px;
 
}






/*#Product*/






#Product {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: column;
    background-image: url(img/28314.jpg);
}
.list_produits {
    margin: 100px 0;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    
}
.produits {
    width: 25%;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: column;
    box-shadow: 0 0 10px rgb(0,0,0,0.3);
    padding: 20px;
    margin:20px ;

}

/**/

.produits i {
    font-size: 25px;
    height: 50px;
    width: 50px;
    display: flex ;
    align-items: center;
    justify-content: center;
    background-color: rgb(233, 33, 33) ;
    color: #fff;
    border-radius: 50%;
    margin-bottom: 10px;
}

.produits h3 {
    font-weight: 700;
}
.produits p {
    font-weight: 500;
    font-size: 16px;
    
}
.produits a {
    margin-top: 10px;
    color: rgb(233, 33, 33) ;
    padding: 5px 20px ;
    text-decoration: none;
}

.produits  .btn a:hover  {
    color:#fff ;
    
}






/*#contact*/





#Contact {
  
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  text-align: center;
  
  
}
.localisation_contact {
    display: flex;
    align-items: center;
    justify-content: space-around;
    width: 100%;
    margin: 100px 0;
    height: 80vh;
    
}
.localisation {
width: 45%;
padding: 15px;
border-radius: 15px;
box-shadow: 0 0 10px rgba(0,0,0,0.2);
}
.localisation iframe {
    width: 100%;
    border-radius: 6px;
}




/*forms*/




.localisation_contact .form_contact{
    width: 45%;
    height: 100%;
    box-shadow:0 0 10px rgba(0,0,0,0.2) ;
    padding: 15px;
    border-radius: 15px;
}
.localisation_contact h3 {
    margin-bottom: 10px;
    font-size: 18px;
}
.localisation_contact .form_contact form {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width:  100%;
   
}



.form_contact form input , textarea{
    border: 1px solid #727171; 
    margin-bottom: 25px;
    width: 100%;
    padding: 5px;
    outline: 0;
    border-radius: 6px;
    font-size: 15px;
    resize: none;
   
}

.error {
    color: rgb(250, 1, 1);
    font-size: 13px;
    margin-top: -1.3em; /* Adjust this value based on the height of your input fields */
    display: block;

}



form input,
form textarea {
    width: 100%;
    padding: 0.5em;
    margin-top: 5px;
    box-sizing: border-box;
    margin-bottom: 2em; /* Adjust this value to provide enough space for the error message */
}





footer{
    background-color:rgb(233, 33, 33) ;
    text-align: center;
    padding: 5px 0;
    color: #fff;
    font-size: 12px;
}

/*
.menu_responsive {
    display: none;
}
*/

/*responsive*/


@media (max-width:610px) {
    nav{
        padding: 0 10px;
    }
 
    #home{
        padding: 0 10px;
        justify-content: center;
        flex-direction: column;
    }
    #home .left , #home .right {
        width: 100%;
    }
    .right {
        margin-top:auto;
        width: 60%;
    }
    .left {
       margin-top: 150px;
    }
     #Secteurs h1 {
        margin-top: 250px;
    } 
    #Product {
        padding: 0 10px;
    }
    .produits {
        width: 100%;
    }
    #Contact {
        height: auto;
    }
    .localisation_contact{
       flex-direction: column;
       height: auto;
       width: 100%;
    }
    .localisation{
        margin-bottom: 30px;
    }
    .localisation_contact.form_contact {
        word-wrap: 100%;
        
    }
    .localisation_contact.form_contact form {
        word-wrap: 100%;
        
    }
    
}

/* responsive a 430px */









