/* --------------------Service We Offer ------------------- */
.service-offer-sec {
    & .service-intro {
        justify-content: space-between;
        margin-bottom: 50px;

        & .service-heading {
            width: calc(100% - 150px);
            max-width: 850px;

            & p {
                padding-left: 55px;
                position: relative;
                line-height: 20px;

                &::before {
                    content: '';
                    position: absolute;
                    top: 5px;
                    left: 0;
                    background-color: #001E7F;
                    width: 27px;
                    height: 8px;
                }
            }
        }

        & .intro-badge {
            width: 150px;
        }
    }

    & .serviceoffer-listing {
        display: flex;
        flex-wrap: wrap;
        column-gap: 50px;
        row-gap: 55px;

        & .serv-offer-item {
            width: calc(33.33% - 34px);

            &:nth-child(-n+2) {
                width: calc(50% - 25px);

                & a {
                    & .servoff-img {
                        & .servoff-content {
                            padding: 55px;

                            & .servoffer-hdeadwrap {
                                & .servoff-title {
                                    font-size: clamp(30px, 30px + (50 - 30) * ((100vw - 375px) / (1920 - 375)), 50px);
                                    color: var(--white);
                                    font-weight: 600;
                                    line-height: 0.8;
                                }
                            }
                        }
                    }
                }
            }

            & a {
                & .servoff-img {
                    position: relative;
                    z-index: 1;
                    border-radius: 20px;
                    overflow: hidden;
                    transition: all 0.2s ease-in-out;
                    -webkit-transition: all 0.2s ease-in-out;
                    -o-transition: all 0.2s ease-in-out;
                    -moz-transition: all 0.2s ease-in-out;

                    &:before {
                        content: "";
                        position: absolute;
                        bottom: 0;
                        left: 0;
                        right: 0;
                        width: 100%;
                        height: 100%;
                        background: transparent linear-gradient(127deg, #000000 0%, #00000000 100%) 0% 0% no-repeat padding-box;
                        border-radius: 20px;
                        z-index: 1;
                        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;
                    }

                    & img {
                        -webkit-transform: scale(1.1);
                        -ms-transform: scale(1.1);
                        transform: scale(1.1);
                        -webkit-transition: 0.5s ease-out;
                        -o-transition: 0.5s ease-out;
                        transition: 0.5s ease-out;
                    }

                    & .servoff-content {
                        position: absolute;
                        top: 0px;
                        left: 0;
                        font-weight: 900;
                        line-height: 20px;
                        letter-spacing: 0.64px;
                        padding: 40px;
                        z-index: 2;
                        width: 100%;
                        -webkit-box-orient: vertical;
                        -webkit-box-direction: normal;
                        -ms-flex-direction: column;
                        flex-direction: column;
                        -webkit-box-pack: center;
                        -ms-flex-pack: center;
                        justify-content: center;
                        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;

                        & .servoffer-hdeadwrap {
                            border-bottom: 1px solid rgb(233 233 233 / 50%);
                            padding-bottom: 20px;
                            margin-bottom: 20px;

                            & .servoff-title {
                                position: relative;
                                font-weight: 600;
                                font-size: clamp(24px, 24px + (38 - 24) * ((100vw - 375px) / (1920 - 375)), 38px);
                                line-height: 0.8;
                                top: 0;
                                color: var(--white);
                                margin-bottom: 8px;
                                -webkit-transition: all .5s ease-in-out;
                                -o-transition: all .5s ease-in-out;
                                transition: all .5s ease-in-out;

                                &:after {
                                    content: '';
                                    position: absolute;
                                    top: 2px;
                                    right: 0;
                                    background: url(../images/icon/service-right-arrow.svg) no-repeat center;
                                    width: 40px;
                                    height: 40px;
                                }
                            }

                            & .serv-sub-title {
                                font-size: 16px;
                                line-height: 20px;
                                font-weight: 400;
                                letter-spacing: 0px;
                                color: #E9E9E9;
                            }
                        }

                        & p {
                            line-height: 20px;
                            color: #FFFFFF;
                            display: -webkit-box;
                            -webkit-box-orient: vertical;
                            -webkit-line-clamp: 3;
                            overflow: hidden;
                            height: 62px;
                            padding-bottom: 0 !important;
                            color: var(--white);
                            margin-bottom: 15px;
                            -webkit-transform: translateY(100%);
                            transform: translateY(100%);
                            transform: translateY(100%);
                            opacity: 0;
                            -webkit-transition: all .3s ease-out 0.1s;
                            -o-transition: all .3s ease-out 0.1s;
                            transition: all .3s ease-out 0.1s;
                        }

                        & .btn-white {
                            font-size: 16px;
                            min-width: unset;
                            padding: 14px 20px;
                            min-height: auto;
                            border-radius: 5px;
                            -webkit-transform: translateY(100%);
                            -ms-transform: translateY(100%);
                            transform: translateY(100%);
                            opacity: 0;
                            -webkit-transition: all .3s ease-out 0.1s;
                            -o-transition: all .3s ease-out 0.1s;
                            transition: all .3s ease-out 0.1s;
                        }
                    }
                }

                &:hover {

                    & .servoff-img {

                        & img {
                            transform: scale(1);
                            border-radius: 6px;
                        }

                        & .servoff-content {

                            & p {
                                opacity: 1;
                                -webkit-transform: scale(1) translateY(0);
                                -ms-transform: scale(1) translateY(0);
                                transform: scale(1) translateY(0);
                                -webkit-transition: all 0.5s ease-in-out 0.2s;
                                -o-transition: all 0.5s ease-in-out 0.2s;
                                transition: all 0.5s ease-in-out 0.2s;
                            }

                            & .btn-white {
                                opacity: 1;
                                -webkit-transform: translateY(0px);
                                -ms-transform: translateY(0px);
                                transform: translateY(0px);
                                -webkit-transition: all .5s ease-out 0.4s;
                                -o-transition: all .5s ease-out 0.4s;
                                transition: all .5s ease-out 0.4s;
                            }
                        }
                    }

                }
            }
        }
    }
}



/* ------------------- Responsivness ------------------- */
@media (max-width: 1599.99px) {
    .service-offer-sec {
        & .service-intro {
            margin-bottom: 30px;

            & .service-heading {
                width: calc(100% - 130px);

                & [class*="heading-"] {
                    margin-bottom: 10px;
                }
            }

            & .intro-badge {
                width: 130px;
            }
        }

        & .serviceoffer-listing {
            column-gap: 40px;
            row-gap: 40px;

            & .serv-offer-item {
                width: calc(33.33% - 27px);

                &:nth-child(-n+2) {
                    width: calc(50% - 20px);
                }
            }
        }
    }
}

@media (max-width: 1439.99px) {
    .service-offer-sec {
        & .service-intro {
            margin-bottom: 30px;

            & .service-heading {
                width: calc(100% - 120px);
            }

            & .intro-badge {
                width: 120px;
            }
        }

        & .serviceoffer-listing {
            column-gap: 30px;
            row-gap: 30px;

            & .serv-offer-item {
                width: calc(33.33% - 20px);

                & a {
                    & .servoff-img {
                        & .servoff-content {
                            padding: 25px;

                            & .servoffer-hdeadwrap {
                                & .servoff-title {
                                    &:after {
                                        top: 1px;
                                        width: 30px;
                                        height: 30px;
                                        background-size: contain;
                                    }
                                }
                            }
                        }
                    }
                }

                &:nth-child(-n+2) {
                    width: calc(50% - 15px);

                    & a {
                        & .servoff-img {
                            & .servoff-content {
                                padding: 35px;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 1199.99px) {
    .service-offer-sec {
        & .service-intro {
            align-items: center;
            margin-bottom: 25px;

            & .service-heading {
                max-width: 750px;
            }
        }

        & .serviceoffer-listing {
            column-gap: 20px;
            row-gap: 20px;

            & .serv-offer-item {
                width: calc(33.33% - 14px);

                & a {
                    & .servoff-img {
                        & .servoff-content {
                            padding: 20px;
                        }
                    }
                }

                &:nth-child(-n+2) {
                    width: calc(50% - 10px);

                    & a {
                        & .servoff-img {
                            & .servoff-content {
                                padding: 25px;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 991.99px) {
    .service-offer-sec {
        & .service-intro {

            & .service-heading {
                max-width: 100%;
                width: 100%;

                & p {
                    padding-left: 38px;

                    &::before {
                        width: 22px;
                        height: 6px;
                    }
                }
            }

            & .intro-badge {
                display: none;
            }
        }

        & .serviceoffer-listing {
            column-gap: 15px;
            row-gap: 15px;

            & .serv-offer-item {
                width: calc(33.33% - 10px);

                & a {
                    & .servoff-img {
                        & .servoff-content {
                            padding: 15px;

                            & p {
                                display: none;
                            }

                            & .btn-white {
                                font-size: 14px;
                                padding: 12px 12px;
                                -webkit-transform: unset;
                                -ms-transform: unset;
                                transform: unset;
                                opacity: 1;
                                -webkit-transition: unset;
                                -o-transition: unset;
                                transition: unset;
                            }

                            & .servoffer-hdeadwrap {
                                padding-bottom: 12px;
                                margin-bottom: 12px;

                                & .servoff-title {
                                    padding-right: 25px;
                                    line-height: 1;

                                    &:after {
                                        width: 25px;
                                        height: 25px;
                                    }
                                }
                            }
                        }
                    }

                    &:hover {
                        & .servoff-img {
                            & .servoff-content {
                                & p {
                                    opacity: unset;
                                    -webkit-transform: unset;
                                    -ms-transform: unset;
                                    transform: unset;
                                    -webkit-transition: unset;
                                    -o-transition: unset;
                                    transition: unset;
                                }

                                & .btn-white {
                                    opacity: unset;
                                    -webkit-transform: unset;
                                    -ms-transform: unset;
                                    transform: unset;
                                    -webkit-transition: unset;
                                    -o-transition: unset;
                                    transition: unset;
                                }
                            }
                        }
                    }
                }

                &:nth-child(-n+2) {
                    width: calc(50% - 7.5px);

                    & a {
                        & .servoff-img {
                            & .servoff-content {
                                padding: 20px;
                            }
                        }
                    }
                }
            }
        }
    }
}

@media (max-width: 767.99px) {
    .service-offer-sec {
        & .service-intro {
            & .service-heading {
                & [class*="heading-"] {
                    margin-bottom: 5px;
                }
            }
        }

        & .serviceoffer-listing {
            & .serv-offer-item {
                width: calc(50% - 8px);

                &:nth-child(-n+2) {
                    width: calc(100% - 0px);
                }
            }
        }
    }
}

@media (max-width: 575.99px) {
    .service-offer-sec {
        & .serviceoffer-listing {
            & .serv-offer-item {
                width: calc(100% - 0px);

                & a {
                    & .servoff-img {
                        max-height: 228px;
                    }
                }
            }
        }
    }
}