/* ============================================================
   FORM WRAPPER
   ============================================================ */
form[name='contact'] {
  min-width: 420px;
  padding: 24px;
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.08);
  font-family: 'Helvetica Neue', Arial, sans-serif;
}

/* Field spacing */
form[name='contact'] .form-field {
  margin-bottom: 22px;
}

/* ============================================================
   LABELS
   ============================================================ */
form[name='contact'] label {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
  color: #333333;
}

/* ============================================================
   INPUTS & TEXTAREA
   ============================================================ */
form[name='contact'] input[type='text'],
form[name='contact'] input[type='email'],
form[name='contact'] input[type='tel'],
form[name='contact'] textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1px solid #dcdcdc;
  border-radius: 8px;
  background-color: #fafafa;
  font-size: 16px;
  box-sizing: border-box;
  transition: all 0.25s ease;
}

/* Focus states */
form[name='contact'] input:focus,
form[name='contact'] textarea:focus {
  outline: none;
  border-color: #4a9df5;
  background-color: #ffffff;
  box-shadow: 0 0 0 3px rgba(74, 157, 245, 0.15);
}

/* Textarea height */
form[name='contact'] textarea {
  min-height: 130px;
  resize: vertical;
}

/* ============================================================
   SUBMIT BUTTON
   ============================================================ */
form[name='contact'] button[type='submit'] {
  background: #fb8500;
  color: #ffffff;
  padding: 14px 26px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.25s ease, transform 0.1s ease;
  display: inline-block;
}

form[name='contact'] button[type='submit']:hover {
  background: #005bb5;
}

form[name='contact'] button[type='submit']:active {
  transform: scale(0.97);
}


/* ============================================================
   RECAPTCHA SPACING
   ============================================================ */
form[name='contact'] .g-recaptcha,
form[name='contact'] div[data-netlify-recaptcha='true'] {
  margin-bottom: 20px;
}

/* ============================================================
   RESPONSIVE STYLING
   ============================================================ */
@media (max-width: 600px) {
  form[name='contact'] {
    padding: 16px;
    margin: 20px auto;
  }

  #success-message {
    padding: 16px;
  }
}