:root {
    --primary-blue: #001f3f; /* Azul oscuro del Liceo */
    --accent-blue: #004a99;
}

body {
    font-family: 'Roboto';
    margin: 0;
}

/* Barra superior */
.top-bar {
    display: block;
    background-color: var(--primary-blue);
    height: 48px;
}
.social-icons{
    font-size: 1.5rem;
    margin-left: 16px;
}
.contact-btn{
    
    margin-right:  16px;
}

/* Contenedor del Logo con efecto de solapa */
.logo-container {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    top: -63px; /* Sube para tocar la barra azul */
    z-index: 1050;
    background: white;
    padding: 10px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%); /* Forma de escudo abajo */
}

.main-logo {
    width: 200px;
    height: auto;
    margin: 10px 40px 20px 40px;
}


/* Transición suave para cambios de color o altura */
.transition-nav {
    transition: all 0.4s ease-in-out;
    top: 0;
    width: 100%;
}

.ratio>* { /* ratio del video */
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Clase que aplicaremos con JS cuando el usuario haga scroll */
.nav-scrolled {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
    background-color: rgba(255, 255, 255, 1) !important; /* Un toque de transparencia */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15) !important;
}

/* Ajuste del logo al scrollear para que no ocupe tanto espacio */
.nav-scrolled .main-logo {
    width: 160px;
    transition: width 0.3s ease;
    margin-top: -13px;
    margin: -7px 40px 0px 40px;
}

.nav-scrolled .logo-container {
    top: -26px; 
    background-color: rgba(255, 255, 255, 0) !important; 
}

/* Ajustes de navegación */
.navbar {
    min-height: 58px;
}
.navbar-scrolled {
    min-height: 100px;
}

.nav-link {
    font-weight: normal;
    font-size: 1rem;
    font-family: Roboto;
    color: #4c4c4c !important;
    padding: 0.5rem 1rem !important;
    
}
.nav-link:hover {
   background-color: #001f3f !important;
    color: #fefefe !important;    
    transition: color 0.3s ease; /* Smooth transition */
}
.nav-link.-plan:hover {
   background-color: #001f3f42 !important;
    color: #fefefe !important;    
    transition: color 0.3s ease; /* Smooth transition */
}

 .navbar .nav-link.active {
    font-weight: normal;
    font-size: 1rem;
    font-weight: 600;
    font-family: Roboto;
    color: #c0c1c2 !important;
    padding: 0.5rem 1rem !important;
}


.nav-link:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(235, 236, 238, 0);
    color: #626262 !important;
}

.-oferta {
    font-weight: normal;
    font-size: 1rem;
    font-family: Roboto;
    color: #4c4c4c !important;
    padding: 0.5rem 1rem !important;
}
 .navbar .-oferta.active {
    font-weight: normal;
    font-size: 1rem;
    font-weight: 600;
    font-family: Roboto;
    color: #07223e !important;
    padding: 0.5rem 1rem !important;
}
.-oferta:focus-visible {
    outline: 0;
    box-shadow: 0 0 0 .25rem rgb(7 33 60 / 25%);
}

/* Hero Section */
.hero-section {
    height: 75vh;
  background-size: cover;
  background-position: center;
  position: relative;
  padding-top: 18px;
  padding-bottom: -20px;
  max-width: 100%;
  height: auto;
}
.hero-section-oferta {
    height: 55vh;
    background-size: cover;
    background-position: center;
    position: relative;
    max-width: 100%;
}


@font-face {
  font-family: 'FontAwesome';
  src: url('...') format('woff2');
  font-display: swap; /* Esto evita que el texto se oculte al cargar */
}

/* Responsividad para el logo */
@media (max-width: 991px) {
    .logo-container {
        position: relative;
        left: 0;
        transform: none;
        top: 0;
        clip-path: none;
        box-shadow: none;
    }
    .logo-container {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -78px;
  z-index: 1050;
  background: white;
  padding: 10px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
.nav-scrolled .main-logo {
    width: 122px;
    transition: width 0.3s ease;
    margin-top: -13px;
    margin: 23px 20px 0px 20px;
    z-index: 1050;
    background: white;
    padding: 17px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    clip-path: polygon(0 0, 100% 0, 100% 85%, 50% 100%, 0 85%);
}
.nav-scrolled .logo-container {
    top: -47px;
 
}
.navbar-scrolled {
  min-height: 49px;
}
.top-bar {
  display: none !important;
}
    
    .nav-left, .nav-right {
        text-align: left;
    }
    .main-logo {
  width: 122px;
  height: auto;
  margin: 56px 20px 10px 20px;
}
.bg-white-scrol {
    --bs-bg-opacity: 1;
    background-color: rgb(6, 30, 56) !important;
  }
  .nav-link {
  font-weight: normal;
  font-size: 1rem;
  font-family: Roboto;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
}
.navbar .nav-link.active {
  color: #00bcd4 !important;
}
  .-oferta {
  font-weight: normal;
  font-size: 1rem;
  font-family: Roboto;
  color: #1b1b1b !important;
  padding: 0.5rem 1rem !important;
}
.navbar .-oferta.active {
  color: #00bcd4 !important;
}
.custom-dropdown {
  background-color: #00bcd4;
  border: none;
  padding: 1rem 0;
  min-width: 280px;
}
}
.navbar-toggler-icon {
  display: inline-block;
  width: 1.5em;
  height: 1.5em;
  vertical-align: middle;
  background-image: url('../img/elementos/menu-habur.svg') ; 
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100%;
  transition: all 0.3s ease-in-out;
}
.navbar-collapse {
  flex-basis: 100%;
  flex-grow: 1;
  align-items: center;
  /* padding-top: 50px; */
}


.navbar-toggler  {
  font-size: var(--bs-navbar-toggler-font-size);
  line-height: 1;
  color: transparent
}
.btn-what{
    background-image: url('../img/elementos/whatsapp-icon.svg');
   background-repeat: no-repeat;
    font-size: 1.5rem;
    color: #fff;
}
/* Colores Corporativos */
.bg-dark-blue {
    background-color: #05192d; /* Azul profundo del Liceo */
    background-image: linear-gradient(rgba(5, 25, 45, 0.9), rgba(5, 25, 45, 0.1)), url('../img/elementos/Fondo\ Footer\ Liceo\ Universitario.svg');
    background-size: cover; 
}

.text-navy-bg {
    background-color: #0d2c4d;
    color: white;
    display: inline-block;
    padding: 2px 10px;
    text-align: center;
}

.text-cyan-bg {
    background-color: #00bcd4;
    color: white;
    display: inline-block;
    padding: 2px 10px;
}

.navy-text { color: #0d2c4d; }
.cyan-text { color: #00bcd4; font-size: 3rem; vertical-align: middle; }

/* Imágenes de contenido */
.content-img {
    background-size: cover;
    background-position: center;
    height: 100%;
}

/* Listas personalizadas */
.custom-list li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 5px;
}

.custom-list li::before {
    content: "•";
    color: #000;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Botón personalizado azul */
.btn-outline-navy {
    border: 2px solid #0d2c4d;
    color: #0d2c4d;
    font-weight: 600;
}

.btn-outline-navy:hover {
    background-color: #0d2c4d;
    color: white;
}
.btn-outline-light { 
    border: 2px solid #fff;
  color: #fafafa;
    font-weight: 600;
}

.btn-outline-light:hover {
    background-color: #0d2c4d;
    color: white;
}

/* Tipografía de la frase */
.quote-text {
    max-width: 1200px;
    margin: 0 auto;
    line-height: 1.4;
    font-size: 4.5rem;
    text-align: center;
}
.my-fa-quote-left img {
   max-width: 130px;
   margin-right: 1rem;
}
.my-fa-quote-right img {
   max-width: 130px;
   margin-left: 1rem;
}
/* Footer Background con textura azulada similar a la imagen */
.footer-bg {
    background-color: #05192d;
    background-image: linear-gradient(rgba(5, 25, 45, 0.9), rgba(5, 25, 45, 0.1)), url('../img/elementos/Fondo\ Footer\ Liceo\ Universitario.svg');
    background-size: cover;
   
    
}
/* --- CONFIGURACIÓN PARA MÓVIL --- */

/* Estilos comunes para flechas cian */
.next-modelo, .prev-modelo, .next-carreras, .prev-carreras {
    color: #00bcd4 !important;
}

@media (max-width: 767px) {
    /* Forzar horizontal en Carreras */
    .nav-movil-wrapper {
        display: flex !important;
        flex-direction: row !important;
        flex-wrap: nowrap !important;
    }
    .swiper-carreras .swiper-slide {
        width: auto !important;
    }
    /* Estilo Modelo */
    .swiper-modelo .swiper-slide {
        width: 85% !important; /* Para que se vea la siguiente tarjeta */
        max-width: 100%;
        height: auto;
        font-size: 1rem;
    }
    .btn-outline-navy {
  
        justify-content: center;
        display: grid;
    }
     .btn-outline-light {
  
        justify-content: center;
        display: grid;
    }

}

@media (min-width: 768px) {
    /* Desactivar Swiper visualmente en PC */
    .swiper-wrapper {
        transform: translate3d(0px, 0px, 0px) !important;
        display: flex !important;
    }
}

/* Lista blanca para la sección azul */
.custom-list-white li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.custom-list-white li::before {
    content: "•";
    color: #00bcd4; /* Punto color cian */
    font-weight: bold;
    position: absolute;
    left: 0;
}
@media (max-width: 1200px){
    .hero-section {
    height: 65vh;
     max-width: 100%;
    height: auto;
 
}
.main-logo {
  width: 122px;
  max-width: 100%;
  height: auto;
}
}
@media (min-width: 992px) and (max-width: 1200px){
    .container-nav{
    display: flex;
    flex-wrap: inherit;
    align-items: center;
    justify-content: space-between;
    max-width: 100%;
    height: auto;
}
.btn-outline-navy {
  
        justify-content: center;
        display: grid;
    }
}

@media (max-width: 992px) {
    
   
    .hero-section {
    height: 42vh ;
    max-width: 100%;
    height: auto;
    
    }
    .navbar-collapse {
  
  padding-top: 50px;
}
.hero-section-oferta {
    height: 30vh;
    background-size: cover;
    background-position: center;
    position: relative;
}

}


@media (min-width: 430px) and (max-width: 992px) {

    .hero-section {
    height: 60vh ;
    max-width: 100%;
    height: auto;
  
}
  .hero-section-oferta {
    height: 41vh;
    background-size: cover;
    background-position: center;
    position: relative;
  }

.my-fa-quote-left img {
  max-width: 100px;
  margin-right: 1rem;
}
.my-fa-quote-right img {
  max-width: 100px;
  margin-left: 1rem;
}
.quote-text {
  max-width: 400px;
  margin: 0 auto;
  line-height: 1.4;
  font-size: 3rem;
  text-align: left;
}
}

.ms-4-carreras {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
}
.ms-4-carreras-adm {
  margin-left: 1.5rem !important;
  margin-right: 1.5rem !important;
  justify-content: center;
  display: grid;
}

#my-svg {
 filter: brightness(0) saturate(100%) invert(69%) sepia(30%) saturate(2851%) hue-rotate(146deg) brightness(95%) contrast(98%);
 opacity: 1 !important;
}


/* Línea vertical en footer para PC */
@media (min-width: 768px) {
    .border-end-custom {
        border-right: 1px solid rgba(255,255,255,0.6);
    }
    .border-light {
    --bs-border-opacity: 1;
    border-color:  1px solid rgba(255,255,255,0.6) !important;
    }
   .img-fluid-logo {
    max-width: 100%;
    height: auto;
    padding: 0 40px;
   }
}

.copy-footer {
    font-size: 1.5rem;
    font-family: 'Roboto';
}

/* Estilo para los títulos con fondo */
.text-cyan-bg {
    background-color: #00bcd4;
    color: white;
    padding: 5px 15px;
    display: inline-block;
    letter-spacing: 1px;
}
/* .text-cyan-bg:hover {
    color: #061b31;
    } */

.text-cyan-bg {
    position: static;
   text-align: center;
}

/* Ajuste de imágenes en móviles */
@media (max-width: 767px) {
    .content-img {
        min-height: 250px !important;
        background-position-y: -44px;
    background-repeat: no-repeat;
    }
  
}
/* Líneas decorativas del título */
.header-line {
    height: 4px;
    width: 100px;
    background-color: #00bcd4;
}

/* Divisores laterales en escritorio */
@media (min-width: 768px) {
    .border-md-end {
        border-right: 1px solid #dee2e6;
    }

}

@media (max-width: 560px){
    .img-fluid-logo {
    max-width: 100%;
    height: auto;
    padding: 0 40px;
   }
   .d-flex {
    display: flex !important;
    justify-content: center;
}
 .top-bar {
    display: none !important;
  }
  .text-cyan-bg {
    position: static;
   text-align: center;
}

  
}
@media (max-width: 560px) {
  .d-flex-doc {
    display: flex !important;
    justify-content: left;
  }
}

@media (min-width: 300px) and (max-width: 992px){
    .order-2-item {
    order: 2;
    }
    .order-1-item {
    order: 1;
    }
    .quote-section {
        max-width: 100%;
        height: auto;
    }
    .quote-text {
        line-height: 1.4;
    font-size: 1.5rem;
    text-align: center;
    max-width: 100%;
    height: auto;
    }
    .my-fa-quote-right img {
  max-width: 60px;
  margin-left: 1rem;
}
.my-fa-quote-left img {
  max-width: 60px;
  margin-right: 1rem;
}
}

/* --- ESTILOS DE ACORDEÓN (SOLO MÓVIL) --- */
@media (max-width: 767px) {
    /* 1. Forzamos a que todas las pestañas se apilen como acordeón */
    .tab-content > .tab-pane {
        display: block !important;
        opacity: 1 !important;
        margin-bottom: 15px; /* Espacio blanco entre cada bloque */
        border: none !important;
    }

    /* 2. Estilo de la barra principal (Azul oscuro) */
    .accordion-button {
        background-color: #0b1930 !important; /* Azul marino oscuro */
        color: #ffffff !important;            /* Texto blanco */
        font-weight: bold;
        font-size: 1.1rem;
        border: none !important;
        border-radius: 0 !important;          /* Esquinas cuadradas */
        box-shadow: none !important;
        padding: 15px 20px;
    }

    /* Evita que cambie de color al abrirse */
    .accordion-button:not(.collapsed) {
        background-color: #0b1930 !important;
        color: #ffffff !important;
    }

    /* 3. El Ícono: Círculo cian con la flecha azul oscuro adentro */
    .accordion-button::after {
        background-color: #00bcd4; /* Fondo del círculo cian */
        border-radius: 50%;        /* Lo hace redondo */
        width: 32px;
        height: 32px;
        background-size: 16px;
        background-position: center;
        /* El %230b1930 es el código Hexadecimal del azul oscuro para la flechita SVG */
        background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%230b1930'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e") !important;
    }

    /* 4. El borde del contenido cuando está abierto */
    .accordion-collapse {
        border: 3px solid #0b1930; /* Borde grueso azul oscuro */
        border-top: none;          /* Quitamos el de arriba para que se fusione con la barra */
        background-color: #ffffff;
    }

    .accordion-body {
        padding: 20px;
    }

    /* Ajuste fino para las viñetas (como en tu foto) */
    .accordion-body ul {
        padding-left: 20px;
        padding-right: 20px;
    }
    
    .accordion-body ul li {
        margin-bottom: 8px;
        color: #333; /* Texto oscuro para buena lectura */
    }
}

/* Tarjetas de Oferta Educativa */
.offer-card {
    height: 350px;
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.offer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 44, 77, 0.4); /* Capa azulada semi-transparente */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
    padding: 20px;
}

.offer-card:hover .offer-overlay {
    background: rgba(13, 44, 77, 0.7); /* Se oscurece al pasar el mouse */
}

/* Ajuste de títulos en las tarjetas */
.offer-card h4 {
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0;
}
/* Contenedor principal de la tarjeta */
.offer-card {
    height: 350px;
    position: relative;
    overflow: hidden; /* Importante: oculta el desbordamiento del zoom */
}

/* Capa de fondo separada */
.offer-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transición suave */
    z-index: 1;
}

/* Efecto Zoom al hacer Hover */
.offer-card:hover .offer-bg {
    transform: scale(1.1); /* Aumenta el tamaño un 10% */
}

/* Ajuste de la capa de texto para que esté sobre la imagen */
.offer-overlay {
    position: absolute;
    z-index: 2; /* Por encima de .offer-bg */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(13, 44, 77, 0.5); /* Color inicial */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.4s ease;
}

.offer-card:hover .offer-overlay {
    background: rgba(13, 44, 77, 0.7); /* Se oscurece al hacer hover */
}
.oferta-educa {
    height: 100%;
    margin: 0;
}
.oferta-educa a {
    text-decoration: none;
  width: 98%;
  height: 100%;
  display: block;
  text-align: center;
  align-content: center;
}
/* Estilo para los inputs con líneas */
.input-group-custom {
    display: flex;
    align-items: center;
    border-bottom: 2px solid rgba(255, 255, 255, 0.7);
    padding-bottom: 5px;
    transition: border-color 0.3s ease;
}

.input-group-custom:focus-within {
    border-color: #00bcd4;
}

.input-group-custom i {
    width: 30px;
    font-size: 1.2rem;
    margin-right: 15px;
    color: white;
}

.form-control-custom, .form-select-custom {
    background: transparent;
    border: none;
    color: white;
    width: 100%;
    outline: none;
    padding: 8px 0;
}

/* Color del placeholder */
.form-control-custom::placeholder {
    color: rgba(255, 255, 255, 0.8);
}

/* Estilo para el select (flecha blanca) */
.form-select-custom {
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right center;
}

/* Botón Cian */
.btn-cyan {
    background-color: #00bcd4;
    color: white;
    border: none;
    transition: transform 0.2s;
}

.btn-cyan:hover {
    background-color: #008ba3;
    color: white;
    transform: translateY(-2px);
}

/* Imagen lateral */
.contact-img-side {
    background-size: cover;
    background-position: center;
}

/* Redondear la tarjeta principal */
.rounded-4 {
    border-radius: 2rem !important;
}
/* Fondo oscuro para el menú desplegable */
.custom-dropdown {
    background-color: #0d1a35; /* Azul marino muy oscuro */
    border: none;
    border-radius: 0; /* Bordes rectos como en la imagen */
    padding: 1rem 0;
    min-width: 250px;
    box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

/* Estilo de los links dentro del menú */
.custom-dropdown .dropdown-item {
    color: #ffffff !important;
    font-weight: 500;
    padding: 0.7rem 1.5rem;
    font-size: 1.1rem;
    transition: background 0.3s;
}

/* Efecto al pasar el mouse */
.custom-dropdown .dropdown-item:hover {
    background-color: #162a50; /* Un azul un poco más claro */
    color: #00bcd4 !important; /* Color cian para resaltar */
}

/* Quitar la flecha predeterminada de Bootstrap (opcional) */
.dropdown-toggle::after {
    vertical-align: middle;
}
/* Animación de desvanecimiento */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Aplicar la animación al menú desplegable */
.custom-dropdown.show {
    animation: fadeIn 0.3s ease-out forwards;
}

/* Estilo del dropdown según la imagen de referencia */
.custom-dropdown {
    background-color: #0d1a35; /* Azul marino profundo */
    border: none;
    padding: 1rem 0;
    min-width: 280px;
}

.custom-dropdown .dropdown-item {
    color: white !important; /* Texto blanco */
    padding: 10px 25px;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05); /* Línea sutil entre opciones */
}

.custom-dropdown .dropdown-item:last-child {
    border-bottom: none;
}

.custom-dropdown .dropdown-item:hover {
    background-color: #162a50;
    color: #00bcd4 !important; /* Resalte en cian */
}
/* Configuración inicial de la flecha */
.dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.5em;
    vertical-align: middle;
    /* Transición suave de 0.3 segundos */
    transition: transform 0.3s ease; 
    /* Posición inicial (horizontal/derecha si prefieres) */
    transform: rotate(-90deg); 
}

/* Estado al pasar el mouse por el contenedor del menú */
.dropdown:hover .dropdown-toggle::after {
    /* Rota a posición vertical (hacia abajo) */
    transform: rotate(0deg); 
}
.text-center {
    text-align: center !important;
    font-size: 1.5rem;
}
@media (min-width: 768px) {
    .text-md-end {
        text-align: center !important;
        top: 50px;
        position: relative;
       
    }
}

.section-title-modelo {
    display: flex;
    font-size: 0rem;
    background-color: #00bcd4;
    padding: 20px;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
}

.section-title-modelo h4 {
    font-family: 'Roboto';
    color: #ffffff;
    font-size: 2rem;
    font-weight: 600;
    /* line-height: 1.6; */
    
}
/* .section-title-admisiones {
     display: flex;
    font-size: 0rem;
    background-color: #051f3f;
    padding: 20px;
    max-width: 100%;
    height: auto;
    margin-bottom: 30px;
    max-width: 497px;
} */
/* .section-title-admisiones h4 {
    font-family: 'Roboto';
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: left;
} */
/* Colores de texto específicos */
.text-dark-blue { color: #0d2c4d !important; }
.bg-dark-blue { background-color: #0d2c4d !important; }

/* Bordes de las cajas de perfil */
.border-navy {
    border: 3px solid #0d2c4d;
    height: 100%;
}

/* Navegación de carreras (Tabs inferiores) */
.career-nav .nav-link {
    color: #6c757d;
    font-weight: 600;
    font-size: 0.85rem;
    padding: 1.5rem 0.5rem;
    border-bottom: 4px solid transparent;
}

.career-nav .nav-link.active {
    color: #0d2c4d;
    border-bottom-color: #0d2c4d;
}

/* Puntos de lista azul marino */
.custom-list-navy {
    list-style: none;
    padding-left: 0;
}

.custom-list-navy li {
    position: relative;
    padding-left: 1.5rem;
    margin-bottom: 0.8rem;
}

.custom-list-navy li::before {
    content: "•";
    color: #0d2c4d;
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.dot-navy {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #0d2c4d;
    border-radius: 50%;
    margin-right: 10px;
}

.justify-admision {
    text-align: center;
    text-justify: inter-word;
    margin-left: 25%;
    margin-right: 25%;
}

.text-cyan-mode {
    background-color: #00bcd4;
    padding: 5px 15px;
}
.profile-box h4{
    color: white;
    display: block;
    letter-spacing: 1px;
    text-align: center;
    align-items: center;
}

    .custom-list-navy {
        list-style: none;
        padding-left: 0;
        text-align: left;
}

/* --- ESTILOS MÓVIL --- */
@media (max-width: 992px) {
    .swiper-nav-carreras {
        padding: 0 40px; /* Espacio para que las flechas no tapen el texto */
        overflow: hidden;
    }

    .nav-movil-wrapper {
        display: flex !important;
        flex-direction: row !important; /* Forzamos horizontal */
        flex-wrap: nowrap !important;  /* Evitamos que se apilen */
        align-items: center;
    }

    .swiper-slide {
        width: auto !important; /* Permite que cada palabra ocupe su espacio */
        padding: 0 10px;
    }

    .nav-link.-oferta {
        white-space: nowrap !important; /* Evita que "ADMINISTRACIÓN" se parta en dos */
        color: #333;
        font-weight: bold;
        text-decoration: none;
        display: block;
        padding: 15px 5px;
    }

    .nav-link.-oferta.active {
        color: #0b1930 !important;
        border-bottom: 2px solid #00bcd4;
    }

    /* Ajuste de flechas color #00bcd4 */
    .nav-arrow {
        color: #00bcd4 !important;
        background-color: white !important;
    }
    .nav-arrow:after {
        font-size: 20px !important;
    }
}
.swiper-button-prev, .swiper-rtl .swiper-button-next {
  left: var(--swiper-navigation-sides-offset,0px);
  right: auto;
}
.swiper-button-next, .swiper-rtl .swiper-button-prev {
  right: var(--swiper-navigation-sides-offset,0px);
  left: auto;
}

/* --- ESTILOS ESCRITORIO --- */
@media (min-width: 992px) {
    .nav-movil-wrapper {
        display: flex !important;
        justify-content: space-between;
        width: 100%;
    }
    .swiper-slide {
        flex: 1;
        text-align: center;
    }
    .nav-arrow {
        display: none !important;
    }
    .perfil-egre {
        max-width: 100%;
        height: auto;
        margin-right: 40px;
    }

}

.btn-cyan-custom {
    border: 2px solid #0d2c4d;
    color: #0d2c4d;

}
.accordion-body {
  
        text-align: left;
        left: 10px;
}
.accordion-body h4{
    position: static;
    text-align: left;
    margin-left: 24px;
    margin-right: 24px;
    font-size: 18px;
    
}
.diferen-tite {
  color: #00bcd4;
  font-size: 19px;
}
.diferen-sup-tite {
  color: #090909;
  font-size: 18px;
}

/* Sticky tabs para que se mantengan al bajar */
.sticky-tabs {
    position: sticky;
    top: 0px; /* Ajustar según la altura de tu navbar principal */
    z-index: 1020;
    min-height: 150px;
}
.nav-justified{
    padding-top: 75px;
    padding-bottom: 75px;
}
/* Contenedor de la imagen para el efecto de contorno */
.student-image-container {
    position: relative;
    display: inline-block;
    padding: 15px; /* Espacio para que el borde no toque la imagen directamente si se desea */
    top: 23px;
}

@media (max-width: 992px){
      .custom-dropdown {
        background-color: #00bcd4;
        border: none;
        padding: 1rem 0;
        min-width: 280px;
  }
  .btn-cyan-custom {
  border: 2px solid #0d2c4d;
  color: #0d2c4d;
  justify-content: center;
  display: grid;
}
}


/* Ajuste responsivo para el texto */
@media (max-width: 767px) {
    .student-img {
        max-width: 550px;
        margin-bottom: 30px;
    }
    .copy-footer {
    font-size: 1rem;
  }
  .custom-dropdown {
  background-color: #00bcd4;
  border: none;
  padding: 1rem 0;
  min-width: 280px;
}
.section-title-modelo h4 {
  font-family: 'Roboto';
  color: #ffffff;
  font-size: 1rem;
  font-weight: 600;
  line-height: 1.6;
}
.section-title-modelo {
  position: relative;
  float: right;
  top: 9px;
  font-size: 0rem;
  right: 0px;
  background-color: #00bcd4;
  padding: 20px;
}
.student-image-container {

  position: relative;
  display: none;
  padding: 15px;
  top: 23px;
  
}
}
@media (max-width: 400px){
    .section-title-modelo h4{
       
        font-size: .8rem;
        
}
.hero-section-oferta {
    height: 35vh;
}
.section-title-modelo {
    
    padding: 10px;
  }

}

/* Estilo del contenedor de pestañas verticales */
.career-vertical-tabs .nav-link {
    color: #0d2c4d !important;
    text-align: left;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 12px 15px;
    border-radius: 0;
    background: none;
    border: none;
    margin-bottom: 5px;
}

/* Efecto de pestaña activa (Recuadro azul oscuro) */
.career-vertical-tabs .nav-link.active {
    background-color: #0d2c4d !important;
    color: white !important;
}

/* Espaciado para el contenido del texto */
.tab-content h4 {
    color: #0d2c4d;
    font-size: 1.25rem;
}

/* Colores base (Sin cambios) */
.navy-text { color: #0d2c4d; }
.cyan-text { color: #00bcd4; }
.btn-navy { background-color: #0d2c4d; color: white; transition: 0.3s; }
.btn-navy:hover { background-color: #162a50; color: #00bcd4; }

/* Números Gigantes (Sin cambios) */
.huge-number {
    font-size: 12rem;
    font-weight: 800;
    color: #72c6e6; /* Azul claro de la captura */
    line-height: 1;
    opacity: 0.8;
}

/* --- NUEVA ESTRUCTURA PARA LÍNEA Y PUNTOS --- */

.admisione-lu {
    max-width: 100%;
    height: auto;
}

/* Estilos para el nuevo elemento de línea y puntos */
.admission-line-dot {
    width: 100%; /* Ancho completo de la columna de texto */
    height: 4px; /* Altura de la línea */
    background-color: #0d2c4d; /* Color de la línea */
    position: relative;
    margin-bottom: 30px; /* Espacio debajo de la línea, antes del h2 */
}

/* Puntos decorativos en los extremos de la línea */
.admission-line-dot::before,
.admission-line-dot::after {
    content: "";
    width: 10px;
    height: 10px;
    background-color: #0d2c4d;
    border-radius: 50%;
    position: absolute;
    top: 50%; /* Centrado verticalmente en la línea */
    transform: translateY(-50%); /* Ajuste fino del centrado vertical */
}
.cyan-text-flechas {
  width: 35px;
  height: 35px;
  margin-bottom: -3px;
}
/* Posicionamiento de los puntos */
.admission-line-dot::before {
    left: 0;
}
.admission-line-dot::after {
    right: 0;
}

/* Iconos de Requisitos (Paso 2) (Sin cambios) */
.custom-list-icons li {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.list-icon {
    width: 25px;
    margin-right: 15px;
    
  
}
/* .list-icon{
    content: "";
    position: absolute;
    left: 0;
    top: 5px;
    width: 20px;
    height: 20px;
    background-image: url('/fonst/u.png'); 
    background-size: contain;
    background-repeat: no-repeat;
} */


/* --- AJUSTES PARA MÓVILES (Corregido y Mejorado) --- */
@media (max-width: 767px) {
    .huge-number {
        font-size: 8rem;
    }

    /* Centrado de todo el bloque de admisión en móvil */
    .admission-step {
        text-align: center;
        display: flex;
        flex-direction: column; /* Apilar número y texto */
        align-items: left; /* Centrado horizontal del número y el bloque de texto */
    }

    /* Asegurar que el número y el texto ocupen todo el ancho */
    .admission-step .col-md-2,
    .admission-step .col-md-10 {
        width: 100%;
    }

    /* Ajuste fino del centrado del bloque de texto y la línea */
    .admission-step .col-md-10 {
        display: flex;
        flex-direction: column; /* Apilar línea y texto */
        align-items: center; /* Centrado horizontal del bloque de texto y la línea */
    }

    /* LA SOLUCIÓN: Centrar la línea en móvil y limitar su ancho */
    .admission-line-dot {
        width: 80%; /* Ancho limitado de la línea en móvil (para no desbordarse) */
        margin-left: auto; /* Centrado horizontal automático */
        margin-right: auto; /* Centrado horizontal automático */
        margin-top: 15px; /* Espacio encima de la línea, después del número */
        margin-bottom: 20px; /* Espacio debajo de la línea, antes del h2 */
    }

    /* Ajustes adicionales para centrado */
    .huge-number {
        margin-bottom: 0;
    }
    .admission-step h2 {
        margin-top: 0;
        margin-bottom: 20px;
    }
    .admission-step .col-md-10 {
        text-align: left;
        padding-top: 0 !important; /* Quitar padding-top de Bootstrap */
    }
    .custom-list-icons li {
        justify-content: left;
    }
        .admicion-chek {
    text-align: left;
    padding-left: 20px;
}
  

}
/* @media (max-width: 430px) {
      .admicion-chek {
    text-align: left;
    padding-left: 20px;
}
    .admicion-chek i{
    text-align: left;
    padding-left: 20px;
}
} */


/* modal */
.modal-body img {
    width: 100%;
    height: auto;
    top: 2rem;
  }
  /* Contenedor principal de la tarjeta */
.offer-modal {
    height: auto;
    position: relative;
    overflow: hidden; /* Importante: oculta el desbordamiento del zoom */
}

/* Capa de fondo separada */
.offer-modal-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94); /* Transición suave */
    z-index: 1;
}

/* Efecto Zoom al hacer Hover */
.offer-modal:hover .offer-modal-bg {
    transform: scale(1.2); /* Aumenta el tamaño un 10% */
    top: 2rem;
}



.offer-modal:hover .offer-overlay {
    background: rgba(13, 44, 77, 0.7); /* Se oscurece al hacer hover */
}
/* Contenedor del título de carrera */
.header-blue-box {
    background-color: #0d2c4d;
    padding: 30px;
    display: inline-block;
    width: 100%;
    max-width: 800px;
}

.letter-spacing-wide {
    letter-spacing: 3px;
}

/* Tarjeta de Título de Área (Izquierda) */
.curriculum-title-card {
    background-color: #0d2c4d;
    color: white;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    text-align: center;
}

.curriculum-title-card h5 {
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0;
}

/* Tarjeta de Lista de Materias (Derecha) */
.curriculum-list-card {
    background-color: #0d2c4d;
    color: white;
    height: 100%;
    padding: 20px;
    text-align: left;
    border-left: 2px solid rgba(255,255,255,0.2); /* Separador sutil */
}

.curriculum-list-card ul li {
    font-size: 0.85rem;
    margin-bottom: 5px;
    position: relative;
    padding-left: 15px;
}

.curriculum-list-card ul li::before {
    content: "•";
    position: absolute;
    left: 0;
}
.modal-footer {
    display: flex;
    flex-shrink: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: calc(var(--bs-modal-padding) - var(--bs-modal-footer-gap) * .5);
    background-color: var(--bs-modal-footer-bg);
    border-top: var(--bs-modal-footer-border-width) solid var(--bs-modal-footer-border-color);
    border-bottom-right-radius: var(--bs-modal-inner-border-radius);
    border-bottom-left-radius: var(--bs-modal-inner-border-radius);
}
.modal-header {
    
    display: flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: .5rem 1rem;
    border-bottom: 1px solid #dee2e6;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.btn-success {
    --bs-btn-color: #fff;
    --bs-btn-bg: #0e2c4d;
}
.btn:hover {
    columns: #fff;
    background-color: #0cc0df;
    border-color: #0cc0df;
    color: #0e2c4d;
}
.text-muted {
    --bs-text-opacity: 1;
    color: rgb(92 95 98) !important;
    font-size: 1rem;
}
.bg-navy { background-color: #0d2c4d; }
.bg-cyan-label { background-color: #00bcd4; color: white; }
.border-bottom-cyan { border-bottom: 8px solid #00bcd4; }

/* Estilo para los Ejes (Flechas/Cajas) */
.eje-card {
    width: 150px;
    border: 2px solid #0d2c4d;
    margin-bottom: 10px;
}
.eje-header {
    background: #0d2c4d;
    color: white;
    font-weight: bold;
    padding: 5px;
}
.eje-body {
    padding: 10px;
    height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: white;
}

/* Divisor del Modelo Educativo */
.section-title-divider {
    border-top: 2px solid #00bcd4;
    border-bottom: 2px solid #00bcd4;
    padding: 10px 0;
    margin-bottom: 20px;
}
/* Contenedor general */
.chevron-box {
    position: relative;
    padding: 20px 40px 20px 50px;
    height: 100%;
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* Esta es la forma de flecha */
    clip-path: polygon(92% 0%, 100% 50%, 92% 100%, 0% 100%, 8% 50%, 0% 0%);
    margin-left: -2%; /* Hace que encajen una dentro de otra */
}

/* Colores de los bloques */
.main-plan {
    background-color: #0d2c4d;
    color: white;
    clip-path: polygon(92% 0%, 100% 50%, 92% 100%, 0% 100%, 0% 50%, 0% 0%); /* Primera flecha es recta a la izquierda */
    margin-left: 0;
}

.eje-white {
    background-color: white;
    border: 1px solid #0d2c4d; /* Se simula con un wrapper o sombra si el clip-path corta el borde */
    box-shadow: inset 0 0 0 2px #0d2c4d; /* Borde interno que respeta el clip-path */
    color: #0d2c4d;
}

.eje-dark {
    background-color: #0d2c4d;
    color: white;
}

/* Elementos internos */
.eje-badge {
    background: #0d2c4d;
    color: white;
    font-weight: bold;
    font-size: 0.7rem;
    padding: 2px 10px;
    border-radius: 10px;
    width: fit-content;
    margin-bottom: 5px;
}

.eje-content {
    display: flex;
    align-items: center;
    gap: 10px;
}

.eje-icon {
    width: 30px;
    height: auto;
}

/* Adaptación para Móvil */
@media (max-width: 991px) {
    .chevron-box {
        clip-path: none; /* Quitamos la flecha en móvil para que sean tarjetas normales */
        margin-left: 0;
        margin-bottom: 10px;
        border-radius: 10px;
        padding: 20px;
    }
}
/* Contenedor principal para asegurar que no haya espacios */
.quienes-somos-section {
    min-height: 500px;
}

/* Fondo azul con textura sutil (puedes usar un patrón o un gradiente) */
.bg-dark-blue-texture {
    background-color: #0d2c4d;
    background-image: url('../img/elementos/papel.png'); /* Textura sutil */
    position: relative;
    height: 750px;
}

/* Ajuste de imagen para que cubra todo el espacio */
.img-container-nosotros  {
   min-height: 300px;
    width: 100%;
    padding-left: 25px;
    position: absolute;
    top: 150px;
}
.hero-section-nosotros {
    display: flex;
    height: 42vh;
    background-size: cover;
    position: static;
    padding-bottom: 25px;
    flex-direction: column;
    justify-content: flex-end;
}
.section-title-nosotros {
    display: flex;
    justify-content: space-around;
    
}
.section-title-nosotros h4 {
   font-family: 'Roboto';
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    position: static;
    background-color: #051f3f;
    padding: 16px;
}

.hero-section-campus {
    display: flex;
    height: 42vh;
    background-size: cover;
    position: static;
    padding-bottom: 25px;
    padding-left: 15px;
    flex-direction: column;
    justify-content: flex-end;
}
.section-title-campus {
    display: flex;
    justify-content: flex-start;
    max-width: 400px;
    
}
.section-title-campus h4 {
    font-family: 'Roboto';
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    position: static;
    background-color: #051f3f;
    padding: 16px;
}
.hero-section-admisiones {
    display: flex;
    height: 52vh;
    background-size: cover;
    position: static;
    padding-bottom: 25px;
    padding-left: 79px;
    flex-direction: column;
    justify-content: flex-end;
}
.section-title-admisiones {
    display: flex;
    justify-content: flex-start;
    max-width: 400px;
    
}
.section-title-admisiones h4 {
    font-family: 'Roboto';
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    position: static;
    background-color: #051f3f;
    padding: 16px;
}

@media (max-width: 992px) {
   .hero-section-campus {
 
  height: 27vh;
  
}
.section-title-campus h4 {
    font-family: 'Roboto';
    color: #ffffff;
    font-size: .7rem;
    font-weight: 600;
    line-height: 1.6;
    text-align: center;
    position: static;
    background-color: #051f3f;
    padding: 10px;
}

}

/* Tipografía y espaciado */
.content-text-nosotros h2 {
    position: relative;
    padding-bottom: 15px;
}

/* Línea decorativa opcional bajo el título (como estilo Liceo) */
.content-text-nosotros h2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 4px;
    background-color: #00bcd4; /* Color cian */
}

/* Estilos personalizados */
        .seccion-nosotros {
            overflow: hidden; /* Mantiene la imagen dentro del contenedor si se desborda */
        }

        .contenedor-imagen {
            /* En móvil, definimos una altura mínima para que la imagen sea visible */
            min-height: 250px; 
            height: auto;
            position: relative;
        }

        /* Envoltorio para centrar y asegurar que la imagen cubra el espacio */
        .wrapper-imagen {
            width: 100%;
            height: 100%;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .imagen-nosotros {
            width: 100%;
            height: 100%;
            object-fit: cover; /* Recorta la imagen para llenar el contenedor sin deformarse */
            object-position: top center; /* Ajusta qué parte de la imagen se prioriza al recortar */
             padding-left: 25px;
            position: relative;
            top: 150px;
        }

        .columna-texto {
            background-color: #0d3b66; /* Azul oscuro similar al de la imagen */
            color: #ffffff; /* Texto blanco */
            padding: 3rem; /* Espaciado interno */
        }

        /* Media query para pantallas grandes (escritorio y superiores) */
        @media (min-width: 992px) {
            .contenedor-imagen {
                min-height: auto; /* Restablece la altura mínima en escritorio */
                height: 100%; /* Toma la altura completa de la fila */
            }

            /* Aseguramos que el contenedor de texto también tome la altura completa */
            .columna-texto {
                height: 100%;
                display: flex;
                flex-direction: column;
                justify-content: center; /* Centra el contenido verticalmente */
            }
        }

/* Responsividad para móviles */
@media (max-width: 991px) {
    .content-text-nosotros img {
        padding: 20px 0;
    }
    .img-container-nosotros {
        min-height: auto !important;
       
    }
}
.display-1 {
    text-align: left;
}
.display-4 {

    text-align: left;
}
.texto-contorno {
    font-size: 75px;
    color: #0e2c4d;
    text-shadow: 3px 3px 0px #00bcd4;
    letter-spacing: 3.85px;
    width: 293px;
}
.icon-lema {
    width: 200px;
   bottom: 16px;
   position: relative;
}
.philosophy-card h4 {
font-size: 32px;
}


/* --- CONFIGURACIÓN DEL GRID --- */
/* Contenedor de la cuadrícula */
       .grid-container {
    width: 100%;
    display: grid;
    grid-template-columns: 522px 250px 250px 250px;
    grid-template-rows: repeat(3, 250px);
    gap: 15px;
    /* background-color: #ffffff; */
    /* padding: 20px; */
    /* border-radius: 12px; */
}

        /* Estilo base de los elementos de la cuadrícula */
        .grid-item {
            /* background-color: #3498db; */
            color: white;
            display: flex;
            overflow: hidden;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            /* border-radius: 8px; */
            transition: transform 0.2s ease-in-out;
        }
         .grid-item img {
           height: 100%;;
        }

        /* .grid-item:hover {
            transform: scale(1.1);
            transition: transform 0.5s ease-in-out;
             overflow: hidden;
        } */

        /* Aquí se usa grid-area para hacer que el elemento 3 se extienda */
        .box-3 {
            grid-area: 2 / 3 / 3 / 4; /* Comienza en fila 2, columna 1 y se extiende hasta la línea 3 */
            background-color: #ffffff;
            font-weight: bold;
        }

        /* Estilos específicos para los otros elementos (opcional) */
        .box-1 {
            grid-area: 4 /1 / 1 / 2; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            background-color: #ffffff;
            font-weight: bold;
            display: flex;
            flex-direction: column;
            justify-content: space-between;
            }
        .box-2 {
            grid-area: 4 / 4 / 2 / 4; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            background-color: #ffffff;
            font-weight: bold;
             
        }
        .box-4 {
            grid-area: 3 / 2 / 1 / 3;
            background-color: #ffffff; 
        }
        .box-5 {
            grid-area: 2 / 3 / 1 / 5;
            background-color: #ffffff;
            font-weight: bold;
        }
        .box-6 {
            grid-area: 3 / 2 / 3 / 4;
            background-color: #ffffff;
            font-weight: bold;
        }
.university-grid {
  width: 100%;
    max-width: 1320px;
    margin: auto;
    position: relative;
    overflow: hidden;
}
.university-grid-vida {
  width: 100%;
    max-width: 1620px;
    margin: auto;
    position: relative;
    /* overflow: hidden; */
}

/* --- CLASES PARA TAMAÑOS (SPANS) --- */
/* Ocupar 2 columnas de ancho */
.span-col-2 {
    grid-column: span 2;
}

/* Ocupar 2 filas de alto */
.span-row-2 {
    grid-row: span 2;
}

/* --- ESTILO DE LAS IMÁGENES Y ZOOM --- */
.grid-item {
    position: relative;
    /* border-radius: 12px; */
    overflow: hidden; /* Vital para que el zoom no se salga */
    height: 100%;
    width: 100%;
}

/* .img-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
} */

.box-1  .img-wrapper img {
    width: auto;
    height: 100%;
    object-fit: cover; /* La imagen rellena el cuadro sin deformarse */
    transition: transform 0.5s ease-in-out;
    /* border-radius: 10px; */
}
 

/* Efecto Zoom al Hover */
.grid-item:hover img {
    transform: scale(1.1);
}

/* --- OVERLAY CON ICONO (+) --- */
.hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 44, 77, 0.4); /* Azul Liceo Transparente */
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none; /* Para no interferir con el clic */
}

.hover-overlay i {
    color: white;
    font-size: 2rem;
}

.grid-item:hover .hover-overlay {
    opacity: 1;
}

.navy-text-vida {
    font-family: 'Roboto';
    color: #051f3f;
    font-size: 1.9rem;
    font-weight: 600;
    top: 333px;
}

.carousel-indicators [data-bs-target] {
 
  width: 20px;
  height: 20px;
  
  border-radius: 50%;
}

/* .carousel-indicators [data-bs-target] {
    
    box-sizing: content-box;
  flex: 0 1 auto;
  width: 20px;
  height: 20px;
  padding: 0;
  margin-right: 3px;
  margin-left: 3px;
  text-indent: -999px;
  cursor: pointer;
  background-color: #fff;
  background-clip: padding-box;
  border: 0px;
    border-top-width: 0px;
    border-top-style: none;
    border-top-color: currentcolor;
    border-bottom-width: 0px;
    border-bottom-style: none;
    border-bottom-color: currentcolor;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  opacity: .5;
  transition: opacity .6s ease;
  border-radius: 61%;
} */

/* --- RESPONSIVIDAD (MÓVIL) --- */
@media (max-width: 992px) {
    .university-grid {
        /* En tablet, 2 columnas */
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
        padding-right: 20px;
    }
        .contenedor-imagen {
  min-height: auto;
  height: auto;
  position: relative;
  max-width: 100%;
  top: 0;
}
.imagen-nosotros {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  padding-left: 0px;
  position: relative;
  top: 0px;
}
}

@media (max-width: 576px) {
    .university-grid {
        /* En móvil, 1 sola columna */
        grid-template-columns: 1fr;
        grid-auto-rows: 250px;
        padding-right: 20px;
    }
    .contenedor-imagen {
  min-height: auto;
  height: auto;
  position: relative;
  max-width: 100%;
  top: 0;
}
.imagen-nosotros {
  max-width: 100%;
  height: auto;
  object-fit: cover;
  object-position: top center;
  padding-left: 0px;
  position: relative;
  top: 0px;
}
    
    /* En móvil, reseteamos los spans para que todo sea ancho completo */
    .span-col-2, .span-row-2 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    /* El título sí puede mantener su altura automática */
    .title-area {
        height: auto;
        margin-bottom: 20px;
    }
    .hero-section-admisiones {
    display: flex;
    height: 26vh;
    background-size: cover;
    position: static;
    padding-bottom: 25px;
    padding-left: 79px;
    flex-direction: column;
    justify-content: flex-end;
    max-width: 100%;
}
    .section-title-admisiones h4 {
    font-family: 'Roboto';
    color: #ffffff;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    position: static;
    background-color: #051f3f;
    padding: 16px;
}
.hero-section-nosotros {
  display: flex;
  height: 26vh;
  background-size: cover;
  position: static;
  padding-bottom: 25px;
  flex-direction: column;
  justify-content: flex-end;
}
.section-title-nosotros h4 {
    font-family: 'Roboto';
    color: #ffffff;
    font-size: .6rem;
    font-weight: 600;
    line-height: 1;
    text-align: center;
    position: static;
    background-color: #051f3f;
    padding: 12px;

}
.bg-dark-blue-texture {
  background-color: #0d2c4d;
  background-image: url('../img/elementos/papel.png');
  position: relative;
  height: auto;
}
.texto-contorno {
    width: 202px;
    margin-left: 20px;
}
.lema-lu{
    font-size: 1.2rem;
    margin-left: 23px;
}
}

/* Paleta de colores basada en la imagen */
        :root {
            --bg-principal: #1f2738; /* Fondo general si se requiere */
            --azul-oscuro: #1d2538;  /* Color de la pestaña izquierda (EJE) */
            --azul-claro: #27406a;   /* Color del bloque principal */
            --cyan-iconos: #5cc2d6;  /* Color de los iconos */
        }

        body {
            background-color: #f8f9fa; /* Fondo claro para contrastar el móvil */
            font-family: Arial, sans-serif;
        }

/* Contenedor principal simulando el ancho del móvil */
        .mobile-container {
            max-width: 400px;
            margin: 0 auto;
            padding: 15px;
            background-color: white;
        }

        /* Título Principal */
        .header-title {
            background-color: var(--azul-oscuro);
            color: white;
            font-weight: bold;
            text-align: center;
            padding: 1.5rem 1rem;
            margin-bottom: 15px;
            font-size: 1.2rem;
            line-height: 1.3;
        }

        /* Fila de cada EJE */
        .eje-row {
            display: flex;
            margin-bottom: 8px; /* Espacio entre las tarjetas */
            min-height: 120px;  /* Altura mínima para que los iconos se vean bien */
        }

        /* Pestaña izquierda con texto vertical */
        .eje-tab {
            background-color: var(--azul-oscuro);
            color: white;
            width: 45px; /* Ancho fijo para la pestaña */
            display: flex;
            align-items: center;
            justify-content: center;
            flex-shrink: 0;
        }

        /* Magia para rotar el texto */
        .texto-vertical {
            writing-mode: vertical-rl;
            transform: rotate(180deg);
            font-weight: 600;
            font-size: 0.9rem;
            letter-spacing: 2px;
            margin: 0;
        }

        /* Contenido principal de la tarjeta */
        .eje-content {
            background-color: var(--azul-claro);
            color: white;
            flex-grow: 1; /* Toma el resto del espacio disponible */
            margin-left: 8px; /* Separación entre la pestaña y el contenido */
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 1.5rem 1rem;
            text-align: center;
        }
        .icon-ejes img {
            max-width: 67px;
            height: 67px;
        }

        /* Estilo para los iconos */
        .eje-content i {
            color: var(--cyan-iconos);
            font-size: 2.5rem;
            margin-bottom: 10px;
        }

        /* Estilo para el texto de descripción */
        .eje-content p {
            margin: 0;
            font-size: 0.8rem;
            font-weight: 500;
            line-height: 1.4;
        }

        /* Borde resaltado para el EJE 2 (como en tu imagen) */
        .eje-row.active .eje-content {
            box-shadow: 0 0 0 3px #8e44ad inset; /* Simula el borde morado brillante */
        }

/* --- SISTEMA DE GRID ASIMÉTRICO --- */
.university-grid-5 {
    display: grid;
    /* Base de 4 columnas */
    grid-template-columns: repeat(4, 1fr);
    /* Altura base de las filas. Ajusta si quieres que sean más altas o bajas */
    grid-auto-rows: 240px; 
    /* Espacio entre elementos */
    gap: 20px; 
}

/* Clases auxiliares para ocupar espacio */
.span-col-2 { grid-column: span 2; }
.span-row-2 { grid-row: span 2; }

/* --- ESTILOS DE LAS TARJETAS E IMÁGENES --- */
.grid-item {
    position: relative;
    /* border-radius: 12px; */
    overflow: hidden; /* Fundamental para que el zoom no se salga del marco */
    height: 100%;
    width: 100%;
}

/* Wrapper para la imagen y el overlay */
.img-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* La imagen rellena todo el espacio sin deformarse */
    transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1); /* Zoom suave */
}

/* EFECTO ZOOM AL PASAR EL MOUSE */
.grid-item:hover img {
    transform: scale(1.1);
}

/* --- OVERLAY CON ICONO --- */
.hover-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(13, 44, 77, 0.5); /* Azul Liceo semitransparente */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
}

.grid-item:hover .hover-overlay {
    opacity: 1;
}

/* --- CONFIGURACIÓN BASE (MÓVILES) --- */
.university-grid {
    display: grid;
    /* En móvil, una sola columna que ocupa el 100% */
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
}

.grid-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
}

/* Las imágenes se adaptan al ancho de su caja y recortan el sobrante */
.responsive-img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
    display: block;
}

.img-wrapper {
    width: 100%;
    height: 100%;
    min-height: 250px; /* Altura mínima para celulares */
}

/* Ajustes para el texto sobrepuesto en la primera caja */
.content-wrapper {
    position: relative;
    height: 100%;
}

.title-overlay {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
    margin: 0;
}


/* --- CONFIGURACIÓN PARA PANTALLAS GRANDES (DESKTOP) --- */
@media (min-width: 768px) {
    .university-grid {
        /* Creamos 4 columnas iguales para desktop */
        grid-template-columns: repeat(4, 1fr);
        /* Definimos una altura estándar para cada fila del grid */
        grid-auto-rows: 250px; 
    }

    /* Aquí entran en acción tus clases de expansión */
    .span-col-2 {
        grid-column: span 2;
    }
    
    .span-row-2 {
        grid-row: span 2;
    }
}

/* --- RESPONSIVIDAD (Móvil y Tablet) --- */
@media (max-width: 991px) {
    .university-grid-5 {
        /* En tablet pasa a 2 columnas */
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 200px;
    }
    /* El título de "Eventos" necesita altura en móvil */
    .grid-item.bg-light { min-height: 100px; }
}

@media (max-width: 576px) {
    .university-grid-5 {
        /* En móvil pasa a 1 sola columna */
        grid-template-columns: 1fr;
        grid-auto-rows: 220px;
    }
    /* Reseteamos los spans para que todo ocupe el ancho completo */
    .span-col-2, .span-row-2 {
        grid-column: auto;
        grid-row: auto;
    }
    /* El título principal se ajusta */
    .title-area { height: auto; min-height: auto; margin-bottom: 1rem; }
}

.tech-slideshow {
  height: 200px;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
  transform: translate3d(0, 0, 0);
}

.tech-slideshow > div {
  height: 200px;
  width: 2526px;
  background: url(../img/eventos/collage.jpg);
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  transform: translate3d(0, 0, 0);
}
.tech-slideshow .mover-1 {
  animation: moveSlideshow 12s linear infinite;
}
.tech-slideshow .mover-2 {
  opacity: 0;
  transition: opacity 0.5s ease-out;
  background-position: 0 -200px;
  animation: moveSlideshow 15s linear infinite;
}
.tech-slideshow:hover .mover-2 {
  opacity: 1;
}

@keyframes moveSlideshow {
  100% { 
    transform: translateX(-66.6666%);  
  }
}
/* Contenedor de la cuadrícula */

.bg-white-blue {
    background-color: #001f3f;
    
}

        .grid-container-con {
            display: grid;
            grid-template-columns: repeat(6, 230px); /* 4 columnas de 100px */
            grid-template-rows: repeat(3, 220px);    /* 3 filas de 100px */
            gap: 25px;
            padding: 20px 60px;
           
        }

        /* Estilo base de los elementos de la cuadrícula */
        .grid-item-con {
            /* background-color: #3498db; */
            color: white;
            display: flex;
            overflow: hidden;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            /* border-radius: 8px; */
            transition: transform 0.2s ease-in-out;
        }

        .grid-item-con:hover {
            transform: scale(1.05);
            transition: transform 0.5s ease-in-out;
             overflow: hidden;
        }
        .titel-vida {
            font-family: 'Roboto';
            font-size: 30pt;
            font-weight: 600;
            text-align: center;
        }

        /* Aquí se usa grid-area para hacer que el elemento 3 se extienda */
       

        /* Estilos específicos para los otros elementos (opcional) */
        .box-con-1 {
            grid-area: 1 /1 / 1 / 2; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            background-color: #001f3f;
            font-weight: bold;
            overflow: hidden; /* Vital para que el zoom no se salga */
            }
        .box-con-2 {
            grid-area: 1 / 2 / 1 / 3; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            background-color: #001f3f;
            font-weight: bold;   
        }
         .box-con-3 {
            grid-area: 1 / 3 / 2 / 5;/* Comienza en fila 2, columna 1 y se extiende hasta la línea 3 */
            background-color: #001f3f;
            font-weight: bold;
        }
        .box-con-4 {
            grid-area: 1 / 7 / 2 / 5;
            background-color: transparencia;
            font-weight: bold;
            text-align: left;
        }
        .box-con-5 {
            grid-area: 2 / 1 / 3 / 3;
            background-color: #001f3f;
            font-weight: bold;
        }
        .box-con-6 {
            grid-area: 2 / 3 / 3 / 3;
            background-color: #001f3f;
            font-weight: bold;
        }
         .box-con-7 {
            grid-area: 3 / 4 / 2 / 4;
            background-color: #001f3f;
            font-weight: bold;
        }  .box-con-8 {
            grid-area: 2 / 7 / 2 / 5;
            background-color: #001f3f;
            font-weight: bold;
        }
          .box-con-9 {
            grid-area: 3 / 1 / 3 / 2;
            background-color: #001f3f;
            font-weight: bold;
        }
          .box-con-10 {
            grid-area: 3 / 2 / 3 / 3;
            background-color: #001f3f;
            font-weight: bold;
        }
          .box-con-11 {
            grid-area: 3 / 3 / 4 / 6;
            background-color: #001f3f;
            font-weight: bold;
        }
          .box-con-12 {
            grid-area: 3 / 7 / 4 / 6;
            background-color: #001f3f;
            font-weight: bold;
        }

        .navy-text-con {
            font-family: 'Roboto';
            font-size: 30pt;
            color: #ffffff;
            font-weight: 600;
            text-align: center;
        }


/* Contenedor de la cuadrícula conferencias */
        .grid-container-cias {
            display: grid;
            grid-template-columns: repeat(4, 292px); /* 4 columnas de 100px */
            grid-template-rows: 100px 260px 280px;    /* 3 filas de 100px */
            gap: 30px;
            background-color: #ffffff;
            padding: 20px;
            /* border-radius: 12px;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1); */
        }

        /* Estilo base de los elementos de la cuadrícula */
        .grid-item-cias {
            background-color: #3498db;
            color: white;
            display: flex;
            overflow: hidden;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            /* border-radius: 8px; */
            transition: transform 0.2s ease-in-out;
        }

        .grid-item-cias:hover {
            transform: scale(1.05);
            transition: transform 0.5s ease-in-out;
             overflow: hidden;
        }

        /* Aquí se usa grid-area para hacer que el elemento 3 se extienda */
       

        /* Estilos específicos para los otros elementos (opcional) */
        .box-cias-1 {
            grid-area: 1 /1 / 2 / 3; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            background-color: #ffffff;
            font-weight: bold;
                margin: -1px;
            }
        .box-cias-2 {
            grid-area: 3 / 3 / 1 / 5; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            background-color: #ffffff;
            font-weight: bold;   
        }
         .box-cias-3 {
            grid-area: 4 / 3 / 3 / 5; /* Comienza en fila 2, columna 1 y se extiende hasta la línea 3 */
            background-color: #ffffff;
            font-weight: bold;
        }
        .box-cias-4 {
            grid-area: 2 / 1 / 2 / 2;
            background-color: #ffffff; 
            font-weight: bold;
            text-align: left;
        }
        .box-cias-5 {
            grid-area: 2 / 2 / 3 / 2;
            background-color: #ffffff;
            font-weight: bold;
        }
        .box-cias-6 {
            grid-area: 3 / 1 / 4 / 2;
            background-color: #ffffff;
            font-weight: bold;
        }
         .box-cias-7 {
            grid-area: 4 / 2 / 3 / 3;
            background-color: #ffffff;
            font-weight: bold;
        }  .box-cias-8 {
            grid-area: 2 / 7 / 2 / 5;
            background-color: #ffffff;
            font-weight: bold;
        }
          .box-cias-9 {
            grid-area: 3 / 1 / 3 / 2;
            background-color: #ffffff;
            font-weight: bold;
        }
          .box-cias-10 {
            grid-area: 3 / 2 / 3 / 3;
            background-color: #ffffff;
            font-weight: bold;
        }
          .box-cias-11 {
            grid-area: 3 / 3 / 4 / 5;
            background-color: #ffffff;
            font-weight: bold;
        }
          .box-cias-12 {
            grid-area: 3 / 7 / 3 / 5;
            background-color: #ffffff;
            font-weight: bold;
        }
        .navy-text-cias {
            font-family: 'Roboto';
            font-size: 30pt;
            color: #254980;
            font-weight: 600;
            text-align: center;
        }
        /* Contenedor de la cuadrícula graduaciones */
        .grid-container-grad {
            display: grid;
            grid-template-columns: 220px 362px 362px 220px; /* 4 columnas de 100px */
            grid-template-rows: 220px 220px 220px ;    /* 3 filas de 100px */
            gap: 30px;
            /* background-color: #ffffff; */
            padding: 20px;
            
        }

        /* Estilo base de los elementos de la cuadrícula */
        .grid-item-grad {
            background-color: #3498db;
            color: white;
            display: flex;
            overflow: hidden;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            /* border-radius: 8px; */
            transition: transform 0.2s ease-in-out;
        }

        .grid-item-grad:hover {
            transform: scale(1.05);
            transition: transform 0.5s ease-in-out;
             overflow: hidden;
        }

        /* Aquí se usa grid-area para hacer que el elemento 3 se extienda */
       

        /* Estilos específicos para los otros elementos (opcional) */
        .box-grad-1 {
            grid-area: 1 /1 / 2 / 2; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            /* background-color: #9b59b6; */
            font-weight: bold;
            }
        .box-grad-2 {
            grid-area: 1 / 4 / 2 / 2; /* Comienza en fila 1, columna 1 y se extiende hasta la línea 3 */
            /* background-color: #f1c40f; */
            font-weight: bold;   
        }
         .box-grad-3 {
            grid-area: 2 / 4 / 4 / 4; /* Comienza en fila 2, columna 1 y se extiende hasta la línea 3 */
            /* background-color: #2ecc71; */
            font-weight: bold;
        }
        .box-grad-4 {
            grid-area: 2 / 1 / 4 / 2;
            /* background-color: #e74c3c;  */
            font-weight: bold;
            text-align: left;
        }
        .box-grad-5 {
            grid-area: 2 / 4 / 3 / 2;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }
        .box-grad-6 {
            grid-area: 3 / 2 / 4 / 4;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }
         .box-grad-7 {
            grid-area: 1 / 5 / 2 / 4;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }  .box-grad-8 {
            grid-area: 2 / 7 / 2 / 5;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }
          .box-grad-9 {
            grid-area: 3 / 1 / 3 / 2;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }
          .box-grad-10 {
            grid-area: 3 / 2 / 3 / 3;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }
          .box-grad-11 {
            grid-area: 3 / 3 / 4 / 5;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }
          .box-grad-12 {
            grid-area: 3 / 7 / 3 / 5;
            /* background-color: #0fbcf1; */
            font-weight: bold;
        }
          .navy-text-grad {
            font-family: 'Roboto';
            font-size: 28px;
            color: #ffffff;
            font-weight: 600;
            text-align: center;
            display: flex;
            align-items: center;
            margin: 0 10px;
        }
        .section-title {
            color: #dee2e6;
            text-transform: none;
            font-size: 30px;
            font-family: Roboto;
        }
        .team-title{
            color: #dee2e6;
            text-transform: capitalize;
            font-size: 18px;
            font-family: Roboto;
        }
        .text-center-opini {
            text-align: center !important;
            font-size: 1.5rem;
            background-color: #ffffff;
            max-width: 380px;
            border-radius: 16px;
        }
         .team-title-opini {
            text-align: center !important;
            font-size: 1.5rem;
            /* background-color: #ffffff; */
            max-width: 380px;
            border-radius: 8px;
        }
        .btn-light-mas {
            border-color: #4c4c4c;
            background: #fff;
            padding: 3px 10px;
            font-size: 16px;
            font-family: Roboto;
            font-style: normal;
        }
         .btn-light-mas i{
            font-size: 16px;
            font-family: Roboto;
            font-style: normal;
        }
        .btn-light-mas:hover {
            background-color: #001f3f;
            color: #fefefe;
        }
        
        /* Asegura que las tarjetas tengan la misma altura y el botón siempre esté abajo */
.team-item {
        height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: .5s;
    background-color: #fff;
    border: 1px solid #eee;
    border-radius: 16px; /* Opcional: para dar definición */
}

.team-item img {
    object-fit: cover;
    aspect-ratio: 4 / 5; /* Esto hace que todas las fotos sean cuadradas y uniformes */
}
.modal-footer-team{
    display: flex;
    flex-wrap: wrap;
    flex-shrink: 0;
    align-items: center;
    justify-content: flex-end;
    padding: .75rem;
    border-top: 1px solid #dee2e6;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 5px;
}
.btn-primary-tem{
    background-color: #142a3f;
    color: #dfdfdf;
}

/* Color Institucional Azul Marino (Por si no lo tenías declarado globalmente) */
.bg-navy {
    background-color: #0d2c4d;
}

/* Ajuste sutil para el texto del campus */
#campus p {
    line-height: 1.6;
    color: #333333; /* Un gris oscuro elegante para facilitar la lectura */
}
/* Contenedor de la etiqueta vertical */
/* Fondo azul específico para esta sección */
.bg-navy-campus {
    background-color: #0d2c4d;
    padding: 80px 0;
}

/* Contenedor de la etiqueta vertical */
.vertical-label-container {
    background-color: #00bcd4; /* Color Cian */
    padding: 20px 10px;
    display: inline-block;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 5;
}

/* Texto rotado 90 grados */
.vertical-text {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: white;
    font-weight: bold;
    letter-spacing: 2px;
    margin: 0;
    font-size: 1.5rem;
}

/* Estilo del Wrapper de Video */
.video-wrapper {
    border: 15px solid rgba(255, 255, 255, 0.1); /* Borde decorativo sutil */
    border-radius: 15px;
    overflow: hidden;
    cursor: pointer;
}

/* Botón de Play animado */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.9);
    color: #0d2c4d;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.play-btn:hover {
    background: #00bcd4;
    color: white;
    transform: translate(-50%, -50%) scale(1.1);
}
.img-fluid-vi {
        max-width: 100%;
        height: auto;
    }

/* Responsividad para la etiqueta */
@media (max-width: 991px) {
    .vertical-label-container {
        padding: 15px 5px;
    }
    .vertical-text {
        font-size: 1.2rem;
    }
    .img-fluid-vi {
        width: auto !important;
        max-height: 50vh;
        max-width: 227%;
        height: auto;
    }
}

/* Contenedor del botón para centrado absoluto */
.video-play-button-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
}

/* El botón principal */
.play-btn-pulse {
    position: relative;
    width: 90px;
    height: 90px;
    background: #00bcd4; /* Color Cian Institucional */
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    z-index: 5;
    transition: all 0.3s ease;
}

.play-btn-pulse:hover {
    transform: scale(1.1);
    color: white;
    background: #0d2c4d; /* Cambia a azul marino al pasar el mouse */
}

/* Las ondas (pulse) */
.pulse-wave {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: rgba(0, 188, 212, 0.6); /* Sombra cian */
    border-radius: 50%;
    z-index: -1;
    animation: pulse-animation 2s infinite;
}

/* Segunda onda con retraso para que se vean intercaladas */
.pulse-wave:nth-child(2) {
    animation-delay: 1s;
}

/* Animación de crecimiento y desvanecimiento */
@keyframes pulse-animation {
    0% {
        width: 90px;
        height: 90px;
        opacity: 1;
    }
    100% {
        width: 180px;
        height: 180px;
        opacity: 0;
    }
}

/* Ajuste de la etiqueta lateral para que no flote tanto */
.vertical-label-container {
    background-color: #00bcd4;
    padding: 30px 10px;
    position: absolute;
    left: 5px; /* Ajustado para que "muerda" el borde del video */
    top: 50%;
    transform: translateY(-50%);
    z-index: 15;
    box-shadow: 5px 0 15px rgba(0,0,0,0.3);
}
/* Responsividad para la etiqueta */
@media (max-width: 991px) {
    .vertical-label-container {
        padding: 15px 5px;
    }
    .vertical-text {
        font-size: 1.2rem;
    }
    .navy-text-grad {
    
    align-items: center;
    justify-content: center;
}
}
.tex-conoce  {
    text-align: center !important;
    font-size: 1.5rem;
    font-family: Roboto;
    font-size: 2.3rem;
}
/* --- GALERÍA DE INSTALACIONES --- */

/* Contenedor de cada ítem (texto + imagen) */
.instalacion-item {
    gap: 15px; /* Espacio entre el texto rotado y la imagen */
}

/* Texto vertical rotado */
.instalacion-title {
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    color: #0d2c4d; /* Azul Marino Liceo */
    font-weight: 700;
    font-size: 1.3rem;
    margin: 0;
    letter-spacing: 1px;
    white-space: nowrap;
}

/* Marco azul grueso para las imágenes */
.instalacion-img-wrapper {
    position: relative;
    border: 6px solid #0d2c4d; /* Borde idéntico al diseño */
    overflow: hidden;
    width: 100%;
    aspect-ratio: 1 / 1; /* Obliga a que todas las fotos sean perfectamente cuadradas */
    background-color: #f8f9fa; /* Fondo por si la imagen tarda en cargar */
}

/* Imagen dentro del marco */
.instalacion-img-wrapper img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Evita que las imágenes se deformen */
    transition: transform 0.5s ease;
}

/* --- EFECTO HOVER FANCYBOX --- */

/* Capa superpuesta que aparece al pasar el mouse */
.hover-overlay-cyan {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-color: rgba(13, 44, 77, 0.6); /* Azul Marino con transparencia */
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 2;
    pointer-events: none;
}

.hover-overlay-cyan i {
    color: #00bcd4; /* Icono en color Cian */
    font-size: 2.5rem;
    transform: scale(0.5);
    transition: transform 0.3s ease;
}

/* Animaciones al hacer Hover */
.instalacion-img-wrapper:hover img {
    transform: scale(1.1); /* Zoom suave a la foto */
}

.instalacion-img-wrapper:hover .hover-overlay-cyan {
    opacity: 1; /* Aparece la capa */
}

.instalacion-img-wrapper:hover .hover-overlay-cyan i {
    transform: scale(1); /* El icono crece simulando un 'pop' */
}

/* --- RESPONSIVIDAD (Móviles) --- */
@media (max-width: 768px) {
    .instalacion-title {
        font-size: 1.1rem;
    }
    .instalacion-item {
        gap: 10px;
    }
}
/* --- INSTALACIONES EXTRA (MARCOS BLANCOS) --- */

/* Aseguramos el fondo azul marino si no lo tenías global */
.bg-navy {
    background-color: #0d2c4d;
}

/* Contenedor de la imagen con marco blanco */
.instalacion-card-white {
    position: relative;
    overflow: hidden;
    background-color: #ffffff; /* Fondo blanco detrás de la imagen */
    aspect-ratio: 3 / 4; /* Formato vertical o de retrato */
    width: 100%;
}

/* El marco se hace aplicando un padding interno al contenedor blanco o un borde directo */
.border-white-thick {
    border: 12px solid #0d2c4d;; /* Borde blanco extra grueso */
}

/* Comportamiento de la imagen interna */
.instalacion-card-white img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Para que encaje perfecto en el cuadro sin deformarse */
    transition: transform 0.5s ease;
}

/* Efecto Zoom al pasar el cursor (igual que las otras fotos) */
.instalacion-card-white:hover img {
    transform: scale(1.1);
}

/* Reutilizamos el hover con color cian del bloque anterior */
.instalacion-card-white:hover .hover-overlay-cyan {
    opacity: 1;
}

/* Ajustes responsivos para móviles */
@media (max-width: 768px) {
    .border-white-thick {
        border-width: 8px; /* Borde un poco más delgado en celular */
    }
    
    /* En móvil, reordenamos para que todos los títulos queden abajo de su foto */
    .col-md-4:nth-child(2) h4 {
        order: 1;
        margin-top: .2rem !important; 
        margin-bottom: .5rem !important;
    }
    .col-md-4:nth-child(2) .instalacion-card-white {
        order: 2;
    }
    .col-md-4.text-center {
        display: flex;
        flex-direction: column;
        margin-bottom: 2rem;
        align-items: center;
    }
}
/* --- SECCIÓN BIBLIOTECA Y CÓMPUTO --- */

.campus-overlap-container {
    border: 3px solid #0d2c4d; /* Marco azul delgado que rodea todo el conjunto opcional */
}

.campus-card {
    position: relative;
    overflow: hidden;
    height: 100%;
}

.img-zoom-container {
    overflow: hidden;
    aspect-ratio: 16 / 10; /* Ajusta la proporción según tus fotos */
}

.img-zoom-container img {
    transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1);
    object-fit: cover;
    height: 100%;
}

.campus-card:hover img {
    transform: scale(1.1);
}

/* --- LAS BURBUJAS DE TEXTO --- */
.label-bubble {
    position: absolute;
    background-color: #0d2c4d;
    padding: 20px 40px;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 220px;
}

/* Burbuja Superior Derecha (Biblioteca) */
.bubble-top-right {
    top: 0;
    right: 0;
    border-bottom-left-radius: 60px; /* Crea el efecto curvo */
}

/* Burbuja Inferior Izquierda (Sala de Cómputo) */
.bubble-bottom-left {
    bottom: 0;
    left: 0;
    border-top-right-radius: 60px; /* Crea el efecto curvo */
}

/* Efecto hover en la burbuja */
.campus-card:hover .label-bubble {
    background-color: #00bcd4; /* Cambia a cian al pasar el mouse */
    transition: background-color 0.3s ease;
}

/* --- CARRUSEL SOLO PARA MÓVILES --- */
@media (max-width: 767.98px) {
    .mobile-carousel {
        /* Evita que los elementos bajen a la siguiente línea */
        flex-wrap: nowrap !important;
        /* Habilita el desplazamiento horizontal */
        overflow-x: auto;
        overflow-y: hidden;
        /* Activa el imán para que las tarjetas se centren al deslizar */
        scroll-snap-type: x mandatory;
        /* Oculta la barra de desplazamiento en Firefox */
        scrollbar-width: none; 
        /* Mejora la fluidez en dispositivos iOS */
        -webkit-overflow-scrolling: touch;
        /* Espaciado para que no se corten las sombras si tienes */
        padding-bottom: 20px; 
    }

    /* Oculta la barra de desplazamiento en Chrome/Safari/Edge */
    .mobile-carousel::-webkit-scrollbar {
        display: none; 
    }

    .mobile-carousel > .col-md-4 {
        /* Cada tarjeta ocupará el 85% del ancho de la pantalla,
           permitiendo que se asome un pedacito de la siguiente tarjeta */
        flex: 0 0 85% !important; 
        max-width: 85% !important;
        /* Define el punto de anclaje al centrar la tarjeta */
        scroll-snap-align: center;
    }
}

/* Ajustes para móviles */
@media (max-width: 768px) {
    .label-bubble {
        padding: 10px 25px;
        min-width: 150px;
    }
    .label-bubble span {
        font-size: 1.1rem;
    }
    .bubble-top-right, .bubble-bottom-left {
        border-radius: 30px; /* Curva más pequeña en móvil */
    }
}
/* --- ESTILOS TRANSPORTE --- */

.info-ribbon {
    background-color: #d1d5db; /* Gris claro del diseño */
    color: #0d2c4d;
    padding: 15px 30px;
    display: inline-block;
    position: relative;
    clip-path: polygon(95% 0%, 100% 50%, 95% 100%, 5% 100%, 0% 50%, 5% 0%); /* Forma de listón */
}

.transport-circle {
    width: 350px;
    height: 350px;
    background-color: #04244C;
    border-radius: 50%;
    border: 8px solid #00bcd4; /* Borde cian */
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    position: relative;
}

.circle-content img {
    max-width: 100%;
}

.divider-white {
    width: 60px;
    height: 2px;
    background-color: white;
}

/* --- ESTILOS UBICACIÓN --- */

.cyan-text {
    color: #00bcd4;
}

.map-container {
    height: 400px;
}

.tracking-widest {
    letter-spacing: 4px;
}

/* --- RESPONSIVIDAD --- */
@media (max-width: 576px) {
    .transport-circle {
        width: 280px;
        height: 280px;
    }
    .info-ribbon {
        font-size: 0.9rem;
        padding: 10px 20px;
        clip-path: none; /* Simplificar en móvil */
        border-radius: 8px;
    }
}

/* Estilos del Efecto Masonry */
.masonry-gallery {
    /* En móvil: 1 columna */
    column-count: 1;
    column-gap: 1.25rem;
    width: 100%;
}

.masonry-item {
    display: inline-block; /* Evita que la imagen se parta entre columnas */
    width: 100%;
    margin-bottom: 1.25rem;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.masonry-item img {
    width: 100%;
    height: auto; /* Mantener proporción natural */
    display: block;
}

.masonry-item:hover {
    transform: scale(1.02);
}

/* Breakpoints Responsivos */
@media (min-width: 768px) {
    .masonry-gallery {
        column-count: 2; /* Tablets: 2 columnas */
    }
}

@media (min-width: 992px) {
    .masonry-gallery {
        column-count: 3; /* Escritorio: 3 columnas */
    }
}
.frase-proposito {
  text-align: center;
  color: #1a2a40; /* El color azul oscuro de tu texto */
  font-size: 3rem; /* Ajusta según lo necesites */
  font-weight: 800; /* Letra negrita */
  line-height: 1.5; /* Espaciado entre líneas para que respire */
  max-width: 800px; /* Para que en escritorio no sea infinitamente ancho */
  margin: 0 auto;
}

.icono-comillas {
  display: inline-block;
  width: 80px; /* Ajusta el tamaño de tus comillas aquí */
  height: auto;
  vertical-align: middle; /* Esto centra la comilla con el texto */
  margin: 0 10px; /* Le da un pequeño respiro de separación a las palabras */
}

/* Ajuste opcional para celulares */
@media (max-width: 762px) {
  .frase-proposito {
    font-size: 2.5rem; /* Achica un poco el texto en móviles */
  }
  .icono-comillas {
    width: 35px; /* Achica un poco las comillas en móviles */
  }
}
@media (max-width: 600px) {
  .frase-proposito {
    font-size: 1.5rem; /* Achica un poco el texto en móviles */
  }
  .icono-comillas {
    width: 35px; /* Achica un poco las comillas en móviles */
  }
}