.first {
  margin: 0;
  padding: 0;
  padding-top: 00px;
  width: 100%;
  height: 1080px;
  position: relative; 
  display: flex;
  z-index: 1;
  justify-content: center;
  align-items: center;
}

.first::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none;
  display: block;
  background: none;
}

.first video.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.first > *:not(video.bg-video) {
  position: relative;
  z-index: 1;
}

.heading {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.heading h1 {
    font-family: 'Mongolian Baiti', sans-serif;
    font-size: 100px;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
}

.heading h2 {
    font-size: 50px;
    margin: 0;
    text-align: left;
    font-weight: 500;
}

.second {
    font-size: 30px;
    padding: 100px 200px;
    font-weight: 500;
}

.marquee-wrapper-vertical {
  position: relative;
  overflow: hidden;
  height: 400px;
  width: 100%;
  background: #151516;
}

.fade-vertical {
  position: absolute;
  left: 0;
  width: 100%;
  height: 200px;
  z-index: 2;
  pointer-events: none;
}

.fade-top {
  top: 0;
  background: linear-gradient(to bottom, #151516, transparent);
}

.fade-bottom {
  bottom: 0;
  background: linear-gradient(to top, #151516, transparent);
}

.marquee-inner-vertical {
  align-items: center;
  display: flex;
  flex-direction: column;
  animation: scroll-vertical 20s linear infinite;
}

.marquee-wrapper-vertical:hover .marquee-inner-vertical {
  animation-play-state: paused;
}

.marquee-content-vertical {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

.marquee-content-vertical a {
  text-decoration: none;
  color: #fff;
  font-size: 70px;
  white-space: nowrap;
  text-align: center;
  font-weight: 600;
}
  
@keyframes scroll-vertical {
  0% {
    transform: translateY(0%);
  }
  100% {
    transform: translateY(-50%);
  }
}

.fourth {
    padding: 100px 200px;
}



.fourth h1 {
    font-size: 60px;
    padding-bottom: 40px;
}

.services {
    display: flex;
    justify-content: space-between;
    gap: 80px;
    align-items: center;
}

.services h2 {
    font-size: 55px;
    font-weight: 700;
    color: #2A8BFF;
}

.services p {
    font-weight: 600;
    font-size: 28px;
    padding-top: 30px;
}

.text-serv {
    padding-top: 38px;
}

.learn-moree {
    display: flex;
    justify-content: center;
    padding-top: 80px;
}

.learn-moree-btn {
    cursor: pointer;
    position: relative;
    font-size: 25px;
    font-weight: 600;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 55px;
    padding: 10px 120px;
    background-color: transparent;
    transition: all 0.3s cubic-bezier(0.23, 1, 0.320, 1);
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.learn-moree-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    margin: auto;
    width: 50px;
    height: 50px;
    border-radius: inherit;
    scale: 0;
    z-index: -1;
    transition: all 0.6s cubic-bezier(0.23, 1, 0.320, 1);
}

.learn-moree-btn:hover {
    color: #fff;
    scale: 1.1;
}

.learn-moree-btn:active {
    scale: 1;
}

.srv-icon {
    transform: scaleX(-1);
}

#blue {
    h2 {
    color: #2A8BFF;
    }
    .learn-moree-btn::before {
        background-color: #2A8BFF;
    }
    .learn-moree-btn:hover::before {
        scale: 10;
    }
    .learn-moree-btn:hover {
        border-color: #2A8BFF;
        box-shadow: 0 0px 20px rgba(42, 139, 255, 0.4);
    }
}

#red {
    h2{
    color: #FF2540;
    }
    .learn-moree-btn::before {
        background-color: #FF2540;
    }
    .learn-moree-btn:hover::before {
        scale: 10;
    }
    .learn-moree-btn:hover {
        border-color: #FF2540;
        box-shadow: 0 0px 20px rgba(255, 37, 64, 0.4);
    }
    .pillar{
        margin-top: -15px;
    }
}

#yellow {
    h2 {
    color: #FFC616;
    }
    .learn-moree-btn::before {
        background-color: #FFC616;
    }
    .learn-moree-btn:hover::before {
        scale: 10;
    }
    .learn-moree-btn:hover {
        border-color: #FFC616;
        box-shadow: 0 0px 20px rgba(255, 198, 22, 0.4);
    }
    .pillar{
        margin-top: -15px;
    }
}

#pink {
    h2 {
    color: #E647FF;
    }
    .learn-moree-btn::before {
        background-color: #E647FF;
    }
    .learn-moree-btn:hover::before {
        scale: 10;
    }
    .learn-moree-btn:hover {
        border-color: #E647FF;
        box-shadow: 0 0px 20px rgba(230, 71, 255, 0.4);
    }
    .pillar{
        margin-top: -15px;
    }
}

.fiveth {
    padding: 100px 200px;
    h1 {
        font-size: 60px;
        padding-bottom: 50px;
    }
    p {
        font-size: 30px;
        font-weight: 500;
    }
    .lermoreser {
        padding-top: 160px;
        display: flex;
        justify-content: center;
        .lermoreser-btn {
            border: solid 2px #fff;
            font-size: 25px;
            font-weight: 500;
            border-radius: 55px;
            padding: 3px 130px;
        }
    }
}
.img-eight {
    padding-top: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
}


@media (min-width: 1367px) and (max-width: 1600px) {
  .heading h1 {
    font-size: 90px;
  }
  
  .first {
    height: 100%;
    padding-top: 200px;
    padding-bottom: 200px;
  }

  .heading {
    padding-top: 0;
  }

  .heading h2 {
    font-size: 45px;
  }
  
  .second {
    font-size: 26px;
    padding: 80px 150px;
  }
  
  .marquee-content-vertical a {
    font-size: 60px;
  }
  
  .fourth {
    padding: 80px 150px;
  }
  
  .fourth h1 {
    font-size: 54px;
  }
  
  .services h2 {
    font-size: 50px;
  }
  
  .services p {
    font-size: 26px;
  }
  
  .learn-moree-btn {
    font-size: 22px;
    padding: 8px 100px;
  }
  
  .fiveth {
    padding: 80px 150px;
  }
  
  .fiveth h1 {
    font-size: 54px;
  }
  
  .fiveth p {
    font-size: 26px;
  }
  
  .fiveth .lermoreser   .lermoreser-btn {
    font-size: 22px;
    padding: 8px 110px;
  }
  
  button.lermoreser-btn.learn-more {
    font-size: 22px !important;
    padding: 5px 110px !important;
  }
  
  button.lermoreser-btn.learn-more .button-text {
    font-size: 22px !important;
  }
  
  .img-eight {
    width: 100%;
    overflow: hidden;
  }
  
  .img-eight img {
    width: 80%;
    max-width: 600px;
    display: block;
    margin: 0 auto;
  }
}


@media (min-width: 1024px) and (max-width: 1366px) {
  .heading h1 {
    font-size: 80px;
  }

  .first {
    height: 100%;
    padding-top: 200px;
    padding-bottom: 200px;
  }

  .heading {
    padding-top: 0;
  }
  
  .heading h2 {
    font-size: 40px;
  }
  
  .second {
    font-size: 24px;
    padding: 70px 120px;
  }
  
  .marquee-content-vertical a {
    font-size: 50px;
  }
  
  .fourth {
    padding: 70px 120px;
  }
  
  .fourth h1 {
    font-size: 50px;
  }
  
  .services h2 {
    font-size: 40px;
  }
  
  .services {
    gap: 30px;
  }

  .services p {
    font-size: 24px;
  }

  .srv-icon img {
    width: 200px;
  }
  
  .learn-moree-btn {
    font-size: 20px;
    padding: 6px 80px;
  }
  
  .fiveth {
    padding: 70px 120px;
  }
  
  .fiveth h1 {
    font-size: 50px;
  }
  
  .fiveth p {
    font-size: 24px;
  }
  
  .fiveth .lermoreser   .lermoreser-btn {
    font-size: 20px;
    padding: 6px 90px;
  }
  
  button.lermoreser-btn.learn-more {
    font-size: 20px !important;
    padding: 6px 90px !important;
  }
  
  button.lermoreser-btn.learn-more .button-text {
    font-size: 20px !important;
  }
  
  .img-eight {
    width: 100%;
    overflow: hidden;
  }
  
  .img-eight img {
    width: 80%;
    max-width: 500px;
    display: block;
    margin: 0 auto;
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .first {
    height: 600px;
  }
  
  
  .heading h1 {
    font-size: 60px;
  }
  
  .heading h2 {
    font-size: 30px;
  }
  
  .second {
    font-size: 20px;
    padding: 60px 40px;
  }
  
  .marquee-wrapper-vertical {
    height: 300px;
  }
  
  .fade-vertical {
    height: 100px;
  }
  
  .marquee-content-vertical a {
    font-size: 40px;
  }
  
  .fourth {
    padding: 60px 40px;
  }
  
  .fourth h1 {
    font-size: 40px;
  }
  
  .services {
    gap: 40px;
  }
  
  .srv-icon img {
    width: 150px;
    height: auto;
  }
  
  .pillar img {
    height: 220px;
    width: auto;
  }
  
  .services h2 {
    font-size: 40px;
  }
  
  .services p {
    font-size: 20px;
  }
  
  .learn-moree {
    padding-top: 20px;
  }
  
  .learn-moree-btn {
    font-size: 18px;
    padding: 5px 60px;
  }
  
  .fiveth {
    padding: 60px 40px;
  }
  
  .fiveth h1 {
    font-size: 40px;
  }
  
  .fiveth p {
    font-size: 20px;
  }
  
  .lermoreser {
    padding-top: 100px;
  }
  
  .fiveth .lermoreser .lermoreser-btn {
    font-size: 18px;
    padding: 5px 70px;
  }
  
  button.lermoreser-btn.learn-more {
    font-size: 18px !important;
    padding: 8px 70px !important;
  }
  
  button.lermoreser-btn.learn-more .button-text {
    font-size: 18px !important;
  }
  
  .img-eight {
    padding-top: 60px;
  }
  
  .img-eight img {
    width: 80%;
    max-width: 400px;
  }
}


@media (max-width: 767px) {
  .first {
    height: 400px;
    padding-top: 0;
  }
  
  
  .heading h1 {
    font-size: 40px;
  }
  
  .heading h2 {
    font-size: 20px;
  }
  
  .second {
    font-size: 16px;
    padding: 40px 20px;
  }
  
  .marquee-wrapper-vertical {
    height: 190px;
  }
  
  .fade-vertical {
    height: 100px;
  }
  
  .marquee-content-vertical a {
    font-size: 30px;
  }
  
  .fourth {
    padding: 40px 20px;
  }
  
  .fourth h1 {
    font-size: 32px;
  }
  
  .services {
    gap: 0px;
  }
  
  .srv-icon img {
    width: 100px;
    height: auto;
  }
  
  .pillar img {
    height: 200px;
    width: auto;
  }
  
  .services h2 {
    font-size: 18px;
  }
  
  .services p {
    font-size: 16px;
  }
  
  .learn-moree {
    padding-top: 20px;
  }
  
  .learn-moree-btn {
    font-size: 16px;
    padding: 4px 40px;
  }
  
  .fiveth {
    padding: 40px 20px;
  }
  
  .fiveth h1 {
    font-size: 32px;
  }
  
  .fiveth p {
    font-size: 16px;
  }
  
  .lermoreser {
    padding-top: 80px;
  }
  
  .fiveth .lermoreser .lermoreser-btn {
    font-size: 16px;
    padding: 10px 25px;
  }
  
  button.lermoreser-btn.learn-more {
    font-size: 16px !important;
    padding: 10px 25px !important;
  }
  
  button.lermoreser-btn.learn-more .button-text {
    font-size: 16px !important;
  }
  
  .img-eight {
    padding-top: 40px;
  }
  
  .img-eight img {
    width: 80%;
    max-width: 300px;
  }
}


@media (max-width: 480px) {
  .heading h1 {
    font-size: 32px;
  }
  
  .heading h2 {
    font-size: 18px;
  }
  
  .second {
    font-size: 14px;
  }
  
  .marquee-content-vertical a {
    font-size: 24px;
  }
  
  .fourth h1 {
    font-size: 28px;
  }
  
  .services h2 {
    font-size: 25px;
  }
  
  .services p {
    font-size: 14px;
  }
  
  .learn-moree-btn {
    font-size: 14px;
    padding: 3px 30px;
  }
  
  .fiveth h1 {
    font-size: 28px;
  }
  
  .fiveth p {
    font-size: 14px;
  }
  
  .fiveth .lermoreser .lermoreser-btn {
    font-size: 15px;
    padding: 10px 40px;
  }
  
  button.lermoreser-btn.learn-more {
    font-size: 15px !important;
    padding: 10px 40px !important;
  }
  
  button.lermoreser-btn.learn-more .button-text {
    font-size: 15px !important;
  }
}


button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

button.lermoreser-btn.learn-more {
  width: auto;
  height: auto;
  min-width: 12rem;
  padding: 3px 130px;
  border-radius: 55px;
  background-color: transparent;
  display: inline-block;
  border: solid 2px #fff;
  color: #fff;
  font-size: 25px;
  font-weight: 500;
}

button.lermoreser-btn.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 1.625rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

button.lermoreser-btn.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #000;
}

button.lermoreser-btn.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

button.lermoreser-btn.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #000;
  border-right: 0.125rem solid #000;
  transform: rotate(45deg);
}

button.lermoreser-btn.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  padding: 0.75rem 0;
  margin: 0 0 0 1.85rem;
  color: #fff;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
  text-transform: none;
  font-size: 25px;
  z-index: 1;
}

button.lermoreser-btn.learn-more:hover .circle {
  width: 100%;
}

button.lermoreser-btn.learn-more:hover .circle .icon.arrow {
  background: #000;
  transform: translate(1rem, 0);
}

button.lermoreser-btn.learn-more:hover .button-text {
  color: #000;
}


.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}


@media (min-width: 2560px) {

  .services {
    justify-content: space-around;
    gap: 0;
  }
  .services h2 {
    font-size: 70px;
  }
  .services p {
    font-size: 40px;
  }
  .srv-icon img {
    width: 400px;
  }

  .learn-moree-btn {
    font-size: 35px;
  }
}