.lgx-tab2 .nav-pills li a p { font-size: 1.4rem; line-height: 2.1rem; font-weight: 300; margin: 0px; color: #e0e0e0; opacity: 0.7; } 
.lgx-tab2 .nav-pills li.active a p { font-size: 1.4rem; line-height: 2.1rem; font-weight: 300; margin: 0px; color: #ffffff; opacity: 0.7; }
.lgx-registration-area .recommended { background: #16a086; }
.lgx-registration-area .lgx-single-registration .single-top .price { font-family: Poppins, sans-serif; color: rgb(255, 255, 255); font-size: 6.8rem; line-height: 8rem; font-weight: 900; }
.lgx-banner-info-circle .info-circle-inner .date { margin-top: 0px; padding-top: 2.6rem; font-size: 16.6rem; line-height: 16rem; color: #ffffff; }
.lgx-banner-info .subtitle { font-family: Poppins, sans-serif; font-size: 4rem; font-weight: 600; color: #16a086; margin: 0px; line-height: 7.2rem; }
.lgx-banner-info-circle { background: linear-gradient(to top, #34495e 0px, #ec398b 100%); padding: 1.5rem; margin-right: 5rem; height: 420px; width: 420px; border-radius: 50%; }
.lgx-schedule { background: #16a086; }
.lgx-registration { background-color: #34495e; }
.lgx-registration-area .lgx-single-registration .lgx-btn { background: rgb(52, 73, 94); }
.lgx-registration-area .recommended .single-top .price, .lgx-registration-area .recommended .single-top .title { color: #d80e8c; }
.lgx-footer .lgx-inner-footer { background: #ec398b; }

/* Botones generales */
.single-bottom, .lgx-btn, .lgx-submit, .wpcf7-submit, button {
    overflow: hidden;
    border: none;
    text-align: center;
    cursor: pointer;
    text-transform: uppercase;
    outline: 0;
    position: relative;
    font-weight: 400;
    font-size: 14px;
    margin: 0 auto;
    padding: 1.5rem 4rem;
    display: inline-block;
    letter-spacing: .1rem;
    color: #000000;
    -moz-transition-duration: .3s;
    -webkit-transition-duration: .3s;
    -o-transition-duration: .3s;
    transition-duration: .3s;
    -webkit-box-shadow: 0 8px 6px -6px rgba(50, 51, 51, .4);
    -moz-box-shadow: 0 8px 6px -6px rgba(50, 51, 51, .4);
    box-shadow: 0 8px 6px -6px rgba(50, 51, 51, .4);
}

.vip-btn:hover {
    background: #16a086 !important;
}

/* Countdown */
.lgx-countdown-area {
    margin-left: 15px !important;
    margin-top: 15px !important;
}

.lgx-days, .lgx-hr, .lgx-min, .lgx-sec {
    margin-top: 7px !important;
}

.lgx-banner-info .title span {
    font-style: normal;
}

/*Logo y header*/
.lgx-header-position-fixed {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent; /* color de la barra normal */
    transition: all 0.3s ease;
    display: flex;
    align-items: center; /* centra verticalmente */
}

.lgx-navbar {
    display: flex;
    align-items: center;
    justify-content: space-between; /* logo a la izquierda, menú a la derecha */
    width: 100%;
    padding: 0 20px;
}

.navbar-header {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* logo a la izquierda */
    height: 100px; /* altura del header normal */
    padding: 0 15px; /* espacio lateral */
    transition: height 0.3s ease, padding 0.3s ease;
}

.lgx-header.sticky .navbar-header {
    height: 70px; /* altura cuando se hace scroll */
    padding: 0 15px;
}

.lgx-logo {
    display: flex;
    align-items: center; /* centra verticalmente */
    justify-content: flex-start; /* logo alineado a la izquierda */
    height: 100%;
    padding: 0;
}

.lgx-logo img {
    max-height: 120px; /* tamaño normal */
    height: auto;
    width: auto;
    object-fit: contain;
    display: block;
}

.lgx-header.sticky .lgx-logo img {
    max-height: 70px; /* tamaño reducido al hacer scroll */
}

.navbar-toggle {
    margin: 0;
    display: flex;
    align-items: center; /* toggle centrado verticalmente */
}

/* ==============================
   MEDIA QUERIES (RESPONSIVE)
   ============================== */
@media (max-width: 768px) {
    .lgx-logo img { max-height: 80px; }
    .navbar-header { height: 60px; }
    .lgx-header.sticky .navbar-header { height: 50px; }
}
@media (max-width: 740px) {
    .lgx-logo img { max-height: 70px; }
    .navbar-header { height: 55px; }
    .lgx-header.sticky .navbar-header { height: 45px; }
}
@media (max-width: 461px) {
    .lgx-logo img { max-height: 60px; }
    .navbar-header { height: 50px; }
    .lgx-header.sticky .navbar-header { height: 40px; }
}

/* Estilo del botón hamburguesa */
.navbar-toggle {
    background-color: #16a086; /* color principal del sitio */
    border: none;
    padding: 6px 10px;
    border-radius: 2px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.navbar-toggle i {
    color: #ffffff;   /* color del icono */
    font-size: 18px;  /* tamaño del icono */
}

/* Hover */
.navbar-toggle:hover {
    background-color: #d80e8c; /* efecto hover */
}

/* Solo visible en móvil */
.visible-xs {
    display: none; /* se sobreescribirá con media query */
}

@media (max-width: 767px) {
    .visible-xs {
        display: flex !important; /* mostrar solo en móvil */
    }
}

/* ==============================
   Banner personalizado (definitivo)
   ============================== */

/* Imagen de fondo y altura completa */
.lgx-banner-style {
    background: url("../img/COLORES-NMA.png") center center no-repeat !important;
    background-size: cover !important;
    height: 100vh;
    position: relative;
}

/* Overlay semitransparente */
.lgx-banner-style::before {
    content: "";
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%; 
    height: 100%;
    background: rgba(22,160,134,0.4);
    z-index: 1;
}

/* Contenido centrado dentro del banner */
.lgx-inner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 90%;        /* ancho máximo para centrar en PC */
    max-width: 1200px; /* ancho máximo del contenido */
    z-index: 2;
    text-align: center;
}

/* Quitar padding/margen de todos los elementos intermedios para centrado perfecto */
.lgx-banner .lgx-inner-fixed,
.lgx-banner .container,
.lgx-banner .row,
.lgx-banner .col-xs-12,
.lgx-banner-info-area {
    padding: 0;
    margin: 0;
    width: 100%;
}

/* Ajuste de títulos y subtítulos sobre la imagen */
.lgx-banner-info .subtitle,
.lgx-banner-info .title,
.lgx-banner-info .location,
.lgx-banner-info .lgx-btn {
    color: #fff;
    word-wrap: break-word; /* permite saltos de línea en textos largos */
}
   

/* ===========================
   INTRO (pantalla inicial)
   =========================== */
.intro-section {
  height: 100vh;
  background-color: #000; /* Cambia si quieres otro color o añade una imagen */
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  color: white;
  text-align: center;
}

.intro-logo {
  width: 180px;
  margin-bottom: 20px;
}

.intro-text {
  font-size: 2rem;
  font-weight: 600;
}

/* ===========================
   HEADER ANIMADO
   =========================== */
.lgx-header {
  position: fixed;
  top: -100px; /* oculto arriba al cargar */
  width: 100%;
  transition: top 0.4s ease-in-out;
  z-index: 999;
}

/* Cuando se hace scroll */
.lgx-header.visible {
  top: 0;
}

/* Suaviza el scroll al hacer clic en los enlaces */
html {
  scroll-behavior: smooth;
}

/* Header oculto al inicio */
.lgx-header {
  position: fixed;
  top: -100px; /* oculto arriba al cargar */
  width: 100%;
  transition: top 0.4s ease-in-out;
  z-index: 999;
}

/* Header aparece al hacer scroll */
.lgx-header.visible {
  top: 0;
}

/* Suaviza el scroll al hacer clic en los enlaces */
html {
  scroll-behavior: smooth;
}

.about-text {
  max-width: 800px;
  margin: 0 auto;
  text-align: justify;
  line-height: 1.8;
  font-size: 1.05rem;
  color: #333;
  padding: 20px;
}

.about-text h2.heading {
  text-align: center;
  margin-bottom: 30px;
  font-weight: 700;
  font-size: 2rem;
  color: #2a2a2a;
}

.about-text p {
  margin-bottom: 1.2em;
}

@media (max-width: 768px) {
  .about-text {
    padding: 15px;
    font-size: 1rem;
    line-height: 1.6;
  }

  .about-text h2.heading {
    font-size: 1.6rem;
  }
}

/* ==============================
   BANNER AJUSTADO Y RESPONSIVE
   ============================== */
.lgx-banner-style {
  background: url("../img/COLORES-NMA.png") center center no-repeat !important;
  background-size: cover !important;
  height: 400px !important; /* Altura fija (ajústala si quieres) */
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lgx-banner-style::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(22,160,134,0.4);
  z-index: 1;
}

.lgx-inner {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 90%;
  max-width: 1200px;
  margin: 0 auto;
}

.lgx-banner .lgx-inner-fixed,
.lgx-banner .container,
.lgx-banner .row,
.lgx-banner .col-xs-12,
.lgx-banner-info-area {
  padding: 0 !important;
  margin: 0 !important;
  width: 100%;
}

.lgx-banner-info .subtitle,
.lgx-banner-info .title,
.lgx-banner-info .location,
.lgx-banner-info .lgx-btn {
  color: #fff;
  word-wrap: break-word;
  margin: 0.5rem 0;
}

@media (min-width: 992px) {
  .lgx-banner-style {
    height: 400px !important;
  }
}

@media (max-width: 991px) {
  .lgx-banner-style {
    height: 300px !important;
  }
}

@media (max-width: 600px) {
  .lgx-banner-style {
    height: 240px !important;
    background-position: center top !important;
  }

  .lgx-inner {
    width: 95%;
  }

  .lgx-banner-info .title {
    font-size: 1.6rem !important;
    line-height: 2rem !important;
  }

  .lgx-banner-info .subtitle {
    font-size: 1.4rem !important;
  }
}

/* Márgenes entre secciones principales */
#sobre-nosotros,
#apoyanos {
    margin-top: 50px;
    margin-bottom: 50px;
}

/* Márgenes más pequeños en móviles */
@media (max-width: 768px) {
    #sobre-nosotros,
    #apoyanos {
        margin-top: 30px;
        margin-bottom: 30px;
    }
}

.about-text a.btn {
    display: block;       /* para centrar y respetar margen */
    margin: 20px auto 0 auto;  /* 20px encima, centrado horizontalmente */
}

/* ==============================
   CORRECCIONES DE NAVEGACIÓN
   ============================== */

/* 1. Arreglo del color del enlace "Inicio" y otros enlaces de navegación */
/* Fuerza el color blanco para los enlaces y evita el color morado de "enlace visitado" */
.lgx-header-position-fixed a,
.lgx-navbar a {
    color: white !important; /* Usamos !important para asegurar que sobreescribe */
    text-decoration: none;
}

/* Opcional: Arreglo de color al pasar el ratón (ajusta el color si quieres) */
.lgx-header-position-fixed a:hover {
    color: #d80e8c !important; 
}


/* 2. Ocultar el botón Toggle (las 3 rayitas) en PC (Regla General) */
/* Lo ocultamos por completo en pantallas grandes */
.navbar-toggle {
    display: none !important; 
}


/* 3. Mostrar el botón Toggle SOLO en móvil (Media Query) */
/* Sobreescribimos la regla anterior solo en pantallas pequeñas (767px o menos) */
@media (max-width: 767px) {
    .navbar-toggle {
        display: flex !important; /* Usamos 'flex' para que se vea en móvil */
    }
}

/* =======================================================
   PARCHE PARA ARREGLAR LA SUPERPOSICIÓN (NMA)
   ======================================================= */

/* 1. Forzamos a que la altura NO sea fija, sino que se adapte al contenido */
.lgx-banner-style {
    height: auto !important;          /* Deja que la caja crezca lo que necesite */
    min-height: 100vh !important;     /* Que ocupe al menos toda la pantalla */
    padding-top: 150px !important;    /* Espacio arriba para que el menú no tape el título */
    padding-bottom: 120px !important; /* Espacio abajo vital para que lo blanco no suba */
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important;
}

/* 2. Ajuste específico para móviles y tablets */
@media (max-width: 991px) {
    .lgx-banner-style {
        min-height: 600px !important; /* En móvil puede ser un poco menos alto */
        padding-top: 120px !important;
        padding-bottom: 80px !important;
    }
    
    /* Reducimos un poco el tamaño de la letra gigante solo en móvil para que encaje mejor */
    .lgx-banner-info-circle .info-circle-inner .date {
        font-size: 8rem !important; 
        line-height: 8rem !important;
    }
}

/* =======================================================
   SOLUCIÓN FINAL: CENTRADO ABSOLUTO Y LIMPIO
   ======================================================= */

/* 1. CAJA DE FONDO: Usamos Flexbox para el centrado maestro */
.lgx-banner-style {
    display: flex !important;
    flex-direction: column !important;
    justify-content: center !important; /* Centra verticalmente */
    align-items: center !important;     /* Centra horizontalmente todo el bloque */
    height: 100vh !important;
    width: 100% !important;
    padding: 0 !important;
    border: none !important;
}

/* 2. QUITAR EL "EMPUJÓN" A LA IZQUIERDA */
/* Esto aplana todos los contenedores de Bootstrap para que no estorben */
.lgx-inner,
.lgx-inner .container,
.lgx-inner .row,
.lgx-inner .col-xs-12,
.lgx-banner-info-area {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;      /* Quita márgenes extraños */
    padding: 0 !important;     /* CLAVE: Quita el relleno izquierdo que descentraba */
    float: none !important;
    position: static !important;
    transform: none !important;
}

/* 3. CENTRAR EL TEXTO Y ARREGLAR EL IDIOMA */
.lgx-banner-info {
    text-align: center !important; /* Obliga al texto a ir al medio */
    width: 100% !important;
}

/* Aquí solo tocamos el color y la alineación. 
   AL NO PONER 'display', el sistema de idiomas volverá a funcionar bien. */
.lgx-banner-info .title,
.lgx-banner-info .subtitle,
.lgx-banner-info h2,
.lgx-banner-info h3,
.lgx-banner-info span,
.lgx-banner-info p {
    color: #ffffff !important;
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* 4. AJUSTE FINO DE ALTURA */
/* Si lo sientes muy alto o bajo, cambia este margen */
.lgx-banner-info {
    margin-top: -30px !important; 
}

/* =======================================================
   DISEÑO PANTALLA COMPLETA (FULL PAGE) + ARREGLO BOTÓN
   ======================================================= */

/* 1. CONFIGURACIÓN "PANTALLA COMPLETA" PARA SECCIONES */
/* Esto hace que cada sección ocupe toda la altura de tu monitor */
section#ponencias-pasadas,
section#ponencias-futuras,
section#sponsors {
    min-height: 100vh !important;       /* Altura mínima: 100% de la pantalla */
    display: flex !important;           /* Usamos Flexbox para organizar */
    flex-direction: column !important;  /* Apilar cosas verticalmente */
    justify-content: center !important; /* Centrar el contenido VERTICALMENTE */
    align-items: center !important;     /* Centrar el contenido HORIZONTALMENTE */
    padding-top: 50px !important;       /* Relleno un poco más suave */
    padding-bottom: 50px !important;
}

/* 2. COLORES DE FONDO (Efecto Cebra) */
section#ponencias-pasadas {
    background-color: #ffffff !important;
}

section#ponencias-futuras {
    background-color: #f4f6f7 !important; /* Gris suave */
    border-top: 1px solid #e1e1e1;
    border-bottom: 1px solid #e1e1e1;
}

section#sponsors {
    background-color: #ffffff !important;
}

/* 3. CENTRADO DE TEXTOS (Obligatorio) */
.lgx-about-content-area, 
.lgx-about-content,
.lgx-heading,
.col-md-12,
.col-xs-12 {
    width: 100% !important;
    text-align: center !important;
    float: none !important;
}

section h2, section p, section span {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 1000px !important;
}

/* 4. ARREGLO DEL BOTÓN VERDE (VER MÁS) */
/* El truco final: lo convertimos en bloque y le damos márgenes automáticos */
.lgx-btn {
    display: block !important;       /* Se comporta como una caja */
    width: fit-content !important;   /* El ancho se ajusta al texto */
    margin-top: 40px !important;     /* Separación del texto de arriba */
    margin-left: auto !important;    /* Empuje automático desde la izquierda */
    margin-right: auto !important;   /* Empuje automático desde la derecha */
    float: none !important;
}

/* =======================================================
   ARREGLO DEL FOOTER (BOTÓN DE SUSCRIPCIÓN)
   ======================================================= */

/* 1. Resetear el botón del footer para que no tenga margen gigante */
.lgx-subscribe-form .lgx-btn {
    margin-top: 0 !important;         /* Quitamos el empujón de 40px */
    margin-left: 10px !important;     /* Un poquito de aire a la izquierda */
    margin-right: 0 !important;
    display: inline-block !important; /* Que se ponga en línea, no debajo */
    width: auto !important;           /* Que ocupe lo que necesite, no más */
    vertical-align: middle !important; /* Alineado al centro con el input */
    float: none !important;
}

/* 2. Alinear perfectamente el Input (caja de texto) y el Botón */
.lgx-subscribe-form {
    display: flex !important;           /* Usamos Flexbox aquí también */
    justify-content: center !important; /* Centrado horizontal */
    align-items: center !important;     /* Centrado vertical */
    flex-wrap: wrap !important;         /* Si es móvil, que baje ordenado */
}

/* 3. Asegurar que los contenedores del formulario no estorben */
.lgx-subscribe-form .form-group {
    margin-bottom: 0 !important;
    display: inline-block !important;
    width: auto !important;
}

/* --- ESTILOS PARA LAS CAJAS DE UNIVERSIDAD --- */
.uni-card-link {
    text-decoration: none !important;
    display: block;
    margin-bottom: 30px;
    cursor: pointer;
}

.uni-card-box {
    width: 100%;
    padding-top: 100%; /* Truco para mantenerlo cuadrado */
    position: relative;
    border: 2px solid #6054bc;
    border-radius: 15px;
    background-color: #ffffff;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    transition: all 0.3s ease;
}

.uni-logo {
    position: absolute;
    top: 0; left: 0; bottom: 0; right: 0;
    margin: auto;
    max-width: 70%;
    max-height: 70%;
    object-fit: contain;
}
    .uni-name {
    text-align: center;
    /* CAMBIO AQUÍ: Quitamos margen arriba y lo ponemos abajo */
    margin-top: 0;
    margin-bottom: 15px; 
    
    font-weight: 700;
    color: #333;
    transition: color 0.3s ease;
}

.uni-card-link:hover .uni-card-box {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(96, 84, 188, 0.2);
    background-color: #fcfcff;
}

.uni-card-link:hover .uni-name {
    color: #6054bc;
}

/* --- ESTILO MENSAJE "NO HAY PONENCIAS" --- */
.empty-state-box {
    text-align: center;
    padding: 60px 20px;
    background-color: #f9f9f9;
    border-radius: 10px;
    border: 2px dashed #ddd; /* Borde discontinuo elegante */
    margin-top: 20px;
}

.empty-state-box i {
    font-size: 50px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-title {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    color: #333;
    text-transform: uppercase;
    margin-bottom: 10px;
}

.empty-subtitle {
    color: #777;
    font-size: 16px;
}

/* Estilos para las pestañas (Tabs) */
.lgx-tab2 .nav-pills li a p { 
    font-size: 1.4rem; 
    line-height: 2.1rem; 
    font-weight: 300; 
    margin: 0px; 
    color: #e0e0e0; 
    opacity: 0.7; 
} 

.lgx-tab2 .nav-pills li.active a p { 
    font-size: 1.4rem; 
    line-height: 2.1rem; 
    font-weight: 300; 
    margin: 0px; 
    color: #ffffff; 
    opacity: 0.7; 
}

/* =========================================
   FORZAR CENTRADO DE IMÁGENES (PONENCIAS)
   ========================================= */

/* 1. Centra las imágenes dentro de las secciones de ponencias */
#ponencias-pasadas img,
#ponencias-futuras img,
.lgx-single-news img,   /* Clase típica de las tarjetas de noticias/ponencias */
.lgx-news-img img {
    display: block !important;       /* Las convierte en bloques (como cajas) */
    margin-left: auto !important;    /* Relleno automático a la izquierda */
    margin-right: auto !important;   /* Relleno automático a la derecha */
    max-width: 100% !important;      /* Que no se salgan del ancho del móvil */
    height: auto !important;         /* Que mantengan la proporción */
}

/* 2. Si las fotos están dentro de una tarjeta (Card) */
.lgx-news-single .lgx-news-img {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    width: 100% !important;
}

/* =========================================
   MARGEN PARA LOS BOTONES DE UNIVERSIDAD
   ========================================= */

.uni-card-link {
    display: block !important;      /* Asegura que la caja se comporte como un bloque */
    margin-bottom: 80px !important; /* <--- AQUÍ ESTÁ EL ESPACIO EXTRA */
}

/* =========================================
   FUERZA BRUTA DE CENTRADO DE TEXTOS
   ========================================= */

/* Obliga a centrarse a TODOS los títulos y textos dentro de las secciones */
#ponencias-pasadas h1, 
#ponencias-pasadas h2, 
#ponencias-pasadas h3,   /* <--- ESTE ES EL CLAVE (UAM, UC3M...) */
#ponencias-pasadas h4, 
#ponencias-pasadas h5, 
#ponencias-pasadas h6, 
#ponencias-pasadas p, 
#ponencias-pasadas span,
.uni-name {
    text-align: center !important;
    width: 100% !important;        /* Asegura que ocupen todo el ancho para poder centrarse */
    margin-left: auto !important;
    margin-right: auto !important;
}

/* Y por si acaso, aseguramos el contenedor de la tarjeta */
.uni-card-link {
    text-align: center !important;
}

/* =======================================================
/* =======================================================
   CAMBIAR EL MORADO POR LA IMAGEN EN CABECERAS Y FOOTERS
   ======================================================= */

/* 1. Aplicar la imagen de fondo a los banners y al footer */
.lgx-banner-inner,
.lgx-inner-footer {
    background-image: url("../img/COLORES-NMA.png") !important;
    background-size: cover !important;
    background-position: center center !important;
    background-color: transparent !important; 
    position: relative;
}

/* 2. Ponerle un filtro oscuro para que se lea bien el texto encima */
.lgx-banner-inner::before,
.lgx-inner-footer::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    /* Nota: si quieres que no tenga ningún filtro oscuro y se vea la foto tal cual, pon rgba(0,0,0,0) como hiciste ayer */
    background: rgba(0, 0, 0, 0) !important; 
    z-index: 0;
}

/* 3. Asegurar que todo lo que haya dentro se quede por encima del filtro */
.lgx-banner-inner > div,
.lgx-inner-footer > div,
.lgx-inner-footer .container {
    position: relative;
    z-index: 1;
}

/* 4. Forzar que los textos del footer sean blancos para que se lean sobre la foto */
.lgx-inner-footer h3,
.lgx-inner-footer p,
.lgx-inner-footer span,
.lgx-inner-footer a,
.lgx-inner-footer address {
    color: #ffffff !important;
}

/* =======================================================
   ARREGLO DE LOS BOTONES DE REDES SOCIALES EN EL FOOTER
   (VISIBLES POR DEFECTO)
   ======================================================= */

/* 1. Estado normal del botón (Tu verde corporativo fijo) */
.lgx-inner-footer .lgx-social-footer li a {
    background-color: #16a086 !important; /* Fondo verde sólido siempre */
    border: 1px solid #16a086 !important; /* Borde verde sólido */
    border-radius: 50% !important; /* Redondos (opcional, suele quedar mejor) */
    opacity: 1 !important; /* Sin transparencias para que destaquen al 100% */
}

/* Forzamos el logo a color blanco */
.lgx-inner-footer .lgx-social-footer li a i {
    color: #ffffff !important; 
}

/* 2. Estado al pasar el ratón (Efecto inverso) */
.lgx-inner-footer .lgx-social-footer li a:hover {
    background-color: #ffffff !important; /* El fondo se vuelve blanco */
    border-color: #ffffff !important; /* El borde se vuelve blanco */
}

/* El logo pasa a ser verde corporativo al pasar el ratón */
.lgx-inner-footer .lgx-social-footer li a:hover i {
    color: #16a086 !important; 
}

/* =======================================================
   ENLACES DE TEXTO DEL FOOTER (Correos en color blanco siempre)
   ======================================================= */
.lgx-inner-footer p.text a {
    color: #ffffff !important; /* Color blanco normal */
    text-decoration: none !important; /* Sin subrayado por defecto (opcional) */
    transition: all 0.3s ease; /* Efecto suave */
}

.lgx-inner-footer p.text a:hover {
    color: #ffffff !important; /* Se mantiene blanco al pasar el ratón */
    text-decoration: underline !important; /* Solo se subraya para que se note que es clickeable */
    opacity: 0.8; /* Se vuelve un pelín transparente para hacer un efecto elegante sin usar verde */
}


/* 1. Poner los perfiles uno al lado del otro */
.uni-card-link {
    display: inline-block !important;
    width: 280px !important; 
    margin: 0 20px 40px 20px !important; 
    vertical-align: top !important;
}

/* Forzar que las columnas de Bootstrap no rompan la fila */
[class*="col-"]:has(.uni-card-link) {
    display: inline-block !important;
    width: auto !important;
    float: none !important;
}

/* 2. Quitar el recuadro azul y el fondo de la caja */
.uni-card-box {
    border: none !important;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0 !important;
    height: auto !important;
}

/* 3. Hacer la foto completamente circular y centrarla */
.uni-logo {
    position: static !important;
    width: 220px !important;
    height: 220px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
    margin: 0 auto !important;
    display: block !important;
    max-width: 100% !important;
    max-height: 100% !important;
}

/* Efecto clicable para las fotos circulares del equipo */
.foto-hover {
    transition: transform 0.3s ease, box-shadow 0.3s ease !important;
}

.foto-hover:hover {
    transform: scale(1.08) !important; /* Hace la foto un 8% más grande de forma suave */
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2) !important; /* Proyecta una sombra elegante */
}

/* Rescate: Devolver los logos de las universidades a la normalidad */
.lgx-select-uni .uni-card-box {
    border: 2px solid #6054bc !important;
    border-radius: 15px !important;
    background-color: #ffffff !important;
    padding-top: 100% !important;
    display: block !important;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05) !important;
}

.lgx-select-uni .uni-logo {
    position: absolute !important;
    width: auto !important;
    height: auto !important;
    max-width: 70% !important;
    max-height: 70% !important;
    border-radius: 0 !important;      /* Elimina el formato circular */
    object-fit: contain !important;   /* Evita que los logos se deformen o estiren */
    top: 0 !important; 
    left: 0 !important; 
    bottom: 0 !important; 
    right: 0 !important;
    margin: auto !important;
    display: block !important;
}


