/* ============================================
   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;
}

/* ============================================
   JP HERO HEADER ALIGNMENT
   ============================================ */

body.home header#globalNavi.header {
    padding: 18px 28px 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}

body.home header#globalNavi.header.scrolled {
    padding: 10px 28px !important;
    background: #ffffff !important;
    box-shadow: none !important;
}

body.home header#globalNavi .header-inner {
    max-width: none !important;
    padding: 0 !important;
    margin: 0 !important;
    align-items: flex-start !important;
    gap: 28px;
}

body.home .logo_container {
    min-width: 210px !important;
    width: 210px !important;
    height: 58px !important;
    align-items: flex-start !important;
}

body.home .desktop-only .pc-logo,
body.home .desktop-only .pc-logo a {
    height: 58px !important;
}

body.home .desktop-only .pc-logo img {
    max-width: 210px !important;
    max-height: 58px !important;
    height: auto !important;
    width: 210px !important;
    object-fit: contain;
    object-position: left center;
}

body.home .header_nav_wrap {
    margin-left: auto !important;
    padding-top: 7px;
    max-width: calc(100% - 245px);
}

body.home .header_nav_wrap .menu {
    justify-content: flex-end;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

body.home .header_nav_wrap .menu-item {
    margin: 0 !important;
}

body.home header#globalNavi.header .menu > li > a {
    color: #ffffff !important;
    font-family: "Kanit", sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    line-height: 1.2;
    text-transform: uppercase;
    text-shadow: none !important;
    white-space: nowrap;
}

body.home header#globalNavi.header.scrolled .menu > li > a {
    color: #111111 !important;
    text-shadow: none;
}

body.home header#globalNavi.header .menu > li.header_contact > a,
body.home .btn-contact {
    background: #ffc415 !important;
    color: #000000 !important;
    min-width: 92px;
    padding: 11px 22px !important;
    border-radius: 8px !important;
    text-align: center;
    text-shadow: none !important;
}

body.home .top_slider_wrap {
    padding: 0 4px 0 4px;
}

body.home .top_slider_img {
    border: 0 !important;
    border-radius: 0 0 28px 28px !important;
}

body.home .mv__sns {
    position: fixed;
    left: 41px;
    top: 41%;
    z-index: 200;
    display: flex !important;
    flex-direction: column;
    gap: 0;
    writing-mode: vertical-rl;
    align-items: center;
    letter-spacing: 0.106em;
}

body.home .mv__sns a {
    width: 24px !important;
    height: 24px !important;
    margin: 0 0 15px 0 !important;
    display: block !important;
    opacity: 1 !important;
    position: relative;
}

body.home .mv__sns a::before {
    content: "" !important;
    display: block !important;
    width: 24px !important;
    height: 24px !important;
    margin: 0 0 14px 0 !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    background-size: contain !important;
    filter: none !important;
}

body.home .mv__sns .icon_insta::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.25' y='3.25' width='17.5' height='17.5' rx='5' ry='5' fill='none' stroke='%23ffffff' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='4.1' fill='none' stroke='%23ffffff' stroke-width='1.8'/%3E%3Ccircle cx='17.35' cy='6.7' r='1.2' fill='%23ffffff'/%3E%3C/svg%3E") !important;
}

body.home .mv__sns .icon_fb::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffffff' d='M13.38 21v-8.05h2.7l.4-3.14h-3.1V7.8c0-.91.25-1.53 1.56-1.53H16.8V3.46c-.32-.04-1.41-.14-2.68-.14-2.65 0-4.46 1.62-4.46 4.58v1.91H6.67v3.14h2.99V21h3.72Z'/%3E%3C/svg%3E") !important;
}

body.home .mv__sns.scrolled {
    top: 100px;
}

body.home .mv__sns.scrolled .icon_insta::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect x='3.25' y='3.25' width='17.5' height='17.5' rx='5' ry='5' fill='none' stroke='%23ffc415' stroke-width='1.8'/%3E%3Ccircle cx='12' cy='12' r='4.1' fill='none' stroke='%23ffc415' stroke-width='1.8'/%3E%3Ccircle cx='17.35' cy='6.7' r='1.2' fill='%23ffc415'/%3E%3C/svg%3E") !important;
}

body.home .mv__sns.scrolled .icon_fb::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='%23ffc415' d='M13.38 21v-8.05h2.7l.4-3.14h-3.1V7.8c0-.91.25-1.53 1.56-1.53H16.8V3.46c-.32-.04-1.41-.14-2.68-.14-2.65 0-4.46 1.62-4.46 4.58v1.91H6.67v3.14h2.99V21h3.72Z'/%3E%3C/svg%3E") !important;
}

@media only screen and (max-width: 1180px) {
    body.home .header_nav_wrap .menu {
        gap: 16px;
    }

    body.home header#globalNavi.header .menu > li > a {
        font-size: 11px;
        letter-spacing: 0.1em;
    }
}

@media only screen and (max-width: 768px) {
    body.home header#globalNavi.header {
        padding: 12px 12px 6px !important;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.42) 0%, rgba(0, 0, 0, 0) 100%) !important;
    }

    body.home header#globalNavi.header.scrolled {
        padding: 12px 12px 8px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    }

    body.home header#globalNavi .header-inner {
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body.home .logo_container {
        width: 142px !important;
        min-width: 142px !important;
        height: 50px !important;
        position: relative;
        overflow: visible !important;
    }

    body.home .mobile-only .sp_logo,
    body.home .mobile-only .sp_logo a {
        width: 142px !important;
        height: 50px !important;
        overflow: visible !important;
    }

    body.home .mobile-only .sp_logo .logo-link {
        position: relative;
        display: block !important;
        top: -16px;
    }

    body.home .mobile-only .sp_logo .logo-link img {
        position: absolute;
        inset: 0;
        width: 142px !important;
        height: 50px !important;
        object-fit: contain;
        object-position: left center;
    }

    body.home header#globalNavi.header:not(.scrolled) .mobile-only .logo-putih {
        display: block !important;
    }

    body.home header#globalNavi.header:not(.scrolled) .mobile-only .logo-hitam {
        display: none !important;
    }

    body.home header#globalNavi.header.scrolled .mobile-only .logo-putih {
        display: none !important;
    }

    body.home header#globalNavi.header.scrolled .mobile-only .logo-hitam {
        display: block !important;
    }

    body.home header#globalNavi.header:not(.scrolled) .zdo_drawer_button {
        background: rgba(255, 255, 255, 0.08) !important;
        border: 1px solid rgba(255, 255, 255, 0.72) !important;
        backdrop-filter: blur(6px);
    }

    body.home header#globalNavi.header:not(.scrolled) .zdo_drawer_button .zdo_drawer_bar {
        background-color: #ffffff !important;
    }

    body.home header#globalNavi.header.scrolled .zdo_drawer_button {
        background: #ffc415 !important;
        border: 1px solid #ffc415 !important;
    }

    body.home header#globalNavi.header.scrolled .zdo_drawer_button .zdo_drawer_bar {
        background-color: #111111 !important;
    }

    body.home .top_slider_wrap {
        padding: 0 !important;
    }

    body.home .top_slider_img {
        border-radius: 0 0 18px 18px !important;
    }

    body.home .mv__sns {
        display: none !important;
    }
}

@media only screen and (max-width: 768px) {
    .zdo_drawer_menu .zdo_drawer_bg {
        top: 0;
        z-index: 9997;
        background-color: rgba(0, 0, 0, 0.45);
    }

    .zdo_drawer_menu .zdo_drawer_nav_wrapper {
        z-index: 9998;
        background: #ffffff !important;
        background-image: none !important;
        width: min(82vw, 320px) !important;
        max-width: min(82vw, 320px) !important;
        transform: translateX(100%);
        right: 0 !important;
        left: auto !important;
        box-shadow: -16px 0 40px rgba(0, 0, 0, 0.18);
        border-left: 1px solid rgba(0, 0, 0, 0.06);
    }

    .zdo_drawer_menu .zdo_drawer_nav_wrapper.open,
    .zdo_drawer_menu .zdo_drawer_nav_wrapper.active {
        transform: translateX(0);
    }

    .zdo_drawer_menu .zdo_drawer_nav {
        padding: 22px 0 34px !important;
    }

    .zdo_drawer_menu .zdo_drawer_nav .menu {
        padding-left: 10px !important;
        padding-right: 10px !important;
        box-sizing: border-box;
    }

    .drawer_logo {
        padding: 18px 24px 16px !important;
        text-align: left !important;
        border-bottom: 1px solid #ececec;
    }

    .drawer_logo img {
        width: 132px !important;
    }

    .drawer__list > a {
        padding: 16px 24px !important;
        color: #111111 !important;
        font-family: "Kanit", sans-serif;
        font-size: 14px !important;
        font-weight: 700 !important;
        letter-spacing: 0.08em;
        text-transform: uppercase;
    }

    .zdo_drawer_menu .zdo_drawer_nav .drawer__list > a,
    .zdo_drawer_menu .zdo_drawer_nav li.drawer__list > a,
    .zdo_drawer_menu .zdo_drawer_nav li.drawer__list > a:visited {
        color: #111111 !important;
        -webkit-text-fill-color: #111111 !important;
        opacity: 1 !important;
        visibility: visible !important;
        text-indent: 0 !important;
        text-shadow: none !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
        display: block !important;
    }

    .sp_contact_wrapper {
        border-bottom: 0;
        padding: 18px 24px 4px;
    }

    .sp_contact_wrapper .sp-btn-contact {
        margin: 0 !important;
        border-radius: 999px !important;
        padding: 14px 20px !important;
        font-size: 14px !important;
        letter-spacing: 0.08em;
    }

    .sp_sns {
        padding: 18px 24px 0 !important;
        justify-content: flex-start !important;
        border-bottom: 0;
    }

    .sp_sns a {
        color: #555555 !important;
        letter-spacing: 0.08em !important;
        font-size: 12px !important;
    }
}

@media only screen and (max-width: 768px) {
    body:not(.home) header#globalNavi.header {
        position: fixed !important;
        top: 0 !important;
        padding: 12px 12px 8px !important;
        background: rgba(255, 255, 255, 0.98) !important;
        border-bottom: 1px solid rgba(0, 0, 0, 0.08);
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.08) !important;
    }

    body:not(.home) header#globalNavi .header-inner {
        align-items: center !important;
        gap: 10px !important;
    }

    body:not(.home) .logo_container {
        width: 142px !important;
        min-width: 142px !important;
        height: 50px !important;
        position: relative;
        overflow: visible !important;
    }

    body:not(.home) .mobile-only .sp_logo,
    body:not(.home) .mobile-only .sp_logo a {
        width: 142px !important;
        height: 50px !important;
        overflow: visible !important;
    }

    body:not(.home) .mobile-only .sp_logo .logo-putih {
        display: none !important;
    }

    body:not(.home) .mobile-only .sp_logo .logo-hitam {
        display: block !important;
        width: 142px !important;
        height: 50px !important;
        object-fit: contain;
        object-position: left center;
    }

    body:not(.home) header#globalNavi.header .zdo_drawer_button {
        background: #ffc415 !important;
        border: 1px solid #ffc415 !important;
    }

    body:not(.home) header#globalNavi.header .zdo_drawer_button .zdo_drawer_bar {
        background-color: #111111 !important;
    }

    body:not(.home) .page_title {
        height: auto !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 74px 16px 14px !important;
        background: #ffffff !important;
        display: block !important;
    }

    body:not(.home) .page_title .pt_01,
    body:not(.home) .page_title .pt_02,
    body:not(.home) .page_title span {
        color: #111111 !important;
        text-align: left !important;
    }

    body:not(.home) .page_title .pt_01 {
        font-size: 24px !important;
        line-height: 1.05 !important;
        letter-spacing: 0.06em !important;
    }

    body:not(.home) #main.main-content-area,
    body:not(.home) .component-inner,
    body:not(.home) #wrapbox.main-content-wrap {
        margin-top: 0 !important;
        padding-top: 0 !important;
    }

    body:not(.home) .mv__sns {
        display: none !important;
    }
}

/* ============================================
   NON-HOME: layout header (logo kiri, menu kanan).
   Warna/bg ikut behavior scroll standar (transparan di atas,
   putih saat .scrolled) — sama seperti subpage lain.
   ============================================ */
body:not(.home) header#globalNavi .header-inner {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 28px !important;
    gap: 28px !important;
}
body:not(.home) .logo_container {
    flex-shrink: 0 !important;
    width: 210px !important;
    min-width: 210px !important;
}
body:not(.home) .logo_container img {
    height: 46px !important;
    width: auto !important;
}
body:not(.home) .header_nav_wrap {
    margin-left: auto !important;
    max-width: calc(100% - 245px);
}
/* Menu compact, selalu 1 baris, rata kanan */
body:not(.home) .header_nav_wrap .menu {
    display: flex !important;
    flex-wrap: nowrap !important;
    justify-content: flex-end !important;
    align-items: center !important;
    gap: 22px !important;
}
body:not(.home) .header_nav_wrap .menu-item {
    margin: 0 !important;
}
body:not(.home) header#globalNavi.header .menu > li > a {
    font-family: "Kanit", sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;
    letter-spacing: 0.12em !important;
    text-transform: uppercase !important;
    white-space: nowrap !important;
    text-shadow: none !important;
}

@media only screen and (max-width: 768px) {
    body:not(.home) header#globalNavi .header-inner {
        padding: 0 !important;
        gap: 10px !important;
    }

    body:not(.home) .logo_container {
        width: 142px !important;
        min-width: 142px !important;
    }

    body:not(.home) .header_nav_wrap {
        max-width: none;
    }
}
