:root {
    --colorPrimary: #48887E; /*#1A5C90;   #669999 Verde agua*/
    --colorPrimaryDark: #305591; /*#002A4A; Azul casi negro*/
    --colorAccent: #0371B6; /*#669999;  #1A5C90 Azul oscuro*/
    --colorBackground: #e3e4e5;/*#EEEEEE Gris perla*/
    --colorTextPrincipal: #303030; /*#303030 gris casi negro*/
    --colorTextSecundario: #FFFFFF; /*Blanco*/
}
body {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--colorTextPrincipal);
    z-index: 0; /* El contenido de la página debe estar debajo del menú desplegable */
    width: 100%;
}

a {
    font-family: 'Source Sans Pro', sans-serif;
    color: var(--colorPrimaryDark);
    font-size: 20px;
}

a:hover {
    color: var(--colorTextPrincipal);
    text-decoration: none;
}

h1, h2, h3, h4, h5, h6{
    font-family: 'Source Sans Pro', sans-serif;
    text-decoration: none;
}

p{
    font-family: 'Source Sans Pro', sans-serif;
    text-align: justify;
    font-size: 20px
}

/* Mobile Navigation */

.menu-btn {
    display: none; /* Ocultarlo en pantallas grandes */
    position: absolute;
    top: 20px;
    right: 20px;
    background-color: var(--colorTextSecundario);
    padding: 0px;
    border: none;
    font-size: 18px;
    border-radius: 0px;
    cursor: pointer;
    z-index: 10000;
}

/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
    font-family: 'Source Sans Pro', sans-serif;
    padding: 30px 0;
    overflow: hidden;
}

.section-bg {
    background-color: #f3f5fa;
}

.section-title {
    text-align: center;
    padding-bottom: 10px;
}


.section-title h2 {
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    padding-bottom: 15px;
    position: relative;
    color: var(--colorPrimaryDark);
}


/* Títulos principales (Visión/Misión) */
.content-area h3 {
    font-size: 28px; /* Un poco más grande para destacar */
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 15px;
    text-align: center;
    color: var(--colorPrimary); /* Tu color principal */
}

/* El texto descriptivo ahora es h4 u oscuro */
.content-area h4 {
    font-size: 20px; /* Tamaño adecuado para lectura */
    font-weight: 400; /* No tan negrita para que no compita con el h3 */
    line-height: 1.6;
    color: var(--colorPrimaryDark);
    text-align: justify; /* Justifica el texto */
    margin-bottom: 20px;
}

/* Títulos "Misión" y "Visión" */
h3.titulo-destacado {
    font-size: 28px;
    font-weight: bold;
    text-transform: uppercase;
    margin-bottom: 20px;
    /* Forzamos el color. Si la variable no carga, usa el código hex directo */
    color: var(--colorPrimary, #0056b3) !important;
}

/* El texto de los párrafos */
p.texto-contenido {
    font-size: 18px; /* Tamaño legible */
    line-height: 1.6; /* Espaciado entre líneas para que no se vea amontonado */
    color: #333333 !important; /* Gris muy oscuro (casi negro) */
    font-weight: 500; /* Un poco más grueso que lo normal, pero no negrita */
}

.section-title p {
    margin-bottom: 0;
    font-size: 20px;
}



/*--------------------------------*/


.sede {
    /*order: 3px solid var(--colorPrimary); Color y grosor del borde */
    /*background: var(--colorBackground);*/
    margin-left: 300px; /* Margen izquierdo */
    margin-right: 300px; /* Margen derecho */
    padding: 20px 20px; /* Espacio interno */
}


/*--------------------------------------------------------------
# Section Documentos
--------------------------------------------------------------*/
.documentos .icon-box {
    box-shadow: 0px 0 25px 0 rgba(0, 0, 0, 0.1);
    padding: 50px 30px;
    transition: all ease-in-out 0.5s;
    background: var(--colorBackground);
}

.documentos .icon-box .icon {
    margin-bottom: 10px;
}

.documentos .icon-box .icon i {
    color: var(--colorPrimaryDark);
    font-size: 36px;
    transition: 0.3s;
}

.documentos .icon-box h4
{
    color: var(--colorPrimaryDark);
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 24px;
}

.documentos .icon-box h4 a {
    color: var(--colorAccent);
    transition: ease-in-out 0.3s;
}

.documentos .icon-box p {
    line-height: 24px;
    font-size: 14px;
    margin-bottom: 0;
}

.documentos .icon-box:hover {
    transform: translateY(-10px);
}

.documentos .icon-box:hover h4 a {
    color: var(--colorPrimaryDark);
}


/*--------------------------------------------------------------
# Whatsapp Section
--------------------------------------------------------------*/
.whatsapp-float {
    position: fixed;
    top:90%;
    right: 20px;
    z-index: 1000;
    transform: translateY(-50%);
}

.whatsapp-float img {
    font-size: 50px;
    border-radius: 10%;
    box-shadow: 0px 2px 10px rgba(0, 0, 0, 0.2);
}

.login-box {
    max-width: 500px;
    margin: 60px auto;
    padding: 25px 30px;
    border-radius: 8px;
    box-shadow:
        0 4px 12px rgba(0, 0, 0, 0.1),
        0 0 20px rgba(51, 122, 183, 0.8); /* 👈 "borde difuminado" azul */

}
.login-box h1 {
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 25px;
    text-align: center;
}
.login-box a {
    color: #337ab7;
    text-decoration: none;
}
.login-box a:hover {
    text-decoration: underline;
}

/* =======================================================
   ESTILOS MENU (Clase personalizada: .mi-menu-custom)
   ======================================================= */
/* FUERZA EL FONDO GRIS EN TODA LA PANTALLA */
body .navbar.navbar-default {
    background-color: var(--colorTextSecundario) !important; /* Fondo Blanco */
    background-image: none !important;                  /* Mata el degradado de Bootstrap */
    border: none !important;
    border-bottom: 3px solid var(--colorPrimary) !important; /* La línea verde debajo de todo */
    margin-bottom: 0px !important;
    border-radius: 0px !important;
    width: 100% !important;
    display: block !important;
    min-height: 80px !important; /* Forzamos la altura mínima de la barra */
}

/* ELIMINA FONDOS BLANCOS INTERNOS */
body .navbar-default .container,
body .navbar-default .navbar-collapse,
body .navbar-default .navbar-header {
    background-color: transparent !important;
    background-image: none !important;
    border: none !important;
}

/* BOTONES: TEXTO AZUL, FONDO TRANSPARENTE POR DEFECTO */
body .navbar-default .navbar-nav.mi-menu-custom > li > a {
    color: var(--colorPrimaryDark) !important;
    background-color: transparent !important;
    line-height: 20px !important; /* Ajusta este valor para mover el texto arriba/abajo */
    padding-top: 30px !important;    /* Ajusta estos valores para centrar el texto */
    padding-bottom: 30px !important; 
    line-height: 20px !important;    /* Volvemos a un line-height normal */
    display: block !important;
    transition: all 0.3s ease;
}

/* HOVER: FONDO AZUL OSCURO, TEXTO BLANCO */
body .navbar-default .navbar-nav.mi-menu-custom > li > a:hover {
    color: #ffffff !important;
    background-color: var(--colorPrimaryDark) !important;
}

/* CENTRAR LOGO VERTICALMENTE */
body .navbar-brand {
    height: 80px !important;    /* Ajusta esta altura para que coincida con el menú */
    display: flex !important;
    align-items: center !important; /* Centra el logo verticalmente */
    padding-top: 15px !important;    /* Ajusta para que el logo suba o baje */
}

 body .navbar-brand img {
    max-height: 150px;           /* Controla el tamaño del logo si es muy grande */
    width: auto;
}




