.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero-bg {
    background: linear-gradient(135deg, rgba(0, 82, 137, 0.85) 0%, rgba(13, 14, 14, 0.8) 100%), url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?ixlib=rb-4.0.3&auto=format&fit=crop&w=2072&q=80');
    background-size: cover;
    background-position: center;
}
.service-card:hover .service-icon {
    transform: scale(1.1) rotate(5deg);
    transition: transform 0.3s ease;
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

        
@keyframes floating {
    0% { transform: translate(0, 0px); }
    50% { transform: translate(0, -10px); }
    100% { transform: translate(0, 0px); }
}

.gradient-text {
    background: linear-gradient(90deg, #005289, #0D0E0E);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.form-loading {
    position: relative;
    pointer-events: none;
}
        
.form-loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid #ffffff;
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/*Carrosel dos parceiros */
 @keyframes scroll {
        0% {
            transform: translateX(0);
        }
        100% {
            transform: translateX(calc(-288px * 9)); /* Move 9 cards */
        }
    }
    
    .animate-scroll {
        animation: scroll 40s linear infinite;
        width: max-content;
    }
    
    /* Pausar animação no hover */
    .animate-scroll:hover {
        animation-play-state: paused;
    }
    
    /* Estilos para as imagens */
    .animate-scroll img {
        transition: transform 0.3s ease;
    }
    
    .animate-scroll img:hover {
        transform: scale(1.05);
    }
    
    /* Estilos gerais */
    .shadow-xl {
        box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
    }
    
    .shadow-2xl {
        box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    }
    
    @keyframes fadeIn {
        from { opacity: 0; transform: translateY(20px); }
        to { opacity: 1; transform: translateY(0); }
    }
    
    .fade-in {
        animation: fadeIn 0.8s ease-out forwards;
    }