html {
  scroll-behavior: smooth;
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* half width of duplicated track */
}

.animate-marquee {
  animation: marquee 60s linear infinite;
}

.animate-marquee:hover {
  animation-play-state: paused;
}

/* Hide scrollbar */
#carousel::-webkit-scrollbar { display: none; }
#carousel { -ms-overflow-style: none; scrollbar-width: none; }

/* TIMELINE LINE */
.timeline {
  position: relative;
}

.timeline-line {
  position: absolute;
  top: 24px;
  left: 0;
  width: 0;
  height: 4px;
  background: #facc15;
  transform: translateY(-50%);
  transition: width 1.2s ease-out;
}

/* HEXAGON BASE */
.hexagon {
  width: 56px;
  height: 32px;
  margin: 0 auto;
  font-weight: bold;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  opacity: 0;
  transform: translateY(10px) scale(0.6);
  transition:
    opacity 0.5s ease-out,
    transform 0.5s ease-out;
}

.hexagon::before,
.hexagon::after {
  content: "";
  position: absolute;
  left: 0;
  width: 0;
  border-left: 28px solid transparent;
  border-right: 28px solid transparent;
}

.hexagon::before {
  bottom: 100%;
}

.hexagon::after {
  top: 100%;
}

/* FILLED */
.hexagon.filled {
  background: #facc15;
  color: #000;
}

.hexagon.filled::before {
  border-bottom: 16px solid #facc15;
}

.hexagon.filled::after {
  border-top: 16px solid #facc15;
}

/* OUTLINED */
.hexagon.outlined {
  background: #fff;
  color: #facc15;
  border: 2px solid #facc15;
}

.hexagon.outlined::before {
  border-bottom: 16px solid #facc15;
}

.hexagon.outlined::after {
  border-top: 16px solid #facc15;
}

/* ACTIVE STATE */
.timeline.active .timeline-line {
  width: 100%;
}

.timeline.active .hexagon {
  opacity: 1;
  transform: scale(1);
}

/* ===== SECTION ===== */
.guide-section {
  background: linear-gradient(
    to bottom,
    #0b0f19 0%,
    #0b0f19 85%,
    #0f172a 100%
  );
  padding: 80px 20px 110px;
  color: #fff;
  text-align: center;
  position: relative;
}

.guide-container {
  max-width: 1100px;
  margin: auto;
}

.guide-section h1 {
  font-size: 1.9rem;
  margin-bottom: 12px;
}

.guide-subtitle {
  color: #bfc7d5;
  margin-bottom: 42px;
}

/* ================= CARDS ================= */
.guide-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 22px;
  margin-bottom: 44px;
}

.guide-card {
  background: #ffffff;
  border-radius: 16px;
  padding: 34px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  color: #0b0f19;
  box-shadow: 0 12px 28px rgba(0,0,0,0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  position: relative;
}

.guide-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 4px;
  width: 100%;
  background: #facc15;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
  border-radius: 16px 16px 0 0;
}

.guide-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 45px rgba(0,0,0,0.22);
}

.guide-card:hover::before {
  transform: scaleX(1);
}

.guide-card img {
  width: 64px;
  height: 64px;
}

/* ================= CTA ================= */
.guide-btn {
  display: inline-block;
  background: #facc15;
  color: #000;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform 0.2s ease, background 0.2s ease;
}

.guide-btn:hover {
  background: #fde047;
  transform: translateY(-2px);
}

/* ================= TRANSITION ================= */
.guide-transition {
  margin-top: 80px;
  display: flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  color: #94a3b8;
  font-size: 0.85rem;
  letter-spacing: 0.15em;
  text-transform: uppercase;
}

.guide-transition span {
  width: 60px;
  height: 1px;
  background: linear-gradient(to right, transparent, #facc15, transparent);
}

/* ================= DESKTOP ================= */
@media (min-width: 768px) {
  .guide-cards {
    grid-template-columns: repeat(3, 1fr);
  }

  .guide-section h1 {
    font-size: 2.4rem;
  }
}


