.main-head{
      text-align: center;
      padding-bottom: 15px;
    } 
.bg-form-page {
    background: linear-gradient(
    91.52deg,
    rgba(252, 250, 245, 1)    0%,   /* #FCFAF5 at 100% opacity */
    rgba(252, 250, 245, 0.59) 28%,  /* #FCFAF5 at 59% opacity */
    rgba(252, 250, 245, 0.56) 70%,  /* #FCFAF5 at 56% opacity */
    rgba(252, 250, 245, 1)    100%  /* #FCFAF5 at 100% opacity */
  );
  }
  /* Progress bar */
   .progress-tracker {
      display: flex;
      align-items: center;
      gap: 12px;
      max-width: 800px;
      position: absolute;
      width: 100%;
      top: 36px;
    }
    .admin-bar .progress-tracker{
      top: 68px;
    }
    .step {
        display: flex;
        align-items: center;
        color: #999999;
        font-family: "Basis Grotesque", Sans-serif;
        font-weight: 400;
    }

    .step.active {
        color: #14463a;
    }

    .step-number {
        width: 25px;
        height: 25px;
        display: flex;
        justify-content: center;
        align-items: center;
        border: 1px solid #999999;
        border-radius: 50%;
        font-size: 16px;
        margin-right: 8px;
        background-color: #fff;
    }

    .step.active .step-number {
        background-color: #14463a;
        color: #fff;
        border-color: #14463a;
    }

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

    .connector {
        flex: 1;
        height: 0.5px;
        background-color: #999999;
        position: relative;
    }

    .connector svg {
        content: '';
        position: absolute;
        right: -8px;
        top: 0px;
        transform: translateY(-50%);
        width: 10px;
        height: 10px;
        /*background-image: url('/wp-content/themes/hello-theme-child-master/images/nav-divider.svg');
        background-size: 10px 10px;
        background-repeat: no-repeat;*/
    }
    .connector.active {
      background-color: #14463a !important;
    }
    .connector.active #Plan-finder---stage-1 {
      stroke: #14463a;
    }
    .step.active ~ .connector {
        background-color: #999999;
    }

    .step.active ~ .connector::after {
        filter: brightness(); /* Adjust if needed to change the arrow color */
    }
  /* Progress bar */
  .funeral-container {
    max-width: 800px;
    margin: 35px auto 70px auto;
    padding: 0px;
    background-color: #fff;
    border-radius: 10px;
  }

  .funeral-container p {
    font-size: 18px !important;
    font-weight: 400;
    font-family: "Basis Grotesque", Sans-serif;
    line-height: 25px !important;
    margin-bottom: 18.37px;
  }
  h2{
    font-size: 36px;
    color: #14463A;
    font-weight: 500;
    /*line-height: 34px;*/
    line-height: 40px;
    font-family: "Reckless Neue", Sans-serif;
  }
  h3{
    font-size: 30px;
    color: #14463A;
    font-weight: 500;
    line-height: 34px;
    font-family: "Reckless Neue", Sans-serif;
  }
  #step-1{
    padding-top: 26px;
  }
  /* Radio button styling */
  .custom-radio {
    display: none;
  }

  .radio-wrapper {
    display: block;
    margin-right: 20px;
    vertical-align: middle;
    font-family: "Basis Grotesque", Sans-serif;
    cursor: pointer;
  }

  .custom-radio + label {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid #14463a;
    display: inline-block;
    position: relative;
    cursor: pointer;
    background-color: white;
    transition: all 0.3s ease;
  }

  .custom-radio:checked + label {
    background-color: white;
    border-color: #14463a;
  }

  .custom-radio:checked + label::after {
    content: "";
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #14463a;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .radio-wrapper label {
    font-size: 20px;
    line-height: 39px;
    font-weight: 400;
    color: #14463a;
  }

  .radio-wrapper .spc {
    margin-left: 11px;
  }

  /* Plan Cards */
  .plan-card {
    background-color: #FCFAF4;
    border: 1px solid #F0F0F0;
    border-radius: 10px;
    padding: 0 0 25px 0px;
    width: 100%;
    max-width: 371px;
    /*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 4px 10px 0px rgba(188, 188, 188, 0.08);
    display: none;
    margin: 40px 0 50px 0px;
  }

  .plan-card h3 {
    font-size: 24px;
    color: #14463A;
    font-weight: 500;
    line-height: 34px;
    font-family: "Reckless Neue", Sans-serif;
    padding: 18px 20px;
    text-align: center;
    margin: 0;
    background: linear-gradient( 91.52deg, #F2F1E2 0%, #F7F6EC 28%, #F7F6EC 68%, #F2F1E2 100% );
    border-radius: 10px 10px 0px 0px;
  }

  .plan-card p {
    font-size: 18px !important;
    font-weight: 400;
    line-height: 24px !important;
    color: #14463A;
    font-family: "Basis Grotesque", Sans-serif;
    padding: 0 20px;
    margin-bottom: 20px;
  }

  .plan-card .price {
    font-size: 22px;
    font-weight: 500;
    margin-bottom: 20px;
    font-family: "Basis Grotesque", Sans-serif;
    text-align: center;
    background: #ffff;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .plan-card ul {
    list-style: none;
    padding: 0 20px;
  }

  .plan-card ul li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
    font-weight: 400;
    font-family: "Basis Grotesque", Sans-serif !important;
    line-height: 20px;
  }
  .plan-card ul span{
    font-size: 14px;
    font-weight: 400;
    font-family: "Basis Grotesque", Sans-serif !important;
    line-height: 20px;
    padding-left: 30px;
    display: block;
  }

  .plan-card ul li img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
  }

  /* Hide all steps initially except the first one */
  .step-section {
    display: none; /* Initially hidden */
  }

  .step-section.active {
    display: block; /* Show active step */
  }

  /* Next Button */
  .next-button {
    /*display: inline-block;*/
    display: flex;
    align-items: center;
    /*background-color: #14463A;*/
    background-color: #901F45;
    /*padding: 10px 20px;*/
    border: 1px solid #901F45;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    text-align: center;
    position: relative;
    /*width: 176px;*/
    width: 163px;
    height: 60px;
    text-align: left;
    padding-left: 32px;
    align-content: center;
    box-shadow: -10px -10px 20px rgba(221, 223, 207, 0.32), 5px 5px 20px rgba(166, 171, 189, 0.55);
  }

  .next-button-text {
    color: #fff;
    /*font-size: 18px;*/
    font-size: 18px;
    font-weight: 500;
    font-family: "Basis Grotesque", Sans-serif;
  }

  .next-button .next-button-text::after {
    /*background-image: url('/wp-content/themes/hello-theme-child-master/images/next-over.webp');*/
    background-image: url('/wp-content/themes/hello-theme-child-master/images/arrow-small.png');
    position: absolute;
    height: 53px;
    width: 53px;
    content: "";
    background-size: contain;
    right: 5px;
    top: 6px;
    background-repeat: no-repeat;
  }
  .next-button:hover .next-button-text::after {
    /*background-image: url('/wp-content/themes/hello-theme-child-master/images/next-icon.webp');*/
  }
  .next-button:hover .next-button-text{
    color: #14463a;
  }
  .next-button:hover{
    box-shadow: unset;
    background: #fff;
    color: #14463a;
    border: 1px solid #14463a;
  }

  .back-button {
    display: none;
    align-items: center;
    margin-bottom: 40px;
    cursor: pointer;
    max-width: 120px;
    height: 50px;
  }
  .back-button img{
    width: 43px            ;
  }
  .back-button .text {
    font-size: 18px;
    color: #095C9D;
    text-decoration: underline;
    font-weight: 400;
    font-family: "Basis Grotesque", Sans-serif;
    padding-left: 4px;
  }
  .next-step {
    margin-top: 20px;
  }
  /* form css */
  .form-container form {
    width: 647px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    font-size: 18px;
    font-weight: 400;
    font-family: "Basis Grotesque", Sans-serif !important;
    margin-top: 40px;
    margin-bottom: 40px;
  }
  ::placeholder {
    color: #539383;
    opacity: 1;
  }
  textarea{
    min-height: 105px;
    padding: 10px 37px;
    font-size: 18px;
    border: 1px solid #C8C8C8;
    border-radius: 6px;
    background-color: #F3F7F9;
    height: 65px;
    color: #539383;
    font-family: "Basis Grotesque", Sans-serif;
    font-weight: 400;
    padding-top: 22px;  
  }   
  .form-container form input, textarea, select {
    width: 645px;
    padding: 10px 37px;
    font-size: 18px;
    border: 1px solid #C8C8C8;
    border-radius: 6px;
    background-color: #F3F7F9;
    height: 65px;
    color: #539383;
    font-family: "Basis Grotesque", Sans-serif;
    font-weight: 400;
  }
  select:focus, input:focus, textarea:focus {
    outline: none;
    border-color: #C8C8C8;
    box-shadow: none;
  }
  .error {
    color: rgb(208, 14, 1);
    font-size: 14px;
  }
  .form-container .next-step {
    margin-top: 40px;
  }
  .form-container p {
    /*margin-bottom: 23px;*/
  }
  .form-container textarea{
    padding-top: 22px;
  }
  .form-2-container {
    /*display: flex;*/
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
  }

  .form-inner-container {
    width: 647px;
  }
  .form-inner-container form{
    width: 100%;
  }
  .form-inner-container form input, textarea, select{
    width: 100%;
  }
  .form-inner-container form select{
    width: 100%;
  }
  /* CSS */
  .custom-select{
    position: relative;
    width: 49%;
  }
  .form-2-container .custom-select{
    width: 49%;
  }
  .custom-select select {
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
  }
  .custom-select::after {
      background: url('/wp-content/themes/hello-theme-child-master/images/select-icon.webp') no-repeat right center;
      content: '';
      position: absolute;
      top: 32px;
      right: 26px;
      z-index: 9999;
      width: 8.8px;
      height: 4px;
      background-size: 8.8px;
    }
  /* form css */
  .first-step-grid {
    display: flex;
    gap: 50px;
    margin: 40px 0 0 0;
  }
  .first-step-grid .next-button {
    /* width: 270px;*/
    width: 200px;
    height: 60px;
    margin: 0 20px;
  }
  .first-step-grid .plan-card h3{
    background: linear-gradient(
      91.52282deg,
      #F2F1E2 0%,
      #F7F6EC 28%,
      #F7F6EC 68%,
      #F2F1E2 100%
    );
  }
  .first-step-grid .plan-card p {
    margin-top: 22px;
    margin-bottom: 30px;
  }
  .first-step-grid .plan-card {
    display: inline-block;
    background-color: #fff;
    margin: 0;
    max-width: 373.66px;
    box-shadow: unset;
  }
  .first-step-grid .elementor-button {
    height: 33px;
    line-height: 30px;
    font-size: 16px !important;
    max-width: 167px;
    background: #fff !important;
    color: #14463a;
    padding: 0;
    font-weight: 500;
    border-radius: 30px;
    position: relative;
    display: block;
    margin: 0 20px;
  }
  .first-step-grid .elementor-button-text::before {
    content: url('/wp-content/themes/hello-theme-child-master/images/call-dark.webp');
    left: 0px;
    display: block !important;
    opacity: 1 !important;
    background: transparent !important;
    top: -7px;
    position: absolute;
    transform: scale(50%);
  }
  .first-step-grid .elementor-button-content-wrapper {
    justify-content: end;
    padding-right: 10px;
  }
  .first-step-grid .lines-open{
    padding: 0 20px;
    padding-bottom: 2px;
    padding-top: 12.5px;
    display: inline-block;
  }
  #talk-section{
    display: none;
  }
  .final-step.active {
    display: flex;
  }
  .left-details {
    background: url('/wp-content/themes/hello-theme-child-master/images/details-bg.png');
    padding: 46.5px 30px;
    background-repeat: no-repeat;
    max-width: 393px;
    background-size: cover;
    width: 100%;
  }
  .confirmDetails{
    display: flex;
  }
  .confirmDetails .left-details{
    padding: 46.5px 30px 0px 30px;
  }
  .confirmDetails .right-details{
    background: url('/wp-content/themes/hello-theme-child-master/images/details-bg.png');
    background-repeat: no-repeat;
    background-size: cover;
    padding: 46.5px 30px 0px 30px;
  }
  .right-details {
    background: #DDDFCF;
    padding: 46.5px 30px;
    max-width: 407px;
    width: 100%;
  }
  .right-details h3 {
    font-size: 22px;
    font-family: "Basis Grotesque", Sans-serif;
    display: flex;
    justify-content: space-between;
  }
  .details {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
  }

  .info {
    font-size: 15px;
    font-family: "Basis Grotesque", Sans-serif;
    font-weight: 400;
    color: #14463A;
  }

  .label {
    font-weight: bold;
  }
  .edit {
    display: flex;
    align-items: end;
    padding-bottom: 4px;
  }
  .edit a {
    text-decoration: underline;
    color: #095C9D;
    font-size: 15px;
  }
  .checkbox-details{
    font-size: 15px;
    font-weight: 500;
    font-family: "Basis Grotesque", Sans-serif;
    color: #14463a;
  }
  .checkbox-details p {
    font-size: 15px !important;
    font-weight: 500;
    text-indent: -1.5em;
    padding-left: 1.5em;
  }
  .border-line {
    border-color: #999;
    border-width: 1px 0 0 0;
    border-style: solid;
    margin: 22px 0;
    display: block;
    width: 100%;
  }
  .checkbox-container {
    display: flex;
    align-items: center;
    font-size: 15px;
    font-weight: 500;
  }
  .custom-checkbox {
    display: none; /* Hide the default checkbox */
  }
  .checkbox-container label {
    position: relative;
    padding-left: 35px; /* Space for custom checkbox */
    cursor: pointer;
    text-indent: 0.2em;
  }
  .checkbox-container label::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 15px;
    height: 15px;
    border: 1px solid #14463a;
    background-color: #fff;
    border-radius: 0px;
    transition: background-color 0.3s, border-color 0.3s;
  }
  .checkbox-container input:checked + label:before {
    background-color: #fff;
    border-color: #14463a;
  }
  .checkbox-container input:checked + label::after {
    content: '\2713';
    position: absolute;
    left: 0px;
    top: 1px;
    color: #1443a;
    font-size: 12px;
  }
  .checkbox-container label {
    position: relative;
    padding-left: 20px;
    cursor: pointer;
  }
  .right-details ul {
    list-style: none;
    padding: 0 20px;
  }
  .right-details ul li {
    display: flex;
    align-items: center;
    margin-bottom: 5px;
    font-size: 15px;
    font-weight: 400;
    font-family: "Basis Grotesque", Sans-serif !important;
    line-height: 20px;
    position: relative;
    padding-left: 18px;
  }
  .right-details .included ul li::before {
    content: "✓";
    top: 0;
    margin-bottom: 5px;
    position: absolute;
    left: -5px;
  }
  .right-details .not-included ul li::before {
    content: "✗";
    top: 0;
    margin-bottom: 5px;
    position: absolute;
    left: -5px;
  }
  .not-included {
    margin-top: 13px;
  }
  .right-details ul li img {
    display: none;
  }
  .right-details ul span{
    font-size: 15px;
    font-weight: 400;
    font-family: "Basis Grotesque", Sans-serif !important;
    line-height: 20px;
    padding-left: 20px;
    display: block;
  }
  .right-details p {
    font-size: 16px !important;
    font-weight: 500;
    margin-bottom: 6px;
  }
  .right-details .border-line {
    border-color: #F0F0F0;
    margin-bottom: 12px;
    margin-top: 18px;
  }
  .confirmDetails .right-details .border-line{
    border-color: #999;
  }
  .right-details .next-button {
    /*width: 309px;*/
    width: 297px;
    margin-top: 27px;
    margin-bottom: 20px;
  }
  .error-border {
    border-color: rgb(208, 14, 1) !important;
  }
  #ifBuy1, #ifBuy2{
    display: none;
  }
  .option-error {
    display: none;
    color: rgb(208, 14, 1);
    font-family: "Basis Grotesque", Sans-serif;
    font-size: 18px;
  }
  .plan-card-container h2 {
    /*margin: 40px 0 0 0;*/
  }
  .flex-container {
    display: flex;
    gap: 50px;
  }
  .flex-container .plan-card{
    display: block;
    margin: 40px 0 30px 0px;
  }
  .no-bg {
    background: transparent;
  }
  .no-bg h3 {
    background: linear-gradient( 91.52deg, #ECBACB 0%, #FFE8F0 28%, #FFE8F0 68%, #ECBACB 100% );
    /*text-align: left;*/
    margin-bottom: 40px;
  }
  .no-bg ul li {
    /*margin-bottom: 28px;*/
  }
  .go-back {
    text-align: center;
    font-size: 14px;
    color: #949494;
    font-family: "Basis Grotesque", Sans-serif;
    letter-spacing: -0.35px;
    font-weight: 500;
    margin-bottom: 50px;
  }
  .go-back span {
    color: #095C9D;
    text-decoration: underline;
    cursor: pointer;
  }
  .summaryLink a {
    color: #095C9D;
    text-decoration: underline;
    cursor: pointer;
    font-size: 14px;
   padding: 10px 20px 0px 20px;
   display: inline-block;
  }
  .checkbox-details a{
    color: #095C9D;
    text-decoration: underline;
    cursor: pointer;
  }
  .info-msg{
    display: block;
    font-family: "Basis Grotesque", Sans-serif;
    font-size: 20px;
    margin-top: 20px;
  }
  .info-msg a{
    text-decoration: underline;
    color: #095C9D;
  }
  .left-details .option-error {
    font-size: 15px;
    padding-bottom: 5px;
  }
 .name-wrapper {
    display: grid;
    gap: 10px;
    grid-template-columns: auto auto;
  }
  .name-wrapper1 {
    width: 645px;
    display: none;
    gap: 10px;
  }
  .name-wrapper2 {
    width: 645px;
    display: none;
    gap: 10px;
  }
  .name-wrapper input{
    width: 100% !important;
  }
  .name-wrapper1 span {
    width: 100%;
  }
  .name-wrapper2 span {
    width: 100%;
  }
  .error:empty {
  display: none;
}

  .getAddress_autocomplete_list {
    list-style: none;
    padding: 0;
    border: 1px solid #C8C8C8;
    max-height: 150px;
    overflow-y: auto;
    display: block;
    position: relative;
    background: #fff;
    width: 100%;
    z-index: 100;
    border-radius: 5px;
    color: #539383;
    font-family: "Basis Grotesque", Sans-serif;
    font-size: 18px;
    font-weight: 400;
  }
  .getAddress_autocomplete_list li {
    padding: 10px 33px;
  }
  #getAddress-autocomplete-list[hidden], #getAddress-autocomplete-list-1[hidden]{
    display: none;
  }
  .flatpickr-monthDropdown-months {
    display: inline-block;
  }
  input:not(:placeholder-shown), select:valid {
      background-color: #fff !important;
  }
  .dob-wrapper {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 10px;
  }
  #dobWrapper{
    display: none;
  }
  .form-container form .dob-wrapper input{
    width: 100%;
  }
  form label {
    color: #14463a;
    font-weight: 400;
  }
  .name-wrapper label, .dob-wrapper label {
    padding-bottom: 10px;
  }
  form label.mt{
    margin-top: 20px;
  }
  form label.mb{
    margin-bottom: 8px;
  }
  @media screen and (max-width: 767px){
    form br{
      display: none;
    }
    .error {
      font-size: 13px;
    }
    .form-container form input, textarea, select{
      padding: 10px 25px;
    }
    .flex-container{
      gap: 20px;
      flex-direction: column;
      margin-bottom: 20px;
    }
    .confirmDetails{
      flex-direction: column;
    }
    .confirmDetails .right-details{
      padding-top: 0;
    }
    .name-wrapper, .name-wrapper1{
      grid-template-columns: 1fr;
      width: 100%;
    }
    .custom-select {
      /*margin-bottom: 10px;*/
    }
    .flex-container .plan-card {
      display: block;
      margin: 20px 0 0px 0px;
    }
    .funeral-container {
      padding: 0px 20px;
      margin: 0px auto 20px auto;
    }
    .form-container form {
      width: 100%;
    }
    .form-container form input, .form-container form textarea, .form-container form select, .custom-select, .flatpickr-wrapper{
      width: 100% !important;
    }
    .progress-tracker {
      position: absolute;
      top: 67px;
    }
    .admin-bar .progress-tracker{
      top: 110px;
    }
    .back-button {
      margin-top: 30px;
    }
    .connector {
      flex: 0.15;
    }
    .first-step-grid {
      gap: 20px;
      flex-direction: column;
      margin: 0px 0;
    }
    .first-step-grid .plan-card {
      margin: 0;
    }
    .first-step-grid .next-button {
      margin-bottom: 10px;
    }
    .final-step.active{
      display: block;
      background-repeat: repeat;
    }
    .right-details .next-button{
      width: 100%;
    }
    .form-inner-container{
      width: 100%;
    }
    .form-2-container .custom-select{
      width: 100%;
    }
    .progress-tracker {
      width: 90% !important;
    }
    .main-head{
      text-align: left;
      padding-bottom: 0;
      font-size: 32px;
    }
    .plan-mobile-header.staticHeight{
      height: 65px;
    }
    .hideProgress{
      display: none;
    }
    .first-step-grid .plan-card p {
        margin-top: 15px;
        margin-bottom: 15px;
    }
    .first-step-grid .plan-card {
        padding-bottom: 15px;
    }
    .first-step-grid .plan-card h3 {
      padding: 15px 20px;
    }
    #step-1 {
        padding-top: 10px;
    }
  }