.form-container {
    z-index: 10;
    margin: 100px auto;
  max-width: 900px;
  margin: 50px auto;
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 40px;
}

.form-title {
  color: var(--primary-color);
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.intro-text {
  color: var(--primary-color);
  font-size: 15px;
  line-height: 1.2;
  margin-bottom: 30px;
  text-align: justify;
}

.form-section {
  background: #f9f9f9;
  border: 1px solid #88316a;
  border-radius: 12px;
  padding: 30px;
}

.section-title {
  color: #5a8f5a;
  font-weight: 600;
  font-size: 14px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.form-check {
  margin-bottom: 12px;
  cursor: pointer !important;
  display: flex;
  gap: 5px;
  align-items: center;
}

.form-check-input {
  border: 2px solid #88316a;
  width: 20px;
  height: 20px;
  cursor: pointer !important;
}

.form-check-input:checked {
  background-color: #88316a;
  border-color: #88316a;
}

.form-check-label {
  color: #000;
  font-weight: 500;
  font-size: 15px;
  margin-left: 8px;
  cursor: pointer !important;
}

.form-label {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 15px;
}

.form-control {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 12px;
  font-size: 14px;
}

.form-control:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 0.2rem rgba(125, 60, 125, 0.15);
}

.form-control::placeholder {
  color: #bbb;
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

.recaptcha-container {
  display: flex;
  justify-content: flex-end;
  margin-top: 25px;
  margin-bottom: 20px;
}

.btn-submit {
  background-color: #88316a;
  color: white;
  border: none;
  padding: 12px 40px;
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  border-radius: 6px;
  float: right;
  transition: all 0.3s ease;
}

.btn-submit:hover {
  background-color: #712657;
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(125, 60, 125, 0.3);
}

.footer-text {
  text-align: center;
  margin-top: 40px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
}

.footer-text p {
  color: var(--primary-color);
  font-size: 16px;
  font-weight: 500;
}

.footer-text a {
  color: #88316a;
  text-decoration: none;
  font-weight: 600;
}

.footer-text a:hover {
  text-decoration: underline;
}
.is-invalid {
    border-color: #dc3545 !important;
}

.invalid-feedback {
    color: #dc3545;
    font-size: 13px;
    margin-top: 5px;
    display: block;
}

.form-control:focus.is-invalid {
    border-color: #dc3545;
    box-shadow: 0 0 0 0.2rem rgba(220, 53, 69, 0.25);
}
@media (max-width: 768px) {
  .form-container {
    margin: 20px;
    padding: 25px;
  }

  .form-title {
    font-size: 22px;
  }

  .intro-text {
    font-size: 14px;
  }

  .recaptcha-container {
    justify-content: center;
  }

  .btn-submit {
    width: 100%;
    float: none;
  }
}
