/* Slideshow Container */
.slideshow-container, 
.slideshow-container *, 
.slideshow-container *:before, 
.slideshow-container *:after {
    box-sizing: border-box;
}

.slideshow-container {
    position: relative;
    width: 100%;
    height: 60vh; /* Adjust as needed */
    max-height: 600px;
    background: #000;
    border: 1px solid #1a2a4a;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
}

/* Individual Slide */
.slide {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    /* Default background if no image */
    background: radial-gradient(circle at center, #1a2a4a 0%, #030814 100%);
    padding: 40px;
    box-sizing: border-box;
    text-align: center;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.slide.active {
    display: flex;
    animation: fadeEffect 1s; /* Fading effect */
}

/* Slide Content */
.slide-content {
    z-index: 2;
    max-width: 800px;
}

.slide h2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    color: #fff;
    text-shadow: 0 0 10px rgba(136, 170, 255, 0.8);
    border-bottom: none; /* Override default h2 border */
}

.slide p {
    font-size: 1.2em;
    line-height: 1.6;
    color: #e0e0e0;
    margin-bottom: 20px;
}

.slide ul {
    text-align: left;
    display: inline-block;
    color: #e0e0e0;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.slide li {
    margin-bottom: 10px;
}

/* Navigation Buttons */
.prev, .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    margin-top: -22px;
    padding: 16px;
    color: white;
    font-weight: bold;
    font-size: 18px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.3);
    z-index: 3;
}

.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.prev {
    left: 0;
    border-radius: 3px 0 0 3px;
}

.prev:hover, .next:hover {
    background-color: rgba(0,0,0,0.8);
}

/* Slide Counter */
.slide-counter {
    position: absolute;
    bottom: 15px;
    width: 100%;
    text-align: center;
    color: #88aaff;
    font-size: 1.2em;
    font-weight: bold;
    z-index: 3;
    pointer-events: none; /* Let clicks pass through */
    text-shadow: 0 0 5px rgba(0,0,0,0.8);
}

/* Fade Animation */
@keyframes fadeEffect {
    from {opacity: 0.4}
    to {opacity: 1}
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .slide h2 {
        font-size: 1.8em;
    }
    .slide p {
        font-size: 1em;
    }
    .slideshow-container {
        height: 70vh; /* Taller on mobile to fit text */
    }
    .prev, .next {
        padding: 12px;
    }
}