.image-slider {
    position: relative;
    width: 100%;
    max-width: 1400px;
    margin: 40px auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.slider-wrapper {
    position: relative;
}

.slides {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
}

.slide {
    min-width: 100%;
    transition: opacity 0.5s ease-in-out;
    opacity: 0;
    position: absolute;
    top: 0;
    left: 0;
}

.slide.active {
    opacity: 1;
    position: relative;
}

.slide img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    object-fit: cover;
}

/* Navigation Arrows */
.slider-nav span {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: var(--white-color);
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 50%;
    cursor: pointer;
    user-select: none;
    transition: background 0.3s ease;
    z-index: 10;
}

.slider-nav span:hover {
    background-color: rgba(0, 0, 0, 0.7);
}

.slider-nav .prev {
    left: 16px;
}

.slider-nav .next {
    right: 16px;
}

/* Dots */
.slider-dots {
    text-align: center;
    position: absolute;
    bottom: 16px;
    width: 100%;
    z-index: 10;
}

.slider-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    margin: 0 6px;
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s ease;
}

.slider-dots .dot.active {
    background-color: var(--lime-green-color);
}

/* Responsive */
@media screen and (max-width: 768px) {
    .slider-nav span {
        font-size: 1.5rem;
        padding: 6px 10px;
    }
}
