.slider-container {
        position: relative;
        width: 980px;
        height: 600px;
        overflow: hidden;
    }

    .slider-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        position: absolute;
        top: 0;
        left: 0;
    }
    img:focus{
     outline:none;
    }
    .slider-container .after {
        clip-path: polygon(0 0, 100% 0, 0 100%, 0 100%); /* Initial hidden state */
    }

    .slider-container .slider {
        position: absolute;
        top: 0;
        left: 250px; /* start the slider in the middle */
        width: 5px; /* Increased slider width */
        height: 100%;
        background-color: #000; /* Changed slider color for better visibility */
        /*border:2px solid #000;*/
        cursor: ew-resize;
        box-sizing: border-box; /* Include border in width */
    }
     /*.slider::before { content: ''; position: absolute; top: 50%; left: -9px; width: 20px; height: 20px; background: #fff; border-radius: 50%; transform: translateY(-50%); border: 2px solid #000; }*/
     .slider-container .label {
            position: absolute;
            top: 10px;
            color: white;
            font-weight: bold;
            padding: 5px 10px;
            background-color: rgba(0, 0, 0, 0.5);
            border-radius: 5px;
        }

        .slider-container .label.before-label {
            left: 10px;
            font-family:sans-serif;
            font-weight:400;
        }

        .slider-container .label.after-label {
            right: 10px;
            font-family:sans-serif;
            font-weight:400;
        }
        .slide-handler{
            width:40px;
            height:40px;
            background:rgba(0,0,0,1);
            border-radius:50%;
            display:flex;
            justify-content:center;
            column-gap:7px;
            align-items:center;
            position:absolute;
            left:-20px;
            top:calc(50% - 20px);
            border:2px solid #000;
        }
        .slide-handler span{
            display:flex;
        }
        .slide-handler svg{
            width:10px;
            height:auto;
            fill:#fff;
        }

     img.before, img.after{
         -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
     }