section.achievements {
  position: relative;
  width: 100%;
  min-height: 100vh;
  will-change: transform;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #0a0a0a;
}
section.achievements::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 0, 0, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 0, 0, 0.035) 1px, transparent 1px);

  background-size: 60px 60px;

  mask-image: radial-gradient(circle at center, black 35%, transparent 90%);
  -webkit-mask-image: radial-gradient(
    circle at center,
    black 35%,
    transparent 90%
  );
}
section.achievements h1 {
  text-align: center;
  font-size: clamp(5rem,12vw,6rem);
  line-height: 1;
  font-weight: 600;
  text-transform: uppercase;
  font-family: "Bebas Neue";
  color: #fff;
  will-change: transform;
}
.mobile-break {
  display: none;
}

section.achievements .marquee-text {
  font-family: "Bebas Neue";
  font-size: clamp(8rem, 14vw, 15rem);
  font-weight: 900;
  line-height: 0.9;
  text-transform: uppercase;
  white-space: nowrap;
  color: #0a0a0a;
  opacity: 1;
}

.achievements-images {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.img-wrap {
  flex: 1;
  overflow: hidden;
}

.img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.achievements-img {
  max-height: 40vh;
  position: absolute;
  top: 50%;
  left: 50%;
  width: clamp(20rem, 25vw, 40rem);
  transform: translate(-50%, 200%);
  will-change: transform;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  background-color: #fafaf0;
}
.achievements-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.achievements-img h2 {
  font-family: "bebas neue";
  text-align: center;
  font-size: 2rem;
}

@media (max-width: 768px) {
  section.achievements {
    min-height: auto;
    padding: 4rem 1rem;
    display: block;
    overflow: visible;
  }

  .achievements-images {
    position: relative;
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    gap: 2.5rem;
    pointer-events: auto;
  }

  .achievements-img {
    position: relative;
    top: auto;
    left: auto;
    transform: none !important;
    width: 100%;
    max-width: 500px;
    margin: 0 auto;
    max-height: none;
    will-change: auto;
  }

  .img-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
  }

  .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .achievements-img h2 {
    font-size: 2rem;
    padding: 0.75rem;
  }
  .mobile-break {
    display: block;
  }
}
.ach-ed{
  will-change: transform;
}