/* UNIQUE PARENT CLASS: nmobile_menu - prevents conflicts with any other menu on the page */
#mside-menu { padding-top: unset !important; }
#mside-menu a { font-family: "poppins", sans-serif; font-size: 15px !important; font-weight: 400; letter-spacing: 0.5px; color: #333 !important; padding: 15px 20px 15px 20px !important; }
.nmobile_menu {
    max-width: 340px;
    width: 100%;
    background: #f1f1f1;
    backdrop-filter: blur(0px);
    /*overflow: hidden;*/
    transition: all 0.2s ease;
    height: 100%;
}

.nmobile_menu #nmobileNavList { padding:0; }

/* Logo area */
.nmobile_menu .logo-area {
    padding: 2rem 1.8rem 1.5rem 1.8rem;
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    /*background: #ffffff;*/
}

.nmobile_menu .logo-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    transition: transform 0.2s ease;
}

.nmobile_menu .logo-wrapper:hover {
    transform: scale(1.02);
}

.nmobile_menu .logo-icon {
    width: 100%;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0.25rem;
}

.nmobile_menu .logo-icon svg {
    width: 32px;
    height: 32px;
    filter: drop-shadow(0 1px 1px rgba(0,0,0,0.2));
}

.nmobile_menu .logo-text {
    font-weight: 700;
    font-size: 1.7rem;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #1f2e3c, #2c4b5e);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
}

.nmobile_menu .logo-sub {
    font-size: 0.75rem;
    font-weight: 500;
    color: #5a6e7e;
    letter-spacing: 0.3px;
    margin-top: -4px;
}

/* menu container inside unique class */
.nmobile_menu .vertical-menu {
    /*padding: 1.2rem 1rem 1.8rem 1rem;*/
}

.nmobile_menu .nav-list {
    list-style: none;
    width: 100%;
}

.nmobile_menu .nav-item {
    /*margin-bottom: 0.5rem;*/
    transition: all 0.2s;
    border-bottom: 1px solid #cbcbcb;
}

/* main link (level 1) */
.nmobile_menu .nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.85rem 1rem;
    font-weight: 600;
    font-size: 1rem;
    color: #1e2f3c;
    background: transparent;
    /*border-radius: 1.2rem;*/
    transition: all 0.25s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    cursor: pointer;
    text-decoration: none;


    padding: 15px 20px 15px 20px;
}

.nmobile_menu .link-content {
    display: flex;
    align-items: center;
    gap: 0.9rem;
}

.nmobile_menu .menu-icon {
    width: 26px;
    height: 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
}

.nmobile_menu .menu-text {
    /*font-weight: 540;*/

    font-family: "poppins", sans-serif;
    font-size: 18px !important;
    font-weight: 400;
    letter-spacing: 0.5px;
    color: #333 !important;
}

/* chevron indicator */
.nmobile_menu .chevron {
    font-size: 0.85rem;
    transition: transform 0.35s cubic-bezier(0.34, 1.2, 0.64, 1);
    color: #7f8c8d;
    font-weight: 400;
    display: inline-block;
}

/* submenu (level 2) */
.nmobile_menu .submenu {
    list-style: none;
    /*padding-left: 2.2rem;*/
    /*margin-top: 0.2rem;
    margin-bottom: 0.2rem;*/
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.45s cubic-bezier(0.33, 1, 0.68, 1);
    background: transparent;
    padding-left: 0;
}

/* when submenu is open */
.nmobile_menu .submenu.open {
    max-height: 380px;   /* enough for 5 items with smoothness */

    max-height: 100%;
}

.nmobile_menu .submenu-item {
    margin: 0.3rem 0;
    border-bottom: 1px solid #cbcbcb;
    padding-left: 16px;
}
.nmobile_menu .submenu-item:last-child { border-bottom: 0px; }

.nmobile_menu .submenu-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.65rem 1rem 0.65rem 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    color: #2c4b5c;
    border-radius: 1rem;
    transition: all 0.2s ease;
    text-decoration: none;
    background: transparent;
}

/* hover effects */
.nmobile_menu .nav-link:hover {
    background: #c9c9c9;
    color: #0f2c3b;
}

.nmobile_menu .submenu-link:hover {
    /*background: #eef2f8;
    color: #1c4e6e;
    transform: translateX(6px);*/

    font-weight: 600 !important;
}

/* active/open parent styling */
.nmobile_menu .nav-item.active-parent > .nav-link {
    background: #c9c9c9;
    color: #1f5e7e;
}

.nmobile_menu .nav-item.active-parent .chevron {
    transform: rotate(90deg);
    color: #2c6e8f;
}

.nmobile_menu .footer-note {
    padding: 0.8rem 1.5rem 1.5rem 1.5rem;
    text-align: center;
    font-size: 0.7rem;
    color: #8ba0ae;
    border-top: 1px solid rgba(0, 0, 0, 0.04);
    background: #ffffff;
}

/* responsive */
@media (max-width: 480px) {
    .nmobile_menu {
        max-width: 100%;
    }
    .nmobile_menu .submenu {
        padding-left: 1.6rem;
    }
}

/* subtle touch feedback */
.nmobile_menu .nav-link:active,
.nmobile_menu .submenu-link:active {
    background: #e2eaf2;
    transition: 0.05s;
}