/* =========================
   NAVBAR
========================= */

.site-header {
    position: fixed;

    top: 0;
    left: 0;
    right: 0;

    width: 100%;

    background: rgba(255, 255, 255, 0.95);

    border-bottom: 1px solid rgba(227, 236, 230, 0.7);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    z-index: 9999;
}


.navbar {

    min-height: 82px;

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 25px;
}


.brand img {
    width: 145px;
}


.nav-menu {

    display: flex;

    align-items: center;

    gap: 27px;
}


.nav-menu a {

    color: var(--text);

    font-size: 13px;

    font-weight: 500;

    position: relative;

    transition: .2s;
}


.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary);
}


.nav-menu a.active::after {

    content: "";

    position: absolute;

    left: 0;

    bottom: -10px;

    height: 2px;

    width: 100%;

    background: var(--primary);

    border-radius: 5px;
}


.navbar-actions {

    display: flex;

    align-items: center;

    gap: 13px;
}


.search-button,
.mobile-menu-button {

    width: 42px;
    height: 42px;

    border: none;

    background: transparent;

    color: var(--navy);

    font-size: 22px;

    cursor: pointer;
}


.mobile-menu-button {
    display: none;
}


/* =========================
   FOOTER
========================= */

.footer {

    margin-top: 80px;

    padding-top: 70px;

    background: #f7faf8;
}


.footer-grid {

    display: grid;

    grid-template-columns:
        1.7fr 1fr 1fr 1.3fr;

    gap: 50px;

    padding-bottom: 55px;
}


.footer-brand img {

    width: 170px;

    margin-bottom: 20px;
}


.footer-brand p {

    color: var(--text-muted);

    max-width: 330px;

    font-size: 14px;
}


.footer-column {

    display: flex;

    flex-direction: column;

    gap: 10px;
}


.footer-column h4 {

    color: var(--navy);

    margin-bottom: 8px;
}


.footer-column a,
.footer-column p {

    font-size: 13px;

    color: var(--text-muted);
}


.footer-column a:hover {

    color: var(--primary);
}


.footer-bottom {

    border-top: 1px solid var(--border);

    padding: 22px 0;

    display: flex;

    justify-content: space-between;

    align-items: center;

    font-size: 12px;

    color: var(--text-muted);
}


.social-links {

    display: flex;

    gap: 18px;
}


/* =========================
   FLOATING WHATSAPP
========================= */

.floating-whatsapp {

    position: fixed;

    bottom: 26px;

    right: 26px;

    width: 55px;

    height: 55px;

    border-radius: 50%;

    background: #22c55e;

    color: white;

    display: flex;

    align-items: center;

    justify-content: center;

    font-size: 23px;

    z-index: 100;

    box-shadow:
        0 10px 30px rgba(34, 197, 94, 0.25);
}
/* =========================================
   GLOBAL SEARCH
========================================= */

/* =========================================
   GLOBAL SEARCH
========================================= */

.navbar-actions {
    display: flex;
    align-items: center;
    gap: 13px;

    position: relative;
    z-index: 1001;

    flex-shrink: 0;
}


/* SEARCH BUTTON */

.nav-search-btn {
    position: relative;
    z-index: 1002;

    width: 42px;
    height: 42px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    padding: 0;

    background: transparent;

    border: none;
    outline: none;

    color: var(--navy);

    cursor: pointer;

    transition:
        color 0.2s ease,
        background 0.2s ease;
}

.nav-search-btn svg {
    width: 20px;
    height: 20px;

    pointer-events: none;

    fill: none;
    stroke: currentColor;

    stroke-width: 1.8;
    stroke-linecap: round;
}

.nav-search-btn:hover {
    color: var(--primary);

    background: rgba(17, 148, 71, 0.07);

    border-radius: 50%;
}


/* =========================================
   SEARCH OVERLAY
========================================= */

.search-overlay {
    position: fixed;
    inset: 0;

    z-index: 99999;

    opacity: 0;
    visibility: hidden;

    /*
       PENTING:
       saat overlay tidak aktif,
       overlay tidak boleh menangkap klik.
    */
    pointer-events: none;

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease;
}


.search-overlay.active {
    opacity: 1;
    visibility: visible;

    pointer-events: auto;
}


/* BACKDROP */

.search-backdrop {
    position: absolute;
    inset: 0;

    z-index: 1;

    background: rgba(16, 42, 67, 0.35);

    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}


/* SEARCH PANEL */

.search-panel {
    position: relative;

    z-index: 2;

    width: min(760px, calc(100% - 40px));

    margin: 90px auto 0;

    padding: 35px;

    background: #ffffff;

    border-radius: 25px;

    box-shadow:
        0 25px 70px rgba(16, 42, 67, 0.16);

    opacity: 0;

    transform: translateY(-20px);

    transition:
        opacity 0.25s ease,
        transform 0.3s ease;
}


.search-overlay.active .search-panel {
    opacity: 1;

    transform: translateY(0);
}
.nav-login {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    height: 38px;
    padding: 0 15px;

    border: 1.5px solid #e53935;
    border-radius: 9px;

    background: transparent;
    color: #e53935;

    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;

    transition: all 0.25s ease;
}

.nav-login:hover {
    background: #e53935;
    color: #ffffff;

    transform: translateY(-1px);

    box-shadow: 0 6px 16px rgba(229, 57, 53, 0.18);
}
/* =========================================
   FOOTER
========================================= */

.footer {
    position: relative;

    padding: 80px 0 0;

    background:
        linear-gradient(
            135deg,
            #0b2236 0%,
            #102a43 55%,
            #0c3828 100%
        );

    color: #ffffff;

    overflow: hidden;
}


/* Decoration */

.footer::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -150px;
    top: -180px;

    border-radius: 50%;

    background:
        rgba(17, 148, 71, 0.10);
}


.footer::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    left: -120px;
    bottom: -140px;

    border-radius: 50%;

    background:
        rgba(166, 206, 57, 0.06);
}


/* =========================================
   MAIN FOOTER
========================================= */

.footer-main {
    position: relative;

    z-index: 2;

    display: grid;

    grid-template-columns:
        1.5fr 0.7fr 0.7fr 1fr;

    gap: 60px;

    padding-bottom: 60px;
}


/* =========================================
   BRAND
========================================= */

.footer-brand {
    max-width: 360px;
}


.footer-logo {
    display: inline-block;

    margin-bottom: 24px;
}


.footer-logo img {
    width: 170px;
    height: auto;

    display: block;
}


.footer-brand > p {
    margin: 0 0 28px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 13px;
    line-height: 1.9;
}


/* =========================================
   SOCIAL
========================================= */

.footer-social {
    display: flex;

    flex-wrap: wrap;

    gap: 10px;
}


.footer-social a {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    padding: 9px 14px;

    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 999px;

    background:
        rgba(255, 255, 255, 0.05);

    color:
        rgba(255, 255, 255, 0.85);

    font-size: 11px;
    font-weight: 500;

    text-decoration: none;

    transition:
        background 0.25s ease,
        border-color 0.25s ease,
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-social a:hover {
    transform: translateY(-2px);

    background: var(--primary);

    border-color: var(--primary);

    color: #ffffff;
}


/* =========================================
   COLUMN
========================================= */

.footer-column {
    display: flex;
    flex-direction: column;

    align-items: flex-start;
}


.footer-column h4 {
    position: relative;

    margin: 0 0 24px;

    color: #ffffff;

    font-size: 14px;
    font-weight: 600;
}


.footer-column h4::after {
    content: "";

    position: absolute;

    left: 0;
    bottom: -9px;

    width: 28px;
    height: 2px;

    border-radius: 2px;

    background: var(--primary-light);
}


.footer-column > a {
    position: relative;

    margin-bottom: 13px;

    color: rgba(255, 255, 255, 0.68);

    font-size: 12px;
    font-weight: 400;

    text-decoration: none;

    transition:
        color 0.25s ease,
        transform 0.25s ease;
}


.footer-column > a:hover {
    color: #ffffff;

    transform: translateX(4px);
}


/* =========================================
   CONTACT
========================================= */

.footer-contact {
    gap: 16px;
}


.footer-contact h4 {
    margin-bottom: 25px;
}


.footer-contact-item {
    display: flex;

    align-items: flex-start;

    gap: 12px;
}


.footer-contact-item > span {
    width: 34px;
    height: 34px;

    flex-shrink: 0;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background:
        rgba(17, 148, 71, 0.15);

    font-size: 15px;
}


.footer-contact-item strong {
    display: block;

    margin-bottom: 3px;

    color: #ffffff;

    font-size: 11px;
    font-weight: 600;
}


.footer-contact-item p {
    margin: 0;

    color: rgba(255, 255, 255, 0.62);

    font-size: 11px;
    line-height: 1.6;
}


/* =========================================
   FOOTER BOTTOM
========================================= */

.footer-bottom {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 25px;

    padding: 22px 0;

    border-top:
        1px solid rgba(255, 255, 255, 0.10);
}


.footer-bottom > p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.55);

    font-size: 10px;
}


.footer-bottom-links {
    display: flex;

    align-items: center;

    gap: 20px;
}


.footer-bottom-links a {
    color:
        rgba(255, 255, 255, 0.55);

    font-size: 10px;

    text-decoration: none;

    transition: color 0.25s ease;
}


.footer-bottom-links a:hover {
    color: #ffffff;
}


/* =========================================
   TABLET
========================================= */

@media (max-width: 1000px) {

    .footer-main {
        grid-template-columns:
            repeat(2, 1fr);

        gap: 45px;
    }

}


/* =========================================
   MOBILE
========================================= */

@media (max-width: 650px) {

    .footer {
        padding-top: 60px;
    }


    .footer-main {
        grid-template-columns: 1fr;

        gap: 40px;

        padding-bottom: 45px;
    }


    .footer-brand {
        max-width: 100%;
    }


    .footer-logo img {
        width: 155px;
    }


    .footer-bottom {
        flex-direction: column;

        align-items: flex-start;

        gap: 14px;
    }

}
.navbar-logo-video {
    width: 155px;
    height: 82px;
    object-fit: contain;
    display: block;
    pointer-events: none;
}
/* ==============================
   FIX TOMBOL LOGIN ALOHA
============================== */

.site-header .navbar-login {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;

    background-color: #ef3333 !important;
    color: #ffffff !important;

    padding: 12px 20px;
    border-radius: 10px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none !important;

    border: none;
    cursor: pointer;

    transition: all 0.3s ease;
}

.site-header .navbar-login:hover {
    background-color: #d62828 !important;
    color: #ffffff !important;
}

/* =========================================
   NAVBAR MOBILE RESPONSIVE FIX
========================================= */

@media (max-width: 850px) {

    .site-header {
        width: 100%;
        max-width: 100%;
    }

    .site-header .navbar {
        width: 100%;
        min-width: 0;
        gap: 12px;
    }

    .site-header .brand {
        min-width: 0;
        flex: 0 1 auto;
    }

    .site-header .brand img,
    .site-header .navbar-logo-video {
        width: 125px;
        max-width: 100%;
        height: auto;
    }

    .site-header .navbar-actions {
        gap: 8px;
        flex-shrink: 0;
    }

    .site-header .mobile-menu-button {
        flex-shrink: 0;
    }

    .site-header .nav-menu {
        box-sizing: border-box;
        max-width: 100%;
    }
}

@media (max-width: 380px) {

    .site-header .brand img,
    .site-header .navbar-logo-video {
        width: 105px;
    }

    .site-header .navbar-actions {
        gap: 4px;
    }

    .site-header .nav-login {
        padding: 0 10px;
        font-size: 12px;
    }
}
