.marquee {
  overflow: hidden;
  /* hide the scrolling overflow */
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to right,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}
.marquee_header {
  font-size: 35px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}
.marquee__inner {
  display: flex;
  width: max-content;
  animation: marquee 15s linear infinite;
}

.marquee__group {
  display: flex;
}

.marquee__group span {
  margin: 0 1.5rem;
  white-space: nowrap;
  color: white;
  padding: 4px 16px 4px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.marquee-reverse {
  overflow: hidden;
  /* hide the scrolling overflow */
  width: 100%;
  -webkit-mask-image: linear-gradient(
    to left,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
  mask-image: linear-gradient(
    to left,
    transparent 0%,
    black 10%,
    black 90%,
    transparent 100%
  );
}

.marquee_header_reverse {
  font-size: 35px;
  font-weight: 800;
  text-align: center;
  margin-bottom: 20px;
}

.marquee__inner_reverse {
  display: flex;
  width: max-content;
  animation: marquee-reverse 15s linear infinite;
}

.marquee__group_reverse {
  display: flex;
}

.marquee__group_reverse span {
  margin: 0 1.5rem;
  white-space: nowrap;
  color: white;
  padding: 4px 16px 4px 12px;
  border-radius: 6px;
  font-size: 1.2rem;
}

@keyframes marquee-reverse {
  0% {
    transform: translateX(-50%);
  }
  100% {
    transform: translateX(0);
  }
}
/* Custom zoom effect untuk seluruh card */
.card-container {
  transform: translateZ(0);
  backface-visibility: hidden;
  border-radius: 1.5rem;
  overflow: hidden;
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  will-change: transform;
}

.card-container:hover {
  transform: scale(1.05);
}

/* Image container styling */
.zoom-container {
  overflow: hidden;
  border-radius: 1.5rem;
  position: relative;
  isolation: isolate;
}

.zoom-image {
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transform-origin: center center;
  border-radius: 1.5rem;
  will-change: transform;
}

/* Text overlay dengan center alignment */
.slide-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  /* background: linear-gradient(135deg, rgba(0,0,0,0.7), rgba(0,0,0,0.5)); */
  padding: 2rem;
  border-radius: 1rem;
  /* backdrop-filter: blur(10px); */
  z-index: 10;
  width: 90%;
  max-width: 400px;
}

/* Image slider pagination styling */
.image-swiper .swiper-pagination {
  bottom: 20px;
}

.image-swiper .swiper-pagination-bullet {
  background: rgba(255, 255, 255, 0.5);
  opacity: 1;
  width: 12px;
  height: 12px;
  margin: 0 6px;
  transition: all 0.3s ease;
}

.image-swiper .swiper-pagination-bullet-active {
  background: white;
  transform: scale(1.2);
}

/* Smooth transitions */
* {
  box-sizing: border-box;
}

.custom-gradient-form {
  background: linear-gradient(
    to right,
    rgba(87, 223, 231, 0.16) 0%,
    rgba(184, 101, 255, 0.16) 24%,
    rgba(185, 100, 255, 0.16) 100%
  );
}

.custom-border-form {
  border: 1px solid rgba(255, 255, 255, 0.2);
}
