/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

/* Modern Glow Animation */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0, 212, 255, 0.3), 0 0 10px rgba(0, 212, 255, 0.2);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 30px rgba(0, 212, 255, 0.3), 0 0 40px rgba(0, 212, 255, 0.1);
    }
}

.glow-pulse {
    animation: glowPulse 3s ease-in-out infinite;
}

/* Gradient Flow */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.gradient-animation {
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

/* Card Hover Effect */
.card-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 25px -5px rgba(38, 70, 83, 0.2), 0 10px 10px -5px rgba(38, 70, 83, 0.1);
}

/* Icon Hover Effects */
.icon-hover {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-hover:hover {
    transform: scale(1.15) rotate(5deg);
    color: var(--peacock-gold);
    filter: drop-shadow(0 0 12px rgba(255, 215, 0, 0.6));
}

/* Text Reveal Animation */
@keyframes textReveal {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.text-reveal {
    animation: textReveal 1s ease forwards;
}

/* Loading Spinner */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loading-spinner {
    animation: spin 1s linear infinite;
    border: 3px solid rgba(42, 157, 143, 0.3);
    border-top: 3px solid var(--peacock-teal);
    border-radius: 50%;
    width: 24px;
    height: 24px;
}

/* Wave Animation */
@keyframes wave {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.hero-wave {
    animation: wave 10s linear infinite;
}

/* Button Shine Effect */
@keyframes buttonShine {
    0% { background-position: -100px; }
    100% { background-position: 200px; }
}

.btn-shine {
    background-image: linear-gradient(
        45deg,
        rgba(233, 196, 106, 0) 45%,
        rgba(233, 196, 106, 0.8) 50%,
        rgba(233, 196, 106, 0) 55%
    );
    background-size: 300% 100%;
    animation: buttonShine 3s infinite;
}

/* Modern Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.ripple-effect {
    position: relative;
    overflow: hidden;
}

.ripple-effect::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, rgba(255, 255, 255, 0.3) 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform 0.5s, opacity 0.5s;
}

.ripple-effect:active::after {
    transform: scale(0, 0);
    opacity: 0.3;
    transition: 0s;
}

/* Peacock Feather Animation */
@keyframes featherWave {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.05); }
    100% { transform: rotate(0deg) scale(1); }
}

.feather-animation {
    animation: featherWave 4s ease-in-out infinite;
}

/* Gradient Border Animation */
@keyframes borderGlow {
    0% { border-color: var(--peacock-teal); }
    50% { border-color: var(--peacock-gold); }
    100% { border-color: var(--peacock-teal); }
}

.gradient-border {
    border: 2px solid var(--peacock-teal);
    animation: borderGlow 3s ease-in-out infinite;
}