

.footer {
    margin-top: 100px;
}


.faraz-title-box {
    justify-content: center;
}

.service-image{
    width: 600px;
    height: 350px;
}

.service-image img{
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.cat-main-service{
    position: relative;
    z-index: 1;
}

.cat-main-service::before {
    content: '';
    background-image: url(../images/service/service-back2.png);
    position: absolute;
    width: 100%;
    height: 100%;
    background-position: center;
    background-size: contain;
    z-index: -1;
    top: 0;
}
.service-cat-text h2 {
    font-size: 1.55rem;

    font-weight: 900;
    margin-top: 3rem;
}
.service-cat-text h3 {
    font-size: 1.55rem;
    font-weight: 900;
    margin-top: 3rem;
}
.service-cat-image{
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.service-cat-text p {
    text-align: justify !important;
    color: #ffff;
    font-size: 15px;
}

.service-cat-text * {
    color: #ffff !important;
    text-align: justify !important;
    text-align-last: right !important;
}
.link-category{
    color: #fff;
    font-size: 15px;
    border-bottom: 1px solid;
    display: flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
}

.cat-main-service{
    padding-block: 52px;
    background: #04413d;
}

.subcat-title .faraz-title-box h3 {
    color: #2b2b2b;
    font-weight: 600;
    font-size: 27px;
    line-height: 40px;
}

.subcat-service{
    padding-top: 40px;
    padding-bottom: 100px;

}


.col-service-detail{
    position: relative;
    z-index: 1;
    background: #ffff;
    box-shadow: 0px 1px 4px 1px #c1c1c1;
    margin-top: 20px;
    padding-block: 54px;
    padding-right: 15%;
}

.subcat-back{
    position: absolute;
    width: calc(77.3% + 45px);
    height: calc(100% + 30px);
    background: var(--secondary-color);
    bottom: 0;
    transform: skewX(17deg);
    right: -46px;
}

.subcat-service .row{
    position: relative;
}

.col-service-detail::after{
    content: '';
    position: absolute;
    background-image: url(../images/service/subcat1.png);
    background-size: contain;
    width: 300px;
    height: 200px;
    background-repeat: no-repeat;
    left: -15%;
    bottom: 0;
}

.row-subcat2{
    justify-content: center;
    margin-top: 10px;
}

.subcat-2-content{
    background: #ffff;
    box-shadow: 0px 1px 4px 1px #c1c1c1;
    display: flex;
    align-items: center;
    padding: 40px 30px;
    gap: 30px;
    position: relative;
}

.subcat-2-content::before{
    position: absolute;
    content: "";
    background-image: url("../images/service/extrasub1.png");
    background-repeat: no-repeat;
    background-size: contain;
    right: -20.8%;
    top: 0;
    width: 200px;
    height: 200px;
}

.subcat-2-content::after{
    position: absolute;
    content: "";
    background-image: url("../images/service/extrasub2.png");
    background-repeat: no-repeat;
    background-size: contain;
    width: 200px;
    height: 200px;
    left: -18.5%;
    bottom: 0;
}

.subcat2-image img{
    width: 260px;
    height: 260px;
}

.faraz-more svg path{
    fill: #ffffff;
    stroke: #ffffff;
}

.service-cat-text{
    height: 200px;
    overflow: hidden;
}


.service-cat-text.show_less {
    height: 100%;
    overflow: auto;
}
.faraz-more span{
    border-bottom: 1px solid #fff
}

.faraz-more{
    margin-top: 30px;
    color: #ffffff;
    font-size: 15px;
    display: flex;
    gap: 6px;
    align-items: center;
    cursor: pointer;
    margin-bottom: 20px;
}

.service-subcat-text {
    font-size: 15px;
    text-align: justify;
    height: 165px;
    overflow: hidden;
}

.service-subcat-text p {
    line-height: 35px !important;
}

.faraz-btn {
    width: fit-content;
    margin-top: 35px;
}

.subcat2-content{
    padding-block: 30px 126px;
}


@media screen and (max-width: 1199px){
    .subcat-2-content::before {
        display: none;
    }

    .subcat-2-content::after {
        display: none;
    }
}

@media screen and (max-width: 991px){

    .subcat2-image{
        margin-top: 30px
    }


    .subcat-title .faraz-title-box h3 {
        font-size: 24px;
    }

    .subcat-2-content {
        flex-direction: column;
    }

    .subcat-back {
        width: 94%;
        right: -94px;
    }

    .col-service-detail {
        padding: 29px 28px;
    }

    .col-service-detail::after {
        display: none;
    }
    .service-cat-image {
        justify-content: center;
        margin-top: 40px;
    }

    .service-image {
        width: 526px;
        height: 333px;
    }

    .subcat-service {
        padding-bottom: 63px;
    }

    .subcat2-content {
        padding-block: 0px 116px;
    }


}


@media screen and (max-width: 767px){
    .subcat-title .faraz-title-box h3 {
        font-size: 22px;
    }
}

@media screen and (max-width: 575px){
    .subcat-title .faraz-title-box h3 {
        font-size: 18px;
    }

    .col-service-detail {
        padding: 19px 16px;
    }
    .service-image {
        width: 405px;
        height: 227px;
    }
}


@media screen and (max-width: 425px){
    .col-service-detail {
        padding: 20px 0px;
    }
}
