/* Import Inter Font */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600;700;800&display=swap');

/* Logos Section Base */
.logos-section {
  background-color: #F9F9F9;
  padding: 60px 20px;
  text-align: center;
  font-family: 'Inter', sans-serif;
  position: relative;
  overflow: hidden;
}
.logos-inner {
  max-width: 1200px;
  margin: 0 auto;
}
.logos-title {
  font-size: 2.5rem;
  font-weight: 800;
  color: #231F20;
  margin-bottom: 16px;
}
.logos-subtitle {
  font-size: 1.2rem;
  color: #666666;
  margin-bottom: 40px;
  font-weight: 400;
}

/* Carousel Viewport & Track */
.logos-carousel {
  overflow: hidden;
  width: 100%;
}
.logos-track {
  display: flex;
  gap: 30px;
  animation: slideLogos 20s linear infinite;
  width: max-content;
}
.logos-track:hover {
  animation-play-state: paused;
}

/* Logo Card Boxes */
.logo-item {
  flex: 0 0 auto;
  width: 180px;
  background: #FFFFFF;
  border: 1px solid #E3E3E3;
  border-radius: 20px;
  padding: 40px 20px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  text-align: center;
}
.logo-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 30px rgba(0,0,0,0.1);
}
.logo-item img {
  max-height: 60px;
  width: auto;
  margin: 0 auto 12px;
}
.logo-name {
  font-size: 1rem;
  font-weight: 600;
  color: #231F20;
  margin: 0;
}

/* Slide Animation */
@keyframes slideLogos {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

/* Decorative Gradients */
.logos-section::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background:
    radial-gradient(circle at 10% 30%, rgba(255,102,102,0.05) 0%, transparent 50%),
    radial-gradient(circle at 90% 70%, rgba(35,31,32,0.05) 0%, transparent 50%);
  pointer-events: none;
}

/* Responsive */
@media (max-width: 768px) {
  .logos-title    { font-size: 2rem; }
  .logos-subtitle { font-size: 1rem; }
  .logo-item {
    width: 140px;
    padding: 30px 15px;
  }
  .logos-track {
    gap: 20px;
    animation-duration: 25s;
  }
}