.contact-page {
  max-width: 37%;
  padding: 23px;
  font-family: 'Roboto', sans-serif;
  color: var(--text-color);;
  background-color:var(--bg-color);
  border-radius: 20px;
  border: 2px solid #F29C38;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  position: relative;
  top: 56px;
  left: 433px;
}

.contact-form-section h2 {
  text-align: center;
  font-size: 1.5rem;
  margin-left: 225px;
  margin-bottom: 17px;
  white-space: nowrap;
}
.contact-page .hero1 {
  text-align: center;
  bottom: 185px;
  left: 269px;
  position: relative;
}

.hero1 h1 {
  white-space: nowrap;
  position: relative;
  left: -21px;
  color: #F29C35;
  bottom: 30px;
}

/* .hero p {
  font-size: 1rem;
  color: #333;
  max-width: 100%;
  text-align: center;
  margin: 26px 0 0px -12px;
  padding: 0 10px;
  position: relative;
  text-align: center;
  max-width: 85%;
  white-space: nowrap;
  left: 32px;
  top: 24px;
} */

.contact-page h1 {
  font-size: 2.5rem;
  color:var(--text-color);
}

/* Formulaire */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 5px;
  width: 100%;
  max-width: 500px;
  left: 59px;
  position: relative;
}

/* Ligne pour label et input */
.form-group-inline {
  display: flex;
  flex-direction: column;
  width: 58%;
}

.form-group-inline label {
  font-size: 1rem;
  position: relative;
  right: 171px;
  top: 0px;
}

.form-group-inline input,
.form-group-inline textarea {
  width: 400px;
  padding: 5px;
  position: relative;
  bottom: 21px;
  left: 100px;
  border: 1px solid #ddd;
  border-radius: 7px;
  background-color: #f9f9f9;
}

.form-group-inline input:focus,
.form-group-inline textarea:focus {
  outline: none;
  border-color: #F29C38;
  box-shadow: 0 0 5px rgba(242, 156, 56, 0.5);
}

/* Champ message (textarea) */
.form-group-inline textarea {
  resize: none;
  height: 83px;
}

/* Bouton d'envoi */
.form-actions {
  text-align: center;
  position: relative;
  bottom: 17px;
}

.btn-submit {
  background-color: #F29C38;
  color: #fff;
  border: none;
  padding: 7px 20px;
  font-size: 1rem;
  font-weight: bold;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  position: relative;
  left: 50px;
  top: 8px;
}

.btn-submit:hover {
  background-color: #e58931;
}

p {
  margin-top: 50px;
}

.para {
  right: 100px;
  position: relative;
  white-space: nowrap;
  top: 25Px;
}

.hero1 p {
  position: relative;
  right: 23px;
  top: -36px;
}

.hero1 h1 {
  white-space: nowrap;
  position: relative;
  right: 22px;
  color: #F29C35;
  bottom: 30px;
}

.contact-form-section {
  top: 40px;
  position: relative;
  right: 284px;
}

/* Réduction de la hauteur du cadre pour qu'il ne touche pas le footer */
.contact-page {
  max-height: 382px;
}

p {
  margin-top: 0px;
}

/* ------------- style pour le formulaire d'inscription ---------------- */
/* confirmation.css */

body {
  font-family: 'Lato', sans-serif;
  background-color: var(--bg-color);
  margin: 0;
  padding: 0;
}

main.confirmation-page {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.confirmation-page h1 {
  font-size: 2.5em;
  margin-bottom: 20px;
  color: #f29c38;
}

.confirmation-page p {
  font-size: 1.2em;
  margin-bottom: 50px;
  max-width: 600px;
  color: #05204a;
}

.confirmation-page .btn-back {
  display: inline-block;
  background-color: #f29c38;
  color: #fff;
  padding: 12px 25px;
  border-radius: 8px;
  font-size: 1em;
  text-decoration: none;
  transition: background-color 0.3s;
}

.confirmation-page .btn-back:hover {
  background-color: #d1832e;
}

/* ============================
   Responsive Design
============================= */
@media (max-width: 768px) {
  .contact-page {
    max-width: 75%;
    max-height: 445px;
    padding: 0px 12px;
    position: relative;
    left: 46px;
    top: 55px;
    display: flex;
  }

  .hero1 h1 {
    white-space: nowrap;
    position: relative;
    left: -21px;
    color: #F29C35;
    bottom: 30px;
}
  .contact-form-section h2 {
    position: relative;
    left: 156px;
    top: 37px;
  }

  .form-group-inline input,
  .form-group-inline textarea {
    width: 270px;
    padding: 5px;
    position: relative;
    top: 38px;
    left: 198px;
  }

  .form-group-inline label {
    font-size: 1rem;
    position: relative;
    left: 202px;
    top: 40px;
  }

  .btn-submit {
    padding: 7px 4px;
    max-width: 80px;
    position: relative;
    left: 194px;
    top: 14px;
  }

  .hero1 p {
    position: relative;
    left: 65px;
    top: -26px;
    font-size: 12px;
  }

  .hero1 h1 {
    white-space: nowrap;
    position: relative;
    left: 66px;
    color: #F29C35;
  }
  .contact-page .hero1 {
    text-align: center;
    bottom: 185px;
    left: 189px;
    position: relative;
}

  .para {
    white-space: normal;
  }

  .form-group-inline {
    display: grid;
    grid-template-columns: 113px 1fr;
    align-items: normal;
    margin-bottom: 20px;
  }

  .contact-form-section {
    top: 12px;
    right: 386px;
  }

  .form-actions {
    text-align: center;
    position: relative;
    top: 11px;
  }
}

@media (min-width: 768px) and (max-width: 1200px) {
  .contact-page {
    max-width: 60%;
    max-height: 454px;
    padding: 0px 12px;
    position: relative;
    left: 174px;
    top: 45px;
  }

  .contact-form-section h2 {
    position: relative;
    left: 170px;
    top: 37px;
  }

  .form-group-inline input,
  .form-group-inline textarea {
    width: 354px;
    padding: 5px;
    position: relative;
    top: 41px;
    left: 184px;
  }

  .form-group-inline label {
    font-size: 1rem;
    position: relative;
    left: 190px;
    top: 45px;
  }

  .btn-submit {
    padding: 7px 4px;
    max-width: 80px;
    position: relative;
    left: 232px;
    top: 41px;
  }

  .hero1 p {
    position: relative;
    left: 57px;
    top: 6px;
    white-space: nowrap;
  }

  .hero1 h1 {
    white-space: nowrap;
    position: relative;
    left: 57px;
    color: #F29C35;
    top: 22px;
  }

  .contact-page .hero1{
      text-align: center;
      bottom: 234px;
      left: 204px;
      position: relative;
  }

  .para {
    white-space: normal;
  }

  .form-group-inline {
    display: grid;
    grid-template-columns: 113px 1fr;
    align-items: normal;
    margin-bottom: 20px;
  }

  .contact-form-section {
    position: relative;
    right: 432px;
    top: 7px;
  }
}