/* Make the modal wider */
.modal-lg-custom {
  max-width: 800px !important;
  width: 90%;
}
#helpModal .modal-header h5#helpModalLabel {
    width: 100%;
    text-align: center;
}
.modal-body .step > p br {
    display: none;
}
.modal-body .step > p  label {
    margin-bottom: 5px !important;
    padding-left: 5px;
}
.modal-body .step > p span.wpcf7-form-control-wrap > input, .modal-body .step > p span.wpcf7-form-control-wrap > textarea {
    margin-bottom: 20px;
}
.modal-body .step > p span.wpcf7-list-item.first, .modal-body .step > p .wpcf7-acceptance span.wpcf7-list-item {
    margin-left: 0 !important;
}
.wpcf7-form-control.wpcf7-radio {
    margin-bottom: 5px !important;
    display: block;
}
@media (min-width: 992px) {
  .modal-lg-custom {
    max-width: 900px !important;
  }
}

/* === Multi-Step Form Styling === */
form.wpcf7-form {
  position: relative;
  max-width: 600px;
  margin: 0 auto;
}

.step {
  display: none;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.step.active {
  display: block;
  opacity: 1;
}

.step-indicator {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.step-indicator .step-num {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #333;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
}

.step-indicator .step-num.active {
  background: #007bff;
  color: #fff;
  transform: scale(1.1);
}

/* 🔹 Smaller label font & less spacing */
.step label {
  display: block;
  font-weight: 500;
  font-size: 0.875rem; /* fs-6 */
  color: #333;
  margin-bottom: 2px; /* Reduced space between label and input */
}

.step input[type="text"],
.step input[type="email"],
.step input[type="tel"],
.step select,
.step textarea {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.875rem; /* fs-6 */
  margin-bottom: 10px; /* Slightly tighter spacing */
  transition: border-color 0.3s;
}

.step input:focus,
.step select:focus,
.step textarea:focus {
  border-color: #007bff;
  outline: none;
}

.inquiry-btn-group button {
  min-width: 130px;
  font-weight: 600;
  border-radius: 8px;
}

.btn-primary {
  background-color: #007bff !important;
  border: none !important;
  color: #fff !important;
}

.btn-outline-secondary {
  border: 1px solid #aaa !important;
  background: #fff !important;
  color: #333 !important;
}

.btn-outline-secondary:hover {
  background: #f2f2f2 !important;
}

.step-indicator {
  font-size: 18px;
}

.step { display: none; }
.step.active { display: block; }
.step-indicator .step-num { padding: 0 8px; color: #6c757d; }
.step-indicator .step-num.active { color: #2a63d4; font-weight: 700; }

/* Step button row alignment */
.wpcf7-form .mt-3 {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 20px !important;
}

/* Adjust button spacing */
.wpcf7-form .mt-3 .btn,
.wpcf7-form .mt-3 .wpcf7-submit {
  min-width: 180px;
  text-align: center;
}

/* Spinner positioning */
.wpcf7-form .mt-3 .wpcf7-spinner {
  margin-left: 10px;
  align-self: center;
}

#helpModal .modal-header {
  border: 0;
}
#helpModal .modal-content {
  background: #f4f4f5;
}
#helpModal .wpcf7-form {
  padding: 2rem 0;
  background-color: transparent;
}

/* 🔹 Smaller label inside modal */
#helpModal Label {
  font-size: 0.875rem; /* fs-6 */
  line-height: 1.2;
  font-weight: 700;
  color: #2781DB;
  margin-bottom: 2px;
}

#helpModal form.wpcf7-form input[type="text"],
#helpModal form.wpcf7-form input[type="email"],
#helpModal form.wpcf7-form input[type="tel"],
#helpModal form.wpcf7-form input[type="file"],
#helpModal form.wpcf7-form select,
#helpModal form.wpcf7-form textarea {
  width: 100% !important;
  max-width: 100%;
  box-sizing: border-box;
}

#helpModal form.wpcf7-form input,
#helpModal form.wpcf7-form select,
#helpModal form.wpcf7-form textarea {
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 0.875rem;
  width: auto;
}

.step-indicator {
  display: flex;
  justify-content: center;
  font-size: 0;
  column-gap: 15px;
}
.step-indicator .step-num {
  padding: 0 8px;
  color: #667b99;
  background: transparent;
  width: 45px;
  height: 45px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 100%;
  font-size: 16px;
}
.step-indicator .step-num.active {
  color: #fff;
  font-weight: 700;
  background: #108bdd;
  box-shadow: 0px 4px 20px 0px #108bdd45;
}

input.wpcf7-form-control {
  background: #fff;
  padding: 8px 12px !important;
  font-size: 0.875rem;
  color: #000;
}

textarea.wpcf7-form-control {
  background: #fff;
  height: 150px !important;
  font-size: 0.875rem;
}

textarea.wpcf7-form-control::placeholder,
input.wpcf7-form-control::placeholder {
  color: #667b99;
  font-size: 13px;
  font-weight: 500;
}

.inquiry-btn-group {
  display: flex;
  justify-content: center;
  max-width: max-content;
  margin: 0 auto;
  align-items: center;
}
.inquiry-btn-group input.wpcf7-submit {
  flex: 1;
  font-weight: 600 !important;
  margin: 0;
}
.inquiry-btn-group span.wpcf7-spinner {
  position: absolute;
  right: 0;
}
.inquiry-btn-group input.wpcf7-submit:hover {
  background: #008ad9 !important;
}

/* Hero Section & Other UI Styles */
.hero-section {
  padding: 80px 0;
}

.hero-heading {
  font-size: 60px !important;
  line-height: 60px !important;
  font-weight: 700 !important;
  color: #2781DB;
}

.hero-subheading {
  font-size: 60px !important;
  line-height: 60px !important;
  font-weight: 700 !important;
  color: #020817;
}

.hero-text {
  color: rgb(102, 123, 153) !important;
  font-size: 20px !important;
  line-height: 28px !important;
  font-weight: 400 !important;
  margin-top: 10px;
}

.info-card img {
  border-radius: 20px;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
  width: 552px;
  height: 427px;
  object-fit: cover;
}

.btn-primary {
  background-color: #2781DB;
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.2);
}

.btn-primary:hover {
  background-color: #2781DB;
  box-shadow: 0 6px 16px rgba(0, 86, 210, 0.3);
  transform: translateY(-2px);
}

.btn-primary img {
  width: 21px !important;
  height: 21px !important;
  margin-right: 10px !important;
}

.shield-icon {
  display: flex;
  justify-content: start;
  align-items: start;
}
.shield-icon img {
  width: 21px !important;
  height: 21px !important;
  margin-right: 10px !important;
}
.shield-icon p {
  font-size: 14px !important;
  line-height: 20px !important;
  font-weight: 500 !important;
  color: #667b99 !important;
}
.text-muted {
  font-size: 14px !important;
  line-height: 20px;
  font-weight: 400;
  color: #667b99 !important;
  margin-left: 55px;
}

@media (max-width: 1025px) {
  .info-card img {
    width: 100% !important;
  }
}

@media (max-width: 767px) {
  .hero-heading {
    font-size: 40px !important;
    line-height: 40px !important;
    font-weight: 700 !important;
    color: #2781DB;
  }
  .hero-subheading {
    font-size: 40px !important;
    line-height: 40px !important;
    font-weight: 700 !important;
    color: #020817;
  }
}
