/* Overlay */
.lead-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 3000;
}

/* Visible state */
.lead-modal-overlay.visible {
  opacity: 1;
  visibility: visible;
}

/* Modal box */
.lead-modal {
  background: #fff;
  border-radius: 16px;
  padding: 30px;
  width: 95%;
  max-width: 480px;
  position: relative;
  animation: slideUp 0.35s ease forwards;
}

@keyframes slideUp {
  from { transform: translateY(30px); opacity: 0; }
  to   { transform: translateY(0); opacity: 1; }
}

.lead-modal .close-lead-modal {
  position: absolute;
  right: 16px;
  top: 12px;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* Form styling */

.lead-modal .contact-form h2{
    text-align: center;
    text-transform: uppercase;
}
.lead-modal .contact-form label {
  font-weight: 600;
}

.lead-modal .contact-form input,
.lead-modal .contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #afafaf;
  border-radius: 6px;
  margin-top: 5px;
}

.lead-modal .contact-form button {
  background: var(--primary-color);
  color: #fff;
  border: none;
  padding: 11px 18px;
  border-radius: 6px;
  cursor: pointer;
  margin-top: 8px;
  transition: opacity 0.3s;
}

.lead-modal .contact-form button:hover {
  opacity: 0.9;
}

.lead-modal .lead-feedback {
  margin-top: 12px;
  font-weight: 500;
}
