/* program.css - Premium styling for CETPRO program details */

.hero-programa {
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 75vh;
    display: flex;
    align-items: center;
    padding: 100px 0;
    overflow: hidden;
}

/* Background overlays based on program style */
.hero-programa::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(12, 35, 64, 0.9) 0%, rgba(14, 165, 233, 0.7) 100%);
    z-index: 1;
}

.overlay-hero {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 80% 20%, rgba(14, 165, 233, 0.15) 0%, transparent 50%);
    z-index: 2;
    pointer-events: none;
}

.hero-programa .container {
    position: relative;
    z-index: 3;
}

.badge-programa {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #fff;
    backdrop-filter: blur(10px);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.hero-info {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.hero-info div {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.05rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 20px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-info i {
    color: #f1c40f;
    font-size: 1.2rem;
}

/* Estadísticas */
.estadisticas {
    background: #0c2340;
    color: #fff;
    padding: 60px 0;
    border-bottom: 5px solid #0ea5e9;
}

.contador {
    font-size: 3rem;
    font-weight: 800;
    color: #0ea5e9;
    margin-bottom: 10px;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

.estadisticas p {
    font-size: 1rem;
    opacity: 0.85;
    margin-bottom: 0;
    font-weight: 500;
}

/* Subtítulo */
.subtitulo-programa {
    display: inline-block;
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    color: #0ea5e9;
    margin-bottom: 10px;
}

/* Perfil Egresado */
.perfil-egresado {
    background-color: #f8fafc;
}

.perfil-card {
    background: #fff;
    padding: 35px 25px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
    height: 100%;
    border: 1px solid #edf2f7;
    position: relative;
    overflow: hidden;
}

.perfil-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #0ea5e9;
    transform: scaleY(0);
    transition: transform 0.3s ease;
    transform-origin: bottom;
}

.perfil-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(12, 35, 64, 0.08);
}

.perfil-card:hover::before {
    transform: scaleY(1);
}

.perfil-card i {
    font-size: 2.2rem;
    color: #0ea5e9;
    margin-bottom: 20px;
    display: inline-block;
}

.perfil-card h5 {
    font-size: 1.2rem;
    font-weight: 700;
    color: #0c2340;
    margin-bottom: 12px;
}

.perfil-card p {
    color: #64748b;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 0;
}

/* Plan de Estudios / Malla Curricular */
.malla-curricular-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
    margin-top: 40px;
}

.ciclo-box {
    background: #fff;
    border-radius: 16px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.02);
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.ciclo-box:hover {
    border-color: #0ea5e9;
    box-shadow: 0 10px 30px rgba(14, 165, 233, 0.05);
}

.ciclo-title {
    font-size: 1rem;
    font-weight: 800;
    color: #0ea5e9;
    background: rgba(14, 165, 233, 0.1);
    display: inline-block;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.ciclo-lista {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.ciclo-lista li {
    padding: 8px 0;
    border-bottom: 1px dashed #e2e8f0;
    color: #475569;
    font-size: 0.9rem;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.ciclo-lista li:last-child {
    border-bottom: none;
}

.ciclo-lista li i {
    color: #10b981;
    margin-top: 4px;
    font-size: 0.85rem;
}

/* Dark mode adjustments */
body.dark-mode .hero-programa::before {
    background: linear-gradient(135deg, rgba(8, 20, 36, 0.95) 0%, rgba(10, 80, 120, 0.85) 100%);
}

body.dark-mode .perfil-egresado {
    background-color: #091320;
}

body.dark-mode .perfil-card {
    background: #111e2e;
    border-color: #1a2c42;
}

body.dark-mode .perfil-card h5 {
    color: #f8fafc;
}

body.dark-mode .perfil-card p {
    color: #94a3b8;
}

body.dark-mode .ciclo-box {
    background: #111e2e;
    border-color: #1a2c42;
}

body.dark-mode .ciclo-title {
    background: rgba(14, 165, 233, 0.2);
}

body.dark-mode .ciclo-lista li {
    border-bottom-color: #1a2c42;
    color: #94a3b8;
}
