.contact-hero {
  padding: 145px 0 76px;
  background:
    radial-gradient(circle at 75% 20%, rgba(23, 82, 63, 0.5), transparent 45%),
    linear-gradient(155deg, var(--green-deep), #051f17);
  color: var(--cream);
}
.contact-hero .section-eyebrow { color: var(--gold-light); }
.contact-hero h1 { font-family: var(--serif); font-size: clamp(40px, 6vw, 62px); margin-bottom: 16px; }
.contact-hero p { max-width: 610px; margin: 0 auto; color: rgba(250, 249, 246, 0.76); font-size: 16.5px; }

/* Calm page entrance with gentle staggered timing. */
.contact-hero .section-eyebrow,
.contact-hero h1,
.contact-hero p,
.contact-options > *,
.contact-form-card {
  opacity: 0;
  animation: contact-content-in 1.05s var(--ease) forwards;
}
.contact-hero .section-eyebrow { animation-delay: 0.12s; }
.contact-hero h1 { animation-delay: 0.26s; }
.contact-hero p { animation-delay: 0.40s; }
.contact-options > :nth-child(1) { animation-delay: 0.48s; }
.contact-options > :nth-child(2) { animation-delay: 0.58s; }
.contact-options > :nth-child(3) { animation-delay: 0.68s; }
.contact-options > :nth-child(4) { animation-delay: 0.78s; }
.contact-options > :nth-child(5) { animation-delay: 0.88s; }
.contact-form-card { animation-delay: 0.58s; }

@keyframes contact-content-in {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@media (prefers-reduced-motion: reduce) {
  .contact-hero .section-eyebrow,
  .contact-hero h1,
  .contact-hero p,
  .contact-options > *,
  .contact-form-card {
    opacity: 1;
    animation: none;
    transform: none;
  }
}

.contact-section { padding: 76px 0 88px; background: var(--cream); }
.contact-options { display: grid; gap: 14px; height: 100%; align-content: start; }
.contact-whatsapp-card, .contact-info-card {
  display: flex; align-items: center; gap: 14px; border-radius: var(--radius-md); padding: 17px 18px;
}
.contact-whatsapp-card { background: var(--green); color: var(--cream); box-shadow: 0 12px 30px rgba(8, 51, 38, 0.16); }
.contact-whatsapp-card:hover { color: var(--cream); background: var(--green-light); transform: translateY(-2px); }
.contact-whatsapp-card > .bi-arrow-right { margin-left: auto; color: var(--gold-light); }
.contact-icon, .contact-info-icon { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; flex: 0 0 auto; font-size: 20px; }
.contact-icon { background: rgba(255,255,255,.12); color: #69e696; }
.contact-whatsapp-card span:nth-child(2) { display: grid; }
.contact-whatsapp-card strong { font-size: 15px; }
.contact-whatsapp-card small { color: rgba(250,249,246,.7); font-size: 12px; }
.contact-info-card { background: var(--white); border: 1px solid rgba(17,71,54,.12); min-height: 78px; }
.contact-info-icon { background: rgba(204,163,84,.12); color: var(--gold-deep); }
.contact-info-card > div { min-width: 0; display: grid; }
.contact-label { color: var(--ink-light); text-transform: uppercase; letter-spacing: .08em; font-size: 10px; font-weight: 700; }
.contact-info-card strong { color: var(--ink); font-size: 14px; overflow-wrap: anywhere; }
.copy-email-btn { margin-left: auto; border: 1px solid rgba(17,71,54,.16); border-radius: var(--radius-pill); padding: 7px 11px; background: var(--cream); color: var(--green); font-size: 12px; font-weight: 700; }
.copy-email-btn:hover { border-color: var(--gold); }
.copy-status { min-height: 18px; margin: -7px 0 -7px; padding-left: 4px; color: var(--green); font-size: 12px; }

.contact-form-card { height: 100%; background: var(--white); border: 1px solid rgba(17,71,54,.12); border-radius: var(--radius-lg); padding: 30px; box-shadow: var(--shadow-sm); }
.form-heading { margin-bottom: 24px; }
.form-heading h2 { color: var(--green); font-size: 26px; margin-bottom: 7px; }
.form-heading p { color: var(--ink-muted); font-size: 13px; margin: 0; }
.contact-field { margin-bottom: 18px; }
.contact-field label { display: block; margin-bottom: 7px; color: var(--green); font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .06em; }
.contact-field input, .contact-field select, .contact-field textarea { width: 100%; border: 1px solid rgba(17,71,54,.18); border-radius: 12px; background: #fcfcfb; color: var(--ink); padding: 13px 14px; font: inherit; font-size: 14px; outline: none; transition: border-color .2s ease, box-shadow .2s ease; }
.contact-field textarea { resize: vertical; min-height: 140px; }
.contact-field input:focus, .contact-field select:focus, .contact-field textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 4px rgba(204,163,84,.12); }
.contact-field .field-error { display: none; margin-top: 5px; color: #a33b3b; font-size: 11.5px; }
.contact-field.is-invalid .field-error { display: block; }
.contact-field.is-invalid input, .contact-field.is-invalid select, .contact-field.is-invalid textarea { border-color: #b84a4a; }
.message-meta { display: flex; justify-content: space-between; gap: 12px; margin-top: 5px; color: var(--ink-light); font-size: 11px; }
.message-meta .field-error { margin: 0; }
.contact-submit-btn { width: 100%; min-height: 52px; border: 0; border-radius: var(--radius-pill); background: var(--green); color: var(--gold-light); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; gap: 9px; box-shadow: 0 10px 24px rgba(8,51,38,.16); transition: transform .25s var(--ease), background .25s ease; }
.contact-submit-btn:hover { background: var(--green-light); transform: translateY(-2px); }
.form-note { display: flex; justify-content: center; gap: 7px; margin: 14px 0 0; color: var(--ink-muted); font-size: 11.5px; text-align: center; }
.form-note i { color: var(--green); }

@media (max-width: 767px) {
  .contact-hero { padding: 120px 0 60px; }
  .contact-hero p { font-size: 14px; padding: 0 10px; }
  .contact-section { padding: 54px 0 68px; }
  .contact-form-card { padding: 24px 18px; }
  .contact-info-card { padding: 15px 14px; }
  .copy-email-btn { padding: 7px 9px; }
}

/* Custom Zainur select: avoids the browser/Android native white-blue dropdown. */
.contact-reason-field { position: relative; }
.contact-native-select {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  margin: -1px !important;
  padding: 0 !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  clip-path: inset(50%) !important;
  white-space: nowrap !important;
  border: 0 !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
.contact-select { position: relative; }
.contact-select-trigger {
  width: 100%;
  min-height: 49px;
  border: 1px solid rgba(17,71,54,.18);
  border-radius: 12px;
  background: #fcfcfb;
  color: var(--ink);
  padding: 13px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  font: inherit;
  font-size: 14px;
  text-align: left;
  outline: none;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.contact-select-trigger:hover { border-color: rgba(204,163,84,.72); }
.contact-select-trigger:focus-visible,
.contact-select.is-open .contact-select-trigger {
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(204,163,84,.12);
  background: var(--white);
}
.contact-select-value { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.contact-select-value.is-placeholder { color: #6f756f; }
.contact-select-trigger > i {
  flex: 0 0 auto;
  color: var(--green);
  font-size: 14px;
  transition: transform .2s var(--ease), color .2s ease;
}
.contact-select.is-open .contact-select-trigger > i { transform: rotate(180deg); color: var(--gold-deep); }
.contact-select-menu {
  position: absolute;
  z-index: 30;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: none;
  padding: 7px;
  max-height: 280px;
  overflow-y: auto;
  overscroll-behavior: contain;
  border: 1px solid rgba(17,71,54,.13);
  border-radius: 14px;
  background: var(--white);
  box-shadow: 0 18px 44px rgba(8,51,38,.16);
}
.contact-select.is-open .contact-select-menu { display: grid; gap: 3px; }
.contact-select-option {
  width: 100%;
  border: 0;
  border-radius: 9px;
  background: transparent;
  color: var(--ink);
  padding: 11px 12px;
  font: inherit;
  font-size: 13.5px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
  transition: background .15s ease, color .15s ease;
}
.contact-select-option:hover,
.contact-select-option:focus-visible,
.contact-select-option[aria-selected="true"] {
  background: rgba(17,71,54,.075);
  color: var(--green);
  outline: none;
}
.contact-select-option[aria-selected="true"] { font-weight: 750; }
.contact-field.is-invalid .contact-select-trigger { border-color: #b84a4a; }
.contact-field.is-invalid .contact-select-trigger:focus-visible { box-shadow: 0 0 0 4px rgba(184,74,74,.10); }

@media (max-width: 767px) {
  .contact-select-trigger { min-height: 50px; }
  .contact-select-menu { max-height: min(300px, 48vh); }
  .contact-select-option { padding: 12px; font-size: 14px; }
}


/* 2026-08-26 follow-up refinement: WhatsApp submit button text should be white. */
.contact-submit-btn,
.contact-submit-btn:hover,
.contact-submit-btn:focus-visible{color:#fff}
