@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 35, 74, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 10px 20px rgba(255, 35, 74, 0.5);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 5px 15px rgba(255, 35, 74, 0.3);
    }
}

@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shimmer {
    0% {
        background-position: -200% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

@keyframes scaleIn {
    from {
        transform: scale(0);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-right {
    animation: fadeInRight 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-left {
    animation: fadeInLeft 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease forwards;
    opacity: 0;
}

.animate-fade-in-down {
    animation: fadeInDown 1s ease forwards;
    opacity: 0;
}

.animate-zoom-in {
    animation: zoomIn 1s ease forwards;
    opacity: 0;
}

.animate-pulse {
    animation: pulse 2s infinite;
}

.animate-float {
    animation: float 5s ease-in-out infinite;
}

.animate-rotate {
    animation: rotate 8s linear infinite;
}

.animate-shimmer {
    background: linear-gradient(90deg, 
        transparent, 
        rgba(255, 255, 255, 0.1), 
        transparent
    );
    background-size: 200% 100%;
    animation: shimmer 3s infinite;
}

.animate-scale-in {
    animation: scaleIn 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275) forwards;
    opacity: 0;
}

.animate-delay-1 {
    animation-delay: 0.2s;
}

.animate-delay-2 {
    animation-delay: 0.4s;
}

.animate-delay-3 {
    animation-delay: 0.6s;
}

.animate-delay-4 {
    animation-delay: 0.8s;
}

.animate-delay-5 {
    animation-delay: 1s;
}

/* Animation Durations */
.animate-duration-slow {
    animation-duration: 1.5s;
}

.animate-duration-slower {
    animation-duration: 2s;
}

.animate-duration-fast {
    animation-duration: 0.7s;
}

.animate-duration-faster {
    animation-duration: 0.5s;
}

.animate-ease-in-out {
    animation-timing-function: ease-in-out;
}

.animate-ease-in {
    animation-timing-function: ease-in;
}

.animate-ease-out {
    animation-timing-function: ease-out;
}

.animate-linear {
    animation-timing-function: linear;
}

.animate-spring {
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.active {
    opacity: 1;
    transform: translateY(0);
}

.animate-on-scroll-right {
    opacity: 0;
    transform: translateX(-20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll-right.active {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-left {
    opacity: 0;
    transform: translateX(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll-left.active {
    opacity: 1;
    transform: translateX(0);
}

.animate-on-scroll-fade {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.animate-on-scroll-fade.active {
    opacity: 1;
}

.animate-on-scroll-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll-scale.active {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 768px) {
    .animate-fade-in,
    .animate-fade-in-right,
    .animate-fade-in-left,
    .animate-fade-in-up,
    .animate-fade-in-down,
    .animate-zoom-in {
        animation-duration: 0.7s;
    }
    
    .animate-delay-1 {
        animation-delay: 0.1s;
    }
    
    .animate-delay-2 {
        animation-delay: 0.2s;
    }
    
    .animate-delay-3 {
        animation-delay: 0.3s;
    }
    
    .animate-delay-4 {
        animation-delay: 0.4s;
    }
    
    .animate-delay-5 {
        animation-delay: 0.5s;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .animate-fade-in,
    .animate-fade-in-right,
    .animate-fade-in-left,
    .animate-fade-in-up,
    .animate-fade-in-down,
    .animate-zoom-in,
    .animate-pulse,
    .animate-float,
    .animate-rotate,
    .animate-shimmer,
    .animate-scale-in {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    .animate-on-scroll,
    .animate-on-scroll-right,
    .animate-on-scroll-left,
    .animate-on-scroll-fade,
    .animate-on-scroll-scale {
        opacity: 1 !important;
        transform: none !important;
        transition: none !important;
    }
}