/* Simple Mobile Navigation - Dropdown Style */
@media screen and (max-width: 768px) {
    
    /* Mobile Menu Container - Simple Dropdown */
    #mobile-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        border-top: 1px solid #e5e7eb;
        box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
        z-index: 50;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
        display: none;
    }
    
    #mobile-menu:not(.hidden) {
        display: block !important;
    }
    
    /* Mobile Menu Content */
    .mobile-nav-content {
        padding: 1rem 0;
    }
    
    /* Mobile Navigation Items */
    .mobile-nav-item {
        display: block;
        padding: 0.75rem 1rem;
        text-decoration: none;
        color: #000000;
        font-weight: 500;
        border-bottom: 1px solid #f3f4f6;
        transition: all 0.2s ease;
    }
    
    .mobile-nav-item:last-child {
        border-bottom: none;
    }
    
    .mobile-nav-item:hover {
        background-color: #f8fafc;
        color: #2563eb;
        padding-left: 1.25rem;
    }
    
    .mobile-nav-item:hover svg {
        color: #2563eb;
    }
    
    .mobile-nav-item:hover span {
        color: #2563eb;
    }
    
    .mobile-nav-item.active {
        background-color: #dbeafe;
        color: #1f2937;
        font-weight: 600;
    }
    
    .mobile-nav-item.active svg {
        color: #1f2937;
    }
    
    .mobile-nav-item.active span {
        color: #1f2937;
    }
    
    /* Mobile Menu Toggle Button */
    .mobile-menu-toggle {
        display: flex;
        align-items: center;
        justify-content: center;
        padding: 0.5rem;
        border-radius: 0.375rem;
        color: #4b5563;
        transition: all 0.2s ease;
        border: none;
        background: none;
        cursor: pointer;
    }
    
    .mobile-menu-toggle:hover {
        color: #2563eb;
        background-color: #f3f4f6;
    }
    
    .mobile-menu-toggle:focus {
        outline: 2px solid #2563eb;
        outline-offset: 2px;
    }
    
    .mobile-menu-toggle svg {
        width: 1.5rem;
        height: 1.5rem;
        transition: transform 0.2s ease;
    }
    
    /* Navigation bar positioning for dropdown */
    .navbar-container {
        position: relative;
    }
    
    .navbar-container .relative {
        position: relative !important;
    }
    
    /* Ensure the mobile menu appears correctly */
    .md\\:hidden {
        position: relative;
    }
    
    /* Clean up any conflicting styles */
    .mobile-nav-overlay {
        display: none !important;
    }
    
    .mobile-nav-header,
    .mobile-nav-body {
        all: unset;
        display: block;
    }
    
    /* Remove complex animations and transitions */
    .mobile-nav-transition {
        transition: none;
    }
    
    /* Simple, clean menu item styling */
    .mobile-nav-item svg {
        width: 1.25rem;
        height: 1.25rem;
        margin-right: 0.75rem;
        vertical-align: middle;
        color: #000000;
    }
    
    .mobile-nav-item span {
        vertical-align: middle;
        color: #000000;
    }
    
    /* Responsive adjustments */
    @media screen and (max-width: 480px) {
        .mobile-nav-item {
            padding: 1rem;
            font-size: 1rem;
        }
    }
    
    /* Ensure menu doesn't interfere with page content */
    #mobile-menu.hidden {
        max-height: 0 !important;
        visibility: hidden;
        display: block !important; /* Override Tailwind's display: none */
    }
    
    /* Force display for mobile menu */
    @media screen and (max-width: 768px) {
        #mobile-menu {
            display: block !important;
        }
    }
}
