/* Estilos globales */
body {
    font-family: Arial, sans-serif;
    color: #333;
    background-color: #f8f9fa;
}

/* Estilos para el encabezado */
header {
    background-color: #cf2e2e !important;
}

.logo-aiec {
    height: 50px;
}

/* Estilos para la sección principal (hero) */
.hero-section {
    height: 400px;
    background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url('img/portada.png') no-repeat center center;
    background-size: cover;
}

.hero-section h1 {
    font-weight: 700;
}

/* Estilos para las tarjetas de los cursos */
.card {
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

.card-title {
    color: #004d9c; /* Color azul de AIEC */
    font-weight: 600;
}

.btn-primary {
    background-color: #cf2e2e; /* Color azul de AIEC */
    border-color: #cf2e2e;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: #cc6b6b; /* Un tono más oscuro */
    border-color: #cf2e2e;
}

/* Estilos para los logos de patrocinadores */
.partner-logo {
    max-height: 80px;
    max-width: 150px;
    object-fit: contain;
}

/* Media Queries para responsividad */
@media (max-width: 768px) {
    .hero-section {
        height: 300px;
    }
    .hero-section h1 {
        font-size: 2rem;
    }
}