body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #f8f8f8;
}
body a {
    color: #202020;
}
body a:hover {
    color: gray;
    text-decoration: none;
}
/* TOP BAR */
.top-bar {
    background: linear-gradient(145deg, #07015f, #1925afab);
    color: #f1ee03;
    font-size: 14px;
    padding: 16px 0 0;
}
.top-bar a {
    color: #fffb00;
}
.top-bar a:hover {
    color: #fff;
}
.top-bar i {
    margin-right: 5px;
}
/* Close button bulat merah */
.close-btn {
    display: inline-block;
    width: 30px;
    height: 30px;
    background: #ee3925; /* merah agak gelap yang keren */
    color: white;
    font-size: 25px;
    line-height: 5px;
    text-align: center;
    border-radius: 50%;
    cursor: pointer;
    border: none;
    padding: 0;
    transition: background-color 0.3s ease, transform 0.3s ease;
    user-select: none;
}

.close-btn:hover,
.close-btn:focus {
    background: #c0392b; /* merah lebih gelap saat hover/focus */
    outline: none;
    transform: scale(1.15);
}

/* ===== Overlay ===== */
.menu-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(15, 15, 40, 0.6);
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(4px);
    will-change: opacity;
}
.menu-overlay.show {
    display: block;
    opacity: 1;
}

/* ===== Offcanvas Kanan SUB Menu Mobile ===== */
.mobile-offcanvas {
    position: fixed;
    top: 0;
    right: -320px;
    width: 320px;
    height: 100vh;
    background: linear-gradient(136deg, #0c0720fa, #05038fbd);
    box-shadow: -8px 0 24px rgba(22, 7, 240, 0.45);
    z-index: 10000;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 0 0 0 24px;
    color: #eee;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    opacity: 0;
    transform: translateX(100%) translateY(-15px);
    transition: right 0.45s cubic-bezier(0.25, 0.8, 0.25, 1), opacity 0.4s ease,
        transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}
.mobile-offcanvas.show {
    right: 0;
    opacity: 1;
    transform: translateX(0) translateY(0);
}

/* ===== Header ===== */
.mobile-offcanvas-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 22px 28px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.315);
    background: rgba(1, 2, 100, 0.822);
    box-shadow: 0 3px 8px rgba(141, 141, 141, 0.3);
    backdrop-filter: saturate(180%) blur(10px);
    flex-shrink: 0;
    border-radius: 0 0 24px 0;
    user-select: none;
}
.brand-box {
    display: flex;
    align-items: center;
}
.brand-logo {
    width: 40px;
    height: 40px;
    margin-right: 14px;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 12px rgba(160, 100, 255, 0.6);
    transition: transform 0.35s ease;
}
.brand-logo:hover {
    transform: scale(1.1) rotate(6deg);
}
.brand-name {
    font-weight: 900;
    font-size: 1.4rem;
    color: #ffffff;
    text-shadow: 0 0 15px #1818188f;
    letter-spacing: 0.07em;
    user-select: none;
}

/* ===== Menu List/ Garis line ===== */
.menu-list {
    list-style: none;
    margin: 0;
    padding: 14px 0;
    flex-grow: 1;
}
.menu-list > li {
    border-bottom: 1px solid rgba(255, 255, 255, 0.295);
    position: relative;
    user-select: none;
}
.menu-list a {
    display: block;
    padding: 16px 28px;
    color: #ffffff;
    font-weight: 700;
    font-size: 1.1rem;
    text-decoration: none;
    transition: background-color 0.35s ease, color 0.35s ease,
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 8px;
    opacity: 0;
    transform: translateY(-15px);
    animation-fill-mode: forwards;
}
.menu-list a.show-anim {
    animation: slideDownFade 0.4s forwards;
}
@keyframes slideDownFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Icon di Home */
.menu-list > li > a i.fa {
    margin-right: 14px;
    font-size: 1.3rem;
}

/* ===== Submenu Toggle Button ===== */
.submenu-toggle {
    position: absolute;
    right: 28px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    cursor: pointer;
    color: #edf103dc;
    font-size: 16px;
    padding: 8px;
    transition: color 0.35s ease, transform 0.4s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    user-select: none;
    border-radius: 8px;
}
.submenu-toggle:hover {
    color: #fff;
    background: rgba(58, 3, 209, 0.856);
}
.submenu-toggle[aria-expanded='true'] i {
    transform: rotate(180deg);
    transition: transform 0.4s ease;
}

/* ===== Submenu Mobile ===== */
.submenu {
    max-height: 0;
    overflow: hidden;
    padding-left: 24px;
    background: linear-gradient(90deg, rgba(34, 19, 163, 0.911), rgba(251, 251, 255, 0.322));
    transition: max-height 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.35s ease;
    border-left: 3px solid #ad6fff;
    border-radius: 0 10px 10px 0;
    opacity: 0;
}
.submenu.show {
    max-height: 1000px;
    opacity: 1;
}

/* Submenu Links */
.submenu li a {
    padding: 12px 28px;
    font-size: 1rem;
    color: #f3f3f3;
    font-weight: 600;
    border-radius: 6px;
    transition: background-color 0.3s ease, color 0.3s ease,
        transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    transform: translateY(-12px);
    animation-fill-mode: forwards;
}
.submenu li a.show-anim {
    animation: slideDownFade 0.35s forwards;
}
.submenu li a:hover,
.submenu li a:focus {
    background: rgba(255 255 255 / 0.2);
    color: #f0eaff;
    outline: none;
    transform: scale(1.05);
}

/* ===== Custom Scrollbar ===== */
.mobile-offcanvas::-webkit-scrollbar {
    width: 6px;
}
.mobile-offcanvas::-webkit-scrollbar-track {
    background: transparent;
}
.mobile-offcanvas::-webkit-scrollbar-thumb {
    background: rgba(173, 111, 255, 0.7);
    border-radius: 12px;
    transition: background-color 0.3s ease;
}
.mobile-offcanvas::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 192, 255, 0.9);
}
/* Firefox scrollbar */
@-moz-document url-prefix() {
    .mobile-offcanvas {
        scrollbar-width: thin;
        scrollbar-color: rgba(173, 111, 255, 0.7) transparent;
    }
}

/* ===== Responsive tweaks ===== */
@media (max-width: 360px) {
    .mobile-offcanvas {
        width: 100vw;
    }
    .submenu-toggle {
        right: 14px;
    }
    .menu-list a,
    .submenu li a {
        padding-left: 22px;
    }
}

/* Fungsi untuk menu dekstop pojok kanan atas agar bisa slide warna samping pencarian */
.btn-jenjang {
    border: none;
    color: #fff;
    padding: 8px 18px;
    margin: 2px;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease-in-out;
}

.btn-tk,
.btn-sd,
.btn-smp,
.btn-sma {
    background-color: #3498db;
}
.btn-cari {
    background-color: #2004bd;
}
.btn-jenjang:hover {
    background-color: #ffc400 !important;
    color: #020327 !important;
    transform: translateY(-2px);
    box-shadow: 0 0 8px rgba(255, 196, 0, 0.6);
}

/* MENU BAR Garis Menu */
.menu-bar {
    text-transform: uppercase;
    font-weight: bold;
    background-color: #071e9e;
    border-bottom: 4px solid #e7d10a;
}
.sticky.is-sticky {
    position: fixed;
    left: 0;
    right: 0;
    top: 0;
    z-index: 1000;
    width: 100%;
}
.sm-clean {
    background: #071e9e;
}
.sm-clean ul {
    background: linear-gradient(145deg, #150452, #0e19a8ab);
}
.sm-clean ul a {
    color: #fff;
}
/* Dropdown hover background Menu */
.sm-clean ul a:hover,
.sm-clean ul a:focus,
.sm-clean ul a:active,
.sm-clean ul a.highlighted {
    background: #5b62886b;
    color: #fff;
}

/* CAROUSEL */
.carousel-caption {
    border-top: 1px solid #fff;
    color: #fff;
    background: linear-gradient(145deg, #0a022b, #1e2ddaee);
    opacity: 0.7;
    right: 0;
    left: 0;
    text-align: left;
    padding: 30px;
}
.carousel-caption h2 {
    color: #fff;
}
.carousel-indicators li {
    background-color: #fff;
}
.carousel-indicators .active {
    background-color: #dfdb0e;
}

/*  LOGO */
.brand {
    font-family: Arial, sans-serif, 'Helvetica Neue', Helvetica;
    font-weight: bold;
    text-transform: uppercase;
    color: #ffffff;
    text-shadow: 0 0 5px #06000fef;
}

/* PAGE TITLE Garis 2 warna*/
.page-title {
    font-weight: bold;
    border-bottom: 3px solid #071e9e;
    margin-bottom: 15px;
    padding-bottom: 10px;
    margin-top: 0px;
}
.page-title:after {
    border-bottom: 3px solid #e7d106;
    width: 30%;
    display: block;
    position: absolute;
    content: '';
    padding-bottom: 10px;
}
footer .page-title:after {
    border-bottom: 3px solid #e7d106;
}
/* TESTIMONI Teks Berjalan */
.quote {
    overflow: hidden;
    background-color: #0320c7;
}
.quote-title {
    font-size: 14px;
    font-weight: bold;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px 15px;
    color: #fff;
    float: left;
    background-color: #040261;
    left: 0px;
    top: 0px;
    height: 50px;
}
ul.quote {
    display: block;
    padding: 0;
    margin: 0;
    list-style: none;
    line-height: 1;
    position: relative;
    overflow: hidden;
    height: 50px;
    background-color: transparent;
}
ul.quote li {
    color: #fff;
    position: absolute;
    top: -950em;
    left: 0;
    display: block;
    white-space: nowrap;
    font: 14px Helvetica, Arial, sans-serif;
    padding: 17px 15px 15px 15px;
}
ul.quote li span {
    color: #f7f30a;
    font-weight: bold;
}
.keranjang-kuning {
  color: #FFFF00; 
}

/*  Conten */
h5.card-title {
    font-size: 16px;
    font-weight: bold;
}

/* Sidebar */
.sidebar .list-group-item {
    border: 1px solid #6c757d;
}
/* Hilangkan batas lebar container */
.container {
    max-width: 100% !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* Hilangkan margin default pada row */
.row {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

/* Hanya slider & banner yang benar-benar full width */
.slider-container img,
.carousel-inner img {
    width: 100% !important;
    height: auto;
}

/* Opsional: jika footer ingin full width */
footer {
    max-width: 100%;
    padding-left: 0;
    padding-right: 0;
}

/* Footer */
footer {
    color: #fff;
    font-size: 14px;
}
footer .widget-box {
    background: linear-gradient(145deg, #042fa3, #a8b4f880);
    padding: 30px 0;
}
footer .widget-box-1 {
    background: linear-gradient(145deg, #042fa3, #a8b4f880);
}
footer .widget-box-2 {
    background-color: #071770;
}
footer .widget-box-3 {
    background: linear-gradient(145deg, #042fa3, #a8b4f880);
}
footer .widget-box-4 {
    background: linear-gradient(145deg, #042fa3, #a8b4f880);
}
footer .primary-footer {
    background-color: #210372;
    padding: 30px 0;
}
footer .secondary-footer {
    border-top: 1px solid #f3b303;
    background: linear-gradient(145deg, #021549, #00010aec);
    padding: 10px 0;
}
footer .copyright {
    color: #ffffff;
    /* border-top: 1px solid #fff; */
    font-size: 10px;
    letter-spacing: 1px;
}
footer a {
    color: #ffee00;
}
footer a:hover {
    color: rgb(255, 255, 255);
}
footer .page-title {
    color: #ffee00;
}
.social-icon {
    width: 40px;
    height: 40px;
    font-size: 15px;
    background-color: blue;
    color: #fff;
    text-align: center;
    margin-right: 10px;
    padding-top: 12px;
    border-radius: 50%;
}
.whatsapp {
    background-color: #15aa07;
    shadow: 0 0 10px #fefdffef;
}
.tiktok {
    background-color: #020514;
}
.facebook {
    background-color: #3b5998;
}
.twitter {
    background-color: #1da1f2;
}
.telegram {
    background-color: #3eb0f7;
}
.snackvideo {
    background-color: #dd6706;
}
.instagram {
    background-color: #f308b8;
}
.youtube {
    background-color: #ef4e17;
}
.linked-in {
    background-color: #007bb6;
}
.primary-footer nav ol.breadcrumb {
    background-color: transparent;
}

/* Tags */
.tag-content-block {
    display: block;
}
.tag a {
    border: 1px solid #fff;
    padding: 12px 10px 8px 10px;
    color: #fff;
    display: inline-block;
    font-size: 12px;
    text-transform: uppercase;
    line-height: 11px;
    margin-bottom: 5px;
    margin-right: 2px;
    text-decoration: none;
}
.tag a:hover {
    border: 1px solid #44afae;
    color: #fff;
}

/* Fullscreen Search */
#search_form {
    z-index: 999999;
    position: fixed;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    -webkit-transition: all 0.5s ease-in-out;
    -moz-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    -ms-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
    -webkit-transform: translate(0px, -100%) scale(0, 0);
    -moz-transform: translate(0px, -100%) scale(0, 0);
    -o-transform: translate(0px, -100%) scale(0, 0);
    -ms-transform: translate(0px, -100%) scale(0, 0);
    transform: translate(0px, -100%) scale(0, 0);

    opacity: 0;
}

#search_form.open {
    -webkit-transform: translate(0px, 0px) scale(1, 1);
    -moz-transform: translate(0px, 0px) scale(1, 1);
    -o-transform: translate(0px, 0px) scale(1, 1);
    -ms-transform: translate(0px, 0px) scale(1, 1);
    transform: translate(0px, 0px) scale(1, 1);
    opacity: 1;
}

#search_form input[type='search_form'] {
    position: absolute;
    top: 50%;
    width: 100%;
    color: rgb(255, 255, 255);
    background: rgba(0, 0, 0, 0);
    font-size: 60px;
    font-weight: 300;
    text-align: center;
    border: 0px;
    margin: 0px auto;
    margin-top: -51px;
    padding-left: 30px;
    padding-right: 30px;
    outline: none;
}
#search_form .btn {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-top: 61px;
    margin-left: -45px;
}

/* Responsive */
/*  Extra small devices (portrait phones, less than 576px) */
@media (max-width: 575.98px) {
    .top-left {
        text-align: center !important;
    }
    .top-right {
        display: none;
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .top-left {
        text-align: center !important;
    }
    .top-right {
        display: none;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .top-left {
        text-align: center !important;
    }
    .top-right {
        display: none;
    }
}

/* Overide Toastr color */
.toast {
    background-color: #030303;
}
/* custom toastr success */
.toast-success {
    background-color: #00cb18;
}
/* custom toastr error */
.toast-error {
    background-color: #ef5137;
}
/* custom toastr info */
.toast-info {
    background-color: #4b8df8;
}
/* custom toastr warning */
.toast-warning {
    background-color: #ffb848;
}
.toast-title,
.toast-message {
    text-align: left;
}
.top-header {
    display: flex;
    align-items: center; /* vertical alignment */
}
/* return to top */
#return-to-top {
    opacity: 0.7;
    z-index: 10000;
    position: fixed;
    bottom: 15px;
    right: 15px;
    background: #44afae;
    width: 30px;
    height: 30px;
    display: block;
    text-decoration: none;
    display: none;
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top i {
    color: #fff;
    margin: 0;
    position: relative;
    left: 9px;
    top: 5px;
    font-size: 19px;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}
#return-to-top:hover {
    background: #000;
}
#return-to-top:hover i {
    color: #fff;
}

.form-group:hover {
    background-color: #f9ffda;
}

.btn-success {
    background-color: #44afae !important;
    border-color: #44afae;
}
.btn-success:hover {
    background-color: #349997 !important;
    border-color: #44afae;
}

/* === Responsive Iframe Wrapper === */
.iframe-wrapper {
  position: relative;
  max-width: 1200px;   /* batas lebar di desktop */
  margin: 0 auto;
}

.iframe-wrapper iframe {
  width: 100%;
  height: 600px;       /* tinggi default desktop */
  border: none;
  display: block;
}

/* Mobile (max 768px) */
@media (max-width: 768px) {
  .iframe-wrapper {
    max-width: 100% !important;
    margin: 0 !important;
  }

  .iframe-wrapper iframe {
    width: 100vw;      /* full layar HP */
    height: 400px;     /* lebih proporsional di mobile */
}
}

