section[style*="background-image"] {
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-size: cover;
}

/* Fix for mobile devices where bg-fixed is often disabled */
@media (max-width: 1024px) {
    section[style*="background-image"] {
        background-attachment: scroll; /* Prevents glitching on mobile */
    }
}


    @keyframes fade-in-up {
        from {
            opacity: 0;
            transform: translateY(20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    @keyframes word-slide-in {
        from {
            opacity: 0;
            transform: translateY(30px) scale(0.9);
            filter: blur(4px);
        }
        to {
            opacity: 1;
            transform: translateY(0) scale(1);
            filter: blur(0);
        }
    }

    .animate-fade-in-up {
        animation: fade-in-up 1s ease-out forwards;
    }

    .animate-word-slide-in {
        animation: word-slide-in 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    }
    