/* Top Bar */

.jnsmt-topbar {
    background: #4b4860;
    padding: 8px 0;
    color: #ffffff;
    font-size: 14px;
}

.jnsmt-topbar-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;

    display: flex;
    justify-content: space-between;
    align-items: center;
}

.jnsmt-topbar-left {
    display: flex;
    gap: 35px;
    flex-wrap: wrap;
}

.jnsmt-top-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ffffff;
}

.jnsmt-topbar-right {
    display: flex;
    gap: 18px;
}

.jnsmt-social-link {
    color: #d4d4d4;
    text-decoration: none;
    font-size: 18px;
    transition: 0.3s;
}

.jnsmt-social-link:hover {
    color: #ffffff;
}


/* Main Navbar */

.jnsmt-navbar {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: #ffffff;
    box-shadow: 0 1px 4px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, background-color 0.3s ease;
}

.jnsmt-navbar-inner {
    width: 90%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 10px 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: padding 0.3s ease;
}

.jnsmt-logo-box img {
    width: 90px;
    height: auto;
    display: block;
    transition: width 0.3s ease;
}

.jnsmt-navbar.shrink {
    box-shadow: 0 10px 30px rgba(0,0,0,0.12);
    background: #ffffff;
}

.jnsmt-navbar.shrink .jnsmt-navbar-inner {
    padding: 6px 0;
}

.jnsmt-navbar.shrink .jnsmt-logo-box img {
    width: 75px;
}

.jnsmt-menu {
    display: flex;
    align-items: center;
    gap: 16px;
}

.jnsmt-menu a {
    text-decoration: none;
    color: #444444;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}

.jnsmt-menu a::after {
    display: none;
}

.jnsmt-menu a:hover {
    color: #2f2f2f;
}

.jnsmt-apply-btn {
    background: #4b4860;
    color: #ffffff !important;
    text-decoration: none;
    padding: 12px 26px;
    border-radius: 36px;
    font-size: 15px;
    font-weight: 600;
    transition: 0.3s;
    box-shadow: none;
}

.jnsmt-apply-btn:hover {
    background: #3e3b50;
    transform: none;
    box-shadow: none;
}

.mobile-apply {
    display: none;
}

/* Hamburger button */
.jnsmt-hamburger {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
    flex-direction: column;
    gap: 5px;
    justify-content: center;
    align-items: center;
}

.jnsmt-hamburger span {
    display: block;
    width: 24px;
    height: 2.5px;
    background-color: #4b4860;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.jnsmt-hamburger.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
}

.jnsmt-hamburger.active span:nth-child(2) {
    opacity: 0;
}

.jnsmt-hamburger.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
}

/* Backdrop */
.jnsmt-nav-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(3px);
    z-index: 999;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.35s ease;
}

.jnsmt-nav-backdrop.active {
    opacity: 1;
    pointer-events: auto;
}

@media (max-width: 992px) {
    .jnsmt-hamburger {
        display: flex;
    }

    .desktop-apply {
        display: none;
    }

    .mobile-apply {
        display: inline-block;
        margin-top: 15px;
        text-align: center;
    }

    .jnsmt-navbar-inner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        gap: 0;
    }

    .jnsmt-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 280px;
        max-width: 80vw;
        height: 100vh;
        background: #4b4860;
        box-shadow: -5px 0 25px rgba(0,0,0,0.3);
        padding: 90px 30px 40px;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 22px;
        z-index: 1001;
        transition: right 0.35s cubic-bezier(0.16, 1, 0.3, 1);
        overflow-y: auto;
    }

    .jnsmt-menu.active {
        right: 0;
    }

    .jnsmt-menu a {
        color: #ffffff;
        font-size: 15px;
        letter-spacing: 0.5px;
        padding: 8px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    }

    .jnsmt-menu a:hover {
        color: #EDE7D5;
    }

    .jnsmt-topbar-inner {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }

    .jnsmt-topbar-left {
        justify-content: center;
        gap: 12px;
        font-size: 12px;
    }

    .jnsmt-top-item {
        justify-content: center;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .jnsmt-topbar {
        font-size: 11px;
        padding: 6px 0;
    }
    
    .jnsmt-topbar-left {
        gap: 6px;
        flex-direction: column;
    }

    .jnsmt-logo-box img {
        width: 70px;
    }
}