
.concept-card {
    transition: transform 0.3s ease;
}
.concept-card:hover {
    transform: translateY(-5px);
}
.example-img {
    border-radius: 8px;
    border: 1px solid #dee2e6;
}
.law-box {
    background-color: #f8f9fa;
    border-left: 4px solid #0d6efd;
    padding: 1rem;
    border-radius: 0 4px 4px 0;
}
.nav-pills .nav-link.active {
    background-color: #0d6efd;
}
/* Botones flotantes de simulación */
.simulation-buttons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 999;
}

.sim-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 75px;
    height: 75px;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    color: white;
    font-weight: bold;
    font-size: 11px;
    text-align: center;
    padding: 4px;
}

.sim-btn i {
    font-size: 22px;
    margin-bottom: 2px;
}

/* Versión móvil */
@media (max-width: 768px) {
    .simulation-buttons {
        bottom: 15px;
        right: 15px;
        gap: 8px;
    }
    
    .sim-btn {
        width: 60px;
        height: 60px;
        font-size: 10px;
    }
    
    .sim-btn i {
        font-size: 20px;
    }
}

/* Versión móvil muy pequeña */
@media (max-width: 480px) {
    .simulation-buttons {
        bottom: 40px;
        right: 40px;
    }
    
    .sim-btn {
        width: 46px;
        height: 46px;
        font-size: 9px;
    }
    
    .sim-btn i {
        font-size: 18px;
    }
}

/* Efectos (mantener igual) */
.sim-btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
}

.sim-btn-2d {
    background: linear-gradient(135deg, #4e54c8, #8f94fb);
}

.sim-btn-3d {
    background: linear-gradient(135deg, #11998e, #38ef7d);
}

@keyframes wave {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }
    100% {
        box-shadow: 0 0 0 15px rgba(255, 255, 255, 0);
    }
}

.sim-btn:active {
    animation: wave 0.5s ease-out;
}
/* Animaciones y efectos interactivos */
.concept-card {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.concept-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

/* Efecto para tarjetas de conceptos */
.card-hover-effect {
    transition: all 0.3s ease;
}

.card-hover-effect:hover {
    transform: scale(1.03);
    box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

/* Animación para las pestañas */
.tab-pane {
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Efecto para imágenes */
.example-img {
    transition: transform 0.3s ease;
    cursor: pointer;
}

.example-img:hover {
    transform: scale(1.05);
}

/* Modal para imágenes ampliadas */
.img-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.modal-img {
    display: block;
    max-width: 90%;
    max-height: 90%;
    margin: auto;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 35px;
    color: white;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/* Elementos interactivos */
.interactive-element {
    cursor: pointer;
    transition: all 0.3s ease;
}

.interactive-element:hover {
    background-color: #f8f9fa;
}

/* Efecto para listas */
.list-group-item {
    transition: background-color 0.3s ease;
}

.list-group-item:hover {
    background-color: #f1f1f1;
}
    .electric-hero {
        background: linear-gradient(135deg, #0a0e2e 0%, #1a237e 100%);
        color: white;
        padding: 6rem 0;
        position: relative;
        overflow: hidden;
    }
    
    .electric-hero::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70%;
        background: 
            radial-gradient(circle at 20% 30%, rgba(100, 149, 237, 0.1) 0%, transparent 20%),
            radial-gradient(circle at 80% 70%, rgba(100, 149, 237, 0.1) 0%, transparent 20%);
    }
    
    .lightning-container {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 70%;
        overflow: hidden;
        z-index: 0;
    }
    
    .lightning {
        position: absolute;
        width: 3px;
        background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(100, 149, 237, 0.5));
        opacity: 0;
    }
    
    @keyframes lightning {
        0% { opacity: 0; height: 0; }
        10% { opacity: 0.8; height: 50px; }
        12% { opacity: 0; height: 60px; }
        100% { opacity: 0; height: 60px; }
    }
    
    .electric-title {
        font-size: 3.5rem;
        font-weight: 800;
        text-shadow: 0 0 10px rgba(100, 149, 237, 0.7);
        margin-bottom: 1.5rem;
        position: relative;
    }
    
    .electric-subtitle {
        font-size: 1.5rem;
        font-weight: 300;
        margin-bottom: 2rem;
       
        position: relative;
    }
    
    .electric-icon {
        font-size: 4rem;
        margin-bottom: 1.5rem;
        position: relative;
        animation: pulse 2s infinite, glow 1.5s alternate infinite;
    }
    
    @keyframes pulse {
        0% { transform: scale(1); }
        50% { transform: scale(1.1); }
        100% { transform: scale(1); }
    }
    
    @keyframes glow {
        from { text-shadow: 0 0 5px rgba(255,255,255,0.3); }
        to { text-shadow: 0 0 20px rgba(100, 149, 237, 0.8); }
    }
    
    .electric-spark {
        position: absolute;
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background-color: rgba(100, 149, 237, 0.7);
        box-shadow: 0 0 10px 2px rgba(100, 149, 237, 0.7);
        opacity: 0;
    }
    
    .electric-card {
        transition: all 0.3s ease;
        border: 1px solid rgba(100, 149, 237, 0.2);
        border-radius: 10px;
        overflow: hidden;
        background: rgba(255,255,255,0.05);
        backdrop-filter: blur(5px);
    }
    
    .electric-card:hover {
        transform: translateY(-5px);
        box-shadow: 0 10px 25px rgba(100, 149, 237, 0.3);
        border: 1px solid rgba(100, 149, 237, 0.5);
    }
    
    .electric-badge {
        background: linear-gradient(135deg, #1a237e 0%, #3949ab 100%);
        box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    }
    
    .electric-alert {
        background: rgba(100, 149, 237, 0.15);
        border-left: 4px solid #1a237e;
        backdrop-filter: blur(5px);
    }
    
    .electric-list-item {
        background: rgba(255,255,255,0.03);
        border-left: 3px solid transparent;
        transition: all 0.3s ease;
    }
    
    .electric-list-item:hover {
        background: rgba(100, 149, 237, 0.1);
        border-left: 3px solid #3949ab;
        transform: translateX(5px);
    }
