html,
body {
  height: 100%;
  margin: 0;
  padding: 0;
  direction: rtl; /* Add this for RTL */
  /* overflow-x: hidden; */  /* UNCOMMENT if needed to fix mobile swipe issue */
  overscroll-behavior-x: contain; /* Prevent horizontal swipe bounce */
}

.swiper,
.swiper-slide {
  width: 100%;
  height: 100vh;
}

.swiper-slide {
  color: white;
  position: relative;
}

.slide1 {
  background-color: #e4bbd3;
}
.slide2 {
  background-color: #0798ec;
}
.slide3 {
  background-color: #fc6c7c;
}

/* Progress Bar */

.progress-box {
  position: absolute;
  bottom: 80px;
  right: 0; /* RTL: was left: 0; */
  width: 100%;
  height: 6px;
  z-index: 10;
}

.prgressall {
  width: 100%;
}

.progress-bar-container {
  display: inline-flex;
  width: 380px;
  border-radius: 10px;
  overflow: hidden;
  height: 3px;
  background: rgba(228, 187, 211, 0.3);
}

.counter {
  width: 36px;
  color: #e4bbd3;
  display: inline-flex;
  font-size: 22px;
  border-radius: 10px;
}

.marleft-5 {
  margin-right: 15px; /* RTL: was margin-left */
}

.counter-box {
  display: flex;
  align-items: center;
}

.progress-bar-fill {
  height: 100%;
  background: #e4bbd3;
  width: 0%;
  transition: width 0.3s ease;
}

.swiper-slide img {
  width: 100%;
}

.swiper-txt-all {
  position: absolute;
  top: 0px;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
}

.swiper-txt h1 {
  font-size: 5.6rem;
  color: #e4bbd3;
  line-height: 7.3rem;
  font-weight: 700;
  text-align: right; /* RTL */
}

.swiper-txt h2 {
  font-size: 4.4rem;
  color: #e4bbd3;
  line-height: 6.3rem;
  font-weight: 700;
  text-align: right; /* RTL */
}

.swiper-txt p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1.7rem;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: 300;
  text-align: right; /* RTL */
}

/* ===== Animation Fixes for RTL ===== */
.swiper-txt {
  opacity: 0;
  transform: translateX(0);
  transition: all 0.6s ease;
}

.swiper-txt.animate-left {
  opacity: 1;
  transform: translateX(0);
}

/* Flip translateX directions for RTL */
.swiper-txt.from-right {
  transform: translateX(-100px); /* Was +100px */
  opacity: 0;
}

.swiper-txt.from-left {
  transform: translateX(100px); /* Was -100px */
  opacity: 0;
}

.swiper-screen-img {
  width: 546px;
}

.swiper-screen-img img {
  width: 100%;
}

.mob-img {
  display: flex;
    justify-content: flex-end;
}

.text-cent {
    display: flex
;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
}

.swiper-screen-img {
  opacity: 0;
  transform: translateY(0);
  transition: all 0.6s ease;
}

.swiper-screen-img.animate-up {
  opacity: 1;
  transform: translateY(0);
}

.swiper-screen-img.from-top {
  transform: translateY(100px);
  opacity: 0;
}

.swiper-screen-img.from-bottom {
  transform: translateY(100px);
  opacity: 0;
}

/* ===== Store Buttons ===== */
.btn-store {
  margin-top: 20px;
  display: flex;
  flex-direction: row-reverse; /* RTL: reverse order */
}

.btn-stores img {
  width: 100%;
}

.btn-stores {
  background: #000000;
  margin-left: 10px; /* RTL: was margin-right */
  border-radius: 10px;
  width: 240px;
  padding: 12px 25px;
}

.btn-stores:hover {
  background: #260027;
}

/* ===== Scroll Mouse UI ===== */
.scroll-downs {
  display: inline-flex;
  margin-right: 20px; /* RTL: was margin-left */
}

.mousey {
  width: 3px;
  padding: 10px 15px;
  height: 35px;
  border: 2px solid #e4bbd3;
  border-radius: 25px;
  opacity: 0.75;
  box-sizing: content-box;
}

.scroller {
  width: 3px;
  height: 10px;
  border-radius: 25%;
  background-color: #e4bbd3;
  animation-name: scroll;
  animation-duration: 2.2s;
  animation-timing-function: cubic-bezier(0.15, 0.41, 0.69, 0.94);
  animation-iteration-count: infinite;
}

@keyframes scroll {
  0% {
    opacity: 0;
  }
  10% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(15px);
    opacity: 0;
  }
}

/* Menu */

.toggle__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.toggle__label {
  position: fixed;
  top: 40px;
  left: 40px; /* Moved to right */
  z-index: 200;
  padding: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #e4bbd3;
  width: 60px;
  height: 60px;
  border-radius: 60px;

  transition: transform 0.3s ease;
}

.toggle__label:hover {
  background: #ffffff;
}

.toggle__input:checked + .toggle__label {
  transform: rotate(90deg);
  background: #fff;
}

.toggle__label span {
  position: relative;
  display: block;
  width: 28px;
  height: 20px;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  border-top: 3px solid #500b51;
  border-bottom: 3px solid #500b51;
  transition: 0.1s ease;
}

.toggle__label span:before,
.toggle__label span:after {
  content: "";
  position: absolute;
  top: calc(50% - 2px);
  display: block;
  width: 100%;
  height: 3px;
  background: #500b51;
  transition: 0.4s ease;
}

.nav {
  position: fixed;
  top: 0;
  right: auto; /* Right-side positioning */
  left: 0; /* Remove left positioning */
  z-index: 100;
  width: 300px;
  height: 100%;
  padding-top: 100px;
  overflow-y: auto;
  background: #fefefe;
  transform: translateX(-300px); /* Start hidden on right */
  transition: transform 0.4s ease;
}

.nav__list {
  margin: 0;
  padding: 0;
  list-style: none;
  width: 100%;
  text-align: left;
}

.nav__item {
}

.nav__item a {
  display: block;
  height: 60px;
  padding-right: 30px;
  line-height: 60px;
  color: #500b51;
  text-decoration: none;
  font-size: 20px;
  text-align: right;
}

.nav__item:hover {
  background: #e4bbd3;
}

.o-mask {
  position: fixed;
  z-index: 50;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  overflow: hidden;
  background: #500b51;
  opacity: 0;
  transition: opacity 0.4s ease, width 0s 0.4s ease, height 0s 0.4s ease;
}

.g-wrapper {
  position: relative;
  width: 100%;
  min-height: 100%;
  transition: transform 0.4s ease;
}

.toggle__input:checked + .toggle__label span {
  border-color: transparent;
  height: 28px;
}

.toggle__input:checked + .toggle__label {
  /* right: 20px; */
  transition: transform 0.4s ease;
}

.toggle__input:checked + .toggle__label span:before {
  transform: rotate(-45deg);
}

.toggle__input:checked + .toggle__label span:after {
  transform: rotate(45deg);
}

.toggle__input:checked ~ .nav {
  transform: translateX(0); /* Slide in from right */
}

.toggle__input:checked ~ .o-mask {
  width: 100%;
  height: 100%;
  opacity: 0.7;
  transition: opacity 0.4s ease;
}

.toggle__input:checked ~ .g-wrapper {
  transform: translateX(-300px); /* Push content left */
}

@keyframes bounce {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-20px);
  }
}

.bounce-animation {
  animation: bounce 1.5s infinite;
}
