/* Banner section */
.banner {
  padding: 5rem 1rem;
}
.banner h1 {
  font-size: 84px;
  font-weight: bold;
}
.banner h3 {
  font-size: 40px;
  font-weight: bold;
  margin-top: 1rem;
}

/* Contact Us Form */
.banner-image {
  background-image: url("../images/contact_us.jpg");
  position: relative;
  width: 100%;
  height: 90vh;
  display: flex;
  background-attachment: fixed;
}
.banner-image-inner-div {
  position: absolute;
  width: 100%;
  height: 100%;
}
.banner-image-inner-div img {
  width: 100%;
  height: 100%;
  opacity: 0.2;
  display: none;
}
.banner-text {
  position: absolute;
  color: black;
  font-size: 24px;
  text-align: right;
  z-index: 2;
  width: 80%;
}
.banner-image::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #000000b5;
  z-index: 1;
}
.banner-form {
  width: 50%;
  height: 100%;
  z-index: 2;
  display: flex;
}
.banner-form h1,
.form-right-text h1 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 2rem;
}
.form-step {
  display: none;
}
.form-step.active {
  display: block;
}
.error {
  color: red;
  font-size: 12px;
}
.contact-us {
  width: 100%;
  height: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-direction: row;
  padding: 3rem;
  background-color: #ffffffad;
  position: relative;
  z-index: 2;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
  margin: 8rem auto;
  max-width: 1200px;
  border-radius: 1rem;
}
.form-right-text {
  width: 50%;
}
label {
  font-size: 18px;
}
#multiStepForm {
  width: 100%;
}
input,
#serviceType,
#message {
  width: 90%;
  font-size: 1rem;
  border: none;
  border-bottom: 1px solid black;
  background-color: transparent;
  padding: 10px;
  margin-top: 0.5rem;
}
.contact-button {
  background-color: white;
  color: black;
  padding: 10px 20px;
  border: 2px solid black;
  border-radius: 20px;
  cursor: pointer;
  font-size: 1rem;
  margin-top: 5px;
}
.form-right-text p {
  font-size: 22px;
  margin-top: 10px;
  text-align: justify;
  line-height: 1.5;
}
#serviceType,
#message {
  margin-bottom: 1.3rem;
}

/* Last Section */
.contact-info {
  display: flex;
}
.contact-info-divs {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  padding: 3rem;
  width: 33.33%;
}
.contact-info-divs img {
  width: 15%;
}
.contact-info-divs h1 {
  font-size: 32px;
  margin-top: 1.5rem;
}
.contact-info-divs p {
  font-size: 20px;
  text-align: center;
  margin-top: 1.5rem;
  line-height: 1.5;
}
/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
  /* Banner */
  .banner h1 {
    font-size: 64px;
  }
  .banner h3 {
    font-size: 32px;
  }

  /* Contact Form Section */
  .contact-us {
    margin: 4rem auto;
    padding: 2rem;
    height: 100%;
  }
  .banner-form h1,
  .form-right-text h1 {
    font-size: 36px;
  }
  .form-right-text p {
    font-size: 18px;
  }

  /* Contact Info Section */
  .contact-info-divs h1 {
    font-size: 28px;
  }
  .contact-info-divs p {
    font-size: 18px;
  }
}

/* Small Tablets and Large Phones (601px - 768px) */
@media (max-width: 768px) {
  /* Banner */
  .banner {
    padding: 3rem 1rem;
  }
  .banner h1 {
    font-size: 48px;
  }
  .banner h3 {
    font-size: 24px;
  }

  /* Contact Form Section */
  .contact-us {
    flex-direction: column;
    margin: 2rem auto;
    padding: 1.5rem;
    height: 100%;
  }
  .banner-form,
  .form-right-text {
    width: 100%;
  }
  .form-right-text {
    margin-top: 2rem;
  }
  input,
  #serviceType,
  #message {
    width: 100%;
  }

  /* Contact Info Section */
  .contact-info {
    flex-direction: column;
  }
  .contact-info-divs {
    width: 100%;
    padding: 2rem;
  }
  .contact-info-divs img {
    width: 25%;
  }
}

/* Mobile Phones (up to 600px) */
@media (max-width: 600px) {
  /* Banner */
  .banner h1 {
    font-size: 36px;
  }
  .banner h3 {
    font-size: 20px;
  }

  /* Contact Form Section */
  .banner-form h1,
  .form-right-text h1 {
    font-size: 28px;
    margin-bottom: 1rem;
  }
  .contact-button {
    width: 100%;
    margin: 10px 0;
  }

  /* Contact Info Section */
  .contact-us {
    height: 100%;
  }
  .contact-info-divs h1 {
    font-size: 24px;
  }
  .contact-info-divs p {
    font-size: 16px;
  }
  .contact-info-divs img {
    width: 30%;
  }
}

/* Small Phones (up to 480px) */
@media (max-width: 480px) {
  /* General Adjustments */
  body {
    overflow-x: hidden;
  }

  /* Contact Form Section */
  .contact-us {
    padding: 1rem;
    margin: 1rem auto;
    height: 100%;
  }
  .banner-form h1,
  .form-right-text h1 {
    font-size: 24px;
  }
  label {
    font-size: 16px;
  }

  /* Contact Info Section */
  .contact-info-divs {
    padding: 1.5rem;
  }
  .contact-info-divs h1 {
    font-size: 20px;
  }
  .contact-info-divs p {
    font-size: 14px;
  }
}
