/* banner */
.banner {
  height: 200px;
  border-radius: 0px 0px 50px 50px;
}
#contactUsBanner {
  background: linear-gradient(
      90deg,
      rgba(102, 172, 76, 0.85) 16.71%,
      rgba(102, 172, 76, 0) 101.22%
    ),
    url(./../assets/contact_us/banner.png);
  background-position: bottom;
  background-size: cover;
}
.bannerText {
  font-size: 30px;
  color: var(--white);
  padding: 80px 0 0 100px;
  font-weight: bold;
}

#contactUsSection {
  padding: 55px 100px 130px 100px;
  display: flex;
  gap: 30px;
}

.formCard {
  background: var(--grayEF);
  border-radius: 10px;
  flex: 55%;
  padding: 30px;
}
.formWrapper {
  margin: 20px 0;
}
.form {
  display: flex;
  flex-flow: column;
  gap: 30px;
}
.row {
  display: flex;
  gap: 30px;
}
.col {
  flex: 50%;
  display: flex;
  flex-flow: column;
  gap: 10px;
}
.label {
  font-size: 16px;
}
input,
select {
  background: var(--white);
  box-shadow: 0px 1px 3px 1px rgba(51, 51, 51, 0.1);
  border-radius: 5px;
  border: 10px solid var(--white);
  height: 35px;
}
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: none;
}
select {
  height: 40px;
}
textarea {
  background: var(--white);
  box-shadow: 0px 1px 3px 1px rgba(51, 51, 51, 0.1);
  border-radius: 5px;
  border: 10px solid var(--white);
  resize: vertical;
}
button {
  border: none;
  font-family: "Average Sans";
  font-size: 16px;
}
button:focus-visible {
  outline: none;
}
.required {
  color: red;
  font-size: 20px;
}
.contactDetailsWrapper {
  flex: 45%;
}
.contactDetails {
  width: 65%;
  margin-top: 25px;
}
.topic:nth-child(2) {
  border-bottom: 1px solid #e0e0e0;
}
.title {
  font-weight: 600;
  font-size: 20px;
  color: var(--black33);
}
.topic {
  display: flex;
  flex-flow: column;
  gap: 20px;
  padding: 20px 0;
}

.topicName {
  font-weight: 600;
  font-size: 18px;
  text-decoration-line: underline;
  color: var(--black33);
}
.dataLine {
  display: flex;
  justify-content: start;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  padding-left: 10px;
}

/* responsive */
@media (min-device-width: 1024px) and (max-device-width: 1120px) {
  #contactUsSection {
    padding: 25px 80px;
  }
}
@media (min-device-width: 1121px) and (max-device-width: 1279px) {
  #contactUsSection {
    padding: 25px 100px;
  }
}
@media only screen and (max-device-width: 1023px) {
  .banner {
    height: 170px;
  }
  .bannerText {
    padding: 40px 0 0 30px;
  }
  #contactUsSection {
    padding: 40px 20px;
  }
}

@media only screen and (max-device-width: 620px) {
  .banner {
    height: 120px;
    border-radius: 0 0 25px 25px;
  }
  .bannerText {
    font-size: 16px;
  }
  #contactUsSection {
    padding: 25px 20px;
  }
  .title,
  .topicName {
    font-size: 16px;
  }
  .row {
    flex-flow: column;
  }
  .formCard {
    padding: 15px;
  }
  .row,
  .form {
    gap: 15px;
  }
  input,
  select {
    border: 5px solid var(--white);
  }
  .label,
  .required {
    font-size: 14px;
  }
  .dataLine {
    font-size: 14px;
  }
}
@media only screen and (max-device-width: 949px) {
  .bannerText {
    font-size: 20px;
  }
  #contactUsSection {
    flex-flow: column;
  }
  .contactDetails {
    margin: 0;
    width: 100%;
  }
}

@media only screen and (min-device-width: 1441px) {
  #contactUsSection {
    padding: 25px 150px;
  }
  .bannerText {
    padding-left: 150px;
  }
}

@media only screen and (min-device-width: 1600px) {
  #contactUsSection {
    padding: 25px 200px;
  }
  .bannerText {
    padding-left: 200px;
  }
}

@media only screen and (min-device-width: 1700px) {
  #contactUsSection {
    padding: 25px 250px;
  }
  .banner {
    height: 300px;
  }
  .bannerText {
    padding-top: 130px;
    padding-left: 250px;
  }
}
@media only screen and (min-device-width: 1750px) {
  #contactUsSection {
    padding: 25px 300px;
  }
  .banner {
    height: 300px;
  }
  .bannerText {
    padding-top: 130px;
    padding-left: 300px;
  }
}
@media only screen and (min-device-width: 1800px) {
  #contactUsSection {
    padding: 25px 350px;
  }
  .banner {
    height: 300px;
  }
  .bannerText {
    padding-top: 130px;
    padding-left: 350px;
  }
}
@media only screen and (min-device-width: 1900px) {
  #contactUsSection {
    padding: 25px 400px;
  }
  .banner {
    height: 300px;
  }
  .bannerText {
    padding-top: 130px;
    padding-left: 400px;
  }
}
