.brands_showcase {
  position: relative;
  padding: 70px 0;
  background: linear-gradient(135deg, #0a0a1a 0%, #111133 40%, #0d0d2b 70%, #0a0a1a 100%);
  overflow: hidden;
}
@media (max-width: 991px) {
  .brands_showcase {
    padding: 50px 0;
  }
}
@media (max-width: 575px) {
  .brands_showcase {
    padding: 40px 0;
  }
}
.brands_showcase::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(ellipse at 20% 50%, rgba(245,110,44,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 80% 50%, rgba(99,102,241,0.06) 0%, transparent 50%),
              radial-gradient(ellipse at 50% 0%, rgba(247,167,98,0.04) 0%, transparent 40%);
  animation: bgShift 12s ease-in-out infinite alternate;
  pointer-events: none;
}
@keyframes bgShift {
  0% { transform: translate(0, 0) scale(1); }
  100% { transform: translate(-3%, 2%) scale(1.05); }
}
.brands_showcase .brands_heading {
  text-align: center;
  margin-bottom: 48px;
  position: relative;
  z-index: 2;
}
.brands_showcase .brands_badge {
  display: inline-block;
  padding: 6px 20px;
  border-radius: 50px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #f56e2c;
  border: 1px solid rgba(245,110,44,0.3);
  background: rgba(245,110,44,0.08);
  margin-bottom: 16px;
}
.brands_showcase .brands_title {
  font-size: 38px;
  font-weight: 700;
  margin: 0 0 12px;
  text-align: center;
  background: linear-gradient(135deg, #ffffff 0%, #f56e2c 50%, #F7A762 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: shimmerText 4s ease-in-out infinite alternate;
}
@keyframes shimmerText {
  0% { background-position: 0% center; }
  100% { background-position: 200% center; }
}
.brands_showcase .brands_subtitle {
  font-size: 16px;
  color: rgba(255,255,255,0.5);
  margin: 0;
}
.brands_marquee_wrap {
  position: relative;
  z-index: 2;
}
.brands_marquee_wrap::before,
.brands_marquee_wrap::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 120px;
  z-index: 10;
  pointer-events: none;
}
.brands_marquee_wrap::before {
  left: 0;
  background: linear-gradient(90deg, #0a0a1a 0%, transparent 100%);
}
.brands_marquee_wrap::after {
  right: 0;
  background: linear-gradient(270deg, #0a0a1a 0%, transparent 100%);
}
.brands_marquee_row {
  display: flex;
  margin-bottom: 0;
  padding: 12px 0;
  overflow: hidden;
}
.brands_marquee_row:last-child { margin-bottom: 0; }
.brands_marquee_track {
  display: flex;
  gap: 20px;
  padding: 0 10px;
  will-change: transform;
}
.brands_marquee_track.scroll_left {
  animation: marqueeLeft 35s linear infinite;
}
.brands_marquee_track.scroll_right {
  animation: marqueeRight 35s linear infinite;
}
@keyframes marqueeLeft {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes marqueeRight {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.brands_marquee_row:hover .brands_marquee_track {
  animation-play-state: paused;
}
.brand_card {
  flex: 0 0 auto;
  width: 180px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 20px;
  border-radius: 14px;
  background: linear-gradient(145deg, #ffffff 0%, #f4f4fa 100%);
  border: 1px solid rgba(255,255,255,0.6);
  box-shadow: 0 4px 18px rgba(0,0,0,0.25), inset 0 1px 0 rgba(255,255,255,0.8);
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  cursor: default;
  position: relative;
}
.brand_card::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245,110,44,0.08) 0%, rgba(247,167,98,0.05) 100%);
  opacity: 0;
  transition: opacity 0.4s ease;
}
.brand_card:hover {
  border-color: rgba(245,110,44,0.6);
  background: linear-gradient(145deg, #ffffff 0%, #fff6f0 100%);
  transform: scale(1.06);
  box-shadow: 0 12px 40px rgba(245,110,44,0.35), 0 0 60px rgba(245,110,44,0.12);
}
.brand_card:hover::before {
  opacity: 1;
}
.brand_card img {
  max-width: 120px;
  max-height: 60px;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(1);
  opacity: 0.95;
  transition: all 0.4s ease;
  position: relative;
  z-index: 1;
}
.brand_card:hover img {
  filter: brightness(1.05) drop-shadow(0 2px 4px rgba(245,110,44,0.15));
  opacity: 1;
}
@media (max-width: 768px) {
  .brands_showcase .brands_heading { padding: 0 20px; }
  .brands_showcase .brands_title { font-size: 26px; }
  .brands_showcase .brands_subtitle { font-size: 14px; }
  .brands_marquee_wrap::before,
  .brands_marquee_wrap::after { width: 40px; }
  .brand_card { width: 140px; height: 80px; padding: 12px 16px; }
  .brand_card img { max-width: 90px; max-height: 45px; }
}
