/* Hero Section */

.hero_services {
  background-image: url("../assets/images/contactusimages/backgroundimage.webp");
  padding: 50px 0px;
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
  height: 654px;
  width: 100%;
  aspect-ratio: 1.5 auto;
}

.hero_services_title {
  font-weight: 700;
  color: #ffffff;
  line-height: 77.45px;
  font-size: 40px;
  margin: 0;
  height: 60px;
}

.hero_services_description {
  font-weight: 400;
  line-height: 29.05px;
  font-size: 17px;
  color: #ffffff;
}

.hero_services_content_container {
  padding: 15px;
}

/* Info Section */

.info {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding-top: 40px;
  padding-bottom: 40px;
}

.info_container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.info_content_container {
  width: 303px;
  height: 256px;
  border: 1px #000000 solid;
  margin: 8px 0px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  box-shadow: 0px 4px 4px 0px #00000040;
  box-shadow: 0px 4px 4px 0px #00000040;
}

.info_icon {
  width: 108px;
  height: 102px;
  object-fit: contain;
}

.info_title {
  text-align: center;
  font-size: 17px;
}

.info_content_title {
  font-weight: 400;
  font-size: 18px;
  line-height: 20.57px;
}

.info_content_subtitle {
  font-weight: 900;
  margin: 0;
  font-size: 15px;
  line-height: 20.57px;
}

.info_content_subtitle > a {
  color: black;
  text-decoration: none;
}

.info_line_img {
  width: 300px;
}

/* Form */
.form {
  display: flex;
  background-color: #0971d2;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 50px 0px;
}

.form_title {
  color: #ffffff;
  font-weight: 400;
  text-align: center;
}

.form_input {
  border: 0px;
  border-bottom: 2px solid;
  padding-bottom: 10px;
  background-color: transparent;
  color: #ffffff;
  padding-bottom: 4px;
  padding-top: 10px;
}

::placeholder {
  color: #ffffff;
  opacity: 1; /* Firefox */
}

::-ms-input-placeholder {
  /* Edge 12 -18 */
  color: #ffffff;
}

.form_input_label {
  color: #ffffff;
}

.form_input_container {
  display: flex;
  flex-direction: column;
  width: 300px;
  margin-bottom: 20px;
}

.form_container {
  margin: 15px 0px;
}

.line {
  border: 3px solid #ffffff;
  width: 300px;
  margin-top: 15px;
  display: block;
}

.form_messagebox {
  margin-top: 7px;
  padding-top: 0px;
  padding-bottom: 70px;
}

/* ---Media Queries--- */

/* Medium Devices, Tablets */
@media only screen and (min-width: 768px) {
  .hero_services {
    background-attachment: fixed;
  }

  .hero_services_content_container {
    margin: 25px;
  }
  .hero_services_description {
    font-size: 19px;
  }

  .hero_services_title {
    font-size: 54px;
  }

  .form_container {
    width: 500px;
  }

  .form_input_container {
    width: 100%;
  }
  .form_title {
    font-size: 20px;
  }

  .info_content_container {
    margin-bottom: 40px;
  }

  .line {
    width: 500px;
  }

  .info_title {
    font-size: 20px;
  }
  .info_line_img {
    width: 380px;
  }
}

.form_input_honeypot {
  position: absolute;
  left: -5000px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
}

.form_btn_container {
  display: flex;
  flex-direction: row-reverse;
  justify-content: space-between;
  align-items: center;
}

.form_success_message {
  color: #fff;
  font-weight: bold;
  margin: 0;
}

.form_error_message {
  color: #edffee;
  font-weight: bold;
  margin: 0;
}

.hidden_text {
  display: none;
}

/* Desktops */
@media only screen and (min-width: 1024px) {
  .hero_services {
    height: 715px;
  }
  .hero_services_content_container {
    margin: 25px;
  }

  .hero_services_description {
    font-size: 24px;
  }

  .hero_services_title {
    font-size: 64px;
  }

  .info_container {
    flex-direction: row;
  }
  .line {
    width: 15%;
  }

  .info_title {
    font-size: 24px;
    font-weight: 400;
    line-height: 29.05px;
  }

  .info_content_container {
    margin-left: 15px;
    margin-right: 15px;
    margin-top: 10px;
  }

  .form {
    flex-direction: row;
    justify-content: space-around;
    padding: 0px;
  }

  .form_title {
    font-size: 29px;
    margin-top: 10px;
    text-align: start;
    width: 220px;
  }

  .line {
    width: 98px;
    border: 2px solid #ffffff;
  }

  .form_info_container {
    width: 200px;
    flex: 0 1 40%;
    margin-left: 30px;
    margin-bottom: 170px;
  }

  .form_container {
    flex: 1 50%;
    margin-right: 90px;
    padding-top: 60px;
    padding-bottom: 100px;
  }

  .form_name_email_container {
    display: flex;
  }

  .spaceout {
    padding-right: 40px;
  }

  .form_container {
    display: flex;
    flex-direction: column;
  }

  .form_container > button {
    align-self: flex-end;
  }

  .info {
    padding-top: 60px;
    padding-bottom: 60px;
  }
}

/* Large Desktops */
@media only screen and (min-width: 1440px) {
  .form_container {
    max-width: 1000px;
  }
  .form {
    justify-content: center;
  }

  .form_info_container {
    margin-bottom: 175px;
  }

  .hero_services_content_container {
    margin: 40px;
  }
}
