* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.marquee-track {
  display: inline-flex;
  white-space: nowrap;
  animation: marquee 22s linear infinite;
}

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/*home*/

.bg-hero {
  background-image:
    linear-gradient(180deg, rgba(123, 123, 123, 0) 50.48%, #000000 100%),
    url("./images/home-img.png");
  background-size: cover;
  background-position: center;
}

.card-box {
  transition:
    transform 0.6s ease,
    opacity 0.6s ease;
}

.card-inner {
  background: #fffafa;
  border-radius: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
}

.title {
  font-size: 24px;
  font-weight: 600;
  margin-bottom: 16px;
}

.desc {
  font-size: 18px;
  margin-bottom: 32px;
  color: #333;
}

.btn {
  background: #d9783d;
  color: white;
  padding: 14px 36px;
  border-radius: 10px;
  font-weight: 600;
}

/*about*/
.about-hero {
  background-image: url("./images/about-hero.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.back-photo {
  background-image: url("./images/bg.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  /* width: 100%;
  aspect-ratio: 16 / 9; */
}

/* .footer-photo {
  background-image: url("./images/footer-bg.png");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center;
} */


.box-img {
  background-image:
    linear-gradient(to bottom,
      rgba(0, 0, 0, 0.5),
      rgba(0, 0, 0, 0.5)),
    url("./images/magic_box.png");
  background-size: cover;
  background-position: center;
}


.box-img1 {
  background-image: linear-gradient(180deg, rgba(123, 123, 123, 0) 50.48%, #000000 100%),
    url("./images/Experience_Store.png");
  background-size: cover;
  background-position: center;
}

.box-img2 {
  background-image: url("./images/store.png");
  background-size: cover;
  background-position: center;
}

.login-hero {
  background-image: url("./images/login_img.png");
  background-size: cover;
  background-position: center;
}

/* .bg-img {
  background-image:
    linear-gradient(180deg, rgba(123, 123, 123, 0) 50.48%, #000000 100%),
    url("./images/Magic_Box.mp4");
  background-size: cover;
  background-position: center;
} */

/*home page swiper*/

.swiper-slide {
  transition: all 0.4s ease;
}

.swiper-slide:not(.swiper-slide-active) .card-box {
  transform: scale(0.9);
  opacity: 0.4;
  filter: blur(2px);
}

.swiper-slide-active .bottom-label {
  opacity: 1;
}

.swiper-slide:not(.swiper-slide-active) .side-text {
  opacity: 1;
}

.heroSwiper .swiper-pagination-bullet {
  background-color: #ffffff;
  opacity: 0.5;
}

.heroSwiper .swiper-pagination-bullet-active {
  background-color: #ffffff;
  opacity: 1;
}



.sidebar-item {
  padding: 10px 14px;
  cursor: pointer;
  border-radius: 4px;
  color: #333;
}

.sidebar-item:hover {
  background-color: #e4e4e4;
}

.sidebar-item.active {
  background-color: #e47127;
  color: white;
}

select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23000' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
}

/*about flipcard*/
.flip-card {
  perspective: 1000px;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s;
  transform-style: preserve-3d;
}

/* Desktop hover */
@media (hover: hover) {
  .flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
  }
}

/* Mobile tap (JS add panna class) */
.flip-card.is-flipped .flip-card-inner {
  transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  backface-visibility: hidden;
  border-radius: 12px;
}

.flip-card-back {
  transform: rotateY(180deg);
}




/*faq section*/

.accordion-content {
  display: grid;
  grid-template-rows: 0fr;
  /* DEFAULT CLOSED */
  transition: grid-template-rows 0.3s ease;
}

.accordion-content.open {
  grid-template-rows: 1fr;
  /* OPEN */
}

.accordion-inner {
  overflow: hidden;
}

/*faqs*/

.faq-wrapper {
  max-width: 800px;
  margin: auto;
  font-family: Arial, sans-serif;
}

.faq-topic {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 12px;
  overflow: hidden;
}

/* Topic */
.topic-btn {
  width: 100%;
  padding: 16px;
  background: #f3f4f6;
  border: none;
  font-weight: 600;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Topic content */
.topic-content {
  display: none;
}

/* QnA */
.faq-qna {
  border-top: 1px solid #e5e7eb;
}

.qna-btn {
  width: 100%;
  padding: 14px 16px;
  background: #fff;
  border: none;
  font-size: 15px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Answer */
.answer {
  display: none;
  padding: 16px 16px 16px;
  color: #555;
  background-color: #fff;
  border-top: 1px solid #e5e7eb;
}

/* Active */
.faq-topic.active .topic-content {
  display: block;
}

.faq-qna.active .answer {
  display: block;
}

.icon {
  font-size: 20px;
  font-weight: bold;
  transition: transform 0.25s ease;
}

.faq-topic.active>.topic-btn .icon,
.faq-qna.active>.qna-btn .icon {
  transform: rotate(45deg);
}

/*category top nav*/

#categoryNav>li {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid #e5e5e5;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
  display: none;
  z-index: 100;
}

.nav-item:hover>.dropdown-menu {
  display: block;
}

.dropdown-menu.right {
  top: 0;
  left: 100%;
}

.dropdown-menu li {
  position: relative;
  padding: 10px 14px;
  cursor: pointer;
  white-space: nowrap;
}

.dropdown-menu li:hover {
  background: #f6f6f6;
}

/* 🔥 THIS IS THE FIX */
.dropdown-menu li:hover>.dropdown-menu {
  display: block;
}




/*about page scroll card*/

.card {
  position: absolute;
  left: 50%;
  width: 100%;
  max-width: 900px;
  transform: translateX(-50%);
  border-radius: 20px;
  background: white;
  opacity: 1;
  /* 🔥 important */
  transition: transform 0.4s ease-out;
}

/* 🔒 fixed cards */
.card.fixed {
  transform: translateX(-50%) translateY(0);
  z-index: 3;
}

/* ⬆ incoming card */
.card.incoming {
  z-index: 2;
  transform: translateX(-50%) translateY(calc(210px - (220px * var(--progress))));
}

/* 🧱 future cards (hidden below, not invisible) */
.card.collapsed {
  transform: translateX(-50%) translateY(260px);
  z-index: 1;
}

/* Inactive stacked cards - show only title */
.card.inactive .media,
.card.inactive .desc,
.card.inactive .btn {
  display: none !important;
}

.card.inactive .content {
  width: 100%;
}

.card.inactive .card-inner {
  min-height: auto;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
}

.card.inactive .card-inner>div {
  padding: 0.75rem 3rem !important;
  min-height: auto;
  gap: 0 !important;
}

.card.inactive .title {
  margin-bottom: 0;
  font-size: 18px;
  color: #888;
  font-weight: 500;
  transition: all 0.3s ease;
  letter-spacing: 0.5px;
}

.card.inactive:hover .title {
  color: #E47127;
}

/* Active card - show full content */
.card.active .media,
.card.active .desc,
.card.active .btn {
  display: block;
}

.card.active .card-inner {
  background: white;
}

.card.active .title {
  color: #E47127;
  font-size: 24px;
  font-weight: 600;
}

/* Smooth transitions for content visibility */
.card .media,
.card .desc,
.card .btn {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.card.inactive .card-inner {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.card.active .card-inner {
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.15);
}

/*scroll text bright about page*/

#scrollBrighten span {
  transition: color 0.25s linear;
}

/* Dim → bright */
.char-dim {
  color: #b0b0b0;
}

.char-bright {
  color: #111111;
}




.category-active {
  background-color: #EEF5FF;
  /* light blue */
  color: #2D2B2B;
  border-radius: 6px;
}


/**navbar**/

.nav-link {
  position: relative;
  padding: 0 4px;
  color: #575757;
  transition: color 0.3s ease;
}

/* .nav-link::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    height: 2px;
    width: 0;
    background: #E47127;
    transition: width 0.3s ease;
  } */

.nav-link:hover {
  color: #E47127;
}

/* .nav-link:hover::after {
    width: 100%;
  } */

/* ACTIVE STATE */
.nav-link.active {
  color: #E47127;
}

.nav-link.active::after {
  width: 100%;
}