.featured-collections {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  margin-top: 2rem;
}

.carousel-container {
  flex: 2;
  overflow-x: hidden;
}

.carousel {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Create No of columns */
  gap: 0.5rem; /* Adjust gap between items */
  animation: carousel-slide 25s linear infinite;
}

.carousel-item {
  background-color: #f5f5f5;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  text-align: center;
  word-wrap: break-word; /* Ensure long text wraps */
  overflow-wrap: break-word; /* Ensure long text wraps */
}

.carousel-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  height: auto;
  border-radius: 0.5rem;
}

.showcase-details {
  flex: 1;
  margin-left: 2rem;
  padding: 1rem;
  background-color: #f5f5f5;
  border-radius: 0.5rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  max-width: 100%;
  overflow: hidden;
}

.showcase-details img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  height: auto;
  border-radius: 0.5rem;
}

.cta-button {
  display: inline-block;
  background-color: #007bff;
  color: #fff;
  padding: 0.5rem 1rem;
  border-radius: 0.25rem;
  text-decoration: none;
}

.cta-button:hover {
  background-color: #0056b3;
}

@keyframes carousel-slide {
  0% {
    transform: translateY(0);
  }
  100% {
    transform: translateY(-100%);
  }
}


}
