.contact {
  background: #f5f5f7;
  width: 100%;
  min-height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: calc(60px + var(--navbar-height, 0px)) 30px 60px 30px;
  box-sizing: border-box;
}

.contact .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  max-width: 943px;
  width: 100%;
  flex-direction: column;
  text-align: center;
}

.contact .container a {
  align-self: flex-start;
  font-size: 20px;
  font-weight: 500;
  color: #636368;
}

.contact .container a img {
  margin-right: 31px;
  width: 14px;
  height: auto;
}

.contact .container .title {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.contact .container .title h1 {
  font-size: 29px;
  font-weight: 600;
}

.contact .container .title p {
  font-size: 16px;
  font-weight: 500;
  color: #636368;
}

.contact .container #form-contact {
  max-width: 853px;
  width: 100%;
  padding: 40px 51px;
  gap: 40px;
  border-radius: 30px;
  background: #ffffff;
  box-shadow: 0px 6px 15px 0px #00000040;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
}

.contact .container #form-contact .form-group {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 5px;
}

.contact .container #form-contact .form-group label {
  padding-left: 20px;
  font-size: 17px;
  font-weight: 600;
}

.contact .container #form-contact .form-group input {
  width: 100%;
  height: 38px;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 20px;
  border: 2px solid #e1e1e1;
}

.contact .container #form-contact .form-group input.invalid {
  border-color: red;
}

.contact .container #form-contact .form-group textarea {
  width: 100%;
  height: 264px;
  padding: 10px 20px;
  box-sizing: border-box;
  border-radius: 15px;
  border: 2px solid #e1e1e1;
  font-size: 15px;
  font-weight: 400;
  color: #636368;
  resize: none;
}

.contact .container #form-contact .valider {
  padding: 20px 76px;
  border-radius: 38px;
  background: #005bff;
  color: #ffffff;
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
}

/* Conteneur global de la liste déroulante */
.form-group.dropdown {
  position: relative;
}

.form-group.dropdown input {
  cursor: pointer;
}

/* Conteneur de la liste déroulante */
.dropdown-list {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  border: 1px solid #ccc;
  background: #fff;
  border-radius: 4px;
  z-index: 10;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  max-height: 150px;
  overflow-y: auto;
}

/* Options de la liste */
.dropdown-list div {
  padding: 10px;
  cursor: pointer;
  font-size: 16px;
}

/* Survol des options */
.dropdown-list div:hover {
  background: #f0f0f0;
}

/* Liste déroulante active */
.dropdown-list.active {
  display: block;
}

@media screen and (max-width: 600px) {
  .contact {
    padding: 110px 15px;
  }

  .contact .container #form-contact {
    padding: 40px 15px;
    border-radius: 5px;
    box-shadow: none;
  }
}
