/* Lightweight scroll-reveal animations (replaces animate.css on public pages). */
.animate__animated {
    animation-duration: 0.8s;
    animation-fill-mode: both;
}

@media (prefers-reduced-motion: reduce) {
    .animate__animated {
        animation: none !important;
    }
}

@keyframes animate__fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes animate__fadeInUp {
    from {
        opacity: 0;
        transform: translate3d(0, 28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animate__fadeInDown {
    from {
        opacity: 0;
        transform: translate3d(0, -28px, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animate__fadeInLeft {
    from {
        opacity: 0;
        transform: translate3d(-28px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

@keyframes animate__fadeInRight {
    from {
        opacity: 0;
        transform: translate3d(28px, 0, 0);
    }
    to {
        opacity: 1;
        transform: translate3d(0, 0, 0);
    }
}

.animate__fadeIn { animation-name: animate__fadeIn; }
.animate__fadeInUp { animation-name: animate__fadeInUp; }
.animate__fadeInDown { animation-name: animate__fadeInDown; }
.animate__fadeInLeft { animation-name: animate__fadeInLeft; }
.mtec-lazy-section {
    min-height: 120px;
}

.mtec-lazy-section__skeleton {
    min-height: 220px;
    border-radius: 1rem;
    background: linear-gradient(90deg, rgba(226, 232, 240, 0.65) 25%, rgba(241, 245, 249, 0.95) 50%, rgba(226, 232, 240, 0.65) 75%);
    background-size: 200% 100%;
    animation: mtec-skeleton-shimmer 1.4s ease-in-out infinite;
}

.mtec-lazy-section__error {
    text-align: center;
    color: #526285;
    padding: 2rem 1rem;
}

.mtec-lazy-section__retry {
    margin-inline-start: 0.5rem;
    color: #0077C8;
    text-decoration: underline;
    background: none;
    border: 0;
    cursor: pointer;
}

@keyframes mtec-skeleton-shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@media (max-width: 1023px) {
    .mtec-lazy-section__skeleton {
        animation: none;
        background: rgba(226, 232, 240, 0.85);
        background-size: auto;
    }
}
