/* @import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&display=swap'); */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap');

*,
body,
html
{
    margin: 0;
    padding: 0;
    font-family: 'Montserrat', sans-serif;
    transition: ease 0.5s;
}
p{
    color: #777;
    font-size: 16px;
    line-height: 25px;
}
a{
    text-decoration: none;
}

.header__bg{
    height: 90vh;
    background-image: url("../img/banner3.png");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* ------------------------------------------------------------------------ */

.nav__container{
	max-width: 1300px;
	margin:auto;
}
.nav{
    background-color: #65acff;
	position: fixed;
	width: 100%;
	left:0;
	top:0;
	z-index: 99;
}
.nav-main{
	/* background-color: #ffffff; */
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 0;
	border-radius: 4px;
}
.nav .logo{
	padding: 0 15px;
}

.nav .nav-menu{
	padding: 0 15px;
}
.nav .menu > .menu-item{
	display: inline-block;
	margin-left: 30px;
	position: relative;
}
.nav .menu > .menu-item > a{
	display: block;
	padding: 12px 0;
	font-size: 16px;
	color: #fff;
	text-transform: capitalize;
	font-weight: 600;
	transition: all 0.3s ease;
}
.nav .menu > .menu-item > a .plus{
	display: inline-block;
    color: #fff;
	height: 12px;
	width: 12px;
	position: relative;
	margin-left:5px; 
	pointer-events: none;
}
.nav .menu > .menu-item > a .plus:before,
.nav .menu > .menu-item > a .plus:after{
	content:'';
	position: absolute;
	box-sizing: border-box;
	left: 50%;
	top:50%;
	background-color: #fff;
	height: 2px;
	width: 100%;
	transform: translate(-50%,-50%);
	transition: all 0.3s ease;
}
.nav .menu > .menu-item:hover > a .plus:before,
.nav .menu > .menu-item:hover > a .plus:after{
    opacity: .6;
}
.nav .menu > .menu-item > a .plus:after{
   transform: translate(-50%,-50%) rotate(-90deg);	
}
.nav .menu > .menu-item > .sub-menu > .menu-item > a:hover,
.nav .menu > .menu-item:hover > a{
	opacity: .6;
}
.nav .menu > .menu-item > .sub-menu{
	box-shadow: 0 0 10px rgba(0,0,0,0.2);
	width: 220px;
	position: absolute;
	right:-15px;
	top:100%;
	background-color: #ffffff;
	padding: 10px 0;
	border-top: 3px solid #ccc;
	transform: translateY(10px);
	transition: all 0.3s ease;
	opacity:0;
	visibility: hidden;
}
@media(min-width: 992px){
.nav .menu > .menu-item-has-children:hover > .sub-menu{
	transform: translateY(0);
	opacity: 1;
	visibility: visible;
 }
 .nav .menu > .menu-item-has-children:hover > a .plus:after{
    transform: translate(-50%,-50%) rotate(0deg);		
 }
}
.nav .menu > .menu-item > .sub-menu > .menu-item{
	display: block;
}
.nav .menu > .menu-item > .sub-menu > .menu-item > a{
	display: block;
	padding: 10px 20px;
	font-size: 16px;
	font-weight: 600;
	color: #000000;
	transition: all 0.3s ease;
	text-transform: capitalize;
}
.nav .open-nav-menu{
	height: 34px;
	width: 40px;
	margin-right: 15px;
	display: none;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.nav .open-nav-menu span{
	display: block;
	height: 3px;
	width: 24px;
	background-color: #fff;
    position: relative;
}
.nav .open-nav-menu span:before,
.nav .open-nav-menu span:after{
	content: '';
	position: absolute;
	left:0;
	width: 100%;
	height: 100%;
	background-color: #fff;
	box-sizing: border-box;
}
.nav .open-nav-menu span:before{
	top:-7px;
}
.nav .open-nav-menu span:after{
	top:7px;
}
.nav .close-nav-menu{
	height: 40px;
	width: 40px;
	background-color: #ffffff;
	margin:0 0 15px 15px;
	cursor: pointer;
	display: none;
	align-items: center;
	justify-content: center;
}
.nav .close-nav-menu img{
	width: 16px;
}
.nav .menu-overlay{
	position: fixed;
	z-index: 999;
	background-color: rgba(0,0,0,0.5);
	left:0;
	top:0;
	height: 100%;
	width: 100%;
	visibility: hidden;
	opacity:0;
	transition: all 0.3s ease;
}




/* responsive */

@media(max-width: 991px){
	.nav .menu-overlay.active{
	visibility: visible;
	opacity: 1;
}
	.nav .nav-menu{
		position: fixed;
		right: -280px;
		visibility: hidden;
		width: 280px;
		height: 100%;
		top:0;
		overflow-y: auto;
		background-color: #222222;
		z-index: 1000;
		padding: 15px 0;
		transition: all 0.5s ease;
	}
	.nav .nav-menu.open{
		visibility: visible;
		right: 0px;
	}
	.nav .menu > .menu-item{
		display: block;
		margin:0;
	}
	.nav .menu > .menu-item-has-children > a{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.nav .menu > .menu-item > a{
		color: #ffffff;
		padding: 12px 15px;
		border-bottom: 1px solid #333333;
	}
	.nav .menu > .menu-item:first-child > a{
	    border-top: 1px solid #333333;	
	}
	.nav .menu > .menu-item > a .plus:before, 
	.nav .menu > .menu-item > a .plus:after{
		background-color: #ffffff;
	}
	.nav .menu > .menu-item-has-children.active > a .plus:after{
        transform: translate(-50%,-50%) rotate(0deg);
	}
	.nav .menu > .menu-item > .sub-menu{
		width: 100%;
		position: relative;
		opacity: 1;
		visibility: visible;
		border:none;
		background-color: transparent;
		box-shadow: none;
		transform: translateY(0px);
		padding: 0px;
		left: auto;
		top:auto;
		max-height: 0;
		overflow: hidden;
	}
	.nav .menu > .menu-item > .sub-menu > .menu-item > a{
		padding: 12px 45px;
		color: #ffffff;
		border-bottom: 1px solid #333333;
	}
	.nav .close-nav-menu,
	.nav .open-nav-menu{
		display: flex;
	}
}


/* ------------------------------------------------------------------------------ */


header{
    max-width: 1300px;
    height: 100%;
    margin: auto;
    display: flex;
    margin-top: 60px;
    align-items: center;
}

header h2{
    color: #65acff;
}
header h1{
    font-size: 3.5rem;
    line-height: 60px;
    margin-bottom: 30px;
}
header p{

    margin-bottom: 40px;
}
.header__container{
    flex-basis: 60%;
}
.header__search__form{
    padding: 5px;
    border-radius: 50px;
    border: 0.5px solid #EEE;
    display: flex;
    background-color: white;
    margin-bottom: 20px;
}
.header__search__form input[type=text]{
    flex-basis: 70%;
    display: block;
    border: none;
    outline: none;
    padding: 5px 20px;
    margin: 5px 0;
    font-size: 16px;
}
.header__search__form button{
    display: block;
    flex-basis: 30%;
    border: none;
    outline: none;
    padding: 5px 20px;
    font-size: 16px;
    border-radius: 50px;
    background-color: #65acff;
    color: white;
    cursor: pointer;
}
.header__search__form button:hover{

    background-color: #0177fe;

}

.header__tendance a{
    text-decoration: none;
    color: #242424;
    background-color: rgba(255, 180, 19, 0.6);
    padding: 2px 10px;
    border-radius: 4px;
    margin-left: 5px;
    cursor: pointer;
}
.header__tendance p{
    line-height: 30px;
}
.comment__ca__marche a{
    text-decoration: none;
    color: rgb(255, 180, 19);
}

/* ---------------- */
.categorie_service{
    max-width: 1300px;
    margin: auto;
    padding: 50px 0;
}

.categorie_service h1{
    text-align: center;
    font-size: 2em;
}

.categorie_grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, max(300px));
    gap: 20px;
    justify-content: center;
    margin-top: 20px;
}

.categorie_grid_item{
    /* background-color: #0177fe; */
    height: 180px;
    padding: 20px;
    border: 1px solid #65adff6b;
    border-radius: 5px;
    text-align: center;
    transition: ease 0.5s;
}
.categorie_grid_item:hover{
    box-shadow: 2px 2px 3px 0px #b7b9bb;
    color: #65acff;
}

.categorie_grid_item h2{
    font-weight: 400;
}
.categorie_grid a{
    text-decoration: none;
    color: #242424;
}

.categorie_grid_item img{
    height: 100px;
}

/* -------------------------- */

.section_services{
    max-width: 1300px;
    margin: auto;
    padding: 50px 0;
}

.section_services h1{
    text-align: center;
    font-size: 2em;
}

.service__grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, max(300px));
    gap: 20px;
    justify-content: center;
    margin: 50px 0;

}

.service__grid__item{
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
    border-radius: 2px;
    background: white;
    background-color: #fbfbfb;

    
}
.service__couverture{
    height: 170px;
    /* background-color: red; */
    overflow: hidden;
}

.service__couverture img{
   width: 100%;
   object-fit: cover;
   object-position: center 10%;
}

.service__titre{
    height:60px ;
}


.service__titre h4{
    padding: 5px 15px;
    font-weight: 600;
    color:#000;
}

.service__info{
    display: flex;
    padding: 5px 10px;
}
.service__info__image{
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    margin-right: 10px;
}

.service__info p{
    line-height: 25px;
    font-size: 14px;
}

.service__info p span{
    color: #000;
    font-weight: 500;
}

.service__bouton{
    text-align: center;
    width: 90%;
    height: fit-content;
    padding: 8px 5px;
    margin: 8px auto;
    font-size: 12px;
    background-color: #cecbcb;
    text-transform: uppercase;
    font-weight: 600;
    border-radius: 3px;
    color: #000;
}

/* *-------------------- */
.banniere__projet__container{
    max-width: 1300px;
    margin: auto;
}

.banniere__projet{
    padding: 100px 20px;
    background-image: url("../img/background-img-1.jpg");
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    text-align: center;
}

.banniere__projet h2{
    color: #fe696a;
    text-transform: uppercase;
    font-size: 1.5em;
    margin-bottom: 10px;
}
.banniere__projet h1{
    color: #fff;
    font-size: 2em;
    font-weight: 600;
    margin-bottom: 10px;

}
.banniere__projet p{
    color: #fff;
    font-size: 1.5em;
    margin-bottom: 30px;

}
.banniere__boutton button{
    padding: 12px 30px;
    border-radius: 4px;
    border: none;
    outline: none;
    margin: 0 10px;
    font-size: 1.2em;
    margin-bottom: 10px;
}
.banniere__boutton .banniere__boutton__black{
    background-color:  #000;
    color: #fff;
}
.banniere__boutton .banniere__boutton__blue{
    background-color: #65acff;
    color: #fff;
}
.section_services .devenir__vendeur{
    text-align: center;
}

.section_services .devenir__vendeur button{
    text-align: center;
    border: none;
    outline: none;
    width: 200px;
    padding: 8px 5px;
    margin: 8px auto;
    background-color: #65acff;
    text-transform: uppercase;
    font-weight: bold;
    border-radius: 3px;
    color: white;
    cursor: pointer;
}

/* ------------------ */
.bg_gris{
    background-color: #F5F5F5;

}
.section__blog{
    max-width: 1300px;
    margin: auto;
    padding: 50px 0;
}

.section__blog h1{
    text-align: center;
    font-size: 2em;
}

.section__blog .blog__grid{
    display: grid;
    grid-template-columns: repeat(auto-fill, max(300px));
    gap: 20px;
    justify-content: center;
    margin: 50px 0;
}

.blog__grid__item{
    border-radius: 10px;
}

.blog__couverture{
    height: 170px;
    overflow: hidden;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.blog__couverture img{
   width: 100%;
   object-fit: cover;
   object-position: center 10%;
}

.blog__titre h4{
    padding: 5px 15px;
    font-size: 1.2em;
    font-weight: 300;
    color:#000;
}
.blog__auteur{
    display: flex;
    background-color: #F5F5F5;
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
    margin-left: 10px;
    border-top: 1px solid #ebebeb;
    border-bottom: 1px solid #ebebeb;
    align-items: center;
}
.blog__user__image{
    width: 50px;
    height: 50px;
    flex-basis: 50px;
    border-radius: 50px;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
.blog__info{
    background-color: #fff;
}
.blog__extrait{
    padding: 5px 15px;
}
.blog__date{
    flex-basis: 80%;
    padding-left: 10px;
    color: #6d7c90;
    font-size: 0.9em;
}
.blog__date span{
    margin-left: 5px;
}
.blog__date span i{
    color: #65acff;
}
.blog__read__more{
    padding: 5px 15px;
}

.blog__read__more a{
    color: #65acff;
}
.blog__read__more a i{
    position: relative;
    top: 2px;
}
/* ------------------------- */

.partenaire__section{
    max-width: 1300px;
    margin: auto;
    padding: 50px 0;
}

.partenaire__section h1{
    text-align: center;
    font-size: 2em;
}
@keyframes slide {
    from {
      transform: translateX(0);
    }
    to {
      transform: translateX(-100%);
    }
  }
  
  .logos {
    overflow: hidden;
    padding: 60px 0;
    background: white;
    white-space: nowrap;
    position: relative;
  }
  
  .logos:before,
  .logos:after {
    position: absolute;
    top: 0;
    width: 250px;
    height: 100%;
    content: "";
    z-index: 2;
  }
  
  .logos:before {
    left: 0;
    background: linear-gradient(to left, rgba(255, 255, 255, 0), white);
  }
  
  .logos:after {
    right: 0;
    background: linear-gradient(to right, rgba(255, 255, 255, 0), white);
  }
  
  .logos:hover .logos-slide {
    animation-play-state: paused;
  }
  
  .logos-slide {
    display: inline-block;
    animation: 35s slide infinite linear;
  }
  
  .logos-slide img {
    height: 50px;
    margin: 0 40px;
  }
/* ---------------- */
.bg_sombre{
    background-color: #242424;
}
footer{
    max-width: 1300px;
    margin: auto;
    padding: 50px 0;
    display: grid;
    grid-template-columns: repeat(auto-fill, max(300px));
    gap: 20px;
    justify-content: center;
    color: #fff;

}
footer h1{
    margin-bottom: 20px;
}
.footer__link a{
    display: block;
    margin-top: 10px;
    color: #fff;
}
.footer__link a:hover{
    color: #65acff;
}

footer .social__link{
    display: flex;
    margin-top: 10px;
    gap: 5px;
}

footer .social__link a{
    padding: 8px;
    height: 20px;
    width: 20px;
    border: 1px solid #777;
    border-radius: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
}
footer .social__link a i{
    color: #fff;
}

footer .social__link a:hover{
    background-color: #65acff;
}

.footer__bottom{
    text-align: center;
    padding: 10px;
}
.footer__bottom span{
    color: #65acff;
}


.path { stroke-dasharray: 1000; stroke-dashoffset: 1000; animation: dash 3s linear forwards; animation-iteration-count: infinite;animation-delay: 1s;}
@keyframes dash {
  to {
    stroke-dashoffset: 0;
  }
}
.dashed{
  stroke-dasharray: 5,12;
  
}
#arrow{animation: arrow 2s linear forwards; opacity:0;}
@keyframes arrow {
  to {
    opacity: 1;
  }
}









































@media screen and (max-width:1414px) {
    header{
        padding: 0 50px;
    }
    header h1{
        font-size: 2.5rem;
        line-height: 50px;
    }
}

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

    p{
        font-size: 14px;
    }

    .header__bg{
        background-image: none;
        height: fit-content;
    }
    .header__container{
        flex-basis: 100%;
    }
    header{
        padding: 0 30px;
        /* display: block; */
    }
    header h2{
        margin-top: 20px;
    }

    header h1{
        font-size: 2rem;
        line-height: 40px;
        margin-bottom: 20px;
    }
    header p{
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 20px;
    }

    

    .header__search__form{
        /* padding: 5px; */
        border-radius: 0px;
        border: none;
        display: block;
        background-color: white;
        margin-bottom: 20px;
    }
    .header__search__form input[type=text]{
        width: 90%;
        height: 50px;
        display: block;
        border: none;
        outline: none;
        margin: 10px 0 10px 0;
        font-size: 16px;
        border-radius: 4px;
        color: #777;
        background-color: #f4f6f9;
    }
    .header__search__form button{
        width: 100%;
        height: 50px;
        display: block;
        border: none;
        outline: none;
        margin: 25px 0 10px 0;
        font-size: 16px;
        border-radius: 4px;
        background-color: #65acff;
        color: white;
    }
    .categorie_service h1{
        font-size: 1.5em;
    }
    .section_services h1{
        font-size: 1.5em;
    }

    .banniere__projet h1{
        font-size: 1.4em;
    }
    .banniere__projet h2{
        font-size: 1.2em;
    }
    .banniere__projet p{
        font-size: 1em;
    }

}

@media screen and (max-width:508px) {
    .service__grid{
        grid-template-columns: repeat(auto-fill, max(170px));
        gap: 10px;
    }
    .service__couverture{
        height: 100px;
    }
    .service__titre{
        height: fit-content;
    }
    .service__titre h4{
        line-height: 18px;
    }


}