/* STEMAura Student Dashboard — Animations & Keyframes */

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-12px) rotate(3deg);
    }
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 15px var(--color-primary-glow);
    }
    50% {
        box-shadow: 0 0 35px var(--color-primary-glow), 0 0 15px var(--color-accent-glow);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

.animate-pulse {
    animation: pulseGlow 3s infinite;
}

.animate-slide-in {
    animation: slideInRight 0.4s var(--anim-easing) forwards;
}

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

/* Course card circuit SVG glow hover effect */
.course-card-thumb {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
}

.course-card-thumb svg, .course-card-thumb img {
    transition: transform 0.4s var(--anim-easing);
}

.glass-card:hover .course-card-thumb svg,
.glass-card:hover .course-card-thumb img {
    transform: scale(1.06);
}
