        :root {
            --edutic-blue: #5F83E8;
            --edutic-orange: #DC4711;
            --edutic-dark: #1D3557;
            --edutic-yellow:  #FFC107;
        }

        body {
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        .navbar {
            background: var(--edutic-blue);
        }


         .navbar-brand {
  display: flex;
  align-items: center;
}

.logo {
  height: 50px; /* Ajusta según necesites */
  width: auto;
  margin-right: 15px;
}

.display-2{
   font-size: 2.6rem;
}
.navbar-dark{
    background-color: var(--edutic-dark);
}
.nav-link{
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
}
.nav-link:hover{
    color:var(--edutic-yellow);
}
        .hero-section {
            background: var(--edutic-blue);
            color: white;
            padding: 120px 0 80px;
            position: relative;
            overflow: hidden;
        }

        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background-image: url('https://images.unsplash.com/photo-1540575467063-178a50c2df87?w=1600');
            background-size: cover;
            background-position: center;
            opacity: 0.15;
        }

        .bagde-dark {
            background-color: color-mix(in srgb, var(--edutic-dark) 80%, transparent);
            border-radius: 50px;
            backdrop-filter: blur(10px);
        }
        .bagde-yellow {
            background-color: var(--edutic-yellow);
             color: var(--edutic-dark);
            font-weight: 700;
            font-size: 0.95rem;
            border-radius: 50px;

        }


        .hero-content {
            position: relative;
            z-index: 1;
        }

        .edition-badge {
            background: rgba(255, 255, 255, 0.2);
            backdrop-filter: blur(10px);
            border: 2px solid rgba(255, 255, 255, 0.3);
            display: inline-block;
            padding: 8px 24px;
            border-radius: 50px;
            font-weight: 600;
            margin-bottom: 20px;
        }

        .countdown-box {
            background: rgba(255, 255, 255, 0.1);
            backdrop-filter: blur(10px);
            border: 1px solid rgba(255, 255, 255, 0.2);
            border-radius: 15px;
            padding: 20px;
        }

        .countdown-number {
            font-size: 3rem;
            font-weight: 700;
            color: var(--edutic-yellow);
        }

        .theme-card {
            transition: all 0.3s;
            border: 1px solid #e9ecef;
            background: white;
        }

        .theme-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 10px 30px rgba(95, 131, 232, 0.2);
            border-color: var(--edutic-blue);
        }

        .theme-icon {
            width: 70px;
            height: 70px;
            background: var(--edutic-blue);
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            color: white;
            margin-bottom: 20px;
        }

        .speaker-card {
            transition: all 0.3s;
            border: none;
            overflow: hidden;
        }

        .speaker-card:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
        }

        .speaker-img {
            width: 100%;
            height: 300px;
            object-fit: cover;
        }

        .stat-card {
            background: var(--edutic-blue);
            color: white;
            border-radius: 15px;
            padding: 30px;
            text-align: center;
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
        }

        .announcement-card {
            background: #fff9f5;
            border: 2px solid var(--edutic-orange);
            border-radius: 15px;
            padding: 30px;
            height: 100%;
        }

        .btn-edutic-primary {
            background: var(--edutic-blue);
            border: none;
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-edutic-primary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(95, 131, 232, 0.4);
            background: #4a6fd6;
            color: white;
        }

        .btn-edutic-secondary {
            background: var(--edutic-orange);
            border: none;
            color: white;
            padding: 12px 30px;
            border-radius: 50px;
            font-weight: 600;
            transition: all 0.3s;
        }

        .btn-edutic-secondary:hover {
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(220, 71, 17, 0.4);
            background: #c33d0e;
            color: white;
        }

        .sponsor-logo {
            height: 80px;
            object-fit: contain;
            filter: grayscale(100%);
            opacity: 0.7;
            transition: all 0.3s;
        }

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

        .timeline-item {
            border-left: 3px solid var(--edutic-blue);
            padding-left: 30px;
            position: relative;
            margin-bottom: 30px;
        }

        .timeline-item::before {
            content: '';
            position: absolute;
            left: -8px;
            top: 0;
            width: 15px;
            height: 15px;
            background: var(--edutic-orange);
            border-radius: 50%;
        }

     footer {
      background-color: var(--edutic-dark);
      color: #e5e7eb;
      padding: 2.5rem 0 1.5rem;
      font-size: 0.9rem;
    }

    footer a {
      color: #cbd5f5;
      text-decoration: none;
    }

    footer a:hover {
      color: #fff;
      text-decoration: underline;
    }

        .university-logo {
            height: 60px;
            object-fit: contain;
            margin: 10px;
        }

/* ==================================================
CARRUSEL NOTICIAS
================================================== */

.news-ticker {
  background: linear-gradient(90deg, var(--edutic-dark) 0%, var(--edutic-dark) 100%);
  padding: 16px 0;
  color: white;
  overflow: hidden;
  border-bottom: 3px solid var(--edutic-orange);
}

.news-ticker-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.news-ticker-wrapper {
  display: flex;
  align-items: center;
  gap: 20px;
  justify-content: space-between;
}

.news-ticker-icon {
  font-size: 1.4rem;
  flex-shrink: 0;
  animation: newsPulse 2s ease-in-out infinite;
}

@keyframes newsPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.1); }
}

.news-ticker-main {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-width: 800px;
}

.news-ticker-content {
  position: relative;
  height: 28px;
  overflow: hidden;
}

.news-ticker-item {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.6s ease;
  font-size: 1rem;
  line-height: 28px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.news-ticker-item.active {
  opacity: 1;
  transform: translateY(0);
}

.news-ticker-item .fecha {
  color: var(--edutic-orange);
  font-weight: 700;
  margin-right: 8px;
}

/* Indicadores de puntos */
.news-ticker-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  align-items: center;
}

.news-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.news-dot:hover {
  background: rgba(255, 255, 255, 0.5);
  transform: scale(1.2);
}

.news-dot.active {
  background: var(--edutic-orange);
  width: 24px;
  border-radius: 4px;
}

.news-dot.active::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  background: #fff;
  border-radius: 4px;
  width: 0%;
  animation: newsProgress 5s linear;
}

@keyframes newsProgress {
  0% { width: 0%; }
  100% { width: 100%; }
}

/* Controles de navegación */
.news-ticker-controls {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.news-ticker-btn {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: white;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.news-ticker-btn:hover {
  background: color-mix(in srgb, var(--edutic-orange) 40%, transparent);
  border-color: var(--edutic-orange);
  transform: scale(1.1);
}

.news-ticker-btn:active {
  transform: scale(0.95);
}

.news-ticker-link {
  color: var(--edutic-orange);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  flex-shrink: 0;
  transition: all 0.3s ease;
  padding: 6px 16px;
  border-radius: 20px;
  border: 1px solid color-mix(in srgb, var(--edutic-orange) 40%, transparent);
  background: color-mix(in srgb, var(--edutic-orange) 10%, transparent);
  white-space: nowrap;
}

.news-ticker-link:hover {
  background: color-mix(in srgb, var(--edutic-orange) 20%, transparent);
  border-color: var(--edutic-orange);
  transform: translateX(3px);
}

/* Responsive */
@media (max-width: 968px) {
  .news-ticker-link {
    display: none;
  }
}

@media (max-width: 768px) {
  .news-ticker {
    padding: 14px 0;
  }

  .news-ticker-wrapper {
    gap: 12px;
  }

  .news-ticker-icon {
    font-size: 1.2rem;
  }

  .news-ticker-item {
    font-size: 0.9rem;
    line-height: 24px;
  }

  .news-ticker-content {
    height: 24px;
  }

  .news-ticker-controls {
    gap: 6px;
  }

  .news-ticker-btn {
    width: 32px;
    height: 32px;
  }
}

@media (max-width: 480px) {
  .news-ticker-controls {
    display: none;
  }

  .news-ticker-item {
    font-size: 0.85rem;
  }

  .news-dot {
    width: 6px;
    height: 6px;
  }

  .news-dot.active {
    width: 18px;
  }
}

/* Contenedor de controles e indicadores Universidades*/
.carrusel-educacion{
    background-color: var(--edutic-blue);
}

.uni-controls-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
    flex-wrap: wrap;
}

/* Estilos de los puntos indicadores */
.carousel-indicators-custom {
    position: static !important;
    margin: 0 !important;
    display: flex;
    gap: 8px;
}

.carousel-indicators-custom button {
    width: 8px !important;
    height: 8px !important;
    border-radius: 50% !important;
    background: rgba(255, 255, 255, 0.4) !important;
    border: none !important;
    opacity: 1 !important;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 !important;
    padding: 0 !important;
    position: relative;
}

.carousel-indicators-custom button:hover {
    background: rgba(255, 255, 255, 0.6) !important;
    transform: scale(1.2);
}

/* Punto activo expandido con barra de progreso */
.carousel-indicators-custom button.active {
    width: 24px !important;
    height: 8px !important;
    border-radius: 4px !important;
    background: rgba(255, 255, 255, 0.8) !important;
}

.carousel-indicators-custom button.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    background: var(--edutic-orange);
    border-radius: 4px;
    width: 0%;
    animation: uniCarouselProgress 5s linear;
}

@keyframes uniCarouselProgress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Botones de navegación juntos */
.uni-nav-controls {
    display: flex;
    gap: 8px;
}

.uni-control-btn {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.uni-control-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.uni-control-btn:active {
    transform: scale(0.95);
}

/* Link Ver todas */
.uni-ver-todas {
    color: white;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 6px 16px;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
    white-space: nowrap;
}

.uni-ver-todas:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    color: white;
    transform: translateX(3px);
}

/* Responsive */
@media (max-width: 968px) {
    .uni-ver-todas {
        display: none;
    }
}

@media (max-width: 768px) {
    .uni-controls-wrapper {
        margin-top: 10px;
        gap: 15px;
    }

    .carousel-indicators-custom button {
        width: 6px !important;
        height: 6px !important;
    }

    .carousel-indicators-custom button.active {
        width: 18px !important;
        height: 6px !important;
    }

    .uni-control-btn {
        width: 32px;
        height: 32px;
    }

    .uni-control-btn svg {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 576px) {
    .uni-controls-wrapper {
        flex-direction: column-reverse;
    }

    .uni-nav-controls {
        order: -1;
    }
}
