/* Trusted Brands Marquee — pixel match from index.html */
.ipc-brands-widget {
  --page-max: 1400px;
  --page-gutter: clamp(24px, 3.5vw, 40px);
  --teal: #0090DC;
  --navy: #0A2E4F;
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}
.ipc-brands-widget *,
.ipc-brands-widget *::before,
.ipc-brands-widget *::after {
  box-sizing: border-box;
}
.elementor-widget-ipc-brands-marquee,
.elementor-widget-ipc-brands-marquee > .elementor-widget-container {
  width: 100% !important;
  max-width: none !important;
}

.ipc-brands-widget .brands-carousel {
  position: relative;
  padding: 72px 0 56px;
  background: #ffffff;
  overflow: hidden;
}
.ipc-brands-widget .section-container {
  max-width: var(--page-max);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  padding-left: var(--page-gutter);
  padding-right: var(--page-gutter);
  box-sizing: border-box;
}
.ipc-brands-widget .brands-carousel .bc-head {
  text-align: center;
  margin: 0 auto 40px;
  max-width: 720px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ipc-brands-widget .brands-carousel .bc-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal, #0090DC);
  margin: 0 0 16px;
  line-height: 1.2;
}
.ipc-brands-widget .brands-carousel .bc-title {
  font-family: 'Montserrat', 'Segoe UI', Arial, sans-serif;
  font-size: clamp(26px, 2.4vw + 1rem, 48px);
  font-weight: 800;
  color: var(--navy, #0A2E4F);
  line-height: 1.12;
  letter-spacing: -0.02em;
  margin: 0 0 16px;
  text-wrap: balance;
}
.ipc-brands-widget .brands-carousel .bc-sub {
  font-size: clamp(14px, 0.4vw + 0.8rem, 17px);
  font-weight: 400;
  color: #6B7C8C;
  line-height: 1.7;
  margin: 0;
  max-width: 34em;
}
.ipc-brands-widget .brands-carousel .bc-stage {
  position: relative;
  margin: 0 auto;
  padding: 8px 0;
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) 52px;
  align-items: center;
  column-gap: 16px;
}
.ipc-brands-widget .brands-carousel .bc-viewport {
  overflow: hidden;
  mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 7%, #000 93%, transparent);
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
}
.ipc-brands-widget .brands-carousel .bc-track {
  display: flex;
  align-items: center;
  width: max-content;
  animation: ipc-bc-scroll 70s linear infinite;
  will-change: transform;
}
.ipc-brands-widget .brands-carousel .bc-item {
  flex: 0 0 auto;
  width: 188px;
  height: 110px;
  margin-right: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease;
}
.ipc-brands-widget .brands-carousel .bc-item:hover {
  transform: translateY(-2px) scale(1.04);
}
.ipc-brands-widget .brands-carousel .bc-item img {
  max-width: 168px;
  max-height: 78px;
  width: auto;
  height: auto;
  object-fit: contain;
  object-position: center;
  display: block;
}
.ipc-brands-widget .brands-carousel .bc-item--lg {
  width: 282px;
  height: 165px;
}
.ipc-brands-widget .brands-carousel .bc-item--lg img.brand-logo--lg {
  max-width: 252px;
  max-height: 117px;
}
.ipc-brands-widget .brands-carousel .bc-arrow {
  position: relative;
  top: auto;
  left: auto;
  right: auto;
  transform: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #e7ecf0;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(15, 25, 40, 0.07);
  z-index: 3;
  color: #0b1320;
  font-size: 18px;
  transition: background 0.15s, color 0.15s, transform 0.15s, border-color 0.15s;
  justify-self: center;
  padding: 0;
  margin: 0;
  appearance: none;
  -webkit-appearance: none;
}
.ipc-brands-widget .brands-carousel .bc-arrow:hover {
  background: var(--navy, #0A2E4F);
  border-color: var(--navy, #0A2E4F);
  color: #fff;
  transform: scale(1.04);
}
.ipc-brands-widget .brands-carousel .bc-arrow.left {
  grid-column: 1;
  grid-row: 1;
}
.ipc-brands-widget .brands-carousel .bc-arrow.right {
  grid-column: 3;
  grid-row: 1;
}
.ipc-brands-widget .brands-carousel .bc-arrow svg {
  width: 16px;
  height: 16px;
  display: block;
  pointer-events: none;
}

@keyframes ipc-bc-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (max-width: 1024px) {
  .ipc-brands-widget .brands-carousel { padding: 56px 0 48px; }
  .ipc-brands-widget .brands-carousel .bc-item { width: 168px; height: 100px; margin-right: 40px; }
  .ipc-brands-widget .brands-carousel .bc-item img { max-width: 148px; max-height: 70px; }
  .ipc-brands-widget .brands-carousel .bc-item--lg { width: 252px; height: 150px; }
  .ipc-brands-widget .brands-carousel .bc-item--lg img.brand-logo--lg { max-width: 222px; max-height: 105px; }
}

@media (max-width: 768px) {
  .ipc-brands-widget .brands-carousel { padding: 44px 0; }
  .ipc-brands-widget .brands-carousel .bc-head { margin-bottom: 28px; }
  .ipc-brands-widget .brands-carousel .bc-eyebrow { margin-bottom: 12px; }
  .ipc-brands-widget .brands-carousel .bc-title { margin-bottom: 12px; }
  .ipc-brands-widget .brands-carousel .bc-sub { max-width: 34em; margin-left: auto; margin-right: auto; }
  .ipc-brands-widget .brands-carousel .bc-stage { padding: 12px 0; grid-template-columns: 1fr; }
  .ipc-brands-widget .brands-carousel .bc-arrow { display: none; }
  .ipc-brands-widget .brands-carousel .bc-viewport {
    grid-column: 1;
    mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 2%, #000 98%, transparent);
  }
  .ipc-brands-widget .brands-carousel .bc-item {
    width: 104px;
    height: 76px;
    margin-right: 32px;
  }
  .ipc-brands-widget .brands-carousel .bc-item img {
    max-width: 88px;
    max-height: 52px;
    object-fit: contain;
  }
  .ipc-brands-widget .brands-carousel .bc-item--lg { width: 156px; height: 114px; }
  .ipc-brands-widget .brands-carousel .bc-item--lg img.brand-logo--lg { max-width: 132px; max-height: 78px; }
  .ipc-brands-widget .brands-carousel .bc-track { animation-duration: 48s; }
}

@media (max-width: 480px) {
  .ipc-brands-widget .brands-carousel { padding: 36px 0; }
  .ipc-brands-widget .brands-carousel .bc-item { width: 92px; height: 68px; margin-right: 26px; }
  .ipc-brands-widget .brands-carousel .bc-item img { max-width: 76px; max-height: 46px; }
  .ipc-brands-widget .brands-carousel .bc-item--lg { width: 138px; height: 102px; }
  .ipc-brands-widget .brands-carousel .bc-item--lg img.brand-logo--lg { max-width: 114px; max-height: 69px; }
}

/* Beat Elementor button kit on arrows */
.elementor .ipc-brands-widget button.bc-arrow {
  background: #fff !important;
  background-color: #fff !important;
  color: #0b1320 !important;
  border: 1px solid #e7ecf0 !important;
  border-radius: 50% !important;
  box-shadow: 0 6px 18px rgba(15, 25, 40, 0.07) !important;
  width: 48px !important;
  height: 48px !important;
  padding: 0 !important;
  min-height: 0 !important;
  line-height: 1 !important;
}
.elementor .ipc-brands-widget button.bc-arrow:hover,
.elementor .ipc-brands-widget button.bc-arrow:focus {
  background: #0A2E4F !important;
  background-color: #0A2E4F !important;
  border-color: #0A2E4F !important;
  color: #fff !important;
}
