/* Transición suave para el menú fullscreen */
/* Fondo con estrellas animadas */
/* Fondo con estrellas coloridas y más notorias */
/* Estrellas más notorias y coloridas */
#fullscreenMenu::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background:
        radial-gradient(white 1.5px, transparent 1.5px),
        radial-gradient(#00cfff 1.2px, transparent 1.2px),
        radial-gradient(#ffd700 1.5px, transparent 1.5px),
        radial-gradient(#ff4d4d 1.5px, transparent 1.5px),
        radial-gradient(white 0.8px, transparent 0.8px);
    background-size:
        100px 100px,
        120px 120px,
        160px 160px,
        180px 180px,
        60px 60px;
    background-position:
        0 0,
        60px 30px,
        100px 70px,
        20px 100px,
        80px 40px;
    animation: starsMove 90s linear infinite;
    opacity: 0.5; /* Más visible */
}



/* Fondo oscuro base */
#fullscreenMenu {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
    position: relative;
    overflow: hidden;
    z-index: 9999;
    min-height: 100vh;
}
/* Nebulosa animada */
#fullscreenMenu::after {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 160%;
    height: 160%;
    z-index: -1;
    background: radial-gradient(circle at 30% 30%, rgba(0, 153, 255, 0.2), transparent 50%),
                radial-gradient(circle at 70% 60%, rgba(255, 0, 153, 0.2), transparent 50%),
                radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 40%);
    animation: moveNebula 60s ease-in-out infinite alternate;
    filter: blur(50px);
}

/* Movimiento lento y suave de la nebulosa */
@keyframes moveNebula {
    0% {
        transform: translate(0, 0) scale(1);
    }
    100% {
        transform: translate(-50px, -30px) scale(1.05);
    }
}


/* Movimiento sutil del fondo de estrellas */
@keyframes starsMove {
    from {
      background-position: 0 0, 60px 30px, 100px 70px, 20px 100px;
    }
    to {
      background-position: 1000px 1000px, 1060px 1030px, 1100px 1070px, 1020px 1100px;
    }
  }


#fullscreenMenu.show {
    opacity: 1;
    transform: scale(1);
}

/* HEADER */
#header {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1050;
    background-color: #0d0d2b; /* mismo color que el hero */
    transition: background-color 0.4s ease, box-shadow 0.3s ease, opacity 0.3s;
    padding: 1rem 2rem;
}



#header.header-hidden {
    opacity: 0;
    pointer-events: none;
  }
  

/* Cuando se hace scroll */
#header.header-scrolled {
    
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.3);
}

/* Para pantallas grandes, aumentar separación lateral */
@media (min-width: 992px) {
    #header .navbar-brand {
        margin-left: 2rem !important;
    }
    #menuTrigger {
        margin-right: 2rem !important;
    }
}

/* Aseguramos que el contenido no quede tapado por el header */
body {
    margin: 0;
    padding-top: 0px; /* ajusta si tu header tiene otra altura */
  }

  /* Bloquea el scroll del body cuando se abre el menú */
body.no-scroll {
    overflow: hidden;
    height: 100vh;
  }
  
  

/* Botón de cerrar */
.close-btn {
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: #ffffff;
    border-radius: 5px;
    transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
    position: relative;
    top: -1.8rem; /* sube un poco el botón */
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #00d4ff;
    transform: scale(1.1);
}

/* Imagen del menú */
.menu-image {
    transform: scale(0.9);
    opacity: 0;
    transition: transform 0.5s ease, opacity 0.5s ease;
    border: 1px solid rgba(0, 0, 0, 0.05); /* contorno casi invisible */
    box-shadow: none !important; /* quitar sombra */
       max-height: 300px;
    max-width: 90%;
    width: auto;
    height: auto;
    margin: auto;
}

#fullscreenMenu.show .menu-image {
    transform: scale(1);
    opacity: 1;
}

/* Enlaces del menú con animación */
.menu-links li {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

#fullscreenMenu.show .menu-links li {
    opacity: 1;
    transform: translateY(0);
}

#fullscreenMenu.show .menu-links li:nth-child(1) { transition-delay: 0.1s; }
#fullscreenMenu.show .menu-links li:nth-child(2) { transition-delay: 0.2s; }
#fullscreenMenu.show .menu-links li:nth-child(3) { transition-delay: 0.3s; }
#fullscreenMenu.show .menu-links li:nth-child(4) { transition-delay: 0.4s; }
#fullscreenMenu.show .menu-links li:nth-child(5) { transition-delay: 0.5s; }

/* Enlace estilo */
.menu-links li a {
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
    color: #ffffff;
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 3.5rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.menu-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00d4ff;
    transition: width 0.3s ease;
}

.menu-links li a:hover {
    color: #00d4ff;
    transform: scale(1.05);
}

.menu-links li a:hover::after {
    width: 100%;
}

/* Contacto */
.contact-info {
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
}

.contact-info p,
.contact-info a {
    font-size: 1rem;
}

/* Header blur */
header.navbar {
    backdrop-filter: blur(10px);
    transition: all 0.3s ease-in-out;
}

/* Espaciado */
.navbar-brand, #menuTrigger {
    padding-left: 1rem;
    padding-right: 1rem;
}

/* MIX_DESIGN spacing */
.menu-links + p {
    margin-top: 2rem;
    font-size: 0.8rem;
    text-align: left;
}

/* --- RESPONSIVE --- */

@media screen and (max-width: 1366px) and (min-height: 700px) {
    .menu-links li a {
        font-size: 2.5rem;
    }

    .menu-image {
        max-height: 240px;
    }

    .close-btn {
        top: -1.2rem;
    }
}

@media (max-width: 992px) {
    #fullscreenMenu {
        padding: 2rem 1rem;
    }

    .menu-links {
        text-align: center;
    }

    .menu-links li {
        margin-bottom: 2rem;
    }

    .menu-links li a {
        font-size: 2.2rem;
    }

    .menu-image {
        max-height: 280px;
        margin: 2rem auto 1rem;
    }

    .close-btn {
        top: -1.2rem;
    }

    .contact-info {
        position: static;
        text-align: center;
        margin-top: 1rem;
    }

    .contact-info p,
    .contact-info a {
        font-size: 0.95rem;
    }

    .menu-links + p {
        margin-top: 1.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    #fullscreenMenu {
        padding: 1.5rem 1rem;
    }

    .menu-links li a {
        font-size: 1.5rem;
    }

    .menu-image {
        max-height: 180px;
        margin: 1rem auto;
    }

    .close-btn {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
        top: -1.5rem;
    }

    .contact-info {
        margin-top: 1.5rem;
        text-align: center;
    }

    .contact-info p,
    .contact-info a {
        font-size: 0.85rem;
    }

    .menu-links + p {
        font-size: 0.75rem;
        margin-top: 1rem;
        text-align: center;
    }
}








/* Hero Section Base Styles */
#hero {
     min-height: 100vh;
  height: auto;
  padding-top: 0;
  padding-bottom: 3rem;
    background: linear-gradient(180deg, #0d0d2b 0%, #1a1a40 100%);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
    margin-top: 0px; /* Ajuste para evitar que el header se superponga */
  }
  
  /* Estrellas animadas */
  #hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -1;
    background:
      radial-gradient(white 1.5px, transparent 1.5px),
      radial-gradient(#00cfff 1.2px, transparent 1.2px),
      radial-gradient(#ffd700 1.5px, transparent 1.5px),
      radial-gradient(#ff4d4d 1.5px, transparent 1.5px),
      radial-gradient(white 0.8px, transparent 0.8px);
    background-size:
      100px 100px,
      120px 120px,
      160px 160px,
      180px 180px,
      60px 60px;
    background-position:
      0 0,
      60px 30px,
      100px 70px,
      20px 100px,
      80px 40px;
    animation: starsMove 80s linear infinite;
    opacity: 0.6;
  }
  
  @keyframes starsMove {
    from {
      background-position: 0 0, 60px 30px, 100px 70px, 20px 100px, 80px 40px;
    }
    to {
      background-position: 1000px 1000px, 1060px 1030px, 1100px 1070px, 1020px 1100px, 1080px 1040px;
    }
  }
  
  .main-logo {
    max-width: 420px;
    width: 85%;
    margin-bottom: 1.8rem;
  }
  
  .hero-date {
    font-size: 2.2rem;
    font-weight: 700;
    color: #EAFE07;
  }
  
  .hero-location {
    font-size: 1.4rem;
    color: #ffffff;
    margin-bottom: 2rem;
  }
  
  .countdown {
    display: flex;
    justify-content: center;
    gap: 1.2rem;
    margin-bottom: 2rem;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: center;
  }
  
  .countdown-item {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid #EAFE07;
    padding: 0.8rem 1rem;
    border-radius: 10px;
    min-width: 60px;
    text-align: center;
  }
  
  .count-num {
    font-size: 2.2rem;
    font-weight: bold;
    color: #E43700;
  }
  
  .count-label {
    font-size: 0.85rem;
    color: #ffffff;
    margin-top: 0.2rem;
  }
  
  .btn-register {
    background-color: #E43700;
    color: #fff;
    border: none;
    padding: 0.75rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
  }
  
  .btn-register:hover {
    background-color: #8E1100;
    color: #fff;
  }
  
  .floating-rocket {
    position: absolute;
    bottom: 5%;
    left: -10%;
    width: 260px;
    animation: float 4s ease-in-out infinite;
  }
  
  .floating-astro {
    position: absolute;
    bottom: 5%;
    right: -10%;
    width: 200px;
    animation: float 5s ease-in-out infinite;
  }
  
  .floating-planet1 {
    position: absolute;
    top: 5%;
    left: -10%;
    width: 250px;
    animation: float 6s ease-in-out infinite;
  }
  
  .floating-planet2 {
    position: absolute;
    top: 5%;
    right: -10%;
    width: 230px;
    animation: float 7s ease-in-out infinite;
  }
  
  .floating-satellite {
    position: absolute;
    top: 30%;
    left: 10%;
    width: 220px;
    animation: float 5s ease-in-out infinite;
  }
  
  .floating-galaxy {
    position: absolute;
    top: 30%;
    right: 10%;
    width: 200px;
    animation: float 6s ease-in-out infinite;
  }
  
  @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
  }
  
@media (min-width: 992px) and (max-width: 1366px) {
  #hero {
    padding-bottom: 2rem;
  }

  .main-logo {
    max-width: 320px;
    width: 70%;
  }

  .hero-date {
    font-size: 1.9rem;
  }

  .hero-location {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
  }

  .countdown-item {
    min-width: 55px;
    padding: 0.7rem 0.9rem;
  }

  .count-num {
    font-size: 1.8rem;
  }

  .btn-register {
    font-size: 1rem;
    padding: 0.6rem 1.5rem;
  }

  .floating-rocket {
      bottom: 5%;
      left: 5%;
      width: 180px;
    }
  
    .floating-astro {
      bottom: 5%;
      right: 5%;
      width: 150px;
    }
  
    .floating-planet1 {
      top: 8%;
      left: 2%;
      width: 200px;
    }
  
    .floating-planet2 {
      top: 5%;
      right: 2%;
      width: 200px;
    }
  
    .floating-satellite {
      top: 25%;
      left: 15%;
      width: 200px;
    }
  
    .floating-galaxy {
      top: 25%;
      right: 15%;
      width: 200px;
    }
}


  @media (max-width: 992px) {
    .hero-date {
      font-size: 1.8rem;
    }
  
    .hero-location {
      font-size: 1.2rem;
      margin-bottom: 1.5rem;
    }
  
    .main-logo {
      max-width: 260px;
      width: 75%;
    }
  
    .countdown {
      gap: 1rem;
      flex-wrap: wrap;
      justify-content: center;
    }
  
    .countdown-item {
      padding: 0.6rem 0.8rem;
      min-width: 55px;
    }
  
    .count-num {
      font-size: 1.6rem;
    }
  
    .btn-register {
      font-size: 1rem;
      padding: 0.6rem 1.3rem;
    }
  
    .floating-rocket {
      bottom: 5%;
      left: 5%;
      width: 120px;
    }
  
    .floating-astro {
      bottom: 5%;
      right: 5%;
      width: 120px;
    }
  
    .floating-planet1 {
      top: 8%;
      left: 2%;
      width: 120px;
    }
  
    .floating-planet2 {
      top: 5%;
      right: 2%;
      width: 115px;
    }
  
    .floating-satellite {
      top: 25%;
      left: 10%;
      width: 110px;
    }
  
    .floating-galaxy {
      top: 25%;
      right: 10%;
      width: 110px;
    }
  }
  
  @media (max-width: 576px) {
    .hero-date {
      font-size: 1.3rem;
    }
  
    .hero-location {
      font-size: 1rem;
      margin-bottom: 1rem;
    }
  
    .main-logo {
      max-width: 200px;
      width: 90%;
      margin-bottom: 1rem;
    }
  
    .countdown {
      flex-direction: row;
      flex-wrap: wrap;
      justify-content: center;
      gap: 0.8rem;
    }
  
    .countdown-item {
      padding: 0.5rem 0.6rem;
      min-width: 50px;
    }
  
    .count-num {
      font-size: 1.4rem;
    }
  
    .count-label {
      font-size: 0.75rem;
    }
  
    .btn-register {
      font-size: 0.9rem;
      padding: 0.5rem 1rem;
    }
  
    .floating-rocket {
      bottom: 8%;
      left: 4%;
      width: 65px;
    }
  
    .floating-astro {
      bottom: 8%;
      right: 4%;
      width: 65px;
    }
  
    .floating-planet1 {
      top: 10%;
      left: 5%;
      width: 60px;
    }
  
    .floating-planet2 {
      top: 10%;
      right: 5%;
      width: 60px;
    }
  
    .floating-satellite {
      top: 35%;
      left: 12%;
      width: 55px;
    }
  
    .floating-galaxy {
      top: 35%;
      right: 12%;
      width: 55px;
    }
  }
  
  










  
  
  footer.footer {
    background: linear-gradient(180deg, #0d0d2b 0%, #1a1a40 100%);
    color: #ffffff;
    font-family: 'Roboto', sans-serif;
    position: relative;
    z-index: 1 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
  }
  
  footer.footer img {
    filter: drop-shadow(0 0 5px #00cfff);
  }
  
  footer.footer p {
    margin: 0.3rem 0;
  }
  
  footer.footer a {
    color: #EAFE07;
    transition: color 0.3s;
  }
  
  footer.footer a:hover {
    color: #E43700;
  }
  
  footer.footer ul.list-inline i {
    transition: transform 0.3s ease;
  }
  
  footer.footer ul.list-inline i:hover {
    transform: scale(1.2);
    color: #ffd700;
  }
  
  @media (max-width: 768px) {
    footer.footer {
      text-align: center;
    }
  
    footer.footer img {
      max-width: 100px;
    }
  
    footer.footer .list-inline-item {
      margin: 0.5rem;
    }
  
    footer.footer p.small {
      font-size: 0.85rem;
    }
  }
  
  
 
  

  .contact-section {
    background-color: #f9f9f9;
  }
  
  .contact-box {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-left: 6px solid #EAFE07;
  }
  
  .contact-box:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(0, 0, 0, 0.08);
  }
  
  .contact-box ul li i {
    font-size: 1.2rem;
    vertical-align: middle;
  }
  
  /* Responsive ajustes */
  @media (max-width: 768px) {
    .contact-box {
      text-align: center;
      padding: 2rem 1rem;
    }
  
    .contact-box ul {
      padding-left: 0;
    }
  
    .contact-box ul li {
      font-size: 1rem;
    }
  
    .contact-section h2 {
      font-size: 1.8rem;
    }
  }
  
  

 /* Sección "anuncio" con fondo blanco */
.inner.anuncio {
    padding: 60px 15px;
    background-color: #ffffff;
  }
  
  /* Contenedor central */
  .anuncio__container {
    max-width: 850px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
  }
  
  /* Tarjeta amarilla */
  .anuncio__card {
    background-color: #EAFE07; /* Amarillo institucional */
    border-radius: 12px;
    padding: 25px;
    width: 100%;
    text-align: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  }
  
  /* Título */
  .anuncio__card h3 {
    color: #000;
    font-size: 28px;
    margin-bottom: 15px;
    font-weight: 900;
  }
  
  /* Texto */
  .anuncio__card p {
    color: #000;
    font-size: 18px;
    margin-bottom: 12px;
    line-height: 1.6;
  }
  
  /* Último párrafo (flecha) */
  .anuncio__card p:last-child {
    font-size: 26px;
    margin-bottom: 0;
  }
  
  /* Negritas */
  .anuncio__card b {
    font-weight: bold;
  }
  
  /* Contenedor botones */
  .anuncio__button-container {
    width: 100%;
  }
  
  /* Botón NASA */
  .btn-nasa {
    background-color: #E43700; /* Rojo institucional */
    color: #ffffff;
    text-decoration: none;
    display: block;
    width: 100%;
    padding: 16px 0;
    border-radius: 12px;
    text-align: center;
    font-size: 1.6rem;
    font-weight: bold;
    transition: all 0.3s ease;
  }
  
  /* Hover del botón */
  .btn-nasa:hover {
    background-color: #8E1100;
    color: #ffffff;
    transform: scale(1.02);
  }
  
  /* Responsive */
  @media (max-width: 767px) {
    .anuncio__card,
    .btn-nasa {
      padding: 15px;
      font-size: 1.4rem;
    }
  
    .anuncio__card h3 {
      font-size: 1.6rem;
    }
  
    .anuncio__card p {
      font-size: 1rem;
    }
  
    .btn-nasa {
      font-size: 1.3rem;
    }
  }
  
  

  /* Fondo de sección */
.why-us {
    background-color: rgb(5, 34, 88);
  }
  
  /* Imagen responsive */
  .why-us-img {
    background-image: url("https://th.bing.com/th/id/OIP.7c-1d6Kq6-r9QWekapepoAHaFh?rs=1&pid=ImgDetMain");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    height: 300px;
    width: 100%;
  }
  
  @media (min-width: 768px) {
    .why-us-img {
      height: 400px;
    }
  }
  
  /* Estilo acordeón */
  .accordion-button {
    background-color: #fff;
    font-weight: 600;
    font-size: 1.1rem;
    color: #000;
    padding: 1rem 1.25rem;
    border: none;
  }
  
  .accordion-button:not(.collapsed) {
    background-color: #eafe07;
    color: #000;
  }
  
  .accordion-body {
    background-color: #f8f9fa;
    color: #000;
    padding: 1rem 1.25rem;
  }
  
  .accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
  }
  



  .ctasede {
    background: linear-gradient(rgba(40, 58, 90, 0.9), rgba(40, 58, 90, 0.9)),
                url("https://www.unaq.edu.mx/wp-content/uploads/PortadaUNAQ-1024x362.jpg") fixed center center;
    background-size: cover;
    padding: 100px 0;
  }
  
  .ctasede h3 {
    color: #fff;
    font-size: 30px;
    font-weight: 700;
    margin-bottom: 15px;
  }
  
  .ctasede p {
    font-size: 18px;
    color: #fff;
    margin-bottom: 10px;
  }
  
  /* Estilo responsivo del mapa */
  .map-responsive {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* 16:9 */
    height: 0;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(0,0,0,0.3);
  }
  
  .map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
  }
  
  /* Responsividad */
  @media (max-width: 1024px) {
    .ctasede {
      background-attachment: scroll;
    }
  }
  
  @media (max-width: 768px) {
    .ctasede h3 {
      font-size: 24px;
    }
  
    .ctasede p {
      font-size: 16px;
    }
  
    .ctasede {
      padding: 70px 20px;
    }
  }
  
  
.revista {
    /* Fondo de la sección con degradado y una imagen de fondo (ajusta la URL según corresponda) */
    background: linear-gradient(rgba(40, 58, 90, 0.9), rgba(40, 58, 90, 0.9)), url("https://www.infobierzo.com/uploads/s1/54/97/15/8/nasa-international-space-apps.webp") fixed center center;
    background-size: cover;
    padding: 20px 0;
    
    /* Opcional: Centrar el contenido vertical y horizontalmente */
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
  }
  
  .revista h3 {
    color: #fff;
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
  }
  
  .revista p {
    color: #fff;
    font-size: 18px;
    margin-bottom: 20px;
  }
  
  /* La imagen se carga desde CSS mediante este contenedor */
  .fp-iframe {
    border: 1px solid lightgray;
    width: 100%;
    height: 600px;
  }
  
  /* Responsividad */
  @media (max-width: 768px) {
    .revista h3 {
      font-size: 24px;
    }
    .revista p {
      font-size: 16px;
    }
  }
  
  @media (max-width: 480px) {
    .revista h3 {
      font-size: 20px;
    }
    .revista p {
      font-size: 16px;
    }
  }
  
  @media (max-width: 1024px) {
    .revista {
      background-attachment: scroll;
    }
  }


  .galeria {
    background-color: rgb(255, 255, 255);
    padding: 60px 20px;
  }
  
  .galeria h3 {
    color: #000000;
    font-size: 28px;
  }
  
  .galeria p {
    color: #000000;
    font-size: 16px;
  }
  
  .galeria-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 15px;
  }
  
  .galeria-item {
    overflow: hidden;
    border-radius: 10px;
    position: relative;
  }
  
  .galeria-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
    display: block;
  }
  
  .galeria-item:hover img {
    transform: scale(1.05);
  }
  
  /* Variaciones de tamaño */
  .galeria-item--wide {
    grid-column: span 2;
  }
  
  .galeria-item--tall {
    grid-row: span 2;
  }
  
  /* Responsividad */
  @media (max-width: 768px) {
    .galeria-grid {
      grid-template-columns: 1fr 1fr;
    }
  
    .galeria-item--wide,
    .galeria-item--tall {
      grid-column: span 2;
      grid-row: span 1;
    }
  }
  
  @media (max-width: 480px) {
    .galeria-grid {
      grid-template-columns: 1fr;
    }
  
    .galeria-item--wide,
    .galeria-item--tall {
      grid-column: span 1;
    }
  }
  





 /* ========= SECCIÓN MENTORES ========= */
#mentores {
    background-color: rgb(5, 34, 88);
    position: relative;
  }
  
  /* Fondo de estrellas animadas */
  #mentores::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background:
      radial-gradient(white 1.5px, transparent 1.5px),
      radial-gradient(#00cfff 1.2px, transparent 1.2px),
      radial-gradient(#ffd700 1.5px, transparent 1.5px),
      radial-gradient(#ff4d4d 1.5px, transparent 1.5px),
      radial-gradient(white 0.8px, transparent 0.8px);
    background-size:
      100px 100px,
      120px 120px,
      160px 160px,
      180px 180px,
      60px 60px;
    background-position:
      0 0,
      60px 30px,
      100px 70px,
      20px 100px,
      80px 40px;
    animation: starsMove 80s linear infinite;
    opacity: 1;
  }
  
  /* Animación del fondo */
  @keyframes starsMove {
    from {
      background-position: 0 0, 60px 30px, 100px 70px, 20px 100px, 80px 40px;
    }
    to {
      background-position: 1000px 1000px, 1060px 1030px, 1100px 1070px, 1020px 1100px, 1080px 1040px;
    }
  }
  
  /* Contenedor principal de la tarjeta */
  .mentor-main-card {
    background-color: #07173f;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
  }
  
  /* Imagen decorativa */
  .mentor-img {
    width: 100%;
    max-width: 350px;
    height: 280px;
    background-image: url('https://th.bing.com/th/id/R.142aebf01154bcffb44952566055875d?rik=1PMFrB5RTUUQOw&pid=ImgRaw&r=0');
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
  }
  
  /* Título */
  .mentor-main-card h2 {
    font-size: 2rem;
    color: #fff;
  }
  
  /* Botón rojo */
  .mentor-btn-red {
    background-color: #E43700;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-size: 1.1rem;
    margin-top: 10px;
  }
  .mentor-btn-red:hover {
    background-color: #8E1100;
    color: #fff;
  }
  
  /* Tarjeta de información */
  .mentor-info-card {
    background-color: #EAFE07;
    border-radius: 10px;
    color: #000;
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.7;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    position: relative;
    margin-top: 2rem;
    text-align: center;
  }
  
  /* Responsivo */
  @media (min-width: 992px) {
    .mentor-main-card {
      flex-direction: row;
      text-align: left;
    }
  
    .mentor-img {
      margin-right: 2rem;
    }
  }
  
  @media (max-width: 768px) {
    .mentor-img {
      width: 100%;
      height: 200px;
      margin: 0 auto;
    }
  
    .mentor-main-card h2 {
      font-size: 1.5rem;
    }
  
    .mentor-info-card {
      font-size: 0.95rem;
      padding: 1.5rem;
    }
  }






  #participante {
    background-color: rgb(5, 34, 88);
    position: relative;
  }
  
  #participante::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    background:
      radial-gradient(white 1.5px, transparent 1.5px),
      radial-gradient(#00cfff 1.2px, transparent 1.2px),
      radial-gradient(#ffd700 1.5px, transparent 1.5px),
      radial-gradient(#ff4d4d 1.5px, transparent 1.5px),
      radial-gradient(white 0.8px, transparent 0.8px);
    background-size:
      100px 100px,
      120px 120px,
      160px 160px,
      180px 180px,
      60px 60px;
    background-position:
      0 0,
      60px 30px,
      100px 70px,
      20px 100px,
      80px 40px;
    animation: starsMove 80s linear infinite;
    opacity: 1;
  }
  
  @keyframes starsMove {
    from {
      background-position: 0 0, 60px 30px, 100px 70px, 20px 100px, 80px 40px;
    }
    to {
      background-position: 1000px 1000px, 1060px 1030px, 1100px 1070px, 1020px 1100px, 1080px 1040px;
    }
  }
  
  .participante-main-card {
    background-color: #07173f;
    border-radius: 12px;
    box-shadow: 0 0 15px rgba(0,0,0,0.2);
    padding: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 2rem;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
  }
  
  .participante-img {
    width: 100%;
    max-width: 350px;
    height: 280px;
    background-size: cover;
    background-position: center;
    border-radius: 8px;
    flex-shrink: 0;
  }
  
  .participante-main-card h2 {
    font-size: 2rem;
    color: #fff;
  }
  
  .participante-btn-red {
    background-color: #E43700;
    color: #fff;
    padding: 0.75rem 2rem;
    font-weight: 600;
    border-radius: 50px;
    text-decoration: none;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-size: 1.1rem;
    margin-top: 10px;
  }
  
  .participante-btn-red:hover {
    background-color: #8E1100;
    color: #fff;
  }
  
  .participante-info-card {
    background-color: #EAFE07;
    border-radius: 10px;
    color: #000;
    padding: 2rem;
    font-size: 1rem;
    line-height: 1.7;
    box-shadow: 0 0 10px rgba(0,0,0,0.15);
    position: relative;
    margin-top: 2rem;
    text-align: center;
    z-index: 1;
  }
  
  @media (min-width: 992px) {
    .participante-main-card {
      flex-direction: row;
      text-align: left;
    }
    .participante-img {
        flex: 0 0 350px; /* ancho fijo */
        height: 280px;
      }
      .participante-main-card .text-content {
        flex: 1; /* ocupa el espacio restante */
      }
  }
  
  @media (max-width: 768px) {
    .participante-img {
      width: 100%;
      height: 200px;
      margin: 0 auto;
    }
    .participante-main-card h2 {
      font-size: 1.5rem;
    }
    .participante-info-card {
      font-size: 0.95rem;
      padding: 1.5rem;
    }
  }
  
  .modal-backdrop.show {
    opacity: 0.95 !important; /* más opaco de lo normal */
    background-color: rgba(0, 0, 0, 0.9); /* fondo más oscuro */
  }
  

  
  











  .formulario-container {
    max-width: 850px;
    margin: 3rem auto;
    background: #fff;
    color: #000;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    padding: 2rem;
  }

  .formulario-container h2 {
    color: #007bff;
    font-weight: 700;
  }

  /* Estilos del multistep */
  .form-step {
    display: none;
  }
  .form-step.active {
    display: block;
  }

  /* Botones de paso */
  .step-buttons {
    display: flex;
    justify-content: space-between;
    margin-top: 1.5rem;
  }

  /* Campos opcionales ocultos */
  .d-none { display: none; }

  /* Personaliza validación */
  .is-invalid {
    border-color: #dc3545 !important;
    box-shadow: 0 0 0 0.2rem rgba(220,53,69,0.25);
  }

  /* Contenedor del formulario */
#registro-formulario {
  position: relative;
  overflow: hidden;
  z-index: 1;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 100%);
}

/* Nebulosa animada */
#registro-formulario::after {
  content: '';
  position: absolute;
  top: -20%;
  left: -20%;
  width: 160%;
  height: 160%;
  z-index: 0;
  background: 
    radial-gradient(circle at 30% 30%, rgba(0, 153, 255, 0.2), transparent 50%),
    radial-gradient(circle at 70% 60%, rgba(255, 0, 153, 0.2), transparent 50%),
    radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.05), transparent 40%);
  animation: moveNebula 60s ease-in-out infinite alternate;
  filter: blur(50px);
}

/* Estrellas */
#registro-formulario::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  background:
    radial-gradient(white 1.5px, transparent 1.5px),
    radial-gradient(#00cfff 1.2px, transparent 1.2px),
    radial-gradient(#ffd700 1.5px, transparent 1.5px),
    radial-gradient(#ff4d4d 1.5px, transparent 1.5px);
  background-size: 100px 100px, 120px 120px, 160px 160px, 180px 180px;
  background-position: 0 0, 60px 30px, 100px 70px, 20px 100px;
  animation: starsMove 100s linear infinite;
  opacity: 0.8;
}

/* Animaciones */
@keyframes moveNebula {
  0% {
    transform: translate(0, 0) scale(1);
  }
  100% {
    transform: translate(-50px, -30px) scale(1.05);
  }
}

@keyframes starsMove {
  from {
    background-position: 0 0, 60px 30px, 100px 70px, 20px 100px;
  }
  to {
    background-position: 1000px 1000px, 1060px 1030px, 1100px 1070px, 1020px 1100px;
  }
}

  .slider-image {
    max-height: 600px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
  }

  @media (max-width: 768px) {
    .slider-image {
      max-height: 350px;
    }
  }

  .custom-control {
    background-color: rgba(0, 0, 0, 0.6);
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    top: 50%;
    transform: translateY(-50%);
    position: absolute;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .carousel-control-prev.custom-control {
    left: 15px;
  }

  .carousel-control-next.custom-control {
    right: 15px;
  }

  .carousel-control-icon {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    line-height: 1;
  }













