*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', sans-serif;
}
/*Desarrollado por Anibal Goyes Posligua*/
:root{
    --primary:#123081;
    --secondary:#0f172a;
    --light:#f4f4f4;
    --text:#111;
    --card:#ffffff;
}

@media (prefers-color-scheme: dark){
    :root{
        --primary:#05349a;
        --secondary:#020617;
        --light:#111829;
        --text:#f1f5f9;
        --card:#1e293b;
    }
}

#preloader {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: #020617 !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
    align-items: center !important;
    z-index: 99999 !important;

    transition: opacity 0.5s ease, visibility 0.5s !important;
}

.logo-loader {
    width: 100px;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 15px rgba(59, 128, 247, 0.5));
}

.barra {
    width: 250px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
}

.progreso {
    width: 0%;
    height: 100%;
    background: linear-gradient(90deg, #3b80f7, #011284);
    /* Animación fija de 1.2s igual que el otro */
    animation: cargar 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards !important;
    box-shadow: 0 0 10px rgba(59, 128, 247, 0.8);
}
@keyframes cargar {
    from { width: 0%; }
    to { width: 100%; }
}

#preloader.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    transform: none !important;
}

.loader-text {
    margin-top: 10px;
    font-size: 14px;
    letter-spacing: 1px;
    text-align: center;
    color: #f1f5f9;
}

body.bloqueado {
    overflow: hidden !important;
    height: 100vh !important;
}

body.bloqueado::-webkit-scrollbar {
    display: none;
}

body {
    margin: 0;
    font-family: 'Arial', sans-serif;
}

body{
    background:var(--light);
    color:var(--text);
    line-height:1.5;
    -webkit-overflow-scrolling: touch;
    padding-top: 80px;
}

/*Desarrollado por Anibal Goyes Posligua*/
header{
    background:var(--primary);
    color:rgb(255, 254, 254);
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding: 12px;
    position:sticky;
    top:0;
    z-index:1000;
    box-shadow:0 5px 20px rgba(0,0,0,0.2);
}

header{
    position: fixed;
    top: 0;
    width: 100%;
    transition: transform 0.3s ease;
    z-index: 1000;
}
/*Desarrollado por Anibal Goyes Posligua*/
header.oculto{
    transform: translateY(-100%);
}

.logo-container{
    display:flex;
    align-items:center;
    gap:25px;
}

.logo-img{
    width:50px;
    height:50px;
    border-radius:10px;
    object-fit:contain;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.69));
}

.logo-text{
    margin-left: -10px;
    font-weight:bold;
    font-size:1.2rem;
}

/* Desarrollado por Anibal Goyes Posligua */
.footer-logos{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:25px;
    margin:15px 0;

    flex-wrap:nowrap;
}
/*Desarrollado por Anibal Goyes Posligua*/
.footer-logos img{
    width:120px;
    object-fit:contain;

    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.771));
    transition:0.3s ease;
}
.footer-logos img:hover{
    transform:scale(1.1);
}
@media (max-width:768px){
    .footer-logos{
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: nowrap; 
        gap: 10px;
    }
    .footer-logos img{
        width: 90px;
        height: auto;
    }
}

nav ul{
    list-style:none;
    display:flex;
    gap:17px;
    padding: 17px;
    border-radius: 100px;
}

nav ul li a{
    color:white;
    text-decoration:none;
    font-weight:bold;
    position:relative;
}

nav ul li a::after{
    content:"";
    position:absolute;
    width:0%;
    height:2px;
    bottom:-5px;
    left:50%;
    transform: translateX(-50%);
    background: linear-gradient(45deg,#c2c6df86,#ffffff);
    transition:0.4s;
}

nav ul li a:hover::after{
    width:100%;
}

#nav-links a.activo::after{
    width:100%;
}

.menu-toggle{
    display:none;
    font-size:20px;
    cursor:pointer;
    margin-right:8px;
}
/*Desarrollado por Anibal Goyes Posligua*/
.section{
    padding:15px 20px 80px;
    text-align:center;
    margin:50px auto;
    border-radius:20px;
    max-width:1200px;
}
@media (max-width:768px){
    .section{
        margin:30px auto; 
    }
    .section:last-of-type{
        margin-bottom:10px;
    }
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--secondary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #3b80f7, #011284);
    border-radius: 10px;
}

* {
    scrollbar-width: thin;
    scrollbar-color: var(--primary) var(--secondary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #5fa2ff, #0020ff);
}
/*Desarrollado por Anibal Goyes Posligua*/
.section h2{
    font-size:2rem;
    margin-bottom:15px;
    color:var(--primary);
    position:relative;
}

.section h2::after{
    content:"";
    width:60px;
    height:3px;
    background:var(--primary);
    display:block;
    margin:8px auto 0;
    border-radius:5px;
}

#admisiones h2 {
    font-size:2rem;
    margin-bottom:15px;
    color:var(--primary);
    position:relative;
}

#admisiones h2::after {
    content:"";
    width:60px;
    height:3px;
    background:var(--primary);
    display:block;
    margin:8px auto 0;
    border-radius:5px;
}

#admisiones h4 {
    font-size:2rem;
    margin-bottom:15px;
    color:var(--primary);
    position:relative;
}

#admisiones h4::after {
    content:"";
    width:60px;
    height:3px;
    background:var(--primary);
    display:block;
    margin:8px auto 0;
    border-radius:5px;
}

#mision h3{
    font-size:2rem;
    margin-bottom:15px;
    color:var(--primary);
    position:relative;
}

#institucion h3{
    font-size:2rem;
    margin-bottom:15px;
    color:var(--primary);
    position:relative;
}

.inicio{
    width:100%;
    min-height: 100vh;

    display:flex;
    flex-direction:column;
    justify-content:center;
    align-items:center;

    text-align:center;
    color:white;
    will-change: transform;
    padding-top: 13dvh;
    
    background: cover;
    background-position:center;
    background-repeat:no-repeat;

    transition: background-image 1s ease-in-out;
}
@media (max-width:768px){
    .inicio{
        animation: none;
    }
}
@media (max-width: 600px) {
    .inicio {
        padding: 40px 20px;
        box-sizing: border-box;

        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;

        text-align: center;

        min-height: 100vh;
        background-position: center;
        background-size: cover;

        padding-top: 70px;
    }

    .inicio p {
        max-width: 90%;
        margin: 10px auto;
    }
}

.logo-inicio{
    width: 150px;
    height: 140px;
    background-image: url("imgue/1775845370548.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    margin: 10px auto;
    animation: brilloParpadeo 1s infinite ease-in-out;
}

@keyframes brilloParpadeo{
    0%{
        filter: drop-shadow(0 0 3px rgb(0, 0, 0));
        opacity: 0.7;
    }
    50%{
        filter: drop-shadow(0 0 25px rgb(0, 0, 0));
        opacity: 1;
    }
    100%{
        filter: drop-shadow(0 0 3px rgb(0, 0, 0));
        opacity: 0.8;
    }
}

.inicio > * {
    width: auto;
    font-family: 'Verdana', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.728);
    margin-top: 10px;
    text-align: center;
    margin-top: 5vh;
}
/*Desarrollado por Anibal Goyes Posligua*/
button{
    padding:14px 30px;
    border:none;
    border-radius:30px;
    border-top-left-radius: var(--primary);
    border-end-end-radius: var(--primary);
    background:var(--primary);
    color:white;
    margin-top:20px;
    cursor:pointer;
    font-weight:bold;
    transition:0.5s ease;
}

button{
    box-shadow: 0 5px 15px rgba(0, 4, 84, 0.6);
}
/*Desarrollado por Anibal Goyes Posligua*/
button:hover{
    transform:translateY(-5px);
    background: linear-gradient(45deg,#3b80f7,#011284);
}

.contenedor-galeria{
    display:flex;
    flex-wrap:wrap;
    gap:30px;
    justify-content:center;
    padding:20px;
}

.swiper{
    width:400px;
    height:300px;
    border-radius:20px;
    overflow:hidden;
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
    transition:0.5s ease;
}

.swiper:hover{
    transform:translateY(-10px);
    box-shadow:0 25px 50px rgba(0,0,0,0.25);
}

.slide img{
    width:400px;
    height:300px;
    object-fit:cover;
    transition:0.6s ease;
}

.slide img:hover{
    transform:scale(1.08);
}
/*Desarrollado por Anibal Goyes Posligua*/
.social-icons{
    display:flex;
    justify-content:center;
    gap:25px;
    margin-top:20px;
}

.social-icons a{
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    font-size:22px;
    color:white;
    text-decoration:none;
    transition:0.4s ease;
    box-shadow:0 10px 20px rgba(0,0,0,0.2);
}

.facebook{background:#1877F2;}
.instagram{background:#E1306C;}
.tiktok{background: #000000;}
.youtube{background:#FF0000;}
.whatsapp{background:#25D366;}

.social-icons a:hover{
    transform:translateY(-8px) scale(1.1);
}
/*Desarrollado por Anibal Goyes Posligua*/
footer{
    background:var(--secondary);
    color:white;
    padding:20px 0;
    text-align:center;
    box-shadow:0 -5px 30px rgba(0,0,0,0.3);
}
@media (max-width:768px){
    footer{
        padding:8px 0;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
.footer-extra{
    display:flex;
    justify-content:center;
    align-items:flex-start;
    flex-wrap:wrap;
    gap:70px;
    max-width:1200px;
    margin:10px auto;
    padding:0 20px;
}

.footer-col{
    flex:0 1 250px;
    text-align:center;
}

.footer-col h4{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:5px;                 
    text-align:center;
}

.footer-col a,
.footer-col p{
    display:block;
    color:#ccc;
    text-decoration:none;
    margin:5px 0;
    font-size:14px;
}

.footer-col a:hover{
    color:#fff;
}
/*Desarrollado por Anibal Goyes Posligua*/
footer .enlace-educativo{
    display:block;
    margin-top:15px;
    text-align:center;
}
@media (min-width:769px){
    .footer-col{
        position:relative;
        padding:0 20px;
    }
    .footer-col:not(:last-child)::after{
        content:"";
        position:absolute;
        top:10%;
        right:-35px;

        width:1px;
        height:80%;

        background:rgba(255,255,255,0.15);
    }

}
@media (max-width:768px){
    .footer-extra{
        flex-direction:column;
        align-items:center;
        gap:2px;
        margin:10px auto;
    }
    .footer-col{
        width:100%;
        max-width:320px;
        padding:8px 0;
        display:flex;
        flex-direction:column;
        justify-content:center; 
        align-items:center;

        border-bottom:1px solid rgba(255,255,255,0.1);
    }
    .footer-col:last-child{
        border-bottom:none;
    }
    .footer-col h4{
        display:flex;
        justify-content:center;
        align-items:center;
        gap:6px;
        font-size:15px;
    }

}

.desarrollado{
    margin:25px auto 0;
    padding:12px 20px;

    background:#0a0f2c;
    color: light-dark(#ffffff, #ffffff) !important;
    font-size: 14px;
    text-align: center;

    text-align:center;


    box-shadow:0 5px 15px rgba(0,0,0,0.3);
}

/*Desarrollado por Anibal Goyes Posligua*/
.hidden{
    opacity:0;
    transform:translateY(40px);
    transition:0.8s ease;
}

.show{
    opacity:1;
    transform:translateY(0);
}

@media(max-width:768px){
    nav ul{
        position:absolute;
        top:70px;
        right:0;
        align-items: center;
        background:var(--primary);
        flex-direction:column;
        width:220px;
        padding:20px;
        display:none;
        border-radius:0 0 0 15px;
    }
    nav ul.active{
        display:flex;
    }
    .menu-toggle{
        display:block;
    }
    .swiper{
        width:90%;
        height:250px;
    }
    .slide img{
        width:100%;
        height:250px;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
.mapa{
    margin-top: 25px;

    border-radius:20px;
    overflow:hidden;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border:1px solid rgba(0, 0, 0, 0.2);

    box-shadow:0 10px 30px rgba(0,0,0,0.3);

    transition:0.4s ease;
    margin-bottom: 40px;
}

.mapa iframe{
    width:100%;
    height:350px;
    border:0;
    display:block;
}

.redes a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 22px;
    color: white;
    transition: all 0.3s ease;
}
/*Desarrollado por Anibal Goyes Posligua*/
.facebook {
    background:linear-gradient(45deg,#1877f2,#164f9a);
    box-shadow: 0 5px 15px rgba(24, 119, 242, 0.6);
}

.facebook:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(24, 119, 242, 0.8);
}

.tiktok {
    background:linear-gradient(45deg,#151514,#000000);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.6);
}

.tiktok i {
    color: #fff;
    text-shadow: 
        2px 2px 0 #00f2ea,
       -2px -2px 0 #ff0050;
}

.tiktok:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
}

.instagram {
    background:linear-gradient(10deg,#b8ce58,#da481c,#e42145,#ce0774,#7d1079);
    box-shadow: 0 5px 15px rgba(228, 64, 95, 0.6);
}

.instagram:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(228, 64, 95, 0.8);
}

.youtube {
    background:linear-gradient(45deg,#ff0000,#b42828);
    box-shadow: 0 5px 15px rgba(255, 0, 0, 0.6);
}

.youtube:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(255, 0, 0, 0.8);
}

.whatsapp {
    background:linear-gradient(45deg,#25d366,#199346);
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.6);
}

.whatsapp:hover {
    transform: translateY(-6px);
    box-shadow: 0 10px 25px rgba(37, 211, 102, 0.8);
}
/*Desarrollado por Anibal Goyes Posligua*/
.tabs{
    text-align:center;
    margin-bottom:20px;
}

.tabs button{
    padding:10px 20px;
    margin:5px;
    border:none;
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.tabs button:hover{
    transform:scale(1.05);
}

.tabs-anterior{
    text-align:center;
    margin-bottom:20px;
}

.tabs-anterior button{
    padding:10px 20px;
    border:none;
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.tabs-anterior button:hover{
    transform:scale(1.05);
}

.tabs-dece{
    text-align:center;
    margin-top: 20px;
    margin-bottom:10px;
}

.tabs-dece button{
    padding:10px 20px;
    border:none;
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.tabs-dece button:hover{
    transform:scale(1.05);
}

.tabs-encuestas{
    text-align:center;
    margin-bottom:20px;
}

.tabs-encuestas button{
    padding:10px 20px;
    border:none;
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.tabs-encuestas button:hover{
    transform:scale(1.05);
}

#contenido-galeria{
    display:none;
}

.contenedor-galeria{
    display:flex;
    gap:20px;
    justify-content:center;
    flex-wrap:wrap;
}

.contenedor-galeria img{
    width:250px;
    height:180px;
    object-fit:cover;
    object-position: center;
    border-radius:10px;
}
/*Desarrollado por Anibal Goyes Posligua*/
.flecha-izquierda, .flecha-derecha {
    position: absolute;
    top: 50%;
    font-size: 3rem;
    color: white;
    cursor: pointer;
    user-select: none;
    z-index: 10;
    padding: 0 10px;
    transform: translateY(-50%);
    
    display: none;
}

.flecha-izquierda { left: 10px; }
.flecha-derecha { right: 10px; }

.flecha-izquierda:hover, .flecha-derecha:hover {
    color: #0037ff;
}
@media (max-width: 768px) {
    .flecha-izquierda, .flecha-derecha {
        font-size: 2rem;
        top: 45%;
        padding: 0 5px;
    }
    .flecha-izquierda { left: 5px; }
    .flecha-derecha { right: 5px; }
}

.cerrar:hover{
    color:#0037ff;
}

#contenido-historia p{
    text-align: justify;
}
/*Desarrollado por Anibal Goyes Posligua*/
#contenido-historia img{
    max-width:250px;
    height:auto;
    display:block;
    margin:auto;
}

#contenido-historia img{
    max-width:250px;
    height:auto;
    display:block;
    margin:auto;
}
/*Desarrollado por Anibal Goyes Posligua*/
.logo-historia{
    border-radius: 40px;
    transition: 0.4s ease;
}
@media (hover: hover){
    .logo-historia:hover{
        transform: scale(1.05);
        box-shadow:
        0 0 10px rgba(10, 16, 128, 0.339),
        0 0 25px rgba(0, 119, 255, 0.312),
        0 0 50px rgba(22, 71, 128, 0.422);
    }
}
@media (hover: none){
    .logo-historia:active{
        transform: scale(1.05);
       box-shadow:
       0 0 10px rgba(10, 16, 128, 0.339),
       0 0 25px rgba(0, 119, 255, 0.312),
       0 0 50px rgba(22, 71, 128, 0.422);
    }
}
/* EFECTO NEÓN GLOBAL */
.contenedor-galeria img:hover,
.promociones-img img:hover,
.galeria-dece img:hover,
#contenido-historia img:hover,
#contenido-antiguas img:hover {
    transform: scale(1.05) !important;
    box-shadow:
    0 0 10px rgba(10, 16, 128, 0.339),
    0 0 25px rgba(0, 119, 255, 0.312),
    0 0 50px rgba(22, 71, 128, 0.422) !important;
}

.contenedor-galeria img:active,
.promociones-img img:active,
.galeria-dece img:active,
#contenido-historia img:active,
#contenido-antiguas img:active {
    transform: scale(1.05);
    box-shadow:
    0 0 10px rgba(10, 16, 128, 0.339),
    0 0 25px rgba(0, 119, 255, 0.312),
    0 0 50px rgba(22, 71, 128, 0.422);
}
/*Desarrollado por Anibal Goyes Posligua*/
.visor{
    display:none;
    position:fixed;
    z-index:1000;
    padding-top:60px;
    left:0;
    top:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
}

.visor-contenido{
    margin:auto;
    display:block;
    max-width:80%;
    max-height:80%;
    border-radius:10px;
}
/*Desarrollado por Anibal Goyes Posligua*/
@media (max-width:768px){
    .visor{
        padding-top:230px;
    }
    .visor-contenido{
        margin-top: -58px;
    }
}

.cerrar{
    position:absolute;
    top:30px;
    right:35px;
    color:white;
    font-size:40px;
    cursor:pointer;
    font-weight:bold;
    z-index:10001;
}
@media (max-width:768px){
   .cerrar{
        top:60px;
        right:20px;
        font-size:35px;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
#textoImagen{
    color:white;
    text-align:center;
    font-size:20px;
    margin:15px auto;
    width:80%;
}

.tabs-admisiones button{
    padding:10px 20px;
    margin:10px;
    border:none;
    color:white;
    border-radius:8px;
    cursor:pointer;
    transition:0.3s;
}

.tabs-admisiones button:hover{
    transform:scale(1.05);
}

#contenido-promociones{
    display:none;
}

.promociones-img{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    margin-top:20px;
}

.promociones-img img{
    width:250px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:0.3s;
}

.promociones-img img:hover{
    transform:scale(1.05);
}

.formulario-admision{
    max-width:400px;
    margin:30px auto;
}

.formulario-admision input,
.formulario-admision select,
.formulario-admision textarea{
    width:100%;
    padding:10px;
    margin:8px 0;
    border-radius:6px;
    border:1px solid #ccc;
}
/*Desarrollado por Anibal Goyes Posligua*/
.formulario-admision button{
    padding:14px 30px;
    border:none;
    border-top-left-radius: var(--primary);
    border-end-end-radius: var(--primary);
    color:white;
    margin-top:20px;
    cursor:pointer;
    font-weight:bold;
    transition:0.4s ease;
    box-shadow:0 10px 25px rgba(0,0,0,0.2);
}

.campo{
    display:flex;
    align-items:center;
    gap:10px;
    margin:10px 0;
}
.campo img{
    width:22px;
    height:22px;
}
.campo input,
.campo select,
.campo textarea{
    width:100%;
    padding:10px;
    border-radius:6px;
    border:1px solid #ccc;
}
/*Desarrollado por Anibal Goyes Posligua*/
#contenido-ofertas .campo {
    display: flex;
    align-items: center;
    gap: 10px;
}
#contenido-ofertas .icono-formulario {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
#contenido-ofertas .icono-formulario i {
    color: white;  
    font-size: 18px;  
}
#contenido-ofertas .icono-formulario:hover {
    transform: scale(1.0);
    box-shadow: 0 0 20px rgb(12, 92, 177);
}
/*Desarrollado por Anibal Goyes Posligua*/
#contenido-ofertas .campo input,
#contenido-ofertas .campo textarea {
    flex: 1;
    padding: 8px 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 14px;
}
#contenido-ofertas .campo select{
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    cursor: pointer;
}
#contenido-ofertas .campo select{
    background-image: url("data:image/svg+xml;utf8,<svg fill='%233b80f7' height='20' viewBox='0 0 20 20' width='20' xmlns='http://www.w3.org/2000/svg'><path d='M5 7l5 5 5-5'/></svg>");
    background-repeat: no-repeat;
    background-position: right 10px center;
    background-size: 15px;
    padding-right: 35px;
}
/*Desarrollado por Anibal Goyes Posligua*/
.cuadros-mv {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-top: 40px;
}
.cuadro {
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
}

.cuadro:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 10px 25px rgb(25, 71, 108);
}

.item-contacto {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.item-contacto:hover {
    transform: translateX(8px);
    box-shadow: 0 10px 25px rgb(25, 71, 108);
}

.cuadro-encuesta {
    border-radius: 15px;
    padding: 20px;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    position: relative;
    overflow: hidden;
}

.cuadro-encuesta:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 0 10px 25px rgb(25, 71, 108);
}

.cuadro {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 20px;
    background: var(--card);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(28, 74, 111, 0.468);
}
.cuadro i {
    font-size: 28px;
    background: var(--primary);
    color: rgb(255, 255, 255);
    padding: 15px;
    border-radius: 50%;
    transition: 0.3s;
}
.cuadro:hover i {
    box-shadow: 0 0 20px rgb(12, 92, 177);
}
.cuadro p{
    text-align: justify;
    line-height: 1.6;
    letter-spacing: 0.3px;
}
@media (max-width: 768px) {
    .cuadros-mv {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    .cuadro {
        flex-direction: column;
        align-items: center;
    }
    .cuadro i {
        font-size: 24px;
        padding: 12px;
    }
    .cuadro h3 {
        font-size: 1.1rem;
    }
    .cuadro p {
        font-size: 0.9rem;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
.galeria-dece{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:20px;
    margin-top:20px;
}
.galeria-dece img{
    width:250px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
    transition:0.3s;
}
.galeria-dece img:hover{
    transform:scale(1.05);
}
@media (max-width:768px){
    .galeria-dece img{
        width:90%;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
.btn-dece{
    margin-top:40px;
    padding:12px 25px;
    border:none;
    border-radius:8px;
    color:white;
    cursor:pointer;
}
.btn-dece.activo{
    background: linear-gradient(45deg, #3b80f7, #011284);
    transform: scale(1.05);
    box-shadow:0 5px 15px rgba(0,0,0,0.2);
}

.quienes-grid{
    display:grid;
    grid-template-columns:1fr 1fr;
    grid-template-rows:auto auto;
    gap:25px;
    margin-top:40px;
}
.cuadro-grande{
    grid-row:1 / 3;
    align-items: center;
}
@media (max-width:768px){
    .quienes-grid{
        grid-template-columns:1fr;
        gap:20px;
    }
    .cuadro-grande{
        grid-row:auto;
    }
    .cuadro{
        padding:15px;
    }
    .cuadro i{
        font-size:24px;
    }
    .cuadro h3{
        font-size:1.1rem;
    }
    .cuadro p{
        font-size:0.9rem;
    }
}

.visor,
.visor-qs{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100vh;

    background:rgba(0,0,0,0.9);

    display:none;
    align-items:center;
    justify-content:center;
    flex-direction:column;

    z-index:9999;
}

#img-qs{
    max-width:80%;
    max-height:80vh;
    border-radius:10px;
}

.cerrar-qs{
    position:absolute;
    top:20px;
    right:35px;
    color:white;
    font-size:40px;
    cursor:pointer;
    font-weight:bold;
    transition:0.3s;
}

.cerrar-qs:hover{
    color:#ccc;
}
@media (max-width:768px){
    .cerrar-qs{
        top:60px;   /* controlar X */
        right:20px;
        font-size:35px;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
img{
    cursor: pointer;
}
/*Desarrollado por Anibal Goyes Posligua*/
.inicio h1{
    animation: entradaTexto 2s ease-out, brilloParpadeo 3s infinite;
}
@keyframes entradaTexto{
    0%{
        opacity:0;
        transform: translateY(-40px) scale(0.9);
    }
    100%{
        opacity:1;
        transform: translateY(0) scale(1);
    }
}
@keyframes brilloParpadeo{
    0%{
        filter: drop-shadow(0 0 3px rgba(251, 251, 251, 0.4));
        opacity: 0.7;
    }
    50%{
        filter: drop-shadow(0 0 3px rgba(251, 251, 251, 0.4));
        opacity: 1;
    }
    100%{
        filter: drop-shadow(0 0 3px rgba(251, 251, 251, 0.4));
        opacity: 0.8;
    }
}

@media (max-width:768px){
    .cuadro-grande{
        display:flex;
        flex-direction:column;
        align-items:center;
        text-align:center;

    }
    .cuadro-grande i{
        margin-bottom:10px;
    }
    .cuadro-grande div{
        width:100%;
    }
    .promociones-img{
        margin-top:15px;
        width:100%;
    }
    .promociones-img img{
        width:100%;
        height:auto;
        border-radius:10px;
        object-fit:cover;
    }
}

.video-cuadro{
    width:230px;
    border-radius:10px;
    box-shadow:0 5px 15px rgba(0, 0, 0, 0.46);
    transition:0.3s;
    cursor:pointer;
}
#video-qs{
    max-width:70%;
    max-height:70vh;
}
/*Desarrollado por Anibal Goyes Posligua*/
.tabla-ofertas{
    width:100%;
    margin-top:30px;
    border-collapse:collapse;

    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-radius:15px;
    overflow:hidden;
    border:1px solid rgba(255,255,255,0.2);

    box-shadow:0 8px 32px rgba(0, 0, 0, 0);
}
/*Desarrollado por Anibal Goyes Posligua*/
.tabla-ofertas th{
    background: rgba(255,255,255,0.15);
    color: var(--text);
    padding:14px;
    font-weight:bold;
    backdrop-filter: blur(8px);
}
.tabla-ofertas td{
    padding:12px;
    text-align:center;
    color: var(--text);
    border-bottom:1px solid rgba(255,255,255,0.1);
}
.tabla-ofertas small{
    font-size:12px;
    opacity:0.7;
}
.tabla-ofertas tbody tr{
    cursor:pointer;
    transition: all 0,25s ease;
}
.tabla-ofertas tbody tr:hover{
    background: rgba(0, 123, 255, 0.2);
    box-shadow: inset 0 0 5px rgba(0,0,0,0.2);
}
@media (max-width:768px){
    .tabla-scroll{
        width:100%;
        overflow-x:auto;
    }
    .tabla-ofertas{
        min-width:600px;
    }
    .tabla-ofertas th,
    .tabla-ofertas td{
        font-size:12px;
        padding:8px;
    }
}

@media (max-width:768px){
    .tabla-scroll{
        background: transparent;
    }
}
.titulo-tabla{
    margin-top:25px;
    margin-bottom:10px;
    font-size:1.4rem;
    color: var(--primary);
    text-align:center;
    position:relative;
    margin-top: 40px;
}
.titulo-tabla::after{
    content:"";
    width:60px;
    height:3px;
    background:var(--primary);
    display:block;
    margin:8px auto 0;
    border-radius:5px;
}
/*Desarrollado por Anibal Goyes Posligua*/
.info-tabla{
    margin-top:20px;
    padding:15px;
    border-radius:15px;
    
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border:1px solid rgba(255,255,255,0.2);

    box-shadow:0 8px 32px rgba(0,0,0,0.25);

    color: var(--text);
    text-align:center;
    transition:0.3s;
}
/*Desarrollado por Anibal Goyes Posligua*/
.tabla-ofertas td:nth-child(2),
.tabla-ofertas td:nth-child(3){
    transition: 0.3s ease;
}
.tabla-ofertas tr:hover td:nth-child(2),
.tabla-ofertas tr:hover td:nth-child(3){
    transform: scale(0.95);
    color:#3b80f7;
}

.info-tabla{
    animation: aparecer 0.5s ease;
}
@keyframes aparecer{
    from{
        opacity:0;
        transform:translateY(10px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

.tabla-ofertas tbody tr.activo{
    background: rgba(0, 123, 255, 0.2);
    backdrop-filter: blur(5px);
    font-weight: bold;
    box-shadow: inset 0 0 8px rgba(0,0,0,0.2);
}
/*Desarrollado por Anibal Goyes Posligua*/
#nav-links a{
    position: relative;
}
#nav-links a .subtexto{
    position: absolute;
    left: 50%;
    top: 120%;
    text-align: center;
    line-height: 1.2;

    transform: translateX(-50%) translateY(-5px);

    background: rgba(0, 0, 0, 0.461);
    color: #fff;
    font-size: 10px;
    padding: 4px 8px;
    border-radius: 6px;

    white-space: nowrap;

    opacity: 0;
    pointer-events: none;

    transition: 0.25s ease;
    z-index: 9999;
}
@media (hover: hover){
    #nav-links a:hover .subtexto{
        opacity: 1;
        transform: translateX(-50%) translateY(5px);
    }
}

#textoAntiguo{
    color:white;
    text-align:center;
    font-size:20px;
    margin-top:15px;
    width:100%;
}
@keyframes aparecerSeccion{
    from{
        opacity:0;
        transform: translateY(20px);
    }
    to{
        opacity:1;
        transform: translateY(0);
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
#contenido-galeria,
#contenido-historia,
#contenido-autoridades,
#contenido-promociones,
#contenido-dece,
#contenido-ofertas,
#contenido-antiguas{
    margin-top:30px;
    padding-top:15px;
    border-top:2px solid color-mix(in srgb, var(--text) 20%, transparent);

    animation: aparecerSeccion 0.5s ease;
}

.flecha-abajo{
    display:block;
    font-size:25px;
    margin-top:10px;
    animation: bajar 1s infinite;
}
@keyframes bajar{
    0%{ transform: translateY(0); }
    50%{ transform: translateY(8px); }
    100%{ transform: translateY(0); }
}

#contenido-historia h3.titulo-historia {
    margin-bottom: 20px;
}

.historia-imagen {
    margin-bottom: 2em;
}

.enlace-educativo, 
.enlace-educativo:visited {
    color: #4799f0 !important;
    text-decoration: none !important;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.enlace-educativo:hover {
    color: #007bff !important;
}
/*Desarrollado por Anibal Goyes Posligua*/
.info-contacto{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:25px;
    margin-top:25px;
}

.item-contacto{
    display:flex;
    align-items:center;
    gap:15px;
    padding:20px;
    width:280px;

    background: var(--card);
    border-radius:15px;
    box-shadow: 0 10px 25px rgba(28, 74, 111, 0.468);
}

.icono-contacto{
    width:50px;
    height:50px;
    background: var(--primary);
    border-radius:50%;
    display:flex;
    align-items:center;
    justify-content:center;
    flex-shrink:0;
    transition:0.3s;
}
.icono-contacto i{
    color:white;
    font-size:20px;
}
.item-contacto:hover .icono-contacto{
    box-shadow: 0 0 20px rgb(12, 92, 177);
}
.item-contacto p{
    margin:0;
    font-size:14px;
    text-align:left;
}

.item-contacto a{
    color: var(--primary);
    text-decoration:none;
}

.item-contacto a:hover{
    text-decoration:underline;
}
@media (max-width:768px){
    .item-contacto{
        width:100%;
        max-width:100%;
    }
    .info-contacto{
        padding:0 10px;
    }
}

#contacto h2{
    margin-top: 30px;
    margin-bottom: 20px;
}

.social-icons{
    margin-top: 25px;
}

#contacto h2:first-of-type{
    margin-top:0;
}
/*Desarrollado por Anibal Goyes Posligua*/
.modal{
    display:none;
    position:fixed;
    z-index:9999;
    left:0;
    top:0;
    width:100%;
    height:100%;

    background: rgba(0,0,0,0.7);

    justify-content:center;
    align-items:center;
}

.modal-contenido{
    background: rgba(255, 255, 255, 0.439);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    padding:25px;
    border-radius:15px;
    width:90%;
    max-width:500px;

    box-shadow:0 10px 30px rgba(0, 0, 0, 0.467);

    color: var(--text);
    text-align:center;
}
.cerrar-modal{
    position:absolute;
    top:15px;
    right:20px;
    font-size:30px;
    color:rgb(255, 255, 255);
    cursor:pointer;
}
.cerrar-modal:hover{
    color:#0037ff;
}
/*Desarrollado por Anibal Goyes Posligua*/
.modal-contenido p{
    text-align: center;
    margin-top:10px;
}
/*Desarrollado por Anibal Goyes Posligua*/
.check-terminos{
    display:flex;
    align-items:center;
    gap:5px;
    margin-top:10px;
    justify-content: center;
    margin-left: 90px;
}

.check-terminos label{
    margin:0;
    padding:0;
    line-height:1; 
}

.check-terminos input[type="checkbox"] {
    width: auto;
}

.cuadro-encuesta {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    /*Desarrollado por Anibal Goyes Posligua*/
    padding: 20px 25px;       
    background: var(--card);
    border-radius: 15px;
    box-shadow: 0 10px 25px rgba(28, 74, 111, 0.468);

    width: 480px !important;  
   
    min-height: auto; 
}
@media (max-width: 768px) {
    .cuadro-encuesta {
        width: 100% !important; 
        padding: 20px;
    }
    
    .tabs-encuestas {
        grid-template-columns: 1fr;
        width: 95%;
    }
}

.cuadro-encuesta p {
    text-align: justify;
    /*Desarrollado por Anibal Goyes Posligua*/
    margin-bottom: 12px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.cuadro-encuesta .btn-dece {
    align-self: center;
    padding: 12px 25px;
}
@media (max-width: 768px) {
    .cuadro-encuesta {
        padding: 20px;
        flex-direction: column;
    }
    
    .cuadro-encuesta p {
        text-align: center;
        font-size: 0.95rem;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
.tabs-encuestas button{
    white-space: nowrap;
    padding:8px 16px;
    font-size:14px;
}

@media (min-width:768px){
    .tabs-encuestas{
        justify-content: center;
    }
    .tabs-encuestas button{
        width: auto; 
        justify-self: center;
    }
}

.tabs-encuestas button i{
    margin-right: 8px;
    font-size: 20px;
} 
.tabs-encuestas .cuadro-encuesta i{
    background:none;
    padding:0;
    border-radius:0;
}

.tabs-encuestas .btn-dece{
    border-radius: 8px !important;
}

.tabs-encuestas > h2,
.tabs-encuestas > p{
    grid-column: 1 / -1;
}

.tabs-encuestas{
    display:grid;
    grid-template-columns: repeat(2, 1fr);
    gap:20px;
    width:100%;
    max-width:1100px;
    margin:40px auto 0;
}

@media (max-width:768px){
    .tabs-encuestas{
        grid-template-columns: 1fr;
        width: 80%;
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
#aulas h2 {
    text-align: center;
}

#aulas h3 {
    margin-bottom: 15px;
}

#aulas p {
    text-align: center;
    margin-bottom: 30px;
}

#aulas ul {
    margin-top: 15px;
    line-height: 1.8;
}

#aulas button {
    margin-top: 12px;
    padding: 10px 15px;
    border: none;
    border-radius: 8px;
    background: var(--primary);       
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.lista-beneficios {
    list-style: none;
    padding: 0;
    margin-top: 20px;
    text-align: left;
    display: inline-block;
}

.lista-beneficios li {
    margin-bottom: 12px;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.lista-beneficios i {
    color: white;
    font-size: 1.1rem;
}

#aulas button:hover {
    transform: scale(1.05);
    background: linear-gradient(45deg, #3b80f7, #011284);
}

#aulas .btn-dece.activo {
    background: linear-gradient(45deg, #3b80f7, #011284);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/*Desarrollado por Anibal Goyes Posligua*/
.login-body{
    min-height:100vh;
    margin:0;

    display:flex;
    flex-direction: column;

    background: url('imgue/fondologin.jpg') no-repeat center center;
    background-size: cover;
}

.login-overlay{
    flex: 1;
    
    display: flex;
    width:100%;
    justify-content: center;
    align-items: center;

    position: relative;
}
.login-overlay::before{
    content:"";
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100dvh;

    background: rgba(0, 0, 0, 0.584);

    z-index:-1;
}

.login-box{
    position:relative;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding:30px;
    border-radius:15px;
    width:320px;
    text-align:center;
    box-shadow:0 0 25px rgba(0,0,0,0.4);
    z-index:1;
    border:1px solid rgba(255,255,255,0.2);
}
/*Desarrollado por Anibal Goyes Posligua*/
.login-header{
    display:flex;
    align-items:center;
    justify-content:center;
    gap:10px;
}

.logo-udlogin{
    width:40px;
    object-fit:contain;
    filter: drop-shadow(4px 4px 8px rgba(0, 0, 0, 0.69));
}
.logo-textlogin{
    font-weight:bold;
    font-size:1.1rem;
    color:white;
    text-shadow:0 0 10px rgba(0,0,0,0.6);

}

.titulo-login{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.logo-uddoc{
    width:40px;
    height:40px;
    object-fit:contain;
}

.login-box h3{
    margin-bottom:15px;
    color: rgba(255, 255, 255, 0.786);
}

@media (min-width: 769px){
    .login-box{
        margin: 80px 0;
        padding: 50px;
    }
}

.login-box input{
    width:100%;
    padding:10px;
    margin:10px 0;
    border-radius:8px;
    border:1px solid rgba(255,255,255,0.3);
    background: rgba(255,255,255,0.1);
    color:white;
    outline:none;
}

.login-box input::placeholder{
    color: rgba(255,255,255,0.7);
}

.login-box button{
    width:80%;
    padding:10px;
    border-top-left-radius: var(--primary);
    border-end-end-radius: var(--primary);
    background: var(--primary);
    color:white;
    border:none;
    cursor:pointer;
    transition:0.3s;
}

.login-box button:hover{
    background: linear-gradient(45deg,#3b80f7,#011284);
}
@media (max-width: 768px){
    .login-box{
        width: 90%;
        padding:50px;
        border-radius:12px;
    }
    .login-box h3{
        font-size:18px;
    }
    .login-box input{
        padding:15px;
        font-size:14px;
    }
    .login-box button{
        padding:10px;
        font-size:14px;
    }
}

:root {
    --color-texto-nota: #4a5568;
}

@media (prefers-color-scheme: dark) {
    :root {
        --color-texto-nota: #cbd5e0;
    }
}

.texto-proteccion {
    color: var(--color-texto-nota);
    font-size: 11px;
    margin: 5px 0 15px 55px;
    line-height: 1.4;
    text-align: left;
    max-width: 80%;
}

@media (max-width: 600px) {
    .texto-proteccion {
        /*Desarrollado por Anibal Goyes Posligua*/
        margin: 5px 20px 15px 45px; 
        max-width: 90%;
        text-align: left; 
        font-size: 10px;
    }
}

.frase-destacada {
    color: #aeadad !important;
    font-size: 0.95rem;
    font-weight: normal;
    margin-left: 5px;
}

.frase-destacada i {
    color: #909090;
    margin-left: 8px;
    font-size: 0.85rem;
}

.cookie-banner {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);

    background: rgba(30, 30, 30, 0.75);
    backdrop-filter: blur(8px);
    color: white;

    padding: 16px 20px;
    border-radius: 12px;

    display: flex;
    flex-direction: column;  
    gap: 12px;

    align-items: center;
    justify-content: center;

    text-align: center;

    max-width: 90%;
    width: fit-content;

    box-shadow: 0 10px 30px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.08);

    z-index: 9999;
}

.cookie-banner p {
    margin: 0;
    line-height: 1.4;
    font-size: 14px;
}

.cookie-banner button {
    background: var(--primary);
    border: none;

    height: 36px;
    padding: 0 16px;

    color: white;

    border-radius: 8px;
    cursor: pointer;

    width: 100%;
    max-width: 160px;

    display: flex;
    align-items: center;
    justify-content: center;

    flex-shrink: 0;
}

.cookie-banner button:hover {
    background: linear-gradient(45deg, #3b80f7, #011284);
    /*Desarrollado por Anibal Goyes Posligua*/
    transform: scale(1.05);
    transition: 0.2s ease;
}

@media (max-width: 600px) {
    .cookie-banner {
        flex-direction: column;
        
        align-items: center;
        text-align: center;

        padding: 16px 18px;
        gap: 12px;

        width: 90%;
        max-width: 320px;
    }

    .cookie-banner p {
        margin: 0;
        font-size: 14px;
        line-height: 1.4;
    }

    .cookie-banner button {
        width: 100%;
        height: 38px;

        padding: 0;

        display: flex;
        align-items: center;
        /*Desarrollado por Anibal Goyes Posligua*/
        justify-content: center;
    }
}

.estado {
    text-align: center;
    padding: 10px 15px;
    margin-bottom: 15px;
    border-radius: 10px;
    font-weight: bold;
}

.abierta {
    background: rgba(0, 255, 100, 0.15);
    color: #00c853;
}

.cerrada {
    background: rgba(255, 0, 0, 0.15);
    color: #ff1744;
}

form:has(input:disabled) {
    opacity: 0.6;
}
/*Desarrollado por Anibal Goyes Posligua*/
.autoridades{
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-top: 30px;
}

.rector-seccion{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease;
}

.rector-seccion.invertido{
    flex-direction: row-reverse;
}

.rector-img img{
    width: 230px;
    height: 230px;
    object-fit: cover;
    border-radius: 50%;
    box-shadow: 0 10px 25px rgba(0,0,0,0.25);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.rector-img img:hover{
    transform: scale(1.08);
    box-shadow: 0 10px 25px rgba(25, 71, 108, 0.686);
}

.rector-info{
    max-width: 500px;
}

.rector-info h3{
    color:var(--primary);
    margin-bottom: 5px;
}

.rector-info h4{
    margin-bottom: 10px;
    color: var(--text);
}

.rector-info p{
    line-height: 1.6;
    color: #9b9b9b;
}

.grid-autoridades{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.card-autoridad{
    box-shadow: 0 10px 25px rgba(28, 74, 111, 0.468);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0);
}

.card-autoridad:hover{
    transform: translateY(-8px);
    box-shadow: 0 10px 25px rgb(25, 71, 108);
}

.card-autoridad h3{
    color:var(--primary);
    margin-bottom: 8px;
}

.card-autoridad p{
    font-size: 14px;
    color: #9b9b9b;
}

@keyframes fadeInUp{
    from{
        opacity: 0;
        transform: translateY(30px);
    }
    to{
        opacity: 1;
        transform: translateY(0);
    }
}
/*Desarrollado por Anibal Goyes Posligua*/
.intro-institucion p,
.rector-info h3,
.rector-info h4,
.rector-info p,
.card-autoridad h3,
.card-autoridad h5,
.card-autoridad p{
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
}

.texto-visible{
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.rector-info h3{ transition-delay: 0.1s; }
.rector-info h5{ transition-delay: 0.2s; }
.rector-info p{  transition-delay: 0.3s; }

.card-autoridad h3{ transition-delay: 0.1s; }
.card-autoridad h5{ transition-delay: 0.2s; }
.card-autoridad p{  transition-delay: 0.3s; }

.intro-institucion p{  transition-delay: 0.3s; }

@media (pointer: fine) {
    button, .logo-img {
        cursor: pointer;
    }
    
    button:hover {
        filter: brightness(1.1);
        transform: translateY(-2px);
    }
}

@media (pointer: coarse) {
    * {
        -webkit-tap-highlight-color: transparent !important;
    }
    
    button, a, img, .cuadro, .menu-toggle {
        cursor: default !important;
    }
}

.intro-institucion {
    max-width: 900px;
    margin: 20px auto 40px;
    text-align: center;

    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.intro-institucion p {
    font-family: 'Georgia', serif;
    font-size: 18px;
    line-height: 1.7;
    color: #dadada;
    margin-bottom: 15px;
}

.imagen-institucion {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.imagen-institucion img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.texto-encima {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    padding: 30px 20px;

    text-align: center;
    color: #fff;

    background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.85) 30%, 
        rgba(0, 0, 0, 0.777) 55%,
        rgba(0, 0, 0, 0.739) 80%,
        rgba(0,0,0,0) 100%
    );
}
@media (max-width: 768px) {
    .imagen-institucion {
        height: 350px;
    }

    .texto-encima {
        padding: 8px;

        background: linear-gradient(
        to top,
        rgba(0,0,0,0.95) 0%,
        rgba(0,0,0,0.85) 10%, 
        rgba(0, 0, 0, 0.777) 35%,
        rgba(0, 0, 0, 0.739) 80%,
        rgba(0,0,0,0) 100%
    );
    }

    .texto-encima p {
        font-size: 12px;  
        line-height: 1.25;
        margin-bottom: 6px;
    }

}

.copyright-texto {
    color: light-dark(#b2b2b2, #ffffff) !important;
    font-size: 14px;
    text-align: center;
}
@media (max-width: 600px) {
    .seccion-copyright {
        margin-top: 80px !important;
        /*Desarrollado por Anibal Goyes Posligua*/
        padding: 30px 0 !important;
    }
}
