#about {
  height: fit-content;
  width: 100%;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
  margin-top: -50px;
  padding-bottom: 100px;
  position: relative;
  z-index: 3;
  background-color: hsla(269, 98%, 66%, 1);
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 1799 1799' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E"),
    radial-gradient(
      circle at 94% 95%,
      hsla(360, 88%, 68%, 1) 3%,
      transparent 76%
    ),
    radial-gradient(
      circle at 89% 34%,
      hsla(93, 96%, 51%, 1) 1%,
      transparent 86%
    ),
    radial-gradient(
      circle at 86% 50%,
      hsla(148, 80%, 65%, 1) 7%,
      transparent 76%
    ),
    radial-gradient(
      circle at 89% 79%,
      hsla(78, 76%, 53%, 1) 7%,
      transparent 87%
    ),
    radial-gradient(
      circle at 15% 44%,
      hsla(194, 74%, 80%, 1) 15%,
      transparent 81%
    ),
    radial-gradient(
      circle at 99% 20%,
      hsla(265, 88%, 92%, 1) 1%,
      transparent 68%
    );
  background-blend-mode: overlay, normal, normal, normal, normal, normal, normal;
}

.infinite-text {
  font-size: 4vw;
  font-family: "Audiowide", sans-serif;
  display: flex;
  color: black;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
  padding: 20px 0;
  animation: reveal 1s ease forwards;
  animation-timeline: view();
  /* gap: -10px; */
  -webkit-mask-image: linear-gradient(
    to right,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 1) 10%,
    rgba(0, 0, 0, 1) 90%,
    rgba(0, 0, 0, 0) 100%
  );

  ul {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    animation: moveText 20s linear infinite;
  }
  ul:first-child {
    /* background-color: lightpink; */
  }
  ul:last-child {
    /* background-color: yellow; */
  }
  ul li {
    list-style: none;
    -webkit-text-stroke: 1px #000;
    -webkit-text-fill-color: transparent;
  }
}

@keyframes moveText {
  to {
    transform: translateX(-100%);
  }
}

@keyframes reveal {
  from {
    visibility: visible;
    transform: translateY(-1px);
    opacity: 0;
  }
  to {
    visibility: visible;
    transform: translateY(0%);
    opacity: 1;
  }
}

#about .part2 {
  width: 100%;
  height: fit-content;
  margin: auto;
  margin-top: 0px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 40px;
  .text {
    width: 60%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px 0;

    p {
      font-size: 3vw;
      font-weight: 100;
      font-family: "Audiowide", sans-serif;
      /* font-family: "Zain", sans-serif; */
      /* font-family: "Bebas Neue", cursive; */
      color: black;
      animation: text-reveal 2s ease forwards;
      overflow: hidden;
      visibility: hidden;
      animation-timeline: view(35% 0%);
      /* background-color: aquamarine; */
    }
  }
  .cont {
    height: fit-content;
    width: 75%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 40px 0;
    gap: 30px;
    div {
      display: flex;
      justify-content: center;
      align-items: center;
      flex-direction: column;
      gap: 5px;
      background-color: rgb(0, 0, 0);
      backdrop-filter: blur(20px);
      padding: 15px 20px;
      border-radius: 20px;
      box-shadow: 0px 0px 20px black;
      flex: 1;
      visibility: hidden;
      animation: card-reveal 3s ease forwards;
      animation-timeline: view(60% 10%);

      h4,
      p {
        margin: 0px;
        color: whitesmoke;
        text-shadow: 1px 1px 10px wheat;
        text-transform: capitalize;
        font-family: "Zain", sans-serif;
      }
      h4 {
        font-size: 1.8vw;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
        span {
          display: flex;
          justify-content: center;
          align-items: center;
        }
      }
      p {
        font-size: 1.2vw;
      }
    }
    div:first-child {
      animation-delay: 1s;
    }
    div:nth-child(2) {
      animation-delay: 2s;
    }
    div:last-child {
      animation-delay: 3s;
    }
  }
  .mentors {
    width: 100%;
    height: fit-content;
    border-radius: 20px;

    .cards {
      display: flex;
      justify-content: center;
      align-items: center;
      gap: 50px;

      .card {
        width: 400px;
        height: fit-content;
        box-sizing: border-box;
        border-radius: 0px;

        backdrop-filter: blur(20px);
        margin: 20px;
        display: flex;
        background-color: #8492d5;
        z-index: 10;
        transition: transform 0.5s, box-shadow 0.5s;

        background-image: linear-gradient(
          43deg,
          #222b5a 0%,
          #40233e 46%,
          #423929 100%
        );
        justify-content: center;
        align-items: center;
        flex-direction: column;
        gap: 20px;
        padding: 10px;

        img {
          width: 50%;
          height: auto;
          border-radius: 50%;
          border: 2px solid white;
          box-shadow: 0px 0px 10px white;
        }

        .info {
          display: flex;
          flex-direction: column;
          justify-content: center;
          align-items: center;
          gap: 5px;

          h3,
          h4,
          p {
            margin: 0px;
            color: white;
            font-family: "Zain", sans-serif;
          }
          h3 {
            font-size: 2.2vw;
            font-weight: 500;
          }
          h4 {
            font-size: 1.6vw;
            font-weight: 400;
          }
          p {
            font-size: 1.3vw;
            font-weight: 300;
          }

          div {
            font-family: "Zain", sans-serif;
            display: flex;
            justify-content: center;
            align-items: center;
            gap: 10px;

            span {
              padding: 2px 5px;
              font-size: 1vw;
              background-color: white;
              border-radius: 20px;
            }
          }
        }
      }

      .card:first-child {
        animation: mentor-reveal-1 3s ease;
        animation-timeline: view(95% 0%);
        transform: rotate(-5deg);
        box-shadow: -10px 10px 2px black;
      }

      .card:nth-child(2) {
        animation: mentor-reveal-2 3s ease;
        animation-timeline: view(95% 0%);
        transform: rotate(5deg);
        box-shadow: 10px 10px 2px black;
      }

      .card:hover {
        transform: scale3d(1.01, 1.01, 1);
        box-shadow: 10px 10px 5px thistle;
      }
      .card:nth-child(2):hover {
        box-shadow: -10px 10px 5px thistle;
      }
    }
  }
  .stat {
    width: 40%;
    margin-top: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000000;
    animation: text-reveal 4s ease forwards;
    animation-timeline: view(50% 0%);
    border-radius: 20px;
    padding: 10px;

    /* color: white; */
    /* gap: 50px; */

    div {
      width: 100%;
      display: flex;
      text-wrap: nowrap;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      overflow: hidden;
      visibility: hidden;
      animation: stat-reveal 4s ease forwards;
      animation-timeline: view(50% 20%);

      h2 {
        margin: 0px;
        font-size: 3vw;
        font-weight: 400;
        font-family: "Zain", sans-serif;
        color: white;
      }
      h3 {
        margin: 0px;
        font-size: 1.5vw;
        font-weight: 400;
        font-family: "Zain", sans-serif;
        /* background-color: thistle; */
        color: white;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 10px;
      }
    }
  }
}

@keyframes text-reveal {
  from {
    visibility: visible;
    opacity: 0;
    filter: blur(5px);
  }
  to {
    visibility: visible;
    opacity: 1;
    filter: blur(0px);
  }
}

@keyframes mentor-reveal-1 {
  from {
    visibility: visible;
    transform: rotate(50deg) translateY(90px);
    opacity: 0;
  }
  to {
    visibility: visible;
    transform: rotate(-5deg) translateY(0px);
    opacity: 1;
  }
}
@keyframes mentor-reveal-2 {
  from {
    visibility: visible;
    transform: rotate(-50deg) translateY(90px);
    opacity: 0;
  }
  to {
    visibility: visible;
    transform: rotate(5deg) translateY(0px);
    opacity: 1;
  }
}

@keyframes card-reveal {
  from {
    visibility: visible;
    opacity: 0;
    transform: translateY(90px);
  }
  to {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
  }
}

@keyframes stat-reveal {
  0% {
    visibility: visible;
    opacity: 0;
    transform: translateY(40px);
    /* width: 0%; */
  }
  100% {
    visibility: visible;
    opacity: 1;
    transform: translateY(0px);
    /* width: 100%; */
  }
}

@media (max-width: 968px) {
  #about .part2 {
    .text {
      width: 70%;
      p {
        font-size: 4vw;
      }
    }
  }
}

@media (max-width: 768px) {
  .infinite-text {
    font-size: 6vw;
  }
  #about .part2 {
    .text {
      width: 80%;
      p {
        font-size: 5vw;
      }
    }
    .cont {
      flex-direction: column;
      gap: 20px;
      width: 60%;
      div {
        gap: 5px;
        h4 {
          font-size: 3.2vw;
        }
        p {
          font-size: 2.5vw;
        }
      }
    }
    .mentors {
      .cards {
        flex-direction: column;
        gap: 30px;
        width: 100%;
        .card {
          width: 50%;
          img {
            width: 40%;
          }
          .info {
            gap: 3px;
            h3 {
              font-size: 4vw;
            }
            h4 {
              font-size: 3vw;
            }
            p {
              font-size: 2.5vw;
            }
            div {
              gap: 5px;
              span {
                font-size: 2vw;
                padding: 5px 10px;
              }
            }
          }
        }
      }
    }
    .stat {
      /* flex-direction: column; */
      gap: 20px;
      width: 60%;
      div {
        h2 {
          font-size: 4vw;
        }
        h3 {
          font-size: 2.5vw;
        }
      }
    }
  }
}

@media (max-width: 568px) {
  .infinite-text {
    font-size: 8vw;

    ul {
      li {
        font-size: 10vw;
      }
    }
  }
  #about .part2 {
    .text {
      width: 100%;
      p {
        font-size: 5vw;
        /* padding: 40px 0; */
      }
    }
    .cont {
      gap: 20px;
      width: 80%;
      /* padding: 50px 0; */
      height: fit-content;
      div {
        gap: 5px;
        h4 {
          font-size: 4.5vw;
        }
        p {
          font-size: 3.2vw;
        }
      }
    }
    .mentors {
      .cards {
        .card {
          width: 80%;

          .info {
            h3 {
              font-size: 5vw;
            }
            h4 {
              font-size: 4vw;
            }
            p {
              font-size: 3.2vw;
            }
            div {
              margin: 5px;
              span {
                font-size: 3vw;
                /* padding: 8px 15px; */
              }
            }
          }
        }
      }
      .infinite-text {
        padding: 50px 0;
      }
    }
    .stat {
      /* flex-direction: column; */
      gap: 20px;
      width: 80%;
      div {
        h2 {
          font-size: 5.5vw;
        }
        h3 {
          font-size: 3.5vw;
        }
      }
    }
  }
}
