<!-- start Simple Custom CSS and JS -->
<style type="text/css">
    :root {
      --azul-principal: #003399;
      --azul-hover: #0044bb;
      --azul-claro: #e6f0ff;
      --amarillo: #FFCC00;
      --amarillo-hover: #ffd633;
      --gris-claro: #f8f9fa;
	  --verde: #28a745;
      --morado: #6f42c1;
     --naranja: #fd7e14;
	--rosa: #e83e8c;
      --texto: #2c3e50;
      --texto-suave: #64748b;
      --blanco: #ffffff;
      --sombra-suave: 0 2px 8px rgba(0,0,0,0.08);
      --sombra-media: 0 10px 25px rgba(0,0,0,0.1);
      --sombra-fuerte: 0 20px 40px rgba(0,0,0,0.15);
      --transicion: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    }

    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    html {
      scroll-behavior: smooth;
    }

    body {
      font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
      line-height: 1.6;
      color: var(--texto);
      overflow-x: hidden;
    }

    /* ================== HEADER MEJORADO ================== */
    .header {
      background: rgba(255, 255, 255, 0.98);
      backdrop-filter: blur(20px);
      position: sticky;
      top: 0;
      z-index: 1000;
      box-shadow: 0 1px 3px rgba(0,0,0,0.1);
      transition: var(--transicion);
    }

    .header.scrolled {
      box-shadow: var(--sombra-media);
    }

    .nav-container {
      max-width: 1400px;
      margin: 0 auto;
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 0.5rem 2rem;
    }



    .logo {
      display: flex;
      align-items: center;
      gap: 1rem;
      text-decoration: none;
      color: var(--azul-principal);
    }

    .logo-icon {
      width: 60px;
      height: 60px;
      background: white;
      border-radius: 50%;
      padding: 5px;
      box-shadow: var(--sombra-suave);
      transition: var(--transicion);
    }

    .logo:hover .logo-icon {
      transform: rotate(360deg) scale(1.05);
    }
    
    .logo-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

/* Quitar comportamiento de columnas en los items */
.admissions .timeline-content ul li {
  display: block !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  text-align: left !important;
  gap: 0 !important;
}

/* Forzar que el contenido sea vertical */
.admissions .timeline-content ul li * {
  display: block !important;
  margin-bottom: 4px;
  width: 100% !important;
  max-width: 100% !important;
  white-space: normal !important;
  text-align: left !important;
}

/* Para que el enlace no salte a la derecha */
.admissions .timeline-content ul li a {
  text-align: left !important;
}
    .logo-text {
      display: flex;
      flex-direction: column;
    }

    .logo-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: var(--azul-principal);
    }

    .logo-subtitle {
      font-size: 0.75rem;
      color: var(--texto-suave);
      font-weight: 500;
    }

    /* Navegación moderna */
    nav {
      display: flex;
      align-items: center;
      gap: 2rem;
    }

    .nav-menu {
      display: flex;
      list-style: none;
      gap: 0.5rem;
      align-items: center;
    }

    .nav-menu a {
      color: var(--texto);
      text-decoration: none;
      padding: 0.6rem 1rem;
      border-radius: 8px;
      font-weight: 500;
      font-size: 0.95rem;
      transition: var(--transicion);
      position: relative;
    }

    .nav-menu a:hover {
      background: var(--azul-claro);
      color: var(--azul-principal);
    }

    .nav-menu a.active {
      background: var(--azul-principal);
      color: white;
    }

    /* Submenu mejorado */
    .has-submenu {
      position: relative;
    }

    .has-submenu > a::after {
      content: '\f107';
      font-family: 'Font Awesome 6 Free';
      font-weight: 900;
      font-size: 10px;
      margin-left: 5px;
      transition: var(--transicion);
    }

    .has-submenu:hover > a::after {
      transform: rotate(180deg);
    }

    .submenu {
      position: absolute;
      top: 100%;
      left: 0;
      background: white;
      min-width: 220px;
      border-radius: 12px;
      box-shadow: var(--sombra-fuerte);
      opacity: 0;
      visibility: hidden;
      transform: translateY(-10px);
      transition: var(--transicion);
      margin-top: 0.5rem;
      overflow: hidden;
    }

    .has-submenu:hover .submenu {
      opacity: 1;
      visibility: visible;
      transform: translateY(0);
    }

    .submenu li {
      list-style: none;
    }

    .submenu a {
      padding: 0.8rem 1.2rem !important;
      border-radius: 0 !important;
      display: block;
      font-size: 0.9rem;
      border-bottom: 1px solid var(--gris-claro);
    }

    .submenu li:last-child a {
      border-bottom: none;
    }

    .submenu a:hover {
      background: var(--azul-claro) !important;
    }

    /* Botón CTA en header */
    .header-cta {
      background: var(--amarillo);
      color: var(--azul-principal);
      padding: 0.6rem 1.5rem;
      border-radius: 25px;
      font-weight: 600;
      text-decoration: none;
      transition: var(--transicion);
      box-shadow: var(--sombra-suave);
    }

    .header-cta:hover {
      background: var(--amarillo-hover);
      transform: translateY(-2px);
      box-shadow: var(--sombra-media);
    }

    /* Menu móvil hamburguesa */
    .menu-toggle {
      display: none;
      background: none;
      border: none;
      font-size: 1.5rem;
      color: var(--azul-principal);
      cursor: pointer;
    }

    /* ================== HERO SECTION MEJORADA ================== */
    .hero {
      /*background: linear-gradient(135deg, #003399 0%, #0066cc 50%, #0099ff 100%);*/
      min-height: 90vh;
	  display:block;
      align-items: center;
      position: relative;
      overflow: hidden;
    }
/* Slider del hero */
    .hero-slider {
      position: relative;
      width: 100%;
      height: 90vh;
    }

    .hero-slide {
      position: absolute;
      inset: 0;
	  display: flex;
      background-size: cover;
      background-position: center;
      opacity: 0;
      transform: scale(1.05);
      transition: opacity .8s ease, transform 1.2s ease;
      align-items: center;
      justify-content: center;
		pointer-events:none;
		z-index:1;
    }

    .hero-slide.active {
      opacity: 1;
      transform: scale(1);
		pointer-events:auto;
		z-index:1;
    }

    .hero-overlay {
      position: absolute;
      inset: 0;
      /* Degradado vertical usando el azul institucional (#003399) más intenso hacia abajo */
      background: linear-gradient(to bottom,
        rgba(0, 51, 153, 0.10) 0%,
        rgba(0, 51, 153, 0.20) 25%,
        rgba(0, 51, 153, 0.35) 55%,
        rgba(0, 51, 153, 0.60) 100%);
    }

    .hero-control {
      position: absolute;
      top: 50%;
      transform: translateY(-50%);
      background: rgba(0,0,0,.35);
      color: #fff;
      border: none;
      width: 44px;
      height: 44px;
      border-radius: 50%;
      display: grid;
      place-items: center;
      cursor: pointer;
      transition: var(--transicion);
      z-index: 2;
    }

    .hero-control:hover { background: rgba(0,0,0,.55); transform: translateY(-50%) scale(1.05); }
    .hero-control.prev { left: 16px; }
    .hero-control.next { right: 16px; }

    .hero-dots {
      position: absolute;
      bottom: 18px;
      left: 50%;
      transform: translateX(-50%);
      display: flex;
      gap: 8px;
      z-index: 2;
    }

    .hero-dot {
      width: 10px;
      height: 10px;
      border-radius: 50%;
      background: rgba(255,255,255,.45);
      border: 0;
      cursor: pointer;
      transition: var(--transicion);
    }

    .hero-dot.active { background: var(--amarillo); transform: scale(1.2); }

    /* Patrón de fondo animado */
    .hero::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      bottom: 0;
      background-image: 
        radial-gradient(circle at 20% 50%, rgba(255,204,0,0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255,255,255,0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(255,255,255,0.03) 0%, transparent 50%);
      animation: floatPattern 20s ease-in-out infinite;
    }

    @keyframes floatPattern {
      0%, 100% { transform: translateY(0) rotate(0deg); }
      50% { transform: translateY(-20px) rotate(1deg); }
    }

    .hero-content {
      max-width: 1200px;
      margin: 0 auto;
      padding: 0 2rem;
      text-align: center;
      position: relative;
      z-index: 1;
    }

    .hero-badge {
      background: rgba(255,204,0,0.95);
      color: var(--azul-principal);
      padding: 0.6rem 1.5rem;
      border-radius: 30px;
      display: inline-block;
      margin-bottom: 2rem;
      font-weight: 600;
      font-size: 0.95rem;
      animation: fadeInDown 0.8s ease;
      box-shadow: var(--sombra-media);
    }

    .hero h1 {
      font-size: clamp(2.5rem, 5vw, 4rem);
      font-weight: 800;
      color: white;
      margin-bottom: 1.5rem;
      animation: fadeInUp 0.8s ease 0.2s both;
      line-height: 1.1;
      text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
    }

    .hero-subtitle {
      font-size: clamp(1.2rem, 2.5vw, 1.6rem);
      color: rgba(255,255,255,0.9);
      margin-bottom: 3rem;
      animation: fadeInUp 0.8s ease 0.4s both;
      font-weight: 300;
    }

    .hero-buttons {
      display: flex;
      gap: 1.5rem;
      justify-content: center;
      flex-wrap: wrap;
      animation: fadeInUp 0.8s ease 0.6s both;
    }
    .btn {
      padding: 1rem 2.5rem;
      border-radius: 30px;
      text-decoration: none;
      font-weight: 600;
      font-size: 1rem;
      transition: var(--transicion);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      box-shadow: var(--sombra-media);
    }

    .btn-primary {
      background: white;
      color: var(--azul-principal);
    }

    .btn-primary:hover {
      transform: translateY(-3px) scale(1.05);
      box-shadow: var(--sombra-fuerte);
    }

    .btn-secondary {
      background: transparent;
      color: white;
      border: 2px solid white;
    }
/* Grid de enlaces "Sobre Nosotros" */
.about-links-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

/* Fila completa de enlaces "Sobre Nosotros" */
.about-links-row {
  max-width: 1400px;
  width: 100%;
  margin: 3rem auto 0;
  padding: 3rem 2rem 0;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  border-top: 2px solid rgba(0, 51, 153, 0.1);
}

.about-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
}

.about-link-card:hover {
  border-color: #003d82;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 61, 130, 0.15);
}

.about-link-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #003d82 0%, #0055b3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
}

.about-link-card:hover .about-link-icon {
  transform: scale(1.1);
}

.about-link-icon i {
  font-size: 2rem;
  color: #fff;
}

.about-link-card h4 {
  font-size: 1rem;
  font-weight: 600;
  color: #003d82;
  margin: 0;
  line-height: 1.4;
}

@media (max-width: 768px) {
  .about-links-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  
  .about-links-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-top: 2rem;
    padding: 2rem 1rem 0;
  }
  
  .about-link-card {
    padding: 1.5rem 1rem;
  }
  
  .about-link-icon {
    width: 60px;
    height: 60px;
  }
  
  .about-link-icon i {
    font-size: 1.5rem;
  }
}
    .btn-secondary:hover {
      background: white;
      color: var(--azul-principal);
      transform: translateY(-3px);
    }

    /* Estadísticas flotantes */
    .hero-stats {
      display: flex;
      justify-content: center;
      gap: 3rem;
      margin-top: 4rem;
      animation: fadeInUp 0.8s ease 0.8s both;
    }

    .stat-item {
      text-align: center;
      color: white;
    }

    .stat-number {
      font-size: 2.5rem;
      font-weight: 700;
      display: block;
    }

    .stat-label {
      font-size: 0.9rem;
      opacity: 0.9;
    }

    /* ================== SECCIÓN SOBRE NOSOTROS MEJORADA ================== */
    .about {
      padding: 6rem 2rem;
      background: var(--gris-claro);
      position: relative;
    }

    .about-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: center;
    }

    .section-badge {
      background: var(--amarillo);
      color: var(--azul-principal);
      padding: 0.4rem 1rem;
      border-radius: 20px;
      display: inline-block;
      font-size: 0.85rem;
      font-weight: 600;
      margin-bottom: 1rem;
    }

    .about h2 {
      font-size: 2.5rem;
      color: var(--azul-principal);
      margin-bottom: 1.5rem;
      font-weight: 700;
    }

    .about-text {
      font-size: 1.1rem;
      line-height: 1.8;
      color: var(--texto);
      margin-bottom: 2rem;
    }

    .about-features {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .feature-item {
      display: flex;
      gap: 1rem;
      padding: 1.5rem;
      background: white;
      border-radius: 12px;
      box-shadow: var(--sombra-suave);
      transition: var(--transicion);
    }

    .feature-item:hover {
      transform: translateX(10px);
      box-shadow: var(--sombra-media);
    }

    .feature-icon {
      width: 50px;
      height: 50px;
      background: var(--azul-claro);
      color: var(--azul-principal);
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      flex-shrink: 0;
    }

    .feature-content h4 {
      color: var(--azul-principal);
      margin-bottom: 0.5rem;
      font-size: 1.1rem;
    }

    .feature-content p {
      color: var(--texto-suave);
      font-size: 0.95rem;
      line-height: 1.6;
    }

    .about-image-container {
      position: relative;
      height: 500px;
      border-radius: 20px;
      overflow: hidden;
      box-shadow: var(--sombra-fuerte);
    }

    .about-image {
      width: 100%;
      height: 100%;
      background: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?w=800') center/cover;
      transition: var(--transicion);
    }

    .about-image-container:hover .about-image {
      transform: scale(1.05);
    }

    .about-image-overlay {
      position: absolute;
      bottom: 0;
      left: 0;
      right: 0;
      background: linear-gradient(to top, rgba(0,33,153,0.9), transparent);
      padding: 2rem;
      color: white;
    }

    .about-cta {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--amarillo);
      color: var(--azul-principal);
      padding: 0.8rem 1.5rem;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      margin-top: 2rem;
      transition: var(--transicion);
    }

    .about-cta:hover {
      transform: translateX(5px);
      box-shadow: var(--sombra-media);
    }
/* Fila de enlaces "Sobre Nosotros" */
.about-links-row {
  display: flex;
  gap: 1.5rem;
  margin-top: 2rem;
  justify-content: space-between;
}

.about-link-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 2rem 1rem;
  background: #fff;
  border: 2px solid #f0f0f0;
  border-radius: 12px;
  text-decoration: none;
  color: #333;
  transition: all 0.3s ease;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}

.about-link-card:hover {
  border-color: #003d82;
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 61, 130, 0.15);
}

.about-link-icon {
  width: 70px;
  height: 70px;
  background: linear-gradient(135deg, #003d82 0%, #0055b3 100%);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.about-link-card:hover .about-link-icon {
  transform: scale(1.1);
}

.about-link-icon i {
  font-size: 2rem;
  color: #fff;
}

.about-link-card h4 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #003d82;
  margin: 0;
  line-height: 1.4;
}

/* Responsive - en móvil se apilan */
@media (max-width: 768px) {
  .about-links-row {
    flex-wrap: wrap;
  }
  
  .about-link-card {
    flex: 1 1 calc(50% - 0.75rem);
    min-width: calc(50% - 0.75rem);
    padding: 1.5rem 0.5rem;
  }
  
  .about-link-icon {
    width: 60px;
    height: 60px;
  }
  
  .about-link-icon i {
    font-size: 1.5rem;
  }
  
  .about-link-card h4 {
    font-size: 0.85rem;
  }
}
    /* ================== PROGRAMAS TÉCNICOS MEJORADOS ================== */
    /* SECCIÓN PRINCIPAL */
    .programs-section-p {
      padding: 3rem 0;
      background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
      position: relative;
      overflow: hidden;
    }

    .section-header-p {
      text-align: center;
      margin-bottom: 4rem;
    }

    .section-header-p h2 {
      font-size: 2.8rem;
      color: var(--azul-principal);
      margin-bottom: 0.5rem;
      position: relative;
      display: inline-block;
      font-weight: 700;
    }

    .section-header-p h2::after {
      content: '';
      position: absolute;
      bottom: -10px;
      left: 50%;
      transform: translateX(-50%);
      width: 120px;
      height: 4px;
      background: linear-gradient(90deg, var(--azul-principal), var(--amarillo));
      border-radius: 2px;
    }

    .section-subtitle {
      color: var(--amarillo);
      font-size: 1.4rem;
      margin-top: 1.5rem;
      font-weight: 600;
      font-style: italic;
    }

    /* CARRUSEL DE PROGRAMAS */
    .programs-carousel-wrapper {
      position: relative;
      margin-bottom: 5rem;
    }

    .programs-carousel {
      display: flex;
      gap: 2rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding: 2rem 0;
      scrollbar-width: thin;
      scrollbar-color: var(--azul-principal) var(--gris-claro);
    }

    .programs-carousel::-webkit-scrollbar {
      height: 8px;
    }

    .programs-carousel::-webkit-scrollbar-track {
      background: var(--gris-claro);
      border-radius: 10px;
    }

    .programs-carousel::-webkit-scrollbar-thumb {
      background: var(--azul-principal);
      border-radius: 10px;
    }

 .section-header {
      text-align: center;
      max-width: 800px;
      margin: 0 auto 4rem;
    }

    .section-header h2 {
      font-size: 2.5rem;
      color: var(--azul-principal);
      margin-bottom: 1rem;
      font-weight: 700;
    }

    .section-header p {
      color: var(--texto-suave);
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .programs-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
    }

    .program-card {
      min-width: 350px;
      background: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--sombra-suave);
      transition: var(--transicion);
      text-decoration: none;
      display: flex;
      flex-direction: column;
      position: relative;
      transform: scale(0.95);
      opacity: 0.7;
    }

    .program-card:hover {
      transform: scale(1.05);
      opacity: 1;
      box-shadow: var(--sombra-fuerte);
      z-index: 10;
    }

    .program-card::before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background: linear-gradient(90deg, var(--azul-principal), var(--amarillo));
      transform: scaleX(0);
      transition: var(--transicion);
    }

    .program-card:hover::before {
      transform: scaleX(1);
    }

    .program-image {
      height: 200px;
      background: linear-gradient(135deg, var(--azul-principal), var(--azul-hover));
      display: flex;
      align-items: center;
      justify-content: center;
      position: relative;
      overflow: hidden;
      transition: var(--transicion);
    }

    .program-card:hover .program-image {
      height: 250px;
    }

    .program-content {
      padding: 1.5rem;
      flex: 1;
      display: flex;
      flex-direction: column;
    }
.program-icon {
      font-size: 3rem;
      color: white;
      z-index: 1;
      position: relative;
    }
    .program-content h3 {
      color: var(--azul-principal);
      margin-bottom: 0.8rem;
      font-size: 1.3rem;
      font-weight: 600;
    }

    .program-content p {
      color: var(--texto-suave);
      line-height: 1.6;
      flex: 1;
      margin-bottom: 1rem;
    }

    .program-features {
      display: flex;
      gap: 1rem;
      margin-bottom: 1rem;
    }

    .program-tag {
      background: var(--azul-claro);
      color: var(--azul-principal);
      padding: 0.3rem 0.8rem;
      border-radius: 15px;
      font-size: 0.8rem;
      font-weight: 500;
    }

    .program-link {
      color: var(--azul-principal);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      transition: var(--transicion);
    }

    .program-link:hover {
      gap: 1rem;
    }
    /* BOTONES DE NAVEGACIÓN */
    .carousel-nav {
      display: flex;
      justify-content: center;
      gap: 1rem;
      margin-top: 2rem;
    }

    .nav-btn {
      width: 50px;
      height: 50px;
      border-radius: 50%;
      background: var(--azul-principal);
      color: white;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.5rem;
      transition: var(--transicion);
      box-shadow: var(--sombra-media);
    }

    .nav-btn:hover {
      background: var(--azul-hover);
      transform: scale(1.1);
    }
    /* ================== OFERTA ACADÉMICA MEJORADA ================== */
    .academic-offer {
      padding: 3rem 2rem;
      background: var(--amarillo);
      position: relative;
      overflow: hidden;
    }

    .academic-offer::before {
      content: '';
      position: absolute;
      top: -50%;
      right: -10%;
      width: 500px;
      height: 500px;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
    }

    .offer-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
      gap: 2rem;
      position: relative;
      z-index: 1;
    }

    .offer-card {
      background: white;
      padding: 2rem;
      border-radius: 16px;
      box-shadow: var(--sombra-media);
      transition: var(--transicion);
      position: relative;
      overflow: hidden;
    }

    .offer-card::before {
      content: '';
      position: absolute;
      top: -2px;
      left: -2px;
      right: -2px;
      bottom: -2px;
      background: linear-gradient(45deg, var(--azul-principal), transparent);
      border-radius: 16px;
      opacity: 0;
      transition: var(--transicion);
      z-index: -1;
    }

    .offer-card:hover::before {
      opacity: 1;
    }

    .offer-card:hover {
      transform: translateY(-5px);
    }

    .offer-card-icon {
      width: 60px;
      height: 60px;
      background: var(--azul-claro);
      color: var(--azul-principal);
      border-radius: 12px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin-bottom: 1.5rem;
    }

    .offer-card h3 {
      color: var(--azul-principal);
      margin-bottom: 1rem;
      font-size: 1.4rem;
    }

    .offer-list {
      list-style: none;
    }

    .offer-list li {
      padding: 0.8rem 0;
      border-bottom: 1px solid var(--gris-claro);
      display: flex;
      align-items: center;
      gap: 0.8rem;
      color: var(--texto);
    }

    .offer-list li:last-child {
      border-bottom: none;
    }

    .offer-list li::before {
      content: '✓';
      width: 24px;
      height: 24px;
      background: var(--azul-claro);
      color: var(--azul-principal);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      flex-shrink: 0;
    }

.school-life {
  padding: 6rem 2rem;
  background: var(--gris-claro);
}

.school-life-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 3rem;
}

.school-life-video iframe {
  border-radius: 16px;
  box-shadow: var(--sombra-media);
}

/* Ajuste responsive */
@media (max-width: 768px) {
  .school-life-video iframe {
    height: 280px;
  }
}

/* ================== VIDA ESCOLAR - SECCIÓN COMPLETA ================== */
.school-life-section {
  padding: 3rem 0;
  background: linear-gradient(to bottom, #ffffff 0%, #f8f9fa 100%);
  position: relative;
}

.school-life-section .container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}

.school-life-wrapper {
  position: relative;
  margin-bottom: 5rem;
}

.school-life-carousel-container {
 display: flex;
      gap: 2rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding: 2rem 0;
      scrollbar-width: thin;
      scrollbar-color: var(--azul-principal) var(--gris-claro);
}

.school-life-carousel {
  display: flex;
      gap: 2rem;
      overflow-x: auto;
      scroll-behavior: smooth;
      padding: 2rem 0;
      scrollbar-width: thin;
      scrollbar-color: var(--azul-principal) var(--gris-claro);
}

.school-life-carousel::-webkit-scrollbar {
  height: 8px;
}
.school-life-carousel::-webkit-scrollbar-track {
      background: var(--gris-claro);
      border-radius: 10px;
    }

/* Máscara de desvanecimiento a la derecha */
.program-carousel::after {
  content: '';
  position: absolute;
  top: 0;
  right: 0;
  width: 100px;
  height: 100%;
  background: linear-gradient(to left, #f8f9fa, transparent);
  pointer-events: none;
  z-index: 5;
}

.about-cta-v {
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      background: var(--amarillo);
      color: var(--azul-principal);
      padding: 0.8rem 1.5rem;
      border-radius: 25px;
      text-decoration: none;
      font-weight: 600;
      transition: var(--transicion);
    }

    .about-cta-v:hover {
      transform: translateX(5px);
      box-shadow: var(--sombra-media);
    }

.life-card {
  min-width: 340px;
  max-width: 340px;
  height: 450px;
  position: relative;
  border-radius: 20px;
  overflow: hidden;
  text-decoration: none;
  display: flex;
  align-items: flex-end;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  transform: scale(0.95);
  opacity: 0.85;
  flex-shrink: 0;
}

.life-card:hover {
  transform: scale(1.02);
  opacity: 1;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  z-index: 10;
}

.life-background {
  position: absolute;
  inset: 0;
  transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
}

.life-card.cultura .life-background {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.life-card.deporte .life-background {
  background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.life-card.convivencia .life-background {
  background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.life-card.ambiente .life-background {
  background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
}

.life-card:hover .life-background {
  transform: scale(1.08);
}

.life-background::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.3) 50%, transparent 80%);
  z-index: 2;
}

.life-content {
  position: relative;
  z-index: 3;
  padding: 2rem;
  color: white;
  width: 100%;
  transform: translateY(0);
  opacity: 1;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.life-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 4px 8px rgba(0,0,0,0.4));
  display: block;
}

.life-content h3 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-shadow: 0 2px 10px rgba(0,0,0,0.6);
  line-height: 1.2;
}

.life-content p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.4s ease 0.1s;
  text-shadow: 0 1px 3px rgba(0,0,0,0.4);
  max-height: 0;
  overflow: hidden;
}

.life-card:hover .life-content p {
  opacity: 1;
  transform: translateY(0);
  max-height: 200px;
}

.life-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 1rem;
  padding: 0.8rem 1.5rem;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  transition: all 0.4s ease;
  opacity: 0;
  transform: translateY(10px);
}

.life-card:hover .life-link {
  opacity: 1;
  transform: translateY(0);
  background: rgba(255, 255, 255, 0.3);
}

.life-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 2rem;
}


/* RESPONSIVE */
@media (max-width: 1200px) {
  .school-life-wrapper {
    grid-template-columns: 1fr 350px;
    gap: 2rem;
  }

  .life-card {
    min-width: 300px;
    max-width: 300px;
    height: 420px;
  }
}

@media (max-width: 1024px) {
  .school-life-wrapper {
    grid-template-columns: 1fr;
    gap: 3rem;
  }

  .school-life-carousel-container::after {
    display: none;
  }

  .school-life-cta {
    position: relative;
    top: 0;
  }

  .life-card {
    min-width: 320px;
    max-width: 320px;
  }
}

@media (max-width: 768px) {
  .school-life-section {
    padding: 4rem 0;
  }

  .school-life-section .container {
    padding: 0 1rem;
  }

  .life-card {
    min-width: 280px;
    max-width: 280px;
    height: 400px;
  }

  .life-content h3 {
    font-size: 1.6rem;
  }

  .life-content p {
    font-size: 0.9rem;
  }

  .life-icon {
    font-size: 2.8rem;
  }

}

@media (max-width: 480px) {
  .life-card {
    min-width: 260px;
    max-width: 260px;
    height: 380px;
  }

}
}/* ================== NOTICIAS Y LOGROS MEJORADOS ================== */
    .news {
      padding: 6rem 2rem;
      background: var(--gris-claro);
    }

    .news-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
      gap: 2rem;
    }

    .news-card {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--sombra-suave);
      transition: var(--transicion);
      cursor: pointer;
      text-decoration: none;
      color: inherit;
    }

    .news-card:hover {
      transform: translateY(-5px);
      box-shadow: var(--sombra-fuerte);
    }

    .news-image {
      height: 220px;
      background: linear-gradient(135deg, var(--azul-principal), var(--azul-hover));
      position: relative;
      overflow: hidden;
    }

    .news-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: var(--transicion);
    }

    .news-card:hover .news-image img {
      transform: scale(1.1);
    }

    .news-badge {
      position: absolute;
      top: 1rem;
      left: 1rem;
      background: var(--amarillo);
      color: var(--azul-principal);
      padding: 0.4rem 1rem;
      border-radius: 20px;
      font-size: 0.8rem;
      font-weight: 600;
    }

    .news-content {
      padding: 2rem;
    }

    .news-date {
      color: var(--texto-suave);
      font-size: 0.9rem;
      margin-bottom: 0.5rem;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .news-content h3 {
      color: var(--azul-principal);
      margin-bottom: 1rem;
      font-size: 1.3rem;
      line-height: 1.3;
    }

    .news-content p {
      color: var(--texto);
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .news-link {
      color: var(--azul-principal);
      font-weight: 600;
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
      text-decoration: none;
      transition: var(--transicion);
    }

    .news-link:hover {
      gap: 1rem;
    }

    /* ================== PROCESO DE ADMISIONES MEJORADO ================== */
    .admissions {
      padding: 6rem 2rem;
      background: white;
    }

    .admissions-timeline {
      max-width: 900px;
      margin: 0 auto;
      position: relative;
      padding: 2rem 0;
    }

    .timeline-line {
      position: absolute;
      left: 50%;
      top: 0;
      bottom: 0;
      width: 2px;
      background: var(--azul-claro);
      transform: translateX(-50%);
    }

    .timeline-item {
      display: flex;
      align-items: center;
      margin-bottom: 3rem;
      position: relative;
    }

    .timeline-item:nth-child(even) {
      flex-direction: row-reverse;
    }

    .timeline-content {
      background: white;
      padding: 2rem;
      border-radius: 16px;
      box-shadow: var(--sombra-media);
      width: calc(50% - 3rem);
      transition: var(--transicion);
    }

    .timeline-item:hover .timeline-content {
      transform: scale(1.05);
      box-shadow: var(--sombra-fuerte);
    }

    .timeline-point {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      width: 60px;
      height: 60px;
      background: var(--amarillo);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-weight: bold;
      font-size: 1.5rem;
      color: var(--azul-principal);
      box-shadow: var(--sombra-media);
      z-index: 1;
    }

    .timeline-content h3 {
      color: var(--azul-principal);
      margin-bottom: 0.8rem;
      font-size: 1.3rem;
    }

    .timeline-content p {
      color: var(--texto);
      line-height: 1.6;
      margin-bottom: 1rem;
    }

    .timeline-content ul {
      list-style: none;
      color: var(--texto-suave);
    }

    .timeline-content ul li {
      padding: 0.3rem 0;
      display: flex;
      align-items: center;
      gap: 0.5rem;
    }

    .timeline-content ul li::before {
      content: '→';
      color: var(--amarillo);
      font-weight: bold;
    }

    /* ================== CONTACTO MEJORADO ================== */
    .contact {
      padding: 6rem 2rem;
      background: linear-gradient(135deg, var(--azul-principal) 0%, #0066cc 100%);
      color: white;
    }

    .contact-grid {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 4rem;
      align-items: start;
    }

    .contact-info h2 {
      font-size: 2.5rem;
      margin-bottom: 1rem;
    }

    .contact-info > p {
      font-size: 1.1rem;
      opacity: 0.9;
      margin-bottom: 2rem;
    }

    .contact-items {
      display: flex;
      flex-direction: column;
      gap: 1.5rem;
    }

    .contact-item {
      display: flex;
      align-items: center;
      gap: 1rem;
      padding: 1rem;
      background: rgba(255,255,255,0.1);
      border-radius: 12px;
      transition: var(--transicion);
    }

    .contact-item:hover {
      background: rgba(255,255,255,0.15);
      transform: translateX(10px);
    }

    .contact-icon {
      width: 50px;
      height: 50px;
      background: var(--amarillo);
      color: var(--azul-principal);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.3rem;
      flex-shrink: 0;
    }

    .contact-text {
      flex: 1;
    }

    .contact-label {
      font-size: 0.9rem;
      opacity: 0.8;
      margin-bottom: 0.2rem;
    }

    .contact-value {
      font-size: 1.1rem;
      font-weight: 500;
    }

    .contact-map {
      background: white;
      border-radius: 16px;
      overflow: hidden;
      box-shadow: var(--sombra-fuerte);
      height: 450px;
    }

    .contact-map iframe {
      width: 100%;
      height: 100%;
      border: none;
    }

    /* ================== FOOTER MEJORADO ================== */
    .footer {
      background: #001a4d;
      color: white;
      padding: 4rem 2rem 2rem;
    }

    .footer-main {
      max-width: 1200px;
      margin: 0 auto;
      display: grid;
      grid-template-columns: 2fr 1fr 1fr 1fr;
      gap: 3rem;
      padding-bottom: 3rem;
      border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .footer-brand h3 {
      font-size: 1.5rem;
      margin-bottom: 1rem;
    }

    .footer-brand p {
      opacity: 0.8;
      line-height: 1.6;
      margin-bottom: 1.5rem;
    }

    .footer-social {
      display: flex;
      gap: 1rem;
    }

    .social-link {
      width: 40px;
      height: 40px;
      background: rgba(255,255,255,0.1);
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      color: white;
      transition: var(--transicion);
      text-decoration: none;
    }

    .social-link:hover {
      background: var(--amarillo);
      color: var(--azul-principal);
      transform: translateY(-3px);
    }

    .footer-section h4 {
      margin-bottom: 1.5rem;
      font-size: 1.1rem;
    }

    .footer-section ul {
      list-style: none;
    }

    .footer-section ul li {
      margin-bottom: 0.8rem;
    }

    .footer-section ul li a {
      color: rgba(255,255,255,0.8);
      text-decoration: none;
      transition: var(--transicion);
      display: inline-flex;
      align-items: center;
      gap: 0.5rem;
    }

    .footer-section ul li a:hover {
      color: var(--amarillo);
      transform: translateX(5px);
    }

    .footer-bottom {
      max-width: 1200px;
      margin: 0 auto;
      padding-top: 2rem;
      display: flex;
      justify-content: space-between;
      align-items: center;
      flex-wrap: wrap;
      gap: 1rem;
    }

    .footer-copy {
      opacity: 0.7;
    }

    .footer-links {
      display: flex;
      gap: 2rem;
    }

    .footer-links a {
      color: rgba(255,255,255,0.7);
      text-decoration: none;
      transition: var(--transicion);
    }

    .footer-links a:hover {
      color: var(--amarillo);
    }

    .contact-value {
    word-break: break-word;
    font-size: clamp(12px, 3vw, 16px); /* Se ajusta según el ancho */ 
    }
    /* ================== BOTÓN WHATSAPP MEJORADO ================== */
    .whatsapp-float {
      position: fixed;
      width: 60px;
      height: 60px;
      bottom: 30px;
      right: 30px;
      background: #25d366;
      color: white;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 28px;
      box-shadow: var(--sombra-fuerte);
      z-index: 999;
      transition: var(--transicion);
      text-decoration: none;
    }

    .whatsapp-float::before {
      content: 'Escríbenos';
      position: absolute;
      right: 70px;
      background: #001a4d;
      color: white;
      padding: 0.5rem 1rem;
      border-radius: 8px;
      font-size: 0.9rem;
      white-space: nowrap;
      opacity: 0;
      pointer-events: none;
      transition: var(--transicion);
    }

    .whatsapp-float:hover::before {
      opacity: 1;
      right: 80px;
    }

    .whatsapp-float:hover {
      transform: scale(1.1);
      background: #128c7e;
    }

    @keyframes pulse {
      0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
      70% { box-shadow: 0 0 0 20px rgba(37, 211, 102, 0); }
      100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
    }

    .whatsapp-float {
      animation: pulse 2s infinite;
    }

    /* ================== ANIMACIONES ================== */
    @keyframes fadeInUp {
      from {
        opacity: 0;
        transform: translateY(30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    @keyframes fadeInDown {
      from {
        opacity: 0;
        transform: translateY(-30px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .animate-on-scroll {
      opacity: 0;
      transform: translateY(30px);
      transition: all 0.6s ease;
    }

    .animate-on-scroll.visible {
      opacity: 1;
      transform: translateY(0);
    }
    /* ================== RESPONSIVE DESIGN ================== */
    @media (max-width: 1024px) {
      .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: white;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: var(--sombra-fuerte);
        padding: 2rem 0;
        max-height: calc(100vh - 70px);
        overflow-y: auto;
      }

      .nav-menu.active {
        left: 0;
      }

      .menu-toggle {
        display: block;
      }

      .header-cta {
        display: none;
      }

      .has-submenu:hover .submenu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        margin: 0.5rem 1rem;
      }

      .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
      }

      .about-grid,
      .contact-grid,
      .footer-main {
        grid-template-columns: 1fr;
      }

      .timeline-line {
        left: 30px;
      }

      .timeline-item {
        flex-direction: row !important;
      }

      .timeline-content {
        width: calc(100% - 80px);
        margin-left: 80px;
      }

      .timeline-point {
        left: 30px;
      }
    }

    @media (max-width: 768px) {
      .hero h1 {
        font-size: 2rem;
      }

      .hero-subtitle {
        font-size: 1rem;
      }

      .section-header h2 {
        font-size: 1.8rem;
      }

      .programs-grid,
      .offer-grid,
      .news-grid {
        grid-template-columns: 1fr;
      }
      .contact-item {
        align-items: flex-start;
        text-align: left;
        flex-wrap: wrap; /* permite que el texto baje */
        padding: 0.8rem 1rem;
      }
    
      .contact-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        margin-bottom: 0.5rem;
      }
    
      .contact-text {
        flex: 1 1 100%; /* fuerza a ocupar toda la línea */
        word-wrap: break-word;
        overflow-wrap: break-word;
        white-space: normal; /* permite que se partan las líneas largas */
      }
    
      .contact-label {
        font-size: 0.85rem;
      }
    
      .contact-value {
        font-size: 1rem;
        line-height: 1.4;
      }
      .footer-bottom {
        flex-direction: column;
        text-align: center;
      }
    }
    
    @media (max-width: 480px) {
      .contact-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
      }
    
      .contact-icon {
        margin-bottom: 0.5rem;
      }
    
      .contact-text {
        flex: none;
      }
    }
    /* ================== EFECTOS ESPECIALES ================== */
    .parallax {
      position: relative;
      background-attachment: fixed;
      background-position: center;
      background-repeat: no-repeat;
      background-size: cover;
    }

    /* Loader para imágenes */
    .lazy-load {
      background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
      background-size: 200% 100%;
      animation: loading 1.5s infinite;
    }

    @keyframes loading {
      0% { background-position: 200% 0; }
      100% { background-position: -200% 0; }
    }

    /* Scroll suave para anchor links */
    html {
      scroll-padding-top: 80px;
    }

    /* Print styles */
    @media print {
      .header, .footer, .whatsapp-float, .hero-buttons {
        display: none;
      }
    }</style>
<!-- end Simple Custom CSS and JS -->
