/* ================= CONTACT PAGE (FIXED) ================= */
#contact {
  width: 100%;
  padding: 120px 20px 80px; /* space below sticky header */
  background: linear-gradient(
    180deg,
    #ffffff 0%,
    #fff7ed 100%
  );
}

/* This is the TRUE centering container */
.form-container {
  max-width: 1100px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  justify-content: center;
}

/* ================= CARD ================= */
.contact-card {
  width: 100%;
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  background: #ffffff;
  border-radius: 24px;
  overflow: hidden;

  border: 1px solid rgba(248, 171, 27, 0.25);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

/* ================= LEFT (FORM) ================= */
.contact-left {
  padding: 60px 50px;
}

.contact-left h1 {
  font-size: 2.2rem;
  font-weight: 800;
  color: rgb(248, 171, 27);
  margin-bottom: 30px;
}

.contact-left label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.contact-left input,
.contact-left textarea {
  width: 100%;
  padding: 14px 16px;
  margin-bottom: 20px;
  border-radius: 12px;
  border: 1px solid #e5e7eb;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.contact-left textarea {
  min-height: 140px;
  resize: vertical;
}

.contact-left input:focus,
.contact-left textarea:focus {
  outline: none;
  border-color: rgb(248, 171, 27);
  box-shadow: 0 0 0 3px rgba(248, 171, 27, 0.2);
}

.contact-left input::placeholder,
.contact-left textarea::placeholder {
  color: #9ca3af;
}

/* Submit */
.contact-left .submit {
  width: 100%;
  padding: 14px 20px;
  border-radius: 14px;
  border: none;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  color: #ffffff;

  background: linear-gradient(
    135deg,
    rgb(248, 171, 27),
    #fb923c
  );

  box-shadow: 0 10px 25px rgba(248, 171, 27, 0.4);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.contact-left .submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 35px rgba(248, 171, 27, 0.55);
}

/* ================= RIGHT (INFO) ================= */
.contact-right {
  background: linear-gradient(
    135deg,
    rgb(248, 171, 27),
    #fb923c
  );
  padding: 60px 40px;
  color: white;
  display: flex;
  align-items: center;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

.contact-right p {
  font-size: 1.2rem;
  line-height: 1.7;
  font-weight: 500;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 900px) {
  .contact-card {
    grid-template-columns: 1fr;
  }

  .contact-right {
    order: -1;
    text-align: center;
    padding: 40px 30px;
  }

  .contact-left {
    padding: 40px 30px;
  }

  .contact-left h1 {
    text-align: center;
  }
  .contact-right{
    border-top-left-radius: 10px;
    border-bottom-right-radius: 0;
  }
}

@media (max-width: 480px) {
  .contact-left {
    padding: 32px 24px;
  }

  .contact-left h1 {
    font-size: 1.9rem;
  }
}
input[aria-invalid="true"],
textarea[aria-invalid="true"] {
  border-color: #ef4444;
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.2);
}
