.gallery-section {
   {
     {
      /* padding: 50px; */
    }
  }
  text-align: center;
  background-color: #f9f9f9;
  position: relative;
}

.carousel-slide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  min-height: 400px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
  position: absolute;
  top: 0;
  left: 0;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

/* Image on the left (occupies 50% of the screen) */
.carousel-image {
  width: 50%;
  height: 100%; /* Stretch to fit the height */
  max-height: 400px;
  overflow: hidden;
}

.carousel-image img {
  max-height: 400px;
  height: 100%;
  width: 100%;
  object-fit: cover; /* Ensure the image fits without distortion */
  border-radius: 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Content on the right (occupies 50% of the screen) */
.carousel-content {
  width: 50%;
  padding: 40px;
  text-align: left;
}

.carousel-content h3 {
  font-size: 36px;
  color: #333;
  margin-bottom: 15px;
}

.carousel-content p {
  font-size: 18px;
  color: #666;
  line-height: 1.6;
}

/* Dots (Indicators) */
.carousel-indicators {
  display: flex;
  justify-content: center;
  padding: 10px;

  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
   {
     {
      /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08); */
    }
  }
   {
     {
      /* border-radius: 5px;
    background: white; */
    }
  }
}

.carousel-indicators .dot {
  width: 15px;
  height: 15px;
  background-color: #ddd;
  border-radius: 50%;
  margin: 0 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.carousel-indicators .dot.active {
  background-color: #f39200;
}

.carousel-indicators span.dot:hover {
  background-color: #f391005b;
}
@media (max-width: 768px) {
  .gallery-item {
    flex-direction: column;
  }

  .gallery-item-left img {
    max-width: 100%;
  }

  .gallery-item-right {
    padding: 15px;
  }

  .gallery-container {
    flex-direction: column;
  }

  .carousel-slide {
    flex-direction: column;
  }

  .carousel-image,
  .carousel-content {
    width: 100%; /* Make both image and content take full width on mobile */
  }

  .carousel-image {
    padding: 20px 10px;
  }

  .carousel-content {
    padding: 20px;
    margin-bottom: 30px;
  }

  .carousel-content h3 {
    font-size: 28px;
  }

  .carousel-content p {
    font-size: 16px;
  }
}
