.service-wrapper {
    .nav {
        display: grid;
        align-items: center;
        gap: 16px;
        margin-top: 30px;

        .nav-item {
            .nav-link {
                background-color: $white;
                @include flex;
                justify-content: space-between;
                font-size: 24px;
                font-weight: 500;
                color: $header-color;
                font-family: $heading-font;
                border-radius: 4px;
                padding-left: 25px;

                i {
                    width: 61px;
                    height: 61px;
                    line-height: 61px;
                    border-radius: 4px;
                    background-color: $theme-color;
                    text-align: center;
                    color: $white;
                }

                &.active {
                    background-color: $theme-color;
                    color: $white;

                    i {
                        background-color: $white;
                        color: $theme-color;
                    }
                }
            }
        }
    }
    .service-box-items {
        display: flex;
        justify-content: space-between;
        align-items: center;
        border-radius: 4px;
        background: #182D3E;
        padding: 30px;
        margin-top: 30px;
        gap: 20px;
        position: relative;
        z-index: 9;
        padding-left: 50px;
        margin-left: 40px;

        @include breakpoint (max-xxl){
          padding: 20px;
           margin-left: 0;
        }

        @include breakpoint (max-xl){
           display: block;
        }
       

        .service-icon-box {
            @include breakpoint (max-xl){
              margin-bottom: 20px;
            }

            .icon {
                width: 94px;
                height: 94px;
                line-height: 105px;
                text-align: center;
                background: $theme-color-2;
                border-radius: 50px;

                i {
                    font-size: 45px;
                    color: $white;
                    transition: all 0.4s ease-in-out;
                    display: inline-block;

                }
            }

            h3 {
                margin-top: 60px;

                @include breakpoint (max-xl){
                   margin-top: 30px;
                }
                a {
                    color: $white;

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

            p {
                color: $white;
                margin-top: 10px;
                font-size: 16px;
            }

            .theme-btn {
                background-color: transparent;
                border: 1px solid $theme-color;

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

                    i {
                        background-color: $white;
                        color: $theme-color;
                    }
                }
            }
        }

        .service-image {
            position: relative;

            img {
                width: 100%;
                height: 100%;
                border-radius: 4px;
            }

            .post-box {
                display: inline-block;
                background-color: $theme-color;
                color: $white;
                padding: 12px 18px;
                line-height: 1;
                border-radius: 4px;
                position: absolute;
                top: 14px;
                left: 14px;
            }
        }

        &:hover {
            .service-icon-box {
                .icon {
                    i {
                        transform: scaleX(-1) !important;

                    }
                }
            }
        }
    }
}

.service-section {
    position: relative;

    .service-shape-1 {
        position: absolute;
        top: 40px;
        left: 30px;
    }

    .service-shape-2 {
        position: absolute;
        top: 40px;
        right: 30px;
    }

    .service-shape-3 {
        position: absolute;
        bottom: 40px;
        right: 60%;
    }
}

.service-box-items-2 {
    border-radius: 12px;
    background: #051828;
    padding: 40px 30px;
    margin-top: 30px;

     @include breakpoint (max-sm){
       padding: 24px;
    }

    .service-icon {

        i {
            font-size: 82px;
            color: $theme-color;
            transition: all 0.4s ease-in-out;
            display: inline-block;

             @include breakpoint (max-sm){
                font-size: 50px;
            }
        }
    }

    h3 {
        margin-top: 40px;
        
         @include breakpoint (max-sm){
           margin-top: 25px;
        }

        a {
            color: $white;
        }
    }

    .service-list {
            margin-top: 25px;

        li {
            font-size: 15px;
            font-weight: 500;
            color: $white;

            i {
                color: $theme-color;
                margin-right: 6px;
                font-size: 18px;
            }

            &:not(:last-child) {
                margin-bottom: 15px;
            }
        }
    }

    .service-btn {
        margin-top: 35px;

         @include breakpoint (max-sm){
            margin-top: 25px;
        }

        .theme-btn {
            background: rgba(255, 255, 255, 0.16);
            padding-right: 5px;
            padding-left: 30px;
            
            i {
                background-color: $theme-color;
                color: $white;
                margin-right: 0;
                margin-left: 20px;
            }

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

                i {
                    background-color: $white;
                    color: $theme-color;
                }
            }
        }
    }

    &:hover {
        border-radius: 12px;
        background: $theme-color-2;
        @include transition;

        .service-icon {
            i {
                color: $white;
                @include transition;
            }
        }

        .service-list {

            li {
                i {
                    color: $white;
                    @include transition;
                }
            }
        }

        .service-btn {
            .theme-btn {
                background-color: $white;
                color: $theme-color;

                i {
                    background-color: $theme-color;
                    color: $white
                }

                &:hover {
                    background-color: $theme-color;
                    color: $white;

                    i {
                        background-color: $white;
                        color: $theme-color;
                    }
                }
            }
        }

    }

    &.style-margin {
        margin-top: 80px;

         @include breakpoint (max-xl){
            margin-top: 30px;
        }
    }

    &.style-2 {
        background-color: $white;
        border-radius: 12px;
        border: 1px solid rgba(5, 24, 40, 0.19);

        h3 {
            a {
                color: $header-color;
            }
        }

        .service-list {
            li {
                color: $header-color;
            }
        }

        .service-btn {
            .theme-btn {
                background-color: rgba(36, 144, 235, 0.10);
                color: $theme-color;
                 padding: 4px 4px 4px 20px;
            }
        }

        &:hover {
        background: $theme-color-2;

        .service-icon {
            i {
                color: $white;
            }
        }

        h3 {
            a {
                color: $white;
            }
        }

        .service-list {

            li {
                color: $white;
                i {
                    color: $white;
                }
            }
        }

            .service-btn {
                .theme-btn {
                    background-color: $white;
                    color: $theme-color;

                    i {
                        background-color: $theme-color;
                        color: $white
                    }

                    &:hover {
                        background-color: $theme-color;
                        color: $white;

                        i {
                            background-color: $white;
                            color: $theme-color;
                        }
                    }
                }
            }
        }
    }

    &:hover {
        .service-icon {
            i {
                transform: scaleX(-1) !important;
            }
        }
    }
}

.service-details-wrapper {

    .service-details-sidebar {
       
        .sidebar-widget {
            margin-bottom: 30px;
            ul {
                li {
                    a {
                        font-size: 18px;
                        font-weight: 500;
                        width: 100%;
                        @include flex;
                        justify-content: space-between;
                        border-radius: 4px;
                        background: #F8F8F8;
                        padding: 10px 20px;

                        .icon {
                            background-color: $white;
                            color: $theme-color;
                            width: 43px;
                            height: 44px;
                            line-height: 44px;
                            text-align: center;
                            transition: all 0.4s ease-in-out;
                        }

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

                        
                    }

                    &:not(:last-child) {
                        margin-bottom: 30px;
                    }
                }
            }
        }

        .sidebar-widget-image {
            position: relative;

            img {
                @include imgw;
                border-radius: 5px;
            }

            .content {
                position: absolute;
                padding: 25px;
                bottom: 25px;
                left: 25px;
                right: 25px;

                .icon {
                    font-size: 70px;
                    color: $white;
                    margin-bottom: 35px;
                }

                h3 {
                    margin-top: 15px;

                    a {
                        color: $white;
                        font-size: 30px;
                        font-weight: 500;
                    }
                }
            }
        }
    }

    .service-details-right-items {
        .service-img {
           img {
                @include imgw;
                border-radius: 5px;
           }
        }

        h3 {
            font-size: 28px;
            margin-top: 20px;
        }

        p {
            margin-top: 10px;
            font-size: 16px;
        }

        h4 {
            font-size: 22px;
            font-weight: 500;
            margin-top: 20px;
        }

        .list-box {
            display: flex;
            gap: 60px;
            align-items: center;
            margin-top: 30px;

            @include breakpoint (max-xl){
                flex-wrap: wrap;
                gap: 20px;
            }

            ul {
                li {
                    color: #454E59;
                    font-size: 18px;
                    font-weight: 500;

                    i {
                        color: $theme-color;
                        margin-right: 5px;
                    }

                    &:not(:last-child) {
                        margin-bottom: 15px;
                    }
                }
            }
        }

        .pricing-plan {
            margin-top: 20px;

            .pricing-plan-list {
                background-color: $white;

                li {
                    display: flex;
                    justify-content: space-between;
                    width: 100%;
                    border-bottom: 1px dashed #CCC;
                    padding: 20px 0;
                    gap: 30px;

                    .pricing-content {
                        h6 {
                            font-size: 18px;
                            font-weight: 400;
                        }
                    }

                    span {
                        font-size: 18px;
                        font-weight: 400;
                        color: $theme-color;
                        line-height: 1;

                    }

                    &:not(:last-child) {
                    
                        border-bottom: 1px dashed #CCC;
                    }
                }
            }
        }
    }
}

.service-card-items-3 {
    @include flex;
    gap: 28px;
    border-radius: 12px;
    background-color: $white;
    padding: 20px 10px 20px 40px;
    margin-top: 30px;

    @include breakpoint (max-xl) {
        flex-wrap: wrap;
        gap: 20px;
         padding: 30px;
    }


    &.style-2 {
        padding: 20px 40px 20px 10px;
    }

    .service-content {

        .service-icon {
            @include flex;
            gap: 18px;
            margin-bottom: 10px;

            .icon {
                font-size: 60px;
                color: $theme-color;
            }

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

        p {
            max-width: 347px;
        }

        .theme-btn {
            &.style-2 {
                background-color: transparent;
                border: 1.5px solid $theme-color-2;
                margin-top: 30px;
                color: $theme-color-2;
                padding: 4px 30px 4px 4px;

                i {
                    background-color: $theme-color-2;
                    color: $white;
                }

                &:hover {
                    background-color: $theme-color-2;
                    color: $white;

                    i {
                        background-color: $white;
                        color: $theme-color-2;
                    }
                }
            }
        }
    }

    .service-image {

        @include breakpoint (max-xl) {
            flex-basis: 100%;
        }

        @include breakpoint (max-lg) {
            flex-basis: initial;
        }

        @include breakpoint (max-sm) {
            flex-basis: 100%;
        }

        img {
            @include imgw;
            border-radius: 12px;
        }
    }
}

.service-section-3 {
    position: relative;

    .shape-1 {
        position: absolute;
        top: 100px;
        left: 280px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

    .shape-2 {
        position: absolute;
        top: 250px;
        right: 250px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

    .shape-3 {
        position: absolute;
        left: 93px;
        bottom: 220px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }
}

.service-box-item-5 {
    margin-top: 30px;
    background-color: $white;
    border-radius: 18px;
    border: 1px solid rgba(7, 2, 31, 0.15);

    &.style-2 {
        margin-top: 60px;

        @include breakpoint (max-xl) {
            margin-top: 30px;
        }
    }

    .service-content {
        padding: 30px;

        .icon {
            font-size: 80px;
            margin-bottom: 25px;
            color: $theme-color;
            transition: all 0.4s ease-in-out;
            display: inline-block;
        }

        h3 {
            margin-bottom: 30px;

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

        p {
            max-width: 268px;
           font-size: 16px;
           font-weight: 500;
        }
    }

    .service-list-box {
        padding: 0 10px 10px;

         .service-list {
            border-radius: 18px;
            background: linear-gradient(180deg, #EBF5FD 0%, rgba(247, 248, 249, 0.00) 100%);
            padding: 20px;

            li {
                font-weight: 500;
                color: #43494D;
                position: relative;
                padding-left: 20px;
                font-size: 16px;
                font-weight: 500;

                &::before {
                    position: absolute;
                    content: "";
                    width: 5px;
                    height: 5px;
                    background-color: $header-color;
                    border-radius: 30px;
                    left: 0;
                    top: 10px;
                }

                &:not(:last-child) {
                    margin-bottom: 12px;
                }

                &:last-child {
                    padding-left: 0;

                    &::before {
                        display: none;
                    }
                }
            }

            .theme-btn {
                width: 100%;
                border-radius: 8px;
                @include flex;
                justify-content: space-between;
                margin-top: 30px;
                padding: 18px 25px;

                i {
                    width: initial;
                    height: initial;
                    line-height: initial;
                    background-color: transparent;
                    color: $white;
                    margin-right: 0;
                }
            }
        }
    }

    &:hover {
        .service-content {
            .icon {
                transform: scaleX(-1) !important;
            }
        }
    }
}

.service-section-5 {
    position: relative;

    .left-shape {
        position: absolute;
        top: 173px;
        left: 156px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }

    .right-shape {
        position: absolute;
        top: 112px;
        right: 146px;

        @include breakpoint (max-xl) {
            display: none;
        }
    }
}