/* ===== BRANDS SECTION ===== */
.brands-section {
  position: relative;
  padding: 120px 20px;
  background:
    radial-gradient(circle at 20% 10%, rgba(209, 0, 28, 0.08), transparent 40%),
    radial-gradient(circle at 80% 80%, rgba(10, 31, 68, 0.08), transparent 40%), #ffffff;
  overflow: hidden;
}
/* GLOW EFFECT*/
.brands-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(209, 0, 28, 0.18), transparent 70%);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  filter: blur(120px);
  animation: floatGlow 8s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes floatGlow {
  from {
    transform: translate(-50%, -50%) scale(1);
  }
  to {
    transform: translate(-45%, -55%) scale(1.1);
  }
}
/* TITLE */
.section-title {
  font-size: clamp(34px, 4vw, 56px);
  font-weight: 900;
  color: #0a1f44;
  letter-spacing: -1px;
  margin-bottom: 10px;
}

.section-subtitle {
  max-width: 600px;
  margin: 0 auto 60px;
  color: #666;
  font-size: 15px;
  line-height: 1.6;
}
/* CONTENT */
.brands-section .container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  text-align: center;
}

/* SUBTITLE */
.section-subtitle {
  color: #555;
  margin-bottom: 50px;
  font-size: 15px;
}

/* GRID */
.brands-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 18px;
  position: relative;
  z-index: 2;
}

/* CARD*/
.brand-card {
  position: relative;
  height: 110px;
  border-radius: 18px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: rgba(255, 255, 255, 0.6);
  backdrop-filter: blur(12px);

  border: 1px solid rgba(0, 0, 0, 0.05);

  transform: translateY(30px);
  opacity: 0;

  transition: all 0.4s ease;
  overflow: hidden;
}

/* reveal (scroll animation) */
.brand-card.reveal {
  opacity: 1;
  transform: translateY(0);
}

/* hover effect */
.brand-card:hover {
  transform: translateY(-8px) scale(1.03);
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.12);
}

/* IMAGE */
.brand-card img {
  width: 100%;
  transition: 0.4s ease;
}

.brand-card:hover img {
  filter: grayscale(0%) brightness(1.05);
  opacity: 1;
  transform: scale(1.08);
}

/* RESPONSIVE  */
@media (max-width: 900px) {
  .brands-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 600px) {
  .brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
  }
}
