* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: sans-serif;
}

/* Navegación */
.navbar {
    background: #333;
    padding: 10px;
    display: flex;
    justify-content: center;
}

.nav-links {
    list-style: none;
    display: flex;
}

.nav-links a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 0 5px;
    border-radius: 4px;
    transition: 0.3s;
}

.nav-links a.active, .nav-links a:hover {
    background: #007bff;
}

/* Contenedor de contenidos */
.container {
    padding: 40px;
    max-width: 800px;
    margin: auto;
}

/* Efecto de Animación */
.tab-content {
    display: none; /* Oculto por defecto */
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.tab-content.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

h1 {
    margin-bottom: 15px;
    color: #333;
}

/* Estilos para la Tabla */
.table-container {
    margin-top: 25px;
    overflow-x: auto; /* Permite scroll horizontal en móviles */
}

.styled-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    background-color: white;
}

.styled-table thead tr {
    background-color: #007bff; /* Color azul igual que tus pestañas */
    color: #ffffff;
    text-align: left;
}

.styled-table th, .styled-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}

.styled-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3; /* Color gris suave para filas alternas */
}

.styled-table tbody tr:last-of-type {
    border-bottom: 2px solid #007bff;
}

.styled-table tbody tr:hover {
    background-color: #f1f7ff; /* Resaltado al pasar el mouse */
    color: #007bff;
    transition: 0.2s;
}

/* Estilos para la sección Inicio */
.hero-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.badge {
    background: #e1f0ff;
    color: #007bff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.subtitle {
    font-size: 1.2rem;
    color: #666;
    margin: 20px 0 40px;
    line-height: 1.6;
}

/* Tarjetas de características */
.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-card {
    background: white;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid #007bff;
}

.feature-card h3 {
    color: #007bff;
    margin-bottom: 10px;
}

/* Botones de llamada a la acción */
.cta-container {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.btn-primary, .btn-secondary {
    padding: 12px 25px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
}

.btn-primary {
    background: #007bff;
    color: white;
}

.btn-primary:hover {
    background: #0056b3;
}

.btn-secondary {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}

.btn-secondary:hover {
    background: #e2e6ea;
}


.about-container {
    max-width: 900px;
    margin: 0 auto;
}

.intro-text {
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 30px;
    color: #444;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.mission-vision .card {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    border-left: 5px solid #3498db;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.specialization {
    background: #2c3e50;
    color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.specialization h3 {
    margin-bottom: 10px;
    color: #3498db;
}

@media (max-width: 600px) {
    .mission-vision {
        grid-template-columns: 1fr;
    }
}

.org-container {
    max-width: 1000px;
    margin: 0 auto;
}

.org-description {
    text-align: center;
    color: #555;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.org-grid {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.org-info h3 {
    border-bottom: 2px solid #007bff;
    display: inline-block;
    margin-bottom: 15px;
}

.org-info ul {
    list-style: none;
    padding-left: 0;
}

.org-info li {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
}

/* Estilos de las tarjetas del Staff */
.staff-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.staff-card {
    background: #f9f9f9;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    transition: transform 0.3s ease;
    border: 1px solid #eee;
}

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

.avatar {
    width: 80px;
    height: 60px;
    background: #007aaa;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-weight: bold;
    font-size: 1.2rem;
}

.staff-card h4 {
    margin-bottom: 5px;
    color: #333;
}

.staff-card span {
    display: block;
    color: #007bff;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.staff-card p {
    font-size: 0.85rem;
    color: #666;
    line-height: 1.4;
}



/* Estilos para Aula Virtual */
.aula-container {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.aula-card {
    background: white;
    padding: 40px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    margin: 30px 0;
    border-top: 5px solid #f98012; /* Color naranja característico de Moodle */
}

.aula-icon {
    font-size: 3rem;
    margin-bottom: 15px;
}

.btn-moodle {
    display: inline-block;
    background-color: #f98012; /* Color Moodle */
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    font-weight: bold;
    font-size: 1.1rem;
    margin-top: 25px;
    transition: background 0.3s ease, transform 0.2s ease;
}

.btn-moodle:hover {
    background-color: #e0730d;
    transform: scale(1.05);
}

.aula-support {
    margin-top: 25px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    font-size: 0.9rem;
    color: #777;
}

.aula-requisitos {
    text-align: left;
    background: #f1f7ff;
    padding: 20px;
    border-radius: 8px;
}

.aula-requisitos h3 {
    font-size: 1rem;
    color: #007bff;
    margin-bottom: 10px;
}

.aula-requisitos ul {
    font-size: 0.9rem;
    color: #555;
    padding-left: 20px;
}