/* ---------- Contact page ---------- */
.contact-page { background: #fff; padding-bottom: 40px; }

/* Intro */
.contact-intro { max-width: 980px; margin: 22px auto 26px; }
.contact-intro h2 { font-family: "Merriweather", serif; font-weight: 700; font-size: 36px; color: #1d1d1d; }
.contact-intro p { font-size: 12.5px; color: #555; line-height: 1.75; }
.contact-intro .lead-line { margin: 12px 0 10px; }

/* Info cards */
.info-card {
  height: 100%; background: #fff; border-radius: 16px; padding: 28px 28px 30px;
  box-shadow: 0 6px 24px rgba(0,0,0,.07);
}
.info-card .ic {
  width: 52px; height: 52px; border-radius: 50%;
  display: grid; place-items: center; color: #fff; font-size: 20px; margin-bottom: 26px;
}
.ic-green  { background: #5a8f78; }
.ic-purple { background: #7b45e6; }
.ic-yellow { background: #e9ad3c; color: #3a2a05 !important; }
.ic-orange { background: #e36a3a; }
.info-card h3 { font-family: "Merriweather", serif; font-weight: 400; font-size: 19px; color: #1d1d1d; }
.info-card p { font-size: 11.5px; color: #555; margin: 4px 0 16px; }
.info-card .val { font-family: "Merriweather", serif; font-size: 14px; color: #1d1d1d; word-break: break-word; }
.info-card .val:hover { color: var(--green-btn); text-decoration: underline; }

/* Form card */
.contact-form {
  height: 100%; background: #e7f0ec; border-radius: 16px; padding: 28px 30px 30px;
}
.contact-form h3 { font-family: "Merriweather", serif; font-weight: 700; font-size: 24px; color: #1d1d1d; margin-bottom: 22px; }
.contact-form .field { position: relative; }
.contact-form .field > i {
  position: absolute; right: 20px; top: 21px; transform: translateY(-50%);
  color: #6c6c6c; font-size: 13px; pointer-events: none;
}
.contact-form .field > i.textarea-ic { top: 26px; }
.contact-form .form-control,
.contact-form .form-select {
  height: 42px; border-radius: 999px; border: 1px solid #cfd8d3; background-color: #fff;
  padding: 8px 44px 8px 18px; font-size: 12.5px; color: #222;
}
.contact-form .form-select { padding-right: 40px; }
.contact-form textarea.form-control { height: auto; min-height: 120px; border-radius: 20px; padding-top: 16px; resize: vertical; }
.contact-form .form-control::placeholder { color: #777; font-size: 11.5px; }
.contact-form .form-select:invalid { color: #777; font-size: 11.5px; }
.contact-form .form-control:focus,
.contact-form .form-select:focus { border-color: #5a8f78; box-shadow: 0 0 0 .2rem rgba(90,143,120,.2); }
/* Bootstrap draws its own validation icon on the right; keep our field icon instead */
.contact-form.was-validated .form-control:valid,
.contact-form.was-validated .form-control:invalid { background-image: none; padding-right: 44px; }
.contact-form .invalid-feedback { font-size: 11px; padding-left: 16px; }
.contact-form .form-check { font-size: 12px; color: #333; }
.contact-form .form-check-input { border-radius: 2px; border-color: #999; }
.contact-form .form-check-input:checked { background-color: #5a8f78; border-color: #5a8f78; }
.contact-form .form-check-label a { text-decoration: underline; }
.contact-form .invalid-feedback { padding-left: 0; }
.contact-form .field .invalid-feedback { padding-left: 16px; }
.contact-form .alert { font-size: 12.5px; border-radius: 12px; }
.btn-send {
  --btn-bg: #5a8f78;
  margin-top: 18px; border-radius: 999px; padding: 12px 24px; font-size: 13px; font-weight: 600;
}

@media (max-width: 575.98px) {
  .contact-intro h2 { font-size: 28px; }
  .info-card { padding: 22px; }
  .info-card .ic { margin-bottom: 16px; }
  .contact-form { padding: 22px 18px; }
  .btn-send { width: 100%; }
}
