@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;500;700&display=swap');
*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif; 
}
section {
    margin-top: 50px;
}
body {
    position: relative;
    background-color:rgb(0,0,0);
    
}
html {
    scroll-behavior: smooth;
    font-size: 62.5%;
}
header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 50px;
    padding: 0 10%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: rgba(0 0 0 /0.9);
    box-shadow: 0 0 10px rgba(96,47,1,0.2);
    z-index: 10;
}
.menu {
    display: flex;
}
.titre {
    color: #F57702;
    font-weight: 700;
    font-size: 25px;
}

.menu li {
   margin: 0 15px;
   list-style: none;
}
.menu li a {
    font-size: 14px;
    text-decoration: none;
    color: #F57702;
    position: relative;
}
.menu li a::before {
    position: absolute;
    top: -5px;
    left: 0;
    content: "";
    width: 0;
    height: 2px;
    border-radius: 6px;
    background-color: #F57702;
    transition: 0.5s;
}
.menu li a:hover::before {
    width: 100%;
}
.menu li a::after {
    position: absolute;
    bottom: -5px;
    right: 0;
    content: "";
    width: 0;
    height: 2px;
    border-radius: 6px;
    background-color: #F57702;
    transition: 0.5s;
}
.menu li a:hover::after {
    width: 100%;
}
.menu li a:hover {
    color: #FFF;
}

/* home CSS */
#home {
    margin-top: 50px;
    display: flex;
    align-items: center;
    margin-left: 10%;
    margin-right: 10%;
    height: calc(100vh - 50px);
    justify-content: space-between;
}
#home .left {
    width: 40%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#home .left h4 {
    font-size: 40px;
    color: #F57702;
}
#home .left h1 {
    font-size: 40px;
}
#home .left p {
    font-size: 20px;
    color: #999;
}
#home .right {
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: xcenter;
}
#home .right img {
    width: 100%;
    animation: animate 2s linear;
    transition: 0.5s;
}

/* animation image */

@keyframes animate {
    0%{opacity: 0;}
    100%{opacity: 1;}
}

/* Service CSS */

#prestation {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(0,0,0,0.05);
    padding: 50px 10px;
}
.mini_title {
    margin-top: 25px;
    font-size: 16px;
    color: #F57702;
    text-transform: capitalize;
}
.title {
    font-size: 20px;
    text-transform: uppercase;
    color: #F57702;
    margin-bottom: 25px;
    text-align: center;
}

#ML .text_ML h2 {
    font-size: 15px;
    text-transform: uppercase;
    color: #F57702;
    margin-top: 20px;
    margin-left: 125px;
}

#ML .text_ML p {
	font-size: 12.5px;
	color: #999;
    margin-left: 125px;
    margin-right: 125PX;
}

#ML .text_ML p a{
	color: #999;
	text-decoration:none;
}

#ML .text_ML p a:hover {
    color: #f9e79f;
}

.mecanique {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    justify-content: space-around;
}
.mecanique .meca {
    height: 280px;
    width: 40%;
    background-color: #000;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 6px;
    margin-bottom: 35px;
    transition: 0.5s;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}
.mecanique .meca  img {
    width: 100%;
    height: auto;
}
.mecanique .meca p {
    text-align: center;
    margin-top: 15px;
    font-size: 18px;
    color: #999;
}
.text_serv {
	width: 80%;
	height: 100%;
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.text_serv p {
	margin-top: 35px;
	text-align: center;
	font-size: 20px;
	color: #999;
}


/*Scrollbar CSS*/
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-thumb {
    background-color: #F57702;
}

/* contact CSS*/

/*#contact{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    background-color: rgba(0,0,0,0.05);
    padding: 50px 10px;
}

.information {
    display: flex;
    flex-wrap: wrap;
    width: 80%;
    justify-content: space-around;
}

.information .info{ 
    height: 280px;
    width: 30%;
    background-color: #999;
    padding: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    border-radius: 6px;
    margin-bottom: 35px;
    transition: 0.5s;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
}

.information .info h1{
	text-align: center;
}*/


/* footer CSS */

footer {
    background-color: rgba(0,0,0,0.05);
}
footer .foot-list {
    padding: 10px 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}
.foot img {
    width: 40px;
    background-color: #F57702;
    padding: 10px;
    border-radius: 50%;
    margin-bottom: 10px;

}
.foot {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    margin: 25px auto;
}

.foot h2 {
	color: #999;
}

.foot  p {
    color: #999;
}

.foot p a{
	color: #999;
	text-decoration:none;
}

.foot p a:hover {
    color: #f9e79f;
}

hr {
    background-color: #999;
    border: 0;
    height: 2px;
    width: 100%;
}

.footer_text {
    text-align: center;
    font-size: 10px;
    padding: 8px 0;
}

.footer_text span a{
	color: #999;
	text-decoration:none;
}

.footer_text span a:hover {
    color: #f9e79f;
}

.toggle_menu {
    display: none;
}

/* Responsive */
@media (max-width:964px) {
    header .menu {
        display: none;
    }
    header {
        padding: 0 20px;
    }
    #home {
        flex-direction: column;
        padding: 12px;
        height: fit-content;

    }
    #home .left , #home .right  {
        width: 100%;
        padding: 0;
    }
    #home .left {
        margin: 100px 0;
    }
    #home .left h1 {
        font-size: 20px;
        margin-bottom: 15px;
    }
    #home .left h4 {
        font-size: 15px;
    }
    #home .left p {
        font-size: 15px;
    }
    #menu .mecanique .meca {
        width: 100%;
        max-width: 260px;

    .services_list .service {
        padding: 0 50px;
    }
    .toggle_menu {
        display: flex;
        height: 40px;
        width: 40px;
         display: flex;
         align-items: center;
         justify-content: center;
         position: relative;
         cursor: pointer;
    }
    .toggle_menu::before {
        position: absolute;
        content: "";
        height: 3px;
        width: 28px;
        background-color: #F57702;
        border-radius: 6px;
        box-shadow: 0 10px 0 #F57702;
        transform: translateY(-10px);
        transition: 0.5s;
    }
    .toggle_menu.active::before {
        transform: translateY(0) rotate(135deg);
        box-shadow: 0 0 0 #F57702
    }
    .toggle_menu::after {
        position: absolute;
        content: "";
        height: 3px;
        width: 28px;
        background-color: #F57702;
        border-radius: 6px;
        transform: translateY(10px);
        transition: 0.5s;
    }
    .toggle_menu.active::after {
        transform: translateY(0) rotate(-135deg);
      
    }
    header .menu.responsive {
        display: flex;
        position: absolute;
        top: 50px;
        left: 0;
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        background-color: #fff;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
        flex-direction: column;
    }
    header .menu.responsive li {
        margin: 15px 0;
    }

}