/* ==========================================================================
   Layout & Structure
   ========================================================================== */
.sem-template {
  max-width: 1400px;
  margin: 0 auto;
  padding: 50px 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0 !important;
  align-items: flex-start;
}

.sem-template .sem-main-content {
  flex: 0 1 calc(70% - 20px);
  padding: 0 20px 20px 20px;
}

.sem-template #SidebarForm {
  flex: 0 1 30%;
}

/* ==========================================================================
   Typography & Content
   ========================================================================== */
.sem-template .sem-main-content h1 {
  font-size: 2.75rem;
  font-weight: bold;
  line-height: 1.1;
}

.sem-template .sem-main-content .sem-content {
  font-size: 1.5rem;
}

/* ==========================================================================
   Featured Image
   ========================================================================== */
.sem-template .sem-featured-image {
  height: 315px;
  max-height: 315px;
  width: 100%;
  object-fit: cover;
  object-position: 50% 30%;
  padding-bottom: 20px;
}

/* ==========================================================================
   CTA Button
   ========================================================================== */
.sem-template .optional-button {
  display: inline-block;
  background: var(--cp-orange);
  padding: 12px 50px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1.25rem;
  text-align: center;
  margin: 20px 0;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.14);
  transition: all 0.1s;
}

.sem-template .optional-button:hover {
  transform: translateY(2px);
  box-shadow: none;
}

/* ==========================================================================
   Social Media Bar
   ========================================================================== */
.sem-social-connect {
  background-color: var(--cp-teal);
  padding: 15px;
  margin-top: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.14);
  border-radius: 5px;
}

.sem-social-label {
  font-weight: bold;
  color: #fff;
  font-size: 1.25rem;
  margin-right: 15px;
}

.sem-social-list {
  display: flex;
  gap: 8px;
  padding: 0;
  margin: 0;
  list-style: none;
}

.sem-social-list li {
  display: flex;
}

.sem-social-icon {
  background: #fff;
  color: var(--cp-teal);
  font-size: 18px;
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  text-decoration: none !important;
}

.sem-social-icon:hover {
  transform: scale(1.1);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

/* ==========================================================================
Reviews Section
========================================================================== */

.sem-reviews {
  background: #f0f0f0;
  padding: 50px 0;
}

.sem-reviews-inner {
  max-width: 1400px;
  margin: 0 auto;
  justify-content: center;
}

.sem-reviews-heading {
  text-align: center;
  margin-bottom: 20px;
}

.sem-reviews-heading .stars {
  font-size: 35px;
  color: #ffb13f;
  margin-bottom: 5px;
}

.sem-reviews-heading h2 {
  font-size: 2.25rem;
  margin-bottom: 0px;
  font-weight: 100;
  line-height: 1.1;
}

.sem-reviews-heading .powered-by {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  font-size: 0.9rem;
  color: #777;
  margin-bottom: 30px;
}

.sem-reviews-heading .powered-by img,
.sem-reviews-heading .powered-by svg {
  width: 220px;
  height: 30px;
}

.sem-reviews-inner .reviews-inner {
  display: flex;
  margin: 0 auto;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
}

.sem-reviews .review {
  font-size: 1rem;
  flex: 0 1 30%;
}

.sem-reviews .review .rating {
  text-transform: uppercase;
  font-size: 1.15rem;
  border-bottom: #f4b333 solid 2px;
  padding-bottom: 5px;
  margin-bottom: 5px;
}

.sem-reviews .review .question {
  font-weight: bold;
  margin-bottom: 10px;
}

.sem-reviews .review .review-text {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
}

.sem-reviews .review-button {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 0;
}
.sem-reviews .review-button a {
  background: var(--cp-orange);
  padding: 12px 30px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 900;
  font-size: 1rem;
  color: #fff;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.14);
  transition: all 0.1s;
  text-transform: uppercase;
  color: #fff;
  display: inline-block;
}
.sem-reviews .review-button a:hover {
  transform: translateY(2px);
  box-shadow: none !important;
}

/* ==========================================================================
   Cities Block
   ========================================================================== */
.cities-container {
  padding: 50px 0;
}

.cities {
  max-width: 1400px;
  margin: 0 auto;
}

.cities h2 {
  font-size: 2.25rem;
  line-height: 1;
  margin-bottom: 20px;
  text-align: center !important;
  font-weight: 100;
}

.cities .list-cities {
  font-size: 1.25rem !important;
  text-align: center !important;
}

/* ==========================================================================
   Navigation Hides
   ========================================================================== */
.fl-node-symk6d45afpr {
  height: 24px !important;
}
.fl-node-d3hi9wlsqkvo .fl-node-symk6d45afpr .fl-rich-text {
  display: none !important;
}
.fl-node-d3hi9wlsqkvo .fl-node-smw624xzn7uk .fl-icon-group {
  display: none !important;
}
.fl-node-vurje6dktqag {
  display: none !important;
}
.fl-node-j0vlup35x86s {
  display: none !important;
}
.fl-node-zdup1hoel06f {
  display: none !important;
}
.fl-node-86thdixwm1pu > .fl-col-content {
  height: 25px !important;
}
.fl-node-zdup1hoel06f nav {
  display: none !important;
}
.fl-node-2b9jdetvaogx {
  display: none !important;
}
.fl-node-yrdjogisp6x9 {
  display: none !important;
}
.fl-node-biq4fwax0c69 {
  display: none !important;
}
.fl-node-hg9rc5eudox2 {
  display: none !important;
}

/* Template 3 Specific */
body.sem-template_3 .fl-node-symk6d45afpr {
  height: 24px !important;
}

body.sem-template_3 .fl-builder-content-16,
body.sem-template_3 .fl-builder-content-1750 {
  display: none !important;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
/* Responsive Error Positioning */
@media (max-width: 1200px) {
  .legal-consent-container .hs-error-msgs label {
    margin-left: 72px;
  }
}

@media (max-width: 768px) {
  .sem-template {
    flex-direction: column;
    padding: 20px;
  }
  .sem-template:has(> .form-left) {
    flex-direction: column-reverse;
  }

  .sem-template .sem-featured-image {
    object-fit: contain;
    height: auto;
  }

  .sem-template .sem-main-content,
  .sem-template #SidebarForm {
    flex: 1 1 100%;
    padding-right: 0;
  }

  .sem-template .sem-main-content {
    padding: 0 0 20px 0 !important;
  }

  .sem-template .sem-main-content h1 {
    line-height: 1;
    font-size: 2.25rem;
    margin-bottom: 10px;
  }
  .sem-template .sem-main-content .sem-content {
    font-size: 1.25rem;
  }

  .sem-reviews {
    padding: 20px 20px 40px;
  }

  .sem-reviews .review {
    flex: 1 1 100%;
  }

  .sem-social-label {
    padding-bottom: 10px;
  }

  .cities-container {
    padding: 20px;
  }

  input[type="checkbox"],
  input[type="radio"] {
    width: 5% !important;
  }

  .legal-consent-container .hs-error-msgs label {
    margin-left: 43px;
  }

  .form-columns-2 .hs-input,
  .form-columns-3 .hs-input,
  #ConnectForm .hs-form-field input {
    width: 100%;
  }
}

/* ==========================================================================
   Downloads Button Styles
   ========================================================================== */
.sem-downloads {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-top: 30px;
}

.sem-downloads .sem-button {
  background-color: var(--cp-orange);
  color: #fff;
  text-align: center;
  padding: 12px 20px;
  border-radius: 10px;
  border: none;
  font-family: "Lato", sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  text-transform: uppercase;
  text-decoration: none;
  width: 100%;
  text-shadow: 0 0 1px #313131, 0 0 2px #313131;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.14);
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.sem-downloads .sem-button:hover {
  background-color: var(--cp-teal);
  box-shadow: none;
  transform: translateY(2px);
}

.sem-downloads .sem-button i {
  margin-left: 10px;
  font-size: 1.35rem;
}

/* ==========================================================================
   ==========================================================================
   Connect Form Styling
   ==========================================================================
   ========================================================================== */

/* ==========================================================================
   SEM Sidebar Styling
   ========================================================================== */
#SidebarForm {
  background: var(--cp-purple);
  position: relative;
  border-radius: 5px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.14);
}

#SidebarForm #ConnectForm {
  position: relative;
  padding: 20px;
  padding-top: 0;
}

/* ==========================================================================
   Headers & Labels
   ========================================================================== */
#SidebarForm #ConnectFormHeader h2.first,
#SidebarForm #ConnectFormHeader h2.second,
#SidebarForm #ConnectFormHeader h3 {
  color: #fff;
  text-align: center;
  line-height: 1;
}

#SidebarForm #ConnectFormHeader h2.first {
  font-size: 1.5rem;
  margin: 20px 20px 0;
}

#SidebarForm #ConnectFormHeader h2.second {
  font-size: 1.75rem;
  font-weight: 900;
  margin: 10px 5px;
}
#SidebarForm #ConnectFormHeader h2.second.pt-20 {
  padding-top: 20px !important;
}

#SidebarForm #ConnectFormHeader h3 {
  font-size: 1.5rem;
  font-weight: 200;
  font-style: italic;
  margin: 0 5px 10px;
}

/* ==========================================================================
   Submit Button
   ========================================================================== */
#SidebarForm #ConnectForm #CustomSubmit {
  background: var(--cp-orange);
  color: #fff !important;
  width: 100% !important;
  padding: 10px !important;
  margin-top: 25px;
  border-radius: 10px !important;
  border: none;
  font-family: "Lato", sans-serif !important;
  font-weight: 700 !important;
  font-size: 1.25rem !important;
  text-transform: uppercase;
  text-shadow: 0 0 1px #000, 0 0 2px #000 !important;
  align-self: start;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.14);
  transition: all 0.1s;
}

#SidebarForm #ConnectForm #CustomSubmit:hover {
  transform: translateY(2px);
  box-shadow: none;
}

#SidebarForm #ConnectForm .hs-button {
  display: none !important;
}

/* ==========================================================================
   Success Message
   ========================================================================== */
#SidebarForm #ConnectForm .submitted-message,
#SidebarForm #ConnectForm .submitted-message p:first-child {
  color: #fff;
  text-align: center;
  margin-top: 20px;
  font-weight: 200;
  font-size: 1.35rem;
  line-height: 1.15;
  padding: 0;
}
#SidebarForm #ConnectForm .submitted-message :not(p:first-child) {
  display: none;
}

/* ==========================================================================
   Field & Input Styling
   ========================================================================== */
#SidebarForm #ConnectForm .hs-form input .hs-input,
#SidebarForm #ConnectForm .hs-form-field input,
#SidebarForm #ConnectForm .hbspt-form .hs-form textarea {
  color: #000 !important;
  border: solid 1px var(--cp-gray) !important;
  border-radius: 0 !important;
  padding: 12px 10px !important;
  font-size: 15px !important;
  font-family: "Lato", sans-serif !important;
}

#SidebarForm #ConnectForm .hs-form .hs_zip .input input {
  width: 100% !important;
}

#SidebarForm #ConnectForm .hs-form-field input::placeholder,
#SidebarForm #ConnectForm .hbspt-form .hs-form textarea::placeholder {
  color: #000 !important;
}

#SidebarForm #ConnectForm .hs-form-field select {
  padding: 12px;
  font-size: 15px !important;
  font-family: Lato !important;
}

#SidebarForm #ConnectForm .hs-form fieldset {
  max-width: none !important;
  margin: 0 !important;
}

#SidebarForm #ConnectForm .hs-form fieldset select,
#SidebarForm #ConnectForm .hs-form fieldset textarea {
  width: 100% !important;
  box-sizing: border-box;
}

/* ==========================================================================
   Phone & Callout Section
   ========================================================================== */
#SidebarForm #ConnectForm .ConnectFormCallout,
#SidebarForm #ConnectForm .ConnectPhone {
  margin: 20px;
  color: #fff !important;
}

#SidebarForm #ConnectForm .ConnectPhone .phone a {
  color: #fff;
  font-size: 1.75rem;
}

#SidebarForm #ConnectForm .ConnectPhone .phone a:hover {
  text-decoration: underline;
}

/* ==========================================================================
   Error & Consent
   ========================================================================== */
#SidebarForm #ConnectForm .hs-form-field .hs-error-msgs,
#SidebarForm #ConnectForm .legal-consent-container .hs-error-msgs,
#SidebarForm #ConnectForm .hs_error_rollup {
  color: #fff !important;
  margin-bottom: 0;
}

#SidebarForm #ConnectForm .hs-form-field .hs-error-msgs li,
#SidebarForm #ConnectForm .legal-consent-container .hs-error-msgs li {
  margin-left: -10px !important;
}

#SidebarForm #ConnectForm .hs-form-field .hs-error-msgs label,
#SidebarForm #ConnectForm .legal-consent-container .hs-error-msgs label {
  display: flex;
  margin-bottom: 0;
}

#SidebarForm #ConnectForm .legal-consent-container .hs-error-msgs label {
  margin-left: 87px;
  margin-top: -20px;
  color: var(--cp-orange);
}

/* ==========================================================================
   Checkboxes & Radios
   ========================================================================== */
#SidebarForm #ConnectForm .hs-form-booleancheckbox,
#SidebarForm #ConnectForm .hs-form-checkbox label {
  width: 100%;
}

#SidebarForm #ConnectForm .hs-cp_sms_consent_checkbox ul {
  padding-left: 0;
  padding-top: 20px;
}

#SidebarForm #ConnectForm .hs-form-booleancheckbox label {
  padding: 5px 10px 0;
  color: #fff;
}

#SidebarForm #ConnectForm .hs-form-booleancheckbox input {
  margin: 0 5px 0 0;
}

#SidebarForm #ConnectForm .hs-form-booleancheckbox-display p {
  width: 90%;
}

#SidebarForm #ConnectForm .asterisk {
  margin: -10px 10px 20px 10px;
  color: #fff !important;
  font-size: 0.8rem;
}

#SidebarForm #ConnectForm .hs-cp_sms_consent_checkbox ul,
#SidebarForm #ConnectForm .inputs-list ul,
#SidebarForm #ConnectForm .hs-form-booleancheckbox ul {
  list-style: none;
  /* margin: 20px -30px; */
}

#SidebarForm #ConnectForm .hs-richtext,
#SidebarForm #ConnectForm .hs-dependent-field {
  color: white;
  word-break: break-word;
  padding: 0 20px;
}

#SidebarForm #ConnectForm input[type="checkbox"],
#SidebarForm #ConnectForm input[type="radio"] {
  width: 5% !important;
}

/* ==========================================================================
   Overlay & Spinner
   ========================================================================== */
#SidebarForm .form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 5px;
}

#SidebarForm .spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid #fff;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* ==========================================================================
   ==========================================================================
   MultiStep Form Styling
   ==========================================================================
   ========================================================================== */
/* ==========================================================================
	 Layout & Form Structure
	 ========================================================================== */
#MultiStepForm #FormContainer {
  background-repeat: no-repeat;
  background-position: 50% 100%;
  background-attachment: scroll;
  background-size: cover;
  padding: 0 20px 200px;
  /* height: 95vh; */
}

#MultiStepForm #ConnectForm {
  position: relative;
  max-width: 1000px;
  margin: 0 auto;
  padding: 50px 0;
}

#MultiStepForm #ConnectForm div.hbspt-form {
  width: 700px;
  margin: 0 auto;
}

.form-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  border-radius: 5px;
}

/* ==========================================================================
	 Layout & Form Structure
	 ========================================================================== */
#MultiStepForm #FormHeader {
  text-align: center;
  /* max-width: 800px; */
  margin: 0 auto;
  margin-bottom: 30px;
  color: rgb(44, 44, 44);
  font-family: "Lato", sans-serif;
}

#MultiStepForm #FormHeader #Logo {
  width: 300px;
  height: auto;
  margin: 0 auto 50px auto;
  display: flex;
}

#MultiStepForm #FormHeader h1 {
  margin-bottom: 20px;
  font-size: 4rem;
  font-weight: 500;
  line-height: 1.1;
  letter-spacing: -0.075rem;
}

#MultiStepForm #FormHeader h3 {
  font-size: 1.75rem;
  font-weight: 300;
  letter-spacing: 0.1rem;
}

/* ==========================================================================
	 Multi-Step Form Components
	 ========================================================================== */

/* MultiStepForm fade-out (form disappears) */
#MultiStepForm.fade-out {
  opacity: 0;
  transform: scale(0.97);
  transition: opacity 0.6s ease, transform 0.6s ease;
  pointer-events: none;
}

/* Content section fade-in (after form) */
.sem-template.sem-template-3-5.fade-in {
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.6s ease 0.2s, transform 0.6s ease 0.2s;
}

.sem-template.sem-template-3-5 {
  opacity: 0;
  transform: scale(0.95);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

#MultiStepForm,
.sem-template.sem-template-3-5 {
  will-change: opacity, transform;
}

/* Animation smoothing for multi-step transitions */
#StepWrapper {
  position: relative;
  height: auto;
  transition: height 0.4s ease;
  overflow: hidden;
}

.step-container-wrapper {
  position: relative;
}

.step-container {
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transform: translateX(20px);
  transition: opacity 0.5s ease, transform 0.5s ease;
  width: 100%;
  pointer-events: none;
}

.step-container.active {
  opacity: 1;
  transform: translateX(0);
  position: relative;
  pointer-events: auto;
}

#MultiStepForm .step-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
  gap: 1rem;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#MultiStepForm .step-nav.visible {
  opacity: 1;
  visibility: visible;
}

#MultiStepForm .step-nav .prev-step {
  margin-left: 0;
  margin-right: auto;
}

#MultiStepForm .step-nav .next-step,
#MultiStepForm #CustomSubmit.next-step {
  margin-left: auto;
}

#MultiStepForm .step-nav button,
#MultiStepForm #CustomSubmit.next-step {
  font-size: 1.125rem;
  padding: 0.75rem 1.5rem;
  background-color: var(--cp-orange);
  color: #fff !important;
  font-weight: 600;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08), 0 4px 4px rgba(0, 0, 0, 0.14);
  text-shadow: 0 0 1px #000, 0 0 2px #000 !important;
  font-family: "Lato", sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  transition: all 0.1s;
}

#MultiStepForm .step-nav button:hover,
#MultiStepForm #CustomSubmit.next-step:hover {
  background-color: var(--cp-teal);
  transform: translateY(2px);
  box-shadow: none;
}

#MultiStepForm .step-dots {
  display: flex;
  justify-content: center;
  margin-top: 2rem;
  gap: 8px;
}

#MultiStepForm .step-dots .dot {
  width: 12px;
  height: 12px;
  background-color: #ccc;
  border-radius: 50%;
  transition: background-color 0.3s;
}

#MultiStepForm .step-dots .dot.active {
  background-color: #004c97;
}

#MultiStepForm #multiStepHubspotForm input[type="submit"] {
  display: none !important;
}

#MultiStepForm .submitted-message p:first-child {
  text-align: center;
  margin-top: 20px;
  font-size: 1rem;
  border-top: solid 1px #fff;
  padding-top: 20px;
}

/* ==========================================================================
	 Form Elements
	 ========================================================================== */
#MultiStepForm #multiStepHubspotForm .hs-input {
  font-size: 1.1rem;
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  box-shadow: none;
  transition: border-color 0.3s ease;
  width: 100%;
}

#MultiStepForm #multiStepHubspotForm .hs-input:focus {
  border-color: #004c97;
  outline: none;
}

#MultiStepForm #multiStepHubspotForm select.hs-input {
  appearance: none;
  background: white url('data:image/svg+xml;utf8,<svg fill="%23000" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right
    1rem center/16px 16px;
  padding-right: 2.5rem;
}

#MultiStepForm #multiStepHubspotForm .hs_timeframe_for_living_decision {
  margin-top: 10px;
}
#MultiStepForm #multiStepHubspotForm .hs_timeframe_for_living_decision label {
  font-size: 1.05rem;
  text-decoration: underline;
}

/* ==========================================================================
	 ZIP Field Suggestions (Custom ZIP Input)
	 ========================================================================== */
#MultiStepForm #zip-enhanced-wrapper {
  position: relative;
  width: 100%;
  margin-bottom: 1rem;
}

#MultiStepForm #zip-enhanced {
  width: 100%;
  padding: 0.75rem;
  font-size: 1.125rem;
  border: 1px solid #ccc;
  border-radius: 6px;
}

#MultiStepForm #zip-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: white;
  /* border: 1px solid #ccc; */
  z-index: 10;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 6px;
  margin-top: 4px;
}

#MultiStepForm .zip-suggestion-item {
  padding: 12px 16px;
  cursor: pointer;
  font-size: 1rem;
  font-family: "Lato", sans-serif;
  color: #333;
  transition: background-color 0.2s, color 0.2s;
}

#MultiStepForm .zip-suggestion-item:hover {
  background-color: #f5f5f5;
  color: #000;
}

/* ==========================================================================
	 Utilities & Error Messages
	 ========================================================================== */
#MultiStepForm .error-message {
  color: red;
}

#MultiStepForm .hs-cp_sms_consent_checkbox ul,
#MultiStepForm .inputs-list ul,
#MultiStepForm .hs-form-booleancheckbox ul {
  list-style: none;
  margin: 20px -30px;
}

#MultiStepForm .legal-consent-container .hs-error-msgs,
#MultiStepForm .hs-form-field .hs-error-msgs,
#MultiStepForm .hs_error_rollup,
#MultiStepForm .hs-form-booleancheckbox {
  margin-bottom: 0px;
}

#MultiStepForm .hs-form-field .hs-error-msgs li,
#MultiStepForm .hs-form-booleancheckbox li .hs-form-booleancheckbox .hs-error-msgs li,
#MultiStepForm .legal-consent-container .hs-error-msgs li {
  margin-left: -10px !important;
}

#MultiStepForm .legal-consent-container .hs-error-msgs label,
#MultiStepForm .hs-form-field .hs-error-msgs label {
  display: flex;
  margin-bottom: 0rem;
}

#MultiStepForm .legal-consent-container .hs-error-msgs label {
  margin-left: 87px;
  margin-top: -20px;
  color: var(--cp-orange);
}

#MultiStepForm .hs-form-checkbox label {
  position: relative;
}

#MultiStepForm .hs-form-booleancheckbox {
  width: 100%;
  font-size: 1rem;
}

#MultiStepForm .hs-form-booleancheckbox label {
  width: 100%;
  padding: 5px 10px 0px 10px;
}

#MultiStepForm .hs_cp_sms_consent_checkbox ul.inputs-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

#MultiStepForm .hs_cp_sms_consent_checkbox .hs-form-booleancheckbox-display {
  display: grid;
  grid-template-columns: 10% 1fr;
  align-items: start;
  column-gap: 0.5rem;
  margin-top: 20px;
}

#MultiStepForm .hs_cp_sms_consent_checkbox .hs-input {
  width: 1.1rem;
  height: 2.1rem;
  margin: 0;
  margin-top: 25px;
}

#MultiStepForm .hs_cp_sms_consent_checkbox .hs-form-booleancheckbox-display span {
  line-height: 1.4;
}

/* ==========================================================================
	 Spinner Animation
	 ========================================================================== */
#MultiStepForm .spinner {
  border: 4px solid rgba(255, 255, 255, 0.3);
  border-top: 4px solid white;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
}

/* ==========================================================================
	 Responsive & Media Queries
	 ========================================================================== */
@media only screen and (max-width: 1200px) {
  #MultiStepForm .legal-consent-container .hs-error-msgs label {
    margin-left: 72px;
  }
}

@media only screen and (max-width: 768px) {
  #MultiStepForm .legal-consent-container .hs-error-msgs label {
    margin-left: 43px;
  }

  /* Multi‑step hero & background */
  #MultiStepForm #FormContainer {
    height: auto;
    background-position: 50% 0%;
    padding: 30px 0;
  }

  /* Form wrapper spacing */
  #MultiStepForm #ConnectForm {
    padding: 30px 20px;
  }

  #MultiStepForm #ConnectForm div.hbspt-form {
    width: 100%;
    padding: 20px;
  }

  /* Header typography */
  #MultiStepForm #FormHeader {
    margin-bottom: 0;
  }

  #MultiStepForm #FormHeader h1 {
    font-size: 3.5rem !important;
    line-height: 1 !important;
  }

  #MultiStepForm #FormHeader h3 {
    font-size: 1.25rem;
  }

  /* Navigation buttons */
  #MultiStepForm .step-nav button,
  #MultiStepForm #CustomSubmit.next-step {
    font-size: 1rem;
    padding: 0.5rem 1rem;
  }

  #MultiStepForm #multiStepHubspotForm .hs-input {
    width: 95% !important;
  }

  /* Thank‑you content area */
  .sem-template.sem-template-3-5 {
    flex-direction: column;
  }

  .sem-template.sem-template-3-5 .sem-main-content,
  .sem-template.sem-template-3-5 .sem-reviews {
    flex: 1 1 100%;
    padding-right: 0;
  }

  .sem-template.sem-template-3-5 h3 {
    font-size: 1.2rem;
    margin: 0 0 40px !important;
  }

  .sem-template.sem-template-3-5 .sem-main-content {
    padding: 0;
  }

  .sem-template.sem-template-3-5 .sem-social-connect {
    margin: 20px 0 0 0 !important;
  }
}

/* ==========================================================================
Multistep Content Section
========================================================================== */

/* section.sem-template.sem-template-3-5 {
  display: none;
} */

/* Default: reviews are shown */
.sem-template.sem-template-3-5 {
  display: none; //Initally None then JS Set to Flex
  flex-wrap: wrap;
  gap: 0;
}

.sem-template.sem-template-3-5 h3 {
  text-align: center;
  margin: 0 auto 50px 20px;
  background: #f0f0f0;
  padding: 20px;
  width: 100%;
  border: solid 2px #dcdcdc;
  font-weight: 100;
  text-decoration: underline;
}

.sem-template.sem-template-3-5 .sem-main-content {
  flex: 0 1 70%;
  padding: 0 20px 20px 20px;
}

.sem-template.sem-template-3-5 .sem-reviews {
  flex: 0 1 30%;
  padding: 20px;
}

.sem-template.sem-template-3-5 .sem-reviews h2 {
  line-height: 1;
}

.sem-template.sem-template-3-5 .sem-reviews-inner .reviews-inner {
  display: block;
}

.sem-template.sem-template-3-5 .sem-reviews-inner .reviews-inner .review {
  margin-bottom: 30px;
}

/* No reviews: full-width main content */
.sem-template.sem-template-3-5.no-reviews .sem-main-content {
  flex: 0 1 100%;
}

/* Ensure the social bar always spans full width */
.sem-template.sem-template-3-5 .sem-social-connect {
  flex: 0 1 100%;
  margin: 10px 0 0 20px;
}
