.universidades {
  background: linear-gradient(145deg, #1c1b1f, #292830);
  padding: 90px 20px;
  text-align: center;
  color: #ffffff;
}

.universidades-content {
  max-width: 1200px;
  margin: 0 auto;
}

.section-subtitle {
  font-size: 18px;
  color: #d2d2d2;
  max-width: 700px;
  margin: 0 auto 60px auto;
  line-height: 1.6;
}

/* NUEVO: fila de logos */
.universidades-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 40px;
  margin-bottom: 40px;
}

/* Opcional: para asegurar que la segunda fila se centre bien */
.fila-dos {
  justify-content: center;
}

/* Logo individual */
.universidad-logo {
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(243, 160, 245, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  background-color: transparent;
  width: 250px;
  box-sizing: border-box;
  text-align: center;
}

.universidad-logo:hover {
  transform: translateY(-5px) scale(1.05);
}

.universidad-logo img {
  max-width: 100%;
  height: 100px;
  object-fit: contain;
  transition: filter 0.3s ease;
}

.utplogo > img {
  width: 170px;
}

.utplogo2 > img {
  width: 80px;
}

.universidad-logo img:hover {
  cursor: pointer;
}

.nombre-universidad {
  margin-top: 15px;
  font-size: 15px;
  font-weight: 600;
  color: white;
  text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
  .universidad-logo {
    width: 45%;
  }
}

@media (max-width: 576px) {
  .universidad-logo {
    width: 100%;
  }

  .universidad-logo img {
    height: 80px;
  }

  .section-title {
    font-size: 28px;
  }
}
