* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Barlow", sans-serif;
}

/* Remove default scrollbar space */
:root {
  overflow-y: auto;
  overflow-x: hidden;
  margin-right: calc(-1 * (100vw - 100%));
}

/* Overlay Scrollbar Styles */
html {
  overflow-y: scroll;
  overflow-x: hidden;
}

html::-webkit-scrollbar {
  width: 10px;
  height: 10px;
  position: fixed;
  right: 0;
}

html::-webkit-scrollbar-track {
  background: transparent;
}

html::-webkit-scrollbar-thumb {
  background-color: rgba(255, 255, 0, 0.2);
  border: 3px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 9999px;
  min-height: 50px;
}

html::-webkit-scrollbar-thumb:hover {
  background-color: rgba(255, 255, 0, 0.3);
  border: 2px solid rgba(0, 0, 0, 0);
}

/* Firefox Scrollbar */
html {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 0, 0.2) transparent;
}

/* Hide scrollbar for auto-scrolling content */
.overflow-x-auto::-webkit-scrollbar {
  display: none !important;
}

.overflow-x-auto {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

body {
  position: relative;
  max-width: 100%;
  overflow-x: hidden;
}

/* Main scrollbar styles */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: transparent;
  margin: 3px;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 0, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 0, 0.3);
}

/* Add this to ensure content stays above backgrounds */
.apply-svg > *:not(.gradient-middle) {
  position: relative;
  z-index: 1;
}

/* Container for main content */
.page-wrapper {
  position: relative;
  z-index: 20;
}

/* Ensure the gradient doesn't interfere with content */
.apply-svg {
  position: relative;
  width: 100%;
  min-height: 100vh;
}

/* Gradient text for the percentage in the survey results section for the chart */
.gradient-text {
  width: 198px;
  height: 83px;
  letter-spacing: 0.02em;
  background: linear-gradient(180deg, #ffff00 0%, rgba(255, 255, 0, 0) 87.43%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-emphasis-color: transparent;
  opacity: 0.8;
}

@keyframes slide {
  0% {
    transform: translateX(50px);
    opacity: 0;
  }
  100% {
    transform: translateX(0);
    opacity: 1;
  }
}

.animate-slide {
  opacity: 0;
  animation: slide 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-fill-mode: both;
  white-space: nowrap;
}

/* Add hover animation */
.animate-slide:hover {
  transform: scale(1.05);
  transition: transform 0.3s ease;
}

/* Hide scrollbar but keep functionality */
.overflow-x-auto::-webkit-scrollbar {
  display: none;
}

.overflow-x-auto {
  -ms-overflow-style: none;
  scrollbar-width: none;
  position: relative;
  overflow: hidden;
}

/* New continuous scroll animation */
@keyframes continuousScroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

/* Animation container */
.overflow-x-auto > div:first-child {
  display: flex;
  gap: 1rem;
  width: max-content;
  animation: continuousScroll 20s linear infinite;
}

/* Create duplicate content for seamless loop */
.overflow-x-auto > div:first-child {
  display: flex;
  gap: 1rem;
  padding-right: 1rem;
}

.overflow-x-auto > div:first-child > * {
  margin-right: 0;
}

/* Pause on hover */
.overflow-x-auto:hover > div:first-child {
  animation-play-state: paused;
}

/* Remove bounce indicator since we have continuous scroll */
.overflow-x-auto::after {
  display: none;
}

/* Ensure items don't shrink */
.flex-shrink-0 {
  flex: 0 0 auto;
}

.chart-background {
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.1) 0%,
    rgba(255, 255, 255, 0.02) 100%
  );
  border: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(30px);
  border-radius: 18px;
}

html {
  scroll-behavior: smooth;
}

@keyframes floatingGradient {
  0% {
    top: 0%;
  }
  25% {
    top: 8%;
  }
  50% {
    top: 11%;
  }
  75% {
    top: 8%;
  }
  100% {
    top: 0%;
  }
}

@keyframes horizontal-bounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(10px);
  }
}

.animate-horizontal-bounce {
  animation: horizontal-bounce 1s infinite;
}

.glow-effect::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 120%;
  height: 120%;
  background: rgba(255, 255, 0, 0.2);
  border-radius: 50%;
  filter: blur(15px);
  z-index: -1;
}
@keyframes gradientAnimation {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-30px);
  }
  100% {
    transform: translateY(0);
  }
}
@keyframes scaleUp {
  0% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes fadeIn {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes gentleBounce {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(5px);
  }
}

.hero-scale-up {
  animation: scaleUp 1.5s ease-out forwards;
}

.hero-fade-in {
  animation: fadeIn 1s ease-out forwards;
}

.hero-slide-up {
  animation: slideUp 0.8s ease-out forwards;
}

.gentle-bounce {
  animation: gentleBounce 1s ease-in-out infinite;
}

.privacy-policy-wrapper {
  min-height: 100vh;
  background-color: #f0f2f5;
}

.privacy-policy-container {
  padding: 40px 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.privacy-policy-content {
  background-color: #ffffff;
  padding: 40px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.privacy-policy-content h1 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: #333;
}

.privacy-policy-content h2 {
  font-size: 1.8rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  color: #444;
}

.privacy-policy-content h3 {
  font-size: 1.4rem;
  margin-top: 1.5rem;
  margin-bottom: 1rem;
  color: #555;
}

.privacy-policy-content p {
  line-height: 1.6;
  margin-bottom: 1rem;
  color: #666;
}

.privacy-policy-content ul {
  margin-bottom: 1rem;
  padding-left: 2rem;
}

.privacy-policy-content li {
  margin-bottom: 0.5rem;
  color: #666;
}

@media (max-width: 768px) {
  .privacy-policy-container {
    padding: 20px 15px;
  }

  .privacy-policy-content {
    padding: 25px;
  }

  .privacy-policy-content h1 {
    font-size: 2rem;
  }
}
