body {
    font-family: 'Inter', sans-serif;
    margin: 0;
    padding: 0;
}

.main-container {
    margin: 20px auto;
    padding: 0 20px;
    max-width: 1200px;
}

.cursos-container {
    background-color: #f9f9f9;
    padding: 40px 0;
    text-align: center;
}
.cursos-titulo {
    color: #000000;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.cursos-card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}
.cursos-card {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 20px;
    margin: 10px;
    width: 300px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 200px;
}
.cursos-card-icon {
    font-size: 40px;
    margin-bottom: 10px;
    color: #007bff;
}
.cursos-card-titulo {
    color: #000000;
    font-size: 20px;
    font-weight: bold;
    margin-bottom: 10px;
}
.cursos-card-descripcion {
    color: #666666;
    font-size: 16px;
    margin-bottom: 10px;
}
.cursos-profesionales-container {
    text-align: center;
    margin-top: 40px;
}
.cursos-profesionales-titulo {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
}
.cursos-profesionales-texto {
    color: #666666;
    font-size: 16px;
    margin-bottom: 20px;
}
.cursos-numeros-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    flex-wrap: wrap;
}
.cursos-numero-item {
    margin: 10px 20px;
    text-align: center;
    flex: 1;
    min-width: 100px;
}
.cursos-numero {
    color: #007bff;
    font-size: 48px;
    font-weight: bold;
}
.cursos-numero-descripcion {
    color: #666666;
    font-size: 18px;
}

.icon-certificacion::before { content: "🎓"; }
.icon-docentes::before { content: "👨‍🏫"; }
.icon-acceso::before { content: "♾️"; }

.empresas-container {
    background-color: #ffffff;
    padding: 40px 0;
    text-align: center;
}
.empresas-titulo {
    color: #000000;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}
.empresas-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    margin-left: auto;
    margin-right: auto;
    max-width: 1200px;
}
.empresa-logo {
    margin: 10px;
    width: 200px;
    height: 80px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
}
.empresa-logo:hover {
    opacity: 1;
}

.convenios-container {
    background-color: #f9f9f9;
    padding: 40px 0;
    text-align: center;
}
.convenios-titulo {
    color: #000000;
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
}
.convenios-logos-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    margin-left: auto; /* Añadido para centrar horizontalmente */
    margin-right: auto; /* Añadido para centrar horizontalmente */
    max-width: 1200px; /* Añadido para limitar el ancho y permitir el centrado */
}
.convenio-logo {
    margin: 10px;
    width: 180px;
    height: 300px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-basis: calc(33.33% - 20px);
    max-width: calc(33.33% - 20px);
}
.convenio-logo:hover {
    opacity: 1;
}
.logo-icac { width: 180px; }
.logo-cnp { width: 300px; }
.logo-sidem { width: 180px; }
.logo-cpc { width: 170px; }
.logo-coplad { width: 170px; }

.footer-container {
    background-color: #f0f0f0;
    padding: 20px;
    color: #666;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.footer-logo {
    margin-bottom: 10px;
    align-self: flex-start;
}
.footer-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-right: 0;
    margin-bottom: 10px;
}
.footer-info p {
    margin: 5px 0;
}
.footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    margin-bottom: 10px;
     width: 100%;
}
.footer-links a {
    color: #007bff;
    margin: 0 10px;
    text-decoration: none;
}
.footer-links a:hover {
    text-decoration: underline;
}

@media (min-width: 769px) {
    .footer-container {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
    }
    .footer-logo {
        margin-bottom: 0;
        margin-right: 20px;
    }
    .footer-info {
        align-items: flex-start;
        margin-bottom: 0;
    }
    .footer-links {
        justify-content: flex-end;
        width: auto;
    }
}

@media (max-width: 768px) {
    .cursos-card-container {
        flex-direction: column;
    }
    .cursos-numero-item {
        flex: 1 1 auto;
        min-width: 50%;
    }
    .cursos-numeros-container {
        flex-direction: column;
    }
     .empresas-logos-container, .convenios-logos-container {
        flex-direction: column;
    }
    .empresa-logo, .convenio-logo {
        margin: 10px auto;
        width: 80%;
        max-width: 300px;
         flex-basis: 100%;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
    }
    .footer-links a {
        margin: 5px 0;
    }
     .footer-info {
        align-items: center;
    }
     .footer-container {
        align-items: center;
        flex-direction: column;
    }
    .footer-logo{
        align-self: center;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .empresa-logo {
        flex-basis: calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
    .convenio-logo {
       flex-basis: calc(33.33% - 20px);
        max-width: calc(33.33% - 20px);
    }
}