.qf-step-counter-wrapper{
    display: flex;
    justify-content: center;
}
.qf-step-counter {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    position: relative;
    padding: 20px 0;
}
.qf-step-counter .step-item {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #ddd;
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    margin: 0 30px;
    position: relative;
    z-index: 2;
    transition: background-color 0.3s ease, transform 0.3s ease;
}
.qf-step-counter .step-item::before,
.qf-step-counter .step-item::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    right: auto;
    height: 2px;
    background-color: #ddd;
    z-index: 1;
    transform: translateY(-50%);
    width: 60px;
    transition: width 0.4s ease, background-color 0.4s ease;
}
.qf-step-counter .step-item::after{
    width: 0;
}
.qf-step-counter .step-item.completed::after{
    background-color: #101010;
    width: 60px;
    transition: width 0.4s ease, background-color 0.4s ease;
}
.qf-step-counter .step-item:last-child::before,
.qf-step-counter .step-item:last-child::after{
    display: none;
}
.qf-step-counter .step-item.active {
    background-color: #101010;
    transform: scale(1.1);
}

.qf-step-counter .step-item.completed {
    background-color: #101010;
}
.step{
    display: none;
}
.step.step1-holder{
    display: block;
}
.qf-grid{
    display: grid;
    margin: 0 auto;
    grid-template-rows: 1fr;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}
.qf-grid-1{
    grid-template-columns: repeat(1, 1fr);
}
.qf-grid-2{
    grid-template-columns: repeat(2, 1fr);
}
.qf-grid-3{
    grid-template-columns: repeat(3, 1fr);
}
.qf-item{
    display: flex;
    flex-direction: column;
    gap: 10px;
    justify-content: center;
    align-items: center;
    width: 100%;
    min-height: 200px;
    background: #ffffff;
    box-shadow: 0px 0px 10px #b5b3b3;
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    padding: 10px;
}
.qf-grid-3 .qf-item{
    min-height: 300px;
}
.qf-item.qf-item-card{
    padding: 20px;
    display: block;
}
.qf-item.qf-item-auto-height{
    height: auto;
    min-height: auto;
    cursor: auto;
    margin-bottom: 30px;
}
.qf-item.active{
    box-shadow: 0px 0px 10px #b8f6be;
}
.qf-item img{
    width: 100%;
    max-width: 100px;
    height: auto;
}
.qf-item h3{
    font-size: 22px;
    margin: 0;
    text-align: center;
}
.qf-item p{
    font-size: 14px;
    line-height: 16px;
    text-align: center;
}
.qf-item input[type="radio"],
.qf-item input[type="checkbox"]{
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}
.qf-button-holder{
    display: flex;
    justify-content: start;
    align-items: center;
    width: 100%;
    margin-top: 30px;
}
.qf-button-holder button{
    display: flex;
    justify-content: center;
    align-items: center;
    width: 170px;
    background-color: #101010;
    color: #ffffff;
}
.next-button-holder button,
.qf-submit-button-holder button{
    background-color: #101010;
    color: #ffffff;
}
.step-two-col{
    display: flex;
    justify-content: space-between;
    gap: 30px;
}
.step-two-col .grid-wrapper{
    width: 100%;
}
.step-two-col .qf-services{
    padding-left: 30px;
    border-left: 1px solid #eeeeee;
    width: 20%;
}
.step-two-col h3{
    margin-bottom: 20px;
}
.service-selected{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.qf-services{
    position: relative;
}
.next-button-holder{
    position: absolute;
    left: 30px;
    bottom: 0;
    width: 100%;
}
.next-button-holder button{
    width: 100%;
}
.qf-fields-holder{
    display: flex;
    width: 100%;
    gap: 20px;
    margin-bottom: 20px;
}
.qf-fields-holder div, 
.qf-fields-holder input{
    width: 100%;
}
.qf-fields-holder input,
.qf-fields-holder textarea{
    border: 1px solid #bcbcbc;
    height: 38px;
    border-radius: 5px;
    outline: 0;
    padding: 0 10px;
}
.qf-fields-holder textarea{
    height: 80px;
}
.qf-fields-holder input:focus,
.qf-fields-holder textarea:focus{
    border-color: #6f6f6f;
    box-shadow: 0 0 5px 0px #eeeeee;
}
.qf-fields-holder label{
    display: block;
    margin-bottom: 4px;
    font-size: 14px;
    font-weight: 500;
}
.qf-h3{
    font-size: 22px;
}
.title-holder{
    text-align: center;
    margin-bottom: 40px;
}
.title-holder h2{
    font-size: 26px;
    line-height: 28px;
    margin-bottom: 15px;
}
.title-holder p{
    font-size: 14px;
}
.next-back-button-holder{
    display: flex;
    gap: 20px;
}
.next-back-button-holder div,
.next-back-button-holder div button{
    width: 100%;
    margin: 0;
}
.qf-submit-btn:disabled{
    cursor: not-allowed !important;
}
.qf-service-top{
    display: flex;
    justify-content: space-between;
    width: 100%;
    position: relative;
    z-index: 2;
}
.qf-info-wrapper {
    position: relative;
    display: inline-block;
    cursor: pointer;
    vertical-align: middle;
}
.qf-show-info {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    color: white;
    border-radius: 50%;
    font-size: 14px;
    cursor: pointer;
}
.qf-show-info svg {
    fill: #767676;
    width: 20px;
    height: 20px;
    display: block;
}
.qf-info-holder {
    position: absolute;
    bottom: calc(100% + 10px);
    left: 50%;
    transform: translateX(-50%);
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 15px;
    min-width: 200px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease, transform 0.3s ease;
    z-index: 10;
}
.qf-info-wrapper:hover .qf-info-holder {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(-5px);
}
.qf-info-holder::after {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #fff transparent transparent transparent;
    filter: drop-shadow(0 2px 1px rgba(0,0,0,0.05));
}
.qf-info-holder::before {
    content: '';
    position: absolute;
    top: calc(100% - 1px);
    left: 50%;
    transform: translateX(-50%);
    border-width: 8px;
    border-style: solid;
    border-color: #ddd transparent transparent transparent;
    z-index: 9;
}
.animated-loader{
    display: flex;
    width: 100%;
    justify-content: center;
}
.qf-selected-service{
    margin-top: 10px;
}
.qf-selected-service ul,
.qf-selected-service li{
    list-style: none;
    margin: 0;
    padding: 0;
}
select option:disabled {
    color: #ccc;
    background-color: #f8f8f8;
}
@keyframes rotateAnimation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.animated-loader svg{
  animation: rotateAnimation 2s linear infinite;
  height: 64px;
  width: 64px;
}
@media only screen and (max-width: 767px) {
    .qf-grid{    
        grid-template-columns: repeat(1, 1fr);       
    }
    .step-two-col{
        flex-direction: column;
    }
    .step-two-col .qf-services{
        width: 100%;
        padding-left: 0;
        border-left: 0;
    }
    .next-button-holder{
        position: relative;
        left: 0;
        margin-top: 30px;
    }
}