/* ===== Simple Page Animations ===== */

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Float Animation for Logo */
@keyframes float {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Simple Scale Animation */
@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* Card Appear Animation */
@keyframes cardAppear {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* ===== Animation Classes ===== */

.animate-float {
    animation: float 3s ease-in-out infinite;
}

/* ===== Scroll Animation Classes ===== */
.scroll-fade-in {
    opacity: 0;
    transition: opacity 0.6s ease;
}

.scroll-fade-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease;
}

.scroll-scale {
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.6s ease;
}

/* Card Animation Class - More natural */
.card-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 2s ease-in-out, transform 1.6s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Value Card Animation - Simple Scale */
.value-card-animate {
    opacity: 0;
    transform: scale(0.85) translateY(20px);
    transition: opacity 1s ease-out, transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Active state when in viewport */
.scroll-fade-in.is-visible {
    opacity: 1;
}

.scroll-fade-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-scale.is-visible {
    opacity: 1;
    transform: scale(1);
}

.card-animate.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.value-card-animate.is-visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

/* Remove delay classes since we're handling it in JavaScript */

/* ===== Page Loader ===== */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-spinner {
    width: 40px;
    height: 40px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid var(--primary-color);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* ===== Hover Effects ===== */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}
