Current File : /home/mdkeenpw/public_html/wp-content/themes/logistik/assets/sass/template/sections/_service.scss
/* Service List ---------------------------------- */
.service-list {
    &-wrap {
        display: grid;
        grid-template-columns: auto auto auto auto auto;
        gap: 40px 20px;
        justify-content: space-between;
    }

    text-align: center;

    &_icon {
        img {
            transition: 0.4s ease-in-out;
        }
    }

    &_title {
        max-width: 180px;
        font-size: 20px;
        line-height: 30px;
        font-weight: 600;
        margin-top: 20px;
        margin-bottom: -0.3em;
    }

    &:hover {
        .service-list {
            &_icon {
                img {
                    transform: rotateY(180deg);
                }
            }
        }
    }
}

@include md {
    .service-list {
        &-wrap {
            grid-template-columns: auto auto auto;
        }
    }
}

@include sm {
    .service-list {
        &_title {
            font-size: 18px;
            max-width: 160px;
        }
    }
}

@include xs {
    .service-list {
        &-wrap {
            grid-template-columns: auto auto;
        }
    }
}

/* Service Grid ---------------------------------- */
.service-divider {
    height: 100%;
    width: 1px;
    background-color: $gray-color;

    &:last-of-type {
        display: none;
    }
}

.service-grid {
    position: relative;
    max-width: 270px;

    &-wrap {
        position: relative;
        display: grid;
        grid-template-columns: auto auto auto auto auto;
        justify-content: space-between;
        background-color: $smoke-color2;
        padding: 60px 88px;

        .shape-left,
        .shape-right {
            position: absolute;
            top: -42px;
        }

        .shape-left {
            left: -176px;
        }

        .shape-right {
            right: -176px;
        }
    }


    &_icon {
        margin-bottom: 20px;

        img {
            transition: 0.4s ease-in-out;
        }
    }

    &_text {
        margin-bottom: -0.5em;
    }

    &_title {
        font-size: 20px;
        line-height: 1.45;
        font-weight: 600;
        margin: 0 0 4px 0;

        a {
            color: inherit;

            &:hover {
                color: $theme-color;
            }
        }
    }

    &_subtitle {
        font-size: 14px;
        display: block;
        margin-bottom: 18px;
    }

    &:hover {
        .service-grid {
            &_icon {
                img {
                    transform: rotateY(180deg);
                }
            }
        }
    }
}

@include lg {
    .service-grid-wrap {
        padding: 40px;
    }
}

@include md {
    .service-divider {
        display: none;
    }

    .service-grid {
        &-wrap {
            grid-template-columns: auto auto;
            justify-content: center;
            gap: 40px;

            .shape-right {
                top: unset;
                bottom: -42px;
            }
        }

        &_icon {
            margin-bottom: 13px;
        }

        &_subtitle {
            margin-bottom: 10px;
        }
    }
}

@include sm {
    .service-grid {
        &-wrap {
            grid-template-columns: auto;

            .shape-right {
                max-width: 200px;
                right: -130px;
            }

            .shape-left {
                max-width: 200px;
                left: -130px;
            }
        }

        text-align: center;
    }
}

@include xs {
    .service-grid-wrap {
        padding: 40px 15px;
    }
}

/* Service Card ---------------------------------- */
.service-card {
    --space: 30px;
    position: relative;
    margin-bottom: 50px;
    transition: all 0.4s ease-in-out;

    &_wrapper {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    &:hover {
        .service-card {
            &_content {

                &:before {
                    height: 0;
                }

                .line-btn {
                    color: $white-color;

                    &:before {
                        background-color: $white-color;
                    }
                }
            }

            &_title {
                color: $white-color;

                a {
                    color: inherit;

                    &:hover {
                        color: $white-color;
                    }
                }
            }

            &_desc {
                color: $white-color;
            }

            &_icon {
                background-color: $theme-color-2;
            }

            &_img {
                &:before {
                    opacity: 1;
                    visibility: visible;
                    z-index: 1;
                }

                img {
                    transform: scale(1.08);
                }
            }



        }

        &_btn {
            position: absolute;
            display: inline-block;
            bottom: 30px;
            right: 0;
            // .ser-button{
            //     transform: scaleY(1);
            // } 
        }
    }



    &_img {
        position: relative;
        overflow: hidden;

        &:before {
            content: "";
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4 ease-in-out;
        }

        img {
            width: 100%;
            height: 100%;
            transition: all 0.4s ease-in-out;
        }
    }

    &_content {
        background-color: $theme-color;
        position: absolute;
        left: 0;
        bottom: -50px;
        border-radius: 0px;
        padding: 30px 22px;
        width: calc(100% - 50px);
        z-index: 2;
        transition: all 0.4s ease-in-out;

        @include xl {
            padding: 30px 18px;
        }

        &:before {
            content: "";
            width: 100%;
            height: 100%;
            background-color: $white-color;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: 0.4s ease-in-out;
        }

        &:after {
            content: "";
            position: absolute;
            left: 0;
            bottom: 0;
            width: 100%;
            height: 2px;
            z-index: 3;
            background-color: $theme-color;


        }

    }

    &_desc {
        max-width: 270px;
        font-size: 16px;
        line-height: 28px;
        font-weight: 400;
        color: $body-color;
        margin-bottom: 0;
    }

    &_btn {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 50px;
        height: 50px;
        background: $theme-color;
        display: flex;
        justify-content: center;
        align-items: center;

        &:hover {}
    }

    .ser-icon {
        width: 50px;
        display: block;
        justify-content: center;
        color: #fff;
        padding: 20px;
        margin: 0 auto;

        .ser-title {
            transform: rotate(-90deg);
            width: 80px;
            height: 82px;
            margin: 0;
            display: block;
            margin: 0 auto;
            margin-left: -9px;
            color: #fff;
        }
    }

    .share-option {
        position: absolute;
        display: inline-block;
        top: auto;
        bottom: 0;
        right: 0;
        z-index: 2;

        &:hover {
            .team-social2 {
                .icon-team-list {
                    background-color: $theme-color-2;
                    transform: scaleY(1);
                    bottom: -50px;
                }
            }
        }

        .share-link {
            position: absolute;
            top: auto;
            bottom: -50;
            right: 0;
            background: $theme-color;
            width: 50px;
            height: 50px;
            line-height: 50px;
            text-align: center;
            color: #fff;
            cursor: pointer;
            opacity: 1;
            transition: all 0.4s ease-in-out;
            overflow: hidden;
        }

        .team-social2 {
            .icon-team-list {
                position: absolute;
                bottom: -50px;
                right: 0;
                transform-origin: bottom center;
                transform: scaleY(0);
                transition: all 500ms ease;

                li {
                    display: block;
                    margin: 0;

                    a {
                        color: #fff;
                        height: 45px;
                        width: 45px;
                        line-height: 45px;
                        font-size: 14px;
                        transition: all 300ms ease-in-out 0s;
                        margin: 0;
                    }
                }
            }
        }
    }

    // &_btn {
    //     background-color: $theme-color-2; 
    //     font-family: $title-font;
    //     position: absolute;
    //     right: 0px;
    //     bottom: 0px;
    //     padding: 10px;
    //     text-transform: uppercase;
    //     color: $white-color;
    //     transform: rotate(-90deg);
    //     width: 50px;
    //     height: 50px;
    //     display: flex;
    //     justify-content: center;
    //     align-items: center;
    //     z-index: 2; 

    //     .ser-icon {
    //         display: flex;
    //         justify-content: center;
    //         align-items: center;
    //         transform: rotate(90deg);
    //         padding: 10px; 
    //         opacity: 1;
    //         cursor: pointer;
    //     }


    // }
    // .ser-button{
    //     position: absolute; 
    //     bottom: 20px;
    //     right: 0;
    //     background-color: $theme-color; 
    //     transform-origin: bottom center; 
    //     transform: scaleY(0);
    //     transition: all 500ms ease;
    //     .line-btn {
    //         font-weight: 700;
    //         font-size: 14px;
    //         line-height: 14px;
    //         color: $white-color;  
    //     }
    // }

    &_icon {
        position: absolute;
        right: 10px;
        top: -50px;
        color: $theme-color;
        width: 80px;
        height: 80px;
        line-height: 60px;
        border-radius: 50%;
        background-color: $theme-color;
        padding: 10px;
        margin: 0 auto 15px auto;
        text-align: center;

        @include xl {
            top: -36px;
            width: 60px;
            height: 60px;
            line-height: 40px;
        }

        @include sm {
            top: -36px;
            width: 80px;
            height: 80px;
            line-height: 60px;
        }

        img {
            transition: 0.4s ease-in-out;
        }
    }

    &_title {
        font-size: 22px;
        font-weight: 700;
        color: $title-color;
        margin: -5px 0 8px 0;

        a {
            color: inherit;

            &:hover {
                color: $theme-color;
            }
        }
    }

    &_text {
        max-width: 270px;
        font-size: 16px;
        line-height: 28px;
        font-weight: 400;
        color: $body-color;
        border-bottom: 1px solid rgba(18, 18, 18, 0.1);
        padding-bottom: 18px;
        margin-bottom: 18px;
    }

    &_inner {
        background-size: 95% 95%;
        padding: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100%;
        width: 100%;
        transition: 0.4s ease-in-out;
    }

    .line-btn {
        &:hover {
            color: $white-color;

            &:before {
                background-color: $white-color;
            }
        }
    }

    &:hover {
        .service-box {
            &_inner {
                background-color: $title-color;
            }

            &_title,
            &_text {
                color: $white-color;
            }
        }
    }
}

@include md {
    .service-card {
        --space: 30px;
    }
}

@include sm {
    .service-card {
        --space: 10px;

        &_content {
            padding: 20px;
        }
    }
}

@include xs {
    .service-card {
        --space: 20px;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;

        &_content {
            padding: 20px;
        }
    }
}

/* Service Box ---------------------------------- */
.service-box {
    --space: 30px;
    position: relative;
    margin-bottom: 100px;

    &.style3 {
        position: relative;
        padding: 90px 40px 22px 40px;
        background-color: $theme-color;
        border-top: 2px solid $theme-color;
        filter: drop-shadow(0px 10px 15px rgba(0, 0, 0, 0.08));
        margin-top: 40px;
        margin-bottom: 0;
        transition: 0.4s ease-in-out;
        z-index: 2;

        &:hover {
            &:before {
                height: 0;
            }
        }

        &:before {
            content: "";
            width: 100%;
            height: 100%;
            background-color: $white-color;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: 0.4s ease-in-out;

        }

        @include xl {
            padding: 80px 25px 22px 25px;
        }

        @include lg {
            margin-top: 20px;
        }

        @include md {
            padding: 60px 25px 22px 25px;
        }

        @include sm {
            text-align: center;
        }

        &:hover {

            .line-btn {
                color: $white-color;

                &:before {
                    background-color: $white-color;
                }
            }

            .service-box {
                &_shape {
                    opacity: 0.1;

                    img {
                        // filter: brightness(15);
                        filter: brightness(0) invert(1);
                    }
                }

                &_icon {
                    background-color: $white-color;

                    img {
                        filter: none;
                    }
                }
            }
        }

        .line-btn {
            color: $theme-color;

            &:before {
                background-color: $theme-color;
            }
        }

        .service-box {
            position: relative;
            z-index: 2;
            overflow: hidden;



            &:before {
                content: "";
                width: 100%;
                height: 100%;
                background-color: $theme-color;
                position: absolute;
                top: 0;
                left: 0;
                z-index: -1;
                transition: 0.4s ease-in-out;
            }

            &_shape {
                position: absolute;
                left: 0;
                bottom: 0;
                z-index: -1;
                opacity: 0.04;
                transition: 0.4s all;
                text-align: center;

                img {
                    transition: 0.4s all;
                }
            }

            &_text {
                max-width: 100%;
            }

            &_icon {
                left: 40px;
                right: auto;

                @include xl {
                    left: 20px;
                }

                @include sm {
                    left: 40%;
                }

                img {
                    filter: brightness(0) invert(1);
                    transition: 0.4s ease-in-out;
                }
            }


        }
    }

    &.style4 {
        position: relative;
        background-color: $theme-color;
        border: none;
        padding: 40px;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.08); 
        margin-bottom: 0;
        z-index: 2;

        &:hover {
            &:before { 
                height: 0;
            }
        }

        &:before {
            content: "";
            width: 100%;
            height: 100%;
            background-color: $white-color;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: 0.4s ease-in-out;

        }

        .service-box {

            &_wrapp {
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-bottom: 30px;
            }
            &_icons { 
                min-height: 110px;
                min-width: 150px;
            }

            &_number {
                font-weight: 700;
                font-size: 80px;
                line-height: 80px;
                color: rgba(255, 255, 255, 0.1);
                margin-top: -30px; 
                margin-bottom: 0;
            }
            &_text{
                @include sm{ 
                    max-width: 100%; 
                }
            }
        }
    }

    @include xl {
        --space: 15px;
    }

    &.style2 {
        .service-box {
            &_wrapper {
                display: grid;
                grid-template-columns: repeat(2, 1fr);
            }

            &_content {
                left: 0;
                bottom: 0;
                box-shadow: none;
                width: 250px;
            }
        }
    }


    &:hover {
        .service-box {
            &_content {
                &:before {
                    height: 0;
                }

                .line-btn {
                    color: $white-color;

                    &:before {
                        background-color: $white-color;
                    }
                }

                .box-title {
                    color: $white-color;

                    a {
                        color: inherit;
                    }
                }
            }

            &_icon {
                background-color: $theme-color-2;
            }


            &_img {
                &:before {
                    opacity: 1;
                    visibility: visible;
                    z-index: 1;
                }

                img {
                    transform: scale(1.08);
                }
            }

            &_text {
                border-color: rgba(255, 255, 255, 0.2);

            }


        }
    }

    &_img {
        position: relative;
        overflow: hidden;

        &:before {
            content: "";
            position: absolute;
            inset: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.6);
            opacity: 0;
            visibility: hidden;
            transition: all 0.4 ease-in-out;
        }

        img {
            width: 100%;
            height: 100%;
            transition: all 0.4s ease-in-out;
        }
    }

    &_content {
        background-color: $theme-color;
        position: absolute;
        top: auto;
        bottom: -100px;
        left: var(--space);
        width: calc(100% - var(--space)*2);
        box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.08);
        border-radius: 0px;
        padding: 30px 40px 22px 40px;
        z-index: 2;
        transition: all 0.4s ease-in-out;

        @include xl {
            padding: 30px 30px 22px 30px;
        }

        &:before {
            content: "";
            width: 100%;
            height: 100%;
            background-color: $white-color;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: 0.4s ease-in-out;
        }
    }

    &_icon {
        position: absolute;
        right: 40px;
        top: -50px;
        color: $theme-color;
        width: 100px;
        height: 100px;
        line-height: 80px;
        border-radius: 50%;
        background-color: $theme-color;
        padding: 10px;
        margin: 0 auto 15px auto;
        text-align: center;
        transition: all 0.4s ease-in-out;

        @include xl {
            right: 20px;
            width: 80px;
            height: 80px;
            line-height: 50px;
            padding: 18px;
        }


        img {
            transition: 0.4s ease-in-out;
        }
    }

    &_title {
        font-size: 22px;
        font-weight: 700;
        color: $title-color;
        margin: -5px 0 8px 0;

        a {
            color: inherit;

            &:hover {
                color: $white-color;
            }
        }
    }

    &_text {
        max-width: 270px;
        font-size: 16px;
        line-height: 28px;
        font-weight: 400;
        color: $body-color;
        border-bottom: 1px solid rgba(18, 18, 18, 0.1);
        padding-bottom: 18px;
        margin-bottom: 18px;
        transition: all 0.4s ease-in-out;

        &:hover {
            color: $white-color;

            a {
                color: inherit;
            }
        }
    }

    &_inner {
        background-size: 95% 95%;
        padding: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        flex-direction: column;
        height: 100%;
        width: 100%;
        transition: 0.4s ease-in-out;
    }

    .line-btn {
        &:hover {
            color: $white-color;

            &:before {
                background-color: $white-color;
            }
        }
    }

    &:hover {
        .service-box {
            &_inner {
                background-color: $title-color;
            }

            &_title,
            &_text {
                color: $white-color;
            }
        }
    }
}

@include vxs {
    .service-box_inner {
        padding: 30px 12px;
    }
}

/* Service Details ---------------------------------- */
.page-title {
    margin-top: -0.22em;
    font-size: 40px;
    margin-bottom: 20px;
}

.page-img {
    margin-bottom: 40px;
}

.page-single {
    margin-bottom: 30px;
}

.service-process {
    &-wrap {
        background-color: $smoke-color2;
        border: 1px solid $border-color;
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
        padding: 30px;
    }

    border-right: 1px solid $gray-color;
    padding-right: 10px;

    &:last-child {
        border-right: none;
        padding-right: 0;
    }

    &_icon {
        @include equal-size-lineHeight(60px);
        border: 1px solid rgba($color: #DFB68D, $alpha: 0.5);
        background-color: rgba($color: #fff, $alpha: 0.5);
        font-size: 36px;
        text-align: center;
        border-radius: 50%;
        color: $theme-color;
        margin-bottom: 15px;
    }

    &_text {
        font-size: 14px;
        margin-bottom: -0.5em;
    }
}

@include xl {
    .page-title {
        font-size: 38px;
    }
}

@include lg {
    .page-title {
        font-size: 32px;
    }

    .service-process {
        &-wrap {
            grid-template-columns: repeat(1, 1fr);
            gap: 30px;
        }

        border-right: none;
        padding-right: 0;
        text-align: center;

        &_icon {
            margin-left: auto;
            margin-right: auto;
        }

        &_title {
            font-size: 20px;
        }
    }
}

@include sm {
    .page-title {
        font-size: 28px;
    }
}

@include xs {
    .page-title {
        font-size: 24px;
    }
}

@include vxs {
    .service-process-wrap {
        padding: 30px 12px;
    }
}