.hamburger {
    font-size: 2rem;
    cursor: pointer;
    display: none;
    position: fixed;
    right: 1rem;
    top: 1rem;
    padding-right: 20px;
    z-index: 1100; /* Ensure it stays on top */
}

.sidebar {
    position: fixed;
    top: 20; /* Corrected value */
    right: -250px;
    width: 250px;
    height: 100%;
    background: #bdbdd2;
    padding: 1rem;
    transition: right 0.3s ease; /* Corrected property */
    z-index: 1000;
}

.sidebar-links {
    list-style: none;
    padding: 0;
}

.sidebar-links li {
    margin: 1rem 0;
}

.sidebar-links a {
    color: #3A3E98 !important;
    text-decoration: none;
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease;
    z-index: 999;
}

.sidebar.show {
    right: 0;
}

.overlay.show {
    opacity: 1;
    visibility: visible;
}

@media (max-width: 768px) {
    .mobile-off{
        display: none;
    }
    .hamburger {
        display: block;
    }
    .navbar {
        height: 70px;
    }
    .navbar-brand {
        display: block;
        position: fixed;
        left: 1rem;
        top: 0;
        padding: 10px;
        height: 60px;
    }
    .navbar-brand img {
        margin-top: 5px !important;
        width: 50px !important;
        height: 50px !important;
    }
    .sidebar {
        text-align: center;
    }
    .navbar-nav {
        list-style: none;
        padding: 0;
    }
    .nav-item {
        display: inline-block;
    }
}
