.main-slider {
  width: 100%;
  height: auto;
  /* border-radius: 8px; */
  background: transparent;
  margin-top: 50px;
}

.main-slider .swiper-slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.thumb-slider {
  width: 100%;
  max-width: 800px;
  /* height: 80px; */
  margin-top: 10px;
  box-sizing: border-box;
  overflow: hidden;
  /* margin-bottom: 50px; */
}

.thumb-slider .swiper-slide {
  height: auto;
  opacity: 0.55;
  transition: opacity 0.3s ease, border 0.3s ease;
  cursor: pointer;
  border-radius: 4px;
  overflow: hidden;
  border: 2px solid transparent;
  box-sizing: border-box;
}

.thumb-slider .swiper-slide-thumb-active {
  opacity: 1;
  border-color: var(--active-color);
}

.thumb-slider img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-slider .swiper-pagination {
  background: #fff;
  padding: 8px 0;
  border-radius: 999px;
  display: none;
}

.main-slider .swiper-pagination-bullet {
  background: #9ca3af;
  opacity: 1;
}

.main-slider .swiper-pagination-bullet-active {
  background: #2563eb;
}

.swiper-slide {
  display: block;
  text-align: center;
  width: 100%;
}

.slide-caption {
  /* Positioning & Spacing */
  /* margin-top: 15px; */
  display: block;
  margin: 0 auto;
  width: fit-content;      /* Fits the background to the text width */
  max-width: 80%;          /* Prevents it from getting too wide */
  padding: 8px 24px;
  /* margin: 5px; */

  /* Background & Styling */
  background-color: #f0f0f0; /* A soft, light gray */
  color: #333;             /* Dark gray text for high contrast */
  border-radius: 8px;      /* Rounded corners for a modern look */
  text-align: center;      /* Centers lines of text inside the box */
  font-weight: 700;

  /* Fade-In Animation (from previous steps) */
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.6s ease, transform 0.6s ease;
  transition-delay: 0.3s;


  /* Add this shadow */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);

  /* Optional: adds a very thin border to define the shape even more */
  border: 1px solid rgba(0, 0, 0, 0.05);
}

/* Ensure caption shows up on the active slide */
.swiper-slide-active .slide-caption {
  opacity: 1;
  transform: translateY(0);
}
