/* ============================================
   RSP TRAINING CENTER - CUSTOM STYLES
   ============================================ */

/* ============================================
   VISIBILITY CONTROL - PALING PENTING!
   ============================================ */

/* Desktop: Hide Mobile Elements */
.mobile-only {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* Desktop: Show Desktop Elements */
.desktop-only {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
}

/* Mobile: Hide Desktop, Show Mobile */
@media (max-width: 768px) {
    .desktop-only {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .mobile-only {
        display: block !important;
        visibility: visible !important;
        opacity: 1 !important;
        pointer-events: auto !important;
    }
}

/* ============================================
   TABLE STYLES
   ============================================ */
.custom-table {
    border-collapse: collapse;
    width: 100%;
    border: 2px solid #000;
    font-family: sans-serif;
}

.custom-table thead th {
    background-color: #000;
    color: #ffc415;
    padding: 15px;
    text-align: center;
    border: 1px solid #333;
    font-size: 1.1em;
    font-weight: bold;
}

.custom-table td {
    padding: 12px 15px;
    border: 1px solid #ccc;
    line-height: 1.5;
    color: #333;
}

.custom-table tbody tr:nth-child(odd) {
    background-color: #fff;
}

.custom-table tbody tr:nth-child(even) {
    background-color: rgba(255, 196, 21, 0.1);
}

.custom-table tbody tr:hover {
    background-color: rgba(255, 196, 21, 0.2);
    transition: background-color 0.3s ease;
}

/* ============================================
   HEADER STYLES
   ============================================ */

header#globalNavi.header {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
    background: transparent;
    transition: all 0.4s ease-in-out;
    padding: 15px 0;
}

header#globalNavi.header.scrolled,
header#globalNavi.header.fixed {
    position: fixed !important;
    top: 0 !important;
    background: #ffffff !important;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    padding: 10px 0;
    animation: slideDown 0.3s ease-out;
}

@keyframes slideDown {
    from { 
        transform: translateY(-100%); 
        opacity: 0;
    }
    to { 
        transform: translateY(0); 
        opacity: 1;
    }
}

header#globalNavi .header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ============================================
   LOGO STYLES
   ============================================ */

.logo_container {
    flex-shrink: 0;
}

.pc-logo,
.sp_logo {
    margin: 0;
}

.pc-logo img,
.sp_logo img {
    width: auto;
    height: auto;
    display: block;
}

.pc-logo img {
    max-height: 50px;
    max-width: 200px;
}

.sp_logo img {
    max-height: 40px;
    max-width: 150px;
}

header#globalNavi.header:not(.scrolled) .pc-logo img,
header#globalNavi.header:not(.scrolled) .sp_logo img {
    filter: none;
}

header#globalNavi.header.scrolled .pc-logo img,
header#globalNavi.header.scrolled .sp_logo img {

}

/* ============================================
   DESKTOP NAVIGATION
   ============================================ */

.header_nav_wrap {
    margin-left: auto;
}

.header_nav_wrap .menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.header_nav_wrap .menu-item {
    margin: 0 15px;
}

header#globalNavi.header .menu > li > a {
    color: #ffffff;
    text-decoration: none;
    transition: color 0.3s ease;
    font-weight: 500;
}

header#globalNavi.header.scrolled .menu > li > a {
    color: #000000;
}

header#globalNavi.header .menu > li > a:hover {
    opacity: 0.8;
}

.header_contact {
    margin-left: 15px;
}

header#globalNavi.header .menu > li.header_contact > a,
.btn-contact {
    background: #ffc415 !important;
    color: #000 !important;
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s ease;
}

header#globalNavi.header .menu > li.header_contact > a:hover,
.btn-contact:hover {
    background: #e6b013 !important;
    transform: translateY(-2px);
}

/* ============================================
   DROPDOWN SUBMENU (DESKTOP) - IMPROVED
   ============================================ */

.menu-item-has-children {
    position: relative;
}

/* Submenu dengan delay dan safe zone */
.menu-item-has-children .sub-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 280px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
    border-radius: 8px;
    padding: 15px 0;
    margin-top: 0; /* Hapus gap, langsung nyambung */
    list-style: none;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 9999;
    pointer-events: none; /* Disable pointer saat hidden */
}

/* IMPORTANT: Submenu muncul saat hover parent */
.menu-item-has-children:hover .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
    pointer-events: auto; /* Enable pointer saat visible */
    transition-delay: 0s; /* Muncul instant */
}

/* PENTING: Tambah delay saat mau hilang */
/* CSS untuk JavaScript mode */
.menu-item-has-children .sub-menu {
    display: none; /* Hidden by default */
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item-has-children.menu-open .sub-menu {
    display: block;
}

.menu-item-has-children:hover .sub-menu {
    transition-delay: 0s; /* Hilangkan delay saat hover */
}

/* Safe zone: Extend hover area */
.menu-item-has-children::before {
    content: '';
    position: absolute;
    top: 100%;
    left: -20px;
    right: -20px;
    height: 20px; /* Safe zone 20px */
    background: transparent;
    z-index: 9998;
}

/* Submenu Items */
.sub-menu li {
    margin: 0 !important;
    padding: 0;
    border-bottom: 1px solid #f0f0f0;
}

.sub-menu li:last-child {
    border-bottom: none;
}

.sub-menu li a {
    display: block;
    padding: 12px 25px;
    color: #333 !important;
    font-size: 0.9em;
    font-weight: 400;
    text-decoration: none;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.sub-menu li a:hover {
    background: rgba(255, 196, 21, 0.1);
    color: #000 !important;
    padding-left: 30px;
}

.sub-menu li.current-menu-item a,
.sub-menu li.current_page_item a {
    background: rgba(255, 196, 21, 0.15);
    color: #000 !important;
    font-weight: 500;
    border-left: 3px solid #ffc415;
}

/* Arrow indicator */
.menu-item-has-children > a::after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 5px solid currentColor;
    vertical-align: middle;
    transition: transform 0.3s ease;
}

.menu-item-has-children:hover > a::after {
    transform: rotate(180deg);
}

/* Submenu di Header Scrolled */
header#globalNavi.header.scrolled .sub-menu {
    background: #ffffff;
}

header#globalNavi.header.scrolled .sub-menu li a {
    color: #333 !important;
}

/* Submenu di Header Transparent */
header#globalNavi.header:not(.scrolled) .sub-menu {
    background: #ffffff;
    margin-top: 0;
}

header#globalNavi.header:not(.scrolled) .sub-menu li a {
    color: #333 !important;
}

/* ============================================
   MOBILE MENU - COMPLETE
   ============================================ */

/* Hamburger Button */
.zdo_drawer_menu {
    flex-shrink: 0;
    position: relative;
    z-index: 10000;
}

.zdo_drawer_button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    position: relative;
    z-index: 10001;
}

.zdo_drawer_bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation saat Terbuka */
.zdo_drawer_button.active .zdo_drawer_bar1 {
    transform: rotate(45deg) translate(7px, 7px);
}

.zdo_drawer_button.active .zdo_drawer_bar2 {
    opacity: 0;
}

.zdo_drawer_button.active .zdo_drawer_bar3 {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Drawer Container */
.zdo_drawer_nav_wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.zdo_drawer_nav_wrapper.active {
    right: 0;
}

/* Drawer Content */
.zdo_drawer_nav {
    padding: 80px 0 30px;
}

.zdo_drawer_nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Menu Items */
.zdo_drawer_nav .menu > li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
}

.zdo_drawer_nav .menu > li:last-child {
    border-bottom: none;
}

.zdo_drawer_nav .menu > li > a {
    display: block;
    padding: 18px 30px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
    position: relative;
}

.zdo_drawer_nav .menu > li > a:hover {
    background: rgba(255, 196, 21, 0.1);
    color: #ffc415;
}

/* Submenu Accordion */
.zdo_drawer_nav .menu-item-has-children > a {
    padding-right: 60px;
}

.zdo_drawer_nav .menu-item-has-children > a::after {
    content: '+';
    position: absolute;
    right: 30px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    font-weight: 300;
    transition: all 0.3s ease;
    color: #666;
}

.zdo_drawer_nav .menu-item-has-children.active > a::after {
    content: '−';
    color: #ffc415;
}

/* Submenu */
.zdo_drawer_nav .sub-menu {
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.zdo_drawer_nav .menu-item-has-children.active .sub-menu {
    max-height: 600px;
}

.zdo_drawer_nav .sub-menu li {
    border-bottom: 1px solid #e8e8e8;
}

.zdo_drawer_nav .sub-menu li:last-child {
    border-bottom: none;
}

.zdo_drawer_nav .sub-menu li a {
    display: block;
    padding: 14px 30px 14px 50px;
    color: #555;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
    transition: all 0.3s ease;
}

.zdo_drawer_nav .sub-menu li a:hover {
    background: rgba(255, 196, 21, 0.15);
    color: #000;
    padding-left: 55px;
}

.zdo_drawer_nav .sub-menu li a::before {
    content: '→';
    margin-right: 8px;
    color: #ffc415;
    font-size: 0.9em;
}

/* Overlay */
.zdo_drawer_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9997;
}

.zdo_drawer_overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent Body Scroll when Drawer Open */
body.drawer-open {
    overflow: hidden;
    position: fixed;
    width: 100%;
}

/* Mobile Specific */
@media only screen and (max-width: 768px) {
    .zdo_drawer_nav_wrapper {
        width: 85%;
        max-width: 340px;
    }
    
    header#globalNavi.header .zdo_drawer_bar {
        background-color: #000 !important;
    }
}

/* ============================================
   FOOTER STYLES
   ============================================ */

.footer {
    background-color: #000;
    color: #fff;
    padding-top: 60px;
    border-top: 5px solid #ffc415;
}

.footer__menu-title {
    color: #ffc415;
    font-weight: bold;
    margin-bottom: 20px;
    font-size: 1.1em;
}

.footer .menu li a {
    color: #ccc;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9em;
    display: inline-block;
}

.footer .menu li a:hover {
    color: #ffc415;
    padding-left: 5px;
}

.footer__bottom {
    background-color: #111;
    padding: 20px 0;
    margin-top: 40px;
    border-top: 1px solid #333;
}

.footer__bottom small {
    color: #777;
    font-size: 0.85em;
}

.footer__add-heading {
    color: #ffc415;
    font-weight: bold;
    margin-bottom: 5px;
}

/* ============================================
   MOBILE RESPONSIVE
   ============================================ */

@media only screen and (max-width: 768px) {
    header#globalNavi.header {
        position: fixed !important;
        background: #ffffff !important;
        padding: 10px 15px !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    }
    
    header#globalNavi .header-inner {
        padding: 0 15px;
    }
    
    .sp_logo img {
        filter: none !important;
    }
    
    header#globalNavi.header .zdo_drawer_bar {
        background-color: #000 !important;
    }
    
    .custom-table {
        font-size: 0.9em;
    }
    
    .custom-table thead th,
    .custom-table td {
        padding: 10px 8px;
    }
    
    .footer {
        padding-top: 40px;
    }
    
    .zdo_drawer_nav_wrapper {
        width: 75%;
        max-width: 320px;
    }
}

@media only screen and (max-width: 1024px) and (min-width: 769px) {
    header#globalNavi .header-inner {
        padding: 0 30px;
    }
    
    .header_nav_wrap .menu-item {
        margin: 0 10px;
    }
}

/* ============================================
   UTILITY CLASSES
   ============================================ */

.text-yellow { color: #ffc415; }
.text-black { color: #000; }
.text-white { color: #fff; }
.bg-yellow { background-color: #ffc415; }
.bg-black { background-color: #000; }
.bg-white { background-color: #fff; }

body.drawer-open {
    overflow: hidden;
}

/* ============================================
   FIX LOGO SIZE - FORCED DIMENSIONS
   ============================================ */

/* Paksa logo container punya ukuran */
.logo_container {
    flex-shrink: 0;
    min-width: 150px;
    height: 50px;
    display: flex;
    align-items: center;
}

.pc-logo,
.sp_logo {
    margin: 0;
    padding: 0;
    display: block !important;
    width: auto;
    height: 100%;
}

.pc-logo a,
.sp_logo a {
    display: block !important;
    height: 100%;
    width: auto;
}

.pc-logo img,
.sp_logo img {
    display: block !important;
    width: auto !important;
    height: 100% !important;
    max-height: 50px !important;
    min-height: 40px !important;
    object-fit: contain;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Desktop logo specific */
.desktop-only .pc-logo {
    display: block !important;
    height: 50px;
}

.desktop-only .pc-logo img {
    height: 50px !important;
    width: auto !important;
}

/* Mobile logo specific */
.mobile-only .sp_logo {
    display: block !important;
    height: 40px;
}

.mobile-only .sp_logo img {
    height: 40px !important;
    width: auto !important;
}

/* Background gradient untuk visibility */
header#globalNavi.header:not(.scrolled) {
    background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 60%, rgba(0,0,0,0) 100%) !important;
}

/* Logo filters */
header#globalNavi.header:not(.scrolled) .pc-logo img,
header#globalNavi.header:not(.scrolled) .sp_logo img {
    filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.6)) brightness(1) !important;
}

header#globalNavi.header.scrolled .pc-logo img,
header#globalNavi.header.scrolled .sp_logo img {
}

/* ============================================
   MOBILE MENU - FIXED ACCORDION
   ============================================ */

/* Reset base styles */
.zdo_drawer_nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.zdo_drawer_nav .menu > li {
    margin: 0;
    border-bottom: 1px solid #f0f0f0;
    position: relative;
}

/* Menu item dengan submenu - PARENT CONTAINER */
.zdo_drawer_nav .menu-item-has-children {
    position: relative;
}

/* Parent link - beri padding kanan untuk accordion button */
.zdo_drawer_nav .menu-item-has-children > a {
    display: block;
    padding: 18px 60px 18px 30px; /* Extra padding kanan untuk button */
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
}

/* Accordion Button - ABSOLUTE POSITION */
.accordionBtn {
    position: absolute;
    right: 0;
    top: 0;
    width: 60px;
    height: 100%; /* Full height of parent */
    display: flex !important;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    background: transparent;
    border: none;
}

/* Plus/Minus Icon */
.accordionBtn::before {
    content: '+';
    font-size: 2em;
    font-weight: 300;
    color: #999;
    line-height: 1;
    transition: all 0.3s ease;
}

/* Active state - jadi minus */
.menu-item-has-children.active .accordionBtn::before {
    content: '−';
    color: #ffc415;
}

/* Submenu - Default Hidden */
.zdo_drawer_nav .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
}

/* Submenu Items */
.zdo_drawer_nav .sub-menu li {
    border-bottom: 1px solid #e8e8e8;
    margin: 0;
}

.zdo_drawer_nav .sub-menu li:last-child {
    border-bottom: none;
}

.zdo_drawer_nav .sub-menu li a {
    display: block;
    padding: 14px 30px 14px 50px;
    color: #555;
    text-decoration: none;
    font-size: 0.9em;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
}

.zdo_drawer_nav .sub-menu li a:hover {
    background: rgba(255, 196, 21, 0.15);
    color: #000;
    padding-left: 55px;
}

.zdo_drawer_nav .sub-menu li a::before {
    content: '→';
    position: absolute;
    left: 30px;
    color: #ffc415;
    font-size: 0.9em;
}

/* Menu items tanpa submenu */
.zdo_drawer_nav .menu > li:not(.menu-item-has-children) > a {
    display: block;
    padding: 18px 30px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s ease;
}

.zdo_drawer_nav .menu > li > a:hover {
    background: rgba(255, 196, 21, 0.1);
    color: #ffc415;
}

/* SNS Icons */
.sp_sns {
    padding: 20px 30px;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    gap: 20px;
}

.sp_sns a {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    text-decoration: none;
    font-size: 0.85em;
    transition: all 0.3s ease;
}

.sp_sns a:hover {
    color: #ffc415;
}

.sp_sns img {
    width: 20px;
    height: 20px;
}

/* Contact Button Special */
.sp_contact a {
    background: #ffc415 !important;
    color: #000 !important;
    font-weight: bold !important;
    margin: 15px 30px;
    padding: 15px 20px !important;
    border-radius: 5px;
    text-align: center;
    display: block;
}

.sp_contact a:hover {
    background: #e6b013 !important;
}

/* Drawer Container */
.zdo_drawer_nav_wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 9998;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
}

.zdo_drawer_nav_wrapper.active {
    right: 0;
}

.zdo_drawer_nav {
    padding: 80px 0 30px;
    min-height: 100vh;
}

@media only screen and (max-width: 768px) {
    .zdo_drawer_nav_wrapper {
        width: 85%;
        max-width: 340px;
    }
}
@media only screen and (max-width: 768px) {
    /* Sembunyikan icon gambar yang pecah di screenshot kamu */
    .zdo_drawer_nav img[src=""], 
    .zdo_drawer_nav img:not([src]) {
        display: none !important;
    }

    /* Styling Menu Drawer */
    .zdo_drawer_nav .menu li a {
        padding: 15px 20px;
        border-bottom: 1px solid #eee;
        display: block;
        font-weight: bold;
        color: #333;
        text-decoration: none;
    }

    /* Styling Button Contact di Mobile */
    .sp-btn-contact {
        background: #ffc415 !important;
        color: #000 !important;
        text-align: center;
        margin: 20px;
        border-radius: 5px;
        border-bottom: none !important;
    }

    /* Accordion Fix */
    .sub-menu {
        background: #f9f9f9;
        padding-left: 20px;
    }
    
    .sub-menu li a {
        font-weight: normal !important;
        font-size: 0.9em;
    }
}

/* ============================================
   MOBILE DRAWER - ACCORDION
   ============================================ */

/* Drawer Wrapper */
.zdo_drawer_nav_wrapper {
    position: fixed;
    top: 0;
    right: -100%;
    width: 85%;
    max-width: 320px;
    height: 100vh;
    background: #ffffff;
    box-shadow: -4px 0 20px rgba(0, 0, 0, 0.2);
    transition: right 0.4s ease;
    z-index: 9998;
    overflow-y: auto;
}

.zdo_drawer_nav_wrapper.active {
    right: 0;
}

.zdo_drawer_nav {
    padding: 20px 0 40px;
    min-height: 100vh;
}

/* Drawer Logo */
.drawer_logo {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #f0f0f0;
}

.drawer_logo img {
    width: 120px;
    height: auto;
}

/* Menu List */
.zdo_drawer_nav .menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.drawer__list {
    position: relative;
    border-bottom: 1px solid #f0f0f0;
}

/* Menu Links */
.drawer__list > a {
    display: block;
    padding: 18px 30px;
    color: #000;
    text-decoration: none;
    font-weight: 500;
    font-size: 1em;
    transition: all 0.3s;
    position: relative;
}

.drawer__list > a:hover {
    background: rgba(255, 196, 21, 0.1);
    color: #ffc415;
}

/* Items dengan Accordion */
.drawer__list.has-accordion > a {
    padding-right: 60px; /* Space untuk icon */
}

/* Plus/Minus Icon */
.drawer__list.has-accordion > a::after {
    content: '+';
    position: absolute;
    right: 25px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.8em;
    font-weight: 300;
    color: #999;
    transition: all 0.3s;
}

.drawer__list.has-accordion.active > a::after {
    content: '−';
    color: #ffc415;
}

/* Submenu */
.drawer__list .sub-menu {
    display: none;
    list-style: none;
    margin: 0;
    padding: 0;
    background: #f8f8f8;
}

.drawer__list .sub-menu li {
    border-bottom: 1px solid #e8e8e8;
}

.drawer__list .sub-menu li:last-child {
    border-bottom: none;
}

.drawer__list .sub-menu a {
    display: block;
    padding: 14px 30px 14px 60px;
    color: #555;
    text-decoration: none;
    font-size: 0.9em;
    transition: all 0.3s;
    position: relative;
}

.drawer__list .sub-menu a::before {
    content: '→';
    position: absolute;
    left: 35px;
    color: #ffc415;
}

.drawer__list .sub-menu a:hover {
    background: rgba(255, 196, 21, 0.15);
    color: #000;
}

/* Contact Button Special */
.sp_contact_wrapper {
    border-bottom: none;
    padding: 15px 30px;
}

.sp-btn-contact {
    display: block !important;
    background: #ffc415 !important;
    color: #000 !important;
    font-weight: bold !important;
    padding: 15px 20px !important;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
}

.sp-btn-contact:hover {
    background: #e6b013 !important;
}

/* SNS Links */
.sp_sns {
    padding: 25px 30px;
    border-top: 1px solid #f0f0f0;
    display: flex;
    gap: 20px;
    justify-content: center;
}

.sp_sns a {
    color: #666;
    text-decoration: none;
    font-size: 0.85em;
    transition: color 0.3s;
}

.sp_sns a:hover {
    color: #ffc415;
}

/* Hamburger Button */
.zdo_drawer_button {
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    z-index: 10001;
}

.zdo_drawer_bar {
    width: 25px;
    height: 3px;
    background-color: #000;
    transition: all 0.3s ease;
    border-radius: 2px;
}

/* Hamburger Animation */
.zdo_drawer_button.active .zdo_drawer_bar1 {
    transform: rotate(45deg) translate(7px, 7px);
}

.zdo_drawer_button.active .zdo_drawer_bar2 {
    opacity: 0;
}

.zdo_drawer_button.active .zdo_drawer_bar3 {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* Overlay */
.zdo_drawer_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s;
    z-index: 9997;
}

.zdo_drawer_overlay.active {
    opacity: 1;
    visibility: visible;
}

/* Prevent Body Scroll */
body.drawer-open {
    overflow: hidden;
}

@media only screen and (max-width: 768px) {
    .drawer__list.has-accordion {
        position: relative;
    }

    .drawer__list.has-accordion > a {
        display: block;
        width: 100%;
        position: relative;
        padding: 18px 56px 18px 24px !important;
        box-sizing: border-box;
        z-index: 2;
    }

    .drawer__list.has-accordion > a::after {
        content: '+' !important;
        position: absolute;
        right: 22px;
        top: 50%;
        transform: translateY(-50%);
        font-size: 28px;
        font-weight: 300;
        color: #999;
        line-height: 1;
        pointer-events: none;
    }

    .drawer__list.has-accordion.active > a::after {
        content: '−' !important;
        color: #ffc415 !important;
    }
}

/* ============================================
   CLASS KHUSUS: BORDER-PRESTASI
   ============================================ */

.border-prestasi {
    position: relative;
    border: 2px solid #ffc415 !important; /* Border Kuning RSP */
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.5s ease;
    /* Memberikan efek bayangan lembut agar terlihat eksklusif */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}


/* Efek Cahaya (Glow) saat Hover */
.border-prestasi:hover {
    border-color: #000 !important; /* Berubah jadi hitam saat di-hover */
    transform: scale(1.03); /* Membesar sedikit */
    box-shadow: 0 15px 40px rgba(255, 196, 21, 0.3); /* Cahaya Kuning */
}

/* Styling Khusus untuk Gambar di dalam Border Prestasi */
.border-prestasi .case__item-img {
    position: relative;
    overflow: hidden;
}

/* Overlay gradient halus pada gambar agar teks lebih terbaca */
.border-prestasi .case__item-img::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 50%;
    background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
    z-index: 1;
}

/* Penyesuaian Nama Perusahaan */
.border-prestasi .case__item-name {
    background: #000 !important; /* Nama perusahaan jadi hitam */
    color: #ffc415 !important;   /* Teks kuning */
    border-radius: 0 0 10px 0;
    font-size: 13px;
    letter-spacing: 0.5px;
}

/* Keadaan Default (Belum Scroll) */
.logo-hitam { display: none; }
.logo-putih { display: block; }

/* Keadaan Saat Di-scroll (Header memiliki class .scrolled) */
#globalNavi.scrolled .logo-white {
    display: none;
}
#globalNavi.scrolled .logo-black {
    display: block;
}

/* --- 1. SETTING DEFAULT (PENTING) --- */
/* Sembunyikan SEMUA logo dulu agar tidak ada yang double saat loading */
.logo-putih, .logo-hitam {
    display: none !important;
}

/* --- 2. SAAT HEADER DI ATAS (NOT SCROLLED) --- */
/* Hanya tampilkan logo PUTIH jika header TIDAK punya class .scrolled */
header#globalNavi:not(.scrolled) .logo-putih {
    display: block !important;
}

/* Pastikan logo HITAM benar-benar mati saat di atas */
header#globalNavi:not(.scrolled) .logo-hitam {
    display: none !important;
}

/* --- 3. SAAT HEADER DI-SCROLL (.SCROLLED) --- */
/* Sembunyikan logo PUTIH saat sudah scroll */
header#globalNavi.scrolled .logo-putih {
    display: none !important;
}

/* Tampilkan logo HITAM saat sudah scroll */
header#globalNavi.scrolled .logo-hitam {
    display: block !important;
}