/* Sección Hero con imagen de fondo */
.hero-programa {
    width: 100%;
    height: 50vh;
    background: url('../assets/prueba.avif') no-repeat center center/cover;
    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 {
    font-weight: 600;
    color: green;
    font-size: 2rem;
    margin-bottom: 15px;
}
.program-info p {
    font-size: 1.2rem;
    line-height: 1.5;
}

/* 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: 2px #218838;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
}

/* 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;
    }
}