@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;900&display=swap');
*{
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    list-style: none;
    text-decoration: none;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
}
/* Client scroll bar*/
::-webkit-scrollbar{
    width: 0.5rem;
    background: var(--light-green-color);
}
::-webkit-scrollbar-thumb{
    width: 0.5rem;
    background: var(--green-color);
    border-radius: 5rem;
}
/* declaration des variables couleurs aui sera utiliser*/
section{
    padding: 4.5rem 0 1.5rem;
}
:root{
    --green-color: #3cb815;
    --light-green-color: #c0eb7b;
    --orange-color: #ff7e77;
    --light-orange-color: #f75f1d;
    --text-color: #1a2428;
    --gb-color: #fff;
    }
img{
    width: 100%;
}
body{
    color: var(--text-color);
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins' sans-serif;
}
.search{
    position: relative;
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 60%;
    transition: 0.5s;
    box-shadow: 0 0 0 5px #2573ef;
    right: 10px;
}
.search .icon{
    position: absolute;
    top: 0;
    left: 0;
    width: 60px;
    height: 60px;
    background: #fff;
    display: flex;
    border-radius: 60px;
    justify-content: center;
    align-items: center;
    z-index: 1000;;
    cursor: pointer;
}
.search.active{
    width: 360px;
}
.search .icon::before{
    content: '';
    position: absolute;
    width: 15px;
    height: 15px;
    border: 3px solid #287dfc;
    border-radius: 50%;
    transform: translate(-4px, -4px);
}
.search .icon::after{
    content: '';
    position: absolute;
    width: 3px;
    height: 12px;
    background: #287dfc;
    transform: translate(6px, 6px) rotate(315deg);
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--gb-color);
    box-shadow:  0 8px 11px rgb(14 55 54 /15%);
    padding: 20px 100px;
    transition: 0.5s;
}
.profile{
display: flex;
align-items: center;
column-gap: 0.5rem;
cursor: pointer;
}
/*Pour recuperer profile et img et le redimantionner pour arrondir ce le border-raduis*/
.profile img{
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}
.profile span{
    font-size: 13px;
    font-weight: 500;
}
.logo{
    display: flex;
    align-items: center;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-color);
    column-gap: 0.5rem;
}
.logo .bx{
  font-size: 24px;  
  color: var(--orange-color);
}
/*Pour alligner les options de la bar de navigation en ligne*/
.navbar{
    display: flex;
    column-gap: 0.5rem;
}
/*Pour creer un espacement entre les options */
.navbar a{
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1rem;
}
/*.navbar a:hover definie l'action du survole sur une options*/
.navbar a:hover, .navbar .client-active{
    background: var(--green-color);
    border-radius: 2rem;
    color: var(--gb-color);
    transition:  background 0.5s;
}
/*section accueil*/
.container{
    position: relative;
    width: 100%;
    min-height: 400px;
    display: flex;
    align-items: center;
    background: url(img/bg/Epice1.jpeg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
    overflow: hidden;
}
.container img{
    width: 400px;
    position: absolute;
    bottom: -500px;
    right: 200px;
}
.home-text{
    padding: 150px;
    
}
.home-text span{
    font-weight: 400;
    text-transform: uppercase;
    color: var(--light-green-color);
}
.home-text h1{
    font-size: 2.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--gb-color);
}
.btn{
    padding: 0.6rem;
    background: var(--green-color);
    color: var(--gb-color);
    font-weight: 400;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.5rem;
    max-width: 200px;
}
.btn:hover{
    background:  var(--light-orange-color);
    border-color: var(--green-color);
    border-style:ridge;
    transition: 0.3s;
}
.btn .bx{
padding: 4px;
background: var(--gb-color);
color: var(--text-color);
border-radius: 1rem;
font-size: 20px;
margin: auto;
}
.swiper-button-next{
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    margin-left: 20px;
}
.swiper-button-next::after{
    display: none;
}
.swiper-button-prev{
    background-repeat: no-repeat;
    background-size: 100% auto;
    background-position: center;
    margin-left: 20px;
}
.swiper-button-prev::after{
    display: none;
}
.heading{
display: flex;
justify-content: space-between;
align-items: center;
}
.heading h1{
    font-size: 1.6rem;
    font-weight: 700;
}
.heading span{
    color: var(--green-color);
    
}


/*Client ou customer*/
.clients{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto; 
}
.clients h2{
    text-align: center;
    font-size: 1.6rem;
    font-weight: 700;
}
.clients-container{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, auto));
    gap: 1.5rem;
    margin-top: 2rem;
}
.clients-container .box{
    padding: 20px;
    box-shadow: 1px 2px 11px 4px  rgb(14 55 54 /15%);
    border-radius: 0.5rem;
    border-bottom: 7px solid var(--green-color);
}
.clients-container .box:hover{
    transform: translateY(10px);
    transition: 0.2s all linear; 
}
.clients-container .box .bx{
    font-size: 24px;
    color: var(--green-color);
}
.clients-container .box .etoiles .bx{
    font-size: 1rem;
    color: var(--light-orange-color);
}
.clients-container .box p{
    font-size: 0.938rem;
}
.review-profile{
    display: flex;
    align-items: center;
    margin-top: 1rem;
    column-gap: 0.5rem;
}
.review-profile img{
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}
.review-profile h3{
    font-size: 1rem;
    font-weight: 600;
}

/****************Footer******************/
.footer{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
     display: grid;  
     grid-template-columns: repeat(auto-fit, minmax(200px, auto));
     gap: 1.5rem;
     margin-top: 2rem;
     background: #fef4ea;
     border-radius: 0.5rem;
     padding: 20px;
}
.footer-box{
    font-size: 0.938rem;
    flex-direction: column;
    margin: 0.5rem 0 1rem;
}
 .footer-box p{
    font-size: 0.938rem;
    margin: 0.5rem 0 1rem;
 }
 .social{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
 }
 .social .bx{
    padding: 10px;
    background: var(--gb-color);
    color: var(--green-color);
    border-radius: 5rem;
    font-size: 20px;
 }
 .social .bx:hover{
    background: var(--green-color);
    color: var(--gb-color);
    transition: 0.2s all linear;
 }
 .footer-box h2{
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
 }
 .footer-box a{
    color: #868a92;
    margin-bottom: 1rem;
 }
 .footer-box a:hover{
    color: var(--light-orange-color);
 }
 .footer-box form{
    border-bottom: 1px solid var(--text-color);
    padding: 10px;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
 }
 .footer-box form input{
    background: transparent;
    border: none;
    outline: none;
 }
 .footer-box form .bx{
    font-size: 20px;
    color: var(--light-orange-color);
    cursor: pointer;
 }
.footer-box form .bxs-envelope{
    color: var(--green-color);
}
.copyright{
   text-align: center; 
   background: var(--text-color);
color: var(--gb-color);
}
.copyright a{
    color: var(--green-color);
    cursor: pointer;
}