/* Lightweight Scroll Animations - Non-invasive */

/* Only add these styles, don't override existing ones */

/* Base animation classes - only add opacity/transform */
.scroll-animate {
    opacity: 0;
    transition: opacity 0.6s ease, transform 0.6s ease;
}

/* Animation types */
.scroll-fade-up {
    transform: translateY(30px);
}

.scroll-fade-down {
    transform: translateY(-30px);
}

.scroll-fade-left {
    transform: translateX(30px);
}

.scroll-fade-right {
    transform: translateX(-30px);
}

.scroll-scale {
    transform: scale(0.95);
}

/* Animated state */
.scroll-animated {
    opacity: 1 !important;
    transform: none !important;
}

/* Progress bar - fixed position only */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, #2d8a3e, #e8a020);
    z-index: 9999;
    transition: width 0.1s;
}

/* Back to top button - minimal styles */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 44px;
    height: 44px;
    background: #2d8a3e;
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.scroll-top-btn.visible {
    opacity: 1;
    transform: translateY(0);
}

.scroll-top-btn:hover {
    background: #3d9e50;
    transform: translateY(-2px);
}

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

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    .scroll-animate {
        transition: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .scroll-animate {
        transform: translateY(15px) !important;
    }
    
    .scroll-top-btn {
        bottom: 15px;
        right: 15px;
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
}