/*----------------------------------------------
Contact Us page. Loaded after about-page.css and reuses its banner,
wrap, titles, cards and buttons; only the contact layout lives here.
----------------------------------------------*/

.ctc-main {
  align-items: start;
  display: grid;
  gap: 56px;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  padding-bottom: 72px;
  padding-top: 40px;
}

.ctc-lead {
  color: #3f4f70;
  font-size: 15.5px;
  line-height: 1.7;
  margin: 0 0 24px;
}

/* Office, phone and email cards */
.ctc-cards {
  display: grid;
  gap: 16px;
}

.ctc-cards .abt-fact p {
  font-size: 14.5px;
  line-height: 1.6;
}

.ctc-cards .abt-fact a {
  color: #1d5fd6;
  font-weight: 600;
}

.ctc-cards .abt-fact a:hover {
  color: #0d3a8c;
}

/* Message form */
.ctc-form-card {
  background: #ffffff;
  border-radius: 22px;
  box-shadow: 0 24px 60px rgba(16, 58, 140, 0.12);
  padding: 36px;
}

.ctc-form-card .abt-title {
  font-size: 24px;
}

.ctc-form {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ctc-form .form-group {
  margin: 0;
}

.ctc-form .ctc-full,
.ctc-form #formmessage {
  grid-column: 1 / -1;
}

.ctc-form #formmessage:empty {
  display: none;
}

.ctc-form label {
  color: #0d2a63;
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.ctc-form .form-control {
  background-color: #f6f9fe;
  border: 1px solid #dbe6f5;
  border-radius: 10px;
  box-shadow: none;
  color: #10244d;
  font-size: 15px;
  height: 48px;
  padding: 0 14px;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.ctc-form textarea.form-control {
  height: auto;
  min-height: 140px;
  padding: 12px 14px;
  resize: vertical;
}

.ctc-form .form-control::placeholder {
  color: #8a98b5;
}

.ctc-form .form-control:focus {
  background-color: #ffffff;
  border-color: #1d5fd6;
  box-shadow: 0 0 0 3px rgba(29, 95, 214, 0.15);
}

/* reCAPTCHA */
.ctc-captcha {
  max-width: 100%;
  overflow: hidden;
}

.ctc-error {
  color: #d92d20;
  display: block;
  font-size: 13.5px;
  margin-top: 6px;
}

.ctc-error:empty {
  display: none;
}

.ctc-form .abt-btn {
  border: 0;
  cursor: pointer;
}

@media (max-width: 991px) {
  .ctc-main {
    gap: 40px;
    grid-template-columns: minmax(0, 1fr);
    padding-bottom: 56px;
    padding-top: 32px;
  }
}

@media (max-width: 575px) {
  .ctc-form-card {
    border-radius: 18px;
    padding: 24px 18px;
  }

  .ctc-form {
    grid-template-columns: minmax(0, 1fr);
  }
}
