.bhislider-container {
    width: 100%;
    height: 100vh;
    overflow: hidden;
    position: relative;
}

.bhislider {
    position: relative;
    width: 100%;
    height: 100%;
}

.bhislide {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

/* Styling teks di dalam slide */
.text-bhislider {
    position: relative;
    z-index: 2;
    padding-left: 20px;
    padding-right: 20px;
    text-align: center;
    width: 100%;
    max-width: 800px;
    /* Transisi fade halus saat teks berganti */
    opacity: 0;
    transform: translateY(20px);
    transition: all 2.5s ease-in-out;
}

/* Teks hanya muncul di slide yang aktif */
.bhislide.active .text-bhislider {
    opacity: 1;
    transform: translateY(0);
}

.bhislide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: transform 5s ease-in-out;
}

.overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    top: 0;
    left: 0;
    z-index: 0;
}

.active {
    opacity: 1;
}

.active img {
    transform: scale(1.1);
}

/* Tampilan landscape mobile */
@media (max-width: 768px) {
    .bhislider-container {
        height: 300px; /* Menjaga agar tampilan slider tetap landscape di HP */
    }

    .text-bhislider h1 {
        font-size: 1.25rem !important;
        margin-bottom: 0.5rem !important;
    }

    .text-bhislider p {
        font-size: 0.85rem !important;
        margin-bottom: 0.75rem !important;
    }

    .text-bhislider .btn {
        font-size: 0.75rem !important;
        padding: 4px 15px !important;
    }
}