/* Scroll Animation Styles */

/* Base animation classes - hidden by default */
.animate-on-scroll {
    opacity: 0;
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Fade In animations */
.fade-in-up {
    transform: translateY(50px);
}

.fade-in-up.animated {
    transform: translateY(0);
}

.fade-in-down {
    transform: translateY(-50px);
}

.fade-in-down.animated {
    transform: translateY(0);
}

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

.fade-in-left.animated {
    transform: translateX(0);
}

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

.fade-in-right.animated {
    transform: translateX(0);
}

/* Fade In - Simple */
.fade-in {
    opacity: 0;
    transition: opacity 0.8s ease-out;
}

.fade-in.animated {
    opacity: 1;
}

/* Scale animations */
.scale-in {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
}

.scale-in.animated {
    transform: scale(1);
    opacity: 1;
}

.scale-up {
    transform: scale(0.95);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.scale-up.animated {
    transform: scale(1);
    opacity: 1;
}

/* Slide animations */
.slide-in-left {
    transform: translateX(-100px);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.slide-in-left.animated {
    transform: translateX(0);
    opacity: 1;
}

.slide-in-right {
    transform: translateX(100px);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.slide-in-right.animated {
    transform: translateX(0);
    opacity: 1;
}

/* Rotate animations */
.rotate-in {
    transform: rotate(-10deg) scale(0.9);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.rotate-in.animated {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* Blur animations */
.blur-in {
    filter: blur(10px);
    opacity: 0;
    transition: filter 0.6s ease-out, opacity 0.6s ease-out;
}

.blur-in.animated {
    filter: blur(0);
    opacity: 1;
}

/* Zoom animations */
.zoom-in {
    transform: scale(0.8);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease-out;
}

.zoom-in.animated {
    transform: scale(1);
    opacity: 1;
}

.zoom-out {
    transform: scale(1.2);
    opacity: 0;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease-out;
}

.zoom-out.animated {
    transform: scale(1);
    opacity: 1;
}

/* Flip animations */
.flip-in-x {
    transform: perspective(1000px) rotateX(-90deg);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.flip-in-x.animated {
    transform: perspective(1000px) rotateX(0deg);
    opacity: 1;
}

.flip-in-y {
    transform: perspective(1000px) rotateY(-90deg);
    opacity: 0;
    transition: transform 0.7s ease-out, opacity 0.7s ease-out;
}

.flip-in-y.animated {
    transform: perspective(1000px) rotateY(0deg);
    opacity: 1;
}

/* Stagger delays for multiple elements */
.animate-delay-1 {
    transition-delay: 0.1s;
}

.animate-delay-2 {
    transition-delay: 0.2s;
}

.animate-delay-3 {
    transition-delay: 0.3s;
}

.animate-delay-4 {
    transition-delay: 0.4s;
}

.animate-delay-5 {
    transition-delay: 0.5s;
}

.animate-delay-6 {
    transition-delay: 0.6s;
}

/* Smooth transition for images */
.animate-on-scroll img {
    transition: transform 0.3s ease-out;
}

.animate-on-scroll.animated img {
    transform: scale(1);
}

/* Hover effects after animation */
.animate-on-scroll.animated:hover img {
    transform: scale(1.05);
}

/* Professional corporate animations */
.corporate-fade {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.corporate-fade.animated {
    opacity: 1;
    transform: translateY(0);
}

.corporate-slide {
    opacity: 0;
    transform: translateX(-40px);
    transition: all 0.7s cubic-bezier(0.4, 0, 0.2, 1);
}

.corporate-slide.animated {
    opacity: 1;
    transform: translateX(0);
}

/* Text animations */
.text-reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}

.text-reveal.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Section animations */
.section-fade-in {
    opacity: 0;
    transition: opacity 1s ease-out;
}

.section-fade-in.animated {
    opacity: 1;
}

/* Image specific animations */
.image-fade-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.image-fade-scale.animated {
    opacity: 1;
    transform: scale(1);
}

/* Content box animations */
.content-reveal {
    opacity: 0;
    transform: translateY(40px) scale(0.98);
    transition: all 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.content-reveal.animated {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    .animate-on-scroll,
    .fade-in-up,
    .fade-in-down,
    .fade-in-left,
    .fade-in-right,
    .scale-in,
    .scale-up,
    .slide-in-left,
    .slide-in-right,
    .rotate-in,
    .blur-in,
    .zoom-in,
    .zoom-out,
    .flip-in-x,
    .flip-in-y,
    .corporate-fade,
    .corporate-slide,
    .text-reveal,
    .section-fade-in,
    .image-fade-scale,
    .content-reveal {
        transition: none !important;
        transform: none !important;
        opacity: 1 !important;
        filter: none !important;
    }
}
