/* Customer Logos Marquee Animation */
.customer-marquee {
  position: relative;
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  /* Counteract Elementor column padding to remove indentation */
  margin-left: -10px;
  margin-right: -10px;
  /* Mask gradient for fade effect */
  -webkit-mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
  mask-image: linear-gradient(to right, transparent, #000 10%, #000 90%, transparent);
}

.marquee-content {
  display: flex;
  animation: marquee 20s linear infinite;
  gap: 2rem;
  align-items: center;
  width: 300%;
}

.marquee-content img {
  height: 48px !important;
  width: auto !important;
  object-fit: contain;
  filter: grayscale(100%) opacity(0.3) brightness(0.7);
  transition: filter 0.3s ease;
  flex-shrink: 0;
}

.marquee-content img:hover {
  filter: grayscale(0%) opacity(1) brightness(1);
}

/* Remove dark theme support since it's not needed */

/* Marquee animation - seamless loop */
@keyframes marquee {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-33.333%);
  }
}

/* Only target the specific text above marquee */
.elementor-element-2977297 {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-element-2977297 .elementor-widget-container {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

.elementor-element-2977297 p.p1 {
  color: #444 !important;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
  font-size: 14px !important;
  font-weight: 400 !important;
  line-height: 1.2 !important;
  margin-bottom: 0.5rem !important;
  padding-bottom: 0 !important;
}

.elementor-element-2977297 span[data-preserver-spaces="true"] {
  color: #555770B3 !important;
  line-height: 1.4 !important;
}

/* Pause animation on hover */
.customer-marquee:hover .marquee-content {
  animation-play-state: paused;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .customer-marquee {
    max-width: 100%;
    margin-left: -5px;
    margin-right: -5px;
  }
  
  .marquee-content {
    gap: 1.5rem;
  }
  
  .marquee-content img {
    height: 36px !important;
  }
}

@media (max-width: 480px) {
  .marquee-content {
    gap: 1rem;
  }
  
  .marquee-content img {
    height: 32px !important;
  }
}