/* =========================================
SECTION: LEAD CAPTURE FORM
DESCRIPTION: Handles form layout and UI
========================================= */

.lead-capture-section {
  padding: 30px 0;
  background: #f8fafc;
}

.lead-capture-container {
  max-width: 1400px;
  margin: 0 auto;
  background: #ffffff;
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  display: grid;
  grid-template-columns: 3fr 1fr;
  gap: 2rem;
  align-items: center;
  border: 1px solid #e5e7eb;
  position: relative;
  overflow: visible; /* Allow dropdown to be seen */
}

.lead-capture-content {
  z-index: 2;
  padding-left: 10px;
}

.lead-capture-title {
  font-size: 1.5rem;
  font-weight: 800;
  color: #111827;
  margin-bottom: 0.5rem;
  line-height: 1.2;
}

.lead-capture-subtitle {
  font-size: 0.9rem;
  color: #6b7280;
  line-height: 1.4;
  margin-bottom: 1.5rem;
  max-width: 800px;
}

/* Form Styling */
.lead-capture-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  width: 100%;
  max-width: 100%;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1.1fr 1.4fr 1.1fr 50px;
  gap: 1rem;
  align-items: center;
}

.input-group {
  position: relative;
}

.lead-capture-form input,
.lead-capture-form select {
  width: 100%;
  height: 44px;
  padding: 0 1rem;
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #111827;
  transition: all 0.3s ease;
  margin: 0;
}

.lead-capture-form input:focus,
.lead-capture-form select:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.1);
}

/* Phone Input Styling */
#phoneInput {
  background: #ffffff;
}

/* Remove old dropdown and selector styles */

/* Remove old option styles */

/* Submit Button */
.submit-button {
  background: linear-gradient(135deg, #2563eb, #7c3aed);
  color: #ffffff;
  border: none;
  height: 44px;
  width: 50px;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.submit-button i {
  width: 20px;
  height: 20px;
  stroke-width: 2.5px;
}

.submit-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
}

/* Image Section */
.lead-capture-image-wrapper {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  position: relative;
  padding-right: 10px;
}

.circle-frame {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  padding: 8px;
  background: linear-gradient(
    135deg,
    rgba(37, 99, 235, 0.1),
    rgba(124, 58, 237, 0.1)
  );
  border: 1px solid rgba(37, 99, 235, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.circle-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.image-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background: linear-gradient(
    to right,
    rgba(255, 255, 255, 0.4) 0%,
    rgba(255, 255, 255, 0) 50%
  );
  pointer-events: none;
}

/* Decorative elements */
.decor-circle {
  position: absolute;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 1;
  opacity: 0.4;
}

.decor-1 {
  width: 200px;
  height: 200px;
  background: rgba(37, 99, 235, 0.2);
  top: -100px;
  left: -50px;
}

.decor-2 {
  width: 300px;
  height: 300px;
  background: rgba(124, 58, 237, 0.15);
  bottom: -150px;
  right: -50px;
}

/* Responsive */
@media (max-width: 1100px) {
  .lead-capture-container {
    grid-template-columns: 1fr;
    padding: 2rem;
    gap: 2rem;
  }

  .lead-capture-image-wrapper {
    order: 2;
  }

  .lead-capture-content {
    order: 1;
    text-align: center;
  }

  .lead-capture-subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .form-row {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }

  .submit-button {
    grid-column: span 2;
    width: 100%;
    height: 46px;
  }

  .circle-frame {
    width: 300px;
    height: 300px;
  }
}

@media (max-width: 768px) {
  .lead-capture-section {
    padding: 20px 1rem;
  }

  .lead-capture-container {
    padding: 1.25rem;
    border-radius: 12px;
  }

  .lead-capture-title {
    font-size: 1.25rem;
  }

  .lead-capture-form input,
  .lead-capture-form select,
  .submit-button {
    height: 46px;
  }

  .form-row {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  .submit-button {
    grid-column: span 1;
    width: 100%;
  }

  .circle-frame {
    width: 100%;
    height: 140px;
    border-radius: 12px;
    padding: 0;
    overflow: hidden;
  }

  .circle-frame img {
    border-radius: 12px;
  }

  .image-overlay {
    border-radius: 12px;
  }
}

/* END: LEAD CAPTURE FORM */
