
        /* --- Global Reset & Variables --- */
        :root {
            --color-pink-primary: #7C51A1;
            --color-pink-light: #fce4ec;
            --color-blue-primary: #00bcd4;
            --color-text-light: #fff;
            --overlay-bg: rgba(0, 0, 0, 0.4);
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        body {
            font-family: 'Inter', Tahoma, Geneva, Verdana, sans-serif;
            background-color: #f4f4f9;
            margin: 0;
            padding: 0;
        }
        
        /* --- Banner Slider Container (Adjusted Height) --- */
        .banner-slider {
            width: 100%; /* Stretches full width */
            height: 80vh; 
            min-height: 350px; /* Ensure it's not too small on desktop */
            position: relative;
            overflow: hidden;
            /* Border radius only on the bottom, as it goes edge-to-edge horizontally */
            border-radius: 0 0 8px 8px; 
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1); 
        }

        /* Hide the radio buttons */
        .banner-slider input[type="radio"] {
            display: none;
        }

        /* --- Slides Wrapper --- */
        .slides-wrapper {
            display: flex;
            height: 100%;
            width: 300%; 
            /* Smoother, standard transition for sliding effect */
            transition: transform 0.8s ease-in-out; 
        }

        .slide {
            width: calc(100% / 3); /* Each slide takes 1/3 of the wrapper width (100% of the viewport) */
            flex-shrink: 0;
            position: relative;
            display: flex;
            /* Center content vertically and horizontally */
            align-items: center; 
            justify-content: center; 
            
            /* Background Image Styling: NOW USING BACKGROUND IMAGES */
            background-size: cover;
            background-position: center;
            background-repeat: no-repeat;
        }

        /* Specific Background Image Assignments */
        .slide-1-bg {
             /* background-image: url('../assets/images/gallery/DSC_2830.JPG'); */
             background-image: url('../../assets/images/gallery/banner2.jpeg');
             background-size: cover;
             background-position: bottom center;
        }
        .slide-2-bg {
            background-image: url('../../assets/images/gallery/punya-team.png');
             background-size: cover;
             background-position: center center;
        }
        .slide-3-bg {
           
        background-image: url('../../assets/images/gallery/hospitalslide3.png');
             background-size: cover;
             background-position: center center;
        }

        .slide-overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            /*background-color: var(--overlay-bg);*/
            z-index: 2;
        }

        /* --- Text Content Overlay (Above the Image) --- */
        .slide-content-area {
            position: relative;
            z-index: 3; /* Always on top of the image and overlay */
            padding: 5%;
            /* Limiting the max width of the text inside the banner to keep it readable */
            max-width: 1200px; 
            width: 100%;
            color: var(--color-text-light);
            /* Ensure all content is centered */
            text-align: center;
            border-radius: 8px;
        }

        /* Specific Slide Styling */
        .slide-content-area-1 { 
            max-width: 800px; 
            margin: 0 auto;
            text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
        }

        .slide-content-area-2 { 
            display: flex;
            flex-direction: column;
            align-items: center;
            text-align: center;
        }

        /* --- Typography & Elements (Desktop Defaults) --- */
        .heading-xl {
            font-size: clamp(2rem, 4vw, 3.5rem); 
            font-weight: 900;
            line-height: 1.1;
            margin-bottom: 0.8rem;
            color: var(--color-text-light);
        }

        .text-medium {
            font-size: clamp(0.9rem, 1.5vw, 1.3rem);
            line-height: 1.5;
            margin-bottom: 1.5rem;
            font-weight: 400;
        }
        
        .cta-button {
            display: inline-block;
            padding: 0.8rem 2rem;
            background-color: var(--color-pink-primary);
            color: var(--color-text-light);
            text-decoration: none;
            border-radius: 8px;
            font-weight: bold;
            text-transform: uppercase;
            letter-spacing: 1px;
            transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
            border: 2px solid var(--color-pink-primary);
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }
        .cta-button:hover {
            background-color: transparent;
            border-color: var(--color-text-light);
            transform: translateY(-2px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        }

        /* --- Navigation Dots (Pagination) --- */
        .slide-nav-dots {
            position: absolute;
            bottom: 20px; /* Reduced bottom spacing */
            left: 50%;
            transform: translateX(-50%);
            display: flex;
            gap: 15px;
            z-index: 10;
        }

        .nav-dot {
            display: block;
            width: 12px; /* Smaller dot size */
            height: 12px;
            background: rgba(255, 255, 255, 0.4);
            border: 2px solid var(--color-text-light);
            border-radius: 50%;
            cursor: pointer;
            transition: background 0.3s, transform 0.3s;
        }

        .nav-dot.active {
            background-color: var(--color-pink-primary);
            transform: scale(1.3);
            box-shadow: 0 0 5px var(--color-pink-primary);
        }

        /* --- Mobile Responsiveness (Max width of 640px) --- */
        @media (max-width: 640px) {
            /* CRITICAL MOBILE CHANGE: Set a fixed, smaller height */
            .banner-slider {
                height: 300px; /* Fixed height on small mobile screens */
                min-height: 250px;
            }

            /* Reduced font sizes for better fit */
            .heading-xl {
                font-size: 1.8rem; /* Smaller heading */
                margin-bottom: 0.5rem;
            }
            .text-medium {
                font-size: 0.9rem; /* Smaller body text */
                margin-bottom: 1rem;
            }
            
            .cta-button {
                padding: 0.6rem 1.5rem; /* Smaller button padding */
                font-size: 0.8rem;
            }

            .slide-content-area {
                padding: 10% 8%; /* Increased padding slightly on the sides */
                max-width: 100%;
            }
            
            .slide-nav-dots {
                bottom: 10px; /* Bring dots closer to the bottom */
                gap: 10px;
            }
            
            .nav-dot {
                width: 10px; 
                height: 10px;
            }
        }
        
        @media (max-width: 640px) {

    .banner-slider {
        height: auto;
        /* ✅ Auto height */
        min-height: 220px;
        /* ✅ Safe minimum */
        padding-bottom: 0;
        /* ✅ Prevent white gap */
    }

    .slides-wrapper {
        height: auto;
    }

    .slide {
        min-height: 220px;
        background-size: contain !important;
        /* ✅ No crop */
        background-position: center center !important;
        background-repeat: no-repeat;
    }

    .slide-content-area {
        padding: 18px 14px;
        /* ✅ Compact spacing */
    }

    .heading-xl {
        font-size: 1.5rem;
    }

    .text-medium {
        font-size: 0.85rem;
    }

    .cta-button {
        padding: 0.6rem 1.3rem;
        font-size: 0.8rem;
    }
}
        /* Mobile adjustment for slightly larger screens (e.g., small tablets) */
        @media (max-width: 900px) and (min-width: 641px) {
            .banner-slider {
                height: 350px; 
            }
        }
