
/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #cbd5e1;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #94a3b8;
}

/* Floating Animation */
@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-15px) rotate(1deg); }
    100% { transform: translateY(0px) rotate(0deg); }
}

.floating-bubble {
    animation: float 5s ease-in-out infinite;
}

/* Active Tab Style */
.tab-btn.active {
    background-color: #2563eb; /* blue-600 */
    color: white;
    box-shadow: 0 10px 15px -3px rgba(37, 99, 235, 0.3);
}

/* Accordion Transition */
.faq-content {
    transition: max-height 0.3s ease-out;
}

.faq-item.active .faq-content {
    display: block;
}

.faq-item.active svg {
    transform: rotate(180deg);
}

/* Course Card Hover */
.course-card:hover .course-img {
    transform: scale(1.1);
}
@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-150px * 4)); } /* Ajuste baseado no tamanho/quantidade dos logos */
}

.animate-scroll {
    display: flex;
    width: calc(250px * 8); /* Garante espaço para o loop */
    animation: scroll 20s linear infinite;
}

.hover\:pause:hover {
    animation-play-state: paused;
}

.animate-pulse-slow {
    animation: pulse 3s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}
/* Ajustes de Responsividade e Interação */

/* 1. Previne que o conteúdo "vaze" para os lados em telas muito pequenas */
html, body {
    max-width: 100%;
    overflow-x: hidden;
}

/* 2. Ajuste para a Hero Section em telas Mobile */
@media (max-width: 1024px) {
    .hero-bg-gradient {
        background: linear-gradient(to bottom, rgba(0,0,0,0.9) 30%, rgba(0,0,0,0.4) 100%) !important;
    }
}

/* 3. Menu Mobile (Oculto por padrão, classe para o JS controlar) */
/* Animação suave para o menu mobile */
#mobile-menu:not(.hidden) {
    display: block;
    animation: slideDown 0.3s ease-out forwards;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 4. Estilização extra para as Tabs de cursos no Mobile */
.tab-btn.active {
    background-color: #1d4ed8; /* blue-700 */
    color: white !important;
}

/* 5. Suavização de imagens */
img {
    max-width: 100%;
    height: auto;
}

/* 6. Ajuste de fontes para títulos muito grandes no celular */
@media (max-width: 640px) {
    h2, h3 {
        word-wrap: break-word;
        hyphens: auto;
    }
}