.hero-section {
    position: relative;
    overflow: hidden;
    /* Ensure content is readable over images */
    background: none !important; 
}

.hero-slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.5s ease-in-out, transform 10s ease-in-out;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
}

.hero-slide.active {
    opacity: 1;
    transform: scale(1);
    /* animation: futuristicZoom 20s infinite alternate; */
}

/* Futuristic overlay */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(6, 11, 40, 0.9) 0%, rgba(10, 20, 60, 0.8) 100%);
    z-index: 1;
    /* Optional: grid pattern for tech feel */
    background-image: 
        linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
}

/* Scanning line effect */
.hero-overlay::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, transparent 50%, rgba(0, 255, 242, 0.02) 51%, transparent 52%);
    background-size: 100% 10px;
    animation: scanline 60s linear infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes futuristicZoom {
    0% {
        transform: scale(1);
    }
    100% {
        transform: scale(1.1);
    }
}

@keyframes scanline {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 0 100%;
    }
}

/* Ensure content is above overlay */
.hero-section .container {
    position: relative;
    z-index: 10;
}