/* Enhanced Navigation Styles */

/* General dropdown item improvements */
.dropdown-item {
    display: flex;
    align-items: center;
    transition: all 0.2s ease;
}

.dropdown-item i {
    margin-right: 10px;
    width: 18px;
    text-align: center;
    font-size: 16px;
    color: #3498db;
}

/* Desktop hover effects */
@media (min-width: 992px) {
    .dropdown-item:hover {
        background-color: #f8f9fa;
        transform: translateX(5px);
    }
    
    .nav-link:hover {
        color: #3498db;
    }
    
    /* Make dropdown more accessible */
    .dropdown-content {
        padding: 10px 0;
    }
    
    /* Add subtle animation */
    .nav-item:hover .dropdown-content {
        animation: fadeInDown 0.3s ease forwards;
    }
    
    @keyframes fadeInDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
}

/* Mobile navigation improvements */
@media (max-width: 991px) {
    /* Make mobile menu more visually appealing */
    .nav-menu.active {
        padding-top: 0;
    }
    
    /* Better header styling for mobile menu */
    .nav-item.dropdown .nav-link {
        background-color: #f5f5f5;
        border-left: 4px solid #3498db;
    }
    
    /* Improved dropdown items */
    .dropdown-item {
        padding: 15px 20px 15px 50px;
        border-bottom: 1px solid rgba(0,0,0,0.05);
        position: relative;
    }
    
    /* Visual hierarchy with icons */
    .dropdown-item i {
        color: #3498db;
        font-size: 18px;
    }
    
    /* Active/hover states for better feedback */
    .dropdown-item:active {
        background-color: rgba(52, 152, 219, 0.1);
    }
    
    /* Make it obvious which section you're in */
    .nav-item .nav-link.active {
        background-color: #3498db;
        color: white;
    }
    
    /* Add subtle animation when dropdown opens */
    .nav-item.show-dropdown .dropdown-content {
        animation: slideDown 0.3s ease forwards;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    /* Improve visual grouping */
    .dropdown-content {
        background-color: #f9f9f9 !important;
        border-radius: 0 0 4px 4px;
        margin-bottom: 10px;
    }
    
    /* Add chevron animation */
    .nav-item.dropdown .fa-chevron-down {
        transition: transform 0.3s ease;
    }
    
    .nav-item.dropdown.show-dropdown .fa-chevron-down {
        transform: rotate(180deg);
    }
    
    /* Improve spacing */
    .nav-menu {
        padding-bottom: 20px;
    }
}
