.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: all 0.8s ease-out;
}

.reveal.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 4px; /* Horizontal scrollbar height */
}
::-webkit-scrollbar-track {
  background: var(--color-cream); 
}
::-webkit-scrollbar-thumb {
  background: var(--color-gold); 
  border-radius: 4px;
}

/* Marquee Animation */
.marquee-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  /* Mask edges for smooth fade effect */
  -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
  mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.marquee-content {
  display: flex;
  width: max-content;
  animation: scroll 60s linear infinite;
}

.marquee-container:hover .marquee-content {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Text Ribbon Marquee */
.text-marquee-content {
  display: flex;
  width: max-content;
  animation: scroll-text 30s linear infinite;
}

@keyframes scroll-text {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Hide scrollbar for Chrome, Safari and Opera */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE, Edge and Firefox */
.no-scrollbar {
  -ms-overflow-style: none;  /* IE and Edge */
  scrollbar-width: none;  /* Firefox */
}

/* Custom Checkbox Color */
input[type="checkbox"] {
  accent-color: var(--color-dark);
}