@import url("https://fonts.cdnfonts.com/css/lato");

:root {
  --primary: #069ede;
  --light: #eaf5fc;
  --dark: #000000;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Lato", sans-serif;
  font-weight: bold;
  background-color: white;
  color: var(--dark);
}

h1 {
  font-size: 52px;
  line-height: 1.2;
  margin-bottom: 1.2rem;
}

h2 {
  font-size: 32px;
  line-height: 1.2;
}

h3 {
  font-size: 26px;
  line-height: 1.2;
}

h4 {
  font-size: 20px;
  line-height: 1.2;
}

h1,
h2,
h3,
h4 {
  font-family: "Lato", sans-serif;
  font-weight: bolder;
}

p {
  font-size: 14px;
  line-height: 1.8;
  font-weight: bold;
}

a {
  text-decoration: none;
}

@media screen and (max-width: 900px) {
  h1 {
    font-size: 36px;
    line-height: 1.2;
  }

  h2 {
    font-size: 26px;
    line-height: 1.2;
  }

  h3 {
    font-size: 22px;
    line-height: 1.2;
  }

  h4 {
    font-size: 18px;
    line-height: 1.2;
  }
}

.header-btn {
  font-size: 16px;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  padding: 1rem 2rem;
  margin-top: 2rem;
  appearance: none;
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
  box-shadow: 0 2px 25px rgb(6, 158, 222, 0.5);
  text-transform: uppercase;
}

.content-btn {
  font-size: 14px;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  padding: 1rem 1.8rem;
  margin-top: 1.5rem;
  appearance: none;
  background-color: var(--primary);
  color: white;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
  box-shadow: 0 2px 25px rgb(6, 158, 222, 0.5);
  text-transform: uppercase;
}

.heading-lines {
  width: 150px;
  height: 3.5px;
  border: none;
  background: var(--primary);
  border-radius: 50px;
  margin-bottom: 2rem;
}

@media screen and (max-width: 535px) {
  .header-btn {
    font-size: 14px;
  }

  .content-btn {
    font-size: 12px;
  }
  p {
    font-size: 12px;
    line-height: 1.6;
    font-weight: bold;
  }
}

/* -------------------------------------- */

.container {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.container img {
  width: 220px;
}

nav {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 99;
  background-color: white;
  padding: 1rem 3rem;
  box-shadow: rgb(0, 0, 0, 0.1) 0 3px 20px;
}

nav i {
  font-size: 18px;
  margin-right: 0.3rem;
}

.Hamburger {
  display: block;
  position: relative;
  z-index: 1;
  user-select: none;
  appearance: none;
  border: none;
  outline: none;
  background: none;
  cursor: pointer;
}

.Hamburger span {
  display: block;
  width: 33px;
  height: 5px;
  margin-bottom: 5px;
  background-color: var(--dark);
  border-radius: 6px;
  z-index: 1;
  position: relative;
  transform-origin: 0 0;
  transition: 0.4s;
}

.Hamburger:hover span:nth-child(1) {
  transform: translateX(10px);
  background-color: var(--primary);
}
.Hamburger:hover span:nth-child(3) {
  transform: translateX(10px);
  background-color: var(--primary);
}

.Hamburger.is-active span:nth-child(1) {
  transform: translate(0px, -2px) rotate(45deg);
}

.Hamburger.is-active span:nth-child(2) {
  opacity: 0;
  transform: translateX(15px);
}

.Hamburger.is-active span:nth-child(3) {
  transform: translate(-3px, 1.5px) rotate(-45deg);
}

.Hamburger.is-active:hover span {
  background-color: var(--primary);
}

.menu {
  display: none;
  flex: 1 1 0%;
  justify-content: end;
  margin: 0 -5px;
}

.menu a {
  color: var(--primary);
  font-weight: 600;
  margin: 0 5px;
  font-size: 14px;
  transition: 0.4s;
  padding: 0.8rem 1.5rem;
  border-radius: 100px;
}

.menu a.is-active {
  border: 2px solid #069ede;
  border-radius: 50px;
  color: var(--primary);
}

.menu a.is-active:hover {
  background: #069ede;
  color: white;
  box-shadow: rgb(6, 158, 222, 0.3) 0 0 12px;
}

.menu a:hover {
  color: var(--primary);
  text-shadow: rgb(6, 158, 222, 0.3) 0 0 12px;
}

.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 98;
  padding-top: 10rem;
  opacity: 0;
  transform: translateY(-100%);
  background-color: var(--primary);
  color: white;
  transition: 0.3s;
}

.mobile-menu.is-open {
  opacity: 1;
  height: 100%;
  transform: translateY(0);
}

.mobile-menu a {
  display: block;
  margin: 0 auto;
  margin-bottom: 3rem;
  color: white;
  text-align: center;
  font-size: 1.25rem;
  transition: 0.3s;
}

.mobile-menu i {
  font-size: 22px;
  margin-right: 0.5rem;
}

.mobile-menu a.is-active {
  width: 300px;
  margin: 0 auto;
  background-color: white;
  color: var(--primary);
  font-weight: 600;
  transition: 0.3s;
  padding: 1rem 1.5rem;
  border-radius: 100px;
}

.mobile-menu a.is-active:hover {
  border: 2px solid white;
  background: none;
  border-radius: 50px;
  color: white;
}

.mobile-menu a:hover {
  color: #8cdcff;
}

@media screen and (min-width: 935px) {
  .Hamburger {
    display: none;
  }
  .menu {
    display: flex;
  }
  .mobile-menu {
    display: none;
  }
}

@media screen and (max-width: 668px) {
  .container img {
    width: 180px;
  }
}

/* header-section */

#header-section {
  max-width: 100%;
  background: white;
  height: 100%;
}

.header-sec {
  max-width: 1780px;
  height: 100%;
  padding: 3rem;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  margin-top: 6.4rem;
}

.left-section {
  width: 50%;
  align-items: center;
}

.left-section h3 {
  color: var(--primary);
  margin-bottom: 1rem;
}

.left-section p {
  font-size: 18px;
}

.left-section i {
  font-size: 24px;
  color: var(--primary);
}

.first-para {
  margin-bottom: 1rem;
}

.right-section {
  width: 50%;
  display: flex;
  justify-content: end;
}

.right-section img {
  width: 80%;
}

@media screen and (min-width: 921px) and (max-width: 1145px) {
  .right-section img {
    width: 100%;
  }
}

@media screen and (min-width: 669px) and (max-width: 920px) {
  .header-sec {
    display: block;
  }

  .left-section {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
  }

  .heading-item {
    display: flex;
    gap: 1rem;
    align-items: center;
    justify-content: center;
  }

  .right-section {
    width: 100%;
    display: flex;
    justify-content: center;
  }
}

@media screen and (max-width: 668px) {
  .header-sec {
    display: block;
    margin-top: 6rem;
  }

  .left-section {
    width: 100%;
    text-align: center;
    margin-bottom: 3rem;
  }

  .right-section {
    width: 100%;
    display: flex;
    justify-content: center;
  }

  .left-section p {
    font-size: 16px;
  }

  .left-section i {
    font-size: 22px;
    color: var(--primary);
  }
}

/* ----------------------------------------- */
/* Form section */
#Form-section {
  width: 100%;
  padding: 3rem;
  margin: 0 auto;
  background-image: linear-gradient(#eaf5fc, white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#Form-section h2 {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5rem;
}

.Form-container {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
}

.left-container {
  width: 100%;
}

.left-container img {
  width: 550px;
}

.right-container {
  width: 100%;
}

#regForm {
  width: 100%;
  text-align: center;
}

input {
  font-family: "Lato", sans-serif;
  padding: 1rem;
  width: 100%;
  border: 2px solid var(--primary);
  border-radius: 10px;
  margin-bottom: 1rem;
}

select {
  font-family: "Lato", sans-serif;
  padding: 1rem;
  width: 100%;
  border: 2px solid var(--primary);
  border-radius: 10px;
  margin-bottom: 1rem;
}

input.invalid {
  background-color: #ffdddd;
}

select.invalid {
  background-color: #ffdddd;
}

.tab {
  display: none;
}

.tab h3 {
  margin-bottom: 0.5rem;
  text-align: left;
}

.step {
  height: 15px;
  width: 15px;
  margin: 0 2px;
  background-color: #d6f3ff;
  border: none;
  border-radius: 50%;
  display: inline-block;
  opacity: 0.5;
}

optgroup {
  color: var(--primary);
}

optgroup option {
  color: var(--dark);
}

.step.active {
  opacity: 1;
  background-color: var(--primary);
}

.step.finish {
  background-color: var(--primary);
}

#prevBtn {
  background: #d6f3ff;
  color: var(--primary);
  font-size: 14px;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
}

#nextBtn {
  background: var(--primary);
  color: white;
  font-size: 14px;
  font-family: "Lato", sans-serif;
  font-weight: bold;
  text-transform: uppercase;
  padding: 1rem 1.8rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  transition: transform ease-in 0.1s, box-shadow ease-in 0.25s;
  box-shadow: 0 0 15px rgb(6, 158, 222, 0.6);
}

@media screen and (min-width: 922px) and (max-width: 1165px) {
  .left-container img {
    width: 100%;
  }
}

@media screen and (min-width: 416px) and (max-width: 921px) {
  .left-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }
  .left-container img {
    width: 70%;
  }
  .tab h3 {
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .Form-container {
    flex-direction: column;
  }
  .heading-lines {
    margin: auto;
    margin-bottom: 2rem;
  }
}

@media screen and (max-width: 415px) {
  #Form-section {
    padding: 3rem 1.5rem;
  }
  .left-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
  }
  .left-container img {
    width: 90%;
  }
  .tab h3 {
    margin-bottom: 0.5rem;
    text-align: center;
  }
  .Form-container {
    flex-direction: column;
  }
  .heading-lines {
    margin: auto;
    margin-bottom: 2rem;
  }
}

/* ----------------------------------------- */
/* nous-choisir */

#nous-choisir {
  width: 100%;
  padding: 3rem;
  margin: 0 auto;
  background-image: linear-gradient(#eaf5fc, white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#nous-choisir h2 {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5rem;
}

.choisir-container {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  gap: 2rem;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: rgb(6, 158, 222, 0.3) 0 0 20px;
}

.left-side {
  width: 100%;
}

.left-items {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.left-items img {
  width: 8rem;
}

.right-side img {
  width: 600px;
}

.right-side {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: end;
}

@media screen and (min-width: 922px) and (max-width: 1165px) {
  .left-items h4 {
    font-size: 18px;
  }

  .left-items img {
    width: 6.5rem;
  }

  .right-side img {
    width: 400px;
  }
}

@media screen and (min-width: 536px) and (max-width: 921px) {
  .choisir-container {
    display: flex;
    flex-direction: column;
  }
  .right-side img {
    width: 100%;
  }
}

@media screen and (max-width: 535px) {
  .choisir-container {
    display: flex;
    flex-direction: column;
  }
  .right-side img {
    width: 100%;
  }
  .left-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
  }
}

@media screen and (max-width: 415px) {
  #nous-choisir {
    padding: 3rem 1.5rem;
  }
  .choisir-container {
    display: flex;
    flex-direction: column;
  }
  .right-side img {
    width: 100%;
  }
  .left-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    text-align: center;
    margin-bottom: 1rem;
  }
}

/* contact */

#nous-contacter {
  width: 100%;
  padding: 3rem;
  margin: 0 auto;
  background-image: linear-gradient(#eaf5fc, white);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

#nous-contacter h2 {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5rem;
}

.contact-container {
  max-width: 1680px;
  margin: 0 auto;
  display: flex;
  gap: 3rem;
}

.left-contact {
  width: 100%;
  text-align: center;
  background: white;
  border-radius: 20px;
  padding: 2.5rem;
  box-shadow: rgb(6, 158, 222, 0.3) 0 0 20px;
}

textarea {
  font-family: "Lato", sans-serif;
  padding: 1rem;
  width: 100%;
  border: 2px solid var(--primary);
  border-radius: 10px;
  margin-bottom: 1rem;
  resize: none;
}

.right-contact {
  width: 100%;
}

.right-contact h3 {
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.right-contact p {
  margin-bottom: 1.5rem;
  font-size: 16px;
}

.contact-items {
  display: flex;
  gap: 1rem;
  align-items: center;
  margin-left: -0.5rem;
}

.contact-items img {
  width: 5rem;
}

.contact-items h4 {
  font-size: 18px;
}

@media screen and (min-width: 416px) and (max-width: 800px) {
  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
}
@media screen and (max-width: 415px) {
  #nous-contacter {
    padding: 3rem 1.5rem;
  }
  .contact-container {
    display: flex;
    flex-direction: column;
    gap: 3rem;
  }
  .right-contact {
    width: 100%;
    text-align: center;
  }
  .contact-items {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
    align-items: center;
    margin-left: 0;
  }
  .contact-items1 {
    margin-bottom: 1rem;
  }
}

/* Footer */

.footer-section {
  width: 100%;
  background: var(--primary);
  padding: 3rem;
}

.lists-footer {
  max-width: 1680px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  justify-items: center;
  margin-bottom: 4rem;
}

.footer-title {
  font-size: 24px;
  font-weight: bold;
  color: white;
}

.social-list img {
  width: 300px;
  margin-bottom: 1.5rem;
}

.footer-mark {
  text-align: center;
  font-size: 16px;
  color: white;
}

.lists-footer ul {
  list-style: none;
}

.lists-footer ul li {
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 1.5rem;
}

.social-list p {
  list-style: none;
  margin-bottom: 50px;
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
  line-height: 1.5;
}

.footer-title p {
  list-style: none;
  margin-bottom: 50px;
  font-size: 16px;
  font-weight: 500;
  color: white;
  margin-bottom: 20px;
  line-height: 1.5;
}

.second-list .contact-items img {
  width: 4rem;
}

.second-list .contact-items h4 {
  font-size: 16px;
  color: white;
}

.social-list i {
  font-size: 26px;
  color: white;
  margin-bottom: 35px;
  width: 50px;
  height: 50px;
  border: 2px solid white;
  background: none;
  border-radius: 100px;
  vertical-align: middle;
  text-align: center;
  padding-top: 0.65rem;
}

@media screen and (min-width: 769px) and (max-width: 1000px) {
  .lists-footer {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 20px;
  }
  .footer-section {
    width: 100%;
    background: var(--primary);
    padding: 3rem;
  }

  .second-list .contact-items {
    flex-direction: column;
    gap: 0.5rem;
  }

  .second-list .contact-items1 {
    margin-bottom: 0.7rem;
  }

  .lists-footer hr {
    margin: auto;
  }

  .footer-title {
    font-size: 22px;
  }
  .lists-footer ul li {
    font-size: 16px;
  }

  .social-list p {
    font-size: 16px;
  }
  .social-list i {
    font-size: 26px;
    color: white;
    margin-bottom: 35px;
    width: 50px;
    height: 50px;
    border: 2px solid white;
    background: none;
    border-radius: 100px;
    vertical-align: middle;
    text-align: center;
    padding-top: 0.65rem;
  }
}
@media screen and (min-width: 701px) and (max-width: 768px) {
  .lists-footer {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 20px;
  }
  .footer-section {
    width: 100%;
    background: var(--primary);
    padding: 3rem;
  }

  .second-list .contact-items {
    flex-direction: column;
    gap: 0.5rem;
  }

  .second-list .contact-items1 {
    margin-bottom: 0.7rem;
  }

  .lists-footer hr {
    margin: auto;
  }
  .footer-title {
    font-size: 20px;
  }
  .lists-footer ul li {
    font-size: 14px;
  }

  .social-list p {
    font-size: 14px;
  }
  .social-list i {
    font-size: 26px;
    color: white;
    margin-bottom: 35px;
    width: 50px;
    height: 50px;
    border: 2px solid white;
    background: none;
    border-radius: 100px;
    vertical-align: middle;
    text-align: center;
    padding-top: 0.65rem;
  }
}
@media screen and (min-width: 471px) and (max-width: 700px) {
  .lists-footer {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 20px;
  }
  .footer-section {
    width: 100%;
    background: var(--primary);
    padding: 3rem;
  }
  .second-list .contact-items {
    flex-direction: column;
    gap: 0.5rem;
  }

  .second-list .contact-items1 {
    margin-bottom: 0.7rem;
  }
  .lists-footer hr {
    margin: auto;
  }
}
@media screen and (min-width: 416px) and (max-width: 470px) {
  .lists-footer {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 20px;
  }
  .lists-footer hr {
    margin: auto;
  }
  .lists-footer ul {
    list-style: none;
    margin-bottom: 35px;
  }
  .second-list .contact-items {
    flex-direction: column;
    gap: 0.5rem;
  }

  .second-list .contact-items1 {
    margin-bottom: 0.7rem;
  }
  .footer-section {
    width: 100%;
    background: var(--primary);
    padding: 3rem;
  }
  .footer-title {
    font-size: 20px;
  }
  .lists-footer ul li {
    font-size: 14px;
  }

  .social-list p {
    font-size: 14px;
  }
  .social-list i {
    font-size: 26px;
  }
  .footer-mark {
    text-align: center;
    font-size: 16px;
    color: white;
  }
  .social-list img {
    width: 250px;
    margin-bottom: 1.5rem;
  }
}

@media screen and (max-width: 415px) {
  .lists-footer {
    width: 100%;
    display: block;
    text-align: center;
    padding: 10px 20px;
  }
  .lists-footer hr {
    margin: auto;
  }
  .lists-footer ul {
    list-style: none;
    margin-bottom: 35px;
  }
  .footer-section {
    width: 100%;
    background: var(--primary);
    padding: 3rem;
  }
  .footer-title {
    font-size: 20px;
  }
  .lists-footer ul li {
    font-size: 14px;
  }

  .social-list p {
    font-size: 14px;
  }
  .social-list i {
    font-size: 24px;
    color: white;
    margin-bottom: 35px;
    width: 45px;
    height: 45px;
    border: 2px solid white;
    background: none;
    border-radius: 100px;
    vertical-align: middle;
    text-align: center;
    padding-top: 0.55rem;
  }
  .footer-mark {
    text-align: center;
    font-size: 16px;
    color: white;
  }
  .footer-section {
    padding: 3rem 1.5rem;
  }
  .social-list img {
    width: 250px;
    margin-bottom: 1.5rem;
  }
}

/* Confirmation */

#confirmation {
  max-width: 100%;
  background: white;
  height: 100%;
  padding: 3rem;
  margin-top: 6.4rem;
}

#confirmation h2 {
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 4rem;
}

.confirmation-content {
  max-width: 1780px;
  height: 100%;
  padding: 3rem;
  margin: 0 auto;
  text-align: center;
  background: var(--light);
  border-radius: 20px;
}

.confirmation-content img {
  width: 180px;
}

.confirmation-content p {
  color: var(--dark);
  font-size: 20px;
  font-weight: bold;
  line-height: 1.6;
  margin: 2rem 0;
}

@media screen and (max-width: 535px) {
  #confirmation {
    padding: 3rem 1rem;
    margin-top: 6rem;
  }
  .confirmation-content img {
    width: 140px;
  }
  .confirmation-content p {
    font-size: 16px;
    line-height: 1.6;
  }
}
