.carouselW {
  transform: translateY(-25px);
  -webkit-transform: translateY(-25px);
}
.carouselW .carousel-item {
  background-size: cover !important;
  background-position: center center;
  background-repeat: no-repeat !important;
  height: 400px;
  width: 100%;
  margin-top: 2.5rem;
}

.carouselW__contentText {
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  padding: 0 2rem;
}

.carouselW__text {
  color: #fff;
  /* text-align: center; */
}

.carouselW__text p {
  margin: 0;
  font-weight: 400;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 1rem;
  font-size: 38px;
}

.carouselW__text .box-btn {
  border-radius: 0;
  box-shadow: none !important;
  border: none;
  cursor: initial;
  margin: 0;
}

.carouselW__text .btn {
  text-transform: uppercase;
}
.carouselW__text--border {
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  line-height: 3;
}

.carouselW__image {
  max-height: 100%;
  -webkit-max-height: 100%;
}

.counters strong {
  display: block;
  font-size: 53px;
  font-weight: 600;
  line-height: 60px;
  line-height: 1.2;
}

.counters label {
  display: block;
  font-size: 25px;
  font-weight: 100;
  line-height: 20px;
  color: #fff;
}

.card-thumbnail-welcome {
  display: block;
  padding: 4px;
  margin-bottom: 20px;
  line-height: 1.42857143;
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 2px;
  -webkit-transition: border 0.2s ease-in-out;
  -o-transition: border 0.2s ease-in-out;
  transition: border 0.2s ease-in-out;
}
.card-thumbnail-welcome .events-heading {
  height: 50px;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.card-thumbnail-welcome img {
  border-radius: 4px;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 8px;
  width: 100%;
  max-height: 100%;
  max-width: 100%;
}

.nav-tabs-welcome li a {
  position: relative;
  display: block;
}

.content-welcome .lead {
  font-size: 1.5rem !important;
  line-height: 1.8rem !important;
}

.carouselW .animated {
  animation-duration: 0.5s; /* Adjust the duration as needed */
  animation-fill-mode: both;
}

.text-multiline-description {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  min-height: 50px;
}

.min-width {
    width: 120px;
}

/* .carouselW .backInDown {
    animation-name: backInDown;
  }
  
  @keyframes backInDown {
    0% {
      opacity: 0;
      transform:  translateY(-100%);
    }
    100% {
      opacity: 1;
      transform: translateY(0);
    }
  } */
/* .carouselW .carousel-item .carouselW__image, 
.carouselW .carousel-item .carouselW__contentText{ 
    opacity: 0;
}
.carouselW .carousel-item.active .carouselW__image, .carouselW .carousel-item.active .carouselW__contentText {
    animation: slideUpFade 0.6s ease-in-out;
    opacity: 1;
  }
  
  .carouselW .carousel-item .carouselW__image, .carouselW .carousel-item .carouselW__contentText {
  }
  
  @keyframes slideUpFade {
    from {
      transform: translateY(100%);
      opacity: 0;
    }
    to {
      transform: translateY(0);
      opacity: 1;
    }
  }
  @keyframes slideDownFade {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100%);
        opacity: 0;
    }
  }
 */
@media (max-width: 992px) {
  .carouselW__text {
    padding: 1rem;
  }
  .carouselW__text p {
    font-size: 2rem;
    margin-left: 1rem;
  }
  .carouselW__image {
    max-width: 450px;
  }
}

@media (max-width: 767px) {
  .carouselW__text p {
    font-size: 2rem;
  }

  .carouselW__image {
    display: none;
  }

  .counters strong {
    font-size: 4rem;
  }
}
