
/* Estilo general para EDUSAC Webportal */
body {
    margin: 0;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #f4f6f9;
    color: #333;
}

/* Encabezado institucional */
header.hero {
    background: linear-gradient(135deg, #1e90ff, #0077cc);
    color: white;
    padding: 50px 20px;
    text-align: center;
    position: relative;
}

.hero__title {
    font-size: 2rem;
    margin-top: 20px;
}

/* Navegación principal */
nav.nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
}

.nav__items {
    color: white;
    text-decoration: none;
    padding: 10px 18px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    transition: background-color 0.3s ease;
}

.nav__items:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* Secciones de contenido */
section.content-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    background: white;
    border-radius: 15px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
}

section.content-section img {
    max-width: 100%;
    border-radius: 10px;
    margin-bottom: 20px;
}

section.content-section h2 {
    font-size: 1.6rem;
    margin-bottom: 15px;
    color: #1e3a5f;
}

section.content-section p {
    font-size: 1rem;
    line-height: 1.6;
    text-align: justify;
    color: #444;
}

/* Botón principal */
a.hero__cta {
    display: inline-block;
    margin-top: 25px;
    padding: 12px 25px;
    background-color: #ffffff;
    color: #1e90ff;
    border-radius: 30px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

a.hero__cta:hover {
    background-color: #e6f0ff;
}

/* Pie de ola decorativa */
.hero__wave svg {
    display: block;
    width: 100%;
    height: 100px;
}
.honor-container {
    overflow-x: auto;
    margin: 30px auto;
    max-width: 800px;
}

.honor-container table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.honor-container th, .honor-container td {
    padding: 12px 10px;
    text-align: center;
    border-bottom: 1px solid #ddd;
    font-size: 16px;
}

.honor-container th {
    background-color: #f0f4f8;
    font-weight: bold;
    color: #333;
}

.honor-container td img {
    width: 50px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr); /* Dos por fila */
    gap: 20px;
    margin: auto;
    max-width: 900px;
}

.gallery-item {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.gallery-item img {
    width: 100%;
    height: 200px; /* Altura uniforme */
    object-fit: cover; /* Recorta manteniendo proporción */
    display: block;
}

.gallery-caption {
    padding: 10px;
    background-color: #f1f1f1;
    text-align: center;
    font-weight: bold;
    color: #333;
    font-size: 15px;
}

.honor-section {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
    text-align: center;
}

.honor-section h2 {
    font-size: 1.8rem;
    margin-bottom: 25px;
    color: #1e3a5f;
}

.honor-container {
    overflow-x: auto;
}

.honor-container table {
    width: 100%;
    border-collapse: collapse;
    margin: auto;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.honor-container th, .honor-container td {
    padding: 12px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
}

.honor-container th {
    background-color: #f0f4f8;
    font-weight: bold;
    color: #333;
}

.honor-container td img {
    width: 50px;
    height: 60px;
    object-fit: cover;
    border-radius: 6px;
    box-shadow: 0 0 4px rgba(0,0,0,0.1);
}

/* Footer centrado */
footer.footer {
    text-align: center;
    margin-top: 60px;
    padding: 25px 10px;
    background-color: #f8f9fa;
    font-size: 15px;
    color: #444;
    border-top: 1px solid #ddd;
}

footer.footer a {
    display: inline-block;
    margin-top: 10px;
    color: #007bff;
    text-decoration: none;
}

footer.footer a:hover {
    text-decoration: underline;
}
