
.service-wrapper .main-title{
    margin-bottom: 30px;
    font-size: var(--font-48);
    font-family: var(--primary-font);
    font-weight: 700;
    line-height: 100%;
}

.service-wrapper .nav-tabs{
    padding-right: 60px;
    border: none;
}

.service-wrapper .nav-tabs .nav-link{
    background: transparent;
    border: none;
    text-align: left;
    border-bottom: 1px solid #D7D7D7;
    padding: 35px 0px;
    position: relative;
    border-radius: 0;
}

.service-wrapper .nav-tabs .nav-link:nth-of-type(1){
    border-top: 1px solid #D7D7D7;
}

.service-wrapper .tab-excerpt p{
    margin-bottom: 0;
    font-size: var(--font-16);
    color: #333333;
    font-family: var(--secondary-font);
    max-width: 90%;
}

.service-wrapper .nav-tabs .nav-link:focus-visible{
    box-shadow: none;
    outline: none;
}

.service-wrapper h3{
    font-size: var(--font-24);
    font-weight: 700;
    font-family: var(--primary-font);
    color: #333333;
}

.tab-right-content .tab-description{
    background-color: #ffffff;
    border-radius: 14px;
    padding: 35px 25px 50px 25px;
    font-size: var(--font-16);
    font-family: var(--secondary-font);
    color: #333333;
}

.tab-right-content .tab-description ul{
    margin: 0;
    padding: 0;
}

.tab-right-content .tab-description ul {
    list-style-type: none;
    padding-left: 1.5em;
}

.tab-right-content .tab-description ul li {
    position: relative;
    padding: 18px 0px;
    text-align: left;
}

.tab-right-content .tab-description ul li:not(:last-child){
    border-bottom: 1px solid #D7D7D7;
}

.tab-right-content .tab-description ul li:last-child{
    margin-bottom: 0;
}

.tab-right-content .tab-description ul li::before {
    content: '';
    position: absolute;
    top: 13px;
    left: -25px;
    transform: translateY(-50%);
    width: 16px;
    height: 16px;
    background-image: url('../images/list-icon.svg');
    background-size: contain;
    background-repeat: no-repeat;
    margin: 18px 0px;
}

.tab-right-content .tab-detail,
.service-quote{
    background-color: #00000029;
    padding: 10px;
    border-radius: 14px;
}

.service-quote{
    margin-top: 30px;
}

.service-quote p{
    max-width: 400px;
}

.service-btn{
    margin-top: -40px;
    margin-left: 35px;
}

.service-content-box {
    padding: 30px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 22px;
}

.service-flex {
    display: flex;
}

.service-tabs,
.tab-content {
    width: 50%;
}

.tab-pane{
    max-width: 570px;
    margin-left: auto;
}

.service-tabs .main-gradient-btn{
    margin-top: 30px;
}

.service-wrapper .main-gradient-btn a {
    font-family: var(--secondary-font);
    font-weight: 500;
    padding: 18px !important;
}

.service-quote .quote{
    border-radius: 14px;
    background-color: #ffffff;
    padding: 25px;
    margin-bottom: 0;
    color: #333333;
    font-size: var(--font-18);
    font-weight: 700;
    font-family: var(--secondary-font);
}

.tab-progress {
    width: 100%;
    height: 5px;
    background: #ffffff;
    overflow: hidden;
    border-radius: 10px;
    position: absolute;
    left: 0;
    bottom: 0;
}

.tab-progress .progress-bar {
    display: block;
    width: 0%;
    height: 100%;
    /* background: linear-gradient(90deg, #F7C833 0%, #7B33F7 100%); */
    background: linear-gradient(82.94deg, #C40C0C -48.31%, #F6CE71 104.39%);
    transition: width 0s;
}

/* Animate only active tab */
.service-title.active .progress-bar{
    animation: progressFill 3s linear forwards;
    animation: progressFill linear forwards;
    animation-duration: var(--progress-duration, 3000ms);
}

@keyframes progressFill {
    from { width: 0%; }
    to { width: 100%; }
}


.service-wrapper:hover .progress-bar {
    animation-play-state: paused;
}


.service-wrapper .nav-tabs .nav-link .active-icon{
    opacity: 0;
    transition: 0.3s ease all;
}

.service-wrapper .nav-tabs .nav-link.active .active-icon{
    opacity: 1;
    transition: 0.3s ease all;
}


.service-content-box{
    background-repeat: no-repeat;
    background-size: cover;
        background-position: bottom;
}


@media (max-width: 991px) {
    .accordion-item.active .progress-bar {
        animation: progressFill linear forwards;
        animation-duration: 3000ms;
    }

    .service-quote p{
        max-width: 100%;
    }

    .accordion-item{
        border-bottom: 1px solid #D7D7D7;
    }

    .accordion-item:first-of-type{
        border-top: 1px solid #D7D7D7;
    }

    .accordion-item.active{
        border-color: transparent;
    }

    .accordion-title{
        position: relative;
        padding: 20px 0px;
    }

    .service-flex {
        display: block;
    }

    .service-tabs,
    .tab-content {
        width: 100%;
    }

    .accordion-content {
        display: none;
    }

    .accordion-item.active .accordion-content {
        display: block;
        margin-top: 20px;
    }

    .service-wrapper h3{
        margin-bottom: 0;
    }
}

@media screen and (max-width: 767px) {
    .service-content-box{
        padding: 15px;
    }

    .tab-right-content .tab-description,
    .service-quote .quote{
        padding: 20px;
    }

    .main-gradient-btn a{
        padding: 15px 20px !important;
    }
}