* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.slider-container {
    position: relative;
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.slider {
    display: flex;
    width: 300%; /* Sesuai jumlah slide */
    height: 100%;
    transition: transform 0.8s cubic-bezier(0.65, 0, 0.35, 1);
}

.slide {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
    padding: 0 20px;
}

.content {
    max-width: 800px;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease 0.4s;
}

.slide.active .content {
    opacity: 1;
    transform: translateY(0);
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    margin-bottom: 10px;
    color: #ffcc00;
}

.title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
}

.description {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.btn {
    display: inline-block;
    padding: 15px 35px;
    background: #ffcc00;
    color: #333;
    text-decoration: none;
    font-weight: bold;
    border-radius: 50px;
    transition: 0.3s;
}

.btn:hover {
    background: #fff;
    transform: scale(1.05);
}

/* Tombol Navigasi */
.arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width : 50px;
    height:50px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border-radius: 50%;
    font-size: 20px;
    transition: 0.3s;
    z-index: 10;
    backdrop-filter: blur(5px);
}

.arrow:hover {
    background: rgba(255, 255, 255, 0.8);
    color: #000;
}

.prev { left: 30px; }
.next { right: 30px; }

/* Dots */
.dots-container {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.dot {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.dot.active {
    background: #ffcc00;
    width: 30px;
    border-radius: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .title { font-size: 2.5rem; }
    .arrow { display: none; } /* Sembunyikan panah di mobile untuk tampilan bersih */
}


.min-vh-75 { min-height: 75vh; }
.tracking-widest { letter-spacing: 0.2rem; }

/* --- KUNCI KEHALUSAN (Smooth Transition Logic) --- */

/* Hilangkan transisi default Bootstrap agar tidak bentrok */
.carousel-fade .carousel-item {
opacity: 0 !important;
transition: opacity 1.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
z-index: 1;
}

.carousel-fade .carousel-item.active {
opacity: 1 !important;
z-index: 2;
}

/* Efek floating gambar yang lebih stabil */
.image-wrapper { 
animation: floating 8s ease-in-out infinite; 
will-change: transform;
}

@keyframes floating {
0%, 100% { transform: translateY(0); }
50% { transform: translateY(-15px); }
}

/* Animasi Konten (Staggered & Smooth) */
.carousel-item .content-box {
opacity: 0;
transform: translateY(15px);
filter: blur(5px);
transition: transform 1.2s ease, opacity 1.2s ease, filter 1.2s ease;
transition-delay: 0.3s;
}

.carousel-item .image-wrapper {
opacity: 0;
transform: scale(0.97);
filter: blur(5px);
transition: transform 1.5s ease, opacity 1.5s ease, filter 1.5s ease;
transition-delay: 0.2s;
}

/* Aktifkan animasi saat slide aktif */
.carousel-item.active .content-box,
.carousel-item.active .image-wrapper {
opacity: 1;
transform: translateY(0) scale(1);
filter: blur(0);
}

/* Style Navigasi & Teks */
.text-dark { color: #111 !important; }
.hero-img { max-height: 450px; filter: drop-shadow(0 15px 30px rgba(0,0,0,0.1)); }

.custom-nav {
width: 60px; height: 60px; background: #fff !important; color: #111 !important;
border-radius: 50%; top: 50%; transform: translateY(-50%);
margin: 0 30px; border: 1px solid #eee !important;
display: flex; align-items: center; justify-content: center;
transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
box-shadow: 0 5px 15px rgba(0,0,0,0.05);
opacity: 0.8 !important;
}

.custom-nav:hover { 
background: #198754 !important; color: #fff !important; 
opacity: 1 !important; transform: translateY(-50%) scale(1.1);
}

.carousel-indicators button {
background-color: #198754 !important;
height: 5px !important;
transition: width 0.4s ease;
}