/* ============================================================
   SUMERU IT SOLUTIONS — BRANDS PAGE STYLESHEET
   brands.css — linked only on brands.html
   ============================================================ */

/* ── HERO ── */
.brands-hero {
  position: relative;
  min-height: 340px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: #0a0a0f;
}
.brands-hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 30% 50%, rgba(139,34,34,0.35) 0%, transparent 60%),
    radial-gradient(ellipse at 75% 30%, rgba(0,180,160,0.18) 0%, transparent 55%),
    linear-gradient(135deg, #0a0a0f 0%, #12121a 100%);
}
.brands-hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: gridDrift 20s linear infinite;
}
@keyframes gridDrift {
  0%   { background-position: 0 0, 0 0; }
  100% { background-position: 60px 60px, 60px 60px; }
}
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  animation: orbFloat 8s ease-in-out infinite alternate;
}
.orb-1 { width:300px; height:300px; background:rgba(139,34,34,0.25); top:-80px; left:-60px; animation-delay:0s; }
.orb-2 { width:200px; height:200px; background:rgba(0,180,160,0.2); bottom:-40px; right:10%; animation-delay:-3s; }
.orb-3 { width:150px; height:150px; background:rgba(255,193,7,0.1); top:30%; right:25%; animation-delay:-6s; }
@keyframes orbFloat {
  from { transform: translateY(0) scale(1); }
  to   { transform: translateY(-30px) scale(1.1); }
}
.brands-hero-content {
  position: relative; z-index: 2;
  text-align: center;
  padding: 40px 20px;
}
.brands-hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(139,34,34,0.15);
  border: 1px solid rgba(139,34,34,0.4);
  border-radius: 50px;
  padding: 6px 18px;
  font-family: var(--font-sub);
  font-size: 12px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: #e07070;
  margin-bottom: 20px;
  animation: fadeDown 0.7s ease both;
}
.brands-hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  border-radius: 50%;
  background: #e07070;
  box-shadow: 0 0 8px #e07070;
  animation: blink 1.5s ease infinite;
}
@keyframes blink {
  0%,100% { opacity:1; transform:scale(1); }
  50%      { opacity:0.4; transform:scale(1.6); }
}
.brands-hero-content h1 {
  font-family: var(--font-title);
  font-size: clamp(36px, 6vw, 72px);
  font-weight: 900;
  color: #fff;
  line-height: 1.05;
  letter-spacing: -1px;
  margin: 0 0 16px;
  animation: fadeDown 0.8s 0.1s ease both;
}
.brands-hero-content h1 span {
  background: linear-gradient(135deg, #ff6b6b, #8b2222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brands-hero-content p {
  font-family: var(--font-sub);
  font-size: 16px;
  color: rgba(255,255,255,0.55);
  margin: 0 0 24px;
  animation: fadeDown 0.9s 0.2s ease both;
}
.brands-hero-breadcrumb {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sub);
  font-size: 13px;
  color: rgba(255,255,255,0.35);
  animation: fadeDown 1s 0.3s ease both;
}
.brands-hero-breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.brands-hero-breadcrumb a:hover { color: #e07070; }
@keyframes fadeDown {
  from { opacity:0; transform:translateY(-20px); }
  to   { opacity:1; transform:translateY(0); }
}

/* ── SCROLL SECTION ── */
.brands-scroll-sec {
  background: #ffffff;
  padding: 80px 0 90px;
  overflow: hidden;
}

/* Fix heading visibility on white background sections */
.brands-scroll-sec .section-title,
.brands-why-sec .section-title {
  color: #111111;
}
.brands-scroll-sec .section-title span,
.brands-why-sec .section-title span {
  background: linear-gradient(135deg, #ff6b6b, #8b2222);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.brands-scroll-sec .section-label,
.brands-why-sec .section-label {
  color: var(--brand-red, #8b2222);
}
.brands-scroll-header {
  text-align: center;
  padding: 0 20px;
  margin-bottom: 64px;
}
.brands-scroll-header .section-title {
  font-size: clamp(32px, 5vw, 56px);
}
.brands-scroll-header .section-label { justify-content: center; }
.brands-scroll-header p {
  font-family: var(--font-sub);
  font-size: 15px;
  color: var(--light-muted);
  max-width: 560px;
  margin: 12px auto 0;
}

/* ── CATEGORY BLOCK ── */
.brand-scroll-block { margin-bottom: 56px; }
.brand-scroll-block:last-child { margin-bottom: 0; }

.brand-scroll-label {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 0 60px;
  margin-bottom: 22px;
}
.bsl-icon {
  width: 52px; height: 52px;
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
  background: rgba(139,34,34,0.08);
  border: 1px solid rgba(139,34,34,0.2);
}
.bsl-title {
  font-family: var(--font-title);
  font-size: 18px;
  font-weight: 800;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--brand-red);
  white-space: nowrap;
}
.bsl-line {
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, rgba(181,10,28,0.3), transparent);
}
.bsl-count {
  font-family: var(--font-sub);
  font-size: 12px;
  color: rgba(0,0,0,0.28);
  letter-spacing: 1px;
}

/* ── MARQUEE ── */
.marquee-wrap {
  overflow: hidden;
  position: relative;
  mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  -webkit-mask-image: linear-gradient(to right, transparent 0%, black 7%, black 93%, transparent 100%);
  padding: 12px 0;
}
.marquee-track {
  display: flex;
  gap: 28px;
  width: max-content;
  will-change: transform;
}
.marquee-track.scroll-right { animation: scrollRight 30s linear infinite; }
.marquee-track.scroll-left  { animation: scrollLeft  34s linear infinite; }

@keyframes scrollRight {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
@keyframes scrollLeft {
  0%   { transform: translateX(-50%); }
  100% { transform: translateX(0); }
}
.marquee-wrap:hover .marquee-track { animation-play-state: paused; }

/* ── LOGO PILL — no background, larger, clean ── */
.logo-pill {
  flex-shrink: 0;
  /* NO background, NO border, NO shadow — clean transparent display */
  background: transparent;
  border: none;
  box-shadow: none;
  width: 200px;
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 8px 16px;
  position: relative;
  transition: transform 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}
/* subtle bottom accent line on hover instead of card bg */
.logo-pill::after {
  content: '';
  position: absolute;
  bottom: 0; left: 20%; right: 20%;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), transparent);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.35s ease;
}
.logo-pill:hover { transform: translateY(-6px) scale(1.08); }
.logo-pill:hover::after { transform: scaleX(1); }

.logo-pill img {
  /* Larger, full-colour, no grayscale, no shrinking */
  max-width: 170px;
  max-height: 90px;
  width: auto;
  height: auto;
  object-fit: contain;
  /* mix-blend-mode: multiply removes checkered PNG transparency on light backgrounds */
  mix-blend-mode: multiply;
  filter: none;
  transition: transform 0.35s ease;
  display: block;
}
.logo-pill:hover img { transform: scale(1.06); }

/* ── STATS STRIP ── */
.brands-stats-strip {
  background: linear-gradient(135deg, #0a0a0f 0%, #1a0a0a 100%);
  padding: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.brands-stats-strip::before {
  content: '';
  position: absolute; inset: 0;
  background-image: radial-gradient(rgba(139,34,34,0.1) 1px, transparent 1px);
  background-size: 30px 30px;
}
.stat-item {
  flex: 1;
  text-align: center;
  padding: 0 40px;
  position: relative;
  z-index: 1;
}
.stat-item + .stat-item::before {
  content: '';
  position: absolute; left: 0; top: 10%; bottom: 10%;
  width: 1px;
  background: rgba(255,255,255,0.1);
}
.stat-num {
  font-family: var(--font-title);
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 900;
  background: linear-gradient(135deg, #ff6b6b, #ffb347);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-lbl {
  font-family: var(--font-sub);
  font-size: 13px;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: rgba(255,255,255,0.45);
}

/* ── WHY SECTION ── */
.brands-why-sec {
  background: #ffffff;
  padding: 80px 60px;
}
.brands-why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  max-width: 1100px;
  margin: 48px auto 0;
}
.why-card {
  background: #f8f9fc;
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 20px;
  padding: 32px 24px;
  text-align: center;
  transition: transform 0.4s cubic-bezier(0.34,1.56,0.64,1), box-shadow 0.4s ease;
  position: relative;
  overflow: hidden;
}
.why-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-red), #ff6b6b);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s ease;
}
.why-card:hover { transform: translateY(-8px); box-shadow: 0 20px 50px rgba(139,34,34,0.12); }
.why-card:hover::before { transform: scaleX(1); }
.why-icon { font-size: 36px; margin-bottom: 16px; display: block; }
.why-card h3 { font-family: var(--font-title); font-size: 16px; font-weight: 700; color: var(--light-text); margin-bottom: 8px; }
.why-card p  { font-family: var(--font-sub); font-size: 13px; color: var(--light-muted); line-height: 1.6; margin: 0; }

/* ── SCROLL REVEAL ── */
.sr { opacity: 0; transform: translateY(40px); transition: opacity 0.7s ease, transform 0.7s ease; }
.sr.visible { opacity: 1; transform: translateY(0); }
.sr-d1 { transition-delay: 0.1s; }
.sr-d2 { transition-delay: 0.2s; }
.sr-d3 { transition-delay: 0.3s; }
.sr-d4 { transition-delay: 0.4s; }

/* ── RESPONSIVE ── */
@media (max-width: 1024px) {
  .brand-scroll-label { padding: 0 30px; }
}
@media (max-width: 900px) {
  .brand-scroll-label { padding: 0 20px; }
  .brands-stats-strip { flex-wrap: wrap; padding: 40px 20px; gap: 30px; }
  .stat-item { flex: 1 1 45%; min-width: 120px; }
  .stat-item + .stat-item::before { display: none; }
  .brands-why-grid { grid-template-columns: repeat(2, 1fr); }
  .brands-why-sec { padding: 50px 20px; }
  .logo-pill { width: 160px; height: 90px; }
  .logo-pill img { max-width: 140px; max-height: 75px; }
}
@media (max-width: 540px) {
  .brands-scroll-sec { padding: 50px 0 60px; }
  .brands-scroll-header { margin-bottom: 40px; }
  .brands-why-grid { grid-template-columns: 1fr; }
  .logo-pill { width: 130px; height: 76px; }
  .logo-pill img { max-width: 110px; max-height: 60px; }
  .brands-stats-strip { padding: 36px 16px; }
}
