@import url(../components/config.css);

/* ===========================
   CONTACT PAGE
=========================== */

.contact-page {
  background: #f8fbfc;
}

/* ===========================
   HERO
=========================== */

.page-hero {
  background: linear-gradient(135deg, #08344d 0%, #0b4964 100%);
  color: #fff;
  text-align: center;
  padding: 90px 20px;
}

.page-hero h1 {
  font-size: clamp(2.3rem, 5vw, 3.5rem);
  margin-bottom: 15px;
  font-weight: 700;
  text-align: left;
}

.title-line {
  width: 90px;
  height: 4px;
  background: #17bebb;
  border-radius: 100px;
}

.page-hero p {
  max-width: 650px;

  font-size: 1.05rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.9);
}

/* ===========================
   CONTACT SECTION
=========================== */

.contact-section {
  padding: 90px 0;
}

.contact-wrapper {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 60px;
  align-items: start;
}

/* ===========================
   LEFT SIDE
=========================== */

.contact-info h2,
.contact-form h2 {
  font-size: 2rem;
  color: #0b3551;
  margin-bottom: 18px;
}

.contact-info > p {
  color: #64748b;
  line-height: 1.4;
  margin-bottom: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
}

.contact-item svg {
  width: 24px;
  height: 24px;
  color: #0fa6a6;
  flex-shrink: 0;
  margin-top: 4px;
}

.contact-item h4 {
  color: #0b3551;
  margin-bottom: 5px;
  font-size: 1rem;
}

.contact-item p {
  color: #64748b;
}

/* ===========================
   FORM
=========================== */

.contact-form {
  background: #fff;
  padding: 45px 45px 60px 45px;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(0, 0, 0, 0.08);
}

.form-group {
  margin-bottom: 24px;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-weight: 600;
  color: #0b3551;
}
.form-group label .required {
  display: inline-flex;
  font-size: 13px;
  margin-top: -40px;
}
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  border: 1px solid #dbe5ea;
  border-radius: 10px;
  padding: 14px 16px;
  font-size: 15px;
  font-family: inherit;
  outline: none;
  transition: 0.25s;
  background: #fff;
}

.form-group textarea {
  resize: vertical;
  min-height: 160px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: #17bebb;
  box-shadow: 0 0 0 4px rgba(23, 190, 187, 0.15);
}
.user_agreement {
  margin-block: 24px;
}
.user_agreement label {
  line-height: 1.4;
}
/* ===========================
   BUTTON
=========================== */

.contact-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: none;
  cursor: pointer;
  background: #17bebb;
  color: #fff;
  padding: 15px 32px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  transition: 0.3s;
}

.contact-btn:hover {
  background: #119896;
  transform: translateY(-2px);
}

.contact-btn svg {
  width: 18px;
  height: 18px;
}

.form-error-box {
  margin-top: 20px;
  padding: 16px 18px;
  border-left: 4px solid #dc3545;
  background: #fff5f5;
  color: #842029;
  border-radius: 8px;
}

.form-error-box h4 {
  margin-bottom: 8px;
}

.form-error-box ul {
  list-style-type: disc;
  margin: 0;
  padding-left: 20px;
}
/* ===========================
   RESPONSIVE
=========================== */

@media (max-width: 992px) {
  .contact-wrapper {
    grid-template-columns: 1fr;
    gap: 45px;
  }

  .contact-info {
    text-align: center;
  }

  .contact-item {
    justify-content: center;
    text-align: left;
  }
}

@media (max-width: 768px) {
  .page-hero {
    padding: 70px 20px;
  }

  .contact-section {
    padding: 70px 0;
  }

  .contact-form {
    padding: 30px;
  }
}

@media (max-width: 576px) {
  .page-hero h1 {
    font-size: 2rem;
  }

  .contact-form {
    padding: 25px;
  }

  .contact-btn {
    width: 100%;
    justify-content: center;
  }

  .contact-item {
    align-items: flex-start;
  }
}
