/* ---------- Contact Section ---------- */
.contact-section {
  padding: 4rem 1rem;
  background: var(--light);
}
.contact-section .container {
  max-width: 600px;
  margin: 0 auto;
  text-align: center;
}
.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
  color: var(--primary);
}
.contact-section p {
  margin-bottom: 2rem;
  color: var(--dark);
}

/* form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  text-align: left;
}
.form-row {
  display: flex;
  flex-direction: column;
}
.form-row label {
  margin-bottom: 0.25rem;
  font-weight: 500;
  color: var(--dark);
}
.form-row input,
.form-row textarea {
  padding: 0.75rem;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 1rem;
}
.form-row input:focus,
.form-row textarea:focus {
  outline: none;
  border-color: var(--accent);
}
.btn-primary {
  align-self: center;
  background: var(--accent);
  color: #fff;
  padding: 0.75rem 2rem;
  border: none;
  border-radius: 4px;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s;
}
.btn-primary:hover {
  background: var(--hover);
}

/* alternate contact */
.alt-contact {
  margin-top: 2.5rem;
  font-size: 1rem;
  color: var(--dark);
}
.alt-contact ul {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
}
.alt-contact li {
  margin-bottom: 0.5rem;
}
.alt-contact a {
  color: var(--accent);
  text-decoration: none;
}
.alt-contact a:hover {
  text-decoration: underline;
}

/* mobile */
@media (max-width: 480px) {
  .contact-form,
  .alt-contact {
    text-align: center;
  }
  .form-row {
    align-items: center;
  }
  .form-row input,
  .form-row textarea {
    width: 100%;
  }
  .btn-primary {
    width: 100%;
  }
}

@media (max-width: 480px) {
  .contact-section .container {
    padding: 0 1rem;
  }
  .contact-form, .alt-contact {
    text-align: center;
  }
  .alt-contact ul {
    display: inline-block;
    text-align: left;
  }
}

#subject {
  width: 100%;
  height: auto;
  max-height: 400px;
}