.hero-section {
  position: relative;
  overflow: hidden;
}
.hero-section img {
  width: 100%;
  max-height: 100vh;
  height: 100vh;
  -o-object-fit: cover;
     object-fit: cover;
  position: fixed;
  top: 0;
  z-index: -1;
}
.hero-section video {
  max-width: 100%;
  width: 100%;
  height: 100dvh;
  -o-object-fit: cover;
     object-fit: cover;
}
.hero-section .hero-content {
  position: relative;
  overflow: hidden;
  height: 100vh;
}
.hero-section .hero-content:before {
  content: "";
  background-color: rgba(0, 0, 0, 0.3019607843);
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
}
.hero-section .hero-content:after {
  content: "";
  background-image: url("../img/tetris.png");
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  bottom: -1px;
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background-repeat: no-repeat;
  background-size: contain;
  height: -webkit-fill-available;
  background-position: bottom;
}
.hero-section h1 {
  position: absolute;
  bottom: 0;
  left: 0;
  padding: 15rem 2rem;
  color: #fff;
  font-size: 35px;
  font-weight: 500;
  margin-bottom: 0;
  line-height: 40px;
}

.afterhero-section .content {
  max-width: 880px;
  margin: 0 auto;
  text-align: center;
}
.afterhero-section .content h2 {
  margin-bottom: 40px;
  animation: scrollup forwards;
  animation-timeline: view();
  animation-range-end: 60%;
  transform: translate(0%, 100%);
}
.afterhero-section .content p {
  max-width: 700px;
  margin: 0 auto;
  animation: scrollup forwards;
  animation-timeline: view();
  animation-range-end: 60%;
  transform: translate(0%, 160%);
}

.competitive_advantages-section {
  position: relative;
  background: #f9f9f9;
  padding-top: 8rem;
  padding-bottom: 5rem;
}
.competitive_advantages-section:before {
  content: "";
  background-image: url("../img/tetris.png");
  width: 100%;
  display: block;
  position: absolute;
  left: 0;
  top: -1px;
  transform: rotate(180deg);
  max-width: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  background-repeat: no-repeat;
  background-size: contain;
  height: -webkit-fill-available;
  background-position: bottom;
}
.competitive_advantages-section h2 {
  font-size: 28px;
  padding: 0 24px;
  text-align: center;
  margin-bottom: 45px;
}
.competitive_advantages-section .box .is-desk {
  display: none;
}
.competitive_advantages-section .box h2 {
  padding: 0;
  text-align: start;
}
.competitive_advantages-section .box img {
  filter: drop-shadow(0 1px 4px rgba(0, 0, 0, 0.4));
}
.competitive_advantages-section .right-nav {
  position: fixed;
  top: 0;
  right: 20px;
  display: flex;
  align-items: center;
  gap: 15px;
  z-index: 10;
  height: 100vh;
  width: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.4s ease;
}
.competitive_advantages-section .right-nav.show {
  opacity: 1;
  pointer-events: auto;
}
.competitive_advantages-section .nav-dots {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.competitive_advantages-section .nav-dots .dot {
  width: 10px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  border: none;
  transition: background 0.3s;
}
.competitive_advantages-section .nav-dots .dot.active {
  background: #ed1e28;
}

.about-us-section {
  padding-top: calc(3rem + 0%);
}
.about-us-section img {
  aspect-ratio: 1/1.2;
  -o-object-fit: cover;
     object-fit: cover;
  animation: scrollup forwards;
  animation-timeline: view();
  animation-range-end: 30%;
  transform: translate(0%, 100%);
}
.about-us-section h2 {
  text-align: start;
  margin: 25px 0 30px;
}
.about-us-section p {
  margin-bottom: 30px;
}

@keyframes zoomImg {
  to {
    transform: scale(1);
  }
}
.wide-section .scale {
  transform: scale(0.6, 1);
  animation: zoomImg;
  animation-timeline: view();
}
.wide-section img {
  height: 40vh;
  -o-object-fit: cover;
     object-fit: cover;
}
.wide-section .content {
  height: auto;
  max-width: 785px;
  margin: 0 auto 40px;
  text-align: center;
}
.wide-section .content h2 {
  animation: scrollup forwards;
  animation-timeline: view();
  animation-range-end: 30%;
  transform: translate(0%, 100%);
}
.wide-section .content .text {
  animation: scrollup forwards;
  animation-timeline: view();
  animation-range-end: 30%;
  transform: translate(0%, 120%);
}
.wide-section .content .btn-primary {
  animation: scrollup forwards;
  animation-timeline: view();
  animation-range-end: 30%;
  transform: translate(0%, 140%);
}
.wide-section .btn-primary {
  margin: 40px auto 0;
}

@media (max-width: 992px) {
  .competitive_advantages-section .box {
    padding: 0 !important;
    margin-bottom: 40px;
  }
  .competitive_advantages-section .box .right-side > div {
    position: sticky;
    top: 150px;
    padding: 0 20px;
  }
  .competitive_advantages-section .box .right-side > div .inner {
    background: #fff;
    padding: 20px 25px;
  }
  .competitive_advantages-section .box .right-side > div .inner h2 {
    font-size: 22px;
    margin-bottom: 15px;
  }
  .competitive_advantages-section .box .right-side > div .inner p {
    margin-bottom: 25px;
  }
}
@media (min-width: 767.98px) {
  .hero-section h1 {
    padding: 15rem 6rem;
    font-size: 45px;
    line-height: 45px;
  }
  .competitive_advantages-section {
    padding-top: 15rem;
  }
}
