/* Enhanced Mobile Menu Styles for Better Visual Grouping */

/* Hide by default on desktop */
.mobile-menu {
    display: none;
}

@media (max-width: 991px) {
    .mobile-menu {
        display: block;
        position: fixed;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100vh;
        background: rgba(10, 88, 202, 0.95);
        z-index: 10000;
        transition: left 0.3s ease;
        overflow-y: auto;
        padding: 20px;
        box-sizing: border-box;
    }
    
    .mobile-category {
        margin: 20px 0;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 10px;
        overflow: hidden;
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    }
    
    .mobile-category-header {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 18px 20px;
        background: rgba(0, 0, 0, 0.25);
        color: white;
        font-weight: 600;
        font-size: 1.1rem;
        cursor: pointer;
        transition: all 0.3s ease;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .mobile-category-header:hover {
        background: rgba(0, 0, 0, 0.35);
    }
    
    .mobile-category-header i {
        transition: transform 0.3s ease;
        font-size: 0.9rem;
    }
    
    .mobile-category-header.active i {
        transform: rotate(180deg);
    }
    
    .mobile-submenu {
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.4s ease;
        background: rgba(255, 255, 255, 0.08);
    }
    
    .mobile-submenu.active {
        max-height: 1000px;
    }
    
    .mobile-submenu-item {
        display: block;
        padding: 14px 20px 14px 35px;
        color: rgba(255, 255, 255, 0.95);
        text-decoration: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
        transition: all 0.3s ease;
        font-size: 1.05rem;
        position: relative;
    }
    
    .mobile-submenu-item:last-child {
        border-bottom: none;
    }
    
    .mobile-submenu-item:hover {
        background: rgba(255, 255, 255, 0.15);
        color: white;
        padding-left: 40px;
    }
    
    .mobile-submenu-item::before {
        content: "•";
        position: absolute;
        left: 20px;
        color: rgba(255, 255, 255, 0.7);
    }
    
    /* Special styling for the CTA button */
    .mobile-menu-item.cta {
        background: linear-gradient(135deg, #ffc107 0%, #ff9800 100%);
        color: #000;
        border-radius: 8px;
        text-align: center;
        font-weight: 600;
        margin: 25px 0;
        border-bottom: none;
        box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
    }
    
    .mobile-menu-item.cta:hover {
        background: linear-gradient(135deg, #ffca2c 0%, #ffa726 100%);
        padding-left: 0;
        transform: translateY(-3px);
        box-shadow: 0 6px 15px rgba(255, 193, 7, 0.4);
    }
}

@media (max-width: 768px) {
    .mobile-category-header {
        padding: 15px 15px;
        font-size: 1rem;
    }
    
    .mobile-submenu-item {
        padding: 12px 15px 12px 30px;
        font-size: 1rem;
    }
    
    .mobile-submenu-item:hover {
        padding-left: 35px;
    }
    
    .mobile-submenu-item::before {
        left: 15px;
    }
}