body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

html {
  overflow-x: hidden !important;
}

/* Ensure full width black background */
.elementor-element-logo-slider {
  background-color: #000000 !important;
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  margin-right: calc(-50vw + 50%) !important;
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
}

.elementor-element-logo-slider .e-con-inner {
  background-color: #000000 !important;
  width: 100% !important;
}

/* Trusted by text styling */
.trusted-by-text {
  text-align: center !important;
  margin: 0 !important;
  width: 100% !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
}

.trusted-by-text h3 {
  font-family: "Plus Jakarta Sans", sans-serif !important;
  font-size: 48px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: center !important;
}

/* Responsive font sizes for Trusted by text */
@media screen and (max-width: 1620px) {
  .trusted-by-text h3 {
    font-size: 45px !important;
  }
}
@media screen and (max-width: 1480px) {
  .trusted-by-text h3 {
    font-size: 40px !important;
  }
}
@media screen and (max-width: 1200px) {
  .trusted-by-text h3 {
    font-size: 36px !important;
  }
}
@media screen and (max-width: 768px) {
  .trusted-by-text h3 {
    font-size: 32px !important;
  }
}

@media screen and (max-width: 480px) {
  .trusted-by-text h3 {
    font-size: 28px !important;
  }
}

@media screen and (max-width: 320px) {
  .trusted-by-text h3 {
    font-size: 24px !important;
  }
}

/* --- Infinite Carousel CSS --- */

@keyframes slide {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%); /* This makes it scroll left */
  }
}

.logos {
  display: flex !important; /* CHANGED: Use Flexbox to arrange .logos-slide children */
  overflow: hidden !important;
  padding: 30px 0 !important;
  background: transparent !important;
  /* white-space: nowrap !important; /* Not strictly needed for direct children when .logos is flex */
  position: relative !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.logos-slide {
  display: flex !important; /* ADDED: Make each slide a flex container for its images */
  align-items: center !important; /* ADDED: Vertically align images within the slide */
  flex-shrink: 0 !important; /* ADDED: Prevent slides from shrinking if .logos is flex */
  animation: 75s slide infinite linear !important;
  box-sizing: border-box !important;
}

.logos-slide img {
  display: block !important; /* Can be block if parent .logos-slide is flex and handles alignment */
  flex-shrink: 0 !important; /* ADDED: Prevent images from shrinking within the flex .logos-slide */
  height: 150px !important;
  width: auto !important;
  margin: 0 10px !important; /* This margin will apply between images */
  /* vertical-align: middle !important; /* Less critical if parent is flex with align-items: center */
  box-sizing: border-box !important;
}
@media screen and (max-width: 1200px) {
  .logos-slide img {
    height: 120px !important; /* Adjust height for smaller screens */
  }
}
@media screen and (max-width: 768px) {
  .logos-slide img {
    height: 100px !important; /* Adjust height for smaller screens */
  }
}
@media screen and (max-width: 500px) {
  .logos-slide img {
    height: 75px !important; /* Adjust height for smaller screens */
  }
}
.logos-slidee img {
  display: block !important; /* Can be block if parent .logos-slide is flex and handles alignment */
  flex-shrink: 0 !important; /* ADDED: Prevent images from shrinking within the flex .logos-slide */
  height: 100px !important;
  width: auto !important;
  margin: 0 10px !important; /* This margin will apply between images */
  /* vertical-align: middle !important; /* Less critical if parent is flex with align-items: center */
  box-sizing: border-box !important;
}
