.service-details-wrapper {
    .top-image-items {
        text-align: center;
        margin-bottom: 60px;

        .service-details-image {
            margin-top: 40px;
            border-radius: 10px;

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

    .bottom-content-items {
        max-width: 930px;
        margin: 0 auto;

        h2 {
            font-size: 50px;


                @include breakpoint (max-md){
                font-size: 42px;
            }

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

        p {
            margin-top: 15px;
        }

        h3 {
            font-size: 30px;
            font-weight: 700;
            margin-top: 30px;
        }

        .service-image {
            margin-top: 30px;
            border-radius: 8px;
            overflow: hidden;
            img {
                @include imgw;
                border-radius: 8px;
            }
        }

        .text-list {
            margin-top: 30px;
            @include flex;
            gap: 80px;

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

            ul {
                li {
                    margin-top: 40px;
                    font-size: 20px;
                    font-weight: 700;
                    color: $white;
                    font-family: $heading-font;

                    b {
                        font-size: 20px;
                        font-weight: 700;
                        color: $text-color;
                        margin-right: 6px;
                        font-family: $heading-font;
                    }

                    p {
                        font-size: 16px;
                        font-weight: 400;
                        color: $text-color;
                        font-family: $body-font;
                        max-width: 330px;
                    }
                }
            }
        }
    }
}

.service-inner-wrapper {
    padding-top: 150px;
    position: relative;
    z-index: 9;

    h1 {
        color: $white;
        font-size: 100px;
        font-weight: 700;
        text-transform: uppercase;
        line-height: 110%;
        max-width: 950px;

        @include breakpoint(max-xl) {
            font-size: 70px;
        }

        @include breakpoint(max-lg) {
            font-size: 55px;
        }

        @include breakpoint(max-md) {
            font-size: 42px;
        }

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

    .hero-items {
        .hero-image {
            width: 367px;
            height: 190px;
            position: relative;
            z-index: 99;
            overflow: hidden; 
            border-radius: 8px;

            @include breakpoint(max-xl4) {
                width: initial;
                height: initial;
            }

            img {
                width: 100%;
                height: 100%;
                max-width: initial;
                display: inline-block;
                object-fit: cover;
            }
        }
    }

    .pinned-3 {
        position: relative;
        z-index: 10;
        overflow: hidden;

        .image-outer {
            position: relative;
            overflow: visible;
        }

        @include breakpoint(max-xxl) {
            #myImage {
                width: 100% !important;
                height: auto !important;
                transform: none !important;
                left: 0;
                right: 0;
                x: 0 !important;
            }
        }
    }

    .pin-spacer {
        height: 0px !important;
        transition: height 0.5s ease;
    }
}

.service-wrapper-4 {
    .border-bottom {
        border-bottom: 1px solid rgba(255, 255, 255, 0.20) !important;
    }
    .service-tabing-wrap {
        .images-remove-area {
            transition: all 0.6s;
            margin-bottom: -400px;
            opacity: 0;
            transform: rotate(60deg);
            -webkit-transform: rotate(60deg);
            -moz-transform: rotate(60deg);
            -ms-transform: rotate(60deg);
            -o-transform: rotate(60deg);

            @include breakpoint (max-md){
                margin-bottom: -0px;
                opacity: 1;
                transform: rotate(0deg);
                -webkit-transform: rotate(0deg);
                -moz-transform: rotate(0deg);
                -ms-transform: rotate(0deg);
                -o-transform: rotate(0deg);
            }
        }

        .modern-list {
            li {
                font-size: 20px;
                color: $header-color;
                font-weight: 600;
                
                i {
                    color: $theme-color;
                    font-size: 14px;
                }
            }
        }

        .accordion-single {
            border: unset;
            overflow: hidden;
            transition: all 0.8s;
            border-radius: 0;
            border-top: 1px solid rgba(255, 255, 255, 0.20);

            .accordion-btn {
                @include breakpoint (max-md){
                    flex-wrap: wrap;
                    gap: 30px;
                }
                
                &::after {
                    content: "\2b";
                    font-family: "FontAwesome";
                    font-size: 20px;
                    transform: rotate(0deg);
                    transition: all 0.5s;
                    font-weight: 700;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    color: var(--white);
                    width: 44px;
                    min-width: 44px;
                    height: 44px;
                    background: #1d1d1d;
                    border-radius: 50%;
                    &:hover {
                        cursor: pointer;
                    }

                    @include breakpoint (max-md){
                        justify-content: center;
                        @include breakpoint (max-md){
                            flex-wrap: wrap;
                            gap: 30px;
                        }
                        &::after {
                            content: "\f068";
                            font-family: "FontAwesome";
                            color: $theme-color;
                            &:hover {
                                cursor: pointer;
                            }
                        }
                    }
                }

                .mtitle-ara { 
                    .serial-badge {
                        padding: 10px 15px; 
                        transition: all 0.4s; 
                        border-radius: 100px;
                        border: 1px solid #414141;
                        background-color: $header-color;
    
                        .rot60 {
                            padding-left: 10px;
                        }
                    }

                    .mtitle {
                        font-size: 30px;
                        font-weight: 500;
    
                        a {
                            color: $theme-color; 
                            font-family: $heading-font;
                            font-size: 30px;
                            font-style: normal;
                            font-weight: 500;
                            line-height: 30px;  
                            text-transform: capitalize;
                        }
                    }

                    .pras {
                        font-size: 16px;
                        font-weight: 400;
                        display: none !important;
                        transform: scale(0);
                    }

                    @include breakpoint (max-md){
                        .serial-badge {
                            opacity: 1;
                        }
                        .pras {
                            display: block !important;
                            transform: scale(1);
                            color: #000;
                            font-family: $body-font;
                            font-size: 16px;
                            font-style: normal;
                            font-weight: 400;
                            line-height: 30px;
                            text-transform: capitalize;
                        }
                    }
    
                    &.style2 {
                        .mtitle { 
                            a {
                                color: $header-color; 
                                font-family: $heading-font;
                                font-size: 36px;
                                font-weight: 600;
                                line-height: 40px;
                                text-align: left;
                            }
                        }
                    }
                }

                /* ✅ Smooth fade & slide effect added here */
                .text-remove {
                    max-width: 490px;
                    opacity: 0;
                    visibility: hidden;
                    transform: translateY(20px);
                    transition: all 0.6s ease;

                    @include breakpoint (max-md){
                        opacity: 1;
                        visibility: visible;
                        transform: translateY(0);
                    }

                    p {
                        color: $header-color;
                        font-family: $body-font;
                        font-size: 16px;
                        font-style: italic;
                        font-weight: 400;
                        line-height: 28px;
                        transition: all 0.4s ease;
                    }
                }
            }

            &.active {
                .text-remove {
                    opacity: 1;
                    visibility: visible;
                    transform: translateY(0);
                }

                .images-remove-area {
                    margin-bottom: -0px;
                    opacity: 1;
                    transform: rotate(0deg);
                    -webkit-transform: rotate(0deg);
                    -moz-transform: rotate(0deg);
                    -ms-transform: rotate(0deg);
                    -o-transform: rotate(0deg);
                }

                .accordion-btn {
                    height: initial;
                    justify-content: space-between;

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

                    &::after {
                        content: "\f068";
                        font-family: "FontAwesome";
                        color: $theme-color;
                        &:hover {
                            cursor: pointer;
                        }
                    }
                }

                .mtitle-ara {
                    .serial-badge {
                        opacity: 1;
                    }
                    .pras {
                        display: block !important;
                        transform: scale(1);
                        color: #000;
                        font-family: $body-font;
                        font-size: 16px;
                        font-style: normal;
                        font-weight: 400;
                        line-height: 30px;
                        text-transform: capitalize;
                    }
                }

                .content-area {
                    display: none !important;
                }
            }
        }

        @include breakpoint (max-xxl) {
            .mtitle {
                font-size: 20px !important;
            }
            .tab-remove-thumb {
                max-width: 200px;
                img {
                    width: 100%;
                }
            }
        }
    }

    .border-bottom {
        border-bottom: 1px solid rgba(255, 255, 255, 0.20);
    }
}
