.contact-context {

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-bottom: 40px;

  gap: 20px;
}

.back-link {

  text-decoration: none;

  color: #5f6b76;

  font-size: 14px;

  font-weight: 500;

  transition: 0.25s ease;
}

.back-link:hover {

  color: #1f1f1f;
}

.context-label {

  font-size: 11px;

  letter-spacing: 0.18em;

  text-transform: uppercase;

  color: #8b8b8b;

  font-weight: 600;
}

/* =========================================
   CONTACT GRID
========================================= */

.contact-grid {
  display: grid;
  grid-template-columns: 1.7fr 0.8fr;
  gap: 50px;
  align-items: start;
}

/* =========================================
   CONTACT FORM
========================================= */

.contact-form {
  background: #ffffff;
  border-radius: 18px;
  padding: 38px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
}

.contact-form h2 {
  margin-top: 10px;
  margin-bottom: 12px;
}

.contact-form form {
  margin-top: 30px;
}

/* =========================================
   FORM FIELDS
========================================= */

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid #dedede;
  border-radius: 8px;
  padding: 10px 16px;
  margin-bottom: 18px;
  font-size: 15px;
  background: #ffffff;
  color: #2b2b2b;
  transition: 0.25s ease;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: #4b4b4b;
  box-shadow: 0 0 0 4px rgba(0,0,0,0.04);
}

/* =========================================
   BUTTON
========================================= */

.contact-form button {
  width: 100%;
  height: 54px;
  border: none;
  border-radius: 12px;
  background: #2f2f2f;
  color: #f5f5f5;
  font-size: 15px;
  font-weight: 500;
  cursor: pointer;
  transition: 0.25s ease;
}

.contact-form button:hover {
  background: #1f1f1f;
}

/* =========================================
   CONTACT INFO
========================================= */

.contact-info {
  background: #ffffff;
  border-radius: 18px;
  padding: 34px 30px;
  box-shadow: 0 10px 30px rgba(0,0,0,0.04);
  position: sticky;
  top: 110px;
}

.contact-info h2 {
  margin-top: 10px;
  margin-bottom: 12px;
}

.contact-intro {
  margin-bottom: 28px;
  line-height: 1.7;
}

/* =========================================
   INFO BOX
========================================= */

.info-box {
  margin-bottom: 28px;
}

.info-box h3 {
  font-size: 15px;
  margin-bottom: 10px;
  color: #2f2f2f;
}

.info-box p {
  line-height: 1.8;
  color: #555;
}

.info-box a {
  color: #3d6f9d;
  text-decoration: none;
  font-weight: 500;
  transition: all 0.25s ease;
  position: relative;
}

/* subtle underline animation */

.info-box a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 1px;
  background: #3d6f9d;
  transition: width 0.25s ease;
}

.info-box a:hover {
  color: #244d73;
}

.info-box a:hover::after {
  width: 100%;
}

.form-message {

  margin-top: 18px;

  font-size: 14px;

  font-weight: 500;

  min-height: 22px;
}

.form-message.success {

  color: #2f7d46;
}

.form-message.error {

  color: #b33a3a;
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 768px) {

  .contact-grid {
    grid-template-columns: 1fr;
    gap: 35px;
  }

  .contact-form,
  .contact-info {
    padding: 28px 22px;
  }

  .contact-info {
    position: relative;
    top: auto;
  }

}

