:root {
  --bg-dark-purple: #0a0612;
  --accent-green: #6db900;
  --accent-yellow: #ffae00;
  --text-muted: #bcacc8;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  font-family: 'Poppins', sans-serif;
}

/* ===================
  INTRO CONTAINER
=================== */

.intro {
  inset: 0;
  z-index: 9999;
  display: flex;
  position: fixed;
  pointer-events: none;
}

/* ===================
  PANELS
=================== */

.intro-panel {
  width: 50%;
  height: 100vh;
  background: #212529;
  position: relative;
  overflow: hidden;
}

/* ===================
  LOGO
=================== */

.logo-wrap {
  position: absolute;
  top: 50%;
}

.logo-wrap img {
  width: 220px;
  transform: translateY(-50%);
}

/* LEFT LOGO */
.intro-left .logo-wrap {
  right: 0;
}

/* RIGHT LOGO */
.intro-right .logo-wrap {
  left: 0;
}

/* ===================
  OPEN ANIMATION
=================== */

.open .intro-left {
  animation: openLeft 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

.open .intro-right {
  animation: openRight 1.4s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes openLeft {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-100%);
  }
}

@keyframes openRight {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(100%);
  }
}

/* ==================================================
    BACKGROUND (HOME + ABOUT PAGE)
====================================================*/

.background {
  width: 100%;
  height: 100vh;
  background: url('../images/background.png') no-repeat center/cover;
  position: relative;
  overflow: hidden;
}

.hero-section {
  background-size: cover;
  display: flex;
  align-items: center;
  position: relative;
}

.section-journey {
  background: url('../images/banner-journey.png') no-repeat center center;
  background-size: cover;
  background-attachment: scroll;
}

.hero-title-sub {
  font-size: 1.2rem;
  letter-spacing: 4px;
  color: var(--accent-green);
  text-transform: lowercase;
}

.hero-title-main {
  font-size: clamp(2.4rem, 6vw, 5rem);
  font-weight: 700;
  line-height: 1;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.hero-description {
  max-width: 750px;
  margin: 0 auto;
  color: #aaa;
  font-size: 1.1rem;
  line-height: 1.6;
  font-weight: 300;
}

.btn-outline-white {
  background: #fff;
  color: var(--bg-dark-purple);
  font-weight: 700;
  letter-spacing: 1px;
  border-radius: 8px;
  padding: 14px 35px;
  transition: all 0.3s ease;
}

.btn-outline-white:hover {
  background: var(--accent-green);
  color: var(--bg-dark-purple);
  box-shadow: 0 0 20px rgba(76, 224, 229, 0.4);
}

/* =========================
  HEADER 
========================= */
.header {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100px;
  padding: 0 0 0 50px;
}

/* =========================
  LOGO
========================= */
.logo-mobile {
  display: none !important;
}

.logo-mobile .logo img,
.logo-desktop .logo img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}

.logo-mobile .slogan,
.logo-desktop .slogan {
  font-size: 15px;
  font-weight: 300;
  color: #aaa;
}

.logo-desktop .logo {
  width: 100%;
  max-width: 340px;
}

.slogan {
  font-size: 16px;
}

/* =========================
  BOOKS
========================= */
.books {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 75%;
  max-width: 1560px;
  pointer-events: none;
  z-index: 3;
}

.books img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  animation: openBook 1.5s ease;
}

/* =========================
  CONTENT / NAV (HOME + ABOUT PAGE)
========================= */
.content {
  position: absolute;
  left: 50%;
  bottom: 80px;
  transform: translateX(-50%);
  width: 100%;
  z-index: 1;
  padding: 0 0 0 50px;
}

.nav-wrapper {
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
}

.nav-bar {
  flex-direction: row;
  flex-wrap: nowrap;
}

.nav-bar .nav-bar-items {
  font-size: 20px;
  height: fit-content;
  font-weight: 500;
  white-space: nowrap;
}

.navbar {
  background-color: rgba(0, 0, 0, 0.8);
  backdrop-filter: blur(10px);
  padding: 25px 0;
}

.nav-link {
  font-size: 0.95rem;
  letter-spacing: 1px;
  color: #fff !important;
  margin: 0 10px;
  transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
  color: var(--accent-green) !important;
}

.btn-login {
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 12px;
  letter-spacing: 1px;
  border-radius: 8px;
  padding: 10px 25px;
  transition: all 0.3s ease;
}

.btn-login:hover {
  background-color: rgba(255, 255, 255, 0.12);
  color: #fff
}

.navsubbar {
  background-color: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(10px);
  padding: 5px 0;
  text-align: center;
}

/* =========================
  TAG LINE
========================= */
.tag-line {
  width: 100%;
  max-width: 400px;
  background-color: #0000008a;
  padding: 20px 24px;
  border-top-left-radius: 18px;
  border-bottom-left-radius: 18px;
}

.tag-line h2 {
  font-size: 24px;
}

.tag-line div {
  font-size: 16px;
}

.tag-line {
  background-color: transparent;
  padding: 14px 28px;
  background: rgba(0, 0, 0, 0.5);
  border-top-left-radius: 20px;
  border-bottom-left-radius: 20px;
  flex-shrink: 0;
  white-space: nowrap;
}

.tag-line h2 {
  font-size: 20px;
  margin: 0;
}

.tag-line div {
  font-size: 14px;
}

/* =========================
  RESPONSIVE
========================= */

/* Small Desktop  */
@media (min-width: 993px) and (max-width: 1300px) {
  .logo-desktop .logo {
    max-width: 250px;
  }

  .logo-desktop .slogan {
    font-size: 12px;
  }

  .nav-bar .nav-bar-items {
    font-size: 16px;
  }

  .tag-line {
    width: fit-content;
    padding: 12px 20px;
  }

  .tag-line h2 {
    font-size: 20px;
  }

  .tag-line div {
    font-size: 14px;
  }
}

/* Tablet vs Mobile */
@media (max-width: 992px) {
  .background {
    height: auto;
    min-height: 100vh;
  }

  .logo-desktop {
    display: none !important;
  }

  .logo-mobile {
    width: 100%;
    padding: 25px;
    display: block !important;
  }

  .logo-mobile .logo {
    width: 100%;
    max-width: 240px;
  }

  .logo-mobile .slogan {
    font-size: 16px;
  }

  .books {
    width: 100%;
    top: 50%;
  }

  .content {
    bottom: 50px;
    padding: 0 25px;
  }

  .nav-wrapper {
    flex-direction: column;
    gap: 25px;
  }

  .nav-bar {
    width: 100%;
    flex-direction: column;
    gap: 15px !important;
  }

  .nav-bar .nav-bar-items {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    text-align: left;
    padding: 16px 10px;
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 0 !important;
  }

  .nav-bar .nav-bar-items:hover::after {
    color: #000000 !important;
  }

  .nav-bar .nav-bar-items::after {
    content: '>';
    font-size: 18px;
    color: rgba(255, 255, 255, 0.6);
  }

  .tag-line {
    width: 100%;
    max-width: none;
    border-radius: 20px;
  }
}

/* ════════════════════════════════════════════════════════════
    SHOOTING STAR EFFECT STYLING
════════════════════════════════════════════════════════════ */

.line {
  position: absolute;
  top: -16%;
  left: 42%;
  width: 1px;
  height: 137%;
  overflow: hidden;
  z-index: 2;
}

.line::after {
  content: '';
  position: absolute;
  top: -50%;
  left: 0;
  display: block;
  width: 100%;
  height: 15vh;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, #ffffff 75%, #ffffff 100%);
  animation: drop var(--animation-duration, 4s) var(--animation-delay, 0s) infinite;
  animation-fill-mode: forwards;
  animation-timing-function: cubic-bezier(0.4, 0.26, 0, 0.97);
}

@keyframes drop {
  0% {
    top: -50%;
    opacity: 0;
  }

  25% {
    opacity: 1;
  }

  100% {
    top: 40%;
    opacity: 0;
  }
}

.star {
  animation: blink 3s infinite;
}

@keyframes blink {
  50% {
    opacity: 0.3;
  }
}

/* ════════════════════════════════════════════════════════════
    FIREFLY EFFECT STYLING
════════════════════════════════════════════════════════════ */

.fireflies {
  position: absolute;
  inset: 0;
  overflow: hidden;
  z-index: 4;
}

.fireflies span {
  position: absolute;

  border-radius: 50%;

  background: #fff6a5;

  box-shadow:
    0 0 8px #fff6a5,
    0 0 20px #ffd35a,
    0 0 50px #ff9d00;

  opacity: 0.3;

  animation:
    fireflyMove linear infinite,
    fireflyGlow ease-in-out infinite;
}

@keyframes fireflyMove {
  0% {
    transform: translate(0, 0);
  }

  50% {
    transform: translate(var(--move-x), var(--move-y));
  }

  100% {
    transform: translate(0, 0);
  }
}

@keyframes fireflyGlow {

  0%,
  100% {
    opacity: 0.2;
    scale: 1;
  }

  50% {
    opacity: 1;
    scale: 1.4;
  }
}

/* ======================================
   ROOT VARIABLES
====================================== */

:root {
  --bg-dark-purple: #0a0612;
  --accent-green: #6db900;
  --accent-yellow: #ffae00;
  --text-muted: #bcacc8;
  --section-title-color: #000;
  --section-text-color: #555;
}

/* ======================================
   SOCIAL / SLIDER
====================================== */

.social-sidebar {
  position: absolute;
  right: 40px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
}

.social-icon-circle {
  width: 45px;
  height: 45px;
  background: #fff;
  color: var(--bg-dark-purple);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 15px;
  text-decoration: none;
  font-size: 1.1rem;
  transition: 0.3s ease;
}

.social-icon-circle:hover {
  background: var(--accent-green);
  color: var(--bg-dark-purple);
  transform: scale(1.1);
}

.slider-indicators-vertical {
  position: absolute;

  left: 40px;
  top: 50%;

  transform: translateY(-50%);

  display: flex;
  flex-direction: column;

  gap: 20px;

  font-size: 0.9rem;

  color: rgba(255, 255, 255, 0.4);

  z-index: 10;
}

.slider-num {
  cursor: pointer;

  transform: rotate(-90deg);

  display: block;

  transition: 0.3s ease;
}

.slider-num.active,
.slider-num:hover {
  color: #fff;

  border-bottom: 2px solid var(--accent-green);
}

/* ======================================
   COMMON SECTION STYLE
====================================== */

.section-worldbuilding,
.section-literacy,
.section-wellness {
  position: relative;
  overflow: hidden;
}

.section-worldbuilding h2,
.section-literacy h2,
.section-wellness h2 {
  font-size: clamp(2rem, 4vw, 3.5rem);

  font-weight: 700;

  color: var(--section-title-color);

  line-height: 1.1;
}

.section-worldbuilding p,
.section-literacy p,
.section-wellness p {
  color: var(--section-text-color);
  font-size: 1rem;
  line-height: 1.7;
  font-weight: 300;
}

.section-worldbuilding .sub-title,
.section-literacy .sub-title,
.section-wellness .sub-title {
  font-size: 0.9rem;
  color: #477e28;
  letter-spacing: 2px;
}

/* ======================================
   SECTION BACKGROUNDS
====================================== */

.section-worldbuilding {
  background: #ddd;
}

.section-literacy {
  background: #fff;
}

.section-wellness {
  background: #eee;
}

/* ======================================
   FOOTER
====================================== */

.custom-footer-links a,
.footer-socials a {
  transition: color 0.2s ease-in-out;
}

.custom-footer-links a:hover,
.footer-socials a:hover {
  color: #7ae02b !important;
}

/* ======================================
   FAQ ACCORDION
====================================== */

.custom-faq-accordion .accordion-button:not(.collapsed) {
  color: #5ba31d !important;

  background-color: #f8fcf7 !important;
}

.custom-faq-accordion .accordion-button::after {
  background-size: 1rem;

  transition: transform 0.2s ease-in-out;
}

.custom-faq-accordion .accordion-button:hover {
  color: #65b820 !important;
}

.custom-faq-accordion .accordion-item {
  border-color: rgba(0, 0, 0, 0.08) !important;
}

/* ======================================
   CARD / CTA EFFECTS
====================================== */

.card:hover {
  transform: translateY(-4px);
}

.custom-featured-card:hover {
  transform: scale(1.04) translateY(-2px) !important;
}

.cta-btn-primary:hover {
  background-color: #6db900 !important;
  border-color: #6db900 !important;
  color: #050a04 !important;
  transform: translateY(-2px);
  box-shadow: 0 5px 20px rgba(122, 224, 43, 0.4);
}