/* CSS for Get in touch form */
.acf-layout-form-two {
  color: #fff;
}

.form-section-wrapper-2 {
  position: relative;
  height: 983px;
  overflow: hidden;
}

.form-bg-image-2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.form-section-wrapper-2::before {
  content: "";
  position: absolute;
  inset: 0;
  background: #00000066;
  z-index: 1;
}

.form-section-content-2 {
  position: relative;
  z-index: 2;
  height: 100%;
}

.form-section-content-2 .heading-container {
  padding: 0 3%;
}

.form-section-content-2 .heading {
  font-weight: 700;
  font-size: clamp(1.5rem, 1.2214rem + 1.1429vw, 2.25rem);
  letter-spacing: 0%;
}

.form-section-content-2 .content {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  padding-top: 25px;
}

.form-section-content-2 .column-1 {
  padding-top: 95px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.form-section-content-2 .column-2 {
  padding: 50px 0;
}

.form-wrapper-2-container {
  padding: 0 3%;
}

.form-wrapper-2 {
  background-color: #fff;
  padding: 30px;
  color: #000;
  padding: 40px 70px;
}
.form-wrapper-2 .heading {
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
  margin-bottom: 25px;
}

/* form styles  */
.form-wrapper-2 label {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #504d50;
}

.form-wrapper-2 input::placeholder,
.form-wrapper-2 textarea::placeholder {
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #b4bbbf;
}

/* Input, textarea & select */
.form-wrapper-2 .wpcf7 input:not([type="submit"]),
.form-wrapper-2 .wpcf7 textarea,
.form-wrapper-2 .wpcf7 select {
  width: 100%;
  padding: 15px 10px;
  border: 1px solid #b4bbbf;
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  letter-spacing: 0%;
  color: #504d50;
  border-radius: 5px;
}
.form-wrapper-2 .wpcf7 select {
  color: #161616;
}

.form-wrapper-2 .wpcf7 label:has(select) {
  color: #ef4129;
}

/* Form Grid */
.form-wrapper-2 .wpcf7 form {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.form-wrapper-2 .wpcf7-response-output {
  grid-column: 1 / -1;
  width: 100%;
  margin: 20px 0 0 !important;
}

/* Remove default paragraph margin */
.form-wrapper-2 .wpcf7 form > p {
  margin: 0;
}

/* Labels */
.form-wrapper-2 .wpcf7 form > p label {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

/* 6th paragraph (Submit button) */
.form-wrapper-2 .wpcf7 form > p:nth-of-type(8),
.form-wrapper-2 .wpcf7 form > p:nth-of-type(9) {
  grid-column: 1 / -1;
}

/* Inputs */
.form-wrapper-2 .wpcf7 input:not([type="submit"]),
.form-wrapper-2 .wpcf7 textarea {
  width: 100%;
  padding: 16px;
  border: 1px solid #d9d9d9;
  border-radius: 5px;
  box-sizing: border-box;
}

/* Textarea */
.form-wrapper-2 .wpcf7 textarea {
  height: 120px;
  resize: vertical;
}

.form-wrapper-2 .wpcf7 br {
  display: none;
}

.form-wrapper-2 button {
  background-color: transparent;
  border: none;
  border-radius: 100px;
  height: 47px;
}

@media (min-width: 992px) and (max-width: 1439px) {
  .form-section-content-2 .heading {
    font-size: 22px;
  }
}

/* Mobile */
@media (max-width: 767px) {
  .form-section-wrapper-2 {
    height: auto;
  }

  .form-wrapper-2 {
    padding: 20px;
  }

  .form-wrapper-2 .wpcf7 form {
    grid-template-columns: 1fr;
  }

  .form-wrapper-2 .wpcf7 form > p:nth-of-type(5),
  .form-wrapper-2 .wpcf7 form > p:nth-of-type(6) {
    grid-column: auto;
  }
  .form-section-content-2 .heading-container {
    padding: 0;
  }
}
