.slider-container {
    position: relative;
    perspective: 1000px;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* slider button */
.slider {
    height: 400px;
    position: relative;
    transform-style: preserve-3d;
    transition: transform 1s;
}

/* slider image */
.slider img {
    position: absolute;
    border-radius: 35px;
    box-shadow: 0px 0px 60px rgba(0, 0, 0, 0.5);
    cursor: pointer;
    transition: transform 0.3s, opacity 1s;
    max-width: 520px;
    width: 100%;
    object-fit: fill;
    display: block;
}

/* Unified controls bar (arrows + dots in one line) */
.controls {
    /* position: absolute; */
    bottom: 40px;
    display: flex;
    align-items: center;
    gap: 20px;
}

.arrow {
    background: rgba(255, 255, 255, 0.7);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 22px;
    cursor: pointer;
    transition: background 0.3s;
    z-index: 2;
}

.arrow:hover {
    background: rgba(2, 2, 2, 0.5);
}

/* Dots centered between arrows */
.dots {
    flex-grow: 1;
    text-align: center;
}

.dots span {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(2, 2, 2, 0.5);
    margin: 5px;
    cursor: pointer;
    transition: background 0.3s;
}

.dots span.active {
    background: rgb(0, 0, 0);
}