.why-choose-sec.bg-dark.img-content-sec {
    padding-top: 100px;
    padding-bottom: 0px;

    [class*="heading-"],
    p {
        color: var(--white);
    }

    p {
        font: normal normal normal 14px/26px Archivo;
        letter-spacing: 0.14px;
    }
}

.why-choose-sec .smtitle-line {
    padding-right: 35px;
    margin-left: auto;
    margin-right: auto;

    &::after {
        content: '';
        position: absolute;
        top: 0;
        right: 0;
        bottom: 0;
        margin: auto;
        background-color: var(--themecolor);
        height: 2px;
        width: 100%;
        max-width: 24px;
    }
}

.why-choose-wrapper .intro-sec {
    text-align: center;

    & .heading-40 {
        margin-bottom: 15px;
    }
}

ul.why_choose_list {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    flex: 1;
    position: relative;
    width: calc(100% + 2px);

    &:after {
        content: '';
        position: absolute;
        top: calc(50% - 1px);
        right: 0;
        left: 0;
        height: 1px;
        width: 100%;
        background: linear-gradient(90deg, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 20%) 50%, rgba(255, 255, 255, 0) 100%);
    }
}

.why_choose_list li {
    padding: 28px 50px;
    width: 25%;
    margin-bottom: 0;
    list-style-type: none;
    text-align: center;

    &:before {
        content: none;
    }

    & .icon-wrap {
        height: 70px;
        width: 70px;
        background-color: #404040;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 100%;
        margin: auto;
        margin-bottom: 22px;
    }
}

.why_choose_list li:nth-child(-n+3):after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(0deg, rgba(255, 255, 255, 20%) 0%, rgb(112 112 112 / 20%) 50%, rgba(255, 255, 255, 0) 100%);
}

.why_choose_list li:nth-last-child(-n+4):after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    height: 100%;
    width: 1px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 20%) 0%, rgb(112 112 112 / 20%) 50%, rgba(255, 255, 255, 0) 100%);
}

.why_choose_list li:last-of-type::after {
    content: none;
}

.why_choose_list li:nth-child(-n+4) {
    padding-top: 0;
}

.why_choose_list li:nth-last-child(-n+4) {
    padding-bottom: 0;
    padding-top: 37px;
}

.title-16 {
    font: normal normal 500 16px / 1.5 Archivo;
    letter-spacing: 0.16px;
    color: var(--themecolor);
    max-width: 65%;
    margin: auto;
    text-wrap-style: balance;
}

.title-16:has(+ p) {
    margin-bottom: 17px;
}

.why-choose-sec.bg-dark.img-content-sec .why-choose-cta {
    margin: 70px 0 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: var(--white);
    padding: 34px 32px 33px 44px;

    & .heading-46 {
        font-size: clamp(1.5rem, 1.225rem + 1.375vw, 2.875rem);
        font-family: 'Archivo';
        font-weight: 500 !important;
        line-height: 43px;
        letter-spacing: 0.46px;
        color: var(--secondary);
        margin-bottom: 0;
    }

    & .btnlist [class*="btn-"] {
        min-width: 180px;
    }
}

.services-details-pg .why-choose-sec.bg-dark.img-content-sec .why-choose-cta {
    margin-top: 0;
}

@media (max-width: 1599.99px) {
    .why-choose-sec.bg-dark.img-content-sec {
        padding: 80px;

        p {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 3;
            overflow: hidden;
            height: 75px;
            padding-bottom: 0;
        }
    }


}

@media (max-width: 1439.99px) {
    .why-choose-sec.bg-dark.img-content-sec {
        padding: 60px;
    }

    .why_choose_list li {
        padding: 20px 25px;
    }

    .why-choose-sec.bg-dark.img-content-sec .why-choose-cta {
        margin: 55px 0 0 0;
    }
}

@media (max-width: 1199.99px) {
    .why-choose-sec.bg-dark.img-content-sec {
        padding: 40px 0;
    }

    .why-choose-wrapper .why_choose_list .title-16 {
        max-width: 85%;
    }

    .why-choose-wrapper .why_choose_list .title-16:has(+ p) {
        margin-bottom: 10px;
    }

    .why_choose_list li:nth-last-child(-n+4) {
        padding-top: 30px;
    }

    .why-choose-sec .smtitle-line {
        padding-right: 0;

        &::after {
            left: 262px;
        }

    }

}

@media (max-width: 991.98px) {

    .why-choose-sec.bg-dark.img-content-sec {
        padding: 30px 0;

        p {
            display: none;
        }

        .why-choose-cta {
            flex-direction: column;
            padding: 30px 33px;
            gap: 15px;

            & .heading-46 {
                width: 100%;
                text-align: center;
            }
        }
    }

    .why-choose-wrapper .why_choose_list .title-16:has(+ p) {
        margin-bottom: 0px;
    }

    .why-choose-wrapper .why_choose_list .title-16 {
        max-width: 100%;
        line-height: 1.4;
    }

    .why_choose_list li {
        padding: 15px 10px;

        & .icon-wrap {
            margin-bottom: 16px;
        }
    }

    .why-choose-sec.bg-dark.img-content-sec .why-choose-cta {
        margin: 40px 0 0 0;
    }

}

@media (max-width: 767.98px) {
    .why-choose-sec.bg-dark.img-content-sec .why-choose-cta {
        & .heading-46 {
            line-height: 1.1;
        }
    }

    .why_choose_list li {
        width: 33.33%;

        & .icon-wrap {
            height: 66px;
            width: 66px;
        }
    }

    ul.why_choose_list {
        &:after {
            content: none;
        }
    }

    .why_choose_list li:nth-child(-n+3):after,
    .why_choose_list li:nth-last-child(-n+4):after {
        content: none;
    }

    .why_choose_list li:nth-last-child(-n+4) {
        padding-top: 0px;
        padding-bottom: 15px;
    }
}

@media (max-width: 575.98px) {
    .why_choose_list li {
        width: 50%;
    }

    .why-choose-wrapper .why_choose_list .title-16 {
        max-width: 95%;
    }

    .why-choose-sec.bg-dark.img-content-sec .why-choose-cta {
        margin: 30px 0 0 0;
    }



}

@media (max-width: 375.98px) {
    .why-choose-sec .smtitle-line {
        &::before {
            max-width: 15px;
            left: -28px;
        }

        .why-choose-sec .smtitle-line {
            padding-right: 20px;
            padding-left: 14px;
        }

    }

    .why-choose-sec .smtitle-line {
        font-size: 14px;
        padding-left: 0;

    }
   

    .why-choose-sec .smtitle-line {
        &::after {
            max-width: 15px;
            left: 199px;

        }
    }

}