


/* Image Slider */
.slider {
    width: 100%;
    max-width: 100vw;
    height: 500px;
    margin: auto;
    position: relative;
    overflow: hidden;
}

.slider .list {
    position: absolute;
    width: max-content;
    height: 100%;
    left: 0;
    top: 0;
    display: flex;
    transition: 1s;
}

.slider .list img {
    width: 1350px;
    max-width: 100vw;
    height: 100%;
    object-fit: cover;
}

.slider .buttons {
    position: absolute;
    top: 45%;
    left: 5%;
    width: 90%;
    display: flex;
    justify-content: space-between;
}

.slider .buttons button {
    box-shadow: 4px 4px 10px rgba(0, 0, 0, 0.11);
    /* Bayangan */
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.315);
    color: #fff;
    border: none;
    font-family: monospace;
    font-weight: bold;
}

.slider .dots {
    position: absolute;
    bottom: 10px;
    left: 0;
    color: #fff;
    width: 100%;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

.slider .dots li {
    list-style: none;
    width: 10px;
    height: 10px;
    background-color: #fff;
    margin: 10px;
    border-radius: 20px;
    transition: 0.5s;
}

.slider .dots li.active {
    width: 30px;
}

/* Media Queries for Mobile */
@media screen and (max-width: 768px) {
    .slider {
        height: 400px;
        /* Mengubah tinggi untuk tampilan mobile */
    }

    .slider .list img {
        width: 100%;
        /* Menyesuaikan lebar gambar dengan lebar container */
        object-fit: cover;
        /* Menjaga aspek rasio gambar */
        content: url('/img/BANNER 1-small.jpg');
        /* Ganti dengan gambar yang lebih kecil untuk tampilan mobile */
    }

    /* Jika Anda ingin mengganti gambar secara spesifik pada beberapa item slider */
    .slider .list .item:nth-child(2) img {
        content: url('/img/BANNER 1-small.jpg');
    }

    .slider .list .item:nth-child(3) img {
        content: url('/img/BANNER 1-small.jpg');
    }

    .slider .list .item:nth-child(4) img {
        content: url('/img/BANNER 1-small.jpg');
    }

    .slider .list .item:nth-child(5) img {
        content: url('/img/BANNER 1-small.jpg');
    }

    .slider .buttons {
        top: 40%;
        /* Menurunkan posisi tombol di layar mobile */
    }

    .slider .buttons button {
        width: 35px;
        /* Ukuran tombol sedikit lebih kecil */
        height: 35px;
    }
}