
        /* 4. Professional Slider */
        .slider-wrapper {
            max-width: 1200px;
            margin: 20px auto;
            padding: 0 20px;
        }

        .slider {
            position: relative;
            width: 100%;
            height: 420px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
        }

        .slides-container {
            display: flex;
            /* width: 400%; 4 images */
            height: 100%;
            /* animation: slide-flow 16s cubic-bezier(0.85, 0, 0.15, 1) infinite; */
            animation: none;
            /* ⭐ FIX */
            transition: transform 0.5s ease-in-out;
            /* ⭐ ADD THIS */
        }



        .slide-item {
            /* width: 25%; */
            position: relative;

            width: 100%;
            flex-shrink: 0;
            /* 
             width: calc(100% / var(--total-slides)); */
        }


        .slide-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            display: block;
            /* ⭐ ADD */
            background: #f3f4f6;
            /* optional: empty space clean lagega */
        }


        /* Slide Overlay */
        .slide-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 40%;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
            display: flex;
            align-items: flex-end;
            padding: 30px;
            color: white;
        }



        /* Responsive UI */
        @media (max-width: 768px) {
            .slider {
                height: 220px;
            }

            .address-bar {
                gap: 5px;
                font-size: 0.8rem;
            }

            .slide-overlay {
                padding: 15px;
            }
        }

        /*  this is for hide last carousel img  */

        .slider-wrapper.hide {
            display: none !important;
            margin: 0 !important;
            padding: 0 !important;
        }
