:root {
  --blue-primary: #1a528f;
  --red-accent: #a61c21;
  --bg-hero: #0b1a12;
  --bg-white: #ffffff;
  --bg-light-blue: #d6e8f8;
  --bg-blue-grad: linear-gradient(135deg, #d6e8f8, #eff6ff);
  --bg-reward-program: #f3f7fc;
  --bg-how-it-works: #c8dcef;
  --bg-faq: #e8eff6;
  --bg-feedback: #d6e8f8;
  --font-main: "Open Sans", sans-serif;
  --text-dark: #1a3a5c;
  --border-radius-card: 18px;
}

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

html {
  font-family: var(--font-main);
  color: var(--text-dark);
  scroll-behavior: smooth;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}

body {
  overflow-x: hidden;
  line-height: 1.6;
}

/* Page container should now be a simple wrapper */
.page-container {
  width: 100%;
}

/* Global scroll-snap container - deprecated */
.container {
  width: 100%;
}

section {
  min-height: 98vh;
  /* max-height: 98vh; */
  width: 100%;
  scroll-snap-align: start;
  position: relative;
  display: flex;
}

/* Nav Dots */
#dot-nav {
  position: fixed;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  z-index: 999;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #a0b4c8;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  border: 2px solid transparent;
}

.dot.active {
  background: var(--blue-primary);
  transform: scale(1.5);
  border-color: #fff;
  box-shadow: 0 0 10px rgba(26, 82, 143, 0.3);
}

.dot:hover {
  background: var(--blue-primary);
  opacity: 0.8;
}

/* Section 1 Hero */
.banner-section {
  background: var(--bg-hero);
  background-image: radial-gradient(
    circle at center,
    rgba(30, 80, 40, 0.4) 0%,
    transparent 60%
  );
  /* flex-direction: column;
  justify-content: center; */
  align-items: center;
  text-align: center;
  color: white;
  padding: 40px;
}

.banner-logo {
  height: 77px;
  position: absolute;
  top: 40px;
  left: 40px;
}

.banner-img {
  width: 600px;
  max-width: 90%;
  margin-top: 40px;
}

.banner-text h1 {
  font-size: 48px;
  font-weight: 700;
  margin-bottom: 10px;
}

.banner-text p {
  font-size: 24px;
  font-weight: 400;
}

.text-red {
  color: var(--red-accent) !important;
}

.text-blue-light {
  color: #a0b8d0;
}

.text-red-light {
  color: #c4a8b8;
}

.scroll-cue {
  position: absolute;
  bottom: 20px;
  width: 30px;
  height: 50px;
  border: 2px solid white;
  border-radius: 15px;
  animation: bounce 2s infinite;
}

.scroll-cue::before {
  content: "";
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 8px;
  background: white;
  border-radius: 2px;
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }

  40% {
    transform: translateY(-15px);
  }

  60% {
    transform: translateY(-7px);
  }
}

/* Section 2 Download */
.download-section {
  background: var(--bg-white);
  align-items: center;
  justify-content: center;
}

.download-section .section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.download-col-left {
  width: 30%;
  position: relative;
  display: flex;
  justify-content: flex-end;
}

.download-col-right {
  width: 40%;
  z-index: 1;
}

.download-heading {
  font-size: 42px;
  color: var(--blue-primary);
  margin-bottom: 20px;
  font-weight: 700;
}

.inline-logo {
  height: 60px;
  vertical-align: middle;
}

.download-sub {
  font-size: 18px;
  margin-bottom: 30px;
  line-height: 1.5;
}

.qr-wrap {
  margin-bottom: 20px;
}

.qr-img {
  width: 160px;
  height: 160px;
  border: 4px solid #eaeaea;
  border-radius: 8px;
}

.badge-row {
  display: flex;
  gap: 15px;
  margin-top: 20px;
}

.bottom-back-img {
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  z-index: 1;
}

.badge-img {
  height: 50px;
}

/* Reusable Phone Mockup CSS */
.phone-mockup {
  width: 250px;
  height: 500px;
  border: 12px solid #222;
  border-radius: 36px;
  background: white;
  position: relative;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
  overflow: hidden;
}

.phone-mockup::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 120px;
  height: 25px;
  background: #222;
  border-bottom-left-radius: 12px;
  border-bottom-right-radius: 12px;
  z-index: 10;
}

.phone-mockup img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Phone stacks */
.overlapping-phones {
  position: relative;
  width: 350px;
  height: 550px;
}

.overlapping-phones .phone-back {
  position: absolute;
  top: 0;
  right: 0;
  transform: scale(0.9);
  opacity: 0.8;
}

.overlapping-phones .phone-front {
  position: absolute;
  bottom: 0;
  left: 0;
}

/* Sections 3-6 Activities */
.activity-section {
  background: url(./images/home/grad-back.svg) no-repeat;
  /* background: var(--bg-blue-grad); */
  flex-direction: column;
  padding: 18px;
}

.activity-top {
  text-align: center;
  margin-bottom: 40px;
}

.activity-label {
  color: var(--blue-primary);
  font-size: 36px;
  margin-bottom: 10px;
}

.activity-sub {
  max-width: 600px;
  margin: 0 auto;
  font-size: 16px;
  line-height: 1.6;
}

.activity-body {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 80px;
  flex: 1;
}

.activity-text {
  width: 45%;
  text-align: center;
}

.activity-img {
  width: 40%;
  display: flex;
  justify-content: flex-start;
}

.big-title {
  font-size: 80px;
  font-weight: 700;
  line-height: 1.1;
  margin-bottom: 30px;
}

.activity-text p {
  font-size: 18px;
  line-height: 1.6;
}

/* Section 7 Reward Program */
.reward-section {
  background: var(--bg-reward-program);
  align-items: center;
  justify-content: center;
}

.reward-section .section-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 60px;
  width: 100%;
}

.reward-left {
  width: 45%;
  display: flex;
  justify-content: flex-end;
  position: relative;
}

.reward-card-pink {
  background: #fce6e6;
  border-radius: 30px;
  padding: 60px 50px;
  position: relative;
  overflow: visible;
}

.reward-card-pink::before {
  content: "";
  position: absolute;
  top: 20px;
  left: -40px;
  width: 240px;
  height: 240px;
  /* background: rgba(166, 28, 33, 0.12); */
  border-radius: 24px;
  z-index: 0;
}

.reward-card-blue {
  background: #ebf3fc;
  border-radius: 20px;
  display: flex;
  gap: 40px;
  padding: 50px;
  position: relative;
  z-index: 1;
}

.reward-mob-img {
  height: auto;
  max-width: 240px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.reward-mob-img:nth-child(1) {
  transform: translateX(-25px);
  z-index: 2;
}

.reward-mob-img:nth-child(2) {
  transform: translateX(10px);
}

.reward-right {
  width: 40%;
}

.reward-right h2 {
  font-size: 48px;
  color: var(--blue-primary);
  margin-bottom: 20px;
}

.reward-right p {
  font-size: 18px;
  line-height: 1.6;
  margin-bottom: 15px;
}

/* Section 8 How It Works */
.how-section {
  background: var(--bg-how-it-works);
  box-shadow: inset 0 0 120px rgba(10, 50, 100, 0.25);
  flex-direction: column;
  padding: 60px;
}

.how-inner {
  text-align: center;
  width: 100%;
}

.how-header h2 {
  font-size: 42px;
  margin-bottom: 15px;
  color: var(--blue-primary);
}

.carousel-container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 40px;
  position: relative;
}

.carousel-window {
  width: 900px;
  overflow: hidden;
  padding: 20px 0;
}

.carousel-track {
  display: flex;
  gap: 20px;
  transition: transform 0.5s ease;
}

.carousel-card {
  min-width: calc(33.333% - 14px);
  background: rgba(255, 255, 255, 0.5);
  border-radius: var(--border-radius-card);
  padding: 10px 8px;
  text-align: center;
  transition: transform 0.3s;
  background-image: url(./assets/images/home/card-bg.svg);
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}

.carousel-card.active-card {
  transform: scale(1.05);
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.carousel-card img {
  height: 120px;
  margin-bottom: 20px;
}

.card-step {
  color: var(--blue-primary);
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 15px;
}

.carousel-arrow {
  width: 40px;
  height: 40px;
  background: transparent;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
}

.carousel-arrow:hover {
  background: rgba(255, 255, 255, 0.5);
}

/* Section 9 FAQ */
.faq-section {
  /* background: var(--bg-faq); */
  /* border-left: 10px solid var(--blue-primary);
  border-bottom: 10px solid var(--blue-primary); */
  flex-direction: column;
  padding: 60px;
}

.faq-inner {
  width: 100%;
}

.faq-header {
  text-align: center;
  margin-bottom: 40px;
}

.faq-header h2 {
  font-size: 42px;
  color: var(--blue-primary);
}

.faq-body-row {
  display: flex;
  gap: 40px;
  /* align-items: flex-start; */
  align-items: center;
  justify-content: center;
}

.faq-img-col {
  width: 30%;
  text-align: center;
  padding: 20px;
}

.faq-img-col img {
  max-width: 300px;
}

.faq-list-col {
  width: 65%;
  background: white;
  border-radius: var(--border-radius-card);
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  max-height: 380px;
  overflow-y: auto;
}

.faq-list-col .btn-load-more {
  width: 100%;
  margin-top: 20px;
}

/* Custom Scrollbar for FAQ Box */
.faq-list-col::-webkit-scrollbar {
  width: 8px;
}

.faq-list-col::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-radius: 10px;
}

.faq-list-col::-webkit-scrollbar-thumb {
  background: var(--blue-primary);
  border-radius: 10px;
}

.faq-list-col::-webkit-scrollbar-thumb:hover {
  background: #15457a;
}

.extra-faq {
  display: none;
}

.accordion-item {
  border-bottom: 1px solid #eee;
  margin-bottom: 15px;
  padding-bottom: 15px;
}

.accordion-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-weight: 600;
  color: var(--blue-primary);
}

.accordion-icon {
  transition: transform 0.3s;
}

.accordion-item.open .accordion-icon {
  transform: rotate(180deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  color: #555;
  line-height: 1.5;
  margin-top: 0;
}

.accordion-item.open .accordion-body {
  max-height: 200px;
  /* arbitrary max height for transition */
  margin-top: 15px;
}

.btn-load-more {
  background: var(--blue-primary);
  color: white;
  border: none;
  padding: 15px 30px;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 20px;
  font-weight: 700;
  transition: background 0.3s;
  display: inline-block;
}

.btn-load-more:hover {
  background: #15457a;
}

/* Section 10 Feedback + Footer */
.feedback-section {
  /* background: var(--bg-feedback); */
  background-color: rgb(239, 246, 254);
  flex-direction: column;
  position: relative;
  justify-content: flex-start;
}

.badge-row-mobile {
  display: none;
}

.feedback-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 80px 40px;
  gap: 60px;
  flex: 1;
}

.feedback-img-col {
  width: 40%;
  text-align: right;
}

.feedback-img-col img {
  width: 80%;
  max-width: 400px;
}

.feedback-form-col {
  width: 45%;
}

.feedback-form-col h2 {
  font-size: 36px;
  color: var(--blue-primary);
  margin-bottom: 30px;
}

.form-row {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
}

.form-group {
  flex: 1;
}

input,
textarea {
  width: 100%;
  padding: 15px;
  border: none;
  border-radius: 8px;
  background: #eef4fb;
  font-family: inherit;
  font-size: 16px;
}

input:focus,
textarea:focus {
  outline: 2px solid var(--blue-primary);
}

textarea {
  height: 120px;
  resize: vertical;
}

.btn-submit {
  width: 100%;
  background: var(--blue-primary);
  color: white;
  padding: 15px;
  border: none;
  border-radius: 8px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: 2px;
  cursor: pointer;
  margin-top: 10px;
}

#form-message {
  margin-top: 20px;
  font-weight: 700;
  text-align: center;
  min-height: 24px;
  transition: all 0.3s ease;
}

/* Footer strip */
.footer-strip {
  background: transparent;
  width: 100%;
  padding: 20px 60px;
  /* position: absolute; */
  bottom: 0;
}

.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.footer-logo {
  text-align: left;
}

.footer-logo img {
  height: 70px;
}

.footer-logo p {
  font-size: 10px;
  color: #555;
}

.footer-links {
  display: flex;
  gap: 20px;
}

.footer-links a {
  color: var(--blue-primary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
}

.footer-strip hr {
  border: none;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
  margin-bottom: 15px;
}

.footer-bottom {
  text-align: right;
  font-size: 12px;
  color: #555;
}
.mobile-break {
  display: none;
}
.section-scroll.banner-section.landing-banner {
  background-image: url("./assets/images/banner/banner1.svg");
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.activity-slider {
  display: none;
}
.main-mobile-static {
  display: none;
}
/* Responsive Design */
@media (max-width: 768px) {
  section {
    min-height: 100vh;
    padding: 20px;
  }
  #s3,
  #s4,
  #s5,
  #s6 {
    display: none;
  }

  /* Nav Dots - hide on mobile */
  #dot-nav {
    display: none;
  }
  .mobile-break {
    display: block;
  }
  .badge-row-mobile {
    display: block;
    width: 110%;
    text-align: center;
  }
  /* Banner Section */
  .banner-section {
    padding: 20px;
    text-align: center;
  }
  .activity-slider {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 5px;
    padding: 0px;
  }
  .main-mobile-static {
    display: block;
    text-align: center;
    padding: 10px;
    background-color: #f3e8ec;
  }

  .main-mobile-static .activity-title {
    margin-bottom: 10px;
  }

  .main-mobile-static .activity-desc {
    max-width: 320px;
    margin: 0 auto;
    line-height: 1.6;
  }
  .activity-card {
    min-width: 90%;
    min-height: auto;
    /* height: fit-content; */
    /* background: linear-gradient(#d8e3f3, #c7d5ea); */
    background: url(./images/home/grad-back.svg) no-repeat;
    border-radius: 16px;
    padding: 30px 20px;
    scroll-snap-align: center;

    /* FIX */
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
  }
  .text-blue {
    color: #275d99;
    font-weight: 650;
  }
  .activity-title {
    font-size: 24px;
    margin-bottom: 10px;
  }

  .activity-desc {
    font-size: 14px;
    line-height: 1.6;
    max-width: 320px; /* keeps text centered */
    text-align: center;
  }

  .activity-card img {
    width: 80%;
    max-width: 260px; /* prevents overflow */
    height: auto;
    margin-top: 20px;
    display: block;
  }
  .banner-logo {
    height: 85px;
    position: absolute;
    top: 50px;
    left: 110px;
    /* position: static;
    height: 50px; */
    margin-bottom: 20px;
  }

  .banner-text h1 {
    font-size: 32px;
    margin-top: -200px;
    text-align: center;
  }

  .banner-text p {
    font-size: 18px;
    /* margin-top: -160px; */
    text-align: center;
  }

  .section-scroll.banner-section.landing-banner {
    background-image: url("./assets/images/mobile/banner.svg");
  }

  /* Download Section */
  /* .download-section .section-inner {
    flex-direction: column;
    gap: 40px;
  } */
  .download-section .section-inner {
    flex-direction: column-reverse;
    gap: 40px;
  }
  .qr-wrap {
    display: none;
  }

  .download-col-left {
    width: 100%;
    margin-left: -40px;

    justify-content: center;
    display: block;
  }

  .download-col-right {
    width: 100%;
    text-align: center;
  }

  .download-heading {
    font-size: 28px;
  }

  .download-sub {
    font-size: 16px;
  }

  .badge-row {
    justify-content: center;
  }

  /* Activity Sections */
  .activity-section {
    padding: 40px 20px;
  }

  .activity-body {
    flex-direction: column;
    gap: 40px;
  }

  .activity-text {
    width: 100%;
    text-align: center;
  }

  .activity-img {
    width: 100%;
    justify-content: center;
  }

  .big-title {
    font-size: 48px;
  }

  /* Reward Section */
  .reward-section .section-inner {
    flex-direction: column;
    gap: 40px;
  }

  .reward-left {
    width: 100%;
    justify-content: center;
  }

  .reward-right {
    width: 100%;
    text-align: center;
  }

  .reward-right h2 {
    font-size: 36px;
  }

  .reward-mob-img {
    height: auto;
    max-width: 45%;
    transform: none;
  }

  .reward-card-blue {
    flex-direction: row;
    gap: 15px;
    padding: 20px;
  }

  /* How It Works */
  .how-section {
    padding: 40px 20px;
  }

  .how-header h2 {
    font-size: 32px;
  }

  .carousel-container {
    flex-direction: column;
    gap: 10px;
  }

  .carousel-window {
    width: 100%;
    overflow-x: auto;
  }

  .carousel-track {
    width: max-content;
  }

  .carousel-card {
    min-width: 250px;
  }

  .carousel-arrow {
    display: none; /* Hide arrows on mobile, use scroll */
  }

  /* FAQ */
  .faq-section {
    padding: 40px 20px;
  }

  .faq-body-row {
    flex-direction: column;
  }

  .faq-img-col {
    width: 100%;
  }

  .faq-list-col {
    width: 100%;
    max-height: 360px;
  }

  /* Feedback */
  .feedback-inner {
    flex-direction: column;
    padding: 40px 20px;
    gap: 40px;
  }

  .feedback-img-col {
    width: 100%;
    text-align: center;
  }

  .feedback-form-col {
    width: 100%;
    text-align: center;
  }

  .form-row {
    flex-direction: column;
    gap: 10px;
  }

  /* Footer */
  .footer-strip {
    padding: 20px;
  }

  .footer-top {
    flex-direction: column;
    gap: 20px;
    text-align: center;
  }

  .footer-links {
    flex-wrap: wrap;
    justify-content: center;
  }

  .footer-bottom {
    text-align: center;
  }
}

@media (max-width: 480px) {
  .banner-text h1 {
    font-size: 24px;
  }

  .banner-text p {
    font-size: 16px;
  }

  .download-heading {
    font-size: 24px;
  }

  .big-title {
    font-size: 36px;
  }

  .reward-right h2 {
    font-size: 28px;
  }

  .how-header h2 {
    font-size: 28px;
  }

  .feedback-form-col h2 {
    font-size: 28px;
  }

  .carousel-card {
    width: 100px;
    padding: 10px 8px;
  }

  .carousel-card img {
    height: 80px;
  }
}
