/* Global Styles */
html,
body {
    font-size: 16px;
    color: var(--bs-primary);
    vertical-align: baseline;
    line-height: 26px;
    font-weight: 400;
    overflow-x: hidden;
    text-align: justify;
    font-family: Arial, Helvetica, sans-serif;
}

/* Spinner Styles */
#spinner {
    opacity: 0;
    visibility: hidden;
    transition: opacity .5s ease-out, visibility 0s linear .5s;
    z-index: 99999;
}

#spinner.show {
    transition: opacity .5s ease-out, visibility 0s linear 0s;
    visibility: visible;
    opacity: 1;
}

#spinner img {
    width: 100%;
    height: 100%;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50%,
    100% {
        opacity: 1;
    }

    25%,
    75% {
        opacity: 0;
    }
}

@keyframes rotate {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

/* Button Styles */
.btn {
    font-weight: 600;
    transition: .5s;
}

.btn-square,
.btn-sm-square,
.btn-md-square,
.btn-lg-square {
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: normal;
    border-radius: 50%;
}

.btn-square {
    width: 32px;
    height: 32px;
}

.btn-sm-square {
    width: 34px;
    height: 34px;
}

.btn-md-square {
    width: 44px;
    height: 44px;
}

.btn-lg-square {
    width: 56px;
    height: 56px;
}

.btn.btn-primary {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
    font-size: 15px;
    font-weight: bold;
}

.btn.btn-primary:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-anuncio {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
    background: #13357b;
    color: #fff;
    font-size: 15px;
    font-weight: bold;
}

.btn.btn-anuncio:hover {
    box-shadow: inset 470px 0 0 0 var(--bs-light) !important;
    color: var(--bs-primary) !important;
}

.btn.btn-light {
    box-shadow: inset 0 0 0 0 var(--bs-primary);
}

.btn.btn-light:hover {
    box-shadow: inset 300px 0 0 0 var(--bs-primary);
    color: var(--bs-light) !important;
}

.btn-hover {
    color: #000;
    transition: 0.5s;
}

.btn-hover:hover {
    color: var(--bs-secondary) !important;
}

/* Section Title Styles */
.section-title {
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    color: var(--bs-primary);
}

.section-title::before,
.section-title::after {
    content: "";
    width: 50px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    border: 1px solid var(--bs-primary) !important;
}

.section-title::before {
    right: 0;
    margin-right: -50px;
}

.section-title::after {
    left: 0;
    margin-left: -50px;
}

/* Topbar Styles */
.topbar {
    background-color: var(--bs-primary) !important;
    padding: 2px 10px 2px 20px;
    transition: 0.5s;
}

.topbar a,
.topbar a i {
    transition: 0.5s;
}

.topbar a:hover,
.topbar a i:hover {
    color: var(--bs-secondary) !important;
}

.facebook-icon,
.youtube-icon {
    background-color: var(--bs-primary);
}

.facebook-icon i,
.youtube-icon i {
    color: #fff;
}

.facebook-icon:hover,
.youtube-icon:hover {
    background-color: white;
    border-color: #fff;
}

.facebook-icon:hover i {
    color: #1100ff;
}

.youtube-icon:hover i {
    color: #ff0000;
}

@media (max-width: 1200px) {
    .topbar {
        padding: 2px 5px;
    }
}

@media (max-width: 992px) {
    .topbar {
        padding: 2px 10px;
    }
}

@media (max-width: 768px) {
    .topbar {
        display: none;
    }
}

/* Responsive Typography */
@media (max-width: 1200px) {

    html,
    body {
        font-size: 16px;
    }
}

@media (max-width: 768px) {

    html,
    body {
        font-size: 14px;
    }
}

@media (max-width: 480px) {

    html,
    body {
        font-size: 12px;
    }
}

/***** Navbar Styles ******/
/***** Navbar Styles ******/
.navbar-light .navbar-nav .nav-link {
    font-family: 'Roboto', sans-serif;
    position: relative;
    padding: 15px 15px;
    color: var(--bs-white) !important;
    font-size: 15px;
    font-weight: bold;
    outline: none;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-nav .nav-link {
    padding: 10px 15px;
    color: var(--bs-primary) !important;
    font-weight: bold;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link.active {
    color: var(--bs-white) !important;
}

.navbar-light .navbar-brand h1 {
    color: var(--bs-white);
    font-size: 15px;
    font-weight: bold;
}

.sticky-top.navbar-light .navbar-brand h1 {
    color: var(--bs-primary);
    font-weight: bold;
}

.navbar-light .navbar-brand img {
    max-height: 40px;
    transition: .5s;
}

.sticky-top.navbar-light .navbar-brand img {
    max-height: 37px;
}

.navbar .dropdown-toggle::after {
    border: none;
    content: "\f107";
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    vertical-align: middle;
    margin-left: 8px;
}

@media (min-width: 1200px) {
    .navbar .nav-item .dropdown-menu {
        display: block;
        visibility: hidden;
        top: 100%;
        transform: rotateX(-75deg);
        transform-origin: 0% 0%;
        border: 0;
        border-radius: 10px;
        transition: .5s;
        opacity: 0;
    }

    .navbar .nav-item:hover .dropdown-menu {
        transform: rotateX(0deg);
        visibility: visible;
        background: var(--bs-light);
        transition: .5s;
        opacity: 1;
    }
}

.dropdown .dropdown-menu a:hover {
    background: var(--bs-primary);
    color: var(--bs-white);
}

@media (max-width: 991.98px) {
    .sticky-top.navbar-light {
        position: relative;
        background: var(--bs-white);
    }

    .navbar-light .navbar-brand h1 {
        color: var(--bs-primary);
    }

    .navbar.navbar-expand-lg .navbar-toggler {
        padding: 10px 20px;
        border: 1px solid var(--bs-primary);
        color: var(--bs-primary);
    }

    .navbar-light .navbar-collapse {
        margin-top: 15px;
        border-top: 1px solid #DDDDDD;
    }

    .navbar-light .navbar-nav .nav-link,
    .sticky-top.navbar-light .navbar-nav .nav-link {
        padding: 10px 0;
        color: var(--bs-dark) !important;
    }

    .navbar-light .navbar-nav .nav-link:hover,
    .navbar-light .navbar-nav .nav-link.active {
        color: var(--bs-primary) !important;
    }

    .navbar-light .navbar-brand img {
        max-height: 45px;
    }
}

@media (min-width: 992px) {
    .navbar-light {
        position: absolute;
        width: 100%;
        top: 0;
        left: 0;
        border-bottom: 1px solid rgba(255, 255, 255, .1);
        z-index: 999;
    }

    .sticky-top.navbar-light {
        position: fixed;
        background: var(--bs-light);
    }

    .navbar-light .navbar-nav .nav-link::before {
        position: absolute;
        content: "";
        width: 100%;
        height: 0;
        bottom: -1px;
        left: 0;
        background: var(--bs-primary);
        transition: .5s;
        z-index: -1;
    }

    .navbar-light .navbar-nav .nav-link:hover::before,
    .navbar-light .navbar-nav .nav-link.active::before {
        height: calc(100% + 1px);
        left: 1px;
    }

    .navbar-light .navbar-nav .nav-link.nav-contact::before {
        display: none;
    }
}

/* Media Queries Adaptadas */

@media (max-width: 300px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 11px;
        padding: 10px 10px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 12px;
    }

    .navbar-light .navbar-brand img {
        max-height: 35px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 0.8rem;
    }
}

@media (min-width: 301px) and (max-width: 576px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 13px;
        padding: 12px 12px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 12px;
    }

    .navbar-light .navbar-brand img {
        max-height: 37px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 0.9rem;
    }
}

@media (min-width: 577px) and (max-width: 768px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 14px;
        padding: 13px 13px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 14px;
    }

    .navbar-light .navbar-brand img {
        max-height: 39px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 1rem;
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    .navbar-light .navbar-nav .nav-link {
        font-size: 15px;
        padding: 14px 14px;
    }

    .navbar-light .navbar-brand h1 {
        font-size: 15px;
    }

    .navbar-light .navbar-brand img {
        max-height: 40px;
    }

    .navbar .dropdown-toggle::after {
        font-size: 1.1rem;
    }
}


/***** Navbar Styles End ******/

/***** Carousel Styles *****/
.carousel {
    position: relative;
    width: 100%;
    height: calc(100vh - 35px);
    min-height: 400px;
    margin-bottom: 45px;
}

.carousel .container-fluid {
    padding: 0;
}

.carousel .carousel-item {
    position: relative;
    width: 100%;
    height: calc(100vh - 35px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.carousel .carousel-img {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: right;
    overflow: hidden;
}

.carousel .carousel-img::after {
    position: absolute;
    content: "";
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(19, 53, 123, .7);
    z-index: 1;
}

.carousel .carousel-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel .carousel-text {
    position: absolute;
    max-width: 750px;
    height: calc(100vh - 35px);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 2;
    padding: 0 15px;
    box-sizing: border-box;
}

.carousel .carousel-text h1 {
    text-align: center;
    color: #ffffff;
    font-size: 50px;
    font-weight: 200;
    margin-bottom: 20px;
}

.carousel .carousel-text p {
    color: #ffffff;
    text-align: center;
    font-size: 20px;
    margin-bottom: 25px;
}

.carousel .carousel-text .btn {
    padding: 15px 30px;
    font-size: 16px;
    letter-spacing: 1px;
    color: #ffffff;
    background: none;
    border: 2px solid #ffffff;
    border-radius: 0;
    transition: .3s;
}

.carousel .carousel-text .btn i {
    margin-right: 5px;
}

.carousel .carousel-text .btn:hover {
    color: var(--bs-primary);
    background: #ffffff;
}

.carousel .carousel-btn .btn:first-child {
    margin-right: 15px;
}

.carousel .owl-carousel .owl-nav {
    position: absolute;
    width: 122px;
    right: 2px;
    bottom: 2px;
    display: flex;
    z-index: 9;
}

.carousel .owl-carousel .owl-nav .owl-prev,
.carousel .owl-carousel .owl-nav .owl-next {
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: var(--bs-primary);
    font-size: 22px;
    transition: .3s;
}

.carousel .owl-carousel .owl-nav .owl-prev:hover,
.carousel .owl-carousel .owl-nav .owl-next:hover {
    color: var(--bs-primary);
    background: var(--bs-light);
}

.carousel .owl-carousel .owl-nav .owl-prev {
    margin-right: 2px;
}

.carousel .animated {
    -webkit-animation-duration: 1s;
    animation-duration: 1s;
}

@media (max-width: 991.98px) {

    .carousel,
    .carousel .carousel-item,
    .carousel .carousel-text {
        height: calc(100vh - 105px);
    }

    .carousel .carousel-text h1 {
        font-size: 35px;
    }

    .carousel .carousel-text p {
        font-size: 16px;
    }

    .carousel .carousel-text .btn {
        padding: 12px 30px;
        font-size: 15px;
        letter-spacing: 0;
    }
}

@media (max-width: 767.98px) {

    .carousel,
    .carousel .carousel-item,
    .carousel .carousel-text {
        height: calc(100vh - 70px);
    }

    .carousel .carousel-text h1 {
        font-size: 30px;
    }

    .carousel .carousel-text p {
        font-size: 16px;
    }

    .carousel .carousel-text .btn {
        padding: 10px 25px;
        font-size: 15px;
    }
}

@media (max-width: 575.98px) {

    .carousel,
    .carousel .carousel-item,
    .carousel .carousel-text {
        height: calc(100vh - 70px);
    }

    .carousel .carousel-text h1 {
        font-size: 25px;
    }

    .carousel .carousel-text p {
        font-size: 14px;
    }

    .carousel .carousel-text .btn {
        padding: 8px 20px;
        font-size: 14px;
    }
}

/**** Carousel Styles End ****/

/*** Single Page Hero Header End ***/
.bg-breadcrumb {
    background: linear-gradient(rgba(19, 53, 123, 0.5), rgba(19, 53, 123, 0.5)), url(../img/Logo&Fondo/fondo-bg.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    padding: 150px 0 50px 0;
}

.bg-breadcrumb .breadcrumb-item a {
    color: var(--bs-white) !important;
}

/*** Single Page Hero Header End ***/

/********************************************************************************************************/
/*** About Start ***/
.about {
    padding: 60px 0;
    background-size: auto;
    margin-top: -150px;
    margin-bottom: -220px;
    background-color: #fff;
}

.bg-logo {
    background: linear-gradient(rgba(255, 255, 255, 0.800), rgba(255, 255, 255, 0.800)), url('../img/Logo&Fondo/logo.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    text-align: justify;

}

.about .bg-logo .btn.btn-primary {
    margin-left: 300px;
    margin-bottom: 40px;
}

@media (max-width: 990px) {
    .about .bg-logo .btn.btn-primary {
        margin-left: 100px;
        margin-bottom: 40px;
    }

    .custom-img-style {
        margin-left: 50px;
        margin-bottom: -60px;
    }
}



@media (min-width: 300px) and (max-width: 399px) {
    .about .bg-logo .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 13px;
    }

    .about .bg-logo h1 {
        font-size: 28px;
    }
}

@media (min-width: 400px) and (max-width: 599px) {
    .about .bg-logo .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 18px;
    }


    .about .bg-logo h1 {
        font-size: 35px;
    }

    .about .bg-logo .btn.btn-primary {
        margin-left: 100px;
        margin-bottom: 40px;
    }
}

@media (min-width: 600px) and (max-width: 767px) {
    .about .bg-logo .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 20px;
    }

    .about .bg-logo h1 {
        font-size: 45px;
    }
}

.section-about-title {
    font-size: 1.25rem;
    color: var(--bs-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.tab-pane p,
p {
    color: var(--bs-primary);
    font-size: 15px;
    font-weight: bold;
}

.nav-pills .nav-link {
    color: var(--bs-primary);
    font-size: 15px;
    font-weight: bold;
}

.nav-pills .nav-link.active {
    background-color: var(--bs-primary);
    font-size: 16px;
    color: #fff;
}

.about .bg-logo .btn.btn-primary {
    margin-left: 100px;
    margin-bottom: 40px;
}

/*** About End ***/

/*** Estructura-Organizativa ***/
.Organigrama-item {
    position: relative;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(19, 53, 123);
    transition: background 0.5s, transform 0.5s, box-shadow 0.5s;
    padding: 20px;
}

.Organigrama-item:hover {
    background: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgb(19, 53, 123);
}

.Organigrama-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background 0.5s, color 0.5s;
}

.Organigrama-item:hover .Organigrama-icon {
    background: #FFFFFF;
    color: var(--primary);
}

@media (max-width: 992px) {
    .Organigrama-item {
        padding: 15px;
    }

    .Organigrama-icon {
        width: 75px;
        height: 75px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .Organigrama-item {
        padding: 10px;
    }

    .Organigrama-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
}

/*** Estructura-Organizativa End ***/

/********************************************************************************************************/

/*** Carreras ***/
.carrera-item {
    position: relative;
    padding: 45px 30px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgb(19, 53, 123);
    transition: background 0.5s, transform 0.5s, box-shadow 0.5s;
}

.carrera-item:hover {
    background: var(--primary);
    transform: translateY(-10px);
    box-shadow: 0 8px 16px rgb(19, 53, 123);
}

.carrera-icon {
    margin: 0 auto 20px auto;
    width: 90px;
    height: 90px;
    color: var(--primary);
    background: var(--light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    transition: background 0.5s, color 0.5s;
}

.carrera-item:hover .carrera-icon {
    background: #FFFFFF;
    color: var(--primary);
}

.carrera-item h5 {
    color: var(--bs-primary);
    transition: color 0.5s;
    text-align: center;
    font-size: 22px;
}

.carrera-item p {
    color: var(--bs-primary);
    transition: color 0.5s;
    text-align: center;
    font-size: 16px;
    font-weight: bold;
}

.carrera-item:hover h5,
.carrera-item:hover p {
    color: var(--bs-primary);
}

.carrera-item a.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carrera-logo {
    background: #fff;
    margin-bottom: -110px;
}

.carrera-logo p {
    text-align: justify;
}

.carrera-logo h1 {
    text-align: left;
}

.carrera-logo .grid-container {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.col {
    padding: 20px;
    text-align: center;
}

.icono img {
    max-width: 100px;
    margin-bottom: 20px;
}

.counter {
    font-size: 48px;
    color: var(--bs-primary);
}

.fact {
    font-size: 16px;
    color: var(--bs-primary);
    font-weight: bold;
}




@media (min-width: 300px) and (max-width: 399px) {
    .carrera-logo .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 13px;
    }

    .container .py-5 .carrera-logo h1 {
        font-size: 28px;
    }
}

@media (min-width: 400px) and (max-width: 599px) {
    .carrera-logo .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 18px;
    }


    .carrera-logo h1 {
        font-size: 35px;
    }

    .carrera-item {
        padding: 15px;
    }

    .carrera-icon {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }

    .carrera-item h5 {
        font-size: 14px;
    }

    .carrera-item p {
        font-size: 12px;
    }

}

@media (min-width: 600px) and (max-width: 767px) {
    .carrera-logo .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 20px;
    }

    .carrera-logo h1 {
        font-size: 45px;
    }
}

@media (max-width: 768px) {
    .carrera-item {
        padding: 20px 15px;
    }

    .carrera-icon {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }

    .carrera-item h5 {
        font-size: 16px;
    }

    .carrera-item p {
        font-size: 13px;
    }

    .carrera-logo .grid-container {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 992px) {
    .carrera-item {
        padding: 30px 20px;
    }

    .carrera-icon {
        width: 75px;
        height: 75px;
        font-size: 1.5rem;
    }

    .carrera-item h5 {
        font-size: 18px;
    }

    .carrera-item p {
        font-size: 14px;
    }
}

/*** Carreras End ***/

/*** Recursos Virtuales ***/
.virtual-resources,
#recursos-virtuales {
    font-family: 'Arial', sans-serif;
    text-align: center;
    padding: 20px;
    max-width: 100%;
    margin-top: -60px;
}

.virtual-resources h1,
#recursos-virtuales h1 {
    color: #333;
    font-size: 2.5em;
    margin-bottom: 10px;
}

.virtual-resources p,
#recursos-virtuales p {
    color: #777;
    font-size: 1.2em;
}

.cards-container,
.recurso-logo {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.card,
.recurso {
    flex: 1;
    min-width: 190px;
    margin: 10px;
    padding: 20px;
    background: linear-gradient(rgba(19, 53, 123, .8), rgba(19, 53, 123, .8)), url(../img/Logo&Fondo/fondo.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    background-attachment: fixed;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    max-width: 240px;
    flex-basis: calc(25% - 20px);
}

.card a,
.recurso a {
    color: inherit;
    text-decoration: none;
    display: block;
    height: 100%;
    width: 100%;
}

.card i,
.recurso i {
    font-size: 40px;
    margin-bottom: 10px;
    color: var(--bs-white);
}

.card h2,
.recurso h2 {
    margin: 0 0 10px;
    font-size: 24px;
    color: var(--bs-white);
}

.card p,
.recurso p {
    margin: 0;
    font-size: 16px;
    color: var(--bs-white);
    text-align: center;
}

.card:hover,
.recurso:hover {
    transform: translateY(-10px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.2);
}

.card:hover i,
.recurso:hover i {
    font-size: 60px;
}

.card:hover h2,
.recurso:hover h2 {
    color: var(--bs-white);
}

@media (min-width: 300px) and (max-width: 399px) {
    .virtual-resources .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 13px;
    }

    .virtual-resources h2 {
        font-size: 28px;
    }

    .virtual-resources .card h2 {
        font-size: 18px;
    }

    .virtual-resources .card p {
        font-size: 14px;
        text-align: center;
    }

    .card,
    .recurso {
        flex-basis: calc(100% - 20px);
        padding: 8px;
        margin: 8px;
    }

    .card i,
    .recurso i {
        font-size: 1.3em;
    }

    .card h2,
    .recurso h2 {
        font-size: 1.1em;
    }

    .card p,
    .recurso p {
        font-size: 0.8em;
    }
}

@media (min-width: 400px) and (max-width: 599px) {
    .virtual-resources .btn.btn-sm.border.rounded-pill.text-primary.px-3.mb-3 {
        font-size: 18px;
    }

    .virtual-resources h2 {
        font-size: 35px;
    }

    .virtual-resources .card h2 {
        font-size: 25px;
    }

    .virtual-resources .card p {
        font-size: 17px;
        text-align: center;
    }

    .card,
    .recurso {
        flex-basis: calc(100% - 20px);
        padding: 10px;
        margin: 10px;
    }

    .card i,
    .recurso i {
        font-size: 1.5em;
    }

    .card h2,
    .recurso h2 {
        font-size: 1.2em;
    }

    .card p,
    .recurso p {
        font-size: 0.9em;
    }
}

@media (min-width: 600px) and (max-width: 767px) {

    .card,
    .recurso {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 768px) {

    .card,
    .recurso {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 992px) {
    .recurso {
        flex-basis: calc(50% - 20px);
    }
}

@media (max-width: 1200px) {

    .card,
    .recurso {
        flex-basis: calc(33.333% - 20px);
    }
}

/*** Recursos Virtuales End ***/


/*** informacion ***/
.container-info {
    text-align: center;
    background-color: #fff;
    padding: 20px;
    box-shadow: 0 4px 8px rgba(19, 53, 123, 0.2);
    max-width: 48%;
    margin: auto;
    box-sizing: border-box;
}


h2 {
    color: #13357b;
    font-size: 2rem;
    font-weight: bold;
}

h3 {
    color: #13357b;
    font-size: 1.5rem;
    margin: 10px 0;
    font-weight: bold;
}


/*** Tipo de letra y estilos generales ***/
.typewrite {
    font-family: 'Jost', sans-serif;
    font-size: 1.2rem;
    color: #13357b;
    text-align: center;
}

/*** Animación de escribir ***/
.typewrite span {
    border-right: 2px solid #13357b;
    /* Cursor */
    display: inline-block;
    white-space: nowrap;
    overflow: hidden;
    animation: typing 4s steps(40, end), blink-caret 0.75s step-end infinite;
    font-weight: bold;
}

/*** Animación de escribir ***/
@keyframes typing {
    from {
        width: 0;
    }

    to {
        width: 100%;
    }
}

/*** Efecto de parpadeo del cursor ***/
@keyframes blink-caret {

    from,
    to {
        border-color: transparent;
    }

    50% {
        border-color: #13357b;
    }
}

/*** Ajustes para pantallas pequeñas y medianas ***/
@media (max-width: 990px) {
    .container-info {
        max-width: auto;
    }

    .typewrite {
        font-size: 1rem;
        /* Tamaño ajustado para pantallas más pequeñas */
    }
}

@media (min-width: 200px) and (max-width: 329px) {
    .container-info {
        max-width: 85%;
    }
}

/*** Ajustes para pantallas muy pequeñas ***/
@media (min-width: 330px) and (max-width: 587px) {
    .container-info {
        max-width: 70%;
    }

    .typewrite {
        font-size: 0.9rem;
        /* Tamaño ajustado para pantallas muy pequeñas */
    }
}

/*** informacion end ***/

/*** Boton Back to Top ***/
.back-to-top {
    position: fixed;
    right: 30px;
    bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: #13357b;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: opacity 0.3s, transform 0.3s;
    z-index: 99;
    cursor: pointer;
    opacity: 0;
}

.back-to-top.show {
    opacity: 1;
    transform: translateY(0);
}

.back-to-top:hover {
    background-color: #fff;
    color: #13357b;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    transform: scale(1.1);
}

.back-to-top i {
    font-size: 18px;
    transition: color 0.3s;
}

.back-to-top:hover i {
    color: #13357b;
}

/*** Boton Back to Top End ***/

/***Informacion map***/
.sec-title h2 {
    font-size: 2rem;
    color: var(--bs-primary);
    margin-bottom: 15px;
}

.sec-title p {
    font-size: 1rem;
    color: var(--bs-primary);
    font-size: 17px;
}

.sec-title ul {
    list-style: none;
    padding: 0;
}

.sec-title ul li {
    margin-top: 10px;
}

.sec-title ul li a {
    text-decoration: none;
    color: var(--bs-primary);
    font-weight: bold;
    transition: color 0.3s;
}

.sec-title ul li a:hover {
    color: var(--bs-primary);
}

.title {
    font-size: 1.5rem;
    margin-top: 20px;
    color: var(--bs-primary);
}

.mobile-mb-50 {
    margin-bottom: 50px;
}

.mobile-mb-50 i {
    color: var(--bs-primary);
    margin-right: 10px;
}

iframe {
    width: 100%;
    height: 450px;
    border: 0;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.rs-vertical-middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.sec-spacer {
    padding: 60px 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
    margin: 0 -15px;
}

.col-lg-4,
.col-lg-8 {
    padding: 0 15px;
}

@media (max-width: 768px) {

    .col-lg-4,
    .col-lg-8 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/***Informacion map End***/


/*** Img Icon ***/
.img-icon {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    background-color: #fff;
}

.img-icon img {
    max-width: 50%;
    height: auto;
}

/*** Img Icon End ***/


/*** Footer Start ***/
.footer {
    background: linear-gradient(rgba(19, 53, 123, .8), rgba(19, 53, 123, .8)), url(../img/Logo&Fondo/fondo.jpg);
    background-attachment: scroll;
    background-clip: initial;
    background-color: rgba(0, 0, 0, 0);
    background-origin: initial;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
    max-height: 100%;
}

.footer .footer-item a {
    line-height: 30px;
    color: var(--bs-white);
    transition: 0.5s;
    font-size: 14px;
}

.footer .footer-item a:hover {
    letter-spacing: 1px;
    color: var(--bs-white);
}

/*** Footer End ***/