:root {
  --primary-red: #ff2d21;
  --electric-blue: #2d63ff;
  --sunny-yellow: #ffd600;
  --fun-purple: #7c3aed;
  --bg-light: #f8fafc;
  --text-dark: #0f172a;
  --orange: #e99d0a;
}

body {
  font-family: "Geomanist", sans-serif;
  background-color: var(--bg-light);
  color: var(--text-dark);
  overflow-x: hidden;
}

.no-desktop {
  display: none;
}

@media screen and (max-width: 768px) {
  .no-desktop {
    display: block;
  }

  .no-mob {
    display: none;
  }
}

.vertical-wrapper-max-width {
  max-width: 1200px;
  margin: auto;
}

/* Navigation */
nav {
  position: fixed;
  top: 0;
  width: 100%;
  padding: 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
  mix-blend-mode: normal;
  background-color: white;

  box-shadow: 0 10px 20px rgba(90, 90, 90, 0.3);
}

/* Horizontal Scroll Mechanics */
.scroll-wrapper {
  display: flex;
  width: 300vw;
  height: 100vh;
  background: linear-gradient(135deg, #fff 0%, #f0f4ff 100%);
}

section.horizontal-slide {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  padding: 0 5%;
  flex-shrink: 0;
  overflow: hidden;
}

#hero-section {
  background-image: url("https://on-c2-cmshub-public.s3.ap-southeast-3.amazonaws.com/hero_bg_1ed861915c.jpg");
  background-repeat: no-repeat;
  background-size: cover;
}

@media screen and (max-width: 468px) {
  #hero-section {
    background-image: url("https://on-c2-cmshub-public.s3.ap-southeast-3.amazonaws.com/hero_bg_mobile_303adf5342.jpg");
    background-position: 50% 50%;
    justify-content: start;
    align-items: start;
  }
}

#next-chapter-section {
  background-image: url("https://on-c2-cmshub-public.s3.ap-southeast-3.amazonaws.com/next_chapter_bg_5134b1dd43.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: 50% 65%;
}

@media screen and (max-width: 468px) {
  #next-chapter-section {
    background-image: url("https://on-c2-cmshub-public.s3.ap-southeast-3.amazonaws.com/journey_mobile_bfd0d615de.jpg");
  }
}

.slide-content {
  position: relative;
  z-index: 2;
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Hero Specific */
.hero-title {
  font-family: "Geomanist", sans-serif;
  font-size: clamp(2.5rem, 8vw, 6rem);
  line-height: 1.1;
  color: var(--text-dark);
  text-transform: uppercase;
  margin-bottom: 1.5rem;
}

/* Tabs Section */
.tab-section {
  padding: 100px 0;
}

.tab-btn {
  padding: 1rem 3rem;
  font-family: "Geomanist", sans-serif;
  font-weight: 600;
  border-radius: 100px;
  cursor: pointer;
  transition: all 0.3s;
  margin: 0 10px;
  background: white;
  border: 2px solid red;
}

.tab-btn.active {
  background: var(--primary-red);
  color: white;
  box-shadow: 0 10px 20px rgba(255, 45, 33, 0.3);
  transform: translateY(-5px);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

.sub-tab-btn {
  padding: 0.6rem 2rem;
  font-family: "Geomanist", sans-serif;
  font-weight: 700;
  font-size: 0.9rem;
  border-radius: 50px;
  cursor: pointer;
  transition: all 0.3s;
  margin: 0 8px 10px 8px;
  background: #ffffff;
  border: 2px solid #e2e8f0;
}

.sub-tab-btn.active {
  background: var(--primary-red);
  color: white;
  border-color: var(--primary-red);
  transform: translateY(-3px);
}

.sub-tab-content {
  display: none;
}

.sub-tab-content.active {
  display: block;
  animation: fadeIn 0.5s ease;
}

/* Cards Styling */
.card-item {
  background: white;
  padding: 1.5rem;
  border-radius: 30px;
  border: 2px solid #e2e8f0;
  transition: all 0.3s;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card-item:hover {
  border-color: var(--electric-blue);
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
}

.card-img {
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
  aspect-ratio: 5/3;
}

.card-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Pagination Buttons */
.page-ctrl-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: 2px solid var(--text-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s;
  cursor: pointer;
}

.page-ctrl-btn:hover:not(:disabled) {
  background: var(--text-dark);
  color: white;
}

.page-ctrl-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

/* Reveal Animation */
.reveal-up {
  opacity: 0;
  transform: translateY(50px);
}

.fun-tag {
  display: inline-block;
  background: var(--sunny-yellow);
  color: var(--text-dark);
  padding: 4px 15px;
  border-radius: 50px;
  font-weight: 800;
  font-size: 0.7rem;
  margin-bottom: 1rem;
}

/* Sections */
.poinseru-section {
  padding: 50px 0 100px 0;
}

.poinseru-logo {
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-footer-section {
  padding: 100px 0;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 768px) {
  body {
    cursor: auto;
  }

  #cursor,
  #cursor-follower {
    display: none;
  }

  .scroll-wrapper {
    display: block;
    width: 100%;
    height: auto;
  }

  section.horizontal-slide {
    width: 100%;
    height: auto;
    min-height: 100vh;
    padding: 100px 20px;
  }
}

/* ANIMATIONS */
@keyframes bounce-right {
  0%,
  100% {
    transform: translateX(0);
  }

  50% {
    transform: translateX(10px);
  }
}

.animate-bounce-right {
  animation: bounce-right 1s infinite;
}

@keyframes bounce-down {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(10px);
  }
}

.animate-bounce-down {
  animation: bounce-down 1s infinite;
}

/* Start Floating Footer */
#floating-footer {
  z-index: 999;
  padding: 15px;
}

.text-sm-fix {
  font-size: 16px;
}

#floating-footer p {
  color: black;
}

#btn-floating {
  padding: 10px;
}

@media screen and (max-width: 468px) {
  .text-sm-fix {
    font-size: 12px;
  }
}

/* End Floating Footer */
