/* HOME.CSS - Estilos específicos para la página de inicio */

/* Colores personalizados */
.bg-custom-primary {
    background-color: #EF3738 !important;
    color: white !important;
}

.text-custom-primary {
    color: #EF3738 !important;
}

.btn-custom-primary {
    background-color: #EF3738;
    border-color: #EF3738;
    color: white;
}

.btn-custom-primary:hover {
    background-color: #B71C1C;
    border-color: #B71C1C;
    color: white;
}

.btn-outline-custom-primary {
    border-color: #EF3738;
    color: #EF3738;
}

.btn-outline-custom-primary:hover {
    background-color: #EF3738;
    color: white;
}

/* Estilos responsivos para la sección hero */
.hero-section {
    position: relative;
}

@media (max-width: 991.98px) {
    .hero-section .row {
        text-align: center;
    }
    
    .hero-section .d-flex {
        justify-content: center;
        flex-wrap: wrap;
        gap: 15px !important;
        margin-bottom: 30px;
    }
    
    .hero-section img {
        margin-top: 20px;
        max-height: 400px;
        width: 100%;
    }
}

@media (max-width: 575.98px) {
    .hero-section .d-flex {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-section .btn {
        width: 100%;
        max-width: 280px;
    }
    
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section h2 {
        font-size: 1.5rem;
    }
}

/* Estilos para tarjetas de cursos */
.card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15) !important;
}

/* Estilos para iconos */
.bg-custom-primary svg {
    filter: brightness(0) invert(1);
}

