.fade-in {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fade-in.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Delay effect for staggered animation */
.fade-in:nth-child(1) {
  transition-delay: 0.2s;
}

.fade-in:nth-child(2) {
  transition-delay: 0.4s;
}

.fade-in:nth-child(3) {
  transition-delay: 0.6s;
}

/* p tags animation */
/* H1 animation */
.animate-chars {
  font-size: 40px;
  opacity: 0;
  display: inline-block;
  overflow: hidden;
}

.animate-chars span {
  opacity: 0;
  display: inline-block;
  transition-behavior: normal;
  transition-duration: 0.8s;
  transition-timing-function: cubic-bezier(0, 0, 0, 1.08);
  transition-property: all;
  transform: translateY(100%);
  will-change: transform;
}

.animate-text {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.visible {
  opacity: 1;
  transform: translateY(0);
}

.animate-chars.visible span {
  opacity: 1;
  transform: translateY(0);
}

/* CUSTOM CURSOR */
html, body {
  cursor: none;
}

html, body {
  cursor: none;
}

#custom-cursor {
  position: fixed;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.3);
  /* semi‑transparent dot */
  pointer-events: none;
  user-select: none;
  transform: translate(-50%, -50%) scale(1);
  transition: transform 0.5s ease, background-color 0.5s ease, width 0.3s ease, height 0.3s ease;
  z-index: 10002;
}

#custom-cursor.link-hover {
  background: transparent;
  width: 50px;
  height: 50px;
  border: 1px solid var(--border, rgba(0,0,0,0.6));
  transform: translate(-50%, -50%) scale(1);
}

#custom-cursor.is-hide {
  opacity: 0;
}

@media (hover: none) {
  #custom-cursor {
    display: none !important;
  }
}

/* CUSTOM CURSOR */
