.transformation-carousel-container {
  margin-top: 40px;
  position: relative;
  max-width: 1200px;
  margin: 40px auto;
  padding: 40px;
  background-color: #D1B6A1;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}


.transformation-text {
  text-align: center;
  margin-bottom: 40px; /* Add space between the text and the carousel */
}

.transformation-text h2 {
  font-family: 'Playfair Display', serif;
  font-size: 2.8rem;
  font-weight: bold;
  color: #A0522D; /* A darker, richer terracotta shade */
  margin-bottom: 20px;
}

.transformation-text p {
  font-family: 'Lato', sans-serif;
  font-size: 1.3rem;
  font-weight: 400;
  color: #4A2E2A; /* warm dark brown for contrast */
  line-height: 1.6;
  max-width: 800px;
  margin: 0 auto;
}

.transformation-carousel .transformation-item {
  text-align: center;
}

.transformation-carousel img {
  width: 100%;
  height: auto;
  max-height: 600px;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  background-color: #A9876D;
  border-radius: 50%;
  padding: 10px;
}

.carousel-indicators [data-bs-target] {
  background-color: #A9876D;
}

.carousel-indicators .active {
  background-color: #7B0404;
}

/* force only the active slide to show in THIS carousel */
#transformationCarousel .carousel-item { display: none; }
#transformationCarousel .carousel-item.active { display: block; }

/* optional: avoid weird stacking while sliding */
#transformationCarousel .carousel-item-next,
#transformationCarousel .carousel-item-prev,
#transformationCarousel .carousel-item.active.carousel-item-end,
#transformationCarousel .carousel-item.active.carousel-item-start {
  display: block;
}

@media (max-width: 768px) {
  .transformation-carousel-container {
    padding: 20px;
  }

  .carousel-inner img {
    max-height: 400px; /* Smaller images for mobile */
  }
}
