/* Анимации */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Анимации для появления элементов */
.hero__title,
.hero__subtitle,
.hero .btn {
    animation: fadeIn 1s ease forwards;
}

.hero__title {
    animation-delay: 0.3s;
}

.hero__subtitle {
    animation-delay: 0.6s;
}

.hero .btn {
    animation-delay: 0.9s;
}

/* Анимация для карточек услуг */
.service-card {
    animation: fadeIn 0.5s ease forwards;
}

.service-card:nth-child(1) {
    animation-delay: 0.2s;
}

.service-card:nth-child(2) {
    animation-delay: 0.4s;
}

.service-card:nth-child(3) {
    animation-delay: 0.6s;
}

.service-card:nth-child(4) {
    animation-delay: 0.8s;
}

/* Анимация пульсации для кнопки CTA */
.btn--pulse {
    animation: pulse 2s infinite;
}

/* Анимация для портфолио */
.portfolio-item {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.5s ease;
}

.portfolio-item.visible {
    opacity: 1;
    transform: translateY(0);
}