/* ===== TRUSTED CLIENTS SECTION ===== */
.trusted-clients-section {
  position: relative;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
  padding: 80px 0;
  overflow: hidden;
}

.trusted-clients-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.1) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(255, 131, 122, 0.1) 0%, transparent 50%);
  pointer-events: none;
}

.trusted-clients-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 60px;
  min-height: 400px;
}

/* ===== LOGO CAROUSEL STYLES ===== */
.logo-carousel-container {
  flex: 1;
  position: relative;
  overflow: hidden;
  mask: linear-gradient(90deg,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%);
  -webkit-mask: linear-gradient(90deg,
      transparent 0%,
      black 10%,
      black 90%,
      transparent 100%);
}

.logo-strip-wrapper {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.logo-strip {
  display: flex;
  align-items: center;
  gap: 40px;
  width: fit-content;
  position: relative;
}

.logo-strip.scroll-right {
  animation: scrollRight 30s linear infinite;
}

.logo-strip.scroll-left {
  animation: scrollLeft 35s linear infinite;
}

@keyframes scrollRight {
  0% {
    transform: translateX(-100%);
  }

  100% {
    transform: translateX(0%);
  }
}

@keyframes scrollLeft {
  0% {
    transform: translateX(0%);
  }

  100% {
    transform: translateX(-100%);
  }
}

.logo-item {
  flex-shrink: 0;
  width: 140px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: white;
  border-radius: 12px;
  box-shadow:
    0 4px 6px -1px rgba(0, 0, 0, 0.1),
    0 2px 4px -1px rgba(0, 0, 0, 0.06);
  transition: all 0.3s ease;
  border: 1px solid rgba(226, 232, 240, 0.8);
  position: relative;
  overflow: hidden;
}

.logo-item::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent,
      rgba(255, 255, 255, 0.6),
      transparent);
  transition: left 0.5s ease;
}

.logo-item:hover::before {
  left: 100%;
}

.logo-item:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  border-color: rgba(59, 130, 246, 0.3);
}

.client-logo {
  max-width: 90%;
  max-height: 60%;
  object-fit: contain;
  filter: grayscale(80%) opacity(0.8);
  transition: all 0.3s ease;
}

.logo-item:hover .client-logo {
  filter: grayscale(0%) opacity(1);
  transform: scale(1.1);
}

/* ===== CONTENT STYLES ===== */
.trusted-clients-content {
  flex: 1;
  max-width: 500px;
  position: relative;
  z-index: 3;
}

.content-wrapper {
  padding: 40px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 20px;
  box-shadow:
    0 10px 15px -3px rgba(0, 0, 0, 0.1),
    0 4px 6px -2px rgba(0, 0, 0, 0.05);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  line-height: 1.2;
  margin-bottom: 20px;
}

.highlight-text {
  background: #8d3e89;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  position: relative;
  font-size: 3rem
}

.section-description {
  font-size: 1.125rem;
  color: #4a5568;
  line-height: 1.6;
  margin-bottom: 32px;
}

.industry-highlight {
  color: #3182ce;
  font-weight: 600;
  position: relative;
}

/* .industry-highlight::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, #3182ce, #63b3ed);
  border-radius: 1px;
} */

/* ===== STATS STYLES ===== */
.stats-wrapper {
  display: flex;
  gap: 32px;
  margin-top: 32px;
}

.stat-item {
  text-align: center;
  position: relative;
}

.stat-item::after {
  content: '';
  position: absolute;
  right: -16px;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  height: 40px;
  background: linear-gradient(to bottom, transparent, #e2e8f0, transparent);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  display: block;
  font-size: 2.85rem;
  font-weight: 800;
  color: #3182ce;
  line-height: 1;
  margin-bottom: 4px;
}

.stat-number::after {
  content: '+';
  font-size: 1.5rem;
  opacity: 0.7;
}

.stat-label {
  font-size: 0.875rem;
  color: #718096;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* ===== RESPONSIVE DESIGN ===== */
@media (max-width: 1200px) {
  .trusted-clients-wrapper {
    gap: 40px;
  }

  .section-title {
    font-size: 2.2rem;
  }

  .logo-item {
    width: 120px;
    height: 70px;
  }
}

@media (max-width: 992px) {
  .trusted-clients-wrapper {
    flex-direction: column;
    gap: 50px;
    text-align: center;
  }

  .logo-carousel-container {
    order: 2;
    width: 100%;
  }

  .trusted-clients-content {
    order: 1;
    max-width: none;
  }

  .content-wrapper {
    padding: 32px;
  }

  .section-title {
    font-size: 2rem;
  }
}

@media (max-width: 768px) {
  .trusted-clients-section {
    padding: 60px 0;
  }

  .logo-strip {
    gap: 24px;
  }

  .logo-item {
    width: 100px;
    height: 60px;
  }

  .section-title {
    font-size: 1.75rem;
  }

  .section-description {
    font-size: 1rem;
  }

  .stats-wrapper {
    gap: 20px;
    justify-content: center;
  } 

  .stat-number {
    font-size: 2.5rem;
  }

  .content-wrapper {
    padding: 24px;
  }
}

@media (max-width: 576px) {
  .logo-strip {
    gap: 16px;
  }

  .logo-item {
    width: 80px;
    height: 50px;
  }

  .section-title {
    font-size: 1.5rem;
  }

  .stats-wrapper {
    flex-direction: column;
    gap: 16px;
  }

  .stat-item::after {
    display: none;
  }
}

/* ===== ACCESSIBILITY ===== */
@media (prefers-reduced-motion: reduce) {
  .logo-strip {
    animation: none;
  }

  .logo-item {
    transition: none;
  }

  .client-logo {
    transition: none;
  }
}

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
.logo-strip {
  will-change: transform;
}

.logo-item {
  will-change: transform;
  contain: layout style paint;
}

.client-logo {
  will-change: filter, transform;
}