  html, body {
    max-width: 100%;
    overflow-x: hidden;
}



  
  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }

  @keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }

 
  /* Baris depan tetap lurus */
  .bar-front {
    z-index: 20;
    position: relative;
  }

  /* Baris belakang miring untuk efek silang */
  .bar-back-slanted {
    transform: rotate(3deg);
    margin-top: -4rem; /* Mengatur seberapa jauh tumpang tindihnya */
    z-index: 10;
    position: relative;
  }

  /* Meluruskan kembali teks di baris yang miring */
  .fix-text-slanted {
    transform: rotate(-3deg);
  }

  .animate-marquee {
    display: flex;
    width: max-content;
    animation: marquee 30s linear infinite;
  }

  .animate-marquee-reverse {
    display: flex;
    width: max-content;
    animation: marquee-reverse 35s linear infinite;
  }



  @keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
  }
  @keyframes marquee-reverse {
    0% { transform: translateX(-50%); }
    100% { transform: translateX(0); }
  }
  .animate-marquee { animation: marquee 30s linear infinite; }
  .animate-marquee-reverse { animation: marquee-reverse 35s linear infinite; }






 /* CSS UNTUK RESPONSIVITAS CARD */

/* 1. Reset Dasar untuk Mobile (Default) */
.vr-orbit {
    position: relative;
    height: 450px; /* Sesuaikan tinggi kontainer di mobile */
    display: flex;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
}

.prestas-card {
    position: absolute;
    width: 280px; /* Ukuran card di mobile lebih kecil */
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    pointer-events: none;
    transform: scale(0.8) translateZ(-100px);
}

/* 2. Logika Tampilan di HP (Layar di bawah 768px) */
/* Kita buat sistem "Stack" di mana hanya card aktif yang terlihat jelas */
@media (max-width: 767px) {
    .card-pos-3 { /* Card Tengah/Utama */
        opacity: 1;
        z-index: 30;
        transform: scale(1) translateZ(0);
        pointer-events: auto;
    }
    
    .card-pos-2, .card-pos-4 { /* Card Samping (Bayangan sedikit) */
        opacity: 0.4;
        z-index: 20;
        transform: scale(0.8) translateX(var(--mobile-offset));
    }

    .card-pos-2 { --mobile-offset: -50%; }
    .card-pos-4 { --mobile-offset: 50%; }

    .card-pos-1, .card-pos-5 { /* Sembunyikan yang terlalu jauh */
        opacity: 0;
        z-index: 10;
    }
}

/* 3. Tampilan Desktop (Layar di atas 768px) */
@media (min-width: 768px) {
    .vr-orbit {
        height: 600px;
    }

    .prestas-card {
        width: 350px;
        opacity: 1;
        pointer-events: auto;
    }

    /* Pengaturan posisi Orbit Desktop */
    .card-pos-1 { transform: translateX(-120%) scale(0.7); z-index: 10; opacity: 0.4; filter: blur(2px); }
    .card-pos-2 { transform: translateX(-60%) scale(0.85); z-index: 20; opacity: 0.8; }
    .card-pos-3 { transform: translateX(0) scale(1.1); z-index: 50; opacity: 1; } /* Fokus Utama */
    .card-pos-4 { transform: translateX(60%) scale(0.85); z-index: 20; opacity: 0.8; }
    .card-pos-5 { transform: translateX(120%) scale(0.7); z-index: 10; opacity: 0.4; filter: blur(2px); }
}

/* Efek Hover Tambahan */
.prestas-card .bg-white {
    transition: transform 0.3s ease;
}

.card-pos-3:hover .bg-white {
    transform: translateY(-10px);
}

/* Overlay Info Styling */
.overlay-info {
    background: rgba(30, 58, 138, 0.4);
    backdrop-filter: blur(2px);
    opacity: 0;
    transition: all 0.3s ease;
}

.group:hover .overlay-info {
    opacity: 1;
}


  /* Galery */

 .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

    .thumb-active {
        border: 4px solid #3b82f6;
        transform: scale(1.15);
        opacity: 1 !important;
        box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.3);
    }
    
    /* Animasi masuk gambar */
    #lightbox-img.active {
        scale: 1;
        opacity: 1;
    }


        /* Efek Gradasi Asap */
    .bg-smoke-gradient {
        background: radial-gradient(circle at center, rgba(114, 114, 116, 0.7) 0%, rgba(47, 51, 61, 0.9) 70%, rgb(41, 45, 59) 100%);
    }

    /* Hilangkan Scrollbar */
    .no-scrollbar::-webkit-scrollbar { display: none; }
    .no-scrollbar { -ms-overflow-style: none; scrollbar-width: none; }

    /* Thumbnail Aktif Lebih Elegan */
    .thumb-active {
        border-bottom: 3px solid white;
        transform: translateY(-5px);
        opacity: 1 !important;
        filter: brightness(1.2);
    }

    /* Animasi Halus Gambar */
    #lightbox-img.active {
        transform: scale(1);
        opacity: 1;
    }

/* Sidebar Animasi */
#mobileSidebar {
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Dropdown Desktop Smooth */
@media (min-width: 1024px) {
    .group:hover #dropdownMenu {
        opacity: 1 !important;
        visibility: visible !important;
        transform: translateY(0) !important;
    }
}

/* Overlay Transition */
#sidebarOverlay {
    transition: opacity 0.3s ease;
}



/* Animasi Kustom yang Tidak Ada di Tailwind Standar */
        .teacher-card img {
            transition: transform 0.8s cubic-bezier(0.2, 1, 0.2, 1);
        }
        .teacher-card:hover img {
            transform: scale(1.1) rotate(1deg);
        }
        .info-slide {
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
            transform: translateY(20px);
            opacity: 0;
        }
        .teacher-card:hover .info-slide {
            transform: translateY(0);
            opacity: 1;
        }
        .line-grow {
            transition: width 0.6s ease;
            width: 0;
        }
        .teacher-card:hover .line-grow {
            width: 100%;
        }



    /* Style untuk Baris yang sedang Aktif */
    .schedule-row.is-active {
        background-color: #1e3a8a !important; /* Blue-900 */
        transform: scale(1.01);
        box-shadow: 0 10px 30px rgba(30, 58, 138, 0.2);
        z-index: 10;
    }
    .schedule-row.is-active td {
        color: white !important;
    }
    .schedule-row.is-active .text-gray-400, 
    .schedule-row.is-active .text-blue-900 {
        color: white !important;
    }
    .schedule-row.is-active .status-cell::after {
        content: "LIVE";
        background: #ef4444; /* Red */
        padding: 4px 8px;
        border-radius: 6px;
        font-size: 10px;
        font-weight: 900;
        animation: pulse 1s infinite;
    }

    @keyframes pulse {
        0% { opacity: 1; }
        50% { opacity: 0.5; }
        100% { opacity: 1; }
    }



    /* Highlight hanya pada SEL (kotak) yang aktif */
    .active-slot {
        background-color: #ccd3e7c4 !important; /* Blue-900 */
        color: #1e3a8a !important;
        font-weight: 800;
        position: relative;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
    }
    .active-slot::after {
        content: "NOW";
        position: absolute;
        top: 2px;
        right: 2px;
        font-size: 7px;
        background: #fafafa;
        padding: 2px 4px;
        border-radius: 4px;
        animation: pulse 1s infinite;
    }
    @keyframes pulse { 0%, 100% { opacity: 1; } 50% { opacity: 0.5; } }





    .prestasi-perspective {
        perspective: 1500px; /* Memberikan kedalaman 3D */
    }

    .swiper-prestasi {
        padding-top: 50px;
        padding-bottom: 50px;
        overflow: visible !important; /* Agar kartu yang melengkung ke samping tidak terpotong */
    }

    .swiper-slide {
        background-position: center;
        background-size: cover;
        width: 320px; /* Lebar kartu */
        height: 450px;
        filter: blur(2px) brightness(0.7);
        transition: 0.6s all ease;
        border-radius: 20px;
    }

    /* Kartu yang sedang aktif (di tengah) */
    .swiper-slide-active {
        filter: blur(0) brightness(1);
        transform: scale(1.1);
        z-index: 10;
    }