/* Mobile Menu Styles */
.mobile-nav-bar {
    display: none;
    background: #fff;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.mobile-hamburger {
    cursor: pointer;
    font-size: 20px;
    color: #0b008b;
    padding: 8px 12px;
    background: #fff;
    border-radius: 4px;
    border: 1px solid #0b008b;
    transition: all 0.3s ease;
}

.mobile-hamburger:hover {
    background: #0b008b;
    color: #fff;
}

.mobile-slider {
    position: fixed;
    top: 0;
    left: -280px; /* Start off-screen */
    width: 280px;
    height: 100%;
    background-color: #0b008b;
    z-index: 1002;
    transition: transform 0.3s ease-in-out;
    padding: 60px 20px;
    box-shadow: 2px 0 10px rgba(0,0,0,0.3);
}

.mobile-slider.active {
    transform: translateX(280px); /* Slide in */
}

.mobile-slider .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.mobile-logo {
    text-align: center;
    margin-bottom: 40px;
}

.mobile-logo img {
    width: 100px;
    height: auto;
}

.mobile-menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-menu-list li {
    margin-bottom: 15px;
}

.mobile-menu-list li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 15px;
    border-radius: 5px;
    transition: background 0.3s;
}

.mobile-menu-list li a:hover,
.mobile-menu-list li a.active {
    background: rgba(255, 255, 255, 0.1);
}

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

.mobile-overlay.active {
    display: block;
    opacity: 1;
}

@media screen and (max-width: 768px) {
    .mobile-nav-bar {
        display: block !important;
    }

    .mobile-hamburger {
        display: flex !important;
        align-items: center;
        justify-content: center;
    }

    /* Hide the desktop left sidebar on mobile */
    .left-sidebar, 
    .hero .col-2 {
        display: none !important;
    }

    /* Ensure main content takes full width */
    .hero .col-10 {
        width: 100% !important;
        flex: 0 0 100% !important;
        max-width: 100% !important;
        padding: 0 15px !important;
    }

    /* Reset row margin for better mobile fit */
    .hero .row.m-0 {
        margin: 0 !important;
    }
}
