
/* NUCLEAR NAVIGATION REPAIR - ZERO TOLERANCE FOR DUPLICATES */

/* Hide all duplicate navigations except the main one */
nav:not(#main-nav) { display: none !important; }
header:not(#main-header) { display: none !important; }
footer:not(#main-footer) { display: none !important; }

/* Ensure main navigation is visible and functional */
#main-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(135deg, #0066cc 0%, #004499 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

#main-nav {
    display: flex !important;
    align-items: center;
    gap: 20px;
}

/* Left Sidebar Styles */
.left-sidebar {
    position: fixed;
    left: -300px;
    top: 0;
    width: 300px;
    height: 100vh;
    background: #f8f9fa;
    border-right: 1px solid #dee2e6;
    transition: left 0.3s ease;
    z-index: 999;
    overflow-y: auto;
}

.left-sidebar.active {
    left: 0;
}

.sidebar-header {
    padding: 20px;
    background: #0066cc;
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sidebar-close {
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

.sidebar-content {
    padding: 20px;
}

.sidebar-link {
    display: block;
    padding: 10px 0;
    color: #0066cc;
    text-decoration: none;
    border-bottom: 1px solid #dee2e6;
}

.sidebar-link:hover {
    background: #e9ecef;
    padding-left: 10px;
    transition: all 0.3s ease;
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 20px;
    cursor: pointer;
}

@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    #main-nav {
        display: none;
    }
    
    #main-nav.mobile-active {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #0066cc;
        padding: 20px;
    }
}

/* Dropdown Styles */
.dropdown {
    position: relative;
}

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    min-width: 200px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border-radius: 4px;
    z-index: 1001;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.dropdown-content a {
    display: block;
    padding: 10px 15px;
    color: #333;
    text-decoration: none;
    border-bottom: 1px solid #eee;
}

.dropdown-content a:hover {
    background: #f8f9fa;
}

/* Footer Styles */
#main-footer {
    background: #343a40;
    color: white;
    padding: 40px 0 20px;
    margin-top: 50px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h4 {
    color: #0066cc;
    margin-bottom: 15px;
}

.footer-section a {
    display: block;
    color: #adb5bd;
    text-decoration: none;
    margin-bottom: 8px;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #495057;
    color: #adb5bd;
}
