.carousel-tarjetas {
  padding: 40px 0;
}

.col-sm-offset-2 {
  margin-left: 0 !important;
}

/* .bg-wrapper {
  background-size: cover;
  background-position: center;
  transition: background-image 0.5s ease-in-out;
} */
.bg-wrapper {
  background-image: url('../src/assets/bgblue.jpg'); /* <- tu imagen estática aquí */
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  transition: none !important;
  border-radius: 25px;
}
/* https://plus.unsplash.com/premium_photo-1672274915389-aee4bae643fc?q=80&w=687&auto=format&fit=crop&ixlib=rb-4.1.0&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D */

.row-centered {
  text-align: center;
}

.col-centered {
  float: none;
  display: inline-block;
  vertical-align: top;
}

.ted{
  padding-top: 30px;
  width: 90%;
}

.tarjeta .panel {
  background: rgba(255, 255, 255, 0.95);
  min-height: 380px;
  transition: transform 0.3s ease-in-out;
  border-radius: 25px;
}

.tarjeta img {
  cursor: pointer;
  height: 180px;
  object-fit: cover;
  object-position: center;
  width: 100%;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tarjeta img:hover {
  transform: scale(1.03);
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.3);
}

.tarjeta .btn {
  transition: all 0.3s ease-in-out;
  border-radius: 20px !important;
}

.tarjeta .btn:hover {
  background-color: #337ab7;
  color: white;
  transform: scale(1.05);
}

.tarjeta {
  animation: fadeInUp 0.8s ease-in-out;
}

.youtube-carrusel{
  margin-top: 50px !important;
}

.yt-card{
  margin: 40px 0;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.modal-body iframe {
  border: none;
}

@media (max-width: 768px) {
  .tarjeta .panel {
    min-height: 420px;
  }

  .tarjeta img {
    height: 180px;
    width: 100%;
    object-fit: cover;
  }
}

@media (max-width: 768px) {
  .row.text-center { 
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }

  .row.text-center .tarjeta {
    width: 100%;
    max-width: 360px;
    margin: 0 auto 20px;
  }

  .tarjeta .panel {
    min-height: 460px;
  }

  .tarjeta img {
    height: 180px;
    width: 100%;
    object-fit: cover;
  }
}

@media (min-width: 992px) {
  .tarjeta {
    max-width: 300px;
  }
}