/* Hero Form Styles - Fix whiteout and visibility issues */

.hero-form-container {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
  max-width: 450px;
  width: 100%;
  position: relative;
  z-index: 10;
}

.premium-lead-form {
  width: 100%;
}

.form-header {
  text-align: center;
  margin-bottom: 1.5rem;
}

.form-header h3 {
  font-family: 'Merriweather', serif;
  font-size: 1.75rem;
  color: #2C3D50;
  margin: 0 0 0.5rem 0;
}

.form-header p {
  color: #6B7280;
  font-size: 0.95rem;
}

.form-body {
  width: 100%;
}

.form-group {
  margin-bottom: 1rem;
  width: 100%;
}

.form-row {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.form-row .form-group {
  flex: 1;
  margin-bottom: 0;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.875rem 1rem;
  border: 2px solid #E5E5E5;
  border-radius: 8px;
  font-size: 1rem;
  font-family: 'Lato', sans-serif;
  transition: all 0.3s ease;
  background: white;
  color: #2C3D50;
  box-sizing: border-box;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: #9CA3AF;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #C17B39;
  box-shadow: 0 0 0 3px rgba(193, 123, 57, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 80px;
}

.form-submit-btn {
  width: 100%;
  padding: 1.125rem 2rem;
  background: linear-gradient(135deg, #C17B39 0%, #a06530 100%);
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 1.125rem;
  font-weight: 600;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-top: 1rem;
}

.form-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(193, 123, 57, 0.3);
  background: linear-gradient(135deg, #2F4B3B 0%, #2C3D50 100%);
}

.form-submit-btn:active {
  transform: translateY(0);
}

.form-footer {
  text-align: center;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #E5E5E5;
}

.form-footer p {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  color: #6B7280;
  font-size: 0.875rem;
}

.form-footer .fa-lock {
  color: #9CAF88;
}

/* Fix for any overlays or transparency issues */
.hero-form-container * {
  opacity: 1 !important;
  visibility: visible !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .hero-form-container {
    padding: 1.5rem;
    margin: 2rem auto;
    max-width: 100%;
  }
  
  .form-row {
    flex-direction: column;
    gap: 0;
  }
  
  .form-row .form-group {
    margin-bottom: 1rem;
  }
  
  .form-header h3 {
    font-size: 1.5rem;
  }
}