/* Additional custom styles */
.category-tag {
    transition: all 0.2s ease-in-out;
}

.glossary-card {
    transition: all 0.2s ease-in-out;
}

.glossary-card:hover {
    transform: translateY(-2px);
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Category tag animations */
.category-tag:hover {
    transform: scale(1.05);
}

/* Search input focus styles */
#searchInput:focus {
    box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.1);
}

/* Category filter button hover effects */
#categoryFilters button {
    transition: all 0.2s ease-in-out;
}

#categoryFilters button:hover {
    transform: translateY(-1px);
}

/* Card hover effects */
.glossary-card {
    transition: all 0.3s ease-in-out;
}

.glossary-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

/* Loading state animation */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.loading {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

/* Navigation menu styles */
nav a {
    position: relative;
}

nav a::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 2px;
    bottom: -4px;
    left: 0;
    background-color: #2563eb;
    transform: scaleX(0);
    transform-origin: bottom right;
    transition: transform 0.3s ease;
}

nav a:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

/* Mobile menu transition */
#mobileMenu {
    transition: all 0.3s ease-in-out;
}