.contact {
  padding: 256px 0;
  display: flex;
  justify-content: center;
  gap: 84px;
  width: 80%;
  margin: 0 auto;
}

.contact section.haveQuestions {
  max-width: 500px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 48px;
}

section.haveQuestions h2 {
  margin-bottom: 12px;
}

section.haveQuestions h2, p {
  text-align: left;
}

section.haveQuestions p.xs:last-child {
  opacity: 0.5;
}

.contact .line {
  width: 2px;
  flex-shrink: 1;
  background-color: var(--darkGrey);
  border-radius: 20px;
}

.contact section.form {
  max-width: 600px;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section.form .header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 12px;
}

section.form form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

section.form input, section.form textarea {
  padding: 16px;
  border: none;
  outline: none;
  background-color: var(--lightYellow);
  color: var(--darkGrey);
  border-radius: 10px;
  font-family: var(--fontMedium);
  font-size: 16px;
  line-height: 28px;
}

section.form input::placeholder, section.form textarea::placeholder {
  color: var(--darkYellow);
}
textarea {
  height: 180px;
  resize: none;
}

input::placeholder, textarea::placeholder {
  color: var(--darkYellow);
}

@media screen and (max-width: 1000px) {
  
  .contact {
    width: 80%;
    padding: 128px 0;
    flex-direction: column;
    gap: 64px;
  }

  .contact .line {
    height: 2px;
    width: 100%;
  }

  section.form .button-container {
    display: flex;
    flex-direction: column;
  }
  
}