.carousel {
  display: flex; /* Flexbox to arrange track within the container */
  overflow: hidden;
  width: 100%;
}
.carousel-container {
  position: relative; /* Ensures that buttons are positioned relative to the carousel-container */
  overflow: hidden; /* Hide overflow to ensure clean clipping */
  width: 100%; /* Ensure the container uses full width of its parent */
}

.carousel-track {
  display: flex; /* Display items in a row */
  transition: transform 0.5s ease; /* Smooth scrolling effect */
  width: 100%; /* Full width of the carousel container */
}

.carousel-item {
  flex: 0 0 33%; /* Each item takes up 33% of the container width */
  box-sizing: border-box; /* Include padding and border in the width calculation */
  /*margin-right: 5px; /* Smaller gap between items */
  padding: 10px; /* Padding around content to prevent image from being squished */
}

.carousel-item:last-child {
  margin-right: 0; }/* Remove margin from the last item */

.carousel-item-content {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: white;
  border: 1px solid #ddd;
}

.carousel-item-image {
  flex: 1 1 auto; /* Grow to fill available space */;
  height: 150px; /* Fixed height for image */
  background-size: cover;
  background-position: center;
}

.carousel-item-info {
  padding: 2px;
  text-align: center;
}

.carousel-item-info .carousel-item-icons {
  display: flex;
  justify-content: center;
  align-items: center;
}

.carousel-item-info .carousel-item-icons img {
  width: 20px; /* Adjust size as needed */
  height: auto;
  margin-right: 5px;
}

.carousel-item-info .carousel-item-icons span {
  margin-right: 15px; /* Space between icons */
}

.view-more-button {
  display: inline-block;
  background-color: #2e3c6d; /* Dark blue */
  color: white;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  text-decoration: none;
  text-align: center;
  font-size: 16px;
  margin-top: 5px;/*10px*//* Space between button and other content */
}

.nav-button {
  position: absolute;
  top: 5%; /* Vertically center the button */
  transform: translateY(-50%); /* Center button vertically */
  background-color: #2e3c6d; /* Dark blue background */
  color: white; /* White text */
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  cursor: pointer;
  font-size: 24px;
  z-index: 10; /* Ensure buttons are above carousel items */
  width: 40px; /* Button width */
  height: 40px; /* Button height */
}

.nav-button:hover {
  background-color: #1b2a4b;
}

.nav-button.left {
  left: 0px; /* Position on the left side */
}

.nav-button.right {
  right: 0px; /* Position on the right side */
}


