.swiper {
  width: 100%;
  height: 400px;
}

.swiper-slide {
  background: #ddd;
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 20px;
}

/* === Fade === */
.swiper-slide[data-animation="fade"] {
  opacity: 0;
  transition: opacity 0.8s ease;
}
.swiper-slide-active[data-animation="fade"] {
  opacity: 1;
}

/* === Zoom === */
.swiper-slide[data-animation="zoom"] {
  transform: scale(1.2);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.swiper-slide-active[data-animation="zoom"] {
  transform: scale(1);
  opacity: 1;
}

/* === Flip === */
.swiper-slide[data-animation="flip"] {
  transform: rotateY(90deg);
  opacity: 0;
  transition: transform 0.8s ease, opacity 0.8s ease;
  backface-visibility: hidden;
}
.swiper-slide-active[data-animation="flip"] {
  transform: rotateY(0deg);
  opacity: 1;
}

/* === Rotate + Zoom === */
.swiper-slide[data-animation="rotatezoom"] {
  transform: scale(0.5) rotate(-180deg);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}
.swiper-slide-active[data-animation="rotatezoom"] {
  transform: scale(1) rotate(0deg);
  opacity: 1;
}

/* === Blur In === */
.swiper-slide[data-animation="blur"] {
  opacity: 0;
  filter: blur(10px);
  transition: opacity 0.8s ease, filter 0.8s ease;
}
.swiper-slide-active[data-animation="blur"] {
  opacity: 1;
  filter: blur(0);
}

/* === Split In (Horizontal) === */
.swiper-slide[data-animation="split"] {
  transform: scaleX(0);
  opacity: 0;
  transform-origin: center;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.swiper-slide-active[data-animation="split"] {
  transform: scaleX(1);
  opacity: 1;
}

/* === Split In (Vertical) === */
.swiper-slide[data-animation="split-vertical"] {
  transform: scaleY(0);
  opacity: 0;
  transform-origin: center;
  transition: transform 0.8s ease, opacity 0.8s ease;
}
.swiper-slide-active[data-animation="split-vertical"] {
  transform: scaleY(1);
  opacity: 1;
}

/* === Bounce In === */
.swiper-slide[data-animation="bounce"] {
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.6s cubic-bezier(0.68, -0.55, 0.27, 1.55);
}
.swiper-slide-active[data-animation="bounce"] {
  transform: translateY(0);
  opacity: 1;
}

/* === Skew Slide === */
.swiper-slide[data-animation="skew"] {
  transform: translateX(-100%) skewX(20deg);
  opacity: 0;
  transition: all 0.8s ease;
}
.swiper-slide-active[data-animation="skew"] {
  transform: translateX(0) skewX(0deg);
  opacity: 1;
}

/* === Parallax Zoom === */
.swiper-slide[data-animation="parallax"] {
  transform: scale(1.4);
  opacity: 0;
  transition: transform 1s ease, opacity 1s ease;
}
.swiper-slide-active[data-animation="parallax"] {
  transform: scale(1);
  opacity: 1;
}

/* === Button Position Variants === */

/* Top */
.btn-top-left {
  top: 10px;
  left: 10px;
  transform: none;
}

.btn-top-center {
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
}

.btn-top-right {
  top: 10px;
  right: 10px;
  transform: none;
}

/* Center */
.btn-center-left {
  top: 50%;
  left: 10px;
  transform: translateY(-50%);
}
.btn-center-center {
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.btn-center-right {
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
}

/* Bottom */
.btn-bottom-left {
  bottom: 10px;
  left: 10px;
  transform: none;
}
.btn-bottom-center {
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
}
.btn-bottom-right {
  bottom: 10px;
  right: 10px;
  transform: none;
}

.mySwiper {
  position: relative;
  overflow: hidden;
}

.slide-content-wrapper {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  z-index: 2;
}

.slide-content-wrapper.align-left {
  justify-content: flex-start;
  text-align: left;
}

.slide-content-wrapper.align-center {
  justify-content: center;
  text-align: center;
}

.slide-content-wrapper.align-right {
  justify-content: flex-end;
  text-align: right;
}

.slide-content {
  max-width: 100%; /* allow full width for alignment */
}
