/* ==========================================================
   IPDAY 2026
   CONTACT SECTION
========================================================== */

/* ==========================================================
   1. SECTION
========================================================== */

.contact-section {
  position: relative;

  width: 100%;

  margin: 0;

  padding: 90px 0 80px;

  background: #f6f9fc;
}

.contact-section .container {
  position: relative;

  z-index: 1;
}

/* ==========================================================
   2. SECTION HEADER
========================================================== */

.contact-section .section-badge {
  display: inline-flex;

  align-items: center;

  justify-content: center;

  padding: 7px 18px;

  border-radius: 999px;

  color: #173d31;

  background: #ffd54a;

  font-family: "Poppins", sans-serif;

  font-size: 12px;

  font-weight: 700;

  letter-spacing: 1.2px;

  text-transform: uppercase;
}

.contact-section .section-title {
  margin-bottom: 12px;

  color: #163b2e;

  font-family: "Montserrat", sans-serif;

  font-size: clamp(32px, 4vw, 46px);

  font-weight: 700;
}

.contact-section .section-subtitle {
  max-width: 720px;

  margin: 0 auto;

  color: #66736e;

  font-family: "Poppins", sans-serif;

  font-size: 15px;

  line-height: 1.8;
}

/* ==========================================================
   3. CONTACT INFORMATION CARD
========================================================== */

.contact-card,
.contact-form-card {
  height: 100%;

  padding: 36px;

  border: 1px solid rgba(18, 61, 48, 0.08);

  border-radius: 20px;

  background: #ffffff;

  box-shadow: 0 12px 35px rgba(20, 52, 42, 0.09);
}

.contact-card h4,
.contact-form-card h4 {
  color: #163b2e;

  font-family: "Montserrat", sans-serif;

  font-size: 23px;

  font-weight: 700;
}

.contact-item {
  display: flex;

  align-items: flex-start;

  gap: 16px;

  margin-bottom: 23px;
}

.contact-item i {
  width: 50px;

  height: 50px;

  display: flex;

  align-items: center;

  justify-content: center;

  flex: 0 0 50px;

  border-radius: 50%;

  color: #ffd54a;

  background: #0d4c3a;

  font-size: 18px;

  box-shadow: 0 7px 18px rgba(13, 76, 58, 0.18);
}

.contact-item strong {
  display: block;

  margin-bottom: 4px;

  color: #263b34;

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  font-weight: 600;
}

.contact-item p,
.contact-item div {
  color: #65726d;

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  line-height: 1.65;
}

.contact-link,
.contact-item a {
  color: #0b6e4f;

  text-decoration: none;

  overflow-wrap: anywhere;

  transition: color 0.25s ease;
}

.contact-link:hover,
.contact-item a:hover {
  color: #d39d00;
}

/* ==========================================================
   4. CONTACT FORM
========================================================== */

.contact-form-intro {
  margin-bottom: 25px;

  color: #66736e;

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  line-height: 1.7;
}

.contact-form-card .form-label {
  margin-bottom: 7px;

  color: #263b34;

  font-family: "Poppins", sans-serif;

  font-size: 13px;

  font-weight: 600;
}

.contact-form-card .form-control {
  min-height: 48px;

  padding: 11px 14px;

  border: 1px solid #dce5e1;

  border-radius: 10px;

  color: #263b34;

  background: #fbfcfc;

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  box-shadow: none;

  transition:
    border-color 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
}

.contact-form-card textarea.form-control {
  min-height: 135px;

  resize: vertical;
}

.contact-form-card .form-control:focus {
  border-color: #0b6e4f;

  background: #ffffff;

  box-shadow: 0 0 0 4px rgba(11, 110, 79, 0.1);
}

.contact-submit-btn {
  min-height: 50px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  gap: 9px;

  padding: 11px 25px;

  border: 1px solid #0b6e4f;

  border-radius: 999px;

  color: #ffffff;

  background: #0b6e4f;

  font-family: "Poppins", sans-serif;

  font-size: 15px;

  font-weight: 600;

  transition:
    transform 0.25s ease,
    background-color 0.25s ease,
    box-shadow 0.25s ease;
}

.contact-submit-btn:hover {
  border-color: #095d43;

  color: #ffffff;

  background: #095d43;

  transform: translateY(-2px);

  box-shadow: 0 10px 24px rgba(11, 110, 79, 0.22);
}

/* ==========================================================
   5. MAP
========================================================== */

.contact-section h3 {
  color: #163b2e;

  font-family: "Montserrat", sans-serif;

  font-size: 26px;

  font-weight: 700;
}

.map-card {
  position: relative;

  width: 100%;

  height: 390px;

  min-height: 0;

  overflow: hidden;

  border: 1px solid rgba(18, 61, 48, 0.08);

  border-radius: 20px;

  background: #e8efec;

  box-shadow: 0 12px 35px rgba(20, 52, 42, 0.1);
}

.map-card iframe {
  width: 100%;

  height: 100%;

  display: block;

  border: 0;
}

/* ==========================================================
   CONTACT FORM STATUS
========================================================== */

.contact-alert {
  display: none;

  margin-bottom: 22px;

  padding: 14px 17px;

  border: 1px solid transparent;

  border-radius: 10px;

  font-family: "Poppins", sans-serif;

  font-size: 14px;

  line-height: 1.6;
}

.contact-alert-success {
  display: block;

  border-color: #a9dcc3;

  color: #155d3e;

  background: #e9f8f0;
}

.contact-alert-error {
  display: block;

  border-color: #efb3b3;

  color: #8b2020;

  background: #fff0f0;
}

/* Honeypot tidak terlihat oleh pengunjung */

.contact-honeypot {
  position: absolute !important;

  left: -10000px !important;

  width: 1px !important;

  height: 1px !important;

  overflow: hidden !important;

  opacity: 0 !important;

  pointer-events: none !important;
}

/* Status tombol */

.contact-submit-loading {
  display: none;

  align-items: center;

  justify-content: center;

  gap: 8px;
}

.contact-submit-btn.is-loading .contact-submit-normal {
  display: none;
}

.contact-submit-btn.is-loading .contact-submit-loading {
  display: inline-flex;
}

.contact-submit-btn:disabled {
  cursor: not-allowed;

  opacity: 0.75;

  transform: none;
}

/* ==========================================================
   6. TABLET
========================================================== */

@media (max-width: 991.98px) {
  .contact-section {
    padding: 75px 0 65px;
  }

  .contact-card,
  .contact-form-card {
    padding: 30px;
  }

  .map-card {
    height: 350px;
  }
}

/* ==========================================================
   7. MOBILE
========================================================== */

@media (max-width: 767.98px) {
  .contact-section {
    padding: 60px 0 50px;
  }

  .contact-card,
  .contact-form-card {
    padding: 25px 20px;

    border-radius: 16px;
  }

  .contact-item {
    gap: 13px;
  }

  .contact-item i {
    width: 45px;

    height: 45px;

    flex-basis: 45px;

    font-size: 16px;
  }

  .map-card {
    height: 310px;

    border-radius: 16px;
  }

  .contact-submit-btn {
    width: 100%;
  }
}

/* ==========================================================
   8. SMALL MOBILE
========================================================== */

@media (max-width: 479.98px) {
  .contact-section {
    padding-top: 52px;
  }

  .contact-section .section-title {
    font-size: 31px;
  }

  .map-card {
    height: 280px;
  }
}

.contact-honeypot {
  position: absolute !important;
  left: -10000px !important;
  top: auto !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
  opacity: 0 !important;
  pointer-events: none !important;
}
