/* ==========================================================================
   Regular BitForm — Conversational Form Styles Adaptation
   Ported from quiz-page.css (conversational bc1-* classes → regular bf-* classes)
   ========================================================================== */

:root body {
  --bg-base: #fafafa;
  --text: #364153;
  --off-black: #101828;
  --primary-dark: #1e293b;
  --accent-dark: #1e293b;
  --white: #fff;
  --off-white: #f8f9fc;
  --outline-light: #aab9cf;
  --outline-light-2: #dddbd7;
  --acc-p: #d00000;
  --acc-p-l: #fee9eb;
  --acc-p-m: #eec2d1;
  --acc-p-h: #980d00;
  --acc-1: #ff4f80;
  --acc-1-l: #fee9f2;
  --acc-1-m: #fdb7d2;
  --acc-1-h: #e80029;
  --acc-2: #ffb53a;
  --acc-2-l: #fffdf5;
  --acc-2-m: #fde8d5;
  --acc-2-h: #c87d32;
  --acc-3: #ff6200;
  --acc-3-l: #fef6f0;
  --acc-3-m: #f6d0c0;
  --acc-3-h: #c25100;
  --acc-4: #08bf4e;
  --acc-4-l: #ecf8ef;
  --acc-4-m: #b4eac3;
  --acc-4-h: #026930;
  --acc-5: #1447e6;
  --acc-5-l: #8ba8e9;
  --acc-5-m: #8ba8e9;
  --acc-5-h: #0a2bc2;
  --acc-6: #782a94;
  --acc-6-l: #f0e2f8;
  --acc-6-m: #rel;
  --acc-6-h: #300a3a;
  --xxxs: .125rem;
  --xxs: .25rem;
  --xs: .5rem;
  --s: .75rem;
  --m: 1rem;
  --l: 1.5rem;
  --xl: 2rem;
  --xxl: 2.5rem;
  --xxxl: 4rem;
  --timing-s: 0.2s;
  --timing-m: 0.3s;
  --timing-l: 0.5s;
  --bezier: cubic-bezier(0.4, 0, 0.2, 1);
  /*! overflow-y: clip; */
}

nav#wp-megamenu-header-menu {
  box-shadow: none;
  background: #FAFAFA;
}
.bg-img{
  position:absolute;
  inset:0;
  z-index: -1;
  width:100%;
}
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  font-weight: 300;
  letter-spacing: 2%;
  text-decoration: none;
  line-height: 1.25rem;
  font-family: Lexend, sans-serif;
  font-style: normal;
  color: #272C2F;
  font-size: 16px;
  background: #FAFAFA;
}

html, body {
     overflow-x: hidden;
   }
.decor {
  position: absolute;
  inset: 20% 25%;
  width: 100%;
  z-index:-1;
  height: 100%;
}
.c-section.c-section__post.c-section__single-page{
  position: relative;
}
.c-section.c-section__post.c-section__single-page{
  min-height:1000px; 
}
.c-section.c-section__post.c-section__single-page .container{
  align-self:center;
  justify-self:center;
}

#form-wrapper button {
  text-decoration: none;
  white-space: nowrap;
  text-wrap: nowrap;
  background-image: linear-gradient(90deg, #d00000 0%, #ff0f00 33%, #ff4f80 66%, #ff6200 100%);
  font-size: 16px;
  color: #ffffff;
  font-weight: 700;
  padding: 16px 32px!important;
  border-radius: 16px!important;
  border-width: 1.5px;
  border-color: #d1000000;
  background-size: 300%;
  transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
  border-style: solid;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  flex-shrink: 0;
  flex-grow: 0;
  width: max-content;
  flex-wrap: nowrap;
  flex-basis: max-content;
  column-gap: 8px;
  box-shadow: none;
}

#form-wrapper button:hover {
  color: #ffffff;
  cursor: pointer;
  transform: translateY(-4px) scale(1.035);
  background-position: 100%;
}

#form-wrapper button.prev-step-btn {
  background-clip: text;
  color: transparent;
  background-size: 300%;
}
#form-wrapper .CR3.b3-6-titl-wrp.bf-titl-wrp{
  display:flex;
  flex-direction: column;
  gap:1rem;
  align-items: flex-start;
  padding-bottom:2rem;
  border-bottom: 1px solid #aaaaaa50;
}
#form-wrapper .CR3.b3-6-titl-wrp.bf-titl-wrp h1{
  font-weight:500;
  text-align: left;
  font-size:2em;
}
#form-wrapper .CR3.b3-6-titl-wrp.bf-titl-wrp p{
  font-weight:100;
  font-size:1.5em;
}
#form-wrapper button.next-step-btn {
  position: relative;
  background: transparent;
  border: none;
  color: transparent;
  background-image: linear-gradient(90deg, #d00000 0%, #d00000 49%, rgba(208, 0, 0, 1) 51%, rgba(255, 15, 0, 1) 66%, rgba(255, 79, 128, 1) 81%, rgba(255, 98, 0, 1) 100%);
  background-size: 300%;
  background-clip: text;
  -webkit-background-clip: text;
  z-index: 1;
}

#form-wrapper button.next-step-btn::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 16px!important;
  padding: 1.5px!important;
  background: linear-gradient(90deg, #d00000 0%, #d00000 49%, rgba(208, 0, 0, 1) 51%, rgba(255, 15, 0, 1) 66%, rgba(255, 79, 128, 1) 81%, rgba(255, 98, 0, 1) 100%);
  background-size: 300%;
  -webkit-mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
  z-index: -1;
  transition: background-position 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

#form-wrapper button.next-step-btn:hover {
  background-position: 100%;
}

#form-wrapper button.next-step-btn:hover::before {
  background-position: 100%;
}
[data-step="12"] .i3._frm-b3-stp-btn-wrpr{
  display:none;
}
[data-step="12"] ._frm-b3._frm-b{
  display:flex;
  flex-direction: row;
  flex-wrap:wrap;
  justify-content: flex-end;
}
[data-step="12"] ._frm-b3._frm-b .btcd-fld-itm{
  width: 100%;
}
[data-step="12"] ._frm-b3._frm-b .btcd-fld-itm:is(.b3-53, .b3-1){
  flex: 0 1;
  width:auto;
}
#form-wrapper button[type="submit"]{
  padding:16px 48px!important;
}
#form-wrapper [class*="-stp-btn-cntnt"]{
  display: flex;
  justify-content: flex-end;
  gap:2rem;
  position: relative;
  padding-right: 4rem;
}
#form-wrapper span.bf-spinner{
  position:absolute;
  inset: auto -3rem auto auto;
  border: 2px solid #d00000;
  border-right: 2px solid transparent;
  border-top: 2px solid;
}
/* ==========================================================================
   Form Background
   ========================================================================== */

._frm-bg {
  background: none;
}

/* ==========================================================================
   Label Styling
   ========================================================================== */

label.bf-lbl {
  font-weight: 300;
  letter-spacing: -2%;
  line-height: 3rem;
  font-family: Lexend, sans-serif;
  font-style: normal;
  color: #272C2F;
  font-size: 2.5rem;
  text-align: left;
  display: inline;
}

/* ==========================================================================
   Grid Layout
   ========================================================================== */

._frm-b .btcd-fld-itm {
  display: flex;
  grid-template-columns: 2fr 3fr;
  grid-template-rows: auto 1fr;
  gap: 2rem;
  /*! grid-column: sub; */
}
#form-wrapper .btcd-fld-itm{
  min-height:unset;
}
body{
    max-width:100vw;
    overflow-x:hidden!important;
  width:100%;
}
._frm-b .btcd-fld-itm > div.bf-fld-wrp {
  width: 100%;
  display: grid;
  grid-template-columns: 2fr 3fr;
  gap: 2rem;
  display: flex;
  flex-direction: column;
  margin-bottom: 2rem;
}

._frm-b .btcd-fld-itm > div.bf-fld-wrp > div.bf-lbl-wrp {
  padding-bottom:2rem;
  border-bottom: 1px solid #aaaaaa50;
}
[data-step="1"] ._frm-b .btcd-fld-itm > div.bf-fld-wrp > div.bf-lbl-wrp {
  padding-bottom:0;
  border-bottom: none;
}

._frm-b .btcd-fld-itm > div.bf-fld-wrp > div.bf-inp-wrp {
  display: flex;
  gap: 1rem;
  flex-wrap:wrap;
}

#form-wrapper .bf-cw {
  min-width:220px;
  width: 100%;
  flex: 0 1 30%;
  min-height:4rem;
  z-index:1;
}
div.bf-inp-wrp > div.bf-cc {
  display: contents;
}

._frm-b .btcd-fld-itm > div.bf-fld-wrp > div.bf-err-wrp {
  grid-column: 1 / -1;
  grid-row: 3;
}

/* Section Grid Exceptions */
div.section-grid div.btcd-fld-itm {
  display: block;
  grid-template-columns: unset;
  grid-template-rows: unset;
}

div.section-grid div.bf-fld-wrp {
  display: block;
}

div.section-grid div.bf-inp-wrp {
  display: block;
  grid-column: unset;
  grid-row: unset;
  grid-template-rows: unset;
}

div.section-grid div.bf-err-wrp {
  grid-column: unset;
  grid-row: unset;
}

/* ==========================================================================
   Choice Styling (Radio / Checkbox)
   ========================================================================== */

div.bf-cc > div.bf-cw > label.bf-cl {
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 1rem !important;
  border: 1px solid var(--neutral-outline-light, #DDDBD7) !important;
  gap: 1rem;
  font-size: 1.15rem;
  line-height: 1.175em;
}

span.bf-bx {
  border: 1px solid var(--neutral-outline-light, #DDDBD7);
  color: #b1b7bf;
  border-radius: 50% !important;
  width: 24px;
  height: 24px;
  margin: 0;
  flex: 0 0 24px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color var(--timing-m) var(--bezier),
              border-color var(--timing-m) var(--bezier),
              box-shadow var(--timing-l) var(--bezier);
}

span.bf-bx svg {
  width: 12px;
  height: 12px;
}

div.bf-cw:hover span.bf-bx {
  color: #161f2d;
}

label.bf-cl {
  transition: background-color var(--timing-m) var(--bezier),
              box-shadow var(--timing-m) var(--bezier);
}

label.bf-cl span.bf-ct {
  background: linear-gradient(91deg, var(--acc-p) 0 0, #ff0f00 10%, var(--acc-1) 20%, var(--acc-3) 33%, var(--primary-dark) 60%);
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent !important;
  background-position: 90%;
  background-size: 300%;
  margin: 0;
  padding: var(--padding-xxs, 4px) 0;
  -webkit-text-fill-color: transparent !important;
  transition: background-position var(--timing-l) var(--bezier);
}

label.bf-cl:is(:hover, :active, :focus, :checked) span.bf-ct,
input.bf-ci:is(:hover, :active, :focus, :checked) ~ label.bf-cl span.bf-ct {
  background-color: white !important;
  background-position: 0;
}

input.bf-ci:is(:hover, :active, :focus, :checked) ~ label.bf-cl {
  background-color: white !important;
  box-shadow: -20px -20px 80px 0 rgba(255, 181, 58, .12),
              20px 20px 80px -24px rgba(255, 79, 128, .08);
}

/* ==========================================================================
   Step Transitions — fade + gentle lift (no horizontal slide)
   ========================================================================== */
#form-wrapper{
  display:flex;
  background: #fff;
  border-radius:2rem;
  padding:2rem 2rem;
  max-width:960px;
  margin: 4rem auto;
  box-shadow: 0px 12px 30px #00000029;
}
[class*="_frm-b"][class*="-stp-progress-wrpr"]{
  padding:0;
  margin:0 0 2rem;
}
[data-step="1"] ._frm-b .btcd-fld-itm {
  display:flex;
}
[data-step="1"] ._frm-b .btcd-fld-itm h1:before{
  display: none;
}
[data-step="1"] ._frm-b .btcd-fld-itm h1{
  line-height:1em;
}
[data-step="1"] ._frm-b .bf-inp-fld-wrp {
  width: 100%;
}
[data-step="6"] span.bf-bx{
  border-radius:8px!important;
}
/* Override BitForm's janky height/width collapse with smooth fade + lift */
[class*="-stp-cntnt-wrpr"] {
  position: relative;
  overflow: hidden;
  /* JS sets max-height to exact px values; this transition animates between them */
  transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Active step — visible, in flow */
[class*="-stp-cntnt"]:not([class*="-stp-cntnt-wrpr"]) {
  opacity: 1 !important;
  transform: translateY(0) !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* Deactive step — fade out + lift, pulled out of flow */
[class^="Bs"].deactive,
[class*="-stp-cntnt"].deactive:not([class*="-stp-cntnt-wrpr"]) {
  position: absolute !important;
  width: 100% !important;
  height: auto !important;
  overflow: hidden !important;
  opacity: 0 !important;
  transform: translateY(-8px) !important;
  pointer-events: none !important;
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}
/* Override BitForm's width/height/opacity transition with transform/opacity only */
[class^="Bq"] {
  transition: opacity 0.3s ease, transform 0.3s ease !important;
}

/* ==========================================================================
   Step Button Styling
   ========================================================================== */

[class*="-stp-btn-cntnt"] {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

/* ==========================================================================
   Mobile Responsive (768px and below)
   ========================================================================== */

@media (max-width: 768px) {
  ._frm-b .btcd-fld-itm {
    display: flex;
    flex-direction: column;
    grid-template-columns: unset;
    grid-template-rows: unset;
    gap: 1.5rem;
  }

  ._frm-b .btcd-fld-itm > div.bf-fld-wrp > div.bf-lbl-wrp,
  ._frm-b .btcd-fld-itm > div.bf-fld-wrp > div.bf-err-wrp {
    grid-column: unset;
    grid-row: unset;
  }

  ._frm-b .btcd-fld-itm > div.bf-fld-wrp > div.bf-inp-wrp {
    grid-column: unset;
    grid-row: unset;
    grid-template-rows: unset;
    grid-auto-flow: unset;
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }

  label.bf-lbl {
    font-size: 2rem;
    line-height: 2.5rem;
    text-align: left;
  }

  div.bf-cc > div.bf-cw > label.bf-cl {
    font-size: 1rem;
    padding: 1rem;
  }
}