/* Sección Hero con imagen de fondo */
.hero-programa {
    width: 100%;
    height: 50vh;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

/* Estilos para el título en Hero */
.hero-content h1 {
    color: white;
    font-size: 2rem;
    font-weight: bold;
}

/* Sección About con ancho del 90% y centrado */
.about-program {
    width: 90%;
    margin: 0 auto;
    padding: 40px 0;
}

/* Contenedor principal de la sección About */
.container-programa {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px;
}

/* Información del programa alineada a la izquierda */
.program-info {
    width: 50%;
}

.program-info h2{
    color: #218838;
    font-weight: 600;
}

/* Botón Volver */
.back-button {
    background-color: #218838;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
}


/* Contenedor de tarjetas alineado a la derecha */
.program-details {
    width: 25%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

/* Estilos generales para tarjetas */
.card-program {
    width: 100%;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* Contenedor de jornadas */
.jornadas-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.jornadas-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 10px;
}

.jornada-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 5px;
}

.jornada-item span {
    font-weight: bold;
}

/* Botón Inscribirse */
.register-button {
    background-color: #28a745;
    text-decoration: none;
    color: white;
    padding: 10px 15px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 10px;
}

.register-button:hover {
    background-color: #218838;
}

/* Mensaje cuando no hay inscripciones */
.no-offers {
    border-left: 5px solid #218838;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container-programa {
        flex-direction: column;
        align-items: center;
    }

    .program-info, .program-details {
        width: 50%;
    }

    .hero-programa {
        width: 100%;
        height: 250px;
    }
}