#hero {
  width: 100vw;
  height: 100vh;
  margin-top: -126px;
  position: relative;
  overflow: hidden;
}

.overlay{
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  background-color: rgba(0,0,0,0.4);
  z-index: 6;
}

.hero-content{
  position: relative;
  z-index: 10;
}

.main-img-anim {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  animation: scaleUp 15s ease-in-out infinite;
}

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

.mountains-img-anim {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 402px;
  object-fit: cover;
  z-index: 5;
  background-image: url(./assets/bg-anim-mountains.svg);
  background-position: center;
  background-size: cover;
  animation: scaleUp 15s ease-in-out infinite;
}

.cloud-img-anim {
  position: absolute;
  top: 0;
  left: 10%;
  width: 100%;
  height: 45%;
  object-fit: cover;
  z-index: 4;
  overflow: visible;
  animation: cloudMove 15s ease-in-out infinite;
}

@keyframes cloudMove {
  0%,
  100% {
    transform: translateX(0);
  }
  75% {
    transform: translateX(-25%);
  }
}

@keyframes scaleUp {
  0%,100% {
    transform: scale(1);
  }
  75% {
    transform:scale(1.2)
  }
}

#hero h1 {
  color: #fff;
  font-family: var(--raleway);
  font-size: 30px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%;
  
}

#hero .order-btn {
  width: 90%;
}



#about {
  padding: 80px 0 100px;
}

#about .title {
  margin: 100px 0 50px !important;
}

.about-grid {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
}

.about-item {
  position: relative;
}

.about-item::after {
  content: attr(data-number);
  position: absolute;
  top: 0;
  left: 0;
  font-size: 120px;
  color: #213442; /* Set text color to transparent */
  text-shadow: 0px 0px 2px #ffffff6e;
  font-family: var(--poppins);
  font-weight: 700;
  line-height: 81%;
  
}

.about-item:nth-of-type(2)::after {
  left: unset;
  right: 0;
}
.about-item-icon {
  width: 80px;
  height: 80px;
}

.about-item-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

#directions,
#advantages {
  padding-bottom: 100px;
}

.directions-cover {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 23px;
  margin: 40px 0 50px;
}


.directions-item {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0px 0px 11px 0px rgba(128, 128, 128, 0.20);
  background: rgba(0, 0, 0, 0.4);
  cursor: pointer;
  transition: all .3s ease;
}

.directions-item:hover{
  background: rgba(0, 0, 0, 0);
}

.modal-content{
  background: rgba(1, 22, 39, 1);
  opacity: 1;
  border: 0;
}

.modal-body{
  display: flex;
  flex-direction: column;
  gap: 45px;
  justify-content: center;
  align-items: center;
  padding: 30px 0;
}

.modal-links{
  width: 100%;
  max-width: 350px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 8px 16px;
  border-radius: 8px;
  border: 1px solid var(--secondary);
  transition: all .3s ease;
  background: rgba(40 198 177 / 28%);
}

.modal-links:hover{
  background: rgba(1, 22, 39, 1);
}

.modal-links svg{
  fill: var(--secondary);
  width: 24px;
  height: 24px;
}

.small,
.big {
  width: 100%;
  max-height: 286px;
  min-height: 208px;
}

.directions-item-img {
  width: 100%;
  height: 100%;
  aspect-ratio: 3/2;
  box-shadow: 0px 0px 11px 0px rgba(128, 128, 128, 0.2);
  position: absolute;
  top: 0;
  left: 0;
  z-index: -2;
}

.directions-item-img img {
  width: 100%;
  height: 100%;
}

.directions-item p {
  color: #fff;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 24px */
  
  position: absolute;
  z-index: 1;
  left: 20px;
  bottom: 20px;
}

.directions-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0) 41.11%, #000 100%);
}

.advantages-item h3 {
  text-align: center;
  font-size: 18px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 27px */
  
}

@media screen and (min-width: 1024px) {
  #hero h1 {
    font-size: 50px;
  }



  .about-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }

  #about .title {
    margin: 100px 0 80px !important ;
  }

  .about-item::after {
    left: 0 !important;
    right: unset !important;
  }
  .directions-cover {
    grid-gap: 30px;
  }

  .directions-item p {
    font-size: 20px;
  }

  .outline-btn {
    font-size: 18px;
  }

  .advantages-item h3 {
    font-size: 22px;
  }

  .advantages-item.main h3 {
    font-size: 28px;
  }

  .advantages-item p {
    font-size: 18px;
    font-weight: 600;
    line-height: 150%;
  }

  .small {
    width: 35%;
  }

  .big {
    width: 63%;
  }
}

@media screen and (min-width: 1280px) {
  #hero h1 {
    font-size: 70px;
  }
}
