/* ========== CONTACT PAGE CSS ========== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800&family=Roboto:wght@300;400;500;700&display=swap');

/* ========== CONTACT DETAILS SECTION (SOFT SAGE BACKGROUND) ========== */
.contact-details-section {
  background: #edf2e9; /* Soft Sage Background */
  padding: 70px 0 60px;
  font-family: 'Poppins', sans-serif;
  border-bottom: 1px solid rgba(63, 79, 60, 0.08);
}

.contact-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 999px;
  background: #dce7d7;
  color: #3b5037;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.cards-heading-wrapper {
  margin-bottom: 40px;
}

.cards-main-heading {
  font-size: clamp(28px, 4.5vw, 40px);
  font-weight: 700;
  color: #1f3a1f;
  margin-bottom: 10px;
  letter-spacing: -0.5px;
}

.cards-sub-heading {
  font-size: 15px;
  color: #4f634d;
  font-weight: 400;
  max-width: 560px;
  margin: 0 auto;
}

/* ========== CONTACT CARDS (DISTINCT WHITE SURFACES) ========== */
.info-strip {
  margin-bottom: 20px;
}

.info-card-link {
  text-decoration: none;
  color: inherit;
  display: flex;
}

.info-card-horizontal {
  background: #ffffff; /* Distinct white surface */
  border-radius: 14px;
  border: 1px solid rgba(63, 79, 60, 0.14);
  box-shadow: 0 6px 20px rgba(31, 58, 31, 0.06);
  padding: 32px 24px;
  text-align: center;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.info-card-link:hover .info-card-horizontal {
  transform: translateY(-5px);
  box-shadow: 0 14px 32px rgba(31, 58, 31, 0.12);
  border-color: rgba(63, 79, 60, 0.32);
}

.info-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #edf5e8;
  color: #3f5638;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 16px;
  transition: background 0.25s ease, color 0.25s ease;
}

.info-card-link:hover .info-card__icon {
  background: #3f5638;
  color: #ffffff;
}

.info-card__title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #1f3a1f;
  margin-bottom: 8px;
}

.info-card__val {
  color: #2f4a2f;
  font-size: 1.15rem;
  margin-bottom: 6px;
  font-weight: 700;
  letter-spacing: 0.3px;
}

.info-card__sub {
  color: #637761;
  font-size: 12.5px;
  font-weight: 500;
}

/* ========== ENQUIRY FORM SECTION (WARM OFF-WHITE / SOFT SAGE) ========== */
/* ========== CONTACT FORM SECTION ========== */
.contact-form-wrapper {
  margin-top: 52px;
}

.contact-form-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 48px 44px;
  border: 1px solid rgba(63, 79, 60, 0.12);
  box-shadow: 0 20px 48px -10px rgba(31, 58, 31, 0.08), 0 2px 8px rgba(0, 0, 0, 0.02);
  position: relative;
  overflow: hidden;
  font-family: 'Poppins', sans-serif;
}

.contact-form-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #2e5927 0%, #7bc77b 50%, #2e5927 100%);
}

.form-header {
  margin-bottom: 32px;
}

.form-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 16px;
  border-radius: 999px;
  background: #edf5e8;
  color: #2e5927;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.form-main-heading {
  font-size: clamp(26px, 3.8vw, 34px);
  font-weight: 700;
  color: #1f3a1f;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.form-sub-heading {
  font-size: 14.5px;
  color: #556b53;
  line-height: 1.6;
  max-width: 580px;
  margin: 0 auto;
}

/* FORM FIELDS */
.form-group-custom {
  position: relative;
  display: flex;
  flex-direction: column;
}

.form-label-custom {
  font-size: 13.5px;
  font-weight: 600;
  color: #223c21;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.required-mark {
  color: #dc2626;
  margin-left: 3px;
  font-weight: 700;
}

.optional-tag {
  font-size: 11.5px;
  font-weight: 500;
  color: #728a70;
  background: #edf3ea;
  padding: 2px 8px;
  border-radius: 12px;
  letter-spacing: 0.3px;
}

.input-icon-wrap {
  position: relative;
  width: 100%;
}

.input-icon-wrap .input-icon {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: #6e846c;
  font-size: 17px;
  pointer-events: none;
  transition: color 0.25s ease, transform 0.25s ease;
  z-index: 2;
}

.input-icon-wrap.textarea-icon-wrap .input-icon {
  top: 18px;
  transform: none;
}

.form-control-custom {
  width: 100%;
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid #c8d5c5;
  background: #fafbfa;
  padding: 12px 16px 12px 46px;
  font-size: 14.5px;
  color: #1f3a1f;
  font-family: 'Poppins', sans-serif;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  outline: none;
}

.form-control-custom::placeholder {
  color: #92a490;
  font-size: 13.5px;
  font-weight: 400;
}

.form-control-custom:hover {
  border-color: #9bb598;
  background: #ffffff;
}

.form-control-custom:focus {
  background: #ffffff;
  border-color: #2e5927;
  box-shadow: 0 0 0 4px rgba(46, 89, 39, 0.12);
}

.input-icon-wrap:focus-within .input-icon {
  color: #2e5927;
}

/* Custom Select */
.form-select-custom {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' fill='%232e5927' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14 2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 16px center;
  padding-right: 42px;
}

/* Textarea */
.form-textarea-custom {
  height: auto;
  min-height: 128px;
  resize: vertical;
  line-height: 1.6;
}

/* Validation Feedback */
.invalid-feedback-custom {
  color: #dc2626;
  font-size: 12px;
  margin-top: 5px;
  font-weight: 500;
  display: none;
}

.form-control-custom.is-invalid {
  border-color: #dc2626 !important;
  box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.12) !important;
}

.form-control-custom.is-invalid + .invalid-feedback-custom,
.input-icon-wrap:has(.form-control-custom.is-invalid) + .invalid-feedback-custom {
  display: block;
}

/* SUBMIT BUTTON */
.btn-submit-custom {
  background: linear-gradient(135deg, #244224 0%, #3a6839 100%);
  color: #ffffff !important;
  border: none;
  padding: 15px 42px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 10px 24px rgba(40, 71, 40, 0.28);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  overflow: hidden;
}

.btn-submit-custom:hover {
  background: linear-gradient(135deg, #1d361d 0%, #30582f 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(40, 71, 40, 0.36);
}

.btn-submit-custom:active {
  transform: translateY(0);
  box-shadow: 0 6px 16px rgba(40, 71, 40, 0.22);
}

.btn-submit-custom .submit-arrow {
  font-size: 20px;
  line-height: 1;
  transition: transform 0.25s ease;
}

.btn-submit-custom:hover .submit-arrow {
  transform: translateX(4px);
}

.btn-submit-custom:disabled {
  opacity: 0.75;
  transform: none;
  cursor: not-allowed;
  box-shadow: none;
}

/* TRUST MICRO-COPY */
.form-trust-note {
  margin-top: 16px;
  font-size: 12.5px;
  color: #5d755b;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  letter-spacing: 0.2px;
}

.form-trust-note i {
  color: #2e5927;
  font-size: 14px;
}

/* ALERT MESSAGES */
.alert-custom {
  border-radius: 14px;
  padding: 14px 20px;
  font-size: 14px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  gap: 12px;
  line-height: 1.5;
  text-align: left;
}

.alert-custom .alert-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.alert-custom.alert-success {
  background: #edf7e7;
  border: 1px solid #bde3b3;
  color: #1e5927;
}

.alert-custom.alert-danger {
  background: #fdf1f0;
  border: 1px solid #f9c9c3;
  color: #9e2316;
}

/* Compatibility aliases for older modular form classes */
.form-wrapper-box {
  background: #ffffff;
  border-radius: 24px;
  padding: 44px 40px;
  border: 1px solid rgba(63, 79, 60, 0.12);
  box-shadow: 0 20px 48px -10px rgba(31, 58, 31, 0.08);
}

.contact-title {
  font-size: clamp(26px, 4vw, 34px);
  font-weight: 700;
  color: #1f3a1f;
  margin-bottom: 8px;
}

.contact-text {
  color: #556b53;
  font-size: 14.5px;
  line-height: 1.6;
  margin-bottom: 0;
}

.contact-form .form-control {
  height: 52px;
  border-radius: 12px;
  border: 1.5px solid #c8d5c5;
  background: #fafbfa;
  padding: 12px 18px;
  font-size: 14px;
  color: #1f3a1f;
  transition: all 0.25s ease;
}

.contact-form .form-control:focus {
  border-color: #2e5927;
  box-shadow: 0 0 0 4px rgba(46, 89, 39, 0.12);
  background: #ffffff;
  outline: none;
}

.send-btn {
  background: linear-gradient(135deg, #244224 0%, #3a6839 100%);
  color: #ffffff !important;
  border: none;
  padding: 15px 42px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  letter-spacing: 0.4px;
  font-family: 'Poppins', sans-serif;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 12px;
  box-shadow: 0 10px 24px rgba(40, 71, 40, 0.28);
  transition: all 0.3s ease;
}

.send-btn:hover {
  background: linear-gradient(135deg, #1d361d 0%, #30582f 100%);
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(40, 71, 40, 0.36);
}

/* RESPONSIVE */
@media (max-width: 991px) {
  .contact-details-section {
    padding: 56px 0 48px;
  }
  .contact-form-box {
    padding: 38px 30px;
  }
}

@media (max-width: 768px) {
  .contact-details-section {
    padding: 44px 0 38px;
  }
  .contact-form-wrapper {
    margin-top: 36px;
  }
  .contact-form-box {
    padding: 28px 18px;
    border-radius: 18px;
  }
  .info-card-horizontal {
    padding: 24px 18px;
  }
  .info-card__title {
    font-size: 1.1rem;
  }
  .info-card__val {
    font-size: 1.05rem;
  }
  .form-main-heading {
    font-size: 24px;
  }
  .btn-submit-custom {
    width: 100%;
    padding: 14px 28px;
  }
}

