/* --- HERO ESPECÍFICO DE CERTIFICACIONES --- */
.cert-hero {
    min-height: 45vh;
    background: linear-gradient(rgba(7, 28, 66, 0.5), rgba(7, 28, 66, 0.5)), 
                url('https://images.unsplash.com/photo-1450101499163-c8848c66ca85?q=80&w=1600');
    background-size: cover;
    background-position: center;
    color: white;
}

/* --- RE-DISEÑO DE PESTAÑAS DE CERTIFICACIÓN --- */
.custom-cert-tabs .nav-link {
    background: white;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
    padding: 10px 20px;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 10px rgba(7, 28, 66, 0.02);
    transition: all 0.2s ease-in-out;
}

.custom-cert-tabs .nav-link:hover {
    background: #f8fafc;
    color: var(--primary-blue-light);
    border-color: #cbd5e1;
}

.custom-cert-tabs .nav-link.active {
    background-color: var(--primary-blue) !important;
    color: white !important;
    border-color: var(--primary-blue);
    box-shadow: 0 6px 15px rgba(7, 28, 66, 0.12);
}

/* --- COMPONENTES INTERNOS DE CONTENIDO --- */
.badge-display-box {
    display: inline-block;
    width: 100%;
    max-width: 260px;
    box-shadow: 0 10px 25px rgba(7, 28, 66, 0.03);
}

.hover-light-bg {
    transition: background 0.2s ease;
}

.hover-light-bg:hover {
    background-color: #f8fafc;
}

.font-xs {
    font-size: 11px;
    padding: 4px 8px;
}

/* Bordes responsivos para bloques de estadísticas */
@media (min-width: 768px) {
    .border-start-md {
        border-left: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 991px) {
    .custom-cert-tabs {
        flex-direction: column;
        width: 100%;
    }
    .custom-cert-tabs .nav-link {
        width: 100%;
        text-align: center;
        border-radius: 12px;
    }
    .cert-hero {
        min-height: auto;
        padding: 50px 0;
    }
}