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

.site-header {
    position: sticky;
    top: 0;
    z-index: 9999;

    width: 100%;

    background: rgba(255, 255, 255, 0.96);

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    border-bottom: 1px solid rgba(0, 0, 0, 0.05);

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        border-color 0.3s ease;
}

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

.site-header.scrolled {
    background: #081225;

    border-bottom: 1px solid rgba(255, 255, 255, 0.06);

    box-shadow:
        0 10px 30px rgba(0, 0, 0, 0.18);
}

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

.site-header .inside-header {
    max-width: 1400px;

    margin: 0 auto;
    padding: 12px 24px;

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

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

.site-branding-container {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* =========================
   LOGO
========================= */

.site-logo img,
.custom-logo {
    width: 52px;
    height: 52px;

    object-fit: contain;

    transition:
        width 0.3s ease,
        height 0.3s ease,
        transform 0.3s ease;
}

.site-header.scrolled .site-logo img,
.site-header.scrolled .custom-logo {
    width: 42px;
    height: 42px;

    transform: scale(0.96);
}

/* =========================
   SITE BRANDING
========================= */

.site-branding {
    display: flex;
    flex-direction: column;
    justify-content: center;

    gap: 2px;
}

/* =========================
   SITE TITLE
========================= */

.main-title {
    margin: 0;

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

.main-title a {
    color: #111111;
    text-decoration: none;

    transition: color 0.3s ease;
}

.site-header.scrolled .main-title a {
    color: #ffffff;
}

/* =========================
   SITE TAGLINE
========================= */

.site-description {
    margin: 0;

    font-size: 14px;
    line-height: 1.4;

    color: #667085;

    transition: color 0.3s ease;
}

.site-header.scrolled .site-description {
    color: rgba(255, 255, 255, 0.72);
}

/* =========================
   NAVIGATION
========================= */

.main-navigation {
    display: flex;
    align-items: center;
}

/* =========================
   MENU LIST
========================= */

.main-navigation ul {
    display: flex;
    align-items: center;
    gap: 10px;

    margin: 0;
    padding: 0;

    list-style: none;
}

/* =========================
   MENU LINK
========================= */

.main-navigation .menu > li > a {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 10px 16px;

    border-radius: 999px;

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

    color: #111111;

    text-decoration: none;

    background: transparent;

    transition:
        color 0.3s ease,
        background 0.3s ease;
}

/* =========================
   MENU HOVER
========================= */

.main-navigation .menu > li > a:hover {
    background: rgba(0, 112, 243, 0.08);

    color: #0070f3;
}

/* =========================
   ACTIVE MENU
========================= */

.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
    background: transparent;
    color: #0070f3;
}

/* =========================
   SCROLLED MENU
========================= */

.site-header.scrolled .main-navigation .menu > li > a {
    background: transparent !important;
    color: rgba(255, 255, 255, 0.88);
}

/* =========================
   SCROLLED MENU HOVER
========================= */

.site-header.scrolled .main-navigation .menu > li > a:hover {
    background: transparent !important;
    color: #ffffff;
}

/* =========================
   ACTIVE MENU ON SCROLL
========================= */

.site-header.scrolled .current-menu-item > a,
.site-header.scrolled .current_page_item > a {
    background: transparent !important;
    color: #ffffff !important;
}

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

.menu-toggle {
    border-radius: 12px;

    transition:
        background 0.3s ease,
        color 0.3s ease;
}

.site-header.scrolled .menu-toggle {
    color: #ffffff;
}

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

@media (max-width: 768px) {

    .site-header .inside-header {
        padding: 10px 18px;
    }

    .site-logo img,
    .custom-logo {
        width: 42px;
        height: 42px;
    }

    .main-title {
        font-size: 18px;
    }

    .site-description {
        display: none;
    }

}
/* =========================
   FORCE HEADER BACKGROUND
========================= */

.site-header.scrolled,
.site-header.scrolled .inside-header,
.site-header.scrolled .site-branding-container,
.site-header.scrolled .main-navigation,
.site-header.scrolled #site-navigation,
.site-header.scrolled .mobile-menu-control-wrapper {
    background: #081225 !important;
}

/* =========================
   MENU LINK COLOR
========================= */

.site-header.scrolled .main-navigation a {
    color: #ffffff !important;
}

/* =========================
   ACTIVE MENU
========================= */

.site-header.scrolled .current-menu-item > a,
.site-header.scrolled .current_page_item > a {
    color: #ffffff !important;
    background: transparent !important;
}
/* =========================
   MAIN NAVIGATION
========================= */

.main-navigation {
    display: flex;
    align-items: center;
}

/* =========================
   MENU
========================= */

.main-navigation .main-nav ul {
    display: flex;
    align-items: center;
    gap: 28px;
}

/* =========================
   MENU LINK
========================= */

.main-navigation .main-nav ul li a {
    position: relative;

    padding: 0;

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

    color: #111111;

    transition: color 0.3s ease;
}

/* =========================
   UNDERLINE EFFECT
========================= */

.main-navigation .main-nav ul li a::after {
    content: "";

    position: absolute;
    left: 0;
    bottom: -8px;

    width: 0;
    height: 2px;

    background: #0070f3;

    transition: width 0.3s ease;
}

/* =========================
   HOVER + ACTIVE
========================= */

.main-navigation .main-nav ul li a:hover,
.main-navigation .main-nav ul li.current-menu-item > a {
    color: #0070f3;
}

.main-navigation .main-nav ul li a:hover::after,
.main-navigation .main-nav ul li.current-menu-item > a::after {
    width: 100%;
}

/* =========================
   MENU COLOR ON SCROLL
========================= */

.site-header.scrolled .main-navigation .main-nav ul li a {
    color: #ffffff;
}

.site-header.scrolled .main-navigation .main-nav ul li a:hover,
.site-header.scrolled .main-navigation .main-nav ul li.current-menu-item > a {
    color: #60a5fa;
}

.site-header.scrolled .main-navigation .main-nav ul li a::after {
    background: #60a5fa;
}

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

.menu-toggle {
    border: none;
    background: transparent;

    font-size: 26px;
}

/* =========================
   RESPONSIVE
========================= */

@media (max-width: 1024px) {

    .main-navigation .main-nav ul {
        gap: 20px;
    }

}

@media (max-width: 768px) {

    .site-header .inside-header {
        padding-left: 16px;
        padding-right: 16px;
    }

}
/* =========================
   Footer Base
========================= */

.footer-bar-active .site-footer,
.site-footer {
    background: #1e3a8a; /* biru lebih solid & kontras */
}

/* =========================
   Footer Info Area
========================= */

.site-info {
    background: #233876;
    color: #e2e8f0; /* text lebih terang */
    text-align: center;
    padding: 14px 10px;
    border-top: 1px solid rgba(255,255,255,0.12);
    font-size: 14px;
    line-height: 1.7;
}

/* =========================
   Footer Links
========================= */

.site-info a {
    color: #ffffff;
    text-decoration: underline;
    text-underline-offset: 2px;
    transition: color 0.25s ease;
    font-weight: 500;
}

.site-info a:hover,
.site-info a:focus {
    color: #93c5fd; /* hover lebih accessibility friendly */
}