html {
    scroll-behavior: smooth;
}

body {
    font-family: "Poppins", sans-serif;
    margin: 0;
    padding: 0;
    background-color: grey !important;
    width: 100% !important;
    overflow-x: hidden;
}

.bg-blue-gradient {
    background: linear-gradient(90deg, hsla(216, 59%, 22%, 1) 0%, hsla(206, 64%, 39%, 1) 82%) !important;
}

.active-menu {
    color: #ffbf00 !important;
    font-weight: 600;
}

.jumbotron::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg,
            hsla(216, 59%, 22%, 0.81) 0%,
            hsla(206, 64%, 39%, 0.81) 82%);
    z-index: 1;
}

.jumbotron {
min-height: auto; /* Ubah ini */
height: auto; /* Tambahkan ini */
display: flex; /* Tambahkan ini */
flex-direction: column; /* Tambahkan ini */
justify-content: flex-end; /* Tambahkan ini */
}

.jumbotron .container {
    position: relative;
    z-index: 10;
}

@media (max-width: 767px) { /* Ubah dari 768px menjadi 767px agar konsisten dengan Tailwind 'md' (biasanya 768px) */
    /* Kelas yang diterapkan langsung ke #navbar-sticky saat aktif di mobile */
    .mobile-nav-active { /* Kelas baru yang akan ditambahkan oleh JS saat menu mobile terbuka */
        background: linear-gradient(90deg,
                    hsla(216, 59%, 22%, 0.98) 0%,
                    hsla(206, 64%, 39%, 0.98) 82%);
        padding-top: 20px; /* Jika diperlukan padding di bagian atas saat menu terbuka */
        position: absolute; /* Penting: agar menu mobile overlay di atas konten */
        top: 100%; /* Agar menu muncul di bawah navbar utama */
        left: 0;
        width: 100%;
        box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Tambahkan bayangan jika diinginkan */
    }

    /* Target link di dalam #navbar-sticky untuk tampilan mobile */
    #navbar-sticky ul { /* Tambahkan ini: Pastikan ul di dalam #navbar-sticky menyesuaikan untuk mobile */
        flex-direction: column; /* Ubah tata letak item menu menjadi kolom */
        width: 100%; /* Lebar penuh */
        text-align: center; /* Pusatkan teks */
        /* background-color: rgba(0, 0, 0, 0.8); */ /* Hapus jika mobile-nav-active sudah punya background */
        padding: 1rem 0; /* Padding tambahan */
    }

    #navbar-sticky ul li { /* Tambahkan ini: Pastikan setiap item li mengambil lebar penuh */
        width: 100%;
    }

    #navbar-sticky a { /* Target semua link di navbar-sticky untuk tampilan mobile */
        background: linear-gradient(90deg,
                    hsla(216, 59%, 22%, 0.98) 0%,
                    hsla(206, 64%, 39%, 0.98) 82%);
        /* Anda mungkin ingin menyesuaikan padding di sini juga jika diperlukan */
        display: block; /* Agar link memenuhi lebar penuh item li */
        padding: 10px 0; /* Contoh padding untuk setiap item menu */
    }

    .active-menu {
        color: #ffbf00 !important;
        /* Jika Anda ingin background khusus untuk menu aktif di mobile, aktifkan kembali ini */
        /* background: linear-gradient(90deg,
                    hsla(216, 59%, 22%, 1) 0%,
                    hsla(206, 64%, 39%, 1) 82%) !important; */
    }

    /* Target link di #navbar-sticky yang BUKAN .active-menu */
    #navbar-sticky a:not(.active-menu) {
        color: white;
    }
}

nav {
    transition: background 0.3s ease;
}

.scrolled {
    background: linear-gradient(90deg,
                hsla(216, 59%, 22%, 1) 0%,
                hsla(206, 64%, 39%, 1) 82%);
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.2); /* Efek bayangan */
}

.tombol-banner {
    transition: 0.3s ease-in-out;
}

.tombol-banner:hover {
    box-shadow: 0 0 25px #e4af00;
    transform: scale(1.05);
}

/* Bagian alur PTB */
.education {
    padding: 90px 15px;
    background: #f3f4f6;
}

.education h2 {
    margin-bottom: 5rem;
}

.timeline-items {
    max-width: 1100px;
    margin: auto;
    display: flex;
    flex-wrap: wrap;
    position: relative;
}

.timeline-items::before {
    content: "";
    position: absolute;
    width: 5px;
    height: 100%;
    background-color: #184c8b;
    left: calc(50% - 1px);
}

.timeline-item {
    margin-bottom: 20px;
    width: 100%;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item:nth-child(odd) {
    padding-right: calc(50% + 30px);
    text-align: right;
}

.timeline-item:nth-child(even) {
    padding-left: calc(50% + 30px);
}

.timeline-dot {
    height: 19px;
    width: 19px;
    background-color: #184c8b;
    box-shadow: 0 0 15px #184c8b,
                0 0 15px #184c8b;
    position:absolute;
    left: calc(50% - 8px);
    border-radius: 50%;
    top: 10px;
}

.timeline-date {
    font-size: 20px;
    font-weight: 800;
    color: #ffbf00 !important;
    margin: 6px 0 15px;
}

.timeline-content {
    background-color: white;
    border: 3px solid #184c8b;
    padding: 30px 50px;
    border-radius: 4rem;
    box-shadow: 0 0 8px #184c8b;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}

.timeline-content:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px #184c8b;
}

.timeline-content h3 {
    font-size: 16px;
    color: black;
    margin: 0 0 10px;
    font-weight: 500;
}

.timeline-content p {
    color: black;
    font-size: 12px;
    font-weight: 300;
    line-height: 22px;
    text-align: justify;
}

@media(max-width:991px) {
    .education {
        padding: 6rem 3% 2rem;
    }

    .timeline-items::before {
        left: 7px;
    }

    .timeline-item:nth-child(odd) {
        padding-right: 0;
        text-align: left;
    }

    .timeline-item:nth-child(odd),
    .timeline-item:nth-child(even) {
        padding-left: 37px;
    }

    .timeline-dot {
        left: 0;
    }
}
/* Akhir Bagian Alur PTB */

/* Location */
.location-stmkg .box-kedua iframe {
    transition: transform 0.6s ease;
    will-change: transform;
}

@media (min-width: 768px) {
    .location-stmkg .box-kedua iframe:hover {
        transform: scale(1.05);
    }
}
/* Akhir Location */


/* Faq */
.faq {
    width: 100%;
    max-width: 800px;
}

.faq-container {
    color: black;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
}

.ques {
    width: 100%;
    padding: 20px;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    border-radius: 5px;
    transition: all 0.3s ease-in-out;
}

.ans {
    max-height: 0;
    width: 100%;
    overflow: hidden; /* lebih baik dari scroll */
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    transition: max-height 0.3s ease-in-out;
}

.faq i {
    transition: all .3s ease-in-out;
}

.faq-list {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.faq.active .ans {
    max-height: 300px;
}

.faq.active i {
    transform: rotate(45deg);
}

.ans p {
    font-size: 14px;
    border-top: 1px solid #000000;
}
/* Akhir Faq */


/* Swiper */
.swiper-pagination-bullet {
    width: 15px;
    height: 15px;
    background: #D0E0E4;
    opacity: 1;
    margin: 0 5px !important;
}

.swiper-pagination-bullet-active {
    background: #22669c;
    opacity: 1;
    transform: scale(1.2);
    transition: transform 0.2s;
}

.swiper-button-prev::after,
.swiper-rtl .swiper-button-next::after,
.swiper-button-next::after,
.swiper-rtl .swiper-button-prev::after {
    content: "" !important;
}






