/* Non-home schedule demo: homepage stats/form UI, white background only */
.ep-nh-demo.ep-stats-demo {
  padding: 0 0 30px !important;
  background: #ffffff !important;
}

.ep-nh-demo .ep-stats-demo__shell {
  width: min(1180px, calc(100% - 40px)) !important;
  max-width: 1180px !important;
  margin: 0 auto !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
}

.ep-nh-demo .ep-stats-demo__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 28px;
}

.ep-nh-demo .ep-stats-demo__stats,
.ep-nh-demo .ep-stats-demo__form {
  width: 100%;
  min-width: 0;
}

.ep-nh-demo .ep-stats-demo__stats {
  max-width: 540px;
}

.ep-nh-demo .ep-stats-demo__form {
  max-width: 560px;
}

.ep-nh-demo .ep-stats-demo__heading {
  margin: 0 0 10px !important;
  text-align: left !important;
  font-size: clamp(1.45rem, 1.18rem + 0.9vw, 1.95rem) !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
  color: #002a38 !important;
}

.ep-nh-demo .ep-stats-demo__heading span {
  color: #0b66c3;
}

.ep-nh-demo .ep-stats-demo__quote {
  margin: 12px 0 18px !important;
  text-align: center !important;
  font-size: clamp(1.05rem, 0.98rem + 0.35vw, 1.22rem) !important;
  line-height: 1.5 !important;
  font-weight: 600 !important;
  font-style: italic !important;
  color: #1472ba !important;
  letter-spacing: 0.01em;
}

.ep-nh-demo .ep-stats-demo__subtitle {
  margin: 0 0 16px !important;
  text-align: left !important;
  color: #4a6070 !important;
  font-size: 0.95rem !important;
  line-height: 1.55 !important;
  font-weight: 500 !important;
}

.ep-nh-demo .ep-stats-cards {
  max-width: 520px;
}

.ep-nh-demo .ep-stats-demo__bullets {
  list-style: none;
  margin: 4px 0 0;
  padding: 0;
}

.ep-nh-demo .ep-stats-demo__bullets li {
  position: relative;
  margin: 0 0 10px;
  padding-left: 1.35rem;
  color: #334155;
  font-size: 0.98rem;
  line-height: 1.55;
  font-weight: 500;
}

.ep-nh-demo .ep-stats-demo__bullets li::before {
  content: "→";
  position: absolute;
  left: 0;
  top: 0;
  color: #0b66c3;
  font-weight: 700;
}

.ep-nh-demo .ep-home-contact-form {
  scroll-margin-top: 100px;
  background: #fff;
  border: 1px solid #dbe8f3;
  border-radius: 16px;
  padding: 0;
  overflow: visible;
  box-shadow: 0 10px 28px rgba(0, 42, 56, 0.08);
  height: auto;
}

.ep-nh-demo .ep-home-contact-form > .test-headline,
.ep-nh-demo .ep-home-contact-form > .section-main-heading {
  margin: 0;
  padding: 10px 18px;
  text-align: center;
  color: #ffffff !important;
  background: #123456;
  border-radius: 16px 16px 0 0;
  font-size: clamp(1.45rem, 1.18rem + 0.9vw, 1.95rem) !important;
  line-height: 1.28 !important;
  font-weight: 700 !important;
}

.ep-nh-demo .ep-home-contact-form:has(> .test-headline) > .epcf-wrap--desktop,
.ep-nh-demo .ep-home-contact-form:has(> .section-main-heading) > .epcf-wrap--desktop {
  padding: 20px;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form,
.ep-nh-demo .ep-home-contact-form .bg-forms {
  min-height: 0;
  background: transparent;
  border: 0;
  border-radius: 0;
  padding: 20px;
  box-shadow: none;
  width: 100%;
  max-width: 100%;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .erp-contact-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .erp-contact-field {
  margin: 0;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .form-control,
.ep-nh-demo .ep-home-contact-form .erp-home-contact-form #captchaInput {
  border: 1px solid #d1d5db;
  border-radius: 8px;
  padding: 10px 12px;
  font-size: 14px;
  color: #1e293b;
  background: #ffffff;
  min-height: 44px;
  width: 100%;
  box-shadow: none;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .form-control::placeholder {
  color: #9ca3af;
  opacity: 1;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .form-control:focus,
.ep-nh-demo .ep-home-contact-form .erp-home-contact-form #captchaInput:focus {
  border-color: #0d9488;
  background: #ffffff;
  outline: none;
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.12);
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form textarea.form-control {
  min-height: 120px;
  max-height: 200px;
  resize: vertical;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .erp-contact-checks {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .erp-contact-check {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .form-check-label,
.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .captchaverify {
  color: #334155;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.45;
  margin: 0;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .form-check-label a {
  color: #0d73d4;
  text-decoration: underline;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .erp-contact-submit {
  margin-top: 4px;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .btnSubmit {
  width: 100%;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: #002a38;
  color: #ffffff;
  font-weight: 700;
  cursor: pointer;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .btnSubmit:hover {
  background: #01384a;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .error {
  color: #c62828;
  font-size: 0.82rem;
}

.ep-nh-demo .ep-home-contact-form .erp-home-contact-form .success {
  color: #0f766e;
  font-size: 0.9rem;
  margin-bottom: 8px;
}

@media (min-width: 992px) {
  .ep-nh-demo .ep-stats-demo__row {
    flex-wrap: nowrap;
  }

  .ep-nh-demo .ep-stats-demo__stats {
    flex: 1 1 0;
  }

  .ep-nh-demo .ep-stats-demo__form {
    display: block;
    flex: 0 0 min(100%, 560px);
    padding-top: 0 !important;
    height: auto;
  }
}

@media (max-width: 991.98px) {
  .ep-nh-demo.ep-stats-demo {
    padding: 0 0 30px !important;
  }

  .ep-nh-demo .ep-stats-cards {
    max-width: 480px;
  }
}

@media (max-width: 575.98px) {
  .ep-nh-demo .ep-stats-cards {
    max-width: none;
    gap: 8px;
  }
}