/* =====================
   General Fade-up
===================== */
.hero-fade, .fade-up {
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.7s ease-out, transform 0.7s ease-out;
  will-change: opacity, transform;
}
.hero-fade.visible, .fade-up.visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

/* =====================
   Floating Particles
===================== */
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2); /* Make sure it's visible */
  pointer-events: none;
  opacity: 0.3;
  animation: floatDynamic linear infinite;
}

.hero-particle.small { width: 2px; height: 2px; animation-duration: 18s; }
.hero-particle.medium { width: 3px; height: 3px; animation-duration: 25s; }
.hero-particle.large { width: 5px; height: 5px; animation-duration: 35s; }

@keyframes floatDynamic {
  0%   { transform: translate(0,0) scale(1); opacity: 0.3; }
  25%  { transform: translate(20px,-30px) scale(1.1); opacity: 0.6; }
  50%  { transform: translate(-20px,-60px) scale(0.9); opacity: 0.4; }
  75%  { transform: translate(10px,-90px) scale(1.05); opacity: 0.7; }
  100% { transform: translate(0,-120px) scale(1); opacity: 0.3; }
}

/* FAQ container should handle dividers */
.faq-btn {
  position: relative;
  border: none;
  background: none;
  width: 100%;
  text-align: left;
  cursor: pointer;
  font-weight: 500;
  padding: 1rem;
  transition: color 0.3s;
  text-decoration: none;
}

/* Divider line below each button */
.faq-btn + .faq-content {
  border-top: 1px solid rgba(255,255,255,0.1);
}

.faq-btn::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  width: 0;
  height: 100%;
  background-color: #a78bfa; /* purple border */
  transition: width 0.3s ease;
}

.faq-btn:hover::before {
  width: 4px; /* show left border on hover */
}

.faq-btn:hover { 
  color: #a78bfa; 
}

.faq-content {
  padding: 1rem;
  color: #a1a1aa;
  display: none;
}

.faq-content.visible { 
  display: block;
}


/* =====================
   Service Cards Hover
===================== */
.hover-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.hover-card:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 20px rgba(0,0,0,0.5);
}

/* =====================
   Buttons Hover
===================== */
a {
  transition: all 0.3s ease;
}
a:hover {
  transform: scale(1.05);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* =====================
   Scroll Arrow
===================== */
#scrollArrow {
  transition: opacity 0.3s ease;
}

/* =====================
   Chart Container
===================== */
#heroChart {
  transition: all 0.7s ease-out;
  margin-left: auto;
  margin-right: auto;
}

/* =====================
   Smooth Scroll
===================== */
html {
  scroll-behavior: smooth;
}

/* =====================
   Scroll button image
===================== */
.scroll-btn {
  cursor: pointer;
  z-index: 1000;
  transition: opacity 0.3s;
  opacity: 1;
}

.scroll-btn:hover {
  opacity: 0.7;
}