        /* Slideshow Container */
        .slideshow-container {
            max-width: 100%;
            margin: auto;
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            position: relative;
            height: 590px; /* Fixed height for the container, adjust as needed */
            background-color: #000; /* Fallback background */
            margin-top:5px !important;
            z-index: 0;
        }

        .slideshow-container-branch {
            max-width: 100%;
            margin: auto;
            border-radius: 0px;
            overflow: hidden;
            box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
            position: relative;
            height: 50px; /* Fixed height for the container, adjust as needed */
            background-color: #000; /* Fallback background */
            margin-top:5px !important;
            z-index: 0;
        }

        /* Individual Slides for Fade Effect */
        .slide {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            opacity: 0;
            transition: opacity 1s ease-in-out;
            z-index: 1; 
        }

        /* Active slide */
        .slide.active {
            opacity: 1;
            z-index: 2; /* Bring active slide to front */
        }

        .slide img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            filter: brightness(1);
            transition: filter 0.5s ease;
        }

        .slide img:hover {
            filter: brightness(0.85);
        }

        /* Slide Caption */
        .slide-caption {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(to top, rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0));
            color: white;
            padding: 30px 20px 20px 20px;
            font-size: 1.8em;
            font-weight: bold;
            text-align: center;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.8);
            box-sizing: border-box;
            z-index: 3; /* Ensure caption is above image */
        }

        /* Navigation Arrows - Modern Style */
        .prev, .next {
            cursor: pointer;
            background-color: rgba(255, 255, 255, 0.15); /* Slightly transparent white */
            border-radius: 50%;
            width: 60px;
            height: 60px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
            z-index: 10;
            font-size: 2.8em;
            line-height: 1;
            text-decoration: none;
            backdrop-filter: blur(8px); /* Glassmorphism effect */
            border: 1px solid rgba(255, 255, 255, 0.3);
            box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
        }

        .prev:hover, .next:hover {
            background-color: rgba(255, 255, 255, 0.3);
            transform: translateY(-50%) scale(1.05);
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
        }

        /* Dots Container - Overlays the image at the bottom */
        .dots-overlay {
            position: absolute;
            bottom: 20px;
            left: 0;
            width: 100%;
            text-align: center;
            z-index: 5;
            padding: 10px 0;
        }

        /* Individual Dots - Modern Style */
        .dot {
            cursor: pointer;
            height: 16px;
            width: 16px;
            margin: 0 8px;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: 50%;
            display: inline-block;
            transition: all 0.3s ease;
            border: 2px solid rgba(255, 255, 255, 0.7);
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
        }

        .dot.active, .dot:hover {
            background-color: var(--bs-primary);
            border-color: var(--bs-primary);
            transform: scale(1.25);
            box-shadow: 0 0 10px rgba(0, 0, 0, 0.6);
        }

        /* Responsive Adjustments */
        @media (max-width: 992px) {
            .slideshow-container {
                height: 400px;
            }
            .slide-caption {
                font-size: 1.5em;
                padding: 20px 15px 15px 15px;
            }
            .prev, .next {
                width: 50px;
                height: 50px;
                font-size: 2.2em;
            }
            .dots-overlay {
                bottom: 15px;
            }
            .dot {
                height: 14px;
                width: 14px;
                margin: 0 6px;
            }
        }

        @media (max-width: 768px) {
            .slideshow-container {
                height: 300px;
            }
            .slide-caption {
                font-size: 1.2em;
                padding: 15px 10px 10px 10px;
            }
            .prev, .next {
                width: 45px;
                height: 45px;
                font-size: 2em;
            }
            .dots-overlay {
                bottom: 10px;
            }
            .dot {
                height: 12px;
                width: 12px;
                margin: 0 5px;
            }
        }

        @media (max-width: 576px) {
            .slideshow-container {
                height: 250px;
            }
            .slide-caption {
                font-size: 1em;
                padding: 10px 5px 5px 5px;
            }
            .prev, .next {
                width: 40px;
                height: 40px;
                font-size: 1.8em;
            }
            .dots-overlay {
                bottom: 5px;
            }
            .dot {
                height: 10px;
                width: 10px;
                margin: 0 4px;
            }
        }
