@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700&display=swap');

/* Color Transition Frame */
.color-transition {
  transition: background-color 0.8s cubic-bezier(0.4, 0, 0.2, 1), color 0.5s ease;
}

/* Scrollbar layout */
::-webkit-scrollbar {
  width: 8px;
}
::-webkit-scrollbar-track {
  background: #090d16;
}
::-webkit-scrollbar-thumb {
  background: #1e293b;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #334155;
}

/* Scroll Animation classes */
.reveal-item {
  opacity: 0;
  transform: translateY(35px);
  transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}
.reveal-item.active {
  opacity: 1;
  transform: translateY(0);
}

/* Custom premium glow card styling */
.premium-card {
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.1), 
              border-color 0.3s ease, 
              box-shadow 0.4s ease;
}

.premium-card:hover {
  transform: translateY(-8px) scale(1.02);
  background-color: rgba(185, 204, 247, 0.735);
  box-shadow: 0 15px 30px var(--glow-color, rgba(34, 211, 238, 0.15));
}

/* Infinite Marquee */
.animate-marquee {
  display: flex;
  animation: marquee 30s linear infinite;
}

p {
    text-align: justify;
}

@keyframes marquee {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

@keyframes float {
  0%, 100% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-12px) rotate(1deg); }
}

.animate-float {
  animation: float 6s ease-in-out infinite;
}