/* ======== lead-form.css ======== */

/* 
 * SECTION WRAPPER
 * Replaces inline style: "padding: 4rem 1rem;"
 * You can apply this class to your <section> element
 * or use a more generic selector if you prefer.
 */
.waitlist-section {
  padding: 4rem 1rem;
}

/* 
 * CONTACT-FORM CONTAINER
 * Matches inline style: "max-width: 600px; margin: 0 auto;"
 */
#contact-form {
  max-width: 600px;
  margin: 0 auto;
}

/* 
 * HEADINGS & PARAGRAPHS
 * Replaces inline text-align and margin settings.
 */
#contact-form h2 {
  text-align: center;
  margin-bottom: 1rem;
}

#contact-form p {
  text-align: center;
  margin-bottom: 2rem;
}

/* 
 * FORM LABELS
 * Replaces "display: block; margin-bottom: 0.5rem;"
 */
#contact-form label {
  display: block;
  margin-bottom: 0.5rem;
}

/* 
 * FORM INPUTS
 * Replaces inline style: "width: 100%; padding: 0.5rem; margin-bottom: 1.5rem;"
 */
#contact-form input[type="text"],
#contact-form input[type="email"] {
  width: 100%;
  padding: 0.5rem;
  margin-bottom: 1.5rem;
  box-sizing: border-box; /* ensures padding doesn't overflow the input */
}

/* 
 * SUBMIT BUTTON
 * Replaces inline style:
 * background: var(--color-primary);
 * color: #fff;
 * padding: 0.75rem 1.5rem;
 * border-radius: 4px;
 * border: none;
 * font-weight: bold;
 * cursor: pointer;
 */
#contact-form button[type="submit"] {
  background: var(--color-primary);
  color: #fff;
  padding: 0.75rem 1.5rem;
  border-radius: 4px;
  border: none;
  font-weight: bold;
  cursor: pointer;
}
