.fimg {
  height: 200px;
  width: 100%;
}

.unimg {
  height: 400px;
  width: 100%;
}

.carousel-item {
  position: relative;
  height: 450px; /* Set the height of the carousel items here */
}

/* Media query for small screen devices */
@media (max-width: 767px) {
  .fimg {
    height: 250px;
    width: 100%;
  }
  .carousel-item {
    height: 300px; /* Set the height for small screen devices here */
  }
  .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;  
  }
}

.carousel-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;  
}

.carousel-item a {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6); /* Adjust the overlay background color and opacity here */
  opacity: 0;
  transition: opacity 0.5s ease; /* Set the transition duration here */
}

.carousel-item:hover a {
  opacity: 1;
}

.carousel-caption {
  position: absolute;  
  color: #fff;
}

.short_text {
  text-align: justify;
  color: rgb(109, 109, 110);
}

.highlight {
  text-align: justify;
  color: rgb(0, 0, 134);
}

.long_text {
  text-align: justify;
  color: rgb(34, 34, 85);
  font-weight: 400;
}