/* =========================================================
   Bimbel Pionir Mandala (BPM)
   FULL RESPONSIVE CSS — REBUILT
   ========================================================= */
:root{

    --primary:#44055D;

    --secondary:#782A95;

    --third:#CBB2D4;

    --white:#ffffff;

    --black:#000000;

    --yellow:#FDB515;

    --text:#ffffff;

    --bg:#44055D;

    --container-max:1920px;

    --page-padding:clamp(16px,4vw,72px);

    --radius:20px;

    --radius-small:12px;

    --shadow:0 25px 60px rgba(0,0,0,.45);

    --transition:.35s ease;
}

/* ================= RESET ================= */
*,*::before,*::after{

    margin:0;

    padding:0;

    box-sizing:border-box;
}

html{

    scroll-behavior:smooth;

    width:100%;

    min-width:0;
}

body{

    width:100%;

    min-width:0;

    min-height:100vh;

    font-family:'Inter',sans-serif;

    background:var(--primary);

    color:var(--text);

    overflow-x:hidden;

    line-height:1.7;
}

img{

    display:block;

    max-width:100%;

    height:auto;
}

a{

    color:inherit;

    text-decoration:none;
}

button{

    border:none;

    outline:none;

    cursor:pointer;

    font-family:inherit;
}

input,textarea{

    border:none;

    outline:none;

    font-family:inherit;
}

/* ================= BACKGROUND ================= */
.background-wrapper{

    position:fixed;

    inset:0;

    width:100%;

    height:100%;

    overflow:hidden;

    z-index:-5;
}

.aurora{

    position:absolute;

    width:clamp(420px,45vw,700px);

    aspect-ratio:1;

    border-radius:50%;

    filter:blur(120px);

    opacity:.25;

    pointer-events:none;
}

.aurora-1{

    top:-200px;

    left:-150px;

    background:#6d46ff;

    animation:float1 18s infinite alternate;
}

.aurora-2{

    right:-150px;

    bottom:-150px;

    background:#1ca8ff;

    animation:float2 16s infinite alternate;
}

.noise-overlay{

    position:absolute;

    inset:0;

    opacity:.03;

    background-image:url("https://www.transparenttextures.com/patterns/asfalt-dark.png");

    pointer-events:none;
}

/* ================= PAGE LOADER ================= */
.page-loader{

    position:fixed;

    inset:0;

    display:flex;

    justify-content:center;

    align-items:center;

    background:var(--bg);

    z-index:999999;

    transition:.6s;
}

.loader-circle{

    width:clamp(50px,5vw,70px);

    aspect-ratio:1;

    border-radius:50%;

    border:4px solid rgba(255,255,255,.12);

    border-top-color:var(--yellow);

    animation:spin 1s linear infinite;
}

/* ================= SCROLL PROGRESS ================= */
.scroll-progress{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:4px;

    z-index:9999;
}

.scroll-progress span{

    display:block;

    width:0;

    height:100%;

    background:linear-gradient(90deg,var(--primary),var(--secondary));
}

/* ================= CONTAINER ================= */
.container{

    width:min(calc(100% - (2 * var(--page-padding))),var(--container-max));

    margin-inline:auto;
}

/* ================= BACK TO TOP ================= */
.back-to-top{

    position:fixed;

    right:clamp(16px,2vw,35px);

    bottom:clamp(16px,2vw,35px);

    width:clamp(46px,4vw,58px);

    aspect-ratio:1;

    display:flex;

    justify-content:center;

    align-items:center;

    border-radius:50%;

    background:var(--primary);

    color:var(--white);

    font-size:1.2rem;

    box-shadow:0 18px 40px rgba(124,92,255,.4);

    opacity:0;

    visibility:hidden;

    transition:var(--transition);

    z-index:100;
}

.back-to-top.show{

    opacity:1;

    visibility:visible;
}

/* ================= SCROLLBAR ================= */
::-webkit-scrollbar{

    width:10px;
}

::-webkit-scrollbar-track{

    background:#090d1d;
}

::-webkit-scrollbar-thumb{

    border-radius:999px;

    background:linear-gradient(var(--primary),var(--secondary));
}

::-webkit-scrollbar-thumb:hover{

    background:var(--primary);
}

::selection{

    background:var(--primary);

    color:var(--white);
}

/* ================= NAVBAR BUTTON ================= */
.btn-daftar-navbar{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    gap:clamp(6px,1vw,12px);

    padding:clamp(11px,1vw,16px) clamp(18px,2vw,34px);

    border-radius:999px;

    font-size:clamp(.85rem,1vw,1rem);

    font-weight:700;

    white-space:nowrap;

    background:var(--yellow);

    color:var(--primary);

    transition:var(--transition);
}

.btn-daftar-navbar:hover{

    transform:translateY(-4px);
}

/* ================= HEADER ================= */
.header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    padding:clamp(8px,1vw,15px) 0;

    background:var(--primary);

    z-index:999;
}

.navbar{

    display:flex;

    align-items:center;

    justify-content:space-between;

    gap:clamp(16px,3vw,50px);

    width:100%;

    min-width:0;
}

.logo{

    flex:0 0 auto;
}

.logo img{

    width:auto;

    height:clamp(38px,3vw,50px);

    display:block;

    margin:0;
}

.nav-menu{

    display:flex;

    align-items:center;

    justify-content:center;

    gap:clamp(8px,2.8vw,60px);

    list-style:none;

    min-width:0;
}

.nav-menu > li{

    position:relative;
}

.nav-menu a,
.nav-dropdown-toggle{

    border:none;

    background:transparent;

    color:var(--white);

    font-size:clamp(.78rem,1vw,1rem);

    font-weight:700;

    cursor:pointer;

    display:flex;

    align-items:center;

    gap:7px;

    white-space:nowrap;

    transition:var(--transition);
}

.nav-menu a:hover,
.nav-menu a.active,
.nav-dropdown-toggle:hover{

    color:var(--yellow);
}

.nav-dropdown-toggle i{

    font-size:10px;

    transition:transform .25s ease;
}

.nav-dropdown.active .nav-dropdown-toggle i{

    transform:rotate(180deg);
}

.nav-dropdown-menu{

    position:absolute;

    top:calc(100% + 18px);

    left:50%;

    min-width:180px;

    padding:10px;

    background:rgba(68,5,93,.97);

    border:1px solid rgba(255,255,255,.15);

    border-radius:14px;

    box-shadow:0 15px 35px rgba(0,0,0,.25);

    transform:translateX(-50%) translateY(-10px);

    opacity:0;

    visibility:hidden;

    transition:.25s ease;

    z-index:10;
}

.nav-dropdown.active .nav-dropdown-menu{

    opacity:1;

    visibility:visible;

    transform:translateX(-50%) translateY(0);
}

.nav-dropdown-menu a{

    display:block;

    padding:11px 14px;

    border-radius:9px;

    font-size:14px;

    white-space:nowrap;
}

.nav-dropdown-menu a:hover{

    background:rgba(253,181,21,.12);
}


/* ======================================================
   LAYANAN HEADER
====================================================== */

.paket-belajar-header{

    width:100%;

    box-sizing:border-box;

    padding:
        25px 0
        20px;

}


/* ======================================================
   CONTAINER
====================================================== */

.paket-belajar-header-container{

    width:100%;

    max-width:1200px;

    margin:0 auto;

    padding:
        100px 0
        35px;

    box-sizing:border-box;

    display:grid;

    grid-template-columns:
        1fr
        1fr;

    align-items:center;

    column-gap:30px;

}


/* ======================================================
   TEXT
====================================================== */

.paket-belajar-header-text{

    text-align:center;

}


.paket-belajar-header-text h1{

    margin:0;

    color:var(--white);

    font-size:
        clamp(
            5rem,
            5vw,
            5rem
        );

    line-height:1.05;

    font-weight:700;

}


.paket-belajar-header-text h1 span{

    color:var(--yellow);

}


.paket-belajar-header-text p{

    margin:
        12px auto 0;

    max-width:650px;

    color:var(--white);

    font-size:
        clamp(
            1.5rem,
            2vw,
            2rem
        );

    line-height:1.4;

}


/* ======================================================
   IMAGE
====================================================== */

.paket-belajar-header-image{

    display:flex;

    align-items:center;

    justify-content:center;

}


.paket-belajar-header-image img{

    display:block;

    width:100%;

    max-width:450px;

    height:auto;

    object-fit:contain;

}


/* ======================================================
   TABLET
====================================================== */

@media(max-width:800px){

    .paket-belajar-header-container{

        grid-template-columns:1fr;

        row-gap:10px;

        padding:
            0 20px;

    }


    .paket-belajar-header-text{

        order:1;

    }


    .paket-belajar-header-image{

        order:2;

    }


    .paket-belajar-header-image img{

        max-width:350px;

    }

}


/* ======================================================
   MOBILE
====================================================== */

@media(max-width:500px){

    .paket-belajar-header{

        padding:
            20px 0;

    }


    .paket-belajar-header-text h1{

        font-size:1.7rem;

    }


    .paket-belajar-header-text p{

        font-size:.75rem;

    }


    .paket-belajar-header-image img{

        max-width:280px;

    }

}

/* ==================================================
   KELAS SECTION
================================================== */

.kelas-section {

    width: 100%;

    padding: 60px 20px;

    box-sizing: border-box;

}


/* ==================================================
   TABLE
================================================== */

.kelas-table {

    width: 100%;

    max-width: 1100px;

    margin: 0 auto;

    display: grid;

    grid-template-columns:
        130px
        1fr
        1fr;

    background: #ffffff;

    border-radius: 12px;

    overflow: hidden;

    color: var(--primary);

}


/* ==================================================
   HEADER
================================================== */

.kelas-header-spacer {

    background: transparent;

}


.kelas-header {

    padding:
        0 15px
        12px;

    text-align: center;

    font-size: 40px;

    font-weight: 800;

    color: var(--primary);

}


/* ==================================================
   LABEL KIRI
================================================== */

.kelas-label {

    display: flex;

    align-items: center;

    justify-content: center;

    padding:
        20px 10px;

    border-right:
        3px solid var(--primary);

    border-bottom:
        1px solid #d8c7df;

    text-align: center;

    box-sizing: border-box;

}


.kelas-label strong {

    font-size: 20px;

    font-style: italic;

}


/* ==================================================
   ISI
================================================== */

.kelas-cell {

    min-height: 100px;

    padding:
        18px 20px;

    box-sizing: border-box;

    border-bottom:
        1px solid #d8c7df;

    font-size: 15px;

    line-height: 1.45;

}


.kelas-cell:nth-last-child(-n+3) {

    border-bottom: none;

}


.kelas-cell strong {

    display: block;

    margin-bottom: 3px;

    font-weight: 700;

}


.kelas-cell p {

    margin:
        3px 0 12px;

}


/* ==================================================
   PEMBATAS ANTAR KELAS
================================================== */

.kelas-cell:nth-child(3n) {

    border-left:
        3px solid var(--primary);

}


/* ==================================================
   HARGA
================================================== */

.kelas-price-label {

    border-right:
        3px solid var(--primary);

}


.kelas-price {

    padding:
        15px 20px 20px;

    text-align: center;

}


.kelas-price span {

    display: block;

    font-size: 20px;

    font-weight: 700;

}


.kelas-price strong {

    display: block;

    margin-top: 2px;

    font-size: 20px;

    font-weight: 800;

}


.kelas-price small {

    font-size: 11px;

}


/* ==================================================
   BUTTON
================================================== */

.kelas-button {

    display: block;

    width: fit-content;

    margin:
        8px auto 0;

    padding:
        9px 22px;

    border:
        1px solid var(--primary);

    border-radius: 16px;

    background: var(--yellow);

    color: var(--primary);

    font-size: 13px;

    font-weight: 800;

    text-decoration: none;

    transition:
        transform .2s ease,
        background .2s ease;

}


.kelas-button:hover {

    transform:
        translateY(-2px);

    background:
        #ffd84d;

}


/* ==================================================
   MOBILE
================================================== */

@media (max-width: 700px) {

    .kelas-section {

        padding:
            40px 12px;

    }


    .kelas-table {

        grid-template-columns:
            1fr;

    }


    .kelas-header-spacer {

        display: none;

    }


    .kelas-header {

        padding:
            20px 10px;

        background:
            var(--primary);

        font-size: 23px;

        text-shadow: none;

    }


    .kelas-label {

        display: none;

    }


    .kelas-cell {

        border-left: none !important;

        border-bottom:
            1px solid #d8c7df;

        font-size: 13px;

    }


    .kelas-price-label {

        display: none;

    }


    .kelas-price {

        padding:
            20px;

    }

}


/* =========================================================
   FASILITAS SHOWCASE
   ========================================================= */

.fasilitas-showcase-section{
    width:100%;
    padding:35px 0 55px;
}

.fasilitas-showcase{
    width:100%;
    max-width:1180px;
    margin:0 auto;

    display:grid;
    grid-template-columns:220px minmax(400px,535px) minmax(320px,1fr);

    background:#ffffff;
    color:#27364a;

    border-radius:16px;
    overflow:hidden;

    box-shadow:0 12px 25px rgba(0,0,0,.25);

    min-height:460px;
}


/* =========================
   THUMBNAILS
   ========================= */

.fasilitas-showcase-thumbnails {

    padding:28px 14px;

    display: flex;

    flex-direction: column;

    justify-content: center; 
  
    align-items: center;  

    gap: 20px;

    width: 100%;

    height: 100%;        

}

.fasilitas-thumb{
    width:100%;
    padding:0;

    border:1px solid #dbe5f0;
    border-radius:8px;

    background:#ffffff;

    overflow:hidden;

    cursor:pointer;

    justify-content: center;

    transition:
        transform .25s ease,
        border-color .25s ease,
        box-shadow .25s ease;
}

.fasilitas-thumb:hover{
    transform:translateY(-2px);

    border-color:#b7d8ee;

    box-shadow:0 5px 12px rgba(0,0,0,.08);
}

.fasilitas-thumb.active{
    border-color:#1999dc;

    box-shadow:
        0 0 0 1px #1999dc;
}

.fasilitas-thumb img{
    width:100%;
    height:84px;

    object-fit:cover;

    display:block;
}

.fasilitas-thumb span{
    display:block;

    padding:7px 5px 8px;

    color:#18283a;

    font-size:13px;
    font-weight:600;

    text-align:center;
}


/* =========================
   MAIN IMAGE
   ========================= */

.fasilitas-showcase-main{
    width:100%;
    height:100%;

    min-height:460px;

    background:#d7e5ec;

    overflow:hidden;
}

.fasilitas-showcase-main img{
    width:100%;
    height:500px;

    display:block;

    object-fit:cover;

    transition:opacity .2s ease;
}


/* =========================
   CONTENT
   ========================= */

.fasilitas-detail{
    display:none;
}

.fasilitas-detail.active{
    display:block;
}

.fasilitas-showcase-content{
    padding:28px 25px;

    background:#ffffff;

    display:flex;
    flex-direction:column;
    justify-content:flex-start;
}

.fasilitas-showcase-content h2{
    margin:0 0 4px;

    color:#25384d;

    font-size:30px;
    line-height:1.2;
    font-weight:800;
}

.fasilitas-showcase-intro{
    margin:0 0 25px;

    color:#52677d;

    font-size:16px;
    line-height:1.45;
}

.fasilitas-highlight{
    display:grid;

    grid-template-columns:48px minmax(0,1fr);

    gap:15px;

    margin-bottom:26px;

    align-items:start;
}

.fasilitas-highlight:last-child{
    margin-bottom:0;
}

.fasilitas-highlight-icon{
    width:42px;
    height:42px;

    display:flex;
    align-items:center;
    justify-content:center;

    border-radius:12px;

    background:#fff7ef;

    color:#ff922f;

    font-size:22px;

    box-shadow:
        0 2px 5px rgba(255,146,47,.2);
}

.fasilitas-highlight h3{
    margin:0 0 5px;

    color:#27364a;

    font-size:20px;
    line-height:1.25;
    font-weight:800;
}

.fasilitas-highlight p{
    margin:0;

    color:#5c7086;

    font-size:16px;
    line-height:1.45;
}


/* =========================
   TABLET
   ========================= */

@media (max-width:1000px){

    .fasilitas-showcase{
        grid-template-columns:170px minmax(300px,1fr) minmax(280px,1fr);
    }

    .fasilitas-showcase-main{
        min-height:400px;
    }

    .fasilitas-showcase-content{
        padding:25px 20px;
    }

    .fasilitas-showcase-content h2{
        font-size:26px;
    }

    .fasilitas-highlight h3{
        font-size:18px;
    }

    .fasilitas-highlight p,
    .fasilitas-showcase-intro{
        font-size:14px;
    }
}


/* =========================
   MOBILE
   ========================= */

@media (max-width:700px){

    .fasilitas-showcase-section{
        padding:25px 0 40px;
    }

    .fasilitas-showcase{
        grid-template-columns:1fr;

        border-radius:14px;

        min-height:0;
    }

    /* Main image tampil lebih dahulu */
    .fasilitas-showcase-main{
        order:1;

        min-height:0;

        height:auto;

        aspect-ratio:16 / 9;
    }

    .fasilitas-showcase-main img{
        height:100%;

        object-fit:cover;

        object-position:center-bottom;
    }

    /* Description */
    .fasilitas-showcase-content{
        order:2;

        padding:22px 20px 25px;
    }

    .fasilitas-showcase-content h2{
        font-size:24px;
    }

    .fasilitas-showcase-intro{
        margin-bottom:22px;

        font-size:14px;
    }

    .fasilitas-highlight{
        grid-template-columns:42px minmax(0,1fr);

        gap:12px;

        margin-bottom:22px;
    }

    .fasilitas-highlight-icon{
        width:38px;
        height:38px;

        font-size:19px;
    }

    .fasilitas-highlight h3{
        font-size:17px;
    }

    .fasilitas-highlight p{
        font-size:14px;
    }

    /* Thumbnail menjadi horizontal */
    .fasilitas-showcase-thumbnails{
        order:3;

        flex-direction:row;

        gap:10px;

        padding:12px;

        overflow-x:auto;
    }

    .fasilitas-thumb{
        flex:0 0 120px;
    }

    .fasilitas-thumb img{
        height:70px;
    }

    .fasilitas-thumb span{
        font-size:11px;
    }
}


@media (max-width:400px){

    .fasilitas-showcase-content{
        padding:20px 16px 22px;
    }

    .fasilitas-showcase-content h2{
        font-size:22px;
    }

    .fasilitas-showcase-intro,
    .fasilitas-highlight p{
        font-size:13px;
    }

    .fasilitas-highlight h3{
        font-size:16px;
    }

    .fasilitas-thumb{
        flex-basis:105px;
    }

    .fasilitas-thumb img{
        height:62px;
    }

    /* Main image tampil lebih dahulu */
    .fasilitas-showcase-main{
        order:1;

        min-height:0;

        height:auto;

        aspect-ratio:16 / 9;
    }

    .fasilitas-showcase-main img{
        height:100%;

        object-fit:cover;

        object-position:bottom;
    }
}


/* =========================================================
   LAYANAN BIMBEL
   ========================================================= */

/* =========================
   SECTION
   ========================= */

.layanan-section {
    width: 100%;
    padding: 45px 0 70px;
}


/* =========================
   HEADING
   ========================= */

.layanan-heading {
    margin-bottom: 30px;
}

.layanan-heading h2 {
    margin: 0;

    text-align:center;

    color: var(--white);

    font-size: 45px;
    font-weight: 700;

    line-height: 1.2;
}

.layanan-heading p {
    margin: 0;

    color: var(--yellow);

    font-size: 35px;
    font-weight: 700;

    line-height: 1.2;
}


/* =========================
   GRID
   ========================= */

.layanan-grid {
    display: grid;

    grid-template-columns: repeat(3, minmax(0, 1fr));

    gap: 20px;

    width: 100%;
}


/* =========================================================
   CARD NORMAL
   ========================================================= */

.layanan-card {
    position: relative;

    width: 100%;

    padding: 10px;

    background: #eee7f2;

    border-radius: 10px;

    cursor: pointer;

    overflow: hidden;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}


/* Hover */

.layanan-card:hover {
    transform: translateY(-4px);

    box-shadow:
        0 8px 20px rgba(75, 11, 104, 0.18);
}


/* =========================================================
   GAMBAR CARD
   ========================================================= */

.layanan-card-image {
    width: 100%;

    aspect-ratio: 16 / 9;

    background: #ffffff;

    border-radius: 6px;

    overflow: hidden;
}

.layanan-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: contain;
}


/* =========================================================
   KONTEN NORMAL
   =========================================================

   Saat belum diklik:
   - Judul tidak terlihat
   - Deskripsi tidak terlihat
*/

.layanan-card-title,
.layanan-card-description {
    display: none;
}


/* =========================================================
   OVERLAY
========================================================= */

.layanan-overlay {
    position: fixed;
    inset: 0;

    width: 100%;
    height: 100%;

    background: rgba(0, 0, 0, 0.65);

    opacity: 0;
    visibility: hidden;

    z-index: 9998;

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.layanan-overlay.active {
    opacity: 1;
    visibility: visible;
}


/* =========================================================
   CARD AKTIF / POPUP
========================================================= */

.layanan-card.active {
    position: fixed;

    top: 50%;
    left: 50%;

    width: min(900px, 90vw);
    height: auto;
    max-height: 85vh;

    padding: 22px;

    background: #eee7f2;

    border-radius: 14px;

    z-index: 9999;

    cursor: default;

    display: grid;

    /*
       KOLOM KIRI  = GAMBAR
       KOLOM KANAN = JUDUL + DESKRIPSI
    */

    grid-template-columns:
        minmax(300px, 42%)
        minmax(0, 58%);

    grid-template-rows:
        auto
        1fr;

    column-gap: 28px;
    row-gap: 15px;

    align-items: start;

    overflow-y: auto;

    box-shadow:
        0 25px 70px rgba(0, 0, 0, 0.45);

    transform:
        translate(-50%, -50%)
        scale(0.75);

    animation:
        layanan-card-open 0.35s ease forwards;
}


/* =========================================================
   ANIMASI
========================================================= */

@keyframes layanan-card-open {

    from {
        opacity: 0;

        transform:
            translate(-50%, -50%)
            scale(0.75);
    }

    to {
        opacity: 1;

        transform:
            translate(-50%, -50%)
            scale(1);
    }

}


/* =========================================================
   GAMBAR
   KIRI, MEMANJANG SEPANJANG AREA POPUP
========================================================= */

.layanan-card.active .layanan-card-image {
    grid-column: 1;
    grid-row: 1 / span 2;

    width: 100%;

    aspect-ratio: 16 / 9;

    background: #ffffff;

    border-radius: 8px;

    overflow: hidden;

    align-self: start;
}

.layanan-card.active .layanan-card-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: contain;
}


/* =========================================================
   TITLE
   KANAN - BARIS ATAS
========================================================= */

.layanan-card.active .layanan-card-title {

    display: flex;

    grid-column: 2;
    grid-row: 1;

    width: 100%;

    align-items: center;

    gap: 10px;

}

.layanan-card.active .layanan-card-title h3 {

    margin: 0;

    color: #4b0b68;

    font-size: 28px;

    font-weight: 700;

    line-height: 1.25;
}


/* =========================================================
   PLUS DISEMBUNYIKAN SAAT POPUP
========================================================= */

.layanan-card.active .layanan-icon {
    display: none;
}


/* =========================================================
   DESCRIPTION
   KANAN - DI BAWAH TITLE
========================================================= */

.layanan-card.active .layanan-card-description {

    display: block;

    grid-column: 2;
    grid-row: 2;

    width: 100%;

    max-height: 45vh;

    overflow-y: auto;

    padding-right: 10px;
}

.layanan-card.active .layanan-card-description p {

    margin: 0;

    color: #3e2547;

    font-size: 15px;

    line-height: 1.7;

    text-align: justify;
}


/* =========================================================
   SCROLLBAR DESKRIPSI
========================================================= */

.layanan-card.active
.layanan-card-description::-webkit-scrollbar {
    width: 6px;
}

.layanan-card.active
.layanan-card-description::-webkit-scrollbar-track {
    background: #ddd4e2;

    border-radius: 10px;
}

.layanan-card.active
.layanan-card-description::-webkit-scrollbar-thumb {
    background: #6b1688;

    border-radius: 10px;
}


/* =========================================================
   SCROLLBAR POPUP
========================================================= */

.layanan-card.active::-webkit-scrollbar {
    width: 6px;
}

.layanan-card.active::-webkit-scrollbar-track {
    background: transparent;
}

.layanan-card.active::-webkit-scrollbar-thumb {
    background: #6b1688;

    border-radius: 10px;
}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .layanan-card.active {

        width: 92vw;

        max-height: 90vh;

        padding: 15px;

        display: flex;

        flex-direction: column;

        gap: 15px;

        overflow-y: auto;
    }


    .layanan-card.active .layanan-card-image {

        width: 100%;

        aspect-ratio: 16 / 9;

        order: 1;
    }


    .layanan-card.active .layanan-card-title {

        display: block;

        order: 2;

        margin-top: 0;
    }


    .layanan-card.active .layanan-card-title h3 {

        font-size: 21px;
    }


    .layanan-card.active .layanan-card-description {

        order: 3;

        max-height: none;

        overflow: visible;

        padding-right: 0;
    }


    .layanan-card.active .layanan-card-description p {

        font-size: 14px;

        line-height: 1.6;

        text-align: left;
    }

    /* Main image tampil lebih dahulu */
    .fasilitas-showcase-main{
        order:1;

        min-height:0;

        height:auto;

        aspect-ratio:16 / 9;
    }

    .fasilitas-showcase-main img{
        height:100%;

        object-fit: cover;

        object-position:bottom;
    }

}


/* =========================================================
   HP SANGAT KECIL
   ========================================================= */

@media (max-width: 400px) {

    .layanan-grid {
        gap: 8px;
    }


    .layanan-card {
        padding: 5px;
    }


    .layanan-card.active {
        width: 94vw;

        padding: 12px;
    }


    .layanan-card.active
    .layanan-card-title h3 {
        font-size: 19px;
    }


    .layanan-card.active
    .layanan-card-description p {
        font-size: 13px;
    }

    /* Main image tampil lebih dahulu */
    .fasilitas-showcase-main{
        order:1;

        min-height:0;

        height:auto;

        aspect-ratio:16 / 9;
    }

    .fasilitas-showcase-main img{
        height:100%;

        object-fit: cover;

        object-position:bottom;
    }

}

/* ======================================================
   FOOTER
====================================================== */

.footer-section{

    margin-top:auto;

    width:100%;

    background:rgba(38,0,52,.55);
}

.footer{

    width:100%;

    padding:65px 0 20px;

    color:var(--white);
}

.footer-container{

    width:100%;

    max-width:var(--container-max);

    margin:0 auto;

    padding:0 35px;

    box-sizing:border-box;

    display:grid;

    grid-template-columns:1fr 1fr 1fr 1.5fr;

    gap:45px;

    align-items:start;
}

.footer-column,
.footer-social-column{

    display:flex;

    flex-direction:column;

    align-items:flex-start;
}

.footer h4{

    margin:0 0 18px;

    color:var(--white);

    font-size:15px;

    font-weight:800;

    line-height:1.2;
}

.footer-column > a{

    display:block;

    margin-bottom:11px;

    color:rgba(255,255,255,.7);

    font-size:13px;

    text-decoration:none;

    transition:.2s ease;
}

.footer-column > a:hover{

    color:var(--yellow);
}

.contact-item{

    display:flex !important;

    align-items:center;

    gap:10px;

    margin-bottom:11px;

    color:rgba(255,255,255,.7);

    font-size:13px;

    text-decoration:none;

    transition:.2s ease;
}

.contact-item:hover{

    color:var(--yellow);
}

.contact-icon{

    width:28px;

    height:28px;

    flex:0 0 28px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.1);

    color:var(--white);

    font-size:14px;
}

.footer-right{

    display:flex;

    gap:55px;
}

.footer-social{

    display:flex;

    gap:10px;
}

.footer-social a{

    width:36px;

    height:36px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    background:rgba(255,255,255,.1);

    color:var(--white);

    font-size:16px;

    text-decoration:none;

    transition:.25s ease;
}

.footer-social a:hover{

    background:var(--yellow);

    color:var(--primary);

    transform:translateY(-2px);
}

.footer-copyright{

    width:100%;

    max-width:var(--container-max);

    margin:50px auto 0;

    padding:20px 35px 0;

    box-sizing:border-box;

    border-top:1px solid rgba(255,255,255,.12);

    text-align:center;

    color:rgba(255,255,255,.5);

    font-size:12px;
}


/* ======================================================
   TABLET
====================================================== */

@media(max-width:800px){

    .footer{

        min-height:auto;

        padding:
            50px 0
            30px;

    }


    .footer-container{

        grid-template-columns:
            repeat(2,1fr);

        row-gap:35px;

        column-gap:35px;

    }


    .footer-right{

        grid-column:
            1 / -1;

        display:grid;

        grid-template-columns:
            1fr
            1fr;

        gap:30px;

    }

}


/* ======================================================
   MOBILE
====================================================== */

@media(max-width:500px){

    .footer-container{

        grid-template-columns:
            1fr
            1fr;

        padding:
            0 20px;

    }


    .footer-right{

        grid-template-columns:
            1fr;

    }


    .footer-copyright{

        padding:
            0 20px;

    }

}

/* =========================================================
   MOBILE — KELAS REGULER & PRIVAT
   Desktop tetap menggunakan .kelas-table.
========================================================= */

.kelas-mobile {
    display: none;
}


@media (max-width: 700px) {

    /* Desktop table disembunyikan di HP */
    .kelas-section .kelas-table {
        display: none;
    }


    /* Dua card: Reguler lalu Privat */
    .kelas-mobile {
        width: 100%;
        max-width: 500px;
        margin: 0 auto;

        display: flex;
        flex-direction: column;

        gap: 18px;
    }


    /* =====================================================
       CARD
    ===================================================== */

    .kelas-mobile-card {

        width: 100%;

        box-sizing: border-box;

        padding: 22px 18px 24px;

        background: #ffffff;

        color: var(--primary);

        border-radius: 12px;

        overflow: hidden;

        box-shadow:
            0 5px 18px
            rgba(0, 0, 0, 0.08);
    }


    /* =====================================================
       JUDUL
    ===================================================== */

    .kelas-mobile-card h3 {

        margin: 0 0 20px;

        text-align: center;

        font-size: 24px;

        line-height: 1.2;

        font-weight: 800;

        color: var(--primary);
    }


    /* =====================================================
       ITEM
    ===================================================== */

    .kelas-mobile-item {

        padding: 16px 0;

        border-top:
            1px solid #d8c7df;
    }


    .kelas-mobile-item h4 {

        margin: 0 0 8px;

        font-size: 16px;

        line-height: 1.3;

        font-weight: 800;

        font-style: italic;

        color: var(--primary);
    }


    .kelas-mobile-item strong {

        display: block;

        margin-bottom: 3px;

        font-size: 13px;

        line-height: 1.45;

        font-weight: 700;

        color: var(--primary);
    }


    .kelas-mobile-item p {

        margin: 0 0 10px;

        font-size: 13px;

        line-height: 1.55;

        color: #5d3470;
    }


    .kelas-mobile-item p:last-child {

        margin-bottom: 0;
    }


    /* =====================================================
       HARGA
    ===================================================== */

    .kelas-mobile-price {

        margin-top: 8px;

        padding-top: 20px;

        border-top:
            1px solid #d8c7df;

        text-align: center;
    }


    .kelas-mobile-price span {

        display: block;

        margin-bottom: 4px;

        font-size: 15px;

        line-height: 1.3;

        font-weight: 700;

        color: var(--primary);
    }


    .kelas-mobile-price strong {

        display: block;

        margin-bottom: 14px;

        font-size: 21px;

        line-height: 1.3;

        font-weight: 800;

        color: var(--primary);
    }


    .kelas-mobile-price small {

        font-size: 10px;

        font-weight: 600;
    }


    /* =====================================================
       BUTTON
    ===================================================== */

    .kelas-mobile-price .kelas-button {

        display: inline-flex;

        align-items: center;

        justify-content: center;

        padding: 10px 20px;

        min-height: 38px;

        box-sizing: border-box;

        border-radius: 12px;

        font-size: 12px;

        font-weight: 700;

        text-decoration: none;

        color: var(--primary);

        background: var(--yellow);

        border: 1px solid var(--primary);

        transition:
            transform .2s ease,
            box-shadow .2s ease;
    }


    .kelas-mobile-price .kelas-button:hover {

        transform: translateY(-2px);

        box-shadow:
            0 5px 12px
            rgba(0, 0, 0, 0.12);
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 400px) {

    .kelas-section {

        padding-left: 10px;
        padding-right: 10px;
    }


    .kelas-mobile {

        gap: 14px;
    }


    .kelas-mobile-card {

        padding:
            18px
            14px
            20px;
    }


    .kelas-mobile-card h3 {

        font-size: 21px;

        margin-bottom: 16px;
    }


    .kelas-mobile-item {

        padding: 14px 0;
    }


    .kelas-mobile-item h4 {

        font-size: 14px;
    }


    .kelas-mobile-item strong {

        font-size: 12px;
    }


    .kelas-mobile-item p {

        font-size: 11px;

        line-height: 1.5;
    }


    .kelas-mobile-price span {

        font-size: 13px;
    }


    .kelas-mobile-price strong {

        font-size: 19px;
    }


    .kelas-mobile-price .kelas-button {

        padding: 9px 17px;

        font-size: 11px;
    }

}



    /* ---------------- HEADER LAYANAN ---------------- */
    .paket-belajar-header {
        padding: 0;
    }

    .paket-belajar-header-container {
        width: 100%;
        max-width: none;
        padding: 88px 16px 20px;
        display: flex;
        flex-direction: column;
        gap: 6px;
        box-sizing: border-box;
    }

    .paket-belajar-header-text {
        width: 100%;
    }

    .paket-belajar-header-text h1 {
        font-size: 3rem;
        line-height: 1.08;
        margin: 0;
    }

    .paket-belajar-header-text p {
        margin-top: 10px;
        max-width: 100%;
        font-size: 0.9rem;
        line-height: 1.4;
    }

    .paket-belajar-header-image {
        width: 100%;
        margin-top: 2px;
    }

    .paket-belajar-header-image img {
        width: 100%;
        max-width: 500px;
        height: auto;
    }

    /* ---------------- LAYANAN ---------------- */
    .layanan-section {
        padding: 18px 16px 50px;
    }

    .layanan-container {
        width: 100%;
        max-width: 100%;
    }

    .layanan-heading {
        margin-bottom: 22px;
    }

    .layanan-heading h2 {
        font-size: 45px;
        line-height: 1.12;
    }

    .layanan-heading p {
        font-size: 35px;
        line-height: 1.15;
    }

    .layanan-grid {
        grid-template-columns: 1fr;
        gap: 16px;
        width: 100%;
    }

    .layanan-card {
        width: 100%;
        box-sizing: border-box;
        padding: 8px;
    }

    .layanan-card-image {
        width: 100%;
        aspect-ratio: 16 / 9;
    }

    /* Tetap sembunyikan detail sampai card diklik */
    .layanan-card:not(.active) .layanan-card-title,
    .layanan-card:not(.active) .layanan-card-description {
        display: none;
    }

@media (max-width: 400px) {

    .header .container {
        padding: 0 12px;
    }

    .logo img {
        height: 37px;
    }

    .btn-daftar-navbar {
        padding: 9px 13px;
        font-size: 11px;
    }

    .mobile-menu-toggle {
        width: 39px;
        height: 39px;
    }

    .paket-belajar-header-container {
        padding-left: 12px;
        padding-right: 12px;
        padding-top: 84px;
    }

    .paket-belajar-header-text h1 {
        font-size: 1.48rem;
    }

    .paket-belajar-header-text p {
        font-size: .7rem;
    }

    .paket-belajar-header-image img {
        max-width: 220px;
    }

    .layanan-section {
        padding-left: 12px;
        padding-right: 12px;
    }

    .layanan-heading h2 {
        font-size: 28px;
    }

    .layanan-heading p {
        font-size: 23px;
    }
}


/* =========================================================
   NAVBAR — SAMA DENGAN INDEX
   Hanya navbar yang diselaraskan; bagian lain tidak diubah.
========================================================= */

/* =========================================================
   RESPONSIVE FINAL + MOBILE NAVBAR POPUP
   Tambahan tanpa menghapus CSS sebelumnya
========================================================= */

/* ---------- LAPTOP / DESKTOP ---------- */

@media (min-width: 801px) {

    /* Navbar normal di laptop */
    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 999;
    }

    .nav-menu {
        display: flex;
    }

    /* Elemen menu mobile disembunyikan */
    .mobile-menu-toggle,
    .mobile-menu-close,
    .mobile-nav-overlay {
        display: none !important;
    }

    /* Grid yang bersebelahan tetap horizontal */
    .fasilitas-container {
        grid-template-columns: 1fr 1fr;
    }

    .keunggulan-container {
        grid-template-columns: minmax(300px, .65fr) minmax(600px, 1.35fr);
    }

    .teacher-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .lokasi-content {
        grid-template-columns: minmax(260px, .7fr) minmax(0, 1.3fr);
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 800px) {

    /* Semua layout dua kolom menjadi satu kolom */
    .hero-grid,
    .keunggulan-container,
    .fasilitas-container,
    .lokasi-content {
        grid-template-columns: 1fr;
    }

    /* Bagian yang sebelumnya menyamping menjadi vertikal */
    .hero-grid > *,
    .keunggulan-container > *,
    .fasilitas-container > *,
    .lokasi-content > * {
        width: 100%;
        max-width: 100%;
    }

    /* Teacher */
    .teacher-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    /* Footer */
    .footer-container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}


/* =========================================================
   MOBILE NAVBAR
   Tampilan mengikuti desain popup pada HP
========================================================= */

@media (max-width: 600px) {

    .header {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        z-index: 99999;
    }

    .navbar {
        position: relative;
        min-height: 50px;
    }

    /* Navbar desktop disembunyikan */
    .nav-menu {
        display: none;
    }

    /* Tombol hamburger / menu mobile
       Jika HTML menggunakan .mobile-menu-toggle */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        margin-left: auto;

        border: 2px solid var(--white);
        border-radius: 5px;

        background: transparent;
        color: var(--white);

        font-size: 22px;
        cursor: pointer;

        z-index: 100002;
    }

    /* Popup menu */
    .mobile-nav-overlay {
        position: fixed;
        inset: 0;

        display: flex;
        justify-content: flex-start;
        align-items: flex-start;

        background: rgba(0, 0, 0, .35);

        opacity: 0;
        visibility: hidden;
        pointer-events: none;

        transition:
            opacity .3s ease,
            visibility .3s ease;

        z-index: 100000;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    /* Kotak popup menu */
    .mobile-nav-menu {
        width: 100%;
        max-height: 100vh;
        overflow-y: auto;

        background: var(--primary);

        transform: translateY(-20px);
        opacity: 0;

        transition:
            transform .3s ease,
            opacity .3s ease;
    }

    .mobile-nav-overlay.active .mobile-nav-menu {
        transform: translateY(0);
        opacity: 1;
    }

    /* Header di dalam popup */
    .mobile-nav-header {
        min-height: 58px;

        display: flex;
        align-items: center;
        justify-content: space-between;

        padding: 8px 18px;

        background: var(--primary);
    }

    .mobile-nav-logo img {
        width: auto;
        height: 40px;
        display: block;
    }

    /* Tombol X */
    .mobile-menu-close {
        display: flex;
        align-items: center;
        justify-content: center;

        width: 42px;
        height: 42px;

        border: 2px solid var(--white);
        border-radius: 5px;

        background: transparent;
        color: var(--white);

        font-size: 22px;
        cursor: pointer;
    }

    /* List menu popup */
    .mobile-nav-menu ul {
        display: flex;
        flex-direction: column;

        width: 100%;

        margin: 0;
        padding: 0;

        list-style: none;
    }

    .mobile-nav-menu li {
        width: 100%;
    }

    .mobile-nav-menu li a {
        display: flex;
        align-items: center;

        width: 100%;
        min-height: 44px;

        padding: 10px 20px;

        color: var(--white);

        font-size: .85rem;
        font-weight: 600;

        transition:
            background .25s ease,
            color .25s ease;
    }

    .mobile-nav-menu li a:hover,
    .mobile-nav-menu li a.active {
        background: #FFD21F;
        color: var(--primary);
    }


    /* Dropdown Paket Belajar - versi popup mobile */
    .mobile-nav-menu .nav-dropdown-toggle {
        width: 100%;
        min-height: 44px;
        padding: 10px 20px;
        justify-content: space-between;
        color: var(--white);
        font-size: .85rem;
        font-weight: 600;
    }

    .nav-dropdown-menu {
        position: static;
        width: 100%;
        min-width: 0;
        padding: 0 0 5px;
        background: transparent;
        border: none;
        box-shadow: none;
        transform: none;
        opacity: 1;
        visibility: visible;
        display: none;
    }

    .nav-dropdown.active .nav-dropdown-menu {
        display: block;
        transform: none;
    }

    .mobile-nav-menu .nav-dropdown-menu a {
        padding: 10px 20px 10px 34px;
        font-size: .8rem;
        color: var(--white);
    }

    .mobile-nav-menu .nav-dropdown-menu a:hover {
        background: #FFD21F;
        color: var(--primary);
    }


    /* Tombol daftar tetap rapi di HP */
    .btn-daftar-navbar {
        padding: 9px 15px;
        font-size: .75rem;
    }


    /* =====================================================
       SEMUA SECTION: STACK KE BAWAH
    ===================================================== */

    .hero-grid,
    .keunggulan-container,
    .fasilitas-container,
    .lokasi-content {
        display: grid;
        grid-template-columns: 1fr !important;
        gap: 25px;
    }

    .teacher-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    /* Fasilitas */
    .fasilitas-content,
    .fasilitas-video,
    .fasilitas-mascot {
        grid-column: 1 !important;
        grid-row: auto !important;
        width: 100%;
    }

    /* Lokasi */
    .cabang-list,
    .lokasi-map {
        width: 100%;
    }

    /* Footer */
    .footer-container {
        grid-template-columns: 1fr;
        row-gap: 30px;
    }

    .footer-right {
        grid-column: 1;
        grid-template-columns: 1fr;
    }

}


/* =========================================================
   HP KECIL
========================================================= */

@media (max-width: 400px) {

    .container {
        width: calc(100% - 24px);
    }

    .navbar {
        gap: 7px;
    }

    .logo img {
        height: 38px;
    }

    .btn-daftar-navbar {
        padding: 8px 12px;
        font-size: .7rem;
    }

    .mobile-menu-toggle {
        width: 38px;
        height: 38px;
        font-size: 20px;
    }

    .mobile-nav-header {
        padding-inline: 14px;
    }

    .mobile-nav-menu li a {
        min-height: 42px;
        padding: 9px 18px;
        font-size: .8rem;
    }

    .hero-grid,
    .keunggulan-container,
    .fasilitas-container,
    .lokasi-content {
        gap: 20px;
    }

    .footer-container {
        padding-inline: 15px;
    }

}


/* =========================================================
   LAYANAN — DESKTOP & MOBILE TERPISAH
   Hanya mengatur section layanan.
========================================================= */

/* Default: desktop */
.layanan-section-desktop {
    display: block;
}

.layanan-section-mobile {
    display: none;
}

/* PC: 3 kolom */
.layanan-section-desktop .layanan-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 600px) {

    .layanan-section-desktop {
        display: none;
    }

    .layanan-section-mobile {
        display: block;
    }

    /* Tampilan mobile tetap menggunakan layout yang sekarang:
       kartu tersusun vertikal, tanpa mengubah isi kartu. */
    .layanan-section-mobile .layanan-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

}

/* HP sangat kecil */
@media (max-width: 400px) {

    .layanan-section-mobile .layanan-grid {
        grid-template-columns: 1fr;
        gap: 8px;
    }

}


/* =========================================================
   FIX HEADER LAYANAN
   PC  : teks + gambar berdampingan
   HP  : teks di atas, gambar di bawah
   HANYA HEADER YANG DIATUR
========================================================= */

/* PC / DESKTOP */
.paket-belajar-header-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    column-gap: 30px;
}

.paket-belajar-header-text {
    text-align: center;
}

.paket-belajar-header-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* TABLET + MOBILE */
@media (max-width: 800px) {

    .paket-belajar-header-container {
        display: grid;
        grid-template-columns: 1fr;
        row-gap: 10px;
    }

    .paket-belajar-header-text {
        order: 1;
        text-align: center;
    }

    .paket-belajar-header-image {
        order: 2;
        display: flex;
        align-items: center;
        justify-content: center;
    }

}

/* =========================================================
   COMMON BPM NAVBAR
   MASTER VERSION — BASED ON LOKASI
   Semua halaman menggunakan navbar yang sama persis.
   ========================================================= */

/* ================= NAVBAR BASE ================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 99999;
    transition: .3s ease;
}

.header.scrolled {
    background: rgba(31, 0, 43, .88);
    backdrop-filter: blur(14px);
    box-shadow: 0 10px 35px rgba(0, 0, 0, .18);
}

.navbar {
    min-height: 86px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
}

.logo {
    flex-shrink: 0;
}

.logo img {
    width: auto;
    height: 64px;
}

.nav-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 32px;
    list-style: none;
    margin-left: auto;
}

.nav-menu > li {
    position: relative;
}

.nav-menu > li > a,
.nav-dropdown-toggle {
    display: flex;
    align-items: center;
    gap: 7px;
    color: var(--white);
    background: transparent;
    font-size: 14px;
    font-weight: 700;
    white-space: nowrap;
    transition: .25s ease;
}

.nav-menu > li > a:hover,
.nav-menu > li > a.active,
.nav-dropdown-toggle:hover {
    color: var(--yellow);
}

.nav-dropdown-toggle {
    border: none;
    outline: none;
    cursor: pointer;
    font-family: inherit;
}

.nav-dropdown-toggle i {
    font-size: 10px;
    transition: transform .25s ease;
}

.nav-dropdown.active .nav-dropdown-toggle i {
    transform: rotate(180deg);
}

.nav-dropdown-menu {
    position: absolute;
    top: calc(100% + 18px);
    left: 50%;
    transform: translateX(-50%) translateY(8px);
    width: 190px;
    padding: 8px;
    background: var(--white);
    border-radius: 13px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, .25);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: .2s ease;
    z-index: 100000;
}

.nav-dropdown.active .nav-dropdown-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}

.nav-dropdown-menu::before {
    content: "";
    position: absolute;
    top: -7px;
    left: 50%;
    width: 14px;
    height: 14px;
    background: var(--white);
    transform: translateX(-50%) rotate(45deg);
}

.nav-dropdown-menu a {
    position: relative;
    z-index: 1;
    display: block;
    padding: 11px 13px;
    border-radius: 9px;
    color: var(--primary);
    background: transparent;
    font-size: 13px;
    font-weight: 700;
    transition: .2s ease;
}

.nav-dropdown-menu a:hover {
    background: var(--soft-purple, #eee2f2);
    color: var(--secondary);
}

.btn-daftar-navbar {
    flex-shrink: 0;
    padding: 12px 21px;
    border-radius: 30px;
    background: var(--yellow);
    color: var(--primary);
    font-size: 13px;
    font-weight: 800;
    transition: .25s ease;
}

.btn-daftar-navbar:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(253, 181, 21, .25);
}

.mobile-menu-toggle {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: rgba(255, 255, 255, .12);
    color: var(--white);
    font-size: 20px;
    border: none;
}

.mobile-nav-overlay {
    display: none;
}

/* ================= MOBILE NAVBAR ================= */

@media (max-width: 900px) {

    .nav-menu,
    .btn-daftar-navbar {
        display: none;
    }

    .navbar {
        min-height: 74px;
    }

    .logo img {
        height: 54px;
    }

    .mobile-menu-toggle {
        display: grid;
        place-items: center;
    }

    .mobile-nav-overlay {
        position: fixed;
        inset: 0;
        z-index: 999999;
        display: flex;
        justify-content: flex-end;
        background: rgba(0, 0, 0, .55);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: .25s ease;
    }

    .mobile-nav-overlay.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }

    .mobile-nav-panel {
        width: min(320px, 88%);
        height: 100%;
        padding: 25px 22px;
        overflow-y: auto;
        background: #ffffff;
        color: var(--primary);
        transform: translateX(100%);
        transition: .3s ease;
    }

    .mobile-nav-overlay.active .mobile-nav-panel {
        transform: translateX(0);
    }

    .mobile-menu-close {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        margin-left: auto;
        border-radius: 10px;
        background: #eee2f2;
        color: var(--primary);
        font-size: 20px;
        border: none;
    }

    .mobile-nav-logo {
        display: block;
        width: 72px;
        height: 72px;
        margin: 10px auto 25px;
        object-fit: contain;
    }

    .mobile-nav-panel > a,
    .mobile-dropdown-toggle {
        display: flex;
        align-items: center;
        justify-content: space-between;
        width: 100%;
        padding: 15px 5px;
        border: none;
        border-bottom: 1px solid rgba(68, 5, 93, .14);
        background: transparent;
        color: var(--primary);
        font-size: 15px;
        font-weight: 800;
        text-align: left;
        font-family: inherit;
        cursor: pointer;
    }

    .mobile-nav-panel > a.active {
        color: var(--secondary);
    }

    .mobile-dropdown-menu {
        display: none;
        padding: 4px 0 8px 15px;
    }

    .mobile-dropdown.active .mobile-dropdown-menu {
        display: block;
    }

    .mobile-dropdown-menu a {
        display: block;
        padding: 10px 5px;
        color: #765f7d;
        font-size: 13px;
        font-weight: 700;
    }

    .mobile-dropdown-toggle i {
        transition: .2s ease;
    }

    .mobile-dropdown.active .mobile-dropdown-toggle i {
        transform: rotate(180deg);
    }

    .mobile-register {
        display: flex !important;
        align-items: center;
        justify-content: center !important;
        margin-top: 25px;
        padding: 15px 5px !important;
        border: none !important;
        border-radius: 30px;
        background: var(--yellow);
        color: var(--primary) !important;
    }
}

@media (max-width: 600px) {

    .mobile-nav-panel {
        width: min(320px, 88%);
        padding: 25px 22px;
    }
}