<!-- start Simple Custom CSS and JS -->
<style type="text/css">
/* ==========================================================
   programas.css — Estilos base para TODAS las páginas de programas
   Se integra visualmente con styles.css (tema global)
   ========================================================== */

/* Inherit variables from styles.css :root */
body {
  background: linear-gradient(180deg, #ffffff 0%, #f6f8fc 100%);
}

/* Hero específico del programa con overlay */
.program-hero {
  position: relative;
  min-height: 320px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
  background-position: center;
}

.program-hero .hero-overlay {
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(0,0,0,0.45) 0%, rgba(0,0,0,0.75) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  box-sizing: border-box;
}

.program-hero .hero-content {
  text-align: center;
  color: #fff;
  max-width: 900px;
  animation: fadeInUp 0.8s ease both;
}

.program-hero .hero-badge {
  background: var(--amarillo);
  color: var(--azul-principal);
  display: inline-block;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-weight: 600;
  margin-bottom: 0.8rem;
}

.program-hero h1 {
  font-size: clamp(1.8rem, 4vw, 2.6rem);
  font-weight: 800;
  margin: 0.2rem 0 0.4rem;
}

.program-hero .hero-sub {
  font-size: 1rem;
  opacity: 0.95;
}

/* Contenedor principal del cuerpo */
.container.program-body {
  max-width: 1200px;
  margin: 2rem auto;
  padding: 2.5rem 2rem;
  background: #fff;
  border-radius: 16px;
  box-shadow: var(--sombra-media);
}

/* Secciones con alternancia sutil */
.program-body .section {
  margin-bottom: 2rem;
}

.program-body .section:nth-child(even) {
  background: var(--gris-claro);
  border-radius: 12px;
  padding: 2rem;
}

.program-body .section:nth-child(odd) {
  background: #fff;
  padding: 2rem;
  border-radius: 12px;
}

/* Títulos y subtítulos */
.program-body .section h2 {
  color: var(--azul-principal);
  font-size: 1.7rem;
  margin-bottom: 0.8rem;
  border-left: 6px solid var(--azul-principal);
  padding-left: 12px;
}

.program-body .section h3 {
  color: var(--azul-hover);
  font-size: 1.2rem;
  margin: 1rem 0 0.5rem;
}

/* Listas de puntos legibles */
.plist {
  margin-left: 1.2rem;
  list-style: disc;
  line-height: 1.7;
}

/* Tablas informativas */
.table-wrap { overflow-x: auto; margin: 1rem 0; }

.info-table, .plan-table, .contact-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--sombra-suave);
}

.info-table thead th, .plan-table thead th {
  background: var(--azul-principal);
  color: #fff;
  text-align: left;
  padding: 0.9rem 0.8rem;
}

.info-table tbody td, .plan-table tbody td, .contact-table td {
  border-bottom: 1px solid #eaeaea;
  padding: 0.8rem;
}

.info-table tbody tr:nth-child(even),
.plan-table tbody tr:nth-child(even) {
  background: #f8faff;
}

.plan-table tbody tr:hover, .info-table tbody tr:hover {
  background: #eef2ff;
  transition: var(--transicion);
}

.note { font-size: 0.9rem; color: #555; font-style: italic; }

@media (max-width: 900px) {
  .container.program-body { padding: 1.25rem; }
  .program-hero { min-height: 240px; }
}

 .proyectos-carousel-wrapper {
      position: relative;
      padding: 2rem 0;
    }

    .proyectos-carousel {
      display: flex;
      gap: 2rem;
      overflow-x: hidden;
      scroll-behavior: smooth;
      padding: 1rem;
    }

    .proyecto-card {
      min-width: 500px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      position: relative;
      background: #000;
    }

    .proyecto-card:hover {
      transform: translateY(-10px) scale(1.02);
      box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    }

    .proyecto-card img {
      width: 100%;
      height: 400px;
      object-fit: cover;
      transition: transform 0.3s ease;
      display: block;
    }

    .proyecto-card:hover img {
      transform: scale(1.1);
    }

    .proyecto-card video {
      width: 100%;
      height: 400px;
      object-fit: cover;
      display: block;
    }

    .carousel-controls {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 3rem;
    }

    .control-btn {
      width: 60px;
      height: 60px;
      border-radius: 50%;
      background: white;
      border: none;
      color: #667eea;
      font-size: 1.5rem;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
      transition: all 0.3s ease;
    }

    .control-btn:hover {
      background: #667eea;
      color: white;
      transform: scale(1.1);
      box-shadow: 0 6px 30px rgba(102, 126, 234, 0.4);
    }

    .control-btn:active {
      transform: scale(0.95);
    }

    .carousel-indicators {
      display: flex;
      justify-content: center;
      gap: 0.5rem;
      margin-top: 2rem;
    }

    .indicator {
      width: 12px;
      height: 12px;
      border-radius: 50%;
      background: rgba(255, 255, 255, 0.4);
      cursor: pointer;
      transition: all 0.3s ease;
    }

    .indicator.active {
      background: white;
      width: 40px;
      border-radius: 6px;
    }

    @media (max-width: 768px) {
      .section-header h2 {
        font-size: 2rem;
      }

      .proyecto-card {
        min-width: 320px;
      }

      .proyecto-card img,
      .proyecto-card video {
        height: 300px;
      }

      .control-btn {
        width: 50px;
        height: 50px;
        font-size: 1.2rem;
      }
    }


/* ===== SECCIÓN DE PROYECTOS ESTUDIANTILES ===== */
.proyectos-estudiantiles {
  padding: 5rem 2rem;
  background: white; /* Fondo blanco */
  position: relative;
  overflow: hidden;
}

.proyectos-estudiantiles::before {
  display: none; /* Sin textura de fondo */
}

.proyectos-container {
  max-width: 1400px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
}

.proyectos-header {
  text-align: center;
  margin-bottom: 4rem;
  color: #003399; /* Azul */
}

.proyectos-badge {
  display: inline-block;
  background: #003399; /* Azul */
  color: #ffffff; /* Blanco */
  padding: 0.5rem 1.5rem;
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 1rem;
  box-shadow: 0 4px 15px rgba(0, 51, 153, 0.3);
}

.proyectos-header h2 {
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 1rem;
  color: #003399; /* Azul */
  text-shadow: none;
}

.proyectos-header p {
  font-size: 1.2rem;
  opacity: 0.95;
  max-width: 600px;
  margin: 0 auto;
  color: #003399; /* Azul */
}

/* ===== GALERÍA ===== */
.proyectos-galeria-wrapper {
  position: relative;
  padding: 2rem 0;
}

.proyectos-galeria {
  display: flex;
  gap: 2rem;
  overflow-x: hidden;
  scroll-behavior: smooth;
  padding: 1rem;
}

.proyecto-item {
  min-width: 500px;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
  background: #000;
  flex-shrink: 0;
  border: 3px solid transparent;
}

.proyecto-item:hover {
  transform: translateY(-10px) scale(1.02);
  box-shadow: 0 30px 80px rgba(255, 204, 0, 0.4);
  border-color: #FFCC00;
}

.proyecto-item img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.proyecto-item:hover img {
  transform: scale(1.1);
}

.proyecto-item video {
  width: 100%;
  height: 400px;
  object-fit: cover;
  display: block;
}

/* ===== BOTONES DE CONTROL ===== */
.proyectos-controles {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.proyecto-btn-prev,
.proyecto-btn-next {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #003399; /* Azul principal */
  border: none;
  color: white; /* Flechas blancas */
  font-size: 1.5rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 10;
  position: relative;
  font-weight: bold;
}

.proyecto-btn-prev:hover,
.proyecto-btn-next:hover {
  background: #0044cc; /* Azul más claro */
  transform: scale(1.1);
  box-shadow: 0 6px 30px rgba(0, 68, 204, 0.5);
}

.proyecto-btn-prev:active,
.proyecto-btn-next:active {
  transform: scale(0.95);
  background: #001f66; /* Azul oscuro al presionar */
}

.proyecto-btn-prev:focus,
.proyecto-btn-next:focus {
  outline: 3px solid rgba(0, 51, 153, 0.4);
  outline-offset: 2px;
}

/* ===== INDICADORES (AMARILLOS) ===== */
.proyectos-indicadores {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 2rem;
}

.proyecto-indicador {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 204, 0, 0.4); /* Amarillo tenue */
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.proyecto-indicador:hover {
  background: rgba(255, 204, 0, 0.7);
}

.proyecto-indicador.activo {
  background: #FFCC00; /* Amarillo brillante */
  width: 40px;
  border-radius: 6px;
  box-shadow: 0 2px 10px rgba(255, 204, 0, 0.5);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .proyectos-estudiantiles {
    padding: 4rem 1rem;
  }

  .proyectos-header h2 {
    font-size: 2rem;
  }

  .proyectos-header p {
    font-size: 1rem;
  }

  .proyecto-item {
    min-width: 320px;
  }

  .proyecto-item img,
  .proyecto-item video {
    height: 300px;
  }

  .proyecto-btn-prev,
  .proyecto-btn-next {
    width: 50px;
    height: 50px;
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .proyecto-item {
    min-width: 280px;
  }

  .proyecto-item img,
  .proyecto-item video {
    height: 250px;
  }
}

/* ===== ANIMACIÓN DE ENTRADA ===== */
@keyframes fadeInUpProyectos {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.proyecto-item {
  animation: fadeInUpProyectos 0.6s ease backwards;
}

.proyecto-item:nth-child(1) { animation-delay: 0.1s; }
.proyecto-item:nth-child(2) { animation-delay: 0.2s; }
.proyecto-item:nth-child(3) { animation-delay: 0.3s; }
.proyecto-item:nth-child(4) { animation-delay: 0.4s; }
.proyecto-item:nth-child(5) { animation-delay: 0.5s; }
.proyecto-item:nth-child(6) { animation-delay: 0.6s; }

</style>
<!-- end Simple Custom CSS and JS -->
