.our-services-grid-sec {
    & .services_grid_wrap {
        display: flex;
        flex-wrap: wrap;
        margin: 0 -20px;
        row-gap: 40px;

        li {
            width: 33.33%;
            padding: 0 20px !important;
            position: relative;
            line-height: 100%;
            margin-bottom: 0;

            .img-wrap {
                display: block;
            }

            &::before {
                content: none;
            }
        }
    }

    .btnlist {
        justify-content: center;
        display: none;
    }
}

.service_items {
    position: relative;
}

.service_items::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d4ad764a;
    opacity: 0;
    transition: all 0.5s ease-in-out;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
}

.service_items:hover:after {
    opacity: 1;
}

.service_content_box {
    position: absolute;
    bottom: 0;
    padding: 20px 30px 15px 30px;
    background-color: var(--white);
    max-width: 236px;
    width: 100%;
    z-index: 1;

    .heading-20 {
        font-family: 'Archivo';
        font-weight: bold;
        letter-spacing: 0px;
        margin-bottom: 11px;
    }

    & .btn-read-more {
        font-size: 14px;
        font-weight: bold;
        line-height: 100%;
        letter-spacing: 0.14px;
        color: #D4AD76;
        text-transform: uppercase;
        gap: 8px;

        img {
            height: 12px;
            object-fit: contain;
        }
    }
}



.services-details-pg .service_content_box {
    max-width: 400px;
}

/*  */
.step-box-sec {
    margin-top: 30px;
    position: relative;
    z-index: 0;
}

.step-box-sec::before {
    content: "";
    top: 0;
    left: 0;
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 1;
}

.whychoose_left {
    position: relative;
    text-align: center;
    text-wrap: balance;
}

.stepbox-container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: center;
}

.stepbox_bx {
    position: relative;
    margin: 0 10px;
    padding: 0 27px 30px 27px !important;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-content: center;
    background: #EFEFE8;
    margin-bottom: 0;
}

.stepbox_bx::before {
    content: none;
}

.stepbox_bx:after {
    content: '';
    position: absolute;
    height: 100%;
    width: 1px;
    background: rgb(255 255 255 / 7%);
    right: 0;
}

.stepbox_bx:last-of-type:after {
    display: none;
}

.stepbox_icon {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: #404040;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: -35px;
}

.stepbox_icon>span {
    position: relative;
}

.stepbox_icon img {
    filter: brightness(0) saturate(100%) invert(77%) sepia(36%) saturate(450%) hue-rotate(352deg) brightness(89%) contrast(85%);
    max-width: 40px;
}

.stepbox_title {
    position: relative;
    width: 100%;
    font-size: 18px;
    line-height: 26px;
    font-family: "Archivo";
    letter-spacing: 0px;
    font-weight: 700;
    margin: 23px 0 0px;
    text-align: center;
}

.step-box-sec p {
    font-size: 14px;
    line-height: 26px;
    color: #000000;
    text-align: center;
    font-weight: 400;
    letter-spacing: 0.14px;
}

.stepbox_bx p {
    position: relative;
    margin-bottom: 0;
    line-height: 27px;
}

/* .stepbox_bx p:before {
    position: absolute;
    content: "";
    width: 22px;
    height: 2px;
    top: -20px;
    left: 45%;
    background-color: #fff;
} */

.step-box-sec .btnbar {
    text-align: center;
}


/*  */





.homepg .our-services-grid-sec .services_grid_wrap li:first-of-type,
.suburb-pg .our-services-grid-sec .services_grid_wrap li:first-of-type {
    padding-right: 123px !important;
}


.service_content_box {
    .heading-20 {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        height: 50px;
    }
   
}
.why_choose_list li .title-16 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 48px;
}

@media (max-width: 1439.99px) {

    .homepg .our-services-grid-sec .services_grid_wrap li:first-of-type,
    .suburb-pg .our-services-grid-sec .services_grid_wrap li:first-of-type {
        padding-right: 60px !important;
    }

    .stepbox_bx {
        padding: 0 15px 20px 15px !important;
    }
    .step-box-sec .stepbox-container {
        flex-wrap: wrap;
    }
    .step-box-sec .stepbox_bx {
        width: 25%;
        margin-bottom: 60px;
    }
    .service_content_box {
        position: relative;
        bottom: unset;
        padding: 20px 20px 20px 0;

        & .heading-20 {
            display: -webkit-box;
            -webkit-box-orient: vertical;
            -webkit-line-clamp: 1;
            overflow: hidden;
            height: 24px;
        }
    }
}

@media (max-width: 1199.99px) {

    .homepg .our-services-grid-sec .services_grid_wrap li:first-of-type,
    .suburb-pg .our-services-grid-sec .services_grid_wrap li:first-of-type {
        padding: 0px !important;
        width: 100%;
        margin-bottom: 0;
    }

    .homepg .our-services-grid-sec .services_grid_wrap li:first-of-type [class*="btn-"],
    .suburb-pg .our-services-grid-sec .services_grid_wrap li:first-of-type [class*="btn-"] {
        display: none;
    }

    .our-services-grid-sec {
        & .services_grid_wrap {
            margin: 0 -10px;
            row-gap: 20px;

            li {
                padding: 0 10px !important;
            }
        }
    }

    .services_grid_wrap li:first-child [class*="heading-"] {
        line-height: 1.4;
        margin-bottom: 8px;
        text-align: center;
    }

    .service-pg .services_grid_wrap li:first-child [class*="heading-"] {
        text-align: left;
    }

    .services_grid_wrap li:first-child p {
        margin-bottom: 10px;
        text-align: left;
    }

    .service_content_box {
        max-width: 215px;

        .heading-20 {
            margin-bottom: 6px;
            line-height: 1.2 !important;
        }
    }
    .step-box-sec .stepbox_bx {
        width: 33.33%;
    }
    .services_grid_wrap li:first-child [class*="heading-"] {
        text-align: left;
    }
    .services_grid_wrap li:first-child p {
        text-align: left;
    }
}

@media (max-width: 991px) {
    .services_grid_wrap li:first-child p {
        margin-bottom: 5px;
    }

    .our-services-grid-sec {
        & .services_grid_wrap {
            li {
                width: 50%;
            }
        }
    }
    .services_grid_wrap li:first-child [class*="heading-"] {
        text-align: left;
    }
    .services_grid_wrap li:first-child p {
        text-align: left;
    }
    .services-details-pg .service_content_box p{
        text-align: left;
    }
    .service_content_box {
        .heading-20 {
            text-align: left;
        }
    }

    
}

@media (max-width: 767.99px) {
    .service_content_box {
        max-width: 180px;

        & .btn-read-more {
            font-size: 12px;
        }
    }
    .step-box-sec .stepbox_bx {
        width: 100%;
    }
    .service_content_box {
        & .heading-20 {
            height: 20px;
        }
    }
    .step-box-sec .stepbox_bx:last-child{
        margin-bottom:40px;
    }
}

@media (max-width: 575.99px) {
    .services_grid_wrap:has(+ .btnlist) {
        margin-bottom: 20px;
    }

    .our-services-grid-sec {
        & .services_grid_wrap {
            row-gap: 10px;
            margin: 0 -5px;

            li {
                padding: 0 5px !important;
            }
        }
    }

    .service_content_box {
        position: relative;
        max-width: 100%;
        padding: 15px 15px 10px 0;

        & .heading-20 {
            letter-spacing: 0px;
            line-height: 1.2;
        }

        & .btn-read-more {
            display: none;
        }
    }

    .services_grid_wrap li:first-child [class*="heading-"] {
        margin-bottom: 5px;
    }

    .our-services-grid-sec {
        .btnlist {
            justify-content: center;
            display: inline-flex;
            width: 100%;
            margin-top: 10px;
        }
    }
    .why-choose-sec.img-content-sec h2{
        text-align: left;
    }
    .step-box-sec .stepbox_bx:last-child{
        margin-bottom:0;
    }
    .services-details-pg .service_content_box p {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 3;
        overflow: hidden;
        height: 55px;
        font-size: 14px;
    }
}