/* Scroll Animations & 3D Effects */

/* 3D Card Containers */
.card-3d-container {
    perspective: 1000px;
    width: 100%;
    height: 100%;
}

.card-3d-content {
    transform-style: preserve-3d;
    transition: transform 0.3s ease;
    width: 100%;
    height: 100%;
}

.division-card:hover .card-3d-content {
    transform: translateZ(10px);
}

.division-card.featured:hover .card-3d-content {
    transform: translateZ(14px) scale(1.01);
}

/* Scroll Reveal Animation */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

/* Hero Animation - Removed auto animation, now handled by GSAP scroll triggers */

/* Floating Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

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

/* Pulse Animation */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

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

/* 3D Transform on Hover */
.interactive-3d {
    transition: transform 0.3s ease;
}

.interactive-3d:hover {
    transform: translateZ(20px) rotateY(5deg);
}

/* Particle Effects */
.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.6;
    animation: particleFloat 4s ease-in-out infinite;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-30px) translateX(20px);
        opacity: 0.3;
    }
}

/* Background Canvas */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    opacity: 0.6;
}

/* Enhanced Card 3D Effects */
.division-card .card-3d-content {
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.division-card:hover .card-3d-content {
    transform: translateZ(10px);
}

.division-card.featured:hover .card-3d-content {
    transform: translateZ(14px) scale(1.01);
}

/* Additional Animations */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.division-card.featured::after {
    animation: none;
    opacity: 0;
}

/* Smooth transitions for all interactive elements */
a, button {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Page transitions - removed auto animation, handled by loading system */
body.loaded main {
    animation: none;
}

/* Button hover effects now live in premium-components.css to avoid conflicting overlays */

