/* General styles */
#contact-us::after {
  content: "";
  background-image: url("../images/homepage/contact_us_background.webp");
  background-size: cover;
  width: 100%;
  height: 100%;
  position: absolute;
  background-repeat: no-repeat;
  pointer-events: none; /* Keep this only if the background image should not be interacted with */
  background-position: 0px 0px;
  z-index: 0;
  opacity: 0.8;
}

#contact-us {
  position: relative;
  background: rgba(81, 43, 129, 0.1);
  border-radius: 16px;
  width: 80vw;
  height: auto;
  background-repeat: no-repeat;
  background-position: 0px 0px;
  background-size: cover;
  /* pointer-events: none; Remove this to make the section interactive */
  border-radius: 16px;
  border: 1px solid rgb(173, 90, 204);
  margin: auto;
  display: flex;
  flex-direction: row;
}


#contact-us .husig_h2_tag {
  padding: 0;
  margin: 0;
}

#contact-us #left-contact {
  margin-top: 83px;
  margin-left: 7.39vw;
}

#contact-us #left-contact img {
  margin: 0;
  padding: 0;
  width: 35.6770833333vw;
  height: auto;
  object-fit: cover;
  margin-top: 29px;
}

#contact-us #right-contact {
  width: max-content;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  align-items: flex-end;
  margin-right: 3.28125vw;
  margin-top: 83px;
  margin-bottom: 98px;
  gap: 32px;
}

#contact-us #right-contact form {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 20px;
}

#contact-us #right-contact .label_group {
  display: flex;
  flex-direction: column;
  font-family: "General Sans";
  font-style: normal;
  font-weight: 600;
  font-size: 20px;
  padding-bottom: 20px;
  line-height: 27px;
  color: #ffffff;
  width: 100%;
  gap: 12px;
}

#contact-us #right-contact input,
#contact-us #right-contact textarea {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  background: rgba(81, 43, 129, 0.1);
  border: 1px solid #ad5acc;
  border-radius: 8px;
  padding: 19px 24px 18px 24px;
  font-family: "General Sans";
  font-style: normal;
  font-weight: 500;
  font-size: 20px;
  line-height: 27px;
  color: #ffffff;
}

#contact-us #right-contact input:focus,
#contact-us #right-contact textarea:focus {
  outline: none;
  border: 2px solid rgb(217, 112, 255);
}

#contact-us #contact-us-cta {
  width: 100%;
  margin-top: 0px;
  height: 59px;
}

/* Mobile styles */
@media (max-width: 1256px) {
  #contact-us {
    width: calc((345 / 393) * 100vw);
    flex-direction: column;
    max-width: 768px;
  }

  #contact-us #left-contact {
    margin-left: 0;
  }

  #contact-us #right-contact {
    width: 100%;
    align-items: flex-start;
    margin-right: 0;
    gap: 16.55px;
  }

  #contact-us #right-contact form {
    width: 100%;
    align-items: flex-start;
  }

  #contact-us #right-contact .label_group {
    font-size: 14px;
    line-height: 18.9px;
    gap: 6.21px;
    width: 100%;
  }

  #contact-us #right-contact input,
  #contact-us #right-contact textarea,
  #contact-us #contact-us-cta {
    width: 100%;
    font-size: 12px;
    line-height: 16.2px;
    padding: 12px 8px;
  }

  #contact-us #contact-us-cta {
    font-size: 14px;
  }

  /* Footer styles for mobile */
  section#contact-us {
    flex-direction: column;
  }

  section#contact-us div#right-contact {
    padding: 22.24px 35px 35px 35px;
  }

  section#contact-us div#left-contact {
    padding: 29px 35px 0px 35px;
  }

  section#contact-us div#left-contact img {
    width: 100%;
  }

  section#footer-section div#footer-top {
    flex-direction: column;
  }
}
