.animate-visible {
    opacity: 1 !important;
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.animate-fade-in-up {
    transform: translateY(20px);
}

.animate-fade-in-left {
    transform: translateX(-20px);
}

.animate-fade-in-right {
    transform: translateX(20px);
}

.animate-fade-in-scale {
    transform: scale(0.95);
}

.animate-fade-in-up.animate-visible,
.animate-fade-in-left.animate-visible,
.animate-fade-in-right.animate-visible {
    transform: translate(0);
}

.animate-fade-in-scale.animate-visible {
    transform: scale(1);
}

/* Ripple effect */
.ripple {
    position: absolute;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(2.5);
        opacity: 0;
    }
}

/* Button transitions */
.btn,
.btn-primary,
.btn-outline {
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-outline:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* Profile image animation */
.animate-fade-in-scale {
    transition: transform 0.3s ease;
}

.animate-fade-in-scale:hover {
    transform: scale(1.05);
}

/* Project card image zoom */
#projects .animate-fade-in-up img {
    transition: transform 0.5s ease;
}

/* Skill bars animation */
.bg-primary-600 {
    transition: width 1s ease;
}