/* Animações para serviços */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Garantir que os elementos sejam visíveis inicialmente */
.service-box, .service-item {
    opacity: 1;
}

/* Adicionar classe animated somente para animação inicial */
.service-box.animated-entry, .service-item.animated-entry {
    animation: fadeInUp 0.6s ease forwards;
}

/* Atraso na animação para criar efeito em cascata */
.row .service-box:nth-child(1), 
.row .service-item:nth-child(1) {
    animation-delay: 0.1s;
}

.row .service-box:nth-child(2), 
.row .service-item:nth-child(2) {
    animation-delay: 0.2s;
}

.row .service-box:nth-child(3), 
.row .service-item:nth-child(3) {
    animation-delay: 0.3s;
}

.row .service-box:nth-child(4), 
.row .service-item:nth-child(4) {
    animation-delay: 0.4s;
}

/* Animações de destaque */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* Animação suavizada para o ícone */
.service-btn .btn-text:hover i {
    animation: pulse 1s cubic-bezier(0.25, 0.46, 0.45, 0.94) infinite;
}

/* Efeito de transição suave para todos os elementos interativos */
.service-box, 
.service-item, 
.btn-text, 
.landing-links a,
.service-details-inner .liststyle.bullet li {
    transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

/* Garantir que o transform não corte elementos filhos */
.service-box:hover,
.service-item:hover {
    transform: translateY(-5px);
    z-index: 10;
}

/* Animação para o underline */
@keyframes lineGrow {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.btn-text:hover:after,
.landing-links a:hover:after {
    animation: lineGrow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
