/* Project cards animation */
.projects-page .project-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.projects-page .project-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.2);
}

/* Filter buttons */
.filter-button {
    transition: all 0.3s ease;
}

.filter-button.active {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: white;
}

/* Pagination */
.pagination-button {
    transition: all 0.3s ease;
}

.pagination-button.active {
    background: linear-gradient(135deg, #8B5CF6, #6D28D9);
    color: white;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Improved project grid */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

@media (max-width: 768px) {
    .projects-grid {
        grid-template-columns: 1fr;
    }
}