/* ==========================================
   GLOBAL SAFETY
========================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding-top: 85px;
    font-family: 'Poppins', sans-serif;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==========================================
   HEADER
========================================== */
.header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    background: rgba(255,255,255,.92);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);

    border-bottom: 1px solid rgba(0,0,0,.05);
    transition: .35s ease;
}

.header.sticky{
    background: #fff;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.header-wrapper{
    display: flex;
    justify-content: space-between;
    align-items: center;

    height: 85px;
    padding: 0 16px;
    max-width: 1200px;
    margin: auto;
}

/* ==========================================
   LOGO
========================================== */
.logo{
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    min-width: 0;
}

.logo img{
    width: 60px;
    height: 60px;
    object-fit: contain;
    flex-shrink: 0;
}

.logo-text{
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.logo-text small{
    font-size: 12px;
    color: #777;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.logo-text h2{
    font-size: 22px;
    font-weight: 700;
    color: #0B6B3A;
    margin: 2px 0 0;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* ==========================================
   RIGHT AREA
========================================== */
.header-right{
    display: flex;
    align-items: center;
    gap: 12px;
}

/* ==========================================
   BUTTON
========================================== */
.btn{
    display: flex;
    align-items: center;
    gap: 8px;

    padding: 10px 18px;
    border-radius: 50px;

    font-size: 14px;
    font-weight: 600;
    text-decoration: none;

    transition: .3s;
    white-space: nowrap;
}

.btn-primary{
    background: #0B6B3A;
    color: #fff;
}

.btn-primary:hover{
    background: #084E2B;
    transform: translateY(-2px);
}

.btn-outline{
    border: 2px solid #0B6B3A;
    color: #0B6B3A;
}

.btn-outline:hover{
    background: #0B6B3A;
    color: #fff;
}

/* ==========================================
   MENU TOGGLE
========================================== */
.menu-toggle{
    display: none;

    width: 44px;
    height: 44px;

    border: none;
    border-radius: 10px;

    background: #0B6B3A;
    cursor: pointer;

    justify-content: center;
    align-items: center;
    flex-direction: column;

    gap: 5px;

    flex-shrink: 0;
}

.menu-toggle span{
    width: 22px;
    height: 2px;
    background: #fff;
    transition: .3s;
}

.menu-toggle.active span:nth-child(1){
    transform: rotate(45deg) translateY(8px);
}

.menu-toggle.active span:nth-child(2){
    opacity: 0;
}

.menu-toggle.active span:nth-child(3){
    transform: rotate(-45deg) translateY(-8px);
}

/* ==========================================
   LOGIN & DAFTAR HIDE DI HP (FIX)
========================================== */
@media (max-width: 1024px){
    .header-right .btn{
        display: none !important;
    }
}

/* ==========================================
   TABLET
========================================== */
@media (max-width: 992px){
    .menu-toggle{
        display: flex;
    }

    .logo-text h2{
        font-size: 18px;
    }
}

/* ==========================================
   HP BESAR
========================================== */
@media (max-width: 768px){

    body{
        padding-top: 75px;
    }

    .header-wrapper{
        height: 75px;
        padding: 0 14px;
    }

    .logo img{
        width: 50px;
        height: 50px;
    }

    .logo-text small{
        font-size: 10px;
    }

    .logo-text h2{
        font-size: 16px;
    }
}

/* ==========================================
   HP KECIL
========================================== */
@media (max-width: 480px){

    .header-wrapper{
        padding: 0 10px;
    }

    .logo{
        gap: 8px;
    }

    .logo img{
        width: 42px;
        height: 42px;
    }

    .logo-text h2{
        font-size: 14px;
    }

    .logo-text small{
        font-size: 9px;
    }

    .menu-toggle{
        width: 42px;
        height: 42px;
    }
}