@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hero-center {
    animation: fadeInLeft 0.8s ease-out;
}

.hero-right {
    animation: fadeInRight 0.8s ease-out;
}

.service-row {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.service-row:nth-child(1) {
    animation-delay: 0.1s;
}

.service-row:nth-child(2) {
    animation-delay: 0.2s;
}

.service-row:nth-child(3) {
    animation-delay: 0.3s;
}

.service-row:nth-child(4) {
    animation-delay: 0.4s;
}

.masonry-item {
    animation: scaleIn 0.6s ease-out;
    animation-fill-mode: both;
}

.masonry-item:nth-child(1) {
    animation-delay: 0.1s;
}

.masonry-item:nth-child(2) {
    animation-delay: 0.2s;
}

.masonry-item:nth-child(3) {
    animation-delay: 0.3s;
}

.masonry-item:nth-child(4) {
    animation-delay: 0.4s;
}

.masonry-item:nth-child(5) {
    animation-delay: 0.5s;
}

.process-card {
    animation: scaleIn 0.5s ease-out;
    animation-fill-mode: both;
}

.process-card:nth-child(1) {
    animation-delay: 0.1s;
}

.process-card:nth-child(2) {
    animation-delay: 0.2s;
}

.process-card:nth-child(3) {
    animation-delay: 0.3s;
}

.process-card:nth-child(4) {
    animation-delay: 0.4s;
}

.process-card:nth-child(5) {
    animation-delay: 0.5s;
}

.testimonial-card {
    animation: fadeInUp 0.6s ease-out;
    animation-fill-mode: both;
}

.testimonial-card:nth-child(1) {
    animation-delay: 0.1s;
}

.testimonial-card:nth-child(2) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(3) {
    animation-delay: 0.3s;
}

.contact-left {
    animation: fadeInLeft 0.8s ease-out;
}

.contact-right {
    animation: fadeInRight 0.8s ease-out;
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}


/* Hover эффекты */

.service-card,
.masonry-item,
.process-card,
.testimonial-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}


/* Glow эффекты */

.service-more:hover svg,
.hero-link:hover svg,
.submit-new:hover svg {
    transform: translateX(5px);
    transition: transform 0.3s ease;
}