/* ------------------------------------------------ */
/* --- 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 --- */

/* --- Pantallas muy grandes --- */
@media (min-width: 1600px) {
  .carousel-custom img {
    height: 45vh;
  }
}

@media (max-width: 992px) {
  .carousel-control-prev span,
  .carousel-control-next span {
    margin: 0;
  }
  .carousel-custom img {
    height: 650px;
  }
}

@media (max-width: 768px) {
  .carousel-custom img {
    height: 300px;
  }

  img[alt="Logo EDUPUC"] {
    width: 80px;
  }
}

@media (max-width: 576px) {

  img[alt="Logo EDUPUC"] {
    width: 60px;
  }

} 

@media (max-width: 480px) {

  img[alt="Logo EDUPUC"] {
    width: 50px;
  }

} 

  .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;
}

.izquierda {
  margin-right: 50px;
}


/* ------------------------------------------------ */
/* --- 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;
  margin-top: 50px;
}

/* 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;
}


.card {
  border-color: red;
}

.card-body {
  padding: 15px;
  border-color: red;
}

.card-title {
  font-size: 1rem;
}

.card-text {
  font-size: 0.9rem;
}

.btn {
  font-size: 0.85rem;
  padding: 5px 10px;
}

.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 #3333334e; /* Crea la línea */
  border-radius: 2px;      /* Suaviza los bordes */
}
