/* Overall Carousel Container */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Carousel Items (Horizontal layout with Flexbox) */
.carousel-items {
  display: flex;
  transition: transform 0.5s ease;
}

/* Individual Carousel Item */
.carousel-item {
  display: flex; /* Use Flexbox to align content and image side by side */
  justify-content: space-between;
  align-items: center;
  min-width: 100%;
  padding: 20px;
}




/* Content Section (Left side) */
.carousel-content {
  flex: 1; /* Content takes up the left half */
  /* padding-right: 20px; */
  padding-left: 30px;
  text-align: left;
  color:black;
  top:20px;

}
.carousel-content h2 {
 
 font-size: 45px;
 line-height: 6rem;
  
}



/* Image Section (Right side) */
.carousel-image {
  flex: 1; /* Image takes up the right half */
  display: flex;
  justify-content: center;
}

/* Ensure images are responsive */
.carousel-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Buttons for previous and next slides */
.carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  font-size: 24px;
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 10px;
  cursor: pointer;
  z-index: 1;
}

.carousel-btn.prev {
  left: 10px;
}

.carousel-btn.next {
  right: 10px;
}
