/* Add to your static/css/custom.css */

/* Navigation Styles */
.nav-link {
    @apply text-gray-700 hover:text-blue-600 font-medium transition-colors duration-200 relative;
}

.nav-link.active {
    @apply text-blue-600;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, #3B82F6, #8B5CF6);
    border-radius: 1px;
}

/* Dropdown Animation */
.group:hover .group-hover\:opacity-100 {
    animation: dropdown-enter 0.3s ease-out forwards;
}

@keyframes dropdown-enter {
    from {
        opacity: 0;
        transform: translateY(8px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Mobile Menu Styles */
@media (max-width: 768px) {
    .nav-link.active::after {
        display: none;
    }
}

/* Smooth scrolling for anchor links */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
.nav-link:focus {
    @apply outline-none ring-2 ring-blue-500 ring-offset-2 rounded;
}

/* Hover effects for dropdown items */
.dropdown-item {
    @apply transition-all duration-200 ease-in-out;
}

.dropdown-item:hover {
    @apply transform translate-x-1;
}