/* Modern 2025 Animations */
@keyframes fadeUpScale {
    0% {
        opacity: 0;
        transform: translateY(20px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes textReveal {
    0% {
        clip-path: polygon(0 100%, 100% 100%, 100% 100%, 0 100%);
    }
    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }
}

@keyframes lineExpand {
    0% {
        width: 0;
    }
    100% {
        width: 100%;
    }
}

@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 0 rgba(0, 0, 0, 0.1);
    }
    50% {
        box-shadow: 0 0 30px rgba(0, 0, 0, 0.2);
    }
}

@keyframes gradientFlow {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

@keyframes fadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes lineExpand {
    to {
        width: 6rem;
    }
}

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

/* Slider animations */
.slides-wrapper {
    transition: transform 0.7s ease-in-out;
}

.slide {
    opacity: 1;
    transition: opacity 0.7s ease-in-out;
}

/* Reveal animations */
.reveal-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal-on-scroll.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Text reveal animation */
.animate-text-reveal {
    clip-path: polygon(0 0, 0 0, 0 100%, 0% 100%);
    animation: textReveal 1s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

/* Fade up animation */
.animate-fade-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeUp 1s ease forwards;
    animation-delay: var(--delay, 0.3s);
}

/* Line expand animation */
.animate-line-expand {
    width: 0;
    animation: lineExpand 1s ease forwards;
    animation-delay: var(--delay, 0.5s);
}

/* Hover lift effect */
.hover-lift {
    transition: transform 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
}

/* Hover expand effect */
.hover-expand img {
    transition: transform 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-expand:hover img {
    transform: scale(1.1);
}

/* Glass effect */
.glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: background 0.3s ease;
}

.glass:hover {
    background: rgba(255, 255, 255, 0.15);
}

/* Dynamic text transition */
.dynamic-text {
    transition: opacity 0.5s ease;
}

/* Counter animation */
.counter {
    transition: all 0.3s ease;
}

/* Modern Animation Classes */
.animate-glow {
    animation: glowPulse 3s infinite;
}

.animate-gradient {
    background: linear-gradient(-45deg, #000, #222, #000);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
}

/* Loading States */
.loading-shimmer {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}
