/*--------------------------------------------------------------
# Contact Section
--------------------------------------------------------------*/
.contact-section {
  padding: 85px 0 100px 0;
  background-color: #F8FAFC;
}

.contact-section .contact-subtitle {
  font-family: var(--poppins);
  font-size: 16px;
  font-weight: 700;
  color: #1E3A5F;
  letter-spacing: 0.5px;
  text-transform: capitalize;
  display: block;
}

.contact-section .contact-title {
  font-size: 38px;
  font-family: var(--lexend);
  font-weight: 800;
  color: #111827;
  letter-spacing: -0.5px;
  line-height: 1.25;
}

.contact-section .contact-description {
  font-size: 16px;
  font-family: var(--poppins);
  color: #64748b;
  font-weight: 400;
  line-height: 1.6;
}

.contact-section .contact-card {
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 18px;
  padding: 16px 20px;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.015);
  transition: all 0.3s ease;
}

.contact-section .contact-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 12px 30px rgba(30, 58, 95, 0.07);
}

.contact-section .contact-icon-box {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background-color: #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #1E3A5F;
  flex-shrink: 0;
  transition: all 0.3s ease;
}

.contact-section .contact-card:hover .contact-icon-box {
  background-color: #E2E8F0;
  transform: scale(1.05);
}

.contact-section .contact-label {
  font-family: var(--poppins);
  font-size: 13.5px;
  font-weight: 600;
  color: #64748b;
  margin-bottom: 2px;
}

.contact-section .contact-value {
  font-family: var(--poppins);
  font-size: 16px;
  font-weight: 700;
  color: #111827;
  letter-spacing: 0.2px;
}

/* Contact Card */
.contact-section .contact-form-card {
  background-color: #ffffff;
  border: 1px solid #E2E8F0;
  border-radius: 26px;
  padding: 42px 40px;
  box-shadow: 0 20px 50px rgba(15, 23, 42, 0.05);
}

.contact-section .form-title {
  font-family: var(--lexend);
  font-size: 24px;
  font-weight: 700;
  color: #111827;
}

.contact-section .form-label-custom {
  font-family: var(--poppins);
  font-size: 14px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 8px;
  display: block;
}

.contact-section .form-control-custom,
.contact-section .form-select-custom {
  width: 100%;
  padding: 13px 18px;
  font-family: var(--poppins);
  font-size: 14.5px;
  color: #1e293b;
  background-color: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.contact-section .form-control-custom::placeholder,
.contact-section .form-select-custom:invalid {
  color: #94A3B8;
}

.contact-section .form-select-custom {
  appearance: none;
  background-repeat: no-repeat;
  background-position: right 18px center;
  background-size: 14px 10px;
}

.contact-section .form-control-custom:focus,
.contact-section .form-select-custom:focus {
  border-color: #1E3A5F;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.08);
  outline: none;
}

.contact-section .btn-submit-custom {
  background-color: #1E3A5F;
  color: #ffffff;
  font-family: var(--poppins);
  font-size: 16px;
  font-weight: 600;
  padding: 15px 28px;
  border: none;
  border-radius: 12px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(30, 58, 95, 0.15);
  cursor: pointer;
}

.contact-section .btn-submit-custom:hover {
  background-color: #152A47;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(30, 58, 95, 0.22);
}

/* Validation styling for contact form */
.contact-section .required-star {
  color: #EF4444;
  font-weight: 700;
  margin-left: 3px;
}

.contact-section .error-text {
  color: #EF4444;
  font-family: var(--poppins);
  font-size: 13px;
  font-weight: 500;
  margin-top: 6px;
  display: none;
  animation: fadeIn 0.2s ease-in-out;
}

.contact-section .error-text.show {
  display: block;
}

.contact-section .form-control-custom.input-error,
.contact-section .form-select-custom.input-error {
  border-color: #EF4444 !important;
  background-color: #FEF2F2 !important;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1) !important;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(-3px); }
  to { opacity: 1; transform: translateY(0); }
}
