/*=============== GOOGLE FONTS ===============*/
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700&display=swap');
:root {
    --header-height: 3.5rem; /*56px*/
  
    /*========== Colors ==========*/
    /*Color mode HSL(hue, saturation, lightness) --hue: 152;*/
    --hue: 210;
    --first-color: hsl(var(--hue), 24%, 32%);
    --first-color-alt: hsl(var(--hue), 24%, 28%);
    --first-color-light: hsl(var(--hue), 24%, 66%);
    --first-color-lighten: hsl(var(--hue), 24%, 92%);
    --title-color: hsl(var(--hue), 4%, 15%);
    --text-color: hsl(var(--hue), 4%, 35%);
    --text-color-light: hsl(var(--hue), 4%, 55%);
    --body-color: hsl(var(--hue), 0%, 100%);
    --container-color: #FFF;
    --color-title:#22577E;
    --color-menu:#22577E;
    --color-card:#FFF;

    /*========== Font and typography ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --body-font: 'Poppins', sans-serif;
    --big-font-size: 2rem;
    --h1-font-size: 1.5rem;
    --h2-font-size: 1.25rem;
    --h3-font-size: 1rem;
    --normal-font-size: .938rem;
    --small-font-size: .813rem;
    --smaller-font-size: .75rem;
  
    /*========== Font weight ==========*/
    --font-medium: 500;
    --font-semi-bold: 600;
  
    /*========== Margenes Bottom ==========*/
    /*.5rem = 8px | 1rem = 16px ...*/
    --mb-0-5: .5rem;
    --mb-0-75: .75rem;
    --mb-1: 1rem;
    --mb-1-5: 1.5rem;
    --mb-2: 2rem;
    --mb-2-5: 2.5rem;
  
    /*========== z index ==========*/
    --z-tooltip: 10;
    --z-fixed: 100;
  }
  /* ================Variables DARK theme============== */
  /* change color theme hsl(var(--hue), 8%, 12%)*/
  body.dark-theme{
    /* --first-color: hsl(var(--hue), 8%, 20%); */
    --first-color: hsl(var(--hue), 8%, 20%);
    --title-color: hsl(var(--hue), 4%, 95%);
    --text-color: hsl(var(--hue), 4%, 75%);
    --body-color:#151b2b ;
    /* --container-color: hsl(var(--hue), 8%, 16%); */
    --container-color:#FFF;
    --color-title:#FFFFFF;
    --color-menu:#22577E;
    --color-card:#151b2b;

  }
  .change-theme{
      font-size: 1.15rem;
      color: var(--title-color);
      cursor: pointer;
  }
  .nav__btns{
      display: inline-flex;
      align-items: center;
      column-gap: 1rem;

  }
    /* Responsive typography */
@media screen and (min-width: 1130px) {
    :root {
      --big-font-size: 3.5rem;
      --h1-font-size: 2.25rem;
      --h2-font-size: 1.5rem;
      --h3-font-size: 1.25rem;
      --normal-font-size: 1rem;
      --small-font-size: .875rem;
      --smaller-font-size: .813rem;
    }
  }
   /*=============== BASE ===============*/
*{
    box-sizing: border-box;
    padding: 0;
    margin: 0;
  }
  html{
    scroll-behavior: smooth;
  }
  
body,
button,
input,
textarea{
  font-family: var(--body-font);
  font-size: var(--normal-font-size);
}
body{
    margin: var(--header-height) 0 0 0;
    background-color: var(--body-color);
    /* color: var(--text-color); */
    color:var(--color-title);
    transition: .4s;
}
button{
    cursor: pointer;
    border: none;
    outline: none;
}
h1,h2,h3{
    color:var(--text-color) ;
    font-weight:var(--font-semi-bold) ;
}
ul{
    list-style: none;
}
a{
    text-decoration: none;
}

img{
    max-width: 100%;
    height: auto;
}
/* ================reusable css variable============= */
.section{
    padding: 5.5rem 0 1rem;
}
.section__title,
.section__title-center{
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-2);
    line-height: 140%;
    color:var(--color-title);
}
.section__title-center{
    text-align: center;
}
.grid{
    display: grid;
}
.main{
    overflow: hidden; /*for animation*/
}
.container{
    max-width: 1130px;
    margin-left: var(--mb-1-5);
    margin-right: var(--mb-1-5);
}
/* ===========header================ */
.header{
    width: 100%;
    background-color: var(--body-color);
    position: fixed;
    top: 0;
    left: 0;
    z-index: var(--z-fixed);
    transition: .4s;

}
.nav{
    height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.nav__logo{
    display: inline-flex;
    align-items: center;
    column-gap: 0.3rem;
    text-transform: uppercase;
    font-weight: 700;
 
}
.nav__logo,
.nav__close,
.nav__toggle{
    color: var(--title-color);

}
.home__cercle:hover .home_img{
    transform: scale(0.9);
}
.img__header{
    /* width: 102px;
    height: 95px; */
    width: 1.45rem;
    height: 1.45rem;
    object-fit: cover;
    /* border: 1px; */

}
.nav__logo:hover{
    color: var(--first-color);
}
.nav__toggle{
    display: inline-flex;
    width: 1.25rem;
    cursor: pointer;
}

@media screen and (max-width:767px){
.nav__menu{
    position: fixed;
    background-color: var(--container-color);
    /* width: 80%; */
    width: 51%;
    height: 100%;
    top: 0;
    right: -100%;
    box-shadow: -2px 0 4px hsl(var(--hue), 24%, 15%);
    padding: 4rem 0 0 3rem;
    transition: .3s;
    z-index: var(--z-fixed);
}

.home__title{
    text-align: center;
}
.home_img{
    margin-bottom: var(--mb-1);
}
}
.nav__close{
    position: absolute;
    width: 1.5rem;
    top: 1rem;
    right: 1.3rem;
    cursor: pointer;
}
.nav__list{
    display: flex;
   flex-direction: column;
   row-gap: 1.5rem;
}
.nav__link{
    color: var(--color-menu);
    font-weight: var(--font-medium);
    transition: .3s;
}
/* 
active menu link */
.active-link{
    position: relative;
    color:var(--first-color);
}
.active-link::after{
    content: '';
    position: absolute;
    bottom: -.5rem;
    left: 0;
    width: 50%;
    height: 2px;
    background-color: var(--first-color);
}
.nav__link:hover{
    color: var(--first-color);
}


/* =============SHOW-MENU================== */
.show-menu{
    right: 0;
}
.scroll-header{
    box-shadow: 0 1px 4px hsla(var(--hue),4%,15%,.1);
}
/* ===================home================= */
.home{
    padding: 3.5rem 0 2.5rem;
    background-color: #151b2b;
}
.home__container{
    position: relative;
}

.home__cercle{
    width: 245px;
    height: 245px;
    background-color: #e6efeb;
    /* position: relative; */
    border-radius: 50%;
    justify-self: center;
   
}
.home_img{
    width: 348px;
    border-radius: 50%;
    object-fit: cover;
    justify-self: center;
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    height: 100%;
   
}
.home__title{
    margin-bottom: var(--mb-2);
    color: var(--first-color-lighten);
}
.home_data_desc{
    margin-bottom: var(--mb-2);
    text-align: justify;
    color: var(--first-color-lighten);
}
.button{
    padding: 1rem  1.75rem;
    background-color: var(--first-color);
    border-radius:.5rem ;
    color: #FFF;
    font-weight: var(--font-medium);
    transition: .3s;
}


.img__explore{
    width:var(--normal-font-size);
  transition: .3s;
}
.button:hover .img__explore{
    transform: translateX(.25rem);
}
.button__step:hover .img__explore{
    transform: translateX(.25rem);
}
.button--flex{
    display: inline-flex;
    column-gap: .5rem;
    align-items: center;
}

/* .home_img{
    position: absolute;
    top: 0;
    left: 0;
} */

.home__social{
    position: absolute;
    top: 0.5rem;
    right: -2rem;
    display: grid;
    justify-self: center;
}
.home__title-social{
    font-weight: var(--font-medium);
    font-size: var(--small-font-size);
    color: #FFF;
    position: relative;
    transform: rotate(90deg);
    margin-bottom: var(--mb-2-5);
}
.home__title-social::after{
    content: '';
    background-color: #fff;
    position: absolute;
    width: 1rem;
    height: 2px;
    right: -36%;
    top: 43%;
}
.home__social-links{
    display: flex;
    flex-direction: column;
    padding-left: 1.53rem;
    padding-top: 1rem;

}
.home__cercle:hover {
    cursor: pointer;
    transform: scale(1);
   
}
.home__social-link{
    transition: .3s;
}
.home__social-link:hover{
    transform: translateX(.25rem);
}
/* .home__social-link{
    transition: .3s;
}
.home__social-link:hover{
    background-color: var(--first-color);
    border-radius: .5rem;
} */
.home__social_icon{
    
    display: inline-flex;
    transition: .3s;
    color: var(--first-color-lighten);
}
.home__social_icon:hover{
    border-radius: .3rem;
    /* background-color: var(--first-color); */
    color: #FFF;
    transform: translateX(.25rem);

}
/* ==================ABOUT================ */
/* .about{
    padding:1.5rem 0 0 0;
} */
.about__container{
    row-gap: 2rem;
}

.about__img{
    width: 380px;
    justify-self: center;
    border-radius: .5rem;
    border: none;
    outline: none;
}
.about__details{
    display: grid;
    margin-bottom: var(--mb-2-5);
    row-gap: 1rem;
}
.about__data_desc{
    margin-bottom: var(--mb-1);
}
.about__detail-desc{
    display: inline-flex;
    align-items: center;
    column-gap: 0.5rem;
    font-size: var(--small-font-size);
}
.about__detail-icon{
    font-size: 1rem;
    /* color: var(--first-color); */
    color: #22577E;;
    margin-top: 0.15rem;
}
.about__detail-plus{
    font-weight: var(--font-medium);
    /* color: var(--first-color); */
    color: var(--color-title);
    transition: .3s;
}
.about__detail-plus:hover .img__explore{
    transform: translateX(0.25rem);
}
/* ===============STEPS=================== */
.steps{
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.steps__bg{
    background-color: #151b2b;
    padding: 1rem;
    width: 100%;
    height:auto;

}
.steps__title{
    color: var(--container-color);
    font-size: var(--h2-font-size);
    text-align: center;
    line-height: 163%;
    text-transform: lowercase;
}
.steps__container-desc{
    color: #FFF;
    text-align: center;
    font-family: var(--smaller-font-size);
    margin-bottom: var(--mb-2-5);
}
.button__step{
    padding: 15px 20px;
    background-color: #03a9f4;
    border-radius: .5rem;
    color: #FFF;
    font-weight: var(--font-medium);
    transition: .3s;   
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-transform: lowercase;
    column-gap: .5rem;
    margin-left: 23%;
    margin-bottom: var(--mb-2);
    
    
}
/* ================services================== */
.services{
    padding-top: 2.9rem;
}
.services__cards{
    row-gap: 1rem;
}
.services__title{
    font-size: var(--h2-font-size);
    margin-bottom: var(--mb-2);
    text-align: center;
    color: var(--color-title);
}
.services__card{
    /* background-color:var(--first-color); */
    /* background-color:var(--first-color-lighten) ; */
    padding: 0.5rem 2rem 2.5rem 2rem;
    border-radius: .5rem;
    position: relative;
    text-align:justify;
    /* color: var(--first-color-lighten); */
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: .3s;
}
.services__img{
    width:250px;
    height: 200px;
    justify-self: center;
    border-radius: 10px;
}
.services__card:hover .services__img{
    transform: rotateY(180deg);
}
.services__card-title{
    font-size: 1rem;
    font-weight: var(--font-semi-bold);
    margin-bottom: var(--mb-1);
    /* color: var(--first-color-lighten); */
    text-align: center;
}
.services__card-desc{
    text-align: justify;    
    
}
.container__more-info{
    position: absolute;
    right: 18%;
    bottom: 6%;
    
}
.more__info{
    display: inline-flex;
    align-items: center;
    gap: .1rem;
    /* color: var(--first-color); 
    color:#22577E;  */ 
    color: var(--text-color); 
    transition: .3s;
}

.more__info:hover {
    cursor: pointer;
    color: var(--text-color-light);
   
}
.more__info:hover .icon__service{
    transform: translateX(.2rem);
}
/* =====================Produit================= */
.produit{
    padding-top: 30px;
}
.produit_img{
    width: 74px;
    height: 74px;
}

.produit__title{
    font-size: 1.25rem;
    font-weight: 700;
    color: #22577E;
    text-align: center;
}
.produit--item{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    column-gap: 60px;
 
}
/* =====================contact================= */
.contact__container{
    row-gap: 3.5rem;
}
.contact__data{
    display: grid;
    row-gap: 2rem;
}
.contact__description{
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    color:var(--text-color);
    font-weight: var(--font-medium);
}

.contacts__inputs{
    display: grid;
    row-gap: 2rem;
    margin-bottom:var(--mb-2-5);

}
.contact__content{
    position: relative;
    height: 3rem;
    border-bottom: 1px solid var(--text-color-light); 
 
    
}
.contact__information{
    display: flex;
    flex-direction: column;
}
.contact__input{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    padding: 1rem 1rem 1rem 0;
    background: none;   
    border: none; 
    outline: none;
  

}
.contact__label{
    position: absolute;
    top: .75rem;
    width: 100%;
    font-size: var(--small-font-size);
    color: var(--text-color-light);
    transition: .3s;
    
}
.contact__erea{
    height: 7rem;
}
.contact__erea textarea{
   resize: none;
}
.contact__input:focus + .contact__label{
    top:-.75rem;
    left:0;
    font-size: var(--smaller-font-size);
    z-index: 10;

    
}
/* ====================footer=============== */
.footer{
    background-color: #151b2b;
    padding: 1rem 1rem;
    color:#FFFFFF;
}

.footer__container{
    row-gap: 2.5rem;
}
.footer__logo{
    display: inline-flex;
    align-items: center;
    column-gap: .5rem;
    color: var(--first-color-light);
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: var(--mb-2);
}
.footer__title{
    font-size: var(--h3-font-size);
    font-weight: var(--font-medium);
    color: var(--first-color-lighten);
    margin-bottom: var(--mb-2);
}
.footer__content{
    row-gap: 2rem;
}
.footer__subscribe{
    background-color: var(--first-color-lighten);
    padding: .75rem;
    border-radius: .5rem;
    display: flex;
}
.footer__input{
    width: 70%;
    padding: 0 .5rem;
    background:none;
    border: none;
    outline: none;

}
.footer__data{
    display: grid;
    row-gap: .75rem;
}
.footer__social{
    display:inline-flex;
    column-gap: .75rem;
}
.footer__social-link{
    font-size: 1rem;
    color: var(--text-color);
    transition: .3s;
}
.footer__social-link:hover{
    transform: translateY(-.25rem);
}
.footer__copy{
    text-align: center;
    font-size: var(--smaller-font-size);
    color: var(--text-color-light);
    margin: 5rem 0 1rem;
}
/* scroll up */
.scrollup{
    position: fixed;
    background-color: var(--first-color);
    right: 1rem;
    /* bottom: -30%; */
    bottom: 1rem;
    display: inline-flex;
    padding: .5rem;
    border-radius: .25rem;
    z-index: var(--z-tooltip);
    opacity: .8;
    transition: .4s;
}


.scrollup__icon{
    font-size: 1rem;
    color: #FFF;
}
.scrollup:hover{
    background-color: var(--first-color-alt);
    opacity: 1;
}
/* ========================scroll bar==================== */
::-webkit-scrollbar{
    width: .6rem;
    background: hsl(var(--hue), 4%, 53%);
}
::-webkit-scrollbar-thumb{
    background: hsl(var(--hue), 4%, 29%);
    border-radius: .5rem;
}
/* ====================small device=============== */
@media screen and (max-width:320px){
    .container{
        margin-left: var(--mb-1);
        margin-right: var(--mb-1);
    }
    .home__img{
        width: 180px;
    }
    .home__title{
        font-size: var(--h1-font-size);
    }
    .steps__bg{
        padding: 1rem 1rem;
    }
    .steps__title{
        font-size: 1.2rem;
        font-weight: 154%;
    }
    .steps__container-desc{
        margin-bottom: var(--mb-0);
    }
    .button__step{
        margin-left: 10%;
    }
    .services__cards{
        grid-template-columns: .6fr;
        justify-content: center;
    }
    .produit_img{
        width: 50px;
        height: 50px;
    }
    .footer{
        background-color: black;
        padding: 1rem 0 1rem;
    }
}
/* for medium devices */
@media screen and (min-width:576px){
    .home__cercle{
        width: 351px;
        height: 351px;
    }
   
    .services__cards{
        /* grid-template-columns: repeat(2,1fr); */
        grid-template-columns: repeat(1fr);
        column-gap: 2rem;
    }
    .button__step{
        margin-left: 28%;
    }
    .footer__subscribe{
        width: 400px;
    }
    .produit--item{
        margin-top: 20px;
    }
    .footer{
        background-color: black;
        padding: 1rem 0 1rem;
    }
}
@media screen and (min-width:767px){
    body{
        margin: 0;
    }
    .nav{
        height: calc(var(--header-height) + 1.5rem);
        column-gap: 3rem;
    }
    .nav__toggle,
    .nav__close{
        display: none;
    }
    .nav__list{
        flex-direction: row;
        column-gap: 3rem;
        
    }
    .nav__menu{
        margin-left: auto;
    }
    .button__step{
        margin-left: 37%;
    }
   
    .home__container,
    .about__container,
    .contact__container,
    .footer__container{
        grid-template-columns: repeat(2,1fr);
    }
     .home{
        padding: 10rem 0 5rem;
      }
    .home__container{
        align-items: center;
    }
    .home__cercle {
        width: 351px;
        height: 351px;
        /* object-fit: cover; */
        order: 1;
    }
    /* .home_img{
        width: 280px;
        order: 1;
    } */
    .home__social{
        top: 30%;
      }
    .footer__container{
        column-gap: 3rem;
    }
    .footer__subscribe{
        width: initial;
      }
}
@media screen and (min-width:992px){
    .container{
        margin-left: auto;
        margin-right: auto;
    }
    .section{
        padding: 8rem 0 1rem;
    }
    
    .home{
        padding: 13rem 0 5rem;
    }
    .home__cercle {
        width: 380px;
        height: 380px;
        /* object-fit: cover; */
        order: 1;
        
    }

    /* .home__img{
        width: 350px;
      } */
      /* .about{
          padding: 2.5rem 0 0 0;
      } */
      .about__img{
        width: 518px;
        height: 349px;
      }
      .steps{
        padding: 2.5rem 0 0 0;
      }
      .services{
        padding: 2.5rem 0 0 0;
      }
      .services__cards{
        grid-template-columns: repeat(3,1fr);
        
    }
    .steps__bg{
        padding: 3.5rem 2.5rem;
      }
      .contact{
        padding-top: 4.5rem ;
      }
    .footer__logo{
        font-size: var(--h3-font-size);
      }
      .footer__container{
        grid-template-columns: 1fr .5fr .5fr .5fr;
      }
      .footer__copy{
        margin: 7rem 0 2rem;
      }
}
@media screen and (min-width: 1200px){
    .container{
        margin-left: auto;
        margin-right: auto;
    }
    .home {
        padding: 7rem 0 1rem;
    }
    .home_img {
        width: 501px;
        order: 1;
    }
    .home__social-links {
        
        padding-left: 1.43rem;
      
    }
    .home__social{
      right: -1.3rem;
      /* row-gap: 4.5rem; */
    }
    .home__social-follow{
      font-size: var(--small-font-size);
    }
    .home__social-follow::after{
      width: 1.5rem;
      right: -60%;
    }
    .home__social-link{
      font-size: 1.15rem;
    }
  
    .about__container{
      column-gap: 7rem;
    }
    .footer{
        padding: 3rem 0 1rem 0;
    }
  
    .scrollup{
      right: 3rem;
    }
  }

