/* =============================================
   EAA CONTACT PAGE — contact.css
   ============================================= */

/* Active nav link */
.nav-active {
  color: var(--green-mid) !important;
}
.nav-active::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--green-mid);
  margin-top: 2px;
}

/* ─────────────────────────────────────────
   HERO — full-width landscape photo
───────────────────────────────────────── */
.contact-hero {
  position: relative;
  width: 100%;
  height: 280px;
  overflow: hidden;
}
.contact-hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 60%;
  display: block;
}
.contact-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, rgba(0,0,0,0.08), rgba(0,0,0,0.22));
}

/* ─────────────────────────────────────────
   CONTACT INTRO
───────────────────────────────────────── */
.contact-intro {
  background: var(--off-white);
  padding: 72px 0 60px;
  text-align: center;
}
.contact-intro h1 {
  font-size: 40px;
  font-weight: 700;
  color: var(--green-dark);
  margin-bottom: 10px;
  line-height: 1.2;
}
.contact-intro-sub {
  font-family: 'Montserrat', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 16px;
}
.contact-intro-body {
  font-size: 17px;
  color: var(--text-mid);
  max-width: 640px;
  margin: 0 auto 32px;
  line-height: 1.75;
}
.contact-intro-btn {
  height: 52px;
  padding: 0 36px;
  font-size: 15px;
}

/* ─────────────────────────────────────────
   HOW CAN WE ASSIST
───────────────────────────────────────── */
.assist-section {
  background: var(--off-white);
  padding: 0 0 90px;
}
.assist-heading {
  font-size: 24px;
  font-weight: 700;
  color: var(--text-dark);
  text-align: center;
  margin-bottom: 36px;
}
.assist-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.assist-card {
  background: var(--white);
  padding: 32px;
  border-radius: 0;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06);
  display: flex;
  flex-direction: column;
  gap: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.assist-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
}
.assist-card h3 {
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 12px;
  line-height: 1.4;
}
.assist-card p {
  font-size: 15px;
  line-height: 1.7;
  color: var(--text-mid);
  margin-bottom: 28px;
  flex: 1;
}
.assist-btn {
  height: 52px;
  padding: 0 24px;
  font-size: 14px;
  align-self: flex-start;
}

/* ─────────────────────────────────────────
   CONTACT INFO + FORM GRID
───────────────────────────────────────── */
.contact-main-section {
  background: var(--white);
  padding: 90px 0;
}
.contact-main-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

/* --- Left: Contact Info --- */
.contact-info-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 32px;
  text-align: center;
}
.contact-detail-block {
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px solid #f0f0f0;
}
.contact-detail-block:last-of-type { border-bottom: none; }
.contact-detail-block h4 {
  font-family: 'Montserrat', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
}
.contact-detail-block p {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.7;
}
.contact-detail-block a {
  color: var(--green-mid);
  transition: color 0.2s;
}
.contact-detail-block a:hover { color: var(--green-dark); text-decoration: underline; }

.social-handle {
  font-size: 14px;
  color: var(--text-light);
  margin-bottom: 12px !important;
}
.contact-socials {
  display: flex;
  gap: 12px;
  margin-top: 4px;
}
.social-icon {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--border);
  border-radius: 50%;
  color: var(--text-mid);
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.social-icon:hover {
  background: var(--green-dark);
  color: #fff;
  border-color: var(--green-dark);
}

/* FAQ CTA Box */
.faq-cta-box {
  background: var(--green-dark);
  padding: 32px;
  margin-top: 32px;
  color: #fff;
}
.faq-cta-box h3 {
  font-size: 20px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 12px;
}
.faq-cta-box p {
  font-size: 14px;
  line-height: 1.75;
  color: rgba(255,255,255,0.82);
  margin-bottom: 20px;
}
.faq-cta-btn {
  height: 48px;
  padding: 0 24px;
  font-size: 14px;
}

/* --- Right: Form --- */
.contact-form-wrap {
  background: var(--white);
}
.form-title {
  font-size: 22px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-align: center;
}
.form-subtitle {
  font-size: 14px;
  color: var(--text-light);
  text-align: center;
  margin-bottom: 32px;
  line-height: 1.6;
}

/* Form fields — per doc: height 60px, no radius, border #DADADA */
.contact-form .form-group {
  margin-bottom: 20px;
}
.contact-form label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-dark);
  margin-bottom: 8px;
}
.contact-form input[type="text"],
.contact-form input[type="email"],
.contact-form input[type="tel"] {
  width: 100%;
  height: 60px;
  border: 1px solid #DADADA;
  border-radius: 0;
  padding: 0 16px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: #fff;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
  appearance: none;
}
.contact-form input:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.contact-form input.has-error {
  border-color: #e03e3e;
}

/* Select */
.select-wrap {
  position: relative;
}
.select-wrap select {
  width: 100%;
  height: 60px;
  border: 1px solid #DADADA;
  border-radius: 0;
  padding: 0 40px 0 16px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--text-mid);
  background: #fff;
  appearance: none;
  outline: none;
  cursor: pointer;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.select-wrap select:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.select-chevron {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: var(--text-light);
  font-size: 12px;
}

/* Textarea */
.contact-form textarea {
  width: 100%;
  border: 1px solid #DADADA;
  border-radius: 0;
  padding: 14px 16px;
  font-family: 'Lato', sans-serif;
  font-size: 16px;
  color: var(--text-dark);
  background: #fff;
  resize: vertical;
  min-height: 140px;
  outline: none;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.contact-form textarea:focus {
  border-color: var(--green-mid);
  box-shadow: 0 0 0 3px rgba(45,106,79,0.1);
}
.contact-form textarea.has-error {
  border-color: #e03e3e;
}

/* Error messages — per doc: 14px red text */
.form-error {
  display: none;
  font-size: 14px;
  color: #e03e3e;
  margin-top: 6px;
}
.form-error.visible { display: block; }

/* Checkbox */
.form-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
  margin-top: 4px;
}
.form-checkbox input[type="checkbox"] {
  width: 18px;
  height: 18px;
  border: 1.5px solid #DADADA;
  accent-color: var(--green-mid);
  cursor: pointer;
  flex-shrink: 0;
}
.form-checkbox label {
  font-size: 14px;
  font-weight: 400;
  color: var(--text-mid);
  cursor: pointer;
  margin-bottom: 0;
}
.checkbox-error { margin-bottom: 16px; }

/* Submit button — per doc: height 60px, no radius */
.btn-submit {
  width: 100%;
  height: 60px;
  background: var(--green-mid);
  color: #fff;
  font-family: 'Montserrat', sans-serif;
  font-size: 16px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  border-radius: 0;
  transition: background 0.3s;
  margin-top: 8px;
}
.btn-submit:hover { background: var(--green-dark); }
.btn-submit:disabled {
  background: #a0c4ae;
  cursor: not-allowed;
}
.btn-submit:focus-visible {
  outline: 3px solid var(--green-light);
  outline-offset: 2px;
}

/* Success message */
.form-success {
  display: none;
  margin-top: 20px;
  padding: 16px 20px;
  background: rgba(61,175,108,0.12);
  border: 1px solid var(--green-light);
  border-radius: 4px;
  font-size: 15px;
  color: var(--green-dark);
  font-weight: 600;
  text-align: center;
}
.form-success.visible { display: block; }

/* ─────────────────────────────────────────
   MAP
───────────────────────────────────────── */
.map-section {
  width: 100%;
  height: 340px;
  overflow: hidden;
  display: block;
}
.map-iframe {
  width: 100%;
  height: 100%;
  border: none;
  display: block;
}

/* ─────────────────────────────────────────
   RESPONSIVE
───────────────────────────────────────── */
@media (max-width: 991px) {
  .assist-grid { grid-template-columns: 1fr; gap: 16px; }
  .contact-main-grid { grid-template-columns: 1fr; gap: 48px; }
  .contact-hero { height: 200px; }
}

@media (max-width: 767px) {
  .contact-intro h1 { font-size: 30px; }
  .assist-grid { grid-template-columns: 1fr; }
  .contact-main-section { padding: 60px 0; }
  .map-section { height: 260px; }
  .btn-submit { font-size: 15px; }
}