:root {
  --cinzento: "#BCBCBC";
}
.swiper {
  width: 100%;
  height: 100%;
}

/* Style for all pagination bullets */
.swiper-pagination-bullet {
  width: 8.54px;
  height: 8.54px;
  background-color: white;
  opacity: 0.8;
  border-radius: 0%;
  transition: all 0.3s ease; /* Smooth transition on hover/active */
}

/* Style for the active pagination bullet */
.swiper-pagination-bullet-active {
  background-color: #cfcfcf;
  opacity: 1;
  width: 8.54px;
  height: 8.54px;
  transition: all 0.3s ease;
}

.swiper-pagination-bullet-active:hover {
  background-color: var(--cinzento);
  height: 14px;
  width: 14px;
  transition: all 0.3s ease;
}

.swiper-slide::before {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 174px;
  background: #3e3e3e;
  background: linear-gradient(
    0deg,
    rgba(62, 62, 62, 0.3) 0%,
    rgba(170, 170, 170, 0.4) 65%,
    rgba(255, 255, 255, 0) 100%
  );
  z-index: 1;
}
@media (max-width: 600px) {
  .swiper-slide::before {
    bottom: 10px;
  }
}

@media (min-width: 600px) {
  .swiper-wrapper::before,
  .home::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 340px;
    background: #3e3e3e;
    background: linear-gradient(
      180deg,
      rgba(62, 62, 62, 0.3) 0%,
      rgba(170, 170, 170, 0.4) 65%,
      rgba(255, 255, 255, 0) 100%
    );
    z-index: 1;
  }
}
/* Optional: Hover effect for inactive bullets */
.swiper-pagination-bullet:hover {
  height: 14px;
  width: 14px;
  transition: all 0.3s ease;
}

.swiper-horizontal > .swiper-pagination-bullets .swiper-pagination-bullet,
.swiper-pagination-horizontal.swiper-pagination-bullets
  .swiper-pagination-bullet {
  margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 15px);
}
