/* Animations for ESHNO Website */

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.animate-fadeInUp {
  animation: fadeInUp 0.6s ease-out;
}

/* Fixed Marquee Animation */
.animate-marquee {
    display: inline-flex;
    white-space: nowrap;
    animation: scrollMarquee 25s linear infinite;
    will-change: transform;
}

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

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

/* Ensure the container hides overflow */
.overflow-hidden {
    overflow: hidden !important;
}



/* Hover effects */
.hover-lift {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.1);
}

/* Card hover effects */
.event-card:hover,
.news-card:hover,
.resource-card:hover,
.committee-card:hover,
.board-card:hover {
  transform: translateY(-4px);
  transition: all 0.3s ease;
}

/* Glass morphism for navigation */
.glass-nav {
  background: rgba(255, 255, 255, 0.8);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}