/* Contact Page */
.ContactHero {
  width: 100%;
  height: 60vh;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 15vh;
  padding-top: 7.5vh;
}

/* Contact page image in hero */
.ContactHero img {
  width: 20vw;
  height: 37vh;
  
}

/* Text in the hero */
.ContactHeroText h1 {
  font-family: "Inter", sans-serif;
  font-size: 2.5rem;
  margin: 3vh 0 2vh;
  margin-top: 20vh;
  position: relative;
  color: rgb(255, 255, 255);
  
}

.contact-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  max-width: 1200px;
  margin: 2rem auto;
  gap: 2rem;
  padding: 0 1rem;
  margin-top: 15vh;
  margin-bottom: 15vh;
}

/* Left side of page */
.contact-info {
  border-right: 1px solid #e0e0e0;
  padding-right: 2rem;
}

/* Align icons and text vertically */
.phoneDiv {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
}

.phoneDiv i {
  font-size: 1.25rem;
  color: #1e40af;
  width: 1.5rem;
  text-align: center;
  flex-shrink: 0;
}

.phoneDiv p {
  margin: 0;
  font-size: 1rem;
  line-height: 1.2;
}

.contact-info a {
  color: #3b82f6;
  text-decoration: none;
  font-weight: 600;
}

.contact-info h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: #1e40af;
}

.contact-info h3 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
  font-size: 1.125rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: #1e40af;
}

.topMessage {
  display: flex;
  flex-direction: column;
  margin-bottom: 2vh;
  color: #1e40af;
}

/* Form on right side styling */
.contact-form form {
  display: flex;
  flex-direction: column;
}

.contact-form .form-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  margin-bottom: 1.5rem;
}

.contact-form label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e40af;
  text-align: left;
}

.contact-form input,
.contact-form textarea,
.contact-form select {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font: inherit;
  width: 100%;
}

.contact-form textarea {
  resize: vertical;
}

.contact-form .g-recaptcha {
  margin-bottom: 1.5rem;
}

/* Submit button */
.submit-btn {
  align-self: flex-start;
  background: #1e40af;
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.75rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease;
}

.submit-btn:hover {
  background: #3b82f6;
}

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

/* Mobile optimization, centered */
@media (max-width: 768px) {
  .ContactHero {
    width: 100%;
    height: 47vh;
    background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    padding-bottom: 15vh;
    padding-top: 7.5vh;
  }

  .contact-container {
    grid-template-columns: 1fr;
  }

  .contact-info {
    border: none;
    padding-right: 0;
    margin-bottom: 2rem;
    margin-top: -10vh;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
  }

.ContactHero img {
  width: 40vw;
  height: 70vh;
  
}

/* Text in the hero */
.ContactHeroText h1 {
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  margin: 3vh 0 2vh;
  margin-top: 15vh;
  position: relative;
  color: rgb(255, 255, 255);
  
}

  .contact-form input,
  .contact-form textarea,
  .contact-form select {
    padding: 0.75rem;
    border: 1px solid #ccc;
    border-radius: 4px;
    font: inherit;
    margin-bottom: 1.5rem;
    width: 100%;
  }

  .contact-form form {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  

  .time {
    font-size: small;
    color: black;
  }

  .submitDiv {
    display: flex;
    justify-content: center;
  }

  .phoneDiv {
    gap: 2vw;
  }
}

@media screen and (max-width: 950px) and (orientation: landscape) {

  .ContactHero {
  width: 100%;
  height: 80vh;
  background: linear-gradient(135deg, #1e40af 0%, #3b82f6 50%, #60a5fa 100%);
  justify-content: center;
  align-items: center;
  display: flex;
  flex-direction: column;
  padding-bottom: 15vh;
  padding-top: 7.5vh;
}

  .ContactHero img {
  width: 15vw;
  height: 30vh;
  
}

/* Text in the hero */
.ContactHeroText h1 {
  font-family: "Inter", sans-serif;
  font-size: 1.75rem;
  margin: 3vh 0 2vh;
  margin-top: 30vh;
  position: relative;
  color: rgb(255, 255, 255);
  
}
}
