/* =========================
   CONTACT PAGE (mock style)
   ========================= */

/* body {
    font-family: var(--font-main);
    margin: 0;
    padding: 0;
    background: var(--bg);
    color: var(--text);
} */

.contactPage{
  width: 100%;
  height: 85svh;
}

/* overall split */
.contactGrid{
  width: 100%;
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  /* border-top: 1px solid rgba(15, 94, 139, 0.10); */
  border-bottom: 1px solid rgba(15, 94, 139, 0.10);
  border-left: 1px solid rgba(15, 94, 139, 0.10);
  position: relative;
  overflow-x: hidden;
  height: 100%;
}

.contactPage{
  overflow-x: hidden;
}

/* LEFT side */
.contactLeft{
  position: relative;
  overflow: hidden;
  background: #fff; /* important so the fade goes to white */
  border-right: 1px solid rgba(15, 94, 139, 0.10);
}

/* map image full-size */
.contactMap{
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.08);

  opacity: 1;
  filter: none;

  /* BIGGER fade from the TOP (more white behind text) */
  -webkit-mask-image: linear-gradient(180deg,
    transparent 0%,
    transparent 34%,
    rgba(0,0,0,.25) 40%,
    rgba(0,0,0,1) 58%,
    rgba(0,0,0,1) 100%
  );
  mask-image: linear-gradient(180deg,
    transparent 0%,
    transparent 34%,
    rgba(0,0,0,.25) 40%,
    rgba(0,0,0,1) 58%,
    rgba(0,0,0,1) 100%
  );
}


.contactLeftContent{
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 35%;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,1) 55%, rgba(255,255,255,0) 100%);
  padding: 2rem;
}

/* RIGHT side */
.contactRight{
  position: relative;
  z-index: 5;

  /* pull it over the left side */
  /* margin-left: -70px;          try -50px to -90px */

  /* create the "panel over map" look */
  background: #f6f6f8 !important;
  box-shadow: -18px 0 40px rgba(0,0,0,0.12);
  background: #fff;
  display: flex;
  justify-content: center;
}

.contactRight::before{
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 1px;
  background: rgba(0,0,0,0.06);
}

.contactRightInner{
  width: min(640px, 92%);
  padding: 4.5rem 0 3.5rem 0;
}

/* headings with vertical bar */
.contactH2{
  position: relative;
  margin: 0 0 1rem 0;
  padding-left: 18px;

  color: #173A4A;
  font-weight: 800;
  font-size: 2.6rem;
  line-height: 0.95;
  letter-spacing: -0.02em;
}

.contactH2::before{
  content: "";
  position: absolute;
  left: 0;
  /* top: .12em; */

  width: 7px;
  height: 1.7em;
  background: var(--c-blue-500);
}

.contactP{
  margin: 0 0 2rem 0;
  max-width: 520px;
  color: rgba(23, 58, 74, 0.75);
  font-size: 1rem;
  line-height: 1.55;
}

/* form */
.contactForm{
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
}

.row.two{
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.2rem;
}

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

.field label{
  font-size: .95rem;
  font-weight: 700;
  margin-bottom: .35rem;
  color: rgba(23, 58, 74, 0.70);
}

/* underline inputs */
.field input,
.field textarea{
  background: transparent;
  border: none;
  border-bottom: 1px solid rgba(15, 94, 139, 0.25);
  border-radius: 0;
  padding: .35rem 0 .45rem 0;
  font-size: 1rem;
  outline: none;
  color: #173A4A;
}

.field textarea{
  background-color: #fff !important;
}

.field input::placeholder,
.field textarea::placeholder{
  color: rgba(23, 58, 74, 0.38);
}

.field input:focus,
.field textarea:focus{
  border-bottom-color: rgba(15, 94, 139, 0.65);
}

.field textarea{
  min-height: 180px;
  resize: none; /* matches the mock */
  border: 1px solid rgba(15, 94, 139, 0.10);
  border-radius: 8px;
  padding: 1rem;
  margin-top: .35rem;
}

/* captcha + submit row like mock */
.recaptchaRow{
  margin-top: .25rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

/* keep recaptcha from breaking layout on very small screens */
.recaptchaRow .g-recaptcha{
  transform-origin: left top;
}

/* submit button on the right */
.submitRow{
  display: flex;
  justify-content: flex-end;
  margin-top: .25rem;
}



.formActions{
  display: flex;
  align-items: center;       /* same height */
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: .25rem;
}

/* keep recaptcha from stretching weirdly */
.formActions .g-recaptcha{
  flex: 0 0 auto;
  transform-origin: left center;
}

/* keep button fixed */
.formActions .submitBtn{
  flex: 0 0 auto;
  margin-left: auto;
}
/* bottom info */
.contactInfo{
  margin-top: 1.6rem;
  display: flex;
  flex-direction: column;
  gap: .75rem;
}

.infoItem{
  display: flex;
  align-items: center;
  gap: .75rem;
  color: rgba(23, 58, 74, 0.85);
}

.infoIcon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: rgba(15, 94, 139, 0.08);
  display: grid;
  place-items: center;
  font-size: 1rem;
}

.infoMain{
  font-weight: 800;
  color: #173A4A;
}

.infoSub{
  font-size: .95rem;
  color: #173A4A;
}

.infoLink{
  color: #0F5E8B;
  text-decoration: none;
  font-weight: 800;
}

.infoLink:hover{
  text-decoration: underline;
}


.contactInfo{
  margin-top: 1.4rem;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.infoItem{
  display: flex;
  align-items: flex-start;
  gap: .75rem;
}

/* BLUE CIRCLE */
.infoIcon{
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: #0F5E8B;           /* blue circle */
  flex: 0 0 auto;

  /* center icon */
  display: grid;
  place-items: center;

  /* icon will be "cut out" as a mask and filled white */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 18px 18px;  /* icon size */
  mask-size: 18px 18px;
}

/* white icon color */
.infoIcon{
  background-color: #308ec5; /* circle */
}
.infoIcon::before{
  content: "";
  width: 100%;
  height: 100%;
  background: #fff; /* icon color */
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
  -webkit-mask-position: center;
  mask-position: center;
  -webkit-mask-size: 18px 18px;
  mask-size: 18px 18px;
}

/* assign each svg as a mask */
.icon-location::before{
  -webkit-mask-image: url("../Media/location-icon.svg");
  mask-image: url("../Media/location-icon.svg");
}
.icon-email::before{
  -webkit-mask-image: url("../Media/email-icon.svg");
  mask-image: url("../Media/email-icon.svg");
}

/* text */
.infoText{
  display: flex;
  flex-direction: column;
  gap: .2rem;
}

.infoMain{
  font-weight: 800;
  color: #173A4A;
  line-height: 1.15;
  font-size: 1rem;
}

.infoSub{
  font-size: .95rem;
  color: #173A4A;
  line-height: 1.15;
  font-weight: 800;
}

.infoLink{
  font-weight: 800;
  color: #173A4A;
  text-decoration: none;
  line-height: 1.15;
  margin-top: 6px; /* aligns to icon */
  font-size: 20px;
}

.infoLink:hover{
  text-decoration: underline;
}


/* responsive */
@media (max-width: 980px){
  .contactGrid{
    grid-template-columns: 1fr;
  }

  .contactLeft{
    border-right: none;
    border-bottom: 1px solid rgba(15, 94, 139, 0.10);
    min-height: 520px;
  }

  .contactLeftContent{
    padding: 3.5rem 2rem;
  }

  .contactRightInner{
    padding: 3.5rem 0 2.5rem 0;
  }

  .row.two{
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .submitRow{
    justify-content: flex-start;
  }
}

@media (max-width: 420px){
  .recaptchaRow .g-recaptcha{
    transform: scale(0.92);
  }
}

@media (max-width: 450px){
  .contactPage{
    width: 100dvw !important;
    height: max-content !important;
  }
  .contactGrid{
    display: flex;
  }
  .contactLeft{
    display: none !important;
  }
  .contactRight{
    width: 100% !important;
    height: max-content !important;
  }
  .contactRight::before{
    display: none;
  }
  .contactRightInner{
    padding: 0 !important;
    margin-top: 2rem !important;
    margin-bottom: 2rem !important;
  }
  .contactForm{
    height: max-content !important;
  }
  .formActions{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
  }
  footer{
    display: none !important;
  }
}
