body {
  margin: 0 !important;
  padding: 0 !important;
  overflow-x: hidden;
}
wp-carousel-section {
  width: 100vw !important; /* Full viewport width */
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  overflow: hidden;
}

.wp-carousel-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.wp-carousel-slider {
  display: flex;
  transition: transform 0.7s ease;
  width: 100%;
}

.wp-carousel-slide {
  flex: 0 0 20%;
  max-width: 20%;
  transition: transform 0.7s ease;
  position: relative;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.wp-carousel-slide img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  transition: transform 0.7s ease;
}

.wp-carousel-slide:hover img {
  transform: scale(1.2);
}

.wp-carousel-overlay {
  position: absolute;
  top: 100%;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(9, 55, 104, 0.7);
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: top 0.7s ease-out;
  padding: 10px;
  box-sizing: border-box;
  z-index: 2;
}

.wp-carousel-slide:hover .wp-carousel-overlay {
  top: 0;
}

.wp-carousel-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 10px;
  color: black;
}
.wp-carousel-overlay h3 {
  font-weight: 800; /* Extra bold */
  font-size: 24px; /* Bigger and bolder */
  margin-bottom: 10px;
  color: #ffffff;
  text-transform: uppercase; /* Optional: makes the title uppercase */
}

.wp-carousel-description {
  font-size: 16px;
}

.plus-icon {
  position: absolute;
  bottom: 20%;
  right: 40%;
  background: white;
  color: black;
  font-size: 28px;
  width: 40px;
  height: 35px;
  line-height: 30px;
  text-align: center;
  border-radius: 50%;
  font-weight: bold;
  opacity: 0;
  transition: opacity 0.4s ease, transform 0.3s ease;
  z-index: 3;
}

.wp-carousel-slide:hover .plus-icon {
  opacity: 1;
  transform: scale(1.1);
}

.plus-icon:hover {
  background: #333;
  color: white;
  transform: scale(1.3);
}

.wp-carousel-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  transform: translateY(-50%);
  pointer-events: none;
}

.wp-carousel-prev,
.wp-carousel-next {
  background: #000000;
  color: white;
  width: 40px;
  height: 40px;
  padding: 10px 10px;
  border: none;
  cursor: pointer;
  font-size: 20px;
  pointer-events: auto;
  border-radius: 50%;
  opacity: 0.4;
  display: flex;
  justify-content: center;
  align-items: center;
}
.wp-carousel-prev:hover,
.wp-carousel-next:hover {
  opacity: 1;
}
@media (min-width: 768px) and (max-width: 1024px) {
  .wp-carousel-slide {
    flex: 0 0 50% !important;
    max-width: 50% !important;
  }

  .wp-carousel-slide img {
    height: 400px !important;
  }
}

@media (max-width: 767px) {
  .wp-carousel-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  .wp-carousel-slide img {
    height: 250px !important;
  }
}
