.brand-section {
  padding: 64px 16px;
  text-align: center;
}

.brand-title {
  font-size: 40px;
  line-height: 30px;
  width: 100%;
  font-weight: 500;
  color: #000000;
  margin-bottom: 1.5rem;
}

.brand-subtitle {
  max-width: 680px;
  margin: 0 auto 40px;
  font-size: 18px;
  line-height:24px;
    font-weight: 400;
}

/* Marquee */
.marquee-container {
  position: relative;
  width: 85%;
  margin: 0 auto;
  overflow: hidden;
  background: white;
}

.marquee-mask-left,
.marquee-mask-right {
  position: absolute;
  top: 0;
  height: 100%;
  width: 128px;
  z-index: 2;
  pointer-events: none;
}

.marquee-mask-left {
  left: 0;
  background: linear-gradient(to right, #fff 40%, transparent);
}

.marquee-mask-right {
  right: 0;
  background: linear-gradient(to left, #fff 40%, transparent);
}

.marquee-track {
  display: flex;
  width: fit-content;
  flex-wrap: nowrap;
  will-change: transform;
}

.logo-slide {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 100px;
  padding: 48px 64px;
}
.logo-slide2 {
  display: flex;
  align-items: center;
  flex-shrink: 0;
  gap: 100px;
  padding: 48px 64px;
}

.logo-wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 40px; /* same visual box for all logos */
  min-width: 120px; /* consistent spacing */
}

.logo-wrapper img {
  max-height: 42px; /* keeps logos aligned */
  max-width: 100px; /* prevents wide logos from dominating */
  width: auto;
  height: auto;
  object-fit: contain; /* IMPORTANT */
  filter: brightness(0) saturate(100%) invert(40%);
  transition: filter 0.3s ease;
}

.logo-wrapper img:hover {
  opacity: 1;
  filter: brightness(0) saturate(100%) invert(10%);
}

/* Mobile */
@media (max-width: 760px) {
  .marquee-container {
    width: 100%;
  }
  .brand-title {
    font-size: 30px;
    width: 100%;
    text-align: center !important;
    font-weight: 500;
  }

  .brand-subtitle {
    font-size: 16px;
    line-height: 20px;
    color: #777777;
  }

  .logo-slide {
    gap: 40px;
    padding: 24px 32px;
  }
  .logo-slide2 {
    gap: 40px;
    padding: 24px 32px;
  }

  .logo-wrapper img {
    min-height: 28px;
  }

  .marquee-mask-left,
  .marquee-mask-right {
    width: 64px;
  }
}
