/* ==================================================
   HEADER WEBSITE KKN UDN
================================================== */

.main-header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    z-index:1000;
    transition:
        background-color .3s ease,
        box-shadow .3s ease,
        transform .3s ease;
}


/* ==================================================
   HEADER INFORMASI ATAS
================================================== */

.header-top{
    background:#062b4d;
    color:#ffffff;
    font-size:13px;
}

.header-top-content{
    min-height:42px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}

.header-top-left,
.header-top-right{
    display:flex;
    align-items:center;
}

.header-top-right{
    gap:24px;
}

.header-contact-item{
    display:inline-flex;
    align-items:center;
    gap:7px;
    color:#ffffff;
    white-space:nowrap;
}

.header-contact-icon{
    color:#f4b942;
}

.header-top-right a:hover{
    color:#ffd77f;
}


/* ==================================================
   NAVIGASI UTAMA
================================================== */

.main-navigation{
    position:relative;
    background:rgba(255,255,255,.98);
    backdrop-filter:blur(14px);
    -webkit-backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(13,79,139,.08);
    box-shadow:0 6px 20px rgba(6,43,77,.07);
}

.navigation-wrapper{
    min-height:86px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:24px;
}


/* ==================================================
   IDENTITAS / LOGO
================================================== */

.site-brand{
    display:flex;
    align-items:center;
    gap:13px;
    flex:0 0 auto;
}

.brand-logo{
    width:58px;
    height:58px;
    display:grid;
    place-items:center;
    border-radius:17px;
    background:linear-gradient(
        135deg,
        #0d4f8b 0%,
        #1683c2 55%,
        #28a7df 100%
    );
    color:#ffffff;
    font-size:19px;
    font-weight:900;
    letter-spacing:.03em;
    box-shadow:
        0 10px 24px rgba(13,79,139,.22),
        inset 0 1px 0 rgba(255,255,255,.25);
}

.brand-text{
    line-height:1.25;
}

.brand-text strong{
    display:block;
    color:#062b4d;
    font-size:22px;
    font-weight:800;
}

.brand-text span{
    display:block;
    margin-top:2px;
    color:#6d7d8d;
    font-size:13px;
}


/* ==================================================
   MENU DESKTOP
================================================== */

.navigation-menu{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:3px;
}

.navigation-link{
    position:relative;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:44px;
    padding:10px 11px;
    border-radius:10px;
    color:#425466;
    font-size:14px;
    font-weight:650;
    line-height:1.25;
    text-align:center;
    transition:
        color .25s ease,
        background-color .25s ease,
        transform .25s ease;
}

.navigation-link:hover{
    background:#edf5fb;
    color:#0d4f8b;
    transform:translateY(-1px);
}

.navigation-link.active{
    background:linear-gradient(
        135deg,
        #0d4f8b,
        #166fa7
    );
    color:#ffffff;
    box-shadow:0 8px 18px rgba(13,79,139,.19);
}


/* ==================================================
   TOMBOL MENU MOBILE
================================================== */

.mobile-menu-button{
    display:none;
    width:46px;
    height:46px;
    padding:10px;
    border:0;
    border-radius:11px;
    background:linear-gradient(
        135deg,
        #0d4f8b,
        #1683c2
    );
    cursor:pointer;
    box-shadow:0 8px 18px rgba(13,79,139,.2);
}

.mobile-menu-button span{
    display:block;
    width:100%;
    height:2px;
    margin:5px 0;
    border-radius:999px;
    background:#ffffff;
    transition:
        transform .25s ease,
        opacity .25s ease;
}


/* ==================================================
   HEADER SAAT SCROLL
================================================== */

.main-header.header-scroll .header-top{
    display:none;
}

.main-header.header-scroll .main-navigation{
    box-shadow:0 10px 28px rgba(6,43,77,.14);
}

.main-header.header-scroll .navigation-wrapper{
    min-height:72px;
}

.main-header.header-scroll .brand-logo{
    width:50px;
    height:50px;
    border-radius:15px;
}

.main-header.header-scroll .brand-text strong{
    font-size:20px;
}


/* ==================================================
   RESPONSIVE TABLET
================================================== */

@media(max-width:1100px){

    .navigation-wrapper{
        gap:15px;
    }

    .navigation-link{
        padding:9px 7px;
        font-size:13px;
    }

}


/* ==================================================
   RESPONSIVE MOBILE
================================================== */

@media(max-width:900px){

    .header-top{
        display:none;
    }

    .navigation-wrapper{
        min-height:76px;
    }

    .mobile-menu-button{
        display:block;
    }

    .navigation-menu{
        display:none;
        position:absolute;
        top:76px;
        left:0;
        right:0;
        grid-template-columns:1fr 1fr;
        gap:8px;
        padding:16px;
        background:#ffffff;
        border-top:1px solid #e4edf4;
        box-shadow:0 18px 35px rgba(6,43,77,.15);
    }

    .navigation-menu.show{
        display:grid;
    }

    .navigation-link{
        width:100%;
        min-height:46px;
        justify-content:flex-start;
        padding:11px 13px;
        text-align:left;
    }

}


/* ==================================================
   RESPONSIVE HP KECIL
================================================== */

@media(max-width:560px){

    .container{
        width:90%;
    }

    .brand-logo{
        width:50px;
        height:50px;
        border-radius:15px;
        font-size:17px;
    }

    .brand-text strong{
        font-size:19px;
    }

    .brand-text span{
        font-size:12px;
    }

    .navigation-menu{
        grid-template-columns:1fr;
    }

}