* {
  margin: 0;
  box-sizing: border-box;
  scroll-behavior: smooth;
  font-family: 'Montserrat', sans-serif;
}

body {
  
  line-height: 1.6;
  font-size: 16px;
  color: #333;
  margin: 0;
  padding: 0;
  overflow-x: hidden;
}

/* Header */
.header {
  position: fixed;
  width: 100vw;
  z-index: 3;
}

/* Top Header */
.header_top {
  background-color: #2e89a9;
  line-height: 33px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 5vw;
  font-size: 14px;
  flex-wrap: wrap;
}


.left a,
.right a {
  color: white;
  text-decoration: none;
  margin-right: 30px;
}

.left a:hover,
.right a:hover {
  color: #ff6701;
  text-decoration: none;
}

/* Bottom Header */
.header_bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 92px;
  border: 1px solid #e4e4e5;
  background-color: rgba(255, 255, 255, 1);
  padding: 0 5vw;
}

.logo-header {
  height: 60px;
}

.nav-menu {
  display: flex;
  gap: 40px; 
}


.nav-menu a {
  color: #0095a8;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  text-transform: capitalize;
}

.nav-menu a:hover {
  color: #ff6701;
  text-decoration: underline 2px;
}

/* boton back-to-top */

#button {
  display: inline-block;
  background-color: #FF9800;
  width: 50px;
  height: 50px;
  text-align: center;
  border-radius: 4px;
  position: fixed;
  bottom: 30px;
  right: 30px;
  transition: background-color .3s, 
    opacity .5s, visibility .5s;
  opacity: 0;
  visibility: hidden;
  z-index: 1000;
}
.fa-chevron-up {
  margin-top: 10px;
  font-weight: normal;
  font-style: normal;
  font-size: 2em;
  line-height: 50px;
  color: #025190;
}


.fa-chevron-up:hover {
    font-weight: normal;
    font-style: normal;
    font-size: 2em;
    line-height: 50px;
    color: #2e89a9;
  }


#button:hover {
  cursor: pointer;
  background-color: #333;
    
}
#button:active {
  background-color: #555;
}
#button.show {
  opacity: 1;
  visibility: visible;
}


/* Contenido */
.titulo{
    text-align: center;
    font-size: 45px;
    color: #012E40;
    margin-bottom: 2vh;
}

.titulo2{
    text-align: center;
    font-size: 45px;
    color: #05F2F2;
    margin-bottom: 2vh;
}

.titulo3 {
    font-size: 28px;
    color: #012E40;
    margin-bottom: 2vh
}

.parrafo{
    margin-left: 100px;
    margin-right: 100px;
    color: #012E40;
    text-align: justify;
}
/* Banner - Desktop */
.banner {
  width: 100%;
  padding: 0 5vw;
  margin-bottom: 30px;
  box-sizing: border-box;
}
.banner img {
  display: block;
  width: 100%;
  height: auto;
}

/* Banner - Tablet y móvil (max 768px) */
@media (max-width: 768px) {
  .banner {
    padding: 0; /* Elimina padding para que el banner/imagen se expanda */
    width: 100vw; /* Ocupa todo el ancho del viewport */
    margin-left: calc((100vw - 100%) / -2);  /* Rompe las restricciones del contenedor */
    margin-right: calc((100vw - 100%) / -2);
  }
  .banner img {
    width: 100vw;
    max-width: 100vw;
    height: auto;
    display: block;
  }
}

/* Banner - Móvil pequeño (max 480px) */
@media (max-width: 480px) {
  .banner {
    padding: 0; /* Sin padding, ocupa todo el ancho real */
    margin-bottom: 16px;
  }
  .banner img {
    width: 100vw;
    max-width: 100vw;
    min-height: 100px;
    object-fit: cover; /* Si la imagen es baja, se escala para mejor efecto */
  }
}


/* Bloque */
.bloque {
  display: flex;
  gap: clamp(1rem, 5vw, 8rem);
  padding: 2rem;
  margin: 5 auto;
}

.logo-container {
  flex: 0 0 40%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.logo {
  max-width: 70%;
  height: auto;
}


.logo:hover {
    transform: scale(1);
}

/* Video */
.video {
    width: 50%;
}

.video-timeline video {
    width: 100%;
    overflow: hidden;
    height: auto;
    display: block;
    border-radius: 15px;
}

.video h2,
.video p {
    text-align: center;
}

/* Contenedor centrado para el video */
.video-container {
  width: 100%;
  max-width: 800px; 
  margin: 0 auto;   
  padding: 20px 0;
}

.video video {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 15px;
}

/* Índice */
.indice{
    display: flex;
    flex-direction: row;
    justify-content: space-around;
    
}

.ico:hover {
    transform: scale(1.2); 
    transition: transform 0.3s ease; 
}


.ico {
    width: 100px;
    margin-left: 30%;
    margin-top: 25%;
}

.tick{
    width: 20px;
}

.boton-enlace {
  text-decoration: none;
  color: white;
  padding: 10px 20px;
  background-color: #FF9800;
  border-radius: 6px;
  display: inline-block;
  font-family: Arial, sans-serif;
  font-size: 16px;
  font-weight: 600;
  transition: background 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.12);
}

.boton-enlace:hover {
  background-color: #333333;
  cursor: pointer;
}





/* Animación */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Responsive */

@media (max-width: 768px) {
  .header_top,
  .nav-menu {
    display: none;
  }

  .header_bottom {
    justify-content: center;
  }
  .bloque {
    flex-direction: column;
    align-items: center;
  }

  .column {
    flex-direction: column;
    gap: 10px;
    padding: 10px 0;
  }

  .column > div {
    width: 100%;
    padding: 0 15px;
  }

  .parrafo {
    margin-left: 20px;
    margin-right: 20px;
    font-size: 16px;
  }

  .titulo,
  .titulo2 {
    font-size: 28px;
    text-align: center;
  }

  .title {
    font-size: 1.2rem;
  }


  .elemento--indice {
    display: none;
  }

  .ico {
    width: 60px;
    margin: 10px auto 0 auto;
    display: block;
  }

  .logo {
    max-width: 90%;
    margin-left: 0;
    margin-right: 0;
  }

  .video {
    width: 100%;
    padding: 0 15px;
  }

  .video-timeline video {
    width: 100%;
  }
}

/* Secciones diferenciadas por fondo */
.section--white {
    background-color: #ffffff;

}

.section--gray {
    background-color: #f9fafb;
    width: 100%;
    padding: 40px 20px;
}

.section--gray--centrado {
    background-color: #f9fafb;
    width: 100%;
    padding: 40px 20px;
    display: flex;
    justify-content: center;    
    align-items: center;        
    flex-direction: column;    
}

.section--navy {
    background-color: #012E40;
    align-items: center;
    width: 100%;
    padding: 40px 20px;
}


.swal2-html-container.text-justify {
  text-align: justify;
}
  

