.slick-next {
  right: 0 !important; /* Ajustar la posición */
}

.slick-prev {
  left: 0 !important; /* Ajustar la posición */
}

.circle-image {
  border-radius: 50%;
  object-fit: cover;
}

.timeline-container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* Timeline Styles */
.timeline {
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 20px;
  padding: 20px 0;
}

.timeline-arrow button {
  background-color: #fff;
  border: 2px solid #ccc;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  transition: background-color 0.3s;
}

.timeline-arrow button:hover {
  background-color: #f0f0f0;
}

.events {
  display: flex;
  justify-content: space-around;
  flex-wrap: nowrap;
  overflow-x: hidden;
  width: 80%;
}

/* Event Cards */
.event-card {
  flex-shrink: 0;
  width: 200px;
  margin: 0 15px;
  padding: 15px;
  border-radius: 8px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* Flip Card Styles */
.flip-card {
  position: relative;
  width: 300px; /* Ancho de la tarjeta */
  height: 295px; /* Alto de la tarjeta */
  perspective: 1000px; /* Para el efecto 3D */
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  transition: transform 0.6s;
  border-radius: 15px;
  overflow: hidden;
}

.flip-card-front {
  background: white;
}

.flip-card-back {
  background: #E70101; /* Color de fondo para el reverso */
  transform: rotateY(180deg); /* Voltear hacia atrás */
}

.flip-card:hover .flip-card-front {
  transform: rotateY(180deg); /* Voltear al pasar el ratón */
}

.flip-card:hover .flip-card-back {
  transform: rotateY(0deg); /* Mostrar reverso */
}

.orange {
  background-color: #E70101;
  color: #fff;
}

.green {
  background-color: #000000;
  color: #fff;
}

.event-card img {
  width: 100%;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}

/* Button Style */
.download-btn {
  background-color: #E70101;
  color: white;
  padding: 15px 30px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  margin-top: 20px;
  font-size: 18px;
  text-transform: uppercase;
}

.download-btn:hover {
  background-color: #a10e0e;
}

/* Scholarship Section */
.scholarships {
  padding: 50px 20px;
}

/* Scholarship Cards Layout */
.scholarship-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
  flex-wrap: wrap;
}

/* Card Styles */
.card {
  background-color: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 10px;
  padding: 20px;
  width: 300px;
  text-align: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-10px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card-icon img {
  width: 60px;
  height: 60px;
  margin-bottom: 15px;
  margin-left: auto;
  margin-right: auto;
}

/* Card Headings */
.card h3 {
  font-size: 1.5rem;
  margin-bottom: 10px;
  color: #333;
}

/* Card Description */
.card p {
  font-size: 1rem;
  color: #666;
  margin-bottom: 20px;
}

/* Button Styles */
.btn {
  background-color: #E70101;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  text-transform: uppercase;
  font-size: 1rem;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #ac1313;
}

.float{
    position:fixed;
    width:60px;
    height:60px;
    bottom:40px;
    right:40px;
    color: #040404;
    border-radius:50px;
    text-align:center;
    font-size:30px;
    z-index:100;
}
.float:hover {
    text-decoration: none;
    color: #040404;
  background-color:#040404;
}

.my-float{
    margin-top:16px;
}

.appwhat{
 position:fixed;
 right:40px; 
 bottom: 100px ;
 width: 60px;
 z-index: 1000px ;
 border-radius:50px;
 text-align:center;
  font-size:30px;
  color:#040404;
  
}
.appwhat:hover {
    text-decoration: none;
    color: #040404;
  background-color:#040404;
}



.appwhat img{
    width: 100%;
    height: auto;
}

header {
  position: fixed !important;
  background: #E70101;
  height: 160px;
  width: 100%;
  z-index: 1000;
}

#top-line {
  background-color: white;
  height: 100px;
  display: flex;
  align-items: center;
  padding: 0 20px;
  box-sizing: border-box;
  justify-content: center;
}

#logo-container {
  display: flex;
  align-items: center;
  justify-content: center;
}

#logo-container img {
  height: 95px;
  margin-right: 15px;
}

#logo-container a {
  color: black;
  text-decoration: none;
  font-size: 24px;
  line-height: 1.2;
}

#menu {
  top: 60px;
  width: 100%;
  transition: max-height .4s ease;
}

#menu ul {
  margin: 0;
  padding: 0;
  list-style: none;
  font-size: 14px;
}

#menu li {
  display: block;
  background: #33363b;
  text-transform: uppercase;
  text-align: center;
  border-bottom: 1px solid #282b30;
}

#menu li a {
  display: block;
  color: #fff;
  text-decoration: none;
  line-height: 60px;
  padding: 0 26px;
  font-family: 'Roboto', sans-serif;
}

#menu li a:active,
#menu li a:focus {
  color: #E70101;
}

/* Submenú */
.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 999;
  width: 300px; /* Fijar un ancho uniforme para todos los submenús */
  background: rgba(255, 255, 255, 0.7);
  border-top: 1px solid #E70101;
  filter: alpha(opacity=0);
  transition: all 0.2s ease-out;
  box-shadow: 0px 4px 4px 1px rgba(0, 0, 0, 0.2);
}

.submenu li {
  border: none;
  text-align: left;
  padding: 0; /* Eliminar cualquier padding adicional */
}

.submenu li a {
  display: block;
  line-height: 50px;
  padding: 0 20px; /* Uniforme padding interno */
  text-decoration: none;
  color: #000000 !important;
  font-size: 14px;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  text-transform: uppercase;
  transition: all 0.2s ease-out;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  width: 300px;
  text-align-last: center;
}

.submenu li a:hover {
  color: #E70101 !important;
  background: #151a1e;
}

.has-submenu:hover .submenu {
  display: block;
}

/* Flecha indicativa para submenús */
.submenu-arrow {
  margin-left: 10px;
  font-size: 12px;
}

/* Estilos opcionales para mejorar */
.submenu li a {
  text-align: left; /* Asegúrate que el texto esté alineado a la izquierda */
  white-space: nowrap; /* Evitar que el texto se divida en varias líneas */
}

/* Menú para pantallas grandes */
@media only screen and (min-width: 768px) {

  #nav-mobile {
    display: none;
  }

/* Estilos del menú principal */
#menu {
  display: flex;
  justify-content: center;
  width: auto;
  top: 0;
}

#menu li {
  float: left;
  border: 0;
  background: transparent;
  position: relative; /* Para posicionar la línea debajo */
}

#menu li > a { /* Se aplica solo a los enlaces del menú principal */
  color: #fff;
  padding: 0 26px;
  transition: transform 0.3s ease, color 0.3s ease; /* Transiciones suaves */
  position: relative;
}

#menu > ul > li > a::after { /* Solo los enlaces directos del menú principal tendrán la línea */
  content: '';
  position: absolute;
  width: 0;
  height: 2px;
  background-color: #ffffff; /* Color de la línea */
  bottom: 14px; /* Debajo del texto */
  left: 12%;
  transition: width 0.3s ease; /* Transición suave para la línea */
}

#menu li a:hover {
  color: #ffffff;
  transform: scale(1.1); /* Efecto de zoom */
}

#menu li a:hover::after {
  width: 70%; /* Línea completa al hacer hover */
}

#menu li a:hover + .submenu {
  display: block;
}

/* Estilos del submenú */
.submenu {
  display: none;
  padding: 0; /* Elimina el padding de la lista para centrar los elementos */
  margin: 0; /* Elimina el margin de la lista para centrar los elementos */
  text-align: center; /* Centra el contenido de la lista */
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  display: inline-block; /* Muestra los elementos en línea para centrarlos */
}

.submenu li a {
  display: block; /* Hace que el enlace ocupe todo el espacio del li */
  color: #fff;
  padding: 8px 16px;
  transition: color 0.3s ease; /* Transición suave para el color */
}

.submenu li a:hover {
  color: #E70101; /* Cambia el color del texto a rojo en el submenú */
  background: transparent; /* Elimina cualquier fondo en hover */
}

}

/* Estilo de menú móvil */
@media only screen and (max-width: 768px) {
  #menu ul {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  #menu .open-menu ul {
    max-height: 400px;
  }

  #nav-mobile {
    background: transparent;
    border: 0;
    cursor: pointer;
    float: right;
    width: 60px;
    height: 60px;
    position: absolute;
    right: 15px;
    top: -45px;
    opacity: 0.6;
    transition: opacity 0.3s ease;
  }

  #nav-mobile.nav-open {
    opacity: 1;
  }

  #nav-mobile span {
    display: block;
    width: 60%;
    margin: 4px auto;
    height: 4px;
    background: #fff;
  }

  .submenu {
    position: relative;
    background: #33363b;
    z-index: 999;
  }

  .submenu li a {
    line-height: 60px;
  }
}

@media only screen and (max-width: 1440px) {
  #logo a {
    display: none;
  }
}

.slider-container {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}
.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
}
.slider-item {
  min-width: 100%;
  box-sizing: border-box;
}
.slider-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.navigation-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  cursor: pointer;
  padding: 10px;
  z-index: 10;
}
.prev-button {
  left: 10px;
  z-index: 50;
}
.next-button {
  right: 10px;
  z-index: 50;
}

@media only screen and (max-width: 768px) {
  .slider-container {
    height: 300px; /* Ajusta la altura para pantallas pequeñas */
  }

  .navigation-button {
    padding: 8px; /* Ajusta el tamaño del botón para pantallas pequeñas */
  }

  .slider-item img {
    width: 100%;
    height: 300px;
    object-fit: cover;
  }
}
/*Scrollbar styles*/
::-webkit-scrollbar{
  width: 12px;
}

::-webkit-scrollbar-track{
  background: #121212;
}

::-webkit-scrollbar-thumb{
  background: #E70101;
  border-radius: 12px;
}

::-webkit-scrollbar-thumb:hover{
  background: #d41c1c;
}

/* Botón flotante cuando está cerrado */
.info-floating-btn {
  position: fixed;
  right: 22px;
  top: 50%;
  transform: translateY(-50%) rotate(90deg); /* Rotación de 90 grados */
  transform-origin: right center; /* Mantiene el botón pegado al borde derecho */
  background-color: #E70101;
  color: white;
  padding: 10px;
  border-radius: 5px 0 0 5px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap; /* Evita que el texto se divida en varias líneas */
  z-index: 1000;
  transition: right 0.5s ease; /* Añade la transición para suavizar el desplazamiento */
}

.info-floating-btn i {
  font-size: 24px;
  margin-right: 10px; /* Espacio entre el icono y el texto */
}

/* Modal */
.info-modal {
  position: fixed;
  top: 79px;
  right: 0; /* Fija el modal al lado derecho */
  width: 400px; /* Ajusta el ancho del modal */
  height: 100%;
  background-color: transparent; /* Elimina el oscurecimiento */
  display: none;
  justify-content: flex-end; /* Mantiene el modal pegado al lado derecho */
  align-items: center;
  z-index: 1005;
  overflow-y: auto; /* Agrega scroll si el contenido excede la altura */
  transform: translateX(550px); /* Inicialmente fuera de la pantalla */
  transition: transform 0.5s ease; /* Animación */
}

/* Contenido del modal */
.info-modal-content {
  background-color: white;
  padding: 20px;
  border-radius: 8px 0 0 8px; /* Bordes redondeados solo del lado izquierdo */
  width: 400px;
  max-width: 90%;
  max-height: 62vh; /* Limita la altura del contenido a 80% de la pantalla */
  overflow-y: auto; /* Permite el scroll en el contenido del modal */
  z-index: 1005;
}

/* Botón cuando el modal está abierto */
.info-floating-btn.modal-open {
  right: 169px; /* Mueve el botón al borde izquierdo del modal */
  top: 260px;
  transform: translateY(-50%) rotate(90deg); /* Mantiene la rotación del botón */
  transform-origin: left center; /* Alinea el botón con el borde del modal */
}

.info-modal.open {
  right: 0; /* Mueve el modal a la vista */
  transform: translateX(0); /* Se mueve a su posición final */
}

/* CONTADOR DE NUMEROS */

.counter-container {
  display: flex;
  justify-content: space-around;
  align-items: center;
  background-color: #E70101;
  color: white;
  padding: 40px 0;
}

.counter-item {
  text-align: center;
}

.divider {
  border-left: 1px solid white;
  height: 50px;
}

.count {
  font-size: 3rem;
  font-weight: bold;
}

.description {
  font-size: 1.1rem;
}

/* Estilos para el modal */

.modal-content {
  background-color: #E70101;
  border-radius: 15px;
  padding: 20px;
  text-align: center;
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 100%;
  max-width: 520px; /* Aumenta el ancho para acomodar el contenido */
  color: white;
  font-family: Arial, sans-serif;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transform: translateX(-550px); /* Inicialmente fuera de la pantalla */
  transition: transform 0.5s ease; /* Animación */
  z-index: 50;
}

.modal-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.text-content {
  max-width: 70%; /* Ajusta el ancho del texto */
}

.modal-content h2 {
  font-size: 1.25rem;
  margin-bottom: 10px;
}

.modal-content p {
  font-size: 1rem;
  margin-bottom: 20px;
}

.modal-content button {
  background-color: white;
  color: #E70101;
  padding: 10px 20px;
  border-radius: 25px;
  font-size: 1rem;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.modal-content img {
  width: 190px;
  height: auto;
  margin-left: 20px; /* Espacio entre el texto y la imagen */
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.5rem;
  cursor: pointer;
}

/* Clase activa para mostrar el modal */
.modal-show {
  transform: translateX(0); /* Se mueve a su posición final */
}

/* Seccion De Carreras */
/* Estilos de la sección principal */
.hero {
  background-color: #E70101; /* Fondo naranja */
  color: white;
  text-align: center;
  padding: 100px 20px;
  position: relative;
  overflow: hidden; /* Para que la imagen no se salga del contenedor */
}

.hero h1 {
  font-size: 45px;
  font-family: 'Roboto', sans-serif;
  font-weight: 700;
  margin-bottom: 20px;
  text-transform: uppercase;
  text-shadow: 4px 2px #000;
  margin: 0 auto 20px auto; /* Centrar el texto y mantener el margen inferior */
  z-index: 2;
  position: relative; /* Para estar por encima de la imagen */
  letter-spacing: 1px;
  line-height: 1.4 !important;
  max-width: 1200px; /* Ajusta este valor según tu diseño */
}

.hero .cta-button {
  background-color: black;
  color: white;
  padding: 10px 20px;
  text-transform: uppercase;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-family: 'Roboto', sans-serif;
  z-index: 2;
  position: relative; /* Para estar por encima de la imagen */
  font-size: 13px;
}

.hero .cta-button:hover {
  background-color: #ffffff;
  color: black;
  border-bottom: 1px solid #E70101;
  border-top: 1px solid #E70101;
  border-right: 1px solid #E70101;
  border-left: 1px solid #E70101;
}

.hero .overlay-text {
  position: relative;
  z-index: 2;
  font-family: 'Roboto', sans-serif !important;
  font-weight: 700;
  font-size: 1.5rem;
  text-shadow: 4px 2px #000;
}

/* Estilos para la imagen */
.hero img {
  position: absolute;
  top: 0;
  right: 25%; /* Ajusta la posición con porcentaje */
  width: 50%; /* Mantén la imagen al 50% de ancho */
  height: auto;
  z-index: 1; /* Debajo del texto */
}

.main-section {
  text-align: center;
  padding: 50px;
  background-color: white;
}

.main-section h1 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.tabs {
  display: flex;
  justify-content: center;
  margin-bottom: 20px;
}

.tab-link {
  background-color: transparent;
  border: none;
  cursor: pointer;
  padding: 10px;
  font-size: 14px;
  text-transform: uppercase;
  font-weight: bold;
  margin: 0 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  color: #333;
}

.tab-link.active {
  color: #E70101;
}

.tab-link .icon {
  font-size: 24px;
  margin-bottom: 5px;
}

.tab-content {
  display: none;
  background-color: #f9f9f9;
  padding: 20px;
  border: 1px solid #ddd;
  max-width: 900px;
  margin: 0 auto;
}

.tab-content.active {
  display: block;
}

.tab-content h2 {
  font-size: 20px;
  margin-bottom: 10px;
  text-align: left;
}

.tab-content p {
  font-size: 16px;
  line-height: 1.6;
  text-align: left;
  margin-bottom: 20px;
}

.colorpaloma {
  color: #E70101;
}

/* Estilo para la sección completa */
.cta-section {
  background-color: #E70101; /* Fondo naranja */
  padding: 30px 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  overflow: visible;
  height: 250px; /* Fija la altura del contenedor */
}

/* Contenedor principal */
.cta-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1000px;
  width: 100%;
  position: relative;
}

/* Estilo para la imagen */
.cta-image {
  position: absolute;
  top: -125px; /* Ajusta este valor para que la imagen se salga del contenedor */
  left: -130px; /* Ajusta según el diseño */
  z-index: 2;
}

.cta-image img {
  width: 300px; /* Ajusta el tamaño de la imagen */
  height: auto;
}

/* Estilo del texto */
.cta-text {
  color: white;
  margin-left: 200px; /* Ajusta este valor según el tamaño de la imagen */
  max-width: 600px;
}

.cta-text h2 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
}

.cta-text p {
  font-size: 16px;
  margin-bottom: 20px;
}

/* Estilo del botón */
.cta-button {
  background-color: black;
  color: white;
  padding: 10px 20px;
  border: none;
  font-size: 16px;
  cursor: pointer;
  border-radius: 5px;
}

.cta-button:hover {
  background-color: #333;
}