/* Auto-Sliding Gallery Styles */
    .container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 20px;
    }
    
    .slideshow-container {
        position: relative;
        max-width: 100%;
        margin: 0 auto;
        overflow: hidden;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
        height: 500px; /* Fixed height for consistency */
    }
    
    .slide {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        transition: opacity 1s ease-in-out;
    }
    
    .slide.active {
        opacity: 1;
    }
    
    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover; /* Ensures images cover the container while maintaining aspect ratio */
        display: block;
    }
    
    .caption {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 100%;
        padding: 15px;
        background: rgba(0, 0, 0, 0.6);
        color: white;
        text-align: center;
        font-size: 1.2rem;
    }
    
    .prev, .next {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: auto;
        padding: 16px;
        color: white;
        background: rgba(0, 0, 0, 0.3);
        border: none;
        border-radius: 50%;
        font-size: 20px;
        font-weight: bold;
        cursor: pointer;
        transition: 0.3s;
        z-index: 10;
    }
    
    .prev:hover, .next:hover {
        background: rgba(0, 0, 0, 0.8);
    }
    
    .next {
        right: 10px;
    }
    
    .prev {
        left: 10px;
    }
    
    .controls {
        text-align: center;
        margin-top: 15px;
    }
    
    .dot {
        display: inline-block;
        width: 12px;
        height: 12px;
        margin: 0 5px;
        background-color: #bbb;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s;
    }
    
    .dot.active {
        background-color: var(--primary);
    }
    
    @media (max-width: 768px) {
        .slideshow-container {
            height: 350px; /* Smaller height for mobile */
        }
        
        .caption {
            font-size: 1rem;
            padding: 10px;
        }
    }