/* =====================================================
   ibr TECHNOLOGY — LIGHT
===================================================== */

.ibr-tech {
  --tech-bg: #fff;
  --tech-surface: #fafafa;

  --tech-text: #0f172a;
  --tech-muted: #384a64;

  --tech-border: #e5eaf0;

  --tech-blue: #2f80ed;
  --tech-blue-soft: #eff6ff;

  position: relative;
  width: 100%;
  z-index: 10;
}

/* =====================================================
   CONTAINER
===================================================== */

.ibr-tech .container {
  position: relative;
  width: 80% !important;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 1.5rem;
}

.ibr-tech__container {
  width: fit-content;
  margin: 0 auto;
  display: flex;
  flex-direction: row;
  gap: 1rem;
}

.ibr-tech__container img {
  width: 25px;
  height: 25px;
}

/* =====================================================
   HEADER
===================================================== */

.ibr-tech__header {
  max-width: 700px;

  padding: 90px 0 55px;
}

.ibr-tech__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #385376be;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: -0.015em;
}

/* =====================================================
   TITLE
===================================================== */

.ibr-tech__title {
  margin: 16px 0 0;

  color: var(--tech-text);

  font-size: clamp(28px, 3.3vw, 38px);

  line-height: 1.05;

  font-weight: 600;

  letter-spacing: -0.045em;
}

.ibr-tech__title span {
  display: block;

  color: #20334f;
}

/* =====================================================
   DESCRIPTION
===================================================== */

.ibr-tech__description {
  max-width: 560px;

  margin: 18px 0 0;

  color: var(--tech-muted);

  font-size: 14px;

  line-height: 1.7;
}

/* =====================================================
   MARQUEE
===================================================== */

.ibr-tech__wrapper {
  position: relative;
  width: 100%;
  padding: 1.5rem;
  border-radius: 16px;
  background: white;
  overflow: hidden;
}

.ibr-tech__marquee {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* =====================================================
   EDGE FADE
===================================================== */

.ibr-tech__marquee::before,
.ibr-tech__marquee::after {
  content: "";

  position: absolute;

  top: 0;
  bottom: 0;

  z-index: 3;

  width: 140px;

  pointer-events: none;
}

.ibr-tech__marquee::before {
  left: 0;

  background: linear-gradient(90deg, var(--tech-bg) 0%, rgba(248, 250, 252, 0) 100%);
}

.ibr-tech__marquee::after {
  right: 0;

  background: linear-gradient(270deg, var(--tech-bg) 0%, rgba(248, 250, 252, 0) 100%);
}

/* =====================================================
   TRACK
===================================================== */

.ibr-tech__track {
  display: flex;

  width: max-content;

  will-change: transform;

  animation: ibrTechMarquee 42s linear infinite;
}

/* =====================================================
   GROUP
===================================================== */

.ibr-tech__group {
  display: flex;

  align-items: center;

  flex-shrink: 0;

  gap: 16px;

  padding-right: 16px;
}

/* =====================================================
   ITEM
===================================================== */

.ibr-tech__item {
  min-width: 180px;

  min-height: 65px;

  display: flex;

  align-items: center;

  gap: 13px;

  padding: 0 12px;

  color: #475569;

  background: rgba(255, 255, 255, 0.82);

  border: 1px solid var(--tech-border);

  border-radius: 12px;

  transition:
    background-color 0.25s ease,
    border-color 0.25s ease,
    color 0.25s ease,
    transform 0.25s ease,
    box-shadow 0.25s ease;
}


/* =====================================================
   MARK
===================================================== */

.ibr-tech__mark {
  width: 38px;
  height: 38px;

  flex-shrink: 0;

  display: grid;

  place-items: center;

  color: #2f6fc5;

  background: var(--tech-blue-soft);

  border: 1px solid rgba(47, 128, 237, 0.12);

  border-radius: 9px;

  font-size: 15px;
  font-weight: 700;

  letter-spacing: -0.03em;
}

/* =====================================================
   NAME
===================================================== */

.ibr-tech__item>span:last-child {
  color: #334155;

  font-size: 13px;

  font-weight: 500;
}

/* =====================================================
   KEYFRAME
===================================================== */

@keyframes ibrTechMarquee {
  from {
    transform: translate3d(0, 0, 0);
  }

  to {
    transform: translate3d(-50%, 0, 0);
  }
}

/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 768px) {
  .ibr-tech__header {
    padding: 70px 0 40px;
  }

  .ibr-tech__title {
    font-size: clamp(30px, 8vw, 40px);
  }

  .ibr-tech__description {
    font-size: 13px;
  }

  .ibr-tech__item {
    min-width: 160px;

    min-height: 66px;

    padding: 0 14px;
  }

  .ibr-tech__mark {
    width: 34px;
    height: 34px;

    font-size: 13px;
  }

  .ibr-tech__item>span:last-child {
    font-size: 12px;
  }

  .ibr-tech__marquee::before,
  .ibr-tech__marquee::after {
    width: 70px;
  }
}

@media (max-width: 576px) {
  .ibr-tech .container {
    width: 90% !important;
  }
}

@media (max-width: 480px) {
  .ibr-tech__header {
    padding: 55px 0 34px;
  }

  .ibr-tech__item {
    min-width: 145px;

    min-height: 60px;

    gap: 10px;
  }

  .ibr-tech__mark {
    width: 31px;
    height: 31px;

    font-size: 12px;
  }

  .ibr-tech__item>span:last-child {
    font-size: 11px;
  }
}

/* =====================================================
   REDUCED MOTION
===================================================== */

@media (prefers-reduced-motion: reduce) {
  .ibr-tech__track {
    animation: none;
  }
}