/* Contact page — layers on top of about-style.css (nav, footer, buttons). */

.contact-hero {
  margin-top: 90px;
  background-image: url("../img/about-slide1.png");
  background-size: cover;
  background-position: center;
}

.contact-hero-overlay {
  background: linear-gradient(
    to right,
    rgba(0, 32, 63, 0.85),
    rgba(0, 32, 63, 0.55)
  );
  padding: 90px 0;
}

.contact-hero h1 {
  color: #fff;
  font-weight: 700;
  margin-bottom: 10px;
}

.contact-hero p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.1rem;
  margin-bottom: 0;
}

/* --- Contact Details panel (right column, beside the form) --- */

.contact-detail-panel {
  background: #fff;
  border-radius: 10px;
  padding: 28px 26px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-detail-item + .contact-detail-item {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid #eceff3;
}

.contact-detail-item h5 {
  font-weight: 600;
  font-size: 1rem;
  margin-bottom: 10px;
}

.contact-detail-item h5 i {
  color: #0d6efd;
  width: 20px;
  margin-right: 6px;
}

.contact-detail-item p {
  margin-bottom: 0;
  color: #555;
  line-height: 1.8;
  font-size: 0.95rem;
}

.contact-detail-item a {
  color: #0d6efd;
  text-decoration: none;
}

.contact-detail-item a:hover {
  text-decoration: underline;
}

/* --- Write To Us --- */

.contact-form-section {
  padding: 60px 15px 10px;
}

/* --- Map band, full width beneath both columns --- */

.contact-map-section {
  padding: 50px 15px 80px;
}

.contact-map-section h2 {
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-map-section .section-subtitle {
  color: #6c757d;
  margin-bottom: 24px;
}

.contact-map {
  /* Aspect ratio rather than a fixed height, so the map keeps sensible
     proportions from mobile through to wide desktop. */
  aspect-ratio: 21 / 7;
  min-height: 300px;
  max-height: 460px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
}

.contact-map-link {
  margin: 14px 0 0;
  font-size: 0.9rem;
}

.contact-map-link a {
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
}

.contact-map-link a:hover {
  text-decoration: underline;
}

.contact-map-link i {
  font-size: 0.78rem;
  margin-left: 4px;
}

.contact-form-section h2 {
  font-weight: 700;
  margin-bottom: 8px;
}

.contact-form-section .section-subtitle {
  color: #6c757d;
  margin-bottom: 28px;
}

.contact-form-section .form-label {
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form-section .required {
  color: #dc3545;
}

.contact-form-section .form-control,
.contact-form-section .form-select {
  padding: 11px 14px;
  border-radius: 6px;
}

.contact-form-section .form-control:focus,
.contact-form-section .form-select:focus {
  border-color: #0d6efd;
  box-shadow: 0 0 0 0.2rem rgba(13, 110, 253, 0.15);
}

.contact-submit {
  padding: 11px 32px;
  font-weight: 600;
  border-radius: 6px;
}

.contact-consent {
  margin-top: 14px;
  margin-bottom: 0;
  font-size: 0.82rem;
  color: #6c757d;
}

/*
 * Honeypot. Kept out of the layout and off the accessibility tree without
 * display:none — some bots skip hidden inputs, but they fill this one.
 */
.contact-hp {
  position: absolute;
  left: -9999px;
  top: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

@media (max-width: 991px) {
  .contact-hero-overlay {
    padding: 60px 0;
  }

  .contact-map-section {
    padding: 30px 15px 50px;
  }

  /* A 21:7 strip is unusably thin on a phone — go closer to square. */
  .contact-map {
    aspect-ratio: 4 / 3;
    max-height: 340px;
  }
}
