:root {
    --color-primary: #3353bc;
    --color-primary-hover: rgb(41, 67, 150);
    --color-primary-active: rgb(32, 51, 116);
    --color-secondary: #F08A59;
    --color-third: #121259;
    --color-white: #fff;
    --color-grey: rgb(118, 114, 110);;
    --color-yellow: #ffd700;
    --color-green: #28a745;
    --color-orange: #ffa500;
    --color-blue: #121259;
    --color-hero-primary: #3353bc;
    --color-font-secondary:#9daad8;
    --color: #4973ff;
}


  
  body {
    font-size: 16px;
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
  }

  .navbar {
    background-color: var(--color-primary);
    color: white;
  }

  .navbar img {
    filter: brightness(0) invert(1);
    max-height: 70px;
  }

  
  .content {
    max-width: 700px;
    margin: 0 auto;
    padding: 0 20px;
  }
  
  .hero {
    position: relative;
    background: var(--color-primary);
    color: white;
    height: 83.5vh;
    display: flex;
    align-items: center;
    overflow: hidden;
  }
  .hero h1 {
    position: relative;
    z-index: 1;
    font-family: "Montserrat", sans-serif;
    font-optical-sizing: auto;
    font-weight: 614;
    font-style: normal;
    font-size: 4.5rem;    
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
    
  }
  .hero h3 {
    position: relative;
    z-index: 1;
    font-size: 2rem;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    line-height: 1;
    color: rgba(255, 255, 255, 0.9);
  }
  
  .hero p {
    position: relative;
    z-index: 1;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.5); 
    line-height: 1.4;
  }

  
  /* ========================= */
  
  .waves {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background-color: var(--color-white);
    /* box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5); */
    transition: 500ms;
  }
  
  .waves::before,
  .waves::after {
    content: '';
    position: absolute;
    width: 300vw;
    height: 300vw;
    top: -66.8vw;
    left: 50%;
    transform: translate(-50%, -75%);
  }
  
  .waves::before {
    border-radius: 44%;
    background: rgba(51, 83, 188, 0.5);
    animation: waves 9.59s linear infinite;
  }
  
  .waves::after {
    border-radius: 44%;
    background: var(--color-primary);
    animation: waves 15s linear infinite;
  }
  
  @keyframes waves {
    0% {
      transform: translate(-50%, -75%) rotate(0deg);
    }
    
    100% {
      transform: translate(-50%, -75%) rotate(360deg);
    }
  }

  /* =====================Main======================== */

  .container-email, .container-hero, .container__item {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1;
  }
  .container-hero{
    
    margin-top: -100px;
  }
 
  
  .container-email .uppercase {
    text-transform: uppercase;
  }
  
  
   .btned {
    display: inline-block;
    background: transparent;
    color: inherit;
    font: inherit;
    border: 0;
    outline: 0;
    padding: 0;
    transition: all 200ms ease-in;
    cursor: pointer;
  }
  
  .btned--primary {
    background: #7f8ff4;
    color: #fff;
    box-shadow: 0 0 10px 2px rgba(0, 0, 0, 0.1);
    border-radius: 2px;
    padding: 12px 36px;
    margin-left: -96px;
    transition: all 0.6s ease;
  }
  
  .btned--primary:hover {
    background: #7f8ff4;
  }
  
  .btned--primary:active {
    background: #7f8ff4;
    box-shadow: none;
  }

  
  
  /* .btned--inside {
   
  } */
  /* .btned--inside:active{
    transform: translateX(96px);
    transition: transform 0.4s;
    background: #7f8ff4;
  } */

  /* .btned--inside:active{
    margin-left: 10px;
    background: #7f8ff4;
  } */

  /* .container-email .btned--primary:active{
    
    background-color: #6976ca !important;
  } */

 
  
  .form__field {
    width: 360px;
    background: #fff;
    color: #7f8ff4;
    font-family: "Lato", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: large;
    box-shadow: 0 6px 10px 0 rgba(0, 0, 0, 0.1);
    border: 0;
    outline: 0;
    padding: 22px 18px;
    transition: transform 0.6s ease;
    transform-origin: center;
  }

  .form__field:focus {
    box-shadow: 0 0 0 2px rgba(127, 143, 244, 0.5);
  }


  .form__field.rotate {
    transform: rotateX(89deg);
    height: 3px;
    padding: 22px 18px;
    background-color: #7f8ff4;
    border: 2px solid #7f8ff4;
}

#submited {
  transition: all 0.6s ease;
    cursor: pointer;
}
.btned--primary.rotate {
  transform: rotateX(89deg);
  height: 3px;
  background-color: #7f8ff4;
  border: 2px solid #7f8ff4;
}



  .confirmation-message{
    display: none;
    height: 0;
    overflow: hidden;
    transition: height 0.6s ease;
    font-family: "Lato", sans-serif;
    font-weight: 600;
    font-style: normal;
    font-size: large;
    color: #7ff4c1;
  }

  @media screen and (max-width: 768px){
    
    .hero{
      height: 135vh;
    }

    .hero h1{
      font-size: 3rem;
    }

    .hero h3{
      font-size: calc(1.3rem + .6vw);
    }

    .hero p{
      font-size: 0.8rem;
    }

    .container-hero {
      margin-top: -120px;
  }

    .form__field{
      width: 100%;
    }
  
  .btned--primary{
      margin-left: 50%;
      margin-top: 10px;
      transform: translateX(-50%);
    }
    
  }

  .section-2{
    font-family: "Roboto", sans-serif;
  font-weight: 500;
  font-style: normal;;
  }
  .section-2 p{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    font-size: 1.1rem;
    color: var(--color-grey); 
  }

  .partner-logo {
    max-width: 80px;
    filter: grayscale(100%);
    transition: 0.3s;
  }
  .partner-logo:hover {
    filter: grayscale(0%);
  }

  /* .temoignages h3{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
  } */

  .temoignages p{
    font-size: 1rem;
    color: var(--color-grey); 
    font-weight: 600;
    font-family: "Oswald", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;

  }

  .temoignages .btn{
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    border-radius: 2px;
    background-color: var(--color-primary);
    
  }
  .temoignages .btn:hover{
    background-color: var(--color-primary-hover);
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    transition: all 0.3s ease;
  }
  .temoignages .btn:active{
    background-color: var(--color-primary-active);
    box-shadow: none;
  }

.carousel-control-prev-icon,
        .carousel-control-next-icon {
            background-color: var(--color-primary);
        }

  .footer {
    font-family: "Roboto", sans-serif;
    font-weight: 400;
    font-style: normal;
    background-color: #f8f9fa;
    padding: 20px 0;
  }

  .footer a{
    color: var(--color-primary);
  }
 