.main-section {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  color: #f37041;
  transition: color 0.3s ease;
}

.page-nav-link:hover {
  /* text-decoration: line-through; */
  color: #164996;
}

.menu-open {
  position: fixed;
  top: 22px;
  right: 22px;
  z-index: 2;

  svg {
    stroke: #164996;
  }
}

@media screen and (min-width: 1432px) {
  .main-section {
    display: block;
    position: fixed;
    z-index: 9;
    width: 100%;
    padding: 28px;
  }
  .page-nav-link {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    color: #fff;
  }

  .menu-btn {
    display: none;
  }
}

/* modal  */

.menu {
  position: fixed;
  overflow: hidden;
  top: 0;
  right: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  padding: 22px;
  padding-left: 67px;
  transform: translateX(100%);
  transition: transform 1s ease;
  background: #fff;
}

.menu-close {
  margin-left: auto;
  display: block;

  svg {
    stroke: #164996;
  }
}

.menu-nav-list {
  margin-top: 57px;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  width: 96%;
  bottom: 15px;
  left: 50%;
  transform: translateX(-50%);
  transition: transform 0.4s ease;
  padding: 40px 32px;
  background: #164996;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 125%;
  text-align: center;
  color: #fff;
  margin-bottom: 32px;
}

.popup-btn {
  border-radius: 5px;
  padding: 9px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 12px;
  text-align: center;
  text-transform: uppercase;
  color: #f37041;
  text-decoration: underline;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  background: #60b7dc;
  color: #fff;
  text-decoration: none;
}

.popup-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

@media screen and (min-width: 1432px) {
  .popup-text {
    margin-bottom: 24px;
  }

  .popup-wrap {
    gap: 80px;
  }

  .popup-btn {
    font-size: 16px;
  }
}

/* home */

.page-wrapper {
  background-image: linear-gradient(176deg, #00bed7 0%, #164996 100%);
}

#home {
  padding-top: 110px;
  padding-bottom: 422px;
  position: relative;
  overflow: hidden;
}

.hero-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 32px;
  line-height: 112%;
  text-align: center;
  color: #fff;
  margin-bottom: 19px;
}

.hero-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 120%;
  text-align: center;
  color: #164996;
  margin-bottom: 36px;
}

.hero-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  color: #0d2b59;
  padding: 15px;
  /* box-shadow: 0 4px 0 #e65601; */
  display: block;
  text-align: center;
  width: 309px;
  margin: 0 auto;
  background: #fdbf3c;
  transition: box-shadow 0.3s ease;
}

.hero-link:hover {
  /* background: #3e428f; */
  box-shadow: 4px 4px 0 0 #e65601;
}

.home-image {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  max-width: max-content;
  width: 817px;
}

@media screen and (min-width: 1432px) {
  .page-wrapper {
    background-image: url(../img/home.png),
      linear-gradient(176deg, #00bed7 0%, #164996 100%);
    background-position: bottom right;
    background-repeat: no-repeat;
  }

  #home {
    padding-bottom: 80px;
  }

  .home-image {
    display: none;
  }

  .hero-title {
    font-size: 48px;
    margin-bottom: 19px;
  }

  .hero-text {
    font-size: 24px;
    margin-bottom: 36px;
  }
}

/* about */

.about-list {
  display: flex;
  flex-direction: column;
  gap: 49px;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 20px;
    line-height: 200%;
    text-transform: uppercase;
    color: #0d2b59;
    margin-bottom: 18px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .about-text {
    max-width: 40%;
  }

  .about-list {
    flex-direction: row;
    flex-wrap: wrap;
    max-width: 50%;
    gap: 49px 25px;

    li {
      width: calc((100% - 25px) / 2);
    }
  }
}

/* features */

.features-item {
  width: 282px;
  max-width: 100%;
  border-radius: 20px;
  padding: 46px 14px;
  min-height: 350px;
  background: rgba(217, 217, 217, 0.5);

  img {
    margin: 0 auto;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    text-transform: uppercase;
    color: #0d2b59;
    text-align: center;
    margin-top: 46px;
    margin-bottom: 37px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 111%;
    text-align: center;
    color: #f37041;
  }
}

/* how */

.moon {
  margin: 0 auto;
}

.how-list {
  display: flex;
  flex-direction: column;
  gap: 20px;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 20px;
    line-height: 110%;
    text-transform: uppercase;
    color: #0d2b59;
    margin-bottom: 18px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #f37041;
  }
}

@media screen and (min-width: 1432px) {
  .how-list {
    width: 964px;
    gap: 60px 44px;
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 88px) / 3);
    }
  }
}

/* experiences */

.experiences-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-bottom: 54px;

  li {
    display: flex;
    align-items: center;
    flex-direction: column;
    gap: 16px;
  }
  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    text-align: center;
    color: #0d2b59;
  }

  span {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 111%;
    text-align: center;
    color: #fff;
  }
}

@media screen and (min-width: 1432px) {
  .experiences-list {
    width: 720px;
    margin: 0 auto;
    gap: 60px 128px;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: normal;
    margin-bottom: 50px;
    background-image: url(../img/line.png);
    background-position: center;
    background-repeat: no-repeat;

    li {
      width: calc((100% - 128px) / 2);
      align-items: flex-end;

      span {
        display: block;
        text-align: end;
      }
    }

    .item2 {
      align-items: flex-start;

      span {
        text-align: start;
      }
    }
  }
}

/* world  */

#world {
  padding-top: 136px;
  padding-bottom: 485px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(176deg, #00bed7 0%, #164996 100%);
}

.world-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 133%;
  color: #fff;
  margin-bottom: 62px;
}

.world-list {
  display: flex;
  flex-direction: column;
  gap: 33px;
  margin-bottom: 41px;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 17px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 111%;
    color: #fff;
  }
}

.world-img {
  position: absolute;
  width: 589px;
  max-width: max-content;
  bottom: 0;
  left: 0;
  transform: translateX(-30px);
}

@media screen and (min-width: 1432px) {
  #world {
    padding-top: 121px;
    padding-bottom: 0;
  }

  .world-wrapper {
    display: flex;
    flex-direction: row-reverse;
    align-items: center;
    transform: translateX(-100px);
  }

  .world-img {
    position: static;
    width: auto;
    margin: 0;
    transform: translateX(0);
    flex-shrink: 0;
  }

  .world-text {
    font-size: 20px;
    margin-bottom: 78px;
  }

  .hero-link {
    font-size: 18px;
  }
}

/* missions */

.missions-list {
  display: flex;
  flex-direction: column;
  gap: 44px;

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 20px;
    line-height: 110%;
    text-transform: uppercase;
    color: #0d2b59;
    margin-bottom: 18px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 100%;
    color: #f37041;
  }
}
@media screen and (min-width: 1432px) {
  .missions-list {
    flex-direction: row;

    li {
      width: 300px;
    }
  }
}

/* testimonials */

.testimonials-item {
  border-radius: 20px;
  padding: 46px 14px;
  width: 282px;
  background: #fff;
  min-height: 552px;
  max-width: 100%;

  img {
    margin: 0 auto;
    margin-bottom: 40px;
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 222%;
    text-transform: uppercase;
    text-align: center;
    color: #0d2b59;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 111%;
    text-align: center;
    color: #f37041;
  }
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.faq-item {
  padding-bottom: 41px;
  border-bottom: 2px solid #f37041;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  background-color: #f37041;
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.faq-svg {
  stroke: #1c1b1f;
  transform: rotate(45deg);
  transition: opacity 0.3s ease, transform 0.4s ease;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 120%;
  text-transform: capitalize;
  color: #164996;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 111%;
  color: #4498c5;
  margin-top: 41px;
}

/* contact */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 92px;

  li {
    display: flex;
    align-items: center;
    gap: 36px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 900;
    font-size: 20px;
    line-height: 100%;
    color: #0d2b59;
    width: 99px;
  }

  a {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 20px;
    line-height: 100%;
    color: #60b7dc;
    text-decoration: underline;
    text-decoration-skip-ink: none;
  }
}

.footer-list {
  display: flex;
  flex-direction: column;
  gap: 45px;
}

.footer-description {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 100%;
  color: #13176e;
}

.footer-text {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 12px;
  color: #fff;
}

@media screen and (min-width: 1432px) {
  #contact {
    display: flex;
    padding-bottom: 60px;
  }

  .contact-list {
    margin: 0;
  }

  .footer-list {
    align-items: flex-end;
  }

  .footer-description {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 100%;
    color: #000;
    margin-top: 70px;
  }
}

/* ********************* */

.menu-transform {
  transform: translateY(0);
}

.click {
  transform: rotate(180deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}

.hidden {
  display: none;
}
