/* =========================================
   CONTACT PAGE — contact.css
   Matching the new reference image design
   ========================================= */

.container-1200 {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  box-sizing: border-box;
}

/* ── Page Banner ── */
.page-banner {
  position: relative;
  width: 100%;
}

.page-banner img {
  width: 100%;
  /* height: auto; */
  display: block;
}

.page-detail {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 0;
}

.page-title {
  font-size: 32px;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-align: center;
  text-transform: uppercase;
}

/* ── Map ── */
.ct-map-iframe {
  width: 100%;
  height: 450px;
  border: none;
  display: block;
}

/* ── Contact Detail Boxes ── */
.contact-detail-boxes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0;
  padding: 0;
}

.contact-detail-box {
  padding: 49px 20px;
  text-align: center;
  border-bottom: 3px solid #f0f4fb;
  min-height: 200px;
  position: relative;
  background-color: #ffffff;
  transition:
    background-color 0.3s ease,
    border-bottom-color 0.3s ease;
}

.contact-detail-box:hover {
  background-color: #ffffff;
  border-bottom: 3px solid #2196f3;
}

.contact-detail-box:nth-child(2):hover {
  border-bottom: 3px solid #f3c721;
}

.contact-detail-icon {
  width: 40px;
  height: 40px;
  margin: 0 auto 16px;
  color: #333;
}

.contact-detail-icon svg {
  width: 100%;
  height: 100%;
}

.contact-detail-title {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  margin: 0 0 12px 0;
  letter-spacing: 0.5px;
}

.contact-detail-text {
  font-size: 16px;
  color: #000000;
  line-height: 1.8;
  margin: 0;
  font-weight: 500;
}

.contact-detail-text a {
  color: #2196f3;
  text-decoration: none;
  font-weight: 600;
}

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

/* ── Form Header ── */
.ct-form-header {
  text-align: center;
  padding: 40px 0 20px;
}

.ct-form-header h2 {
  font-size: 22px;
  font-weight: 700;
  color: #111;
  text-transform: uppercase;
  margin: 0 0 8px 0;
  letter-spacing: 0.5px;
}

.ct-form-header .ct-divider {
  width: 40px;
  height: 3px;
  background: #2196f3;
  margin: 0 auto 12px;
}

.ct-form-header p {
  font-size: 16px;
  color: #000000;
  margin: 0;
  font-weight: 600;
}

.ct-form-header p a {
  color: #2196f3;
  text-decoration: none;
}

/* ── Form Card ── */
.ct-form-card {
  background: #5eb8f7;
  border-radius: 0;
  padding: 30px 40px;
  max-width: 900px;
  margin: 0 auto 40px;
}

.ct-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 16px;
}

.ct-form-row--full {
  grid-template-columns: 1fr;
}

.ct-form-field {
  margin-bottom: 0;
}

.ct-form-field label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.ct-form-field label span {
  color: #ffeb3b;
}

.ct-form-field input,
.ct-form-field textarea {
  width: 100%;
  padding: 12px 14px;
  border: none;
  border-radius: 0;
  background: #ffffff;
  font-size: 14px;
  color: #333;
  font-family: inherit;
  box-sizing: border-box;
  outline: none;
}

.ct-form-field textarea {
  resize: vertical;
  min-height: 100px;
}

/* ── Submit Button ── */
.ct-submit-wrap {
  margin-top: 10px;
}

.ct-submit-btn {
  background: #ffde59;
  color: #000000;
  border: 2px solid #ffde59;
  padding: 10px 24px;
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  font-family: inherit;
  transition:
    background 0.25s ease,
    color 0.25s ease;
}

.ct-submit-btn:hover {
  background: transparent;
  color: #fff;
}

/* ── Bottom CTA Bar ── */
.ct-bottom-cta {
  background: #0d6efd;
  padding: 16px 0;
  text-align: center;
}

.ct-bottom-cta p {
  font-size: 12px;
  color: #ffffff;
  margin: 0;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 900px) {
  .contact-detail-boxes {
    grid-template-columns: 1fr;
  }

  .ct-form-row {
    grid-template-columns: 1fr;
  }

  .ct-form-card {
    padding: 24px 20px;
  }
}

@media (max-width: 576px) {
  .page-title {
    font-size: 24px;
  }

  .contact-detail-box {
    padding: 30px 20px;
    min-height: auto;
  }
}

.contact-detail-box:hover:before {
  background-color: #2196f3;
  color: #fff;
}

.contact-detail-box:hover:before {
  width: 33px;
  height: 33px;
  position: absolute;
  bottom: -16px;
  background-color: #2196f3;
  content: "\f102";
  font-family: FontAwesome;
  text-align: center;
  line-height: 33px;
  margin: 0 auto;
  left: 0;
  right: 0;
}
