/* Keyframe animations */
@keyframes gradient-shift {
    0%, 100% { filter: hue-rotate(0deg); }
    50% { filter: hue-rotate(60deg); }
}

@keyframes float {
    0%, 100% { transform: translate(var(--x), var(--y)) scale(1); }
    50% { transform: translate(calc(var(--x) + 20px), calc(var(--y) - 20px)) scale(1.2); }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.05);
        opacity: 0.8;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

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

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

@keyframes modalFloat {
    0% {
        transform: scale(0.8) translateY(50px);
        opacity: 0;
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

/* Animation classes */
.gradient-text {
    animation: gradient-shift 3s ease-in-out infinite;
}

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

.location-badge {
    animation: pulse 2s ease-in-out infinite;
}

/* About page specific animations */
@keyframes titleGlow {
    from {
        filter: drop-shadow(0 0 10px rgba(99, 102, 241, 0.5));
    }
    to {
        filter: drop-shadow(0 0 20px rgba(236, 72, 153, 0.5));
    }
}
.about-hero-section .hero-title {
    animation: titleGlow 2s ease-in-out infinite alternate;
}