.slideshow {
  width: 100%;
  height: auto;
  position: relative;
  margin: 0 auto;
  max-width: 1440px;
}

.slideshow .wrapper {
  width: 100%;
  height: 0;
  padding-top: 36.8%; /* Maintain 16:9 aspect ratio (9 divided by 16) */
  position: relative;
  overflow: hidden;
}

.slideshow .slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  margin-top: 25px;
}

.slideshow .slide .image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.slideshow .image img {
  margin-top: 150px!important;
}


.slideshow .slide p {
  color: #ffffff;
  /* font-size: 30px; */
  text-align: center;
  width: 100%;
  margin: 0;
  padding: 20px;
  background-color: #111111;
  margin-bottom: 30px;
  margin-top: 50px;
}

.slideshow .active {
  opacity: 1;
}

/* Mobile styles */
@media (max-width: 768px) {
  .slideshow .slide p {
    font-size: 18px!important;
    padding: 10px 0!important;
  }
}