/* ==========================================================
   NAVBAR RSUD
========================================================== */


/* ==========================================================
   NAVBAR WRAPPER
========================================================== */
.navbar-rsud {
    background:#fff;
    border-top:1px solid #f3f3f3;
    border-bottom:1px solid #ececec;
    transition:.3s;
}

.navbar-rsud .nav{
    display:flex;
    align-items:center;
    gap:30px;
    height:52px;
    font-weight: 600;
}

/* Sticky Effect */
.navbar-rsud.shrink {
    padding-bottom: 0.4rem;
    position:sticky;
    top:0;
    z-index:999;
    background:#fff;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
}


/* ==========================================================
   NAVIGATION
========================================================== */
.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-item {
    position: relative;
}

.nav-link {
    display:flex;
    align-items:center;
    gap:6px;
    position:relative;

    padding:15px 14px;

    color:#222;
    font-size:16px;
    font-weight:600;

    text-decoration:none;

    transition:.25s;
}

.nav-link:hover {
    color: #E31E24;
    text-decoration: none;
}

.nav-link.active {
    color: #E31E24;
    font-weight: 700;
    border-bottom: 2px;
}

.nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    height: 3px;
    left:50%;
    transform:translateX(-50%);
    width:42px;
    background:#d71920;
    border-radius:50px;
}


/* ==========================================================
   SUBMENU
========================================================== */
.nav-item.has-submenu {
    position: relative;
}

.submenu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #ffffff;
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
    border-radius: 10px;
    opacity: 0;
    pointer-events: none;
    overflow:hidden;
    visibility:hidden;
    transform:translateY(12px);
    transition:.25s;
    z-index:999;
}

.nav-item.has-submenu:hover .submenu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    visibility:visible;
}

.submenu a {
    display: block;
    padding: 10px 14px;
    color: #333;
    text-decoration: none;
    padding:13px 18px;
    transition:.2s;
}

.submenu a:hover {
    background: #fafafa;
    color: #E31E24;
    padding-left:24px;
}


/* ==========================================================
   DROPDOWN ARROW
========================================================== */
.arrow {
    margin-left: 4px;
    font-size: 10px;
    transition: transform 0.25s ease;
}

.nav-item.has-submenu:hover .arrow {
    transform: rotate(180deg);
    color:#E31E24;
}

/* ==========================================================
   NAVBAR CONTAINER
========================================================== */

.navbar-container{

    max-width:1280px;

    margin:0 auto;

    padding:0 20px;

    display:flex;

    justify-content:space-between;

    align-items:center;

}

/* ==========================================================
   NAVBAR TOOLS
========================================================== */

.navbar-tools{

    display:flex;

    align-items:center;

}

.nav-search{

    width:40px;

    height:40px;

    display:flex;

    align-items:center;

    justify-content:center;

    border-radius:50%;

    color:#333;

    text-decoration:none;

    transition:.25s;

}

.nav-search:hover{

    background:#f5f5f5;

    color:#d71920;

    text-decoration: none;

}