﻿body {
    font-family: 'Montserrat', sans-serif !important;
}
.letrae {
    color: #FFFFFF;
    text-align: justify;
    padding: 10px 60px;
}
.separador {
    display: flex;
    align-items: center;
    gap: 15px;
}

.separador hr {
    flex: 1;
    border: none;
    border-top: 1px solid #ccc;
    margin: 0;
}
.separador span {
    font-weight: bold;
    color: #04809c;
    text-align: center;
}
@media (max-width: 600px) {
    .separador {
        gap: 8px;
    }
    .separador span {
        max-width: 60%;
        white-space: normal;
        line-height: 1.3;
    }
}

/*carta pequeña*/
.crd {
    background: #eef8fc;
    padding: 25px 20px;
    border-radius: 12px;
    border-left: 5px solid #137491;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: all .3s ease;
    width: 90%;
    max-width: 1000px;
    margin:30px auto;
    box-sizing: border-box;
}
@media (max-width: 600px){
    .crd{
        padding: 15px;
        margin: 20px auto;
        border-left-width: 4px;
        }
    .crd h4{
        font-size: 1rem ;
    }
}
.crd2 {
    background: #eef8fc;
    padding: 20px;
    border-radius: 12px;
    margin-top: 20px;
    border-left: 5px solid #137491;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s;
    transform: translateX(-30px);
}
.crd:hover {
    transform: translateY(-8px);
}
.crd2:hover {
    transform: translateY(-4px);
}
/*carta pequeña animacion de imagen*/
.crd-i {
    box-shadow: 0 5px 20px rgba(0, 0, 0, .08);
    transition: .3s;
    border-radius: 12px;
}
.crd-i:hover {
    transform: translateY(-8px);
    border-left: 5px solid #137491;
}
.linea {
    width: 90px;
    height: 5px;
    background: #f87902;
    border-radius: 10px;
    margin-bottom: 30px;
}

/* ==============================
   ==== MODELO EDUCATIVO ===== 
   ==============================*/

.cuadro-title{
    width: 300px;
    height: 6rem;
    background: #12839b;
    color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);

    padding: 10px;
    margin: 20px auto;
    border-radius: 40px;
}
.cuadro-body{
    width: 300px;
    height: 11rem;
    background: #12839b;
    color: #FFFFFF;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,.15);

    padding: 10px;
    margin: 20px auto;
    border-radius: 25px;
}
.cuadro-circular{
    width: 300px;
    height: 16rem;
    background: #f1efef;
    border: 1px solid #ddd;
    border-radius: 10px;
    box-shadow: 0 20px 20px rgba(0,0,0,.15);
    font-size: 190px;
    color:#12839b;
    padding: 1px 30px;
    margin: 10px auto;
    border-radius: 100%;
}
.cardos {
    text-decoration: none;
    flex-direction: column;
}
.card-text{
    font-size: 16px;
    text-align: center;
}
.card-text-titulo{
    font-size: 25px;
    text-align: center;
}
/* ==============================
   ==== MENSAJE DEL RECTOR ===== 
   ==============================*/

.mensajes{
    font-size: 19px;
    text-align: justify;
    font-family: 'Montserrat', sans-serif !important;
}

/* ==============================
   ========== HISTORIA ========== 
   ==============================*/
.imgUPJR{
	max-width:700px;
	max-height:800px;
	width:100%;
	height:100%;
}
/* ==============================
   ========== SERVICIOS EDUCATIVOS/BLIBLIOTECA ========== 
   ==============================*/

 .tabla-servicios {
        width: 90%;
        max-width: 900px;
        margin: 30px auto;
        border-collapse: separate;
        border-spacing: 0;
        overflow: hidden;
        border-radius: 15px;
        background: white;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
    }

    .tabla-servicios th {
        background: #003b5c;
        color: white;
        padding: 16px;
        font-size: 18px;
        text-align: center;
    }

    .tabla-servicios td {
        padding: 18px;
        text-align: center;
        border-bottom: 1px solid #e5e5e5;
        font-size: 16px;
    }

    .tabla-servicios tr:last-child td {
        border-bottom: none;
    }

    .tabla-servicios tbody tr {
        transition: all 0.25s ease;
    }

    .tabla-servicios tbody tr:hover {
        background: #f4f8fb;
        transform: scale(1.01);
    }

    .tabla-servicios img {
        display: block;
        width: 470px;
        max-width: 100%;
        height: 150px;
        object-fit: contain;
        margin: auto;
        cursor: pointer;
        border-radius: 10px;
        transition: transform 0.25s ease, box-shadow 0.25s ease;
    }

    .tabla-servicios img:hover {
        transform: scale(1.03);
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.18);
    }

    @media (max-width: 700px) {
        .tabla-servicios {
            width: 95%;
        }

        .tabla-servicios th,
        .tabla-servicios td {
            padding: 10px;
        }

        .tabla-servicios img {
            width: 100%;
            height: auto;
        }
    }

    .lin{text-decoration: none;}