/* ------------------------------------------------ */
/* --- CARRUSEL PRINCIPAL --- */
/* ------------------------------------------------ */
.carousel-custom {
  width: 95%;
  margin: 40px auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  position: relative;
}

.carousel-custom img {
  height: 400px;
  object-fit: cover;
  border-radius: 20px;
}

.carousel-custom .carousel-item::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: 2;
}

.carousel-control-prev,
.carousel-control-next {
  z-index: 3;
}

/* --- RESPONSIVE --- */

@media (min-width: 1600px) {
  .carousel-custom img {
    height: 45vh;
  }
}

@media (max-width: 992px) {
  .carousel-control-prev span,
  .carousel-control-next span {
    margin: 0;
  }
}

@media (max-width: 768px) {
  .carousel-custom img {
    height: 300px;
  }

  img[alt="Logo EDUPUC"] {
    width: 80px;
  }

  img[alt="Logo-ETEC"] {
    width: 80px;
  }
}

@media (max-width: 576px) {
  .carousel-custom img {
    height: 220px;
  }

  img[alt="Logo EDUPUC"] {
    width: 70px;
  }

  img[alt="Logo-ETEC"] {
    width: 80px;
  }

  .carousel-control-prev span,
  .carousel-control-next span {
    margin: 0;
  }
}

/* ------------------------------------------------ */
/* --- TÍTULO CENTRADO --- */
/* ------------------------------------------------ */
.centrado {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  margin: 40px 0;
  margin-top: 50px;
}

.izquierda {
  margin-right: 50px;
}

/* ------------------------------------------------ */
/* --- SECCIÓN EDUPUC --- */
/* ------------------------------------------------ */
.edupuc-section-full {
  background-color: #f2f2f3;
  border-radius: 10px;
  padding: 10px 10px;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
}

.edupuc-section-full p {
  font-size: 1.5rem;
  color: #222;
  line-height: 1.6;
  margin-top: 50px;
}


/* --- Responsive para la sección --- */
@media (max-width: 768px) {
  .edupuc-section-full {
    text-align: center;
  }

  .logo-scroll {
    margin-top: 20px;
  }
}

/* ------------------------------------------------ */
/* --- NUEVOS AJUSTES: IGUALAR TAMAÑO DE IMÁGENES --- */
/* ------------------------------------------------ */
.imagen {
  width: 120px;
  height: 120px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.imagen:hover {
  transform: scale(1.1);
}


/* ------------------------------------------------ */
/* --- FOOTER A PANTALLA COMPLETA --- */
/* ------------------------------------------------ */
.footer-custom {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  box-sizing: border-box;
  background-color: #939598;
  padding: 15px 10px;
  text-align: center;
}

/* Logos del footer */
.footer-logo {
  width: 110px;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.footer-logo:hover {
  transform: scale(1.08);
  filter: brightness(1.15);
}

.footer-divider {
  width: 80%;
  margin: 20px auto;
  border: none;
  height: 1px;
  background-color: #ddd;
}

.footer-copy {
  font-size: 0.95rem;
  color: #555;
  margin: 0;
}

/* RESPONSIVE FOOTER */
@media (max-width: 768px) {
  .footer-logo {
    width: 85px;
  }
  .footer-copy {
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .footer-logo {
    width: 70px;
  }
  .footer-custom {
    padding: 30px 15px 20px;
  }
}

/* ------------------------------------------------ */
/* --- AJUSTE FINAL: PERMITIR SCROLL Y EVITAR DESAPARICIÓN --- */
/* ------------------------------------------------ */
html, body {
  height: auto;
  min-height: 100%;
}

body {
  display: block;
}

.dropdown-item{

  color: aqua;

}

.timeline {
  position: relative;
  max-width: 900px;
  margin: auto;
  padding: 40px 0;
}

.timeline::after {
  content: '';
  position: absolute;
  width: 6px;
  background: #002856 ;
  top: 0;
  bottom: 0;
  left: 50%;
  margin-left: -3px;
  border-radius: 10px;
}

/* --- Items --- */
.timeline-item {
  padding: 20px 40px;
  position: relative;
  width: 50%;
}

.timeline-item::after {
  content: '';
  position: absolute;
  width: 20px;
  height: 20px;
  right: -10px;
  background: white;
  border: 4px solid #002856 ;
  top: 20px;
  border-radius: 50%;
  z-index: 1;
}

.left {
  left: 0;
}

.right {
  left: 50%;
}

.right::after {
  left: -10px;
}

/* --- Contenido --- */
.content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  position: relative;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.content .year {
  font-size: 22px;
  color: #002856 ;
  font-weight: bold;
  margin-bottom: 10px;
}

.content img {
  width: 100%;
  max-height: 200px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

/* --- Responsivo --- */
@media screen and (max-width: 768px) {
  .timeline::after {
    left: 31px;
  }

  .timeline-item {
    width: 100%;
    padding-left: 70px;
    padding-right: 25px;
  }

  .timeline-item::after {
    left: 15px;
  }

  .right {
    left: 0;
  }
}

.timeline-item {
  opacity: 0;
  transform: translateY(40px);
  transition: all 0.6s ease;
}

.timeline-item.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ------------------------------------------------ */
/* --- BOTONES DE EDITORIALES --- */
/* ------------------------------------------------ */
.editorial-btn {
  display: inline-block;
  background-color: #fff;
  border-radius: 15px;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  padding: 15px;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
  width: 95px;
  height: 95px;
}

.editorial-btn img {
  width: 65px;
  height: 60px;
  border-radius: 10px;
}

.editorial-btn:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
}

.editorial-btn:hover img {
  filter: brightness(1.1);
  transform: scale(1.05);
}

.container .row.g-3 {
  margin-top: 10px;
}

@media (max-width: 768px) {
  .editorial-btn img {
    max-width: 100px;
  }
}

@media (max-width: 576px) {
  .editorial-btn img {
    max-width: 80px;
  }

  .editorial-btn {
    padding: 10px;
  }
}

.video-section {
  padding: 50px 15px;
  background-color: #ffffff;
  text-align: center;
}

.video-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #002856;
  margin-bottom: 25px;
}

/* Contenedor principal */
.video-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* Video más rectangular (relación 21:9 aprox) */
.responsive-video {
  position: relative;
  width: 100%;
  max-width: 1000px;
  padding-top: 42%; /* <-- Más ancho y menos alto que el 56.25% */
  overflow: hidden;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Asegura que el video llene el espacio */
.responsive-video iframe,
.responsive-video video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 15px;
}

@media (max-width: 768px) {
  .video-title {
    font-size: 1.4rem;
  }
}
.custom-toggler .navbar-toggler-icon {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='white' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
.linea-centro {
  width: 50%;              /* Ancho de la línea (puedes ajustar a 30%, 70%, etc.) */
  margin: 20px auto;       /* Centrada horizontalmente */
  border: 0;               /* Quita el borde predeterminado */
  border-top: 2px solid #333; /* Crea la línea */
  border-radius: 2px;      /* Suaviza los bordes */
}

