:root {
    --primary-navy: #0a2540;
    --navy-light: #153e6b;
    --gold: #d4af37;
    --gold-bright: #ffdf00;
    --gold-dark: #b8860b;
    --white: #ffffff;
    --light-gray: #f8f9fa;
    --text-dark: #333333;
    --text-muted: #6c757d;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Base Styles */
body {
    background-color: var(--light-gray);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
}

/* Header & Navbar */
/* ==========================================================================
   PREMIUM HEADER & NAVBAR (Inter Font & Minimalist Design)
   ========================================================================== */

#header {
    position: sticky !important;
    top: 0 !important;
    background: #ffffff;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom: 1px solid #f1f5f9;
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.02);
    transition: all 0.3s ease;
    z-index: 1020;
}

#header.header-scrolled {
    height: 65px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

.navbar {
    padding: 0;
    font-family: 'Inter', sans-serif !important;
}

#header .navbar>ul {
    margin: 0;
    padding: 0;
    display: flex;
    list-style: none;
    align-items: center;
}

#header .navbar>ul>li {
    padding: 10px 0 10px 25px !important;
}

#header .navbar li {
    position: relative;
}

#header .navbar a,
#header .navbar a:focus {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    padding: 0 5px !important;
    font-size: 0.88rem !important;
    font-weight: 500 !important;
    color: #334155 !important;
    /* Slate 700 */
    white-space: nowrap;
    transition: 0.3s;
    text-decoration: none;
    letter-spacing: 0.2px;
    background: none !important;
}

#header .navbar a i,
#header .navbar a:focus i {
    font-size: 10px;
    line-height: 0;
    margin-left: 6px;
    color: #94a3b8;
    /* Slate 400 */
}

#header .navbar a:hover,
#header .navbar .active,
#header .navbar .active:focus,
#header .navbar li:hover>a {
    color: #1e3c72 !important;
    background: none !important;
}

#header .navbar .active i,
#header .navbar li:hover>a i {
    color: #1e3c72 !important;
}

/* Dropdown Premium Style */
#header .navbar .dropdown ul {
    display: block;
    position: absolute;
    left: 20px;
    top: calc(100% + 30px);
    margin: 0;
    padding: 12px 0;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background: #fff;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    transition: 0.3s;
    border-radius: 12px;
    min-width: 240px;
    border: 1px solid #f1f5f9;
}

#header .navbar .dropdown ul li {
    min-width: 200px;
    padding: 2px 15px;
}

#header .navbar .dropdown ul a {
    padding: 10px 15px !important;
    font-size: 0.85rem !important;
    text-transform: none;
    font-weight: 500 !important;
    color: #475569 !important;
    /* Slate 600 */
    border-radius: 8px;
    background: none !important;
}

#header .navbar .dropdown ul a i {
    font-size: 12px;
}

#header .navbar .dropdown ul a:hover,
#header .navbar .dropdown ul .active:hover,
#header .navbar .dropdown ul li:hover>a {
    background: #f8fafc !important;
    color: #1e3c72 !important;
}

#header .navbar .dropdown:hover>ul {
    opacity: 1;
    top: 100%;
    visibility: visible;
}

/* ==========================================================================
   SLIDE-OUT SEARCH SYSTEM (Premium Minimalist)
   ========================================================================== */
#header .navbar {
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

/* ==========================================================================
   CLEAN NAV RECOVERY
   ========================================================================== */
.header-tools {
    display: none;
    /* Removed search tools */
}

/* Fix agar menu tidak bocor di mobile & tangani reset ukuran layar (responsive fix) */
@media (min-width: 992px) {

    /* Jika class navbar-mobile nyangkut saat di-resize ke desktop, netralkan efeknya */
    .navbar-mobile {
        position: static !important;
        background: transparent !important;
        overflow: visible !important;
        backdrop-filter: none !important;
        box-shadow: none !important;
    }

    #header .navbar>ul,
    .navbar-mobile>ul {
        position: static !important;
        background: transparent !important;
        padding: 0 !important;
        display: flex !important;
        align-items: center;
        box-shadow: none !important;
        border: none !important;
    }

    #header .navbar ul {
        margin: 0;
        list-style: none;
    }

    /* Fix dropdown vertical stacking for desktop */
    .navbar ul ul,
    .navbar .dropdown ul {
        display: block !important;
        flex-direction: column !important;
    }

    /* Kembalikan dropdown jadi vertikal & cabut flex/float secara paksa */
    #header .navbar .dropdown ul {
        display: block !important;
        position: absolute;
        visibility: hidden;
        opacity: 0;
        left: 20px;
        top: 100%;
        background: #fff;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 8px;
        min-width: 240px;
        max-width: 350px;
        /* Batasi lebar agar nama menu panjang bisa wrap */
        z-index: 99;
        transition: 0.3s;
        padding: 8px 0 !important;
    }

    #header .navbar .dropdown:hover>ul {
        visibility: visible;
        opacity: 1;
        top: 100%;
    }

    /* Paksa setiap per baris */
    #header .navbar .dropdown ul li {
        display: block !important;
        width: 100% !important;
        float: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    #header .navbar .dropdown ul a {
        display: block !important;
        width: 100% !important;
        padding: 12px 20px !important;
        font-size: 0.88rem !important;
        color: #475569 !important;
        background: none !important;
        text-align: left !important;
        white-space: normal !important;
        /* Izinkan tulisan menu panjang turun ke bawah */
        line-height: 1.4 !important;
        /* Buat jarak barisnya lega */
    }

    #header .navbar .dropdown ul a:hover {
        background: #f8fafc !important;
        color: #1e3c72 !important;
    }
}

/* Hide desktop menu on mobile, unless it's the active mobile side-drawer */
@media (max-width: 991px) {
    #header .navbar:not(.navbar-mobile)>ul {
        display: none !important;
    }
}

@media (max-width: 991px) {
    .header-tools {
        display: block;
        /* Show only for mobile toggle */
    }
}

/* End Search Styles removal */

.search-input-slide {
    flex-grow: 1;
    border: none;
    outline: none;
    padding: 8px 15px;
    font-size: 0.88rem;
    color: #334155;
    background: transparent;
    font-family: 'Inter', sans-serif;
}

.search-button-group {
    display: flex;
    gap: 2px;
}

.btn-search-submit,
.btn-search-close {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    color: #64748b;
    width: 34px;
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    border-radius: 6px;
    font-size: 14px;
    transition: 0.2s;
}

.btn-search-submit:hover {
    background: #1e3c72;
    color: #fff;
}

.btn-search-close:hover {
    background: #fee2e2;
    color: #ef4444;
}

@media (max-width: 991px) {
    .search-form-slide {
        position: fixed;
        top: 75px;
        left: 10px;
        right: 10px;
        width: calc(100% - 20px);
        transform-origin: top;
        transform: scaleY(0);
    }

    .search-form-slide.active {
        transform: scaleY(1);
    }

    #header .navbar.shift-left {
        transform: none;
        opacity: 1;
        filter: none;
    }
}

.logo h1 a {
    color: var(--primary-navy) !important;
    font-weight: 700 !important;
    letter-spacing: -1px;
}

/* Hero Modernized */
.hero-section {
    background: linear-gradient(135deg, var(--primary-navy) 0%, var(--navy-light) 100%) !important;
    padding-bottom: 20px;
}

.hero-title {
    color: var(--white) !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-subtitle {
    color: var(--gold) !important;
    font-weight: 600 !important;
}

.btn-primary-modern {
    background: var(--gold) !important;
    border-color: var(--gold) !important;
    color: var(--primary-navy) !important;
}

.btn-primary-modern:hover {
    background: var(--gold-bright) !important;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2) !important;
}

/* Quick Links Section (Like Screenshot) */
.quick-links {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.ql-card {
    background: var(--white);
    border-radius: 12px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: var(--transition);
    border-bottom: 4px solid var(--gold);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    /* Promote to compositor layer ahead of hover to prevent non-composited animation */
    will-change: transform;
}

.ql-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.2);
    border-bottom: 4px solid var(--primary-navy);
}

.ql-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--primary-navy);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: var(--transition);
}

.ql-card:hover .ql-icon-wrapper {
    background: var(--gold);
}

.ql-icon-wrapper i {
    font-size: 35px;
    color: var(--gold);
}

.ql-card:hover .ql-icon-wrapper i {
    color: var(--primary-navy);
}

.ql-card .ql-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--primary-navy);
    margin-top: 10px;
    line-height: 1.2;
}

/* Sections */
.section-title,
.section-heading-wrapper {
    text-align: center;
    padding-bottom: 50px;
}

.section-title h2,
h2.section-heading {
    font-size: 2.5rem !important;
    font-weight: 700 !important;
    position: relative !important;
    color: var(--primary-navy) !important;
    margin-bottom: 20px !important;
    padding-bottom: 20px !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title h2::after,
h2.section-heading::after {
    content: "";
    position: absolute;
    display: block;
    width: 80px;
    height: 4px;
    background: var(--gold);
    bottom: 0;
    left: calc(50% - 40px);
}

/* Blog/News Modernized */
.post-entry {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    will-change: transform;
}

.post-entry:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.post-entry .post-text {
    padding: 20px;
}

.post-entry h3 a {
    color: var(--primary-navy) !important;
    font-weight: 600;
}

.post-entry h3 a:hover {
    color: var(--gold-dark) !important;
}

/* Footer */
#footer {
    background: var(--primary-navy) !important;
    padding: 80px 0 40px !important;
    color: var(--white) !important;
    border-top: 5px solid var(--gold) !important;
}

.footer-title {
    color: var(--gold) !important;
    font-size: 1.25rem !important;
    font-weight: 700 !important;
    margin-bottom: 25px !important;
    text-transform: uppercase !important;
    letter-spacing: 1px !important;
}

.footer-links li {
    margin-bottom: 12px !important;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7) !important;
    text-decoration: none !important;
    transition: var(--transition) !important;
    display: inline-block !important;
}

.footer-links a:hover {
    color: var(--gold) !important;
    padding-left: 8px !important;
}

.social-links a {
    transition: var(--transition) !important;
    display: inline-block !important;
}

.social-links a:hover {
    transform: translateY(-5px) !important;
    color: var(--white) !important;
}

/* Responsive Fixes */
@media (max-width: 991px) {
    #header {
        height: 80px;
    }

    .quick-links {
        margin-top: -50px;
    }
}

/* News Secondary Style */
.news-card-horizontal {
    background: var(--white);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(0, 0, 0, 0.05);
    will-change: transform;
}

.news-card-horizontal:hover {
    transform: translateX(10px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--gold);
}

.news-card-horizontal .news-card-img {
    min-width: 250px;
    max-width: 250px;
    height: auto;
    overflow: hidden;
}

.news-card-img {
    width: 100%;
    overflow: hidden;
}

/* GPU-composited: promote img to its own layer for hover scale */
.news-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
    will-change: transform;
}

.news-card-horizontal:hover .news-card-img img {
    transform: scale(1.1);
}

.news-card-body {
    padding: 25px;
    flex-grow: 1;
}

.news-date {
    display: block;
    font-size: 0.8rem;
    color: var(--gold-dark);
    margin-bottom: 10px;
    font-weight: 600;
}

.news-card-body h3 {
    font-size: 1.25rem;
    margin-bottom: 12px;
}

.read-more-link {
    color: var(--primary-navy);
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.read-more-link:hover {
    color: var(--gold);
}

/* Instagram Styles */
.instagram-feed-wrapper {
    background: #fff;
    border: 1px solid #dbdbdb;
}

.ig-post {
    position: relative;
    overflow: hidden;
}

.ig-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    opacity: 0;
    transition: var(--transition);
}

.ig-post:hover .ig-overlay {
    opacity: 1;
}

.ig-post:hover img {
    transform: scale(1.1);
}

/* Documentation Cards */
.doc-card {
    transition: var(--transition);
}

.doc-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1) !important;
}

/* Structure Styles */
.structure h3 {
    color: var(--primary-navy);
    font-weight: 700;
    margin-bottom: 15px;
}

.structure blockquote p {
    color: var(--text-gray);
    font-style: italic;
    font-size: 1.1rem;
}

.structure-image img {
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 3px solid var(--white);
    transition: var(--transition);
}

.structure-image img:hover {
    transform: scale(1.02);
    border-color: var(--gold);
}

@media (max-width: 767px) {
    .news-card-img {
        max-width: 100%;
        min-width: 100%;
        height: 200px;
    }
}

/* Visi Misi & Motto Styles (Matching Image Design) */
.visi-header {
    margin-bottom: 50px;
}

.visi-header h2 {
    color: var(--primary-navy);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 2rem;
    margin-bottom: 15px;
}

.visi-decoration {
    width: 60px;
    height: 4px;
    background: var(--gold);
    margin: 0 auto;
    position: relative;
    border-radius: 2px;
}

.visi-decoration::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 10px;
    right: 10px;
    height: 4px;
    background: var(--gold);
    opacity: 0.5;
    border-radius: 2px;
}

.visi-misi-card {
    background: var(--white);
    border-radius: 25px;
    padding: 60px;
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.05);
    border-left: 5px solid var(--gold);
    max-width: 900px;
    margin: 0 auto;
}

.visi-misi-text {
    line-height: 2;
    color: #444;
    font-size: 1.05rem;
    text-align: left;
}

.motto-logo-section {
    padding-top: 80px;
    border-top: 1px solid #eee;
    margin-top: 80px;
}

.motto-logo-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
}

.motto-content h3 {
    color: var(--primary-navy);
    font-weight: 700;
    font-size: 1.8rem;
    margin-bottom: 30px;
}

.motto-desc {
    color: #666;
    font-size: 1rem;
    line-height: 1.8;
}

.logo-display {
    background: white;
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    display: inline-block;
    transition: var(--transition);
    will-change: transform;
}

.logo-display:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.12);
}

.logo-display img {
    max-width: 100%;
    height: auto;
}

/* Accessibility Widget Styles */
.access-widget {
    position: fixed !important;
    bottom: 25px !important;
    left: 25px !important;
    z-index: 9999999 !important;
    font-family: 'Inter', sans-serif;
    pointer-events: auto !important;
}

.access-trigger {
    width: 45px;
    height: 45px;
    background: rgba(0, 86, 179, 0.75);
    /* Transparan saat standby */
    border-radius: 50%;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.access-trigger:hover {
    transform: scale(1.1);
    background: #004494;
    opacity: 1;
}

@media (max-width: 768px) {
    .access-widget {
        bottom: 15px !important;
        left: 15px !important;
    }

    .access-trigger {
        width: 38px;
        height: 38px;
        font-size: 18px;
    }
}

/* Back to top button styling */
.back-to-top {
    position: fixed;
    visibility: hidden;
    opacity: 0;
    right: 25px;
    bottom: 25px;
    z-index: 99999;
    background: rgba(30, 60, 114, 0.75);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    transition: all 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.back-to-top i {
    font-size: 24px;
    color: #fff;
    line-height: 0;
}

.back-to-top:hover {
    background: #1e3c72;
    color: #fff;
    opacity: 1;
}

.back-to-top.active {
    visibility: visible;
    opacity: 1;
}

@media (max-width: 768px) {
    .back-to-top {
        bottom: 15px;
        right: 15px;
        width: 38px;
        height: 38px;
    }

    .back-to-top i {
        font-size: 20px;
    }
}

.access-panel {
    position: absolute;
    bottom: 70px;
    left: 0;
    width: 350px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    padding: 24px;
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.3s ease;
    border: 1px solid #eee;
}

.access-control-group {
    background: #f8fafc;
    border-radius: 15px;
    padding: 15px;
    margin-bottom: 12px;
    border: 1px solid #e2e8f0;
}

.access-control-label {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
    font-weight: 700;
    font-size: 0.85rem;
    color: #475569;
}

.access-btn-group {
    display: flex;
    gap: 8px;
}

.access-btn {
    flex: 1;
    background: white;
    border: 1px solid #cbd5e1;
    padding: 8px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.access-btn:hover {
    border-color: #0ea5e9;
    color: #0ea5e9;
}

.access-value-badge {
    font-size: 0.75rem;
    background: #e0f2fe;
    color: #0369a1;
    padding: 2px 8px;
    border-radius: 12px;
}

.access-reader-status {
    font-size: 0.7rem;
    color: #64748b;
    margin-top: 5px;
    display: block;
}

.access-panel.active {
    display: block !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
}


.access-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #f0f0f0;
}

.access-header h5 {
    margin: 0;
    font-weight: 700;
    color: #1a1a1a;
    font-size: 1.1rem;
}

.access-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.access-item {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    padding: 12px;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.access-item:hover {
    background: #f1f5f9;
    border-color: #cbd5e1;
}

.access-item.active {
    background: #e0f2fe;
    border-color: #0ea5e9;
    color: #0369a1;
}

.access-item i {
    font-size: 1.25rem;
}

.access-item span {
    font-size: 0.75rem;
    font-weight: 600;
    line-height: 1.2;
}

.access-reset {
    grid-column: span 2;
    margin-top: 8px;
    background: #fee2e2;
    border-color: #fca5a5;
    color: #991b1b;
}

.access-reset:hover {
    background: #fecaca;
}

/* Accessibility States */
body.access-grayscale #content-wrapper {
    filter: grayscale(100%);
}

body.access-invert #content-wrapper {
    filter: invert(100%);
}

/* Ensure widget stays untouched in terms of positioning and scale since it's outside content-wrapper */
.access-widget {
    filter: none !important;
}

body.access-sepia #content-wrapper {
    filter: sepia(100%);
}

body.access-high-contrast {
    background: black !important;
    color: yellow !important;
}

body.access-high-contrast * {
    background-color: black !important;
    color: yellow !important;
    border-color: yellow !important;
}

body.access-large-text p,
body.access-large-text span,
body.access-large-text li,
body.access-large-text a {
    font-size: 120% !important;
}

body.access-readable-font {
    font-family: 'Arial', sans-serif !important;
}

body.access-highlight-links a {
    background: yellow !important;
    color: black !important;
    text-decoration: underline !important;
    font-weight: bold !important;
}

/* Language Switcher */
.lang-switcher {
    display: flex;
    gap: 10px;
    align-items: center;
    margin-left: 20px;
}

@media (min-width: 992px) {
    .lang-switcher {
        border-left: 1px solid rgba(255, 255, 255, 0.2);
        padding-left: 20px;
    }
}

.lang-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.4);
    color: white;
    cursor: pointer;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 700;
    transition: all 0.2s;
    text-transform: uppercase;
    line-height: 1.2;
}

.lang-btn:hover,
.lang-btn.active {
    background: #f59e0b;
    border-color: #f59e0b;
    color: #020617;
}

#google_translate_element {
    width: 1px;
    height: 1px;
    position: fixed;
    bottom: 0;
    right: 0;
    overflow: hidden;
    opacity: 0.01;
    z-index: -1;
}

/* Fully Hide Google Translate UI */
.goog-te-banner-frame.skiptranslate,
.goog-te-banner-frame,
.goog-te-banner,
#goog-gt-tt,
#goog-gt-vt,
.goog-te-balloon-frame,
.goog-te-menu-value span:nth-child(2),
.goog-te-gadget-icon,
.VIpgJm-ZVi9od-ORHb-O365-KhYsq,
iframe[id*=":1.container"],
iframe[id*="google_translate"],
iframe.goog-te-banner-frame {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    width: 0 !important;
}

html,
body {
    top: 0px !important;
    position: static !important;
}

.goog-text-highlight {
    background: none !important;
    box-shadow: none !important;
}

/* ==========================================================================
   SKELETON LOADING SYSTEM
   ========================================================================== */

/* CLS/TBT Fix: Clean static background for skeleton elements */
.skeleton {
    background: #f1f5f9;
    border-radius: 8px;
}

/* Page Loading Overlay */
#page-skeleton {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    padding: 20px;
    transition: opacity 0.5s ease;
}

.skeleton-card {
    background: #fff;
    border-radius: 16px;
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #f1f5f9;
}

/* ==========================================================================
   FLOATING MOBILE HEADER & LOGO
   ========================================================================== */
@media (max-width: 991px) {
    #header {
        position: sticky !important;
        top: 10px !important;
        height: 65px !important;
        margin: 10px !important;
        border-radius: 12px !important;
        width: calc(100% - 20px) !important;
        left: 10px !important;
        right: 10px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08) !important;
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 1020 !important;
    }

    #header .container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
    }

    #header .logo img {
        width: 38px !important;
        height: 38px !important;
        margin-right: 8px !important;
    }

    #header .logo-text span:first-child {
        font-size: 0.82rem !important;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        max-width: 130px;
        display: block;
    }

    #header .logo-text span:last-child {
        font-size: 0.55rem !important;
        display: -webkit-box !important;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    /* Ubah topbar biru jadi putih transparan di mobile */
    #topbar {
        background: rgba(255, 255, 255, 0.85) !important;
        backdrop-filter: blur(8px);
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        height: 35px !important;
    }

    #topbar .contact-info i,
    #topbar .contact-info a {
        color: #334155 !important;
    }

    .nav-group-right {
        margin-left: auto;
        display: flex;
        align-items: center;
    }

    .mobile-nav-toggle {
        display: block !important;
        font-size: 28px;
        color: #1e3c72;
        margin-left: 15px;
        cursor: pointer;
    }

    .navbar-mobile .mobile-nav-toggle {
        position: absolute;
        top: 20px;
        right: 20px;
        color: #1e3c72 !important;
        background: rgba(241, 245, 249, 0.8) !important;
        border-radius: 50%;
        width: 40px;
        height: 40px;
        display: flex;
        align-items: center;
        justify-content: center;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    }

    .navbar-mobile {
        position: fixed;
        overflow: hidden;
        top: 10px;
        right: 10px;
        left: 10px;
        bottom: 10px;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.85);
        /* Putih transparan */
        backdrop-filter: blur(10px);
        z-index: 999;
        transition: 0.3s;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
        /* Soft shadow */
    }

    .navbar-mobile>ul {
        display: block !important;
        position: absolute;
        top: 75px;
        right: 15px;
        bottom: 30px;
        left: 15px;
        padding: 15px 0;
        border-radius: 20px;
        background-color: rgba(255, 255, 255, 0.98);
        overflow-y: auto;
        transition: 0.3s;
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(255, 255, 255, 0.2);
    }

    .navbar-mobile a,
    .navbar-mobile a:focus {
        padding: 20px 25px !important;
        /* Jarak lebih lega */
        font-size: 1rem !important;
        color: #334155 !important;
        border-bottom: 1px solid #f1f5f9;
        font-weight: 500 !important;
        display: flex;
        justify-content: space-between;
        align-items: center;
        letter-spacing: 0.02em;
        white-space: normal !important;
        line-height: 1.4 !important;
    }

    .navbar-mobile li {
        margin-bottom: 2px;
    }

    .navbar-mobile a i {
        font-size: 12px;
        color: #94a3b8;
    }

    .navbar-mobile .active {
        color: #1e3c72 !important;
        background: #f8fafc;
    }

    .navbar-mobile .dropdown ul {
        position: static;
        display: none;
        margin: 10px 15px;
        padding: 5px 0;
        z-index: 99;
        background: rgba(248, 250, 252, 0.5);
        /* Soft transparent background */
        border-left: 3px solid #e2e8f0;
        /* Show nesting clearly */
        border-radius: 0;
    }

    .navbar-mobile .dropdown ul li a {
        padding: 12px 20px !important;
        font-size: 0.9rem !important;
        border-bottom: none;
        white-space: normal !important;
        line-height: 1.4 !important;
    }

    .navbar-mobile .dropdown ul ul {
        margin: 5px 15px !important;
        border-left: 2px solid #cbd5e1;
    }

    .navbar-mobile .dropdown>.dropdown-active {
        display: block !important;
    }

    #topbar {
        display: none !important;
    }
}