html, body {
    margin: 0;
    padding: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

body {
    background: linear-gradient(135deg, #ff007f, #00d2ff); /* Neon gradient background */
    display: flex;
    justify-content: center;
    align-items: center;
}

.slider {
    position: relative;
    width: 80vw; /* Adjust width if needed */
    height: 80vh; /* Adjust height if needed */
    overflow: hidden;
    border: 2px solid #fff; /* Optional border for better visibility */
    border-radius: 10px; /* Optional rounded corners */
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.8); /* Neon glow effect */
}

.slides {
    display: flex;
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 1s ease-in-out;
}

.slide {
    min-width: 100%;
    height: 100%;
    position: relative;
    overflow: hidden;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: contain; /* Ensure the image fits within the container without cropping */
}

.caption {
    position: absolute;
    bottom: 20px;
    left: 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border-radius: 5px;
    font-size: 1.2rem;
    line-height: 1.4;
}

.navigation {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    z-index: 10;
}

.nav-btn {
    background: rgba(0, 0, 0, 0.5);
    border: none;
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50%;
    transition: background 0.3s;
}

.nav-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

.indicators {
    position: absolute;
    bottom: 20px;
    width: 100%;
    display: flex;
    justify-content: center;
    z-index: 10;
}

.indicator {
    width: 15px;
    height: 15px;
    background: #fff;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #f00;
}

@media (max-width: 768px) {
    .slider {
        height: 60vh;
    }
}

@media (max-width: 480px) {
    .slider {
        height: 40vh;
    }
}
