/* General Styles */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    /* Fondo gris claro */
    color: #333;
    /* Texto base oscuro */
}

/* Header Styles */
header {
    background-color: white;
    padding: 20px 0;
    position: relative;
    border-bottom: 5px solid #0A1164;
}

h2 {
    display: block;
    font-size: 1.5em;
    margin-block-end: 0.83em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    unicode-bidi: isolate;
}

p {
    display: block;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

.doctorado-img {
    width: 100%;
    max-width: 120px;
    height: auto;
    display: block;
    margin: 0 auto;
    /* para centrarla */
    margin: 0 auto 20px auto;
}

.img-hover {
    transition: transform 0.3s ease;
}

.img-hover:hover {
    transform: scale(2.0);
    /* Puedes ajustar el tamaño: 1.1 = 110% */
    cursor: pointer;
    /* cambia el cursor a manita */
}

.logo-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
}

.logo-header img {
    height: 60px;
}

.logo-left {
    height: 80px;
}

.logo-right {
    height: 80px;
}

.logo-left {
    position: absolute;
    left: 150px;
    top: 20px;
}

.logo-right {
    position: absolute;
    right: 60px;
    top: 20px;
}

.title-header {
    text-align: center;
    color: #0A1164;
    font-size: 2.0em;
    font-weight: bold;
    margin: -16px 0;
}

.extra-subtitle {
    color: #444;
    font-size: 0.95em;
    max-width: 990px;
    margin: 0 auto;
    line-height: 1.5;
}

.admin {
    color: #0A1164;
    padding: 10px 20px;
    border-radius: 5px;
    font-size: 1.2em;
    font-weight: bold;
    top: 110px;
    right: 30px;
    position: absolute;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

/* Sección de Campus */
.educational-options {
    display: flex;
    justify-content: center;
    gap: 20px;
    /* Menor espacio entre opciones */
    flex-wrap: wrap;
    padding: 5px 20px;
    max-width: 1000px;
    /* Más ancho */
    margin: 0 auto;
    /* Centrado horizontal */
}

.educational-options-row {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    /* Para que en pantallas pequeñas se acomoden en columnas */
    margin-top: 30px;
}

.option {
    background-color: #a5c2ed;
    /* Fondo claro para cada opción */
    border-radius: 10px;
    /* Bordes redondeados */
    padding: 20px;
    /* Espaciado interno */
    width: 300px;
    /* Ancho fijo */
    height: 329px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    /* Sombra suave */
    text-align: center;
    /* Centra el texto dentro de cada opción */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    /* Efectos de transición */
}

/* Efecto al pasar el mouse sobre las opciones */
.option:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Imagen dentro de cada opción */
.campus-img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.option h2 {
    color: #000000;
    font-size: 1.5em;
    margin-bottom: 10px;
}

.option h5 {
    color: #000000;
    font-size: 1.0em;
    font-style: italic;
    margin-bottom: 10px;
}

.option p {
    font-size: 1em;
    line-height: 1.3;
    color: #000000;
}

/* Texto de recurso */
.recurso {
    text-align: center;
}

.recurso a {
    display: inline-block;
    font-size: 1.3em;
    line-height: 1.5;
    color: #0A1164;
    font-weight: bold;
}

.info-box {
    background-color: #ffffff;
    border: 2px solid #0A1164;
    border-radius: 10px;
    padding: 15px 30px;
    /* Espaciado compacto */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
    margin: 20px auto;
    max-width: 1289px;
}

.info-box h2 {
    color: #0A1164;
    font-size: 1.1em;
    margin-bottom: 20px;
}

.info-box h2 {
    color: #0A1164;
    font-size: 1.3em;
    margin-bottom: 10px;
}

.info-box ul {
    list-style: none;
    /* Eliminar viñetas */
    padding: 0;
}

.info-box li {
    margin-bottom: 40px;
    font-size: 1em;
    line-height: 1.6;
}

.info-box li a {
    color: #0A1164;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.info-box li a:hover {
    color: #0A1164;
    /* Color más oscuro al pasar el cursor */
}

.button-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.info-button {
    background: linear-gradient(to right, #ffffff, #ffffff);
    color: #0A1164;
    border: 2px solid #0A1164;
    border-radius: 30px;
    padding: 6px 12px;
    /* Botones más compactos */
    font-size: 0.72em;
    /* Letra más pequeña */
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    margin: 4px;
    /* Separación mínima entre botones */
}


.info-button:hover {
    background: #d7d2ff;
    transform: scale(1.05);
}

.button-group-vertical {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-gris {
    background: linear-gradient(to right, #39393d, #8589a3);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 0.85em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-azul {
    background: linear-gradient(to right, #0A1164, #1a2fb3);
    color: white;
    border: none;
    border-radius: 30px;
    padding: 10px 20px;
    font-size: 0.95em;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
}

.btn-azul:hover,
.btn-gris:hover {
    background: #b40000;
    transform: scale(1.05);
}

.modal-content {
    background-color: #ffffff;
    /* Fondo blanco */
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25);
    /* Sombra */
}

/* Footer Styles */
footer {
    text-align: center;
    background-color: #0c0066;
    color: white;
    padding: 11px 0;
    font-size: 0.9em;
    margin-top: 10px;
}

/* Botón de acción */
.btn-campus {
    display: inline-block;
    background-color: #800000;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 1em;
    font-weight: bold;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.btn-campus:hover {
    background-color: #b22222;
    transform: translateY(-2px);
    box-shadow: 0px 6px 8px rgba(0, 0, 0, 0.2);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* Estilo para el cuadro de Administración */
.admin-box {
    padding: 10px 15px;
    max-width: 150px;
    text-align: center;
    font-size: 0.9em;
    font-weight: bold;
    color: #000000;
    background-color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.admin-box:hover {
    transform: translateY(-3px);
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    background-color: #a5c2ed;
}

.modal-body {
    padding-left: 30px;
    padding-right: 30px;
}

/* Párrafos dentro del modal */
.modal-body p {
    color: #555;
    font-size: 1.2em;
    line-height: 1.6;
    text-align: justify;
}

/* Listas dentro del modal */
.modal-body ul {
    list-style-type: disc;
    margin: 10px 0 0 20px;
    padding: 0;
    color: #555;
    font-size: 1em;
    line-height: 1.6;
}

/* Elementos de lista */
.modal-body ul li {
    margin-bottom: 10px;
    text-align: justify;
}