/**
* Template Name: Day - v4.7.0
* Template URL: https://bootstrapmade.com/day-multipurpose-html-template-for-free/
* Author: BootstrapMade.com
* License: https://bootstrapmade.com/license/
*/

:root {
  --core-color1: #d4a413; 
  --core-color2: #efb810; 
  --core-color3: #f3c332; 
  --core-color4: #155db1; 
  --core-color5: #2196f3; 

  --core-bt: #16ec66;
  --core-bt2: #56fb93;
}





/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  font-family: "Open Sans", sans-serif;
  color: #112442;
}

a{
  color: #ff9300;
  text-decoration: none;
}

a:hover {
  color: #e82d2d;
  text-decoration: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: "Raleway", sans-serif;
}

.convocatoria,.programa,.ponencias,.galeria-moderna,.sponsors,.comite{
  padding-top: 20px;
}

/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  background: var(--core-color5);
  width: 40px;
  height: 40px;
  transition: all 0.4s;
}
.back-to-top i {
  font-size: 28px;
  color: #fff;
  line-height: 0;
}
.back-to-top:hover {
  background: var(--core-color2);
  color: #fff;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}


/* Efecto hover: cuando pasas el mouse encima */
.btn-regresar-custom:hover {
  color: #ff9300 !important; /* Cambia a naranja (o el color que quieras) al pasar el mouse */
  transform: translateY(-2px);
}


/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}

/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  top: 0;
  background: linear-gradient(135deg, var(--core-color1), var(--core-color2), var(--core-color3), var(--core-color4), var(--core-color5));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
  transition: all 0.5s;
  z-index: 999999;
  position: fixed;
  width: 100%;
  height: 70px;
}
#header.fixed-top {
  background :#112442; 
}
#header .logo {
  font-size: 30px;
  margin: 0;
  padding: 0;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}
#header .logo a {
  color: #fff;
}
#header .logo img{
  max-height: 60px;
  min-height: 40px;    /* Define un tamaño mínimo aceptable */
  width: auto;         /* Mantiene la proporción */
  flex-shrink: 0;      /* Evita que Flexbox aplaste la imagen si falta espacio */
  margin-right: 10px;
}

.scrolled-offset {
  margin-top: 70px;
}

/* Cuando la página baja, esta clase se suele activar por JS */
#header.header-scrolled {
  height: 55px;
}

/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
/**
* Desktop Navigation 
*/
.navbar #lang-es{
  background-color: var(--core-bt);
}
.navbar #lang-en{
  background-color: var(--core-color4);
}


.navbar {
  padding: 0;
}
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
}
.navbar > ul > li {
  margin-left: 5px;
}
.navbar a, .navbar a:focus {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 15px 24px 15px;
  font-size: 14px;
  color: white !important;
  font-weight: 600;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
  white-space: nowrap;
  transition: 0.3s;
}
.navbar a i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar a:hover {
  transform: translateY(-5px);
  transition: 0.3s;
}
.navbar .dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  background: #fff;
  box-shadow: 0px 0px 30px #112442;
  transition: 0.3s;
}
.navbar .dropdown ul li {
  min-width: 200px;
}
.navbar .dropdown ul a {
  padding: 10px 20px;
  color: #191919;
}
.navbar .dropdown ul a i {
  font-size: 12px;
}
.navbar .dropdown ul a:hover, .navbar .dropdown ul .active:hover, .navbar .dropdown ul li:hover > a {
  color: #fff;
}
.navbar .dropdown:hover > ul {
  opacity: 1;
  top: 100%;
  visibility: visible;
}
.navbar .dropdown .dropdown ul {
  top: 0;
  left: calc(100% - 30px);
  visibility: hidden;
}
.navbar .dropdown .dropdown:hover > ul {
  opacity: 1;
  top: 0;
  left: 100%;
  visibility: visible;
}

/* 1. Efecto de degradado para el texto de la pestaña activa */
.navbar .nav-link.active {
  /* Cambia estos dos colores hexadecimales por los que combinen con tu proyecto */
  background: linear-gradient(90deg, #007bff, #00d2ff); 
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: bold;
  position: relative; /* Necesario para poder posicionar la línea debajo */
}

/* 2. Creamos la línea (subrayado) con el mismo degradado */
.navbar .nav-link.active::after {
  content: '';
  position: absolute;
  /* El ancho se ajusta automáticamente, pero si tu enlace tiene "padding", 
     puedes cambiar left y width para que no se salga del texto. Ej: left: 10%; width: 80%; */
  left: 0;
  width: 100%;
  
  /* GROSOR Y ALTURA DE LA LÍNEA */
  height: 3px; /* Grosor de la línea */
  
  /* Ajusta este valor (puede ser negativo, ej: -2px o positivo ej: 5px) 
     para subir o bajar la línea y dejarla exactamente a la altura del texto */
  bottom: 15px; 

  background: linear-gradient(90deg, #007bff, #00d2ff); /* Mismo degradado */
  border-radius: 2px; /* Bordes ligeramente redondeados para que se vea más elegante */
}

/* 3. (Opcional) Efecto hover para que los demás enlaces también se vean bien al pasar el mouse */
.navbar .nav-link:hover {
  color: #007bff;
  transition: 0.3s ease-in-out;
}




@media (max-width: 992px) {
  .navbar .dropdown .dropdown ul {
    left: -90%;
  }
  .navbar .dropdown .dropdown:hover > ul {
    left: -100%;
  }
}

/**
* Mobile Navigation 
*/
.mobile-nav-toggle {
  color: #fff;
  font-size: 28px;
  cursor: pointer;
  display: none;
  line-height: 0;
  transition: 0.5s;
}
.mobile-nav-toggle.bi-x {
  color: #ff9300;
}

@media (max-width: 992px) {
  .mobile-nav-toggle {
    display: block;
  }

  .navbar ul {
    display: none;
  }

  /* 2. Ajustamos la linea a 0px para moviles*/
  .navbar .nav-link.active::after {
    
    /* GROSOR Y ALTURA DE LA LÍNEA */
    height: 2px; /* Grosor de la línea */
    
    /* Ajusta este valor (puede ser negativo, ej: -2px o positivo ej: 5px) 
      para subir o bajar la línea y dejarla exactamente a la altura del texto */
    bottom: 0px; 

    width: 40%; /* Aseguramos que la línea ocupe todo el ancho del enlace */

  }

}
.navbar-mobile {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  background: #112442;
  transition: 0.3s;
  z-index: 999;
}
.navbar-mobile .mobile-nav-toggle {
  position: absolute;
  top: 15px;
  right: 15px;
}
.navbar-mobile ul {
  display: block;
  position: absolute;
  top: 55px;
  right: 15px;
  bottom: 15px;
  left: 15px;
  padding: 10px 0;
  background-color: #000000;
  overflow-y: auto;
  transition: 0.3s;
}
.navbar-mobile a, .navbar-mobile a:focus {
  padding: 10px 20px;
  font-size: 15px;
  color: #191919;
}
.navbar-mobile a:hover, .navbar-mobile .active, .navbar-mobile li:hover > a {
  color: #ff9300;
  background: none;
}
.navbar-mobile .getstarted, .navbar-mobile .getstarted:focus {
  margin: 15px;
}
.navbar-mobile .dropdown ul {
  position: static;
  display: none;
  margin: 10px 20px;
  padding: 10px 0;
  z-index: 99;
  opacity: 1;
  visibility: visible;
  background: #fff;
  box-shadow: 0px 0px 30px #112442;
}
.navbar-mobile .dropdown ul li {
  min-width: 200px;
}
.navbar-mobile .dropdown ul a {
  padding: 10px 20px;
}
.navbar-mobile .dropdown ul a i {
  font-size: 12px;
}
.navbar-mobile .dropdown ul a:hover, .navbar-mobile .dropdown ul .active:hover, .navbar-mobile .dropdown ul li:hover > a {
  color: #ff9300;
}
.navbar-mobile .dropdown > .dropdown-active {
  display: block;
}



/*--------------------------------------------------------------
# Hero Section
--------------------------------------------------------------*/
#hero {
  margin-top: 40px;
  width: 100%;
  min-height: 110vh;
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url("../img/cic-fondo.jpg") top center;
  background-position: center center;
  background-size: cover;
  position:relative;
}
#hero h1 {
  margin: 0 0 10px 0;
  font-size: 48px;
  font-weight: 700;
  line-height: 56px;
  text-transform: uppercase;
  color: #fff;
}
#hero h2 {
  color: #eee;
  margin-bottom: 28px;
  font-size: 28px;
}
#hero .btn-get-started {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 10px 28px;
  transition: 0.5s;
  border: 2px solid #fff;
  color: #fff;
  background: var(--core-color2);
}
#hero .btn-get-started:hover {
  background: var(--core-color5);
  border-color: var(--core-color4);
}
@media (min-width: 1024px) {
  #hero {
    background-attachment: fixed;
  }
}
@media (max-width: 992px) {
  #hero {
    text-align: center;
  }
  #hero .container {
    padding-top: 40px;
  }
  #hero h1 {
    font-size: 28px;
    line-height: 36px;
  }
  #hero p{
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 30px;
  }
}

.ubication, .ubication a{
  margin-top: 3%;
  color:whitesmoke;
}
.ubication a:hover{
  color: #ff9300;
  text-decoration: none;
}


/*--------------------------------------------------------------
# Sections General
--------------------------------------------------------------*/
section {
  overflow: hidden;
  margin-top: 70px;
}

.section-title {
  text-align: center;
  position: relative;
}
.section-title h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  color: #191919;
  position: relative;
  z-index: 2;
}

.section-title p {
  margin-bottom: 0;
  position: relative;
  z-index: 2;
}
@media (max-width: 575px) {
  .section-title h2 {
    font-size: 28px;
    margin-bottom: 15px;
  }

}

.texto-inicio {
  padding-top: 10px;
  font-weight: 700;
  text-align: center;
  color: white ;

}
.texto-inicio-b {
  padding-top: 10px;
  font-weight: 700;
  font-size: 28px;
  text-align: center;
  color: white ;

}


/*--------------------------------------------------------------
# Diseño de las tablas
--------------------------------------------------------------*/

/* Contenedor Principal */
.table-responsive-container {
    overflow-x: auto;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    margin: 10px;
}

.table-core {
    width: 100%;
    border-collapse: collapse; /* Cambiado a collapse para una apariencia más firme */
    background-color: white;
}

/* Encabezado Principal */
.table-core thead {
    background: linear-gradient(90deg, var(--core-color4), var(--core-color5));
    color: white;
}

.table-core th {
    padding: 18px 20px;
    text-align: left;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-bottom: 3px solid var(--core-color1);
}

/* Separador de Días (Martes, Miércoles...) */
.row-day-header {
    background-color: var(--core-color4) !important;
    color: white !important;
}

.row-day-header td {
    padding: 15px 20px !important;
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
    border: none;
}

/* Bloques de Horario (Fijos en Amarillo) */
.row-block-header {
    background-color: var(--core-color2) !important;
    color: #000 !important;
}

.row-block-header td {
    padding: 12px 20px !important;
    font-weight: 700;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.block-badge {
    font-weight: 800;
    text-decoration: underline;
}

/* Filas de Contenido de Ponencias */
.row-content td {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    vertical-align: top;
}

.paper-title {
    font-size: 0.95rem;
    line-height: 1.5;
    color: #2c3e50;
    font-weight: 500;
}

/* Card General */
.card-ponencias {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
}

.card-ponencias .card-header {
    background-color: #fff;
    border-bottom: 2px solid var(--core-color4);
    padding: 15px;
}

.card-ponencias .card-title {
    color: var(--core-color4);
    font-weight: 700;
    margin: 0;
}


/*--------------------------------------------------------------
# Carrusel 
--------------------------------------------------------------*/

/* El carrusel principal ahora es el que manda sobre el tamaño */
.custom-carousel {
  width: 100%;
  max-width: 600px; /*  Aquí se ajusta el ancho máximo del carrusel */
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

/* El contenedor interno ya no necesita limitar el ancho, solo deja pasar la info*/
.image-wrapper-programaCore {
  position: relative;
  width: 100%;
} 

/* La imagen hereda el ancho, mantiene su proporción y NO se deforma ni se corta*/
.image-wrapper-programaCore img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain; /* Asegura que se respete la proporción original del flyer*/
} 





/* Controles pro */
.control-btn {
  background: var(--core-color2);
  color: #000;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel-control-prev, .carousel-control-next {
  width: 10%;
  opacity: 1;
}

/* Indicadores circulares modernos */
.carousel-indicators li {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background-color: var(--core-color5);
  margin: 0 5px;
}

.carousel-indicators .active {
  background-color: var(--core-color2);
}


/*--------------------------------------------------------------
# Botones de redes sociales
--------------------------------------------------------------*/

/* ==========================================
   ESTILOS CHIDOS PARA REDES SOCIALES CORE2026
   ========================================== */

/* Estilo base para todos los botones de redes */
.btn-facebook, .btn-instagram, .btn-youtube, .btn-twitter {
  background-color: transparent !important;
  border-radius: 50px !important; /* Forma de píldora súper estética */
  font-weight: 600;
  font-size: 0.95rem;
  letter-spacing: 0.3px;
  text-transform: uppercase; /* Formato formal de congreso */
  padding: 10px 24px !important;
  transition: all 0.35s cubic-bezier(0.25, 0.8, 0.25, 1) !important; /* Animación suave */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04);
}

/* Forzar que los textos internos hereden las transiciones */
.btn-facebook *, .btn-instagram *, .btn-youtube *, .btn-twitter * {
  transition: color 0.35s ease !important;
}

/* 1. ESTILO FACEBOOK */
.btn-facebook {
  border: 2px solid #1877F2 !important;
  color: #1877F2 !important;
}
.btn-facebook:hover {
  background-color: #1877F2 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(24, 119, 242, 0.4) !important;
  transform: translateY(-2px);
}
.btn-facebook:hover i {
  color: #ffffff !important; /* El icono cambia a blanco en hover */
}

/* 2. ESTILO INSTAGRAM */
.btn-instagram {
  border: 2px solid #E1306C !important;
  color: #E1306C !important;
}
.btn-instagram:hover {
  /* Al hacer hover se convierte en el gradiente clásico de Instagram */
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%) !important;
  border-color: transparent !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(225, 48, 108, 0.4) !important;
  transform: translateY(-2px);
}
.btn-instagram:hover i {
  color: #ffffff !important;
}

/* 3. ESTILO YOUTUBE */
.btn-youtube {
  border: 2px solid #ff0000 !important;
  color: #ff0000 !important;
}
.btn-youtube:hover {
  background-color: #ff0000 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(255, 0, 0, 0.4) !important;
  transform: translateY(-2px);
}
.btn-youtube:hover i {
  color: #ffffff !important;
}

/* 4. ESTILO X (TWITTER) */
.btn-twitter {
  border: 2px solid #000000 !important;
  color: #000000 !important;
}
.btn-twitter:hover {
  background-color: #000000 !important;
  color: #ffffff !important;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3) !important;
  transform: translateY(-2px);
}
.btn-twitter:hover i {
  color: #ffffff !important;
}

/* Efecto al hacer clic en cualquiera (Feedback táctil) */
.btn-facebook:active, .btn-instagram:active, .btn-youtube:active, .btn-twitter:active {
  transform: translateY(0);
  box-shadow: 0 2px 5px rgba(0,0,0,0.15) !important;
}

/*--------------------------------------------------------------
# Galería
--------------------------------------------------------------*/

.galeria-carousel {
  width: 100%;
  max-width: 900px; /* Se mantendrá al tamaño ideal de fotos de 700px */
  margin: 0 auto;
  border-radius: 10px;
  overflow: hidden;
}

/* Contenedor interno de las fotos de la galería */
.image-wrapper-galeria {
  position: relative;
  width: 100%;
  height: 410px; 
  overflow: hidden;
}

/* Formato para que las fotos de la galería no se deformen ni se pinchen */
.image-wrapper-galeria img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}



 

/*--------------------------------------------------------------
# About
--------------------------------------------------------------*/
.about .content h3 {
  font-weight: 600;
  font-size: 26px;
}
.about .content ul {
  list-style: none;
  padding: 0;
}
.about .content ul li {
  padding-bottom: 10px;
}
.about .content ul i {
  font-size: 20px;
  padding-right: 4px;
  color: #ff9300;
}
.about .content p:last-child {
  margin-bottom: 0;
}


.convocatoria h3{
  text-align: center;
  padding: 10px 30px 10px 30px;
  border: 1.5px dashed #ff9300;
}

.convocatoria .box{
  padding: 15px 5px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}

.convocatoria .box h5{
  color: #ed5b5b;
  text-align: center;
  border-bottom: 1.5px dashed #ed5b5b;
}

.conv-text{
  margin-top: 15px;
}

.button-center{
  text-align:center;
  padding-bottom: 5px;
}

.button-orange{
  background-color: #ff9300;
  border: none;
}

.button-orange:hover, .button-orange:active, .button-orange:focus{
  background-color: #e82d2d;
  border: none;
  box-shadow: none;
}




#topicModal .modal-body ul {
  list-style: none;
}

#topicModal .modal-body ul li::before{
  content: "\2022";
  color: #ff9300;
  font-weight: bold;
  display: inline-block;
  width: 1em;
  margin-left: -1em;
}



/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.why-us {
  padding-top: 10px;
}
.why-us .box {
  padding: 30px 10px;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
  transition: all ease-in-out 0.3s;
  margin-top: 20px;
}
.why-us .box i {
  display: block;
  font-size: 28px;
  font-weight: 700;
  color: #ed5b5b;
  text-align: center;
}
.why-us .box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  color: #191919;
  min-height: 56px;
  text-align: center;
}
.why-us .box p {
  color: #aaaaaa;
  font-size: 15px;
  margin: 0;
  padding: 0;
}
.why-us .box:hover {
  background: #ff9300;
  padding: 10px 30px 30px 30px;
  box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.18);
}
.why-us .box:hover i, .why-us .box:hover h4, .why-us .box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# Clients
--------------------------------------------------------------*/
.clients {
  background: #f2f2f2;
  padding: 15px 0;
  text-align: center;
}
.clients img {
  width: 50%;
  filter: grayscale(100);
  transition: all 0.4s ease-in-out;
  display: inline-block;
  padding: 15px 0;
}
.clients img:hover {
  filter: none;
  transform: scale(1.2);
}
@media (max-width: 768px) {
  .clients img {
    width: 40%;
  }
}

/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .icon-box {
  text-align: center;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
.services .icon-box .icon {
  margin: 0 auto;
  width: 64px;
  height: 64px;
  background: #ff9300;
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
}
.services .icon-box .icon i {
  color: #fff;
  font-size: 28px;
}
.text-justify {
  text-align: justify;
}
.services .icon-box .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  background: #fce5e5;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
}
.services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
}
.services .icon-box h4 a {
  color: #191919;
}
.services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}
.services .icon-box:hover {
  background: #ff9300;
  border-color: #ff9300;
  padding: 70px 20px 90px 20px;
}
.services .icon-box:hover .icon {
  background: #fff;
}
.services .icon-box:hover .icon i {
  color: #ff9300;
}
.services .icon-box:hover .icon::before {
  background: #e82d2d;
}
.services .icon-box:hover h4 a, .services .icon-box:hover p {
  color: #fff;
}

/*--------------------------------------------------------------
# Cta
--------------------------------------------------------------*/
.cta {
  background: linear-gradient(rgba(2, 2, 2, 0.5), rgba(0, 0, 0, 0.5)), url("../img/cta-bg.jpg") fixed center center;
  background-size: cover;
  padding: 120px 0;
}
.cta h3 {
  color: #fff;
  font-size: 28px;
  font-weight: 700;
}
.cta p {
  color: #fff;
}
.cta .cta-btn {
  font-family: "Raleway", sans-serif;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  padding: 10px 28px;
  transition: 0.5s;
  margin-top: 10px;
  border: 2px solid #fff;
  color: #fff;
}
.cta .cta-btn:hover {
  background: #ff9300;
  border: 2px solid #ff9300;
}

/*--------------------------------------------------------------
# Portfolio
--------------------------------------------------------------*/
.portfolio #portfolio-flters {
  padding: 0;
  margin: 0 auto 25px auto;
  list-style: none;
  text-align: center;
  border-radius: 50px;
}
.portfolio #portfolio-flters li {
  cursor: pointer;
  display: inline-block;
  padding: 10px 15px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-transform: uppercase;
  color: #444444;
  margin-bottom: 5px;
  transition: all 0.3s ease-in-out;
  font-family: "Poppins", sans-serif;
}
.portfolio #portfolio-flters li:hover, .portfolio #portfolio-flters li.filter-active {
  color: #e82d2d;
}
.portfolio #portfolio-flters li:last-child {
  margin-right: 0;
}
.portfolio .portfolio-item {
  margin-bottom: 30px;
}
.portfolio .portfolio-item .portfolio-info {
  opacity: 0;
  position: absolute;
  left: 30px;
  right: 30px;
  bottom: 0;
  z-index: 3;
  transition: all ease-in-out 0.3s;
  background: rgba(255, 255, 255, 0.9);
  padding: 15px;
}
.portfolio .portfolio-item .portfolio-info h4 {
  font-size: 18px;
  color: #fff;
  font-weight: 600;
  color: #191919;
}
.portfolio .portfolio-item .portfolio-info p {
  color: #4c4c4c;
  font-size: 14px;
  margin-bottom: 0;
}
.portfolio .portfolio-item .portfolio-info .preview-link, .portfolio .portfolio-item .portfolio-info .details-link {
  position: absolute;
  right: 40px;
  font-size: 24px;
  top: calc(50% - 18px);
  color: #333333;
}
.portfolio .portfolio-item .portfolio-info .preview-link:hover, .portfolio .portfolio-item .portfolio-info .details-link:hover {
  color: #ff9300;
}
.portfolio .portfolio-item .portfolio-info .details-link {
  right: 10px;
}
.portfolio .portfolio-item .portfolio-links {
  opacity: 0;
  left: 0;
  right: 0;
  text-align: center;
  z-index: 3;
  position: absolute;
  transition: all ease-in-out 0.3s;
}
.portfolio .portfolio-item .portfolio-links a {
  color: #fff;
  margin: 0 2px;
  font-size: 28px;
  display: inline-block;
  transition: 0.3s;
}
.portfolio .portfolio-item .portfolio-links a:hover {
  color: #e82d2d;
}
.portfolio .portfolio-item:hover .portfolio-info {
  opacity: 1;
  bottom: 20px;
}

/*--------------------------------------------------------------
# Talleres & Conferencias
--------------------------------------------------------------*/
/* ==========================================
   Banner de Notificación
   ========================================== */
.taller-notif-banner,
.conferencia-notif-banner {
  background: linear-gradient(90deg, #112442 0%, #155db1 100%);
  color: #ffffff;
  padding: 10px 0;
  font-size: 0.95rem;
  box-shadow: 0 2px 10px rgba(0,0,0,0.15);
}

.btn-notif-taller,
.btn-notif-conferencia {
  background-color: #efb810;
  color: #112442;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 20px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-notif-taller:hover,
.btn-notif-conferencia:hover {
  background-color: #ffffff;
  color: #112442;
  transform: translateY(-2px);
}

/* ==========================================
   Filtros de Talleres y Conferencias
   ========================================== */
.filtros-talleres,
.filtros-conferencias {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}

.filtro-btn {
  background-color: #f8f9fa;
  border: 1px solid #dee2e6;
  color: #495057;
  padding: 8px 18px;
  border-radius: 25px;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
}

.filtro-btn:hover, .filtro-btn.active {
  background-color: #155db1;
  color: #ffffff;
  border-color: #155db1;
  box-shadow: 0 4px 10px rgba(21, 93, 177, 0.25);
}

/* ==========================================
   Tarjetas e Imágenes
   ========================================== */
.taller-card,
.conferencia-card {
  border: 1px solid #e9ecef;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.taller-card:hover,
.conferencia-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
}

.taller-img-container,
.conferencia-img-container {
  position: relative;
  height: 180px;
  background-color: #e2e8f0;
  overflow: hidden;
}

.taller-img,
.conferencia-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.taller-card:hover .taller-img,
.conferencia-card:hover .conferencia-img {
  transform: scale(1.05);
}

.badge-lugar {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(17, 36, 66, 0.85);
  color: #ffffff;
  font-size: 0.75rem;
  padding: 4px 10px;
  border-radius: 12px;
  backdrop-filter: blur(4px);
  font-weight: 500;
}

.hora-badge-taller,
.hora-badge-conferencia {
  display: inline-block;
  background-color: #eef4ff;
  color: #155db1;
  font-weight: 600;
  font-size: 0.8rem;
  padding: 4px 10px;
  border-radius: 6px;
}

.btn-info-taller,
.btn-info-conferencia {
  border-radius: 8px;
  font-weight: 600;
}

.clickable-card {
  cursor: pointer;
}

.clickable-card:hover .btn-info-taller,
.clickable-card:hover .btn-info-conferencia {
  background-color: #0d6efd;
  color: #ffffff;
}

/* ==========================================
   Modales (tallerModal & conferenciaModal)
   ========================================== */
/* Limitar el ancho, margen superior para la navbar y tamaño compacto */
#tallerModal .modal-dialog,
#conferenciaModal .modal-dialog {
  max-width: 580px;
  margin: 1.75rem auto;
  margin-top: 100px !important; /* Desplaza hacia abajo para despejar la barra de navegación */
}

/* Reducir el padding interno para mantenerlo compacto */
#tallerModal .modal-header,
#tallerModal .modal-footer,
#conferenciaModal .modal-header,
#conferenciaModal .modal-footer {
  padding: 0.75rem 1.25rem;
}

#tallerModal .modal-body,
#conferenciaModal .modal-body {
  padding: 1rem 1.25rem;
  font-size: 0.95rem;
}

/* Scroll interno opcional para descripciones largas */
#tallerModal #modalDescripcion,
#conferenciaModal #confModalDescripcion {
  max-height: 160px;
  overflow-y: auto;
}

/* End Talleres & Conferencias */

/* ==========================================
   Modal de Conferencias de 2 Columnas
   ========================================== */
#conferenciaModal .modal-dialog {
  max-width: 850px; /* Modal más ancho para 2 columnas */
}

/* Badge de Hora Ultra Resaltado */
.modal-hora-destacada {
  background: linear-gradient(135deg, #155db1 0%, #112442 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(21, 93, 177, 0.3);
  border-left: 5px solid #efb810; /* Detalle amarillo brillante */
}

/* Ajuste de Imagen en columna izquierda */
#conferenciaModal #confModalImg {
  width: 100%;
  height: 100%;
  object-fit: contain !important; /* Muestra toda la imagen sin recortar */
  object-position: center;
}

/* Ajustes para pantallas pequeñas (Móviles) */
@media (max-width: 767.98px) {
  /* Permite que el contenedor ajuste su altura automáticamente */
  #conferenciaModal .col-md-5 {
    min-height: auto !important;
    height: auto !important;
    max-height: 280px; /* Limita la altura máxima en móviles */
    background-color: #0b1325;
  }

  #conferenciaModal #confModalImg {
    max-height: 280px;
    height: auto;
  }
}

/* ==========================================
   Ajustes Universales para Modales (Conferencias & Talleres)
   ========================================== */

/* 1. Backdrop (Fondo oscuro con efecto difuminado / blur) */
.modal-backdrop {
  z-index: 999999998 !important;
  backdrop-filter: blur(8px) !important; /* Aplica el desenfoque de fondo */
  -webkit-backdrop-filter: blur(8px) !important; /* Compatibilidad con Safari */
  background-color: rgba(17, 36, 66, 0.6) !important; /* Tono oscuro suave */
}

/* 2. Contenedor del Modal por encima del backdrop */
#conferenciaModal,
#tallerModal {
  z-index: 999999999 !important; /* z-index máximo solicitado */
  padding-right: 0 !important;
}

/* 3. Centrado perfecto en la ventana (Viewport) */
#conferenciaModal .modal-dialog,
#tallerModal .modal-dialog {
  max-width: 850px;
  width: 90%;
  margin: 0 auto !important;
  min-height: 100vh;
  display: flex !important;
  align-items: center !important; /* Centrado vertical */
  justify-content: center !important; /* Centrado horizontal */
}

#conferenciaModal .modal-content,
#tallerModal .modal-content {
  width: 100%;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3) !important;
}

/* 4. Columna de la Imagen: Ajuste de altura e imagen centrada */
#conferenciaModal .col-md-5 {
  min-height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #0b1325;
}

#conferenciaModal #confModalImg {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Badge de Hora Destacada */
.modal-hora-destacada {
  background: linear-gradient(135deg, #155db1 0%, #112442 100%);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  box-shadow: 0 4px 12px rgba(21, 93, 177, 0.25);
  border-left: 5px solid #efb810;
}


/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
.contact .info-box {
  color: #444444;
  text-align: center;
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 20px 0 30px 0;
}
.contact .info-box i {
  font-size: 32px;
  color: #ff9300;
  border-radius: 50%;
  padding: 8px;
  border: 2px dotted #f5a0a0;
}
.contact .info-box h3 {
  font-size: 20px;
  color: #777777;
  font-weight: 700;
  margin: 10px 0;
}
.contact .info-box p {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

contact .info-box a {
  padding: 0;
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
}

.contact .php-email-form {
  box-shadow: 0 0 30px rgba(214, 215, 216, 0.6);
  padding: 30px;
}
.contact .php-email-form .error-message {
  display: none;
  color: #fff;
  background: #ed3c0d;
  text-align: left;
  padding: 15px;
  font-weight: 600;
}
.contact .php-email-form .error-message br + br {
  margin-top: 25px;
}
.contact .php-email-form .sent-message {
  display: none;
  color: #fff;
  background: #18d26e;
  text-align: center;
  padding: 15px;
  font-weight: 600;
}
.contact .php-email-form .loading {
  display: none;
  background: #fff;
  text-align: center;
  padding: 15px;
}
.contact .php-email-form .loading:before {
  content: "";
  display: inline-block;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  margin: 0 10px -6px 0;
  border: 3px solid #18d26e;
  border-top-color: #eee;
  -webkit-animation: animate-loading 1s linear infinite;
  animation: animate-loading 1s linear infinite;
}
.contact .php-email-form input, .contact .php-email-form textarea {
  border-radius: 0;
  box-shadow: none;
  font-size: 14px;
}
.contact .php-email-form input::focus, .contact .php-email-form textarea::focus {
  background-color: #ff9300;
}
.contact .php-email-form input {
  padding: 10px 15px;
}
.contact .php-email-form textarea {
  padding: 12px 15px;
}
.contact .php-email-form button[type=submit] {
  background: #ff9300;
  border: 0;
  padding: 10px 24px;
  color: #fff;
  transition: 0.4s;
}
.contact .php-email-form button[type=submit]:hover {
  background: #e82d2d;
}
@-webkit-keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@keyframes animate-loading {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}


/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
  background: linear-gradient(to right, var(--core-color5), var(--core-color4));
  padding: 0 0 30px 0;
  color: #fff;
  font-size: 14px;
}
#footer .footer-top {
  padding: 60px 0 30px 0;
}
#footer .footer-top .footer-info {
  margin-bottom: 15px;
  background: #112442;;
  color: #fff;
  border-top: 4px solid #ff9300;
  text-align: center;
  padding: 30px 20px;
}
#footer .footer-top .footer-info h3 {
  font-size: 36px;
  margin: 0 0 20px 0;
  padding: 2px 0 2px 0;
  line-height: 1;
  font-weight: 700;
}
#footer .footer-top .footer-info p {
  font-size: 14px;
  line-height: 24px;
  margin-bottom: 0;
  font-family: "Raleway", sans-serif;
}
#footer .footer-top .social-links a {
  font-size: 18px;
  display: inline-block;
  background: #112442;;
  color: #fff;
  line-height: 1;
  padding: 8px 0;
  margin-right: 4px;
  border-radius: 50%;
  text-align: center;
  width: 36px;
  height: 36px;
  transition: 0.3s;
}
#footer .footer-top .social-links a:hover {
  background: #ff9300;
  color: #fff;
  text-decoration: none;
}
#footer .footer-top h4 {
  font-size: 16px;
  font-weight: 600;
  color: #fff;
  position: relative;
  padding-bottom: 12px;
}
#footer .footer-top .footer-links {
  margin-bottom: 30px;
}
#footer .footer-top .footer-links ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer .footer-top .footer-links ul i {
  padding-right: 2px;
  color: #ed5b5b;
  font-size: 18px;
  line-height: 1;
}
#footer .footer-top .footer-links ul li {
  padding: 10px 0;
  display: flex;
  align-items: center;
}
#footer .footer-top .footer-links ul li:first-child {
  padding-top: 0;
}
#footer .footer-top .footer-links ul a {
  color: #fff;
  transition: 0.3s;
  display: inline-block;
  line-height: 1;
}
#footer .footer-top .footer-links ul a:hover {
  color: #eb4444;
}
#footer .footer-top .footer-newsletter form {
  margin-top: 30px;
  background: #fff;
  padding: 6px 10px;
  position: relative;
  border-radius: 4;
}
#footer .footer-top .footer-newsletter form input[type=email] {
  border: 0;
  padding: 4px;
  width: calc(100% - 110px);
}
#footer .footer-top .footer-newsletter form input[type=submit] {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  border: 0;
  background: none;
  font-size: 16px;
  padding: 0 20px;
  background: #ff9300;
  color: #fff;
  transition: 0.3s;
  border-radius: 4;
}
#footer .footer-top .footer-newsletter form input[type=submit]:hover {
  background: #e82d2d;
}
#footer .copyright {
  border-top: 1px solid #262626;
  text-align: center;
  padding-top: 30px;
}
#footer .credits {
  padding-top: 5px;
  text-align: center;
  font-size: 13px;
  color: #fff;
}
#footer .credits a {
  color: #e82d2d;
}

.logo-footer{
  max-width: 150px;
}

@media (max-width: 575px) {
  #footer .footer-top .footer-info {
    margin: -20px 0 30px 0;
  }
}

.animated{
  -webkit-animation-duration: 2s;
  animation-duration: 2s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-delay: 300ms;
  animation-delay: 300ms;
  -webkit-animation-iteration-count: 10;
  animation-iteration-count: 10;
}

.animata-text{
  -webkit-animation-duration: 1s;
  animation-duration: 1s;
  -webkit-animation-fill-mode: both;
  animation-fill-mode: both;
  -webkit-animation-delay: 300ms;
  animation-delay: 300ms;
  -webkit-animation-iteration-count: 1;
  animation-iteration-count: 1;
}

@keyframes flash {
  0%, 50%, 100% {
    border-color: #ff9300;
    background: #ff9300;
  }
  25%, 75% {
    border-color: #ffffff;
    background: transparent;
  }
}

@keyframes flashing {
  0%, 50%, 100% {
    background: #ff9300;
  }
  25%, 75% {
    background: transparent;
  }
}

.flash {
  animation-name: flash;
}

.flashing {
  animation-name: flashing;
}

@media (max-width:992px) { 

  .table-cont{
    overflow-x: auto;
  }

  .limit-heigth {
    display: block;
    width: 992px;
 }
}


.foro-welcom{
  background-color: #45B39D !important;
}

.foro-foro{
  background-color: #85C1E9 !important;
}

.foro-magis{
  background-color: #82E0AA !important;
}

.foro-confe{
  background-color: #F9E79F !important;
}

.foro-cartel{
  background-color: #D7BDE2 !important;
}

.foro-end{
  background-color: #F5B7B1 !important;
}

.foro-ponen{
  background-color: #EDBB99 !important;
}


.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: rgba(0, 0, 0, 0.5);
  width: 50px;
  height: 50px;
}

.carousel-control-prev-icon {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 16 16"%3E%3Cpath d="M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z"/%3E%3C/svg%3E');
}

.carousel-control-next-icon {
  background-image: url('data:image/svg+xml,%3Csvg xmlns="http://www.w3.org/2000/svg" fill="%23fff" viewBox="0 0 16 16"%3E%3Cpath d="M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z"/%3E%3C/svg%3E');
}

/*Otros estilos*/

@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

.btn-language:hover {
  background-color: rgba(255, 255, 255, 0.2);
}

/* Estilos mejorados para los botones de idioma */
.language-selector {
  display: flex;
  align-items: center;
  margin-left: 15px;
}

.btn-language {
  padding: 8px 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 14px;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px;
  border-radius: 4px;
  margin: 0 2px;
  color: #fff;
  background-color: rgba(255, 255, 255, 0.1);
}

.btn-language i {
  font-size: 16px;
}

.btn-language.active {
  color: #fff;
  font-weight: bold;
  background-color: var(--core-color2);
}

.btn-language:hover {
  background-color: var(--core-color1);
  color: #333;
  transform: translateY(-2px);
}

/* Ajustes para móvil */
.navbar-mobile .language-selector {
  display: flex;
  justify-content: center;
  margin-top: 15px;
  margin-bottom: 10px;
}

@media (max-width: 768px) {
  .language-selector {
    margin-top: 10px;
  }
}

/* Estilo para la sección de programa y call for papers */
.programa {
  position: relative;
}

.programa .card {
  border: none;
  transition: all 0.3s;
  border-radius: 10px;
  overflow: hidden;
}

.programa .card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
}

.workshop-list {
  list-style: none;
  padding-left: 0;
  margin-top: 20px;
}

.workshop-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  text-align: left;
}

.workshop-list li::before {
  content: "\f560";
  font-family: "bootstrap-icons";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--core-color2);
  font-weight: bold;
}




/* Estilos para la sección de sponsors */
.sponsors {
  background-color: #f8f9fa;
  position: relative;
}

.sponsors-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px;
  margin: 40px 0;
  min-height: 150px;
}

.sponsors-placeholder {
  text-align: center;
  padding: 30px;
  background-color: rgba(255, 255, 255, 0.7);
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
  width: 100%;
}

.sponsors-icon {
  font-size: 48px;
  color: #ccc;
  margin-bottom: 15px;
}

.sponsor-logo {
  padding: 20px;
  text-align: center;
  transition: all 0.3s ease;
  background-color: white;
  border-radius: 10px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sponsor-logo img {
  max-width: 100%;
  height: auto;
  max-height: 100px;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.sponsor-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
  transform: scale(1.05);
}


/* ==========================================
   CARRUSEL COMPACTO Y TARJETAS RESPONSIVE
   ========================================== */

/* Animación de destello plateado continuo */
@keyframes silverShimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.sponsor-mini-card {
  width: 240px;
  background: #ffffff;
  border-radius: 16px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.06);
  transition: all 0.3s ease;
  flex-shrink: 0;
  position: relative;
  overflow: hidden;
}

/* Efecto plateado/metalizado dinámico en el fondo de todas las tarjetas */
.sponsor-mini-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    115deg, 
    transparent 20%, 
    rgba(255, 255, 255, 0.7) 40%, 
    rgba(200, 207, 216, 0.4) 50%, 
    transparent 80%
  );
  background-size: 200% 100%;
  animation: silverShimmer 4s infinite linear;
  pointer-events: none;
  z-index: 1;
}

.sponsor-mini-card > * {
  position: relative;
  z-index: 2;
}

/* Efecto Platino con borde redondeado y degradado azul-amarillo */
.featured-mini {
  width: 280px;
  border-radius: 16px !important;
  border: 3px solid transparent !important;
  background: 
    linear-gradient(180deg, #ffffff 0%, #f0f7ff 100%) padding-box, 
    linear-gradient(
      135deg, 
      var(--core-color4) 0%, 
      var(--core-color5) 55%, 
      var(--core-color3) 85%, 
      var(--core-color2) 100%
    ) border-box !important;
  transform: scale(1.08);
  box-shadow: 0 12px 30px rgba(21, 93, 177, 0.25) !important;
  z-index: 3;
  position: relative;
  overflow: hidden;
}

.badge-mini-plat {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(45deg, var(--core-color1), var(--core-color4));
  color: white;
  font-size: 0.65rem;
  font-weight: bold;
  padding: 3px 12px;
  border-radius: 10px;
}

/* Colores de bordes superiores */
.card-gold { border-top: 5px solid var(--core-color2); }
.card-silver { 
  border-top: 5px solid #a8b2b9; 
  background: linear-gradient(180deg, #ffffff 0%, #f4f6f8 100%);
}

.sponsor-icon-sm i {
  font-size: 2.2rem;
}

.card-gold .sponsor-icon-sm i { color: var(--core-color2); }
.card-silver .sponsor-icon-sm i { color: #7d8a96; }
.card-platinum .sponsor-icon-sm i {
  background: linear-gradient(45deg, var(--core-color1), var(--core-color4));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Botones de acción */
.btn-sponsor-gold {
  background: linear-gradient(45deg, var(--core-color1), var(--core-color3));
  color: #fff;
  font-weight: bold;
}

/* Botón Plata mejorado con acabado acero */
.btn-sponsor-silver {
  background: linear-gradient(45deg, #707c88, #b0bec5, #707c88);
  background-size: 200% auto;
  color: #fff;
  font-weight: bold;
  border: none;
  transition: 0.3s;
}

.btn-sponsor-silver:hover {
  background-position: right center;
  color: #fff;
}

.btn-sponsor-plat {
  background: linear-gradient(45deg, var(--core-bt), var(--core-color4));
  color: #fff;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(22, 236, 102, 0.4);
}

/* ESTILOS DE LA TABLA EN EL MODAL */
.custom-sponsor-table th.text-plat-header { color: #64b5f6; }
.custom-sponsor-table th.text-gold-header { color: var(--core-color3); }
.custom-sponsor-table th.text-silver-header { color: #cfd8dc; }

.custom-sponsor-table tbody tr:hover {
  background-color: rgba(33, 150, 243, 0.05);
}

/* ==========================================
   ADAPTABILIDAD RESPONSIVE (Móviles y Tablets)
   ========================================== */

@media (max-width: 991px) {
  .sponsor-carousel-container .d-flex {
    flex-wrap: wrap; /* Permite que las tarjetas bajen si no caben */
    gap: 1.5rem !important;
  }

  .sponsor-mini-card,
  .featured-mini {
    width: 100%;
    max-width: 320px; /* Tamaño uniforme en pantallas pequeñas */
    transform: none !important; /* Desactiva el escalado para no deformar layout */
  }

  .featured-mini {
    order: -1; /* Muestra Platino primero en pantallas pequeñas */
  }
}

@media (max-width: 576px) {
  .sponsor-carousel-container {
    padding-left: 10px;
    padding-right: 10px;
  }
  
  .sponsor-mini-card {
    max-width: 100%;
  }
}

.download-btn {
  padding: 12px 25px;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
  background-color: var(--core-color2);
  border-color: var(--core-color2);
  color: white;
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.download-btn:hover {
  background-color: var(--core-color1);
  border-color: var(--core-color1);
  color: #333;
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(230, 13, 49, 0.3);
}

.download-btn i {
  font-size: 1.2rem;
}

/* Estilos para la mascota */
/* Estilos para la mascota */
.mascot-container {
  position: absolute;
  bottom: 60px; /* Bajado un poco para dar más espacio arriba */
  right: 30px;
  z-index: 10;
  transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Nueva animación estilo catarina: balanceo, escala sutil y vibración */
  animation: ladybug-behavior 4s ease-in-out infinite;
}

.mascot-image {
  max-height: 240px; 
  width: auto;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
  transition: transform 0.3s ease;
}

.mascot-caption {
  background-color: rgba(255, 255, 255, 0.9); /* Un poco más opaco para mejor lectura */
  border-radius: 20px;
  padding: 6px 16px;
  position: absolute;
  /* Movido más abajo: se posiciona saliéndose del contenedor por debajo */
  left: 50%;
  transform: translateX(-50%); /* Centrado perfectamente respecto a la mascota */
  font-weight: bold;
  font-size: 14px;
  color: var(--core-color5);
  display: flex;
  flex-direction: column;
  align-items: center;
  white-space: nowrap; /* Evita que el texto se rompa en dos líneas si es largo */
  opacity: 0;
  transition: opacity 0.3s ease, bottom 0.3s ease;
}


.mascot-container:hover .mascot-image {
  filter: drop-shadow(0 12px 25px rgba(0, 0, 0, 0.35));
}

.mascot-container:hover .mascot-caption {
  opacity: 1;
}

@keyframes ladybug-behavior {
  0%, 100% {
    transform: translateY(0) rotate(0deg) scale(1);
  }
  20% {
    transform: translateY(-4px) rotate(-3deg) scale(1.02);
  }
  35% {
    /* Pequeña vibración rápida (aleteo/ajuste) */
    transform: translateY(-2px) rotate(3deg) scale(1);
  }
  40% {
    transform: translateY(-2px) rotate(-2deg) scale(1);
  }
  65% {
    transform: translateY(-8px) rotate(4deg) scale(1.03);
  }
  80% {
    transform: translateY(-3px) rotate(-1deg) scale(1.01);
  }
}


@media (max-width: 992px) {
  .mascot-container {
    position: relative;
    bottom: auto;
    right: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: ladybug-behavior 5s ease-in-out infinite; /* Más suave en móvil */
  }
  
  .mascot-image {
    max-height: 190px; /* Proporcionalmente más grande que antes */
  }
  
  .mascot-caption {
    position: relative;
    left: auto;
    transform: none;
    opacity: 1; /* Siempre visible en móviles ya que no hay hover */
  }
}


/* ==========================================
ESTILOS PRO PARA LA CUENTA REGRESIVA CORE
Basado en variables y tema principal
========================================== */

.countdown-card {
background: #ffffff;
border-radius: 12px;
box-shadow: 0px 5px 25px rgba(17, 36, 66, 0.1);
overflow: hidden;
transition: all 0.3s ease-in-out;
text-align: center;
border: 1px solid rgba(0,0,0,0.05);
}

.countdown-card:hover {
transform: translateY(-5px);
box-shadow: 0px 8px 30px rgba(17, 36, 66, 0.15);
}

.card-header-core {
padding: 25px 15px;
color: #ffffff;
}

.card-header-core.bg-talleres {
background: linear-gradient(135deg, var(--core-color4), var(--core-color5));
}

.card-header-core.bg-congreso {
background: linear-gradient(135deg, var(--core-color1), var(--core-color2));
}

.card-header-core h3 {
font-weight: 700;
font-size: 24px;
margin: 0 0 5px 0;
color: #ffffff;
text-transform: uppercase;
letter-spacing: 1px;
}

.card-header-core p {
margin: 0;
font-size: 15px;
font-weight: 600;
opacity: 0.9;
}

.card-body-core {
padding: 30px 20px;
background-color: #ffffff;
}

.countdown-grid {
display: flex;
justify-content: center;
gap: 15px;
flex-wrap: wrap;
}

.time-block {
display: flex;
flex-direction: column;
align-items: center;
min-width: 70px;
}

.digit-box {
background-color: #112442;
color: #ffffff;
font-size: 32px;
font-weight: 700;
width: 70px;
height: 70px;
border-radius: 10px;
display: flex;
justify-content: center;
align-items: center;
box-shadow: 0 4px 10px rgba(17, 36, 66, 0.2);
border-bottom: 4px solid var(--core-color2);
font-family: "Raleway", sans-serif;
}

/* Variación para el congreso (borde azul) */
.bg-congreso + .card-body-core .digit-box {
border-bottom: 4px solid var(--core-color4);
}

.unit-label {
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 1px;
color: #777777;
margin-top: 10px;
}

@media (max-width: 575px) {
.countdown-grid {
  gap: 10px;
}
.digit-box {
  width: 55px;
  height: 55px;
  font-size: 24px;
}
.time-block {
  min-width: 55px;
}
}

/* ==========================================
   NOTIFICACIÓN FLOTANTE EXPANDIBLE (HOVER)
   ========================================== */
.notificacion-cuenta {
  position: fixed;
  bottom: 25px;
  left: 25px;
  background-color: #ff9300; /* Naranja llamativo CORE */
  color: #ffffff !important;
  height: 50px;
  padding: 0 15px; /* Padding compacto para hacer un círculo/cuadrado redondeado */
  border-radius: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0; /* Sin espacio inicial porque el texto está oculto */
  z-index: 9998;
  text-decoration: none;
  box-shadow: 0 4px 15px rgba(255, 147, 0, 0.4);
  overflow: hidden;
  white-space: nowrap;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  /* Animación de entrada y latido constante */
  animation: slideInUpNotif 0.6s cubic-bezier(0.25, 0.8, 0.25, 1) forwards, pulseOrange 2s infinite;
}

.notificacion-cuenta .icon-reloj {
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* El texto inicia completamente oculto y colapsado */
.notificacion-cuenta .texto-notif {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  max-width: 0;
  opacity: 0;
  transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* EFECTO HOVER: Expansión del botón */
.notificacion-cuenta:hover {
  background-color: #e82d2d; /* Cambia a rojo al pasar el mouse */
  padding: 0 24px; /* Aumenta el padding a los lados */
  gap: 8px; /* Separa el icono del texto */
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(232, 45, 45, 0.5);
  animation: none; /* Detiene el latido mientras lo lees */
}

/* EFECTO HOVER: Aparición del texto */
.notificacion-cuenta:hover .texto-notif {
  max-width: 250px; /* Expande el contenedor para que quepa el texto */
  opacity: 1;
}

/* Efecto de latido para llamar la atención */
@keyframes pulseOrange {
  0% { box-shadow: 0 0 0 0 rgba(255, 147, 0, 0.7); }
  70% { box-shadow: 0 0 0 12px rgba(255, 147, 0, 0); }
  100% { box-shadow: 0 0 0 0 rgba(255, 147, 0, 0); }
}

/* Animación de entrada desde abajo */
@keyframes slideInUpNotif {
  from {
    transform: translateY(100px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Ajustes para móviles (Se mantiene a la izquierda para que la animación de expansión hacia la derecha se vea natural al tocarlo) */
@media (max-width: 768px) {
  .notificacion-cuenta {
    bottom: 20px;
    left: 20px; 
  }
}


/* Tiktok section------------------------------*/

/* ==========================================
   1. ENCABEZADO BRILLANTE
   ========================================== */
.tiktok-header-glow {
  text-align: center;
  margin-bottom: 25px;
}

.tiktok-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #111111;
  color: #25f4ee;
  padding: 5px 16px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.glow-title {
  font-size: 2.2rem;
  font-weight: 800;
  color: #111111;
  margin: 0;
}

.core-gradient {
  background: linear-gradient(135deg, #00d2ff 0%, #ff0050 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: inline-block;
}

.glow-subtitle {
  color: #666666;
  font-size: 0.9rem;
  margin-top: 4px;
}

/* ==========================================
   2. TARJETAS CENTRADAS Y OVERLAY
   ========================================== */
.tiktok-carousel-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
  padding: 10px 0;
}

.tiktok-thumb-card {
  min-width: 180px;
  width: 180px;
  height: 290px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  background: #111111;
  border: 3px solid #ffffff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  flex-shrink: 0;
}

.tiktok-thumb-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.3);
}

.thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.thumb-skeleton {
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, #1a1a1a 25%, #2a2a2a 50%, #1a1a1a 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

.thumb-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 40px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, rgba(0,0,0,0.4) 60%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: 3px;
  z-index: 5;
  pointer-events: none;
}

.views-count {
  color: #ffffff !important;
  font-weight: 700;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.video-title-preview {
  color: rgba(255, 255, 255, 0.8) !important;
  font-size: 0.75rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* ==========================================
   Comité
   ========================================== */


/* Member Cards Grid */
.area-title {
  font-size: 20px;
  font-weight: 700;
  color: var(--core-color4);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 20px;
  padding-bottom: 8px;
  border-bottom: 2px dashed #cbd5e1;
}

.member-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 20px;
  border: 1px solid var(--core-border-light);
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.03);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
}

.member-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 28px rgba(33, 150, 243, 0.12);
  border-color: #93c5fd;
}

.member-card.highlighted {
  border: 2px solid var(--core-color5);
  box-shadow: 0 0 20px rgba(33, 150, 243, 0.3);
  background: #f0f9ff;
}

.member-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.member-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--core-color5);
  background-color: #f1f5f9;
}

.member-info h4 {
  font-size: 16px;
  font-weight: 700;
  margin: 0 0 2px 0;
  color: var(--core-text-main);
}

.member-info span {
  font-size: 13px;
  color: var(--core-text-muted);
  display: block;
}

.badge-tag {
  display: inline-block;
  padding: 3px 10px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 20px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: auto;
}

.bg-area-presidencia { background: rgba(212, 164, 19, 0.15); color: #856404; }
.bg-area-finanzas { background: rgba(22, 236, 102, 0.15); color: #0f766e; }
.bg-area-redes { background: rgba(239, 184, 16, 0.2); color: #92400e; }
.bg-area-editorial { background: rgba(21, 93, 177, 0.12); color: #1e3a8a; }
.bg-area-logistica { background: rgba(33, 150, 243, 0.12); color: #0369a1; }
.bg-area-web { background: rgba(147, 51, 234, 0.12); color: #6b21a8; }

.filter-btn {
  border-radius: 20px;
  padding: 6px 16px;
  font-size: 13px;
  font-weight: 600;
  transition: all 0.2s;
  border: 1px solid var(--core-border-light);
  background: #fff;
  color: var(--core-text-muted);
}

.filter-btn:hover, .filter-btn.active {
  background: linear-gradient(135deg, var(--core-color4), var(--core-color5));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 12px rgba(33, 150, 243, 0.25);
}


/* ==========================================
   Estilos para Patrocinadores (Sponsors)
   ========================================== */
.sponsors-container {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.sponsors-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 30px; /* Espacio entre los logos */
}

/* Aumentamos el tamaño de la tarjeta contenedora */
.sponsor-item {
  background: #ffffff;
  border: 1px solid #e9ecef;
  border-radius: 12px;
  padding: 15px 25px; /* Reducimos el padding interno para darle más espacio al logo */
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
  width: 240px;  /* Aumentado de 200px a 240px */
  height: 120px; /* Aumentado de 100px a 120px */
}


.sponsor-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
  border-color: #155db1;
}

/* Aumentamos el tamaño máximo permitido para la imagen */
.sponsor-logo {
  max-width: 100%;
  max-height: 80px; /* Aumentado de 50px a 80px para que el logo resalte más */
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.8;
  transition: all 0.3s ease;
}

.sponsor-item:hover .sponsor-logo {
  filter: grayscale(0%); /* El logo recupera su color al pasar el cursor */
  opacity: 1;
}


/* ==========================================
   Estilos Optimizados para Modal de Papers
   ========================================== */

/* 1. Forzar que el modal y sus elementos internos reciban clics siempre */
#papersModal {
  z-index: 999999999 !important;
  pointer-events: auto !important;
}

#papersModal .modal-dialog {
  z-index: 1000000000 !important;
  pointer-events: auto !important;
}

/* 2. Asegurar que los botones del carrusel y de descarga sean clickeables */
#papersModalCarousel .carousel-control-prev,
#papersModalCarousel .carousel-control-next,
#papersModalCarousel .btn {
  z-index: 1000000001 !important;
  pointer-events: auto !important;
  cursor: pointer !important;
}

/* 3. Altura fija únicamente para los elementos slide del carrusel de papers */
#papersModal #papersModalCarousel .carousel-item {
  height: 450px !important;
  background-color: #0b1325 !important;
  position: relative !important;
}

/* 4. Forzar que la imagen cubra todo el espacio sin excepciones */
#papersModal #papersModalCarousel .carousel-item > img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center !important;
}

/* 5. Botón de descarga flotante */
.paper-download-btn {
  position: absolute !important;
  bottom: 20px !important;
  right: 20px !important;
  background: rgba(17, 36, 66, 0.85) !important;
  color: #ffffff !important;
  padding: 8px 16px !important;
  border-radius: 20px !important;
  font-size: 0.85rem !important;
  font-weight: 600 !important;
  backdrop-filter: blur(4px) !important;
  z-index: 10 !important;
  text-decoration: none !important;
  transition: all 0.3s ease !important;
  box-shadow: 0 4px 10px rgba(0,0,0,0.3) !important;
}

.paper-download-btn:hover {
  background: #155db1 !important;
  color: #ffffff !important;
  transform: translateY(-2px) !important;
}