/* ==========================================================================
  Contents:
   1. Font Faces
   2. Reset & Base Styles
   3. Layout & Container
   4. Navigation
      4.1 Navbar
      4.2 Hamburger Menu
      4.3 Submenu
   5. Components
      5.1 Buttons
      5.2 Carousel
      5.3 Tab Panels
      5.4 Course Grid
      5.5 Explore Section
      5.6 My Sony Academy
      5.7 Rewards Section
   6. Animations
   ========================================================================== */

/* 1. Font Faces
   ========================================================================== */
@font-face {
  font-family: 'sst-medium';
  src: url('../fonts/SSTMedium.TTF') format('truetype');
}

@font-face {
  font-family: 'sst-light';
  src: url('../fonts/SSTLight.TTF') format('truetype');
}

@font-face {
  font-family: 'sst-roman';
  src: url('../fonts/SST-Roman.ttf') format('truetype');
}
@font-face {
  font-family: 'sst-heavy';
  src: url('../fonts/SST-Heavy.ttf') format('truetype');
}
@font-face {
  font-family: 'sst-bold';
  src: url('../fonts/SSTBold.TTF') format('truetype');
}
@font-face {
  font-family: 'sstvn-light';
  src: url('../fonts/SSTVietnamese-Light.ttf') format('truetype');
}
@font-face {
  font-family: 'SSTPro-Roman';
  src: url('../fonts/SSTPro-Roman.otf') format('truetype');
}
@font-face {
  font-family: "SST Pro";
  font-style: normal;
  font-weight: 400;
  src: url('../fonts/SSTPro-Roman.eot') format("eot"),url('../fonts/SSTPro-Roman.woff2') format("woff2"),url('../fonts/SSTPro-Roman.woff') format("woff"),url('../fonts/SSTPro-Roman.ttf') format("truetype"),url('../fonts/SSTPro-Roman.svg#SST_Pro') format("svg");
  font-display: swap
}
@font-face {
  font-family: 'SSTPro-Light';
  src: url('../fonts/SSTPro-Light.otf') format('woff');
  font-weight: 300;
  font-style: normal;
  font-stretch: normal
}

/* 2. Reset & Base Styles
     ========================================================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
:root{
  --font-vn-family: 'SST Pro';
}

body {
  font-family: 'SST Pro';
}

.sst-light {
  font-family: 'sst-light', sans-serif;
}
.sst-roman {
  font-family: 'sst-roman', sans-serif;
}
.sst-medium {
  font-family: 'sst-medium', sans-serif;
}
.sst-heavy {
  font-family: 'sst-heavy', sans-serif;
}
.sst-bold {
  font-family: 'sst-bold', sans-serif;
}
.STVietnamese-Light {
  font-family: 'STVietnamese-Light', sans-serif;
}
.green-text {
  color:rgb(0, 128, 0) !important;
}
.black-text {
  color:rgb(0, 0, 0) !important;
}
.white-text {
  color:rgb(255, 255, 255) !important;
}
.list-style-none {
  list-style: none;
}
.padding-top10 {
    padding-top: 10px;
}
/* 3. Layout & Container
     ========================================================================== */
.container {
  max-width: 1200px;
  margin: 0 auto;
}

.title {
  text-align: center;
  font-size: 1.5rem;
}

.title h1 {
  font-size: 2.25rem !important;
  font-weight: normal;
  font-family: 'sst-medium', sans-serif;
}

/* 4. Navigation
     ========================================================================== */
/* 4.1 Navbar */
.navbar {
  padding: 16px;
  background: black;
  position: relative;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  max-width: 100px;
  max-height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-size: 1rem;
}

.nav-menu ul li {
  margin-bottom: 10px;
}

/* 4.2 Hamburger Menu */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
}

.profile-icon img {
  max-width: 100px;
  max-height: 21px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* 4.3 Submenu */
.explore-menu {
  margin-bottom: 0px !important;
}

.explore-submenu {
  list-style: none;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  position: absolute;
  height: 0;
  overflow: hidden;
  gap: 0 !important;
  z-index: 1001;
  background: black;
}

.explore-submenu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
}

/* 5. Components
     ========================================================================== */
/* 5.1 Buttons */
.back-button {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
}

.user-button {
  cursor: pointer;
  z-index: 1000;
}

.user-button img {
  max-width: 100px;
  max-height: 21px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* 5.2 Carousel */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: auto;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 599px;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 80%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.slide-content p {
  font-size: clamp(0.875rem, 2vw, 1.2rem);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: none;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.carousel-btn {
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: clamp(30px, 5vw, 40px);
  height: clamp(30px, 5vw, 40px);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.carousel-dot {
  width: 15px;
  height: 5px;
  border: none;
  background: white;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: orange;
}

.carousel .carousel-nav,
.carousel .carousel-dots {
  display: none;
  opacity: 0;
}
/* Additional Carousel Styles */
.carousel-wrapper,
.carousel2-wrapper {
  display: flex;
  transition: transform 0.5sease-in-out;
  margin: auto;
  margin-top: 10px;
  width: 80%;
  gap: 30px;
}

.explore-submenu {
  transform: translateX(0);
  transition: transform 0.3s ease-out;
  will-change: transform;
  touch-action: pan-y pinch-zoom;
}

.explore-submenu.active {
  transform: translateX(0);
}

.dots-container,
.dots2-container {
  position: relative;
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  z-index: 1;
}

.dot,
.dot2 {
  width: 15px;
  height: 5px;
  border: none;
  background: silver;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease;
}

.dot.active,
.dot2.active {
  background-color: rgb(248, 121, 2);
}

.swiper-wrapper {
  padding-bottom: 30px;
}



/* 5.3 Tab Panels */


/* 5.4 Course Grid */


/* 5.5 Explore Section */
#explore {
  padding: 50px 0 0 0;
}

.explore {
  max-width: 1200px;
  margin: 0 auto;
}

.without-slider {
  padding: 0 0 30px 0;
}

.explore-content {
  display: flex;
  flex-wrap: wrap;
}

.explore-item {
  position: relative;
  flex: 1 1 calc(50% - 1rem);
  aspect-ratio: 1;
  overflow: hidden;
}

.explore-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.explore-item:hover img {
  transform: scale(1.1);
}

.explore-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  text-align: center;
}

.explore-text h2 {
  margin: 0;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.explore-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  color: white;
}

/* 5.7 Rewards Section */
#reward {
  padding: 50px 0 0 0;
}

/*rewrite pagination*/
.reward-container {
  position: relative;
  max-width: 100%;
  margin-top: 5px;
  overflow: hidden;
}

.reward-slide {
  position: relative;
  min-width: 100%;
  box-sizing: border-box;
}

.swiper-pagination {
  position: unset !important;
}
.swiper-pagination-bullet {
  width: 15px !important;
  height: 5px !important;
  border-radius: 0px !important;
}
.swiper-pagination-bullet-active {
  background: rgb(248, 121, 2) !important;
}
.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: unset !important;
  top: -25px !important;
}
.reward-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.reward-slide-description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
  width: 80%;
}

.reward-slide-description h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.reward-slide-description p {
  font-size: 1rem;
}

/* Support Section */
#support {
  padding: 50px 0 0 0;
}

/*rewrite pagination*/
.support-container {
  position: relative;
  max-width: 100%;
  margin-top: 5px;
  overflow: hidden;
}

.support-slide {
  position: relative;
  min-width: 100%;
  box-sizing: border-box;
}

.swiper-pagination {
  position: unset !important;
}
.swiper-pagination-bullet {
  width: 15px !important;
  height: 5px !important;
  border-radius: 0px !important;
}
.swiper-pagination-bullet-active {
  background: rgb(248, 121, 2) !important;
}
.swiper-pagination-bullets,
.swiper-pagination-custom,
.swiper-pagination-fraction {
  bottom: unset !important;
  top: -25px !important;
}
.support-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.support-slide-description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
  width: 80%;
}

.support-slide-description h2 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.support-slide-description p {
  font-size: 1rem;
}

.swiper-pagination2 {
  position: unset;
  text-align: center;
  transition: .3s opacity;
  transform: translate3d(0, 0, 0);
  z-index: 10;
}

/* 6. Animations
     ========================================================================== */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
} 
@font-face {
  font-family: 'sst-medium';
  src: url('../fonts/SSTMedium.TTF') format('truetype');
}
@font-face {
  font-family: 'sst-light';
  src: url('../fonts/SSTLight.TTF') format('truetype');
}
@font-face {
  font-family: 'sst-roman';
  src: url('../fonts/SST-Roman.ttf') format('truetype');
}


* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'SST Pro';
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.title h1 {
  font-size: 36px !important;
  font-weight: normal;
  font-family: 'sst-medium', sans-serif;
}


/* Navbar Styles */
.navbar {
  padding: 16px;
  background: black;
  position: relative;
}

.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  max-width: 100px;
  max-height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Submenu Styles */
.explore-submenu {
  list-style: none;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  position: absolute;
  height: 0;
  overflow: hidden;
  gap: 0 !important;
  z-index: 1001;
  background: black;
}

.explore-submenu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
}



/* Button Styles */
.back-button {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
}

.user-button {
  cursor: pointer;
  z-index: 1000;
}

.user-button img {
  max-width: 100px;
  max-height: 21px;
  width: auto;
  display: block;
  object-fit: contain;
}

/* Carousel Styles */
.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: auto;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: auto;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 80%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  margin: 0;
}

.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: none;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.carousel-btn {
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.carousel-dot {
  width: 15px;
  height: 5px;
  border: none;
  background: white;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: orange;
}

/* Responsive Carousel Styles */
.carousel-slide .slide-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.carousel-slide .slide-content p {
  font-size: clamp(0.875rem, 2vw, 1.2rem);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-btn {
  width: clamp(30px, 5vw, 40px);
  height: clamp(30px, 5vw, 40px);
  font-size: clamp(14px, 2vw, 18px);
}




/* Tab Panel Styles */
.tab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px 0;
}

.tab-buttons {
  display: flex;
  gap: 0;
  margin-bottom: 20px;
  justify-content: center;
  border-bottom: none;
}

.tab-description {
  padding-bottom: 20px;
}

.tab-info {
  text-align: center;
}

.tab-btn {
  padding: 15px 30px;
  border: none;
  background: transparent;
  cursor: pointer;
  font-size: 18px;
  transition: all 0.3s ease;
  position: relative;
}

.tab-buttons::-webkit-scrollbar {
  display: none;
}

.tab-buttons {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e0e0e0;
  transition: background-color 0.3s ease;
}

.tab-btn {
  text-decoration: none !important;
  color: black;
}

.tab-btn.active::after {
  background-color: #FF6B00;
}

.tab-btn:hover {
  background: transparent;
}

.tab-btn.active {
  color: black;
}

.tab-content {
  position: relative;
}

.tab-panel {
  display: none;
  padding: 20px;
  background: #fff;
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}



/* Course Grid Styles */
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  padding: 0;
  max-width: 1200px;
  margin: 0 auto;
}

.course-card {
  text-decoration: none;
  color: inherit;
  background: white;
  overflow: hidden;
  transition: transform 0.2s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.course-card:hover {
  transform: translateY(-4px);
}

.image-container {
  position: relative;
  aspect-ratio: 16/9;
  overflow: hidden;
}

.image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.level-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: white;
  padding: 4px 12px;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
}

.course-info {
  padding: 16px;
}

.course-info h3 {
  margin: 0 0 12px 0;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  line-height: 1.4;
}

.course-meta {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 14px;
  color: #666;
}

.date {
  color: #888;
}









.explore {
  max-width: 1200px;
  margin: 0 auto;
}

.title {
  text-align: center;
    font-size: 24px;
}
.without-slider {
  padding: 0 0 30px 0;
}
.explore-content {
  display: flex;
  flex-wrap: wrap;
}

.explore-item {
  position: relative;
  flex: 1 1 calc(50% - 1rem);
  aspect-ratio: 1;
  overflow: hidden;
}

.explore-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.explore-item:hover img {
  transform: scale(1.1);
}

.explore-text {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 1.5rem;
  background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
  color: white;
  text-align: center;
}

.explore-text h2 {
  margin: 0;
  font-size: 1.5rem;
  margin-bottom: 0.5rem;
}

.explore-text p {
  margin: 0;
  font-size: 1rem;
  opacity: 0.9;
  color: white;
}


.reward-slide {
  position: relative;
}
.reward-slide-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.reward-slide-description {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: left;
  color: white;
  width: 80%;
}
.reward-slide-description h2 {
  font-size: 24px;
  margin-bottom: 1rem;
}
.reward-slide-description p {
  font-size: 16px;
}















/* Desktop hover styles */
@media (min-width: 769px) {
  .explore-item {
    flex: 1 1 calc(25% - 16px);
}
    .explore-menu:hover .explore-submenu {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
      height: auto;
    }
  
    .explore-submenu {
      background: black;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 1rem 0;
      min-width: 200px;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 0 !important;
    }
  
    .explore-submenu li {
      width: 100%;
    }
  
    .explore-submenu a {
      color: white;
      padding: 0.5rem 1rem;
      display: block;
    }
  
    .explore-submenu a:hover {
      background: black;
    }
  }
  


  

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.navbar {
  padding: 16px;
  background: black;
  position: relative;
}
.navbar-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.nav-brand {
  display: flex;
  align-items: center;
}

.nav-brand img {
  max-width: 100px;
  max-height: 70px; 
  width: auto;
  display: block;
  object-fit: contain;
}

.nav-menu {
  display: flex;
  align-items: center;
  transition: all 0.3s ease-in-out;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

.nav-menu a {
  text-decoration: none;
  color: white;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
}

.hamburger span {
  width: 30px;
  height: 3px;
  background: #333;
  transition: 0.3s;
}
.nav-menu ul li {
  margin-bottom: 10px;
  min-width: 224px;
}
.explore-menu {
  margin-bottom: 0px !important;
}
.explore-submenu {
  list-style: none;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease-in-out;
  position: absolute;
  height: 0;
  overflow: hidden;
  gap: 0 !important;
  z-index: 1001;
  background: black;
}

.explore-submenu.active {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
  height: auto;
}

/* Desktop hover styles */
@media (min-width: 769px) {
  .explore-menu:hover .explore-submenu {
      opacity: 1;
      visibility: visible;
      transform: translateX(-50%) translateY(0);
      height: auto;
  }

  .explore-submenu {
      background: black;
      box-shadow: 0 2px 5px rgba(0,0,0,0.1);
      padding: 1rem 0;
      min-width: 200px;
      text-align: center;
      display: flex;
      flex-direction: column;
      gap: 0 !important;
  }

  .explore-submenu li {
      width: 100%;
  }

  .explore-submenu a {
      color: grey;
      padding: 0.5rem 1rem;
      display: block;
  }

  .explore-submenu a:hover {
      background: black;
  }
}

/* Keep click behavior for mobile */
@media (max-width: 768px) {
  .navbar {
      justify-content: space-between;
      padding: 15px;
  }

  .nav-brand {
      position: absolute;
      left: 50%;
      transform: translateX(-50%);
      z-index: 1000;
  }
  .nav-brand img {
      height: 20px;
  }
  .hamburger {
      display: flex;
  }

  .nav-menu {
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      height: 100vh;
      background: #000;
      display: flex;
      justify-content: center;
      align-items: center;
      z-index: 999;
      opacity: 0;
      visibility: hidden;
      transition: all 0.3s ease-in-out;
  }

  .nav-menu.active {
      opacity: 1;
      visibility: visible;
  }

  .nav-menu ul {
      flex-direction: column;
      text-align: center;
      transform: translateY(20px);
      transition: all 0.3s ease-in-out;
  }

  .nav-menu.active ul {
      transform: translateY(0);
  }

  .nav-menu a {
      color: #fff;
      font-size: 1.5rem;
  }

  .hamburger.active {
      opacity: 1;
      visibility: visible;
      position: relative;
      z-index: 1000;
      color: #fff;
  }
  
  .hamburger.active span {
      background: #fff;
  }

  .nav-menu.active ~ .nav-brand,
  .nav-menu.active + .nav-brand {
      color: #fff;
  }

  .explore-submenu {
      margin-top: 0;
      transform: translateY(-20px);
      position: relative;
  }

  .explore-submenu li {
      margin:8px 0;
      opacity: 0;
      transform: translateY(10px);
      transition: all 0.3s ease-in-out;
      transition-delay: calc(0.1s * var(--i));
  }

  .explore-submenu.active li {
      opacity: 1;
      transform: translateY(0);
  }

  .explore-submenu a {
      font-size: 1.2rem;
      color: grey;
  }

  .back-button {
      display: block !important;
  }

  .explore-trigger.active {
      border-bottom: 1px solid white;
      padding-bottom: 10px;
  }

  .user-button {
      display: block;
      position: absolute;
      right: 1rem;
      color: #333;
  }

  .nav-menu.active ~ .user-button,
  .nav-menu.active + .user-button {
      color: #fff;
  }
}

.back-button {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
}

.user-button {
  cursor: pointer;
  z-index: 1000;
 
}
.user-button img {
  max-width: 100px;
  max-height: 21px;
  width: auto;
  display: block;
  object-fit: contain;
}

.carousel {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.carousel-container {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.carousel-slide {
  min-width: 100%;
  height: auto;
  position: relative;
}

.carousel-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  text-align: center;
  color: white;
  z-index: 2;
  width: 80%;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.slide-content h2 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.slide-content p {
  font-size: 1.2rem;
  margin: 0;
}



.carousel-nav {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: none;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}

.carousel-btn {
  background: transparent;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background-color 0.3s;
}


.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 5px;
}

.carousel-dot {
  width: 15px;
  height: 5px;
  border: none;
  background: white;
  cursor: pointer;
  padding: 0;
}

.carousel-dot.active {
  background: orange;
}

/* Base styles */
.carousel-slide .slide-content h2 {
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  margin-bottom: clamp(0.5rem, 2vw, 1rem);
}

.carousel-slide .slide-content p {
  font-size: clamp(0.875rem, 2vw, 1.2rem);
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
}

.carousel-btn {
  width: clamp(30px, 5vw, 40px);
  height: clamp(30px, 5vw, 40px);
  font-size: clamp(14px, 2vw, 18px);
}

/* Media Queries */
@media screen and (max-width: 768px) {
  .carousel-nav {
      padding: 0 10px;
      top: unset;
      bottom: 10px;
  }
  
  .carousel-dots {
      bottom: 10px;
  }
  
  .carousel-dot {
      width: 15px;
      height: 5px;
  }
  
  .slide-content {
      width: 90%;
  }
}

@media screen and (max-width: 480px) {
  .carousel-dots {
      gap: 6px;
  }
  
  .carousel-nav {
      bottom: 5px;
  }
}

/* For very small screens */
@media screen and (max-width: 320px) {
  .slide-content p {
      -webkit-line-clamp: 2; /* Show fewer lines of text */
  }
}






/*Carousel*/
#reward {
  padding: 50px 0 0 0;
}
#support {
  padding: 50px 0 0 0;
}
#explore {
  padding: 50px 0 0 0;
}
.reward-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.support-container {
  position: relative;
  max-width: 100%;
  overflow: hidden;
}
.carousel-wrapper,.carousel2-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out;
  margin-top: 10px;
}

.reward-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.support-slide {
  min-width: 100%;
  box-sizing: border-box;
}
.reward-slide img, .support-slide img {
  width: 100%;
  height: auto;
  display: block;
}

.dots-container,.dots2-container {
  position: relative; /* Changed from absolute */
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px; /* Add spacing between slides and dots */
  z-index: 1;
}

.dot, .dot2 {
  width: 15px;
  height: 5px;
  border: none;
  background: silver;
  cursor: pointer;
  padding: 0;
  transition: background-color 0.3s ease; /* Added smooth transition */
}

.dot.active, .dot2.active {
  background-color: rgb(248, 121, 2);
}

/* Update carousel container to remove relative positioning if not needed for other elements */
.reward-container {
  max-width: 100%;
  overflow: hidden;
}
.support-container {
  max-width: 100%;
  overflow: hidden;
}

/*Tab panel*/
.tab-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.tab-buttons {
  display: flex;
  gap: 0; /* Remove gap between buttons */
  margin-bottom: 20px;
  justify-content: center;
  border-bottom: none; /* Remove default bottom border */
}

.tab-btn {
  padding: 15px 30px;
  border: none;
  background: transparent; /* Remove background */
  cursor: pointer;
  font-size: 16px;
  transition: all 0.3s ease;
  position: relative; /* For underline positioning */
}

/* Add grey underline to all tabs */
.tab-btn::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background-color: #e0e0e0; /* Grey color for inactive tabs */
  transition: background-color 0.3s ease;
}

/* Orange underline for active tab */
.tab-btn.active::after {
  background-color: #FF6B00; /* Orange color for active tab */
}

/* Remove hover background */
.tab-btn:hover {
  background: transparent;
}

/* Keep text color black for active state */
.tab-btn.active {
  color: black;
}

/* Keep the rest of your existing tab panel styles */
.tab-content {
  position: relative;
}

.tab-panel {
  display: none;
  padding: 20px;
  background: #fff;
  animation: fadeIn 0.5s ease;
}

.tab-panel.active {
  display: block;
}
@keyframes fadeIn {
  from {
      opacity: 0;
      transform: translateY(10px);
  }
  to {
      opacity: 1;
      transform: translateY(0);
  }
}

@media (max-width: 768px) {
  .tab-buttons {
      overflow-x: auto;
      justify-content: flex-start;
      padding-bottom: 5px;
  }
  .tab-content::-webkit-scrollbar {
      display: none;
  }

  /* Hide scrollbar for IE, Edge and Firefox */
  .tab-content {
      -ms-overflow-style: none;
      scrollbar-width: none;
  }
  .tab-btn {
      width: 100%;
      text-align: center;
      padding: 12px 24px;
  }
  
}

/* Navigation Container Elements
----------------------------------------*/
.nav-brand {
  position: absolute;
  left: 0;
  z-index: 1000;
}

.nav-brand img {
  height: 20px;
  max-width: 100px;
  max-height: 70px;
  width: auto;
  display: block;
  object-fit: contain;
}
.navbar-container {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
  position: relative;
  flex-direction: row-reverse;
}
/* Hamburger Menu
----------------------------------------*/
.hamburger {
  display: flex;
  flex-direction: column;
  gap: 6px;
  cursor: pointer;
  z-index: 1000;
  position: relative;
  left: 0;
}

.hamburger.active {
  opacity: 1;
  visibility: visible;
  position: relative;
  z-index: 1000;
  color: #fff;
}

.hamburger.active span {
  background: #fff;
}

/* Navigation Menu
----------------------------------------*/
.nav-menu {
  position: absolute;
  display: flex;
  top: 37px;
  width: 20rem;
  height: 0;
  background: #000;
  justify-content: center;
  align-items: center;
  z-index: 999;
  -webkit-transition: height 0.5s ease;
  -moz-transition: height 0.5s ease;
  transition: height 0.5s ease;
  overflow: hidden;
}

.nav-menu ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  flex-direction: column;
  text-align: center;
  transform: translateY(10px);
  transition: transform 0.4s ease;
}
.nav-menu-outer {
  gap: 0rem !important;
  text-align: left !important;
  margin: 0 0 10px 0;
}
.nav-menu-outer li {
  margin-bottom: 0px !important;
  
}
.nav-menu-outer > li {
  padding: 12px;
}
.nav-menu a {
  color: #fff;
  font-family: 'sst-light', sans-serif;
  font-size: 1.125rem;
}

/* Active States
----------------------------------------*/
.nav-menu.active {
  height: auto;
}

.nav-menu.active ul {
  transform: translateY(0);
}

.nav-menu.active ~ .nav-brand,
.nav-menu.active + .nav-brand {
  color: #fff;
}

.nav-menu.active ~ .user-button,
.nav-menu.active + .user-button {
  color: #fff;
}

/* User Interface Elements
----------------------------------------*/
.profile-icon img {
  max-width: 100px;
  max-height: 21px;
  width: auto;
  display: block;
  object-fit: contain;
}

.user-button {
  display: flex !important;
}

.user-button img {
  max-width: 100px;
  max-height: 21px;
  width: auto;
  display: block;
  object-fit: contain;
}

.button-group {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}


/* Back Button
----------------------------------------*/
.back-button {
  display: none !important;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  bottom: 3rem;
  left: 50%;
  transform: translateX(-50%);
}
.back-button-user {
  display: none !important;
  background: none;
  border: none;
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  padding: 1rem;
  position: absolute;
  bottom: 5rem;
  left: 50%;
  transform: translateX(-50%);
}
/* Explore Submenu
----------------------------------------*/
.explore-submenu {
  transform: translateY(-20px);
  position: relative;
}

.explore-submenu li {
  margin: 0 !important;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease-in-out;
  transition-delay: calc(0.1s * var(--i));
}

.explore-submenu.active li {
  opacity: 1;
  transform: translateY(0);
}

.explore-submenu a {
  color: #999999;
  padding: 0.5rem 1rem;
  display: block;
  font-size: 1rem;
  text-align: left;
}

.explore-submenu.closing {
  animation: slideOut 0.3s ease-in-out forwards;
}

@keyframes slideOut {
  from {
      transform: translateX(0);
  }
  to {
      transform: translateX(-100%);
  }
}

@media screen and (max-width:768px) {
  .nav-menu-outer, .explore-submenu a {
    text-align: center !important;
  }
  .navbar-container {
    flex-direction: row;
  }
  .user-button {
    right: 0rem !important;
}
}

/* Desktop Banner */
.carousel-slide .desktop-banner {
  width: 100%;
  height: auto;
  display: block;
}

/* Mobile Banner */
.carousel-slide .mobile-banner {
  width: 100%;
  height: auto;
  display: none;
}

@media screen and (max-width:768px) {
  .carousel-slide .desktop-banner {
      display: none;
  }

  .carousel-slide .mobile-banner {
      display: block;
  }
  .user-button {
    display: flex !important;
  }
}

@media screen and (max-width:450px) and (max-height:800px) {
  .nav-menu-outer > li {
    padding: 8px;
  }
}

/*Footer*/
.footer {
  background-color: #333333;
  color: white;
  padding: 20px 18px;
  text-align: center;
  position: relative;
  margin-top: 20px;
}

.footer-title {
  font-size: 0.6875rem;
  font-family: 'sst-roman', sans-serif;

}

.footer-content {
  font-size: 14px;
  line-height: 1.5;
  color: #ffffff;
}

.footer-content p {
  margin: 5px 0;
  opacity: 0.9;
}

/* Optional: Add max-width to contain content */
.footer-container {
  max-width: 1200px;
  margin: 0 auto;
}

.user-button {
  display: flex;
  gap: 16px;
}

.textLarger {
  font-size: 1.5rem;
}
.textNormal {
  font-size: 1rem;
}
.textSmaller {
  font-size: 0.875rem;
}
.font-bold {
  font-weight: bold;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -15px;
  margin-left: -15px;
}

.col {
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  flex: 1 0 0%;
}

/* Column sizes */
.col-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
.col-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
.col-3 { flex: 0 0 25%; max-width: 25%; }
.col-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
.col-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
.col-6 { flex: 0 0 50%; max-width: 50%; }
.col-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
.col-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
.col-9 { flex: 0 0 75%; max-width: 75%; }
.col-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
.col-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
.col-12 { flex: 0 0 100%; max-width: 100%; }

/* Responsive columns */
@media (min-width: 576px) {
  .col-sm-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-sm-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-sm-3 { flex: 0 0 25%; max-width: 25%; }
  .col-sm-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-sm-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
  .col-sm-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-sm-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-sm-9 { flex: 0 0 75%; max-width: 75%; }
  .col-sm-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-sm-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-sm-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 768px) {
  .col-md-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-md-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-md-3 { flex: 0 0 25%; max-width: 25%; }
  .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-md-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-md-6 { flex: 0 0 50%; max-width: 50%; }
  .col-md-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-md-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-md-9 { flex: 0 0 75%; max-width: 75%; }
  .col-md-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-md-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-md-12 { flex: 0 0 100%; max-width: 100%; }
}

@media (min-width: 992px) {
  .col-lg-1 { flex: 0 0 8.333333%; max-width: 8.333333%; }
  .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
  .col-lg-3 { flex: 0 0 25%; max-width: 25%; }
  .col-lg-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
  .col-lg-5 { flex: 0 0 41.666667%; max-width: 41.666667%; }
  .col-lg-6 { flex: 0 0 50%; max-width: 50%; }
  .col-lg-7 { flex: 0 0 58.333333%; max-width: 58.333333%; }
  .col-lg-8 { flex: 0 0 66.666667%; max-width: 66.666667%; }
  .col-lg-9 { flex: 0 0 75%; max-width: 75%; }
  .col-lg-10 { flex: 0 0 83.333333%; max-width: 83.333333%; }
  .col-lg-11 { flex: 0 0 91.666667%; max-width: 91.666667%; }
  .col-lg-12 { flex: 0 0 100%; max-width: 100%; }
}

/* Utility classes */
.no-gutters {
  margin-right: 0;
  margin-left: 0;
}

.no-gutters > .col,
.no-gutters > [class*="col-"] {
  padding-right: 0;
  padding-left: 0;
}



/*Login Menu*/
.login-menu {
  position: absolute;
  display: flex;
  top: 37px;
  right: 0;
  width: 20rem;
  height: 0;
  background: #000;
  justify-content: center;
  align-items: center;
  z-index: 999;
  -webkit-transition: height 0.5s ease;
  -moz-transition: height 0.5s ease;
  transition: height 0.5s ease;
  overflow: hidden;
}



.login-menu a {
  color: #fff;
  font-family: 'sst-light', sans-serif;
  font-size: 1.125rem;
  text-decoration: none;
}
.login-menu .logged-in {
  display: none;
}
.login-menu .user-info {
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  font-size: 1.5rem;
  font-weight: bold;
  color: #fff;
}
.login-menu .login-in {
  padding: 0.75rem 0 !important;
}
.login-menu .login-in-btn {
  background-color: #2d75c7;
  font-size: .9375rem;
  text-align: center;
  display: block;
  padding: .625rem 0;
  margin: 0 auto;
  border: .0625rem solid rgba(255, 255, 255, .4);
  border-radius: .0625rem;
}
.login-menu .login-in-btn:hover {
  background-color: #34568e !important;
}
.login-menu .login-in-btn a {
  color: #fff !important;
}
.login-menu .login-dropdown-item {
  padding: .75rem 0;
  transform: translateY(10px);
}
.login-menu .login-dropdown-content {
  padding: 15px 0;
}

.login-menu .account-icon {
  width: 17px;
  height: 17px;
  vertical-align: bottom;
  margin-right: 5px;
}
/*Hidden when logged in*/
.login-menu .wo-login {

}
/* Active States
----------------------------------------*/
.login-menu.active {
  height: auto;
}
.login-menu.active .login-dropdown-item {
  transform: translateY(0);
  -webkit-transition: height 0.5s ease, transform 0.5s ease;
  -moz-transition: height 0.5s ease, transform 0.5s ease;
  transition: height 0.5s ease, transform 0.5s ease;
}
/* Top button  */
.top_scroll {
  position: fixed;
  right: 25px;
  bottom: 25px;
  width: 70px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease, bottom 0.3s ease;
}
.top_scroll img {
  max-width: 100%;
  height: auto;
}
.top_scroll.show {
  opacity: 1;
  visibility: visible;
}
.relative-scroll {
  bottom: 80px;
}
