/* Custom Animations for Water-Flow Marquee & Micro-Interactions */
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}
@keyframes pulse-slow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.08); opacity: 0.95; }
}
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.float-slow {
  animation: float 6s ease-in-out infinite;
}
.pulse-glow {
  animation: pulse-slow 2.5s ease-in-out infinite;
}
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}

/* Scroll Reveal Styling transition helper */
.reveal-elem {
  opacity: 0;
  transform: translateY(2rem);
  transition: all 0.8s ease-out;
}
.reveal-elem.active {
  opacity: 1;
  transform: translateY(0);
}

/* Webkit Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
  background: #1A3C5E;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #D4A843;
}

/* Base custom helpers */
.line-clamp-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.line-clamp-1 {
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;  
  overflow: hidden;
}
.pulse-glow {
  animation: pulse-slow 2.5s ease-in-out infinite;
}
