/* ABOUT US */

.section-about-us-1 {
  background-image: url('images/bg-about.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  align-items: center;
  h1 {
    font-family: 'Dela Gothic One';
    font-size: 48px;
    text-align: center;
    line-height: 1;
    margin-top: clamp(200px, calc(10vw + 200px), 800px);
    color: white;
  }
}

.child.section-about-us-2,
.child.section-about-us-3,
.child.section-about-us-4,
.child.section-about-us-5 {
  min-height: auto;
  height: fit-content;
}

/* Line scroll */
.section-about-line {
  width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  /* touch-action: pan-x; */
  padding: 100px 0;
  /* scroll-behavior: smooth; */
  position: relative;
  padding: 170px 80px;
  background: linear-gradient(180deg, rgba(31, 48, 48, 0) 0%, #131313 100%),
    linear-gradient(0deg, rgba(31, 48, 48, 0) 0%, #131313 100%), url('images/bg-roadmap.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: luminosity;
}

.horizontal-scroll-wrapper {
  display: flex;
  position: relative;
  min-width: 3000px;
  height: 300px;
  /* overflow: hidden; */
}

.roadmap-svg {
  width: 3000px;
  height: 200px;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1;
}

.line-bg {
  fill: none;
  stroke: #636363;
  stroke-width: 4;
}

.line-fill {
  fill: none;
  stroke: white !important;
  stroke-width: 4;
  stroke-dasharray: 3600;
  stroke-dashoffset: 3600;
  transition: stroke-dashoffset 0.1s linear;
}

.roadmap-svg path.line-fill {
  stroke: white !important;
}

.milestone {
  position: absolute;
  top: 0;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}

.dot-circle {
  border-radius: 50%;
  transition: background-color 0.4s ease;
}

.dot-circle.big {
  width: 20px;
  height: 20px;
  margin-top: 100px;
  background-color: #636363;
}

.dot-circle.big.active {
  background-color: white;
}

.dot-circle.small {
  width: 14px;
  height: 14px;
  margin-top: 110px;
  background-color: #636363;
}
.dot-circle.small.active {
  background-color: #fff;
}

.milestone-title {
  font-family: 'Saira';
  color: white;
  font-size: 35px;
  font-weight: 600;
  margin-top: 10px;
  white-space: nowrap;
}

.milestone-content {
  font-family: 'Saira';
  color: #636363;
  text-align: left;
  font-size: 14px;
  margin-top: 20px;
  width: 200px;
  padding-left: 15px;
  margin-left: 4px;
  border-left: dashed 0.5px #636363;
  transition: all 0.3s ease;
}

.milestone-content.active {
  color: #fff;
  border-color: #fff;
}

.section-about-us-2 {
  display: flex;
  flex-direction: column;
  margin-bottom: 80px;
  .wrap-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    .text-title {
      max-width: 40%;
      text-align: center;
    }
    .text-content {
      max-width: 45%;
      text-align: center;
      margin-bottom: 80px;
    }
  }
  .roadmap-container {
    display: flex;
    gap: 16px;
    .roadmap-item {
      display: flex;
      flex: 1;
      flex-direction: column;
      background-color: #212121;
      align-items: center;
      padding: 40px 50px;
      position: relative;
      h2 {
        font-weight: 700;
        font-size: 24px;
        line-height: 23.4px;
        color: white;
        text-align: center;
      }
      p {
        font-family: 'Saira';
        font-weight: 300;
        font-size: 20px;
        color: #ffffffa6;
        text-align: center;
        line-height: 1.5em;
      }
    }
  }
}

.section-about-us-3 {
  background: linear-gradient(180deg, rgba(31, 48, 48, 0) 0%, #131313 100%),
    linear-gradient(0deg, rgba(31, 48, 48, 0) 0%, #131313 100%), url('images/bg-roadmap.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  mix-blend-mode: luminosity;
  position: relative;
  #road-map {
    position: absolute;
    top: 50%;
  }
}

@keyframes move {
  to {
    transform: translateX(calc(-100% + 100vw));
  }
}

#sectionPin {
  height: 100vh;
  overflow: hidden;
  display: flex;
  left: 0;
}

.pin-wrap {
  height: 100vh;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  padding: 50px 10vw;
}

.section-about-us-4 {
  .wrap-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 90px;
    .text-title {
    }
    .text-content {
      text-align: center;
      max-width: 40%;
      margin-bottom: 80px;
    }
  }
  .wrap-leaders {
    display: flex;
    gap: 24px;
    margin: auto;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    .container-info {
      width: calc(25% - 24px);
      display: flex;
      min-width: 370px;
      position: relative;
      &:hover .info {
        display: block;
      }
      img {
        width: 100%;
        height: auto;
        mix-blend-mode: luminosity;
        aspect-ratio: 1 / 1;
      }
      .info {
        display: none;
        width: 100%;
        height: 100%;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        background: linear-gradient(180deg, rgba(0, 0, 0, 0.8) 0%, #000000 100%);
        color: white;
        padding: 10px;

        h3 {
          font-family: 'Saira';
          font-weight: 500;
          font-size: clamp(16px, 2.5vw, 20px);
        }
        p {
          font-family: 'Saira';
          font-weight: 300;
          font-size: clamp(14px, 2vw, 16px);
          color: #ffffffa6;
        }
      }
    }
  }
}

.section-about-us-5 {
  margin-top: 30%;
  display: flex;
  flex-direction: column;
  .text-title {
    text-align: center;
  }
  .text-content {
    text-align: center;
  }

  .partner-section {
    display: grid;
    margin-top: 80px;
    grid-template-columns:
      repeat(4, minmax(100px, 1fr))
      64px
      repeat(4, minmax(100px, 1fr));
    column-gap: 16px;

    .category {
      display: grid;
      grid-template-columns: subgrid;
      grid-template-rows: subgrid;
      grid-column: span 4;
      grid-row: span 4;
      h2 {
        grid-column: span 4;
        grid-row: span 1;
        font-weight: 600;
        font-size: 14px;
        line-height: 22.82px;
        letter-spacing: 1px;
        color: #ffffff;
        text-align: center;
        &:before {
          content: '';
          width: 1em;
          height: 1px;
          background-color: white;
          margin-right: 5px;
          margin-bottom: 5px;
          transform: rotate(-45deg);
          display: inline-block;
          transition: transform 0.3s ease-in-out;
          transition-delay: 0.1s;
        }
      }
      p {
        grid-column: span 4;
        grid-row: span 1;
        font-family: 'Saira';
        font-weight: 400;
        font-size: 15px;
        line-height: 24.45px;
        color: #ffffff;
        text-align: center;
      }
      .cards {
        display: grid;
        grid-template-columns: subgrid;
        grid-template-rows: subgrid;
        grid-column: span 4;
        grid-row: span 5;
        .wrap-type-customer,
        .wrap-strategic-partner {
          grid-template-columns: subgrid;
          grid-template-rows: auto auto 1fr;
          grid-column: span 4;
          .card {
            display: grid;
            grid-template-columns: subgrid;
            grid-template-rows: subgrid;
            grid-column: span 2;
            grid-row: span 4;
            border: 1px solid #ffffff33;
            background: #212121;
            padding: 40px;

            h3 {
              grid-column: span 2;
              font-weight: 700;
              font-size: 2em;
              line-height: 31.2px;
              letter-spacing: -0.1px;
              color: #ffffff;
              text-align: center;
              overflow: hidden;
            }
            p {
              grid-column: span 2;
            }
            img {
              grid-column: span 2;
              height: auto;
              width: 100%;
              aspect-ratio: 3/1;
              justify-self: center;
              background-color: #fff;
            }
            .btn {
              grid-column: span 2;
              width: 136px;
              height: 46px;
              justify-self: center;
            }
          }
          a {
            grid-column: span 2;
            justify-self: center;
          }
        }
      }
    }
    .wrap-strategic-partner {
      display: grid;
    }
    .wrap-type-customer {
      display: none;
    }

    .dots-customer {
      margin: auto;

      grid-column: span 4;
    }

    .dot-customer {
      width: 8px;
      height: 8px;
      margin: 20px 8px 0 0;
      background-color: #ffffff33;
      display: inline-block;
      border-radius: 50%;
      cursor: pointer;
    }

    .dot-customer.active {
      background-color: white;
    }
  }
}

.section-about-us-6 {
  background-image: url('images/bg-about-end.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

@media screen and (max-width: 1600px) {
  .section-about-us-5 {
    .partner-section {
      display: flex;
      flex-direction: column;
      .category {
        gap: 10px;
      }
    }
  }
}

@media screen and (max-width: 1024px) {
  .section-about-line {
    overflow-x: auto;
  }
  .line-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.2);
    stroke-width: 4;
  }

  .horizontal-scroll-wrapper {
    /* scroll-behavior: smooth; */
  }

  .line-fill {
    fill: none;
    stroke: white !important;
    stroke-width: 4;
    stroke-dasharray: 3600;
    stroke-dashoffset: 3600;
    transition: stroke-dashoffset 0.1s linear;
  }

  .section-about-us-2 {
    .wrap-text {
      .text-title {
        max-width: 100%;
      }
      .text-content {
        max-width: 80%;
      }
    }
  }
  .section-about-us-4 {
    .wrap-text {
      .text-content {
        max-width: 80%;
      }
    }
    .wrap-leaders {
      flex-direction: column;
      .container-info {
        max-width: 80vw;
      }
    }
  }
}

@media screen and (max-width: 640px) {
  .section-about-us-1 {
    justify-content: center;
    h1 {
      margin-top: 0;
      font-size: 2em;
    }
    .text-content {
      text-align: center;
    }
  }
  .section-about-us-2 {
    .wrap-text {
      .text-content {
        max-width: 100%;
      }
    }
    .roadmap-container {
      flex-direction: column;
      gap: 30px;
    }
  }
  .section-about-us-4 {
    .wrap-leaders {
      .container-info {
        min-width: auto;
        width: 100%;
        .info {
        }
      }
    }
  }
  .section-about-us-5 {
    .partner-section {
      .category {
        .cards {
          display: flex;
          flex-direction: column;
          .wrap-strategic-partner,
          .wrap-type-customer {
            row-gap: 10px;
          }
        }
      }
    }
  }
}
