/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 16px 0;
  backdrop-filter: blur(50px);
  background: rgba(6, 142, 255, 0.15);
  z-index: 9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  align-items: center;
  gap: 4px;

  font-family: var(--second-family);
  font-weight: 700;
  font-size: 16px;
  line-height: 150%;
  color: var(--body);

  img {
    width: 20px;
  }
}

.navigation {
  display: none;
}

.open-modal {
  display: flex;
  align-items: center;
  justify-content: center;
}

.close-modal {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: auto;
}

.svg {
  stroke: var(--body);
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: right;
  color: var(--body);
  transition: color 0.3s ease;
}

.navigation-item:hover {
  text-decoration: underline;
}

.modal {
  position: fixed;
  top: 0;
  left: 50%;
  z-index: 8;
  padding: 16px;
  padding-top: 72px;
  transform: translateY(-150%) translateX(-50%);
  transition: transform 1s ease;
  z-index: 8;
  backdrop-filter: blur(50px);
  background: rgba(6, 142, 255, 0.15);
}

.modal-navigation-list {
  flex-direction: column;
  align-items: flex-end;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .header {
    padding: 28px 0;
  }
  .header-logo {
    font-size: 24px;

    img {
      width: 40px;
    }
  }

  .header-container {
    gap: 230px;
  }

  .navigation-item {
    font-size: 24px;
  }
  .navigation-list {
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 8px 24px;
  }

  .navigation {
    display: block;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 109px;
}

.home-link-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
}

.home-link {
  display: block;
  width: 343px;
  max-width: 100%;
  padding: 12px;
  text-align: center;
  border: 1px solid #34d39e;

  transition: border-color 0.3s ease, box-shadow 0.3s ease,
    background-color 0.3s ease;
}

.contact-link {
  background-color: #34d39e;
}

.home-link:hover {
  background-color: #e6f5f0;
}

.contact-link:hover {
  background-color: #00d8bf;
}

.hero-image {
  margin: 0 auto;
  margin-bottom: 24px;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 200px;
  }

  .home-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
  }

  .hero-image {
    margin: 0;
    width: auto;
    flex-shrink: 0;
  }
  .home-link-wrap {
    flex-direction: row;
    gap: 24px;
    justify-content: center;
    margin-top: 40px;
  }
}

/* philosophy */

.philosophy-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 16px;

  li {
    padding: 16px;
    background: #f6f2ff;
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #5e28d9;
    margin-bottom: 12px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    text-align: right;
    color: var(--body);
  }
}

@media screen and (min-width: 1437px) {
  .philosophy-list {
    flex-direction: row;
    gap: 24px;
    margin-bottom: 24px;

    li {
      width: calc((100% - 48px) / 3);
      padding: 24px;
    }

    p {
      font-size: 24px;
    }

    span {
      font-size: 20px;
    }
  }
}

/* schools */

.schools-wrap {
  padding: 16px;
  background: #ebf2fd;
  margin-bottom: 24px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--body);
    margin-bottom: 16px;
  }
}

.schools-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);

  span {
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 16px;
    line-height: 150%;
    color: #059666;
  }
}

.school-img {
  margin: 0 auto;
}

@media screen and (min-width: 1437px) {
  .schools-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 58px;
  }

  .school-img {
    margin: 0;
    flex-shrink: 0;
  }

  .schools-list {
    gap: 12px;
    font-size: 20px;

    span {
      font-size: 24px;
    }
  }

  .schools-wrap {
    padding: 24px;
    p {
      font-size: 24px;
    }
  }
}

/* tools */

.tools-swiper {
  margin-bottom: 16px;
}

.tools-item {
  padding: 16px;
  width: 253px;
  max-width: 100%;
  background: rgba(191, 215, 254, 0.15);
  min-height: 140px;

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #2570eb;
    margin-bottom: 12px;
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 150%;
    color: var(--body);
  }
}

.bonus-img {
  position: absolute;
  top: 16px;
  right: 16px;
}

@media screen and (min-width: 1437px) {
  .tools-swiper {
    margin-bottom: 24px;
  }

  .tools-item {
    width: 336px;
    padding: 24px;
  }
}

/* project */

.project-swiper {
  margin-bottom: 16px;
}

.project-item {
  span {
    margin-bottom: 8px;
  }

  img {
    margin-left: auto;
  }
}

@media screen and (min-width: 1437px) {
  .project-swiper {
    margin-bottom: 24px;
  }
}

/* what */

.what-list {
  display: none;
}

.what-item {
  padding: 16px;
  width: 253px;
  background: rgba(59, 130, 246, 0.1);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);
}

@media screen and (min-width: 1437px) {
  .what-swiper {
    display: none;
  }

  .what-list {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;

    li {
      width: calc((100% - 48px) / 3);
      padding: 24px;
      font-family: var(--font-family);
      font-weight: 400;
      font-size: 20px;
      line-height: 150%;
      color: var(--body);
      background: rgba(59, 130, 246, 0.1);
    }
  }
}

/* testimonials */

.testimonials-item {
  width: 343px;
  max-width: 100%;

  p span {
    display: inline;
    color: #0d9769;
  }
}

@media screen and (min-width: 1437px) {
  .testimonials-item {
    width: 526px;
  }
}

/* contact */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--body);

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1437px) {
  .contact-list {
    gap: 16px;
    font-size: 24px;
  }
}

/* footer */

.footer {
  background: rgba(6, 142, 255, 0.15);
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 32px;
  gap: 12px;
}

.footer-link {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  text-decoration-skip-ink: none;
  color: var(--body);
}

.footer-link:hover {
  text-decoration: underline;
}

.footer-description {
  font-family: var(--second-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 130%;
  text-align: center;
  color: var(--body);
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 24px 0;
  }
  .footer-link {
    font-size: 20px;
  }

  .footer-list {
    gap: 32px;
  }

  .footer-description {
    font-size: 16px;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 16px;
  padding: 16px 20px;
  backdrop-filter: blur(60px);
  /* background: rgba(255, 255, 255, 0.4); */
  background: #d7d7d7;

  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);
}

.cookie-link {
  text-decoration: underline;
  text-decoration-skip-ink: none;
  color: #7e71e1;
  transition: color 0.3s ease;
}

.popup-btn {
  border: 1px solid #34d39e;
  padding: 8px;
  width: 111px;
  text-align: center;
  display: block;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 150%;
  color: var(--body);

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #34d39e;
}

.popup-wrap {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  flex-shrink: 0;
}

.popup-click {
  transform: translateY(120%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 30px;
    justify-content: space-between;
  }

  .popup-text {
    font-size: 18px;
    max-width: 450px;
  }
  .popup-wrap {
    flex-direction: row;
    gap: 24px;
  }

  .popup-btn {
    font-size: 18px;
    padding: 20px;
    width: 155px;
  }
}
