/* Custom styles and overrides */

/* Base animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 0.8s ease-out forwards;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #cbd5e0;
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: #a0aec0;
}

/* Smooth anchor scrolling */
html {
    scroll-behavior: smooth;
}

.work-item{
  border-radius: 12px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  height: 260px;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.work-item:hover{
  transform: scale(1.02);
}

@keyframes logo-scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

.animate-logo-scroll {
  animation: logo-scroll 20s linear infinite;
  width: max-content;
}

.logo-item {
  height: 60px;
  object-fit: contain;
  margin: auto;
}

@keyframes scrollUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

.animate-logo-up {
  animation: scrollUp 12s linear infinite;
}

.animate-logo-down {
  animation: scrollDown 12s linear infinite;
}