/* ========================================
   Contact & Schedule Demo (contact.html, schedule-demo.html)
   Shared page-specific styles for contact/demo form pages
   ======================================== */

.contact-form-section,
.demo-form-section {
  background-color: #f8fafc;
  background-color: var(--background-light);
  padding: 80px 0;
}

.contact-form-card,
.demo-form-card {
  background: white;
  background-color: #ffffff;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border-radius: 1rem;
  -webkit-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  -moz-box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  padding: 2rem;
}

.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  margin-bottom: 1rem;
  display: -webkit-box;
  display: -webkit-flex;
  display: -moz-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
  -webkit-align-items: flex-start;
  -moz-box-align: start;
  -ms-flex-align: start;
  align-items: flex-start;
}

.feature-list i {
  color: #05A34A;
  color: var(--primary-color);
  margin-right: 1rem;
  margin-top: 0.25rem;
  -webkit-flex-shrink: 0;
  -moz-flex-shrink: 0;
  -ms-flex-negative: 0;
  flex-shrink: 0;
}

.benefits-card {
  background: white;
  background-color: #ffffff;
  -webkit-border-radius: 1rem;
  -moz-border-radius: 1rem;
  border-radius: 1rem;
  padding: 2rem;
  height: 100%;
}

/* Form styles with better browser support */
.form-control, .form-select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.form-check-input {
  -webkit-appearance: checkbox;
  -moz-appearance: checkbox;
  appearance: checkbox;
}

/* Button styles with vendor prefixes */
.btn {
  -webkit-transition: all 0.3s ease;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  transition: all 0.3s ease;
}

.btn-primary {
  background: #05A34A;
  background-color: #05A34A;
  border-color: #05A34A;
}

.btn-primary:hover {
  background: #048a3e;
  background-color: #048a3e;
  border-color: #048a3e;
}

/* Modal styles with vendor prefixes */
.modal-content {
  -webkit-border-radius: 0.5rem;
  -moz-border-radius: 0.5rem;
  border-radius: 0.5rem;
}

/* Browser-specific fixes */
@supports (-ms-ime-align: auto) {
  /* Edge specific styles */
  .hero-gradient {
    background: #212A3A;
  }
  .gradient-text {
    background: none;
    color: #05A34A;
  }
}

/* Flexbox fallbacks */
.d-flex {
  display: -webkit-box !important;
  display: -webkit-flex !important;
  display: -moz-box !important;
  display: -ms-flexbox !important;
  display: flex !important;
}

.align-items-center {
  -webkit-box-align: center !important;
  -webkit-align-items: center !important;
  -moz-box-align: center !important;
  -ms-flex-align: center !important;
  align-items: center !important;
}

.align-items-start {
  -webkit-box-align: start !important;
  -webkit-align-items: flex-start !important;
  -moz-box-align: start !important;
  -ms-flex-align: start !important;
  align-items: flex-start !important;
}

/* Responsive styles */
@media (max-width: 768px) {
  .contact-form-section,
  .demo-form-section {
    padding: 60px 0;
  }

  .contact-form-card,
  .demo-form-card {
    padding: 1.5rem;
  }
}
