/* ===========================
   Header Wrapper
=========================== */

.bbt-header {
  width: 100%;
  background: #ffffff;
  border-bottom: 1px solid #e5e7eb;
  position: relative;
  z-index: 20;
}

/* ===========================
   Brand Marquee
=========================== */

.brand-marquee {
  background: #f8fafc;
  border-bottom: 1px solid #e5e7eb;
  overflow: hidden;
  white-space: nowrap;
}

.marquee-track {
  display: flex;
  gap: 32px;
  padding: 8px 0;
  justify-content: center; /* NEW — centers logos when NOT scrolling */
}

.marquee-track.marquee-animate {
  justify-content: flex-start; /* override centering when animated */
  animation: marquee 25s linear infinite;
}


/* Only animate when this class is added */
.marquee-track.marquee-animate {
  animation: marquee 25s linear infinite;
}

.brand-marquee img {
  height: 35px;
  max-width: 90px;
  width: auto;
  object-fit: contain;
}

.brand-logo {
  width: 90px;
  height: 35px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-logo img {
  max-height: 100%;
  max-width: 100%;
}

@keyframes marquee {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}


/* ===========================
   Navigation
=========================== */

.main-nav {
  background: #ffffff;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}

.bbt-logo img {
  height: 60px;
}

@media (max-width: 600px) {
  .bbt-logo img {
    height: 42px;
  }
}


.nav-links {
  list-style: none;
  display: flex;
  gap: 28px;
  margin: 0;
  padding: 0;
}

.nav-links li a {
  font-size: 15px;
  font-weight: 600;
  color: #1f2937;
  position: relative;
}

.nav-links li a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  border-radius: 999px;
  background: var(--accent);
  transition: width 0.16s ease;
}

.nav-links li a:hover::after {
  width: 100%;
}

/* Mobile toggle */

.nav-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 26px;
  cursor: pointer;
}

/* ===========================
   Mobile
=========================== */

@media (max-width: 750px) {

  .nav-inner {
    padding-top: 10px;
    padding-bottom: 10px;
  }

  .nav-links {
    position: absolute;
    right: 0;
    top: 100%;
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 18px 0 22px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-toggle {
    display: block;
  }
}
