/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 0;
  background: #363636;
  z-index: 9;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;

  h5 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    text-align: center;
    color: #fff;
  }

  p {
    font-family: var(--second-family);
    font-style: italic;
    font-weight: 500;
    font-size: 12px;
    color: #fff;
  }
}

.navigation {
  display: none;
}

.svg {
  stroke: #f3f2f2;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  transition: border-color 0.3s ease;
}

.navigation-item:hover {
  box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
}

.modal {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 8;
  width: 100%;
  height: 100%;
  padding-top: 200px;
  transform: translateY(-100%);
  transition: transform 1s ease;
  z-index: 8;
  background: #363636;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

.modal-click {
  transform: translateY(0);
}

@media screen and (min-width: 1439px) {
  .header {
    padding: 20px 0;
  }

  .header-logo {
    h5 {
      font-size: 20px;
    }

    p {
      font-size: 12px;
    }
  }

  .navigation {
    display: block;
  }

  .open-modal {
    display: none;
  }
}

/* home */

#home {
  padding-top: 179px;
  background-image: url(../images/home.png);
  background-position: top left;
  background-repeat: no-repeat;
  background-size: contain;
}

.home-logo {
  margin: 0 auto;
  margin-bottom: 40px;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 36px;
  text-align: center;
  color: #fff;
  margin-bottom: 16px;
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  text-align: center;
  color: #fff;
  margin-bottom: 44px;
}

.home-link {
  border-radius: 32px;
  padding: 16px;
  display: block;
  margin: 0 auto;
  width: 282px;
  max-width: 100%;
  background: #1f1a8b;
  transition: background-color 0.3s ease;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  color: #fff;
  text-align: center;
}

.home-link:hover {
  background: #2c25b6;
}

@media screen and (min-width: 1439px) {
  #home {
    padding-top: 259px;
  }

  .home-title {
    font-size: 40px;
    margin-bottom: 24px;
  }
  .home-text {
    font-size: 20px;
    max-width: 996px;
    margin: 0 auto;
    margin-bottom: 56px;
  }
}

/* services */

#services {
  background-image: url(../images/services.png);
  background-position: right top;
  background-repeat: no-repeat;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border: 4px solid #44417b;
    border-radius: 16px;
    padding: 20px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 20px;
    color: #fff;
    margin-bottom: 16px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }
}

@media screen and (min-width: 768px) {
  .services-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1439px) {
  .services-list {
    flex-wrap: nowrap;

    li {
      width: calc((100% - 72px) / 4);
    }
  }
}

/* who */

#who {
  background-image: url(../images/who.png);
  background-position: left;
  background-repeat: no-repeat;
}

.who-list {
  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }

  span {
    font-family: var(--font-family);
    color: #fff;
    font-weight: 600;
    font-size: 20px;
  }
}

/* why */

#why {
  border-radius: 80px;
  background-image: url(../images/why.png);
  background-position: center;
  background-size: cover;
}

/* faq */

.faq-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.faq-item {
  width: 100%;
  cursor: pointer;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 600;
  font-size: 16px;
  color: #fff;
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  margin-top: 16px;
}

@media screen and (min-width: 1435px) {
  .faq-title {
    font-size: 20px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: scaleY(-1);
}

/* contact */

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
  width: 292px;
  margin: 0 auto;

  li {
    display: flex;
    align-items: center;
    gap: 20px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: #fff;
  }

  a:hover {
    /* text-decoration: underline; */
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }
}

.contact-img {
  width: 100%;
}

@media screen and (min-width: 1439px) {
  .contact-container {
    display: flex;
    justify-content: center;
    gap: 32px;
  }

  .contact-list {
    li {
      font-size: 18px;
    }

    span {
      font-size: 20px;
    }
  }
}

/* footer */

.footer-list {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 12px;

  li {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.64);
  }

  a:hover {
    box-shadow: 0 4px 4px 0 rgba(0, 0, 0, 0.25);
  }
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: rgba(255, 255, 255, 0.64);
  margin-top: 28px;
  text-align: center;
}

@media screen and (min-width: 1439px) {
  .footer-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-direction: row-reverse;
  }

  .footer-list {
    flex-direction: row;
    gap: 32px;
  }

  .footer-description {
    margin: 0;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  top: 50%;
  left: 50%;
  border-radius: 4px;
  padding: 24px 16px;
  transform: translateX(-50%) translateY(-50%);
  background: #1f1f1f;
  transition: transform 0.5s ease;
  display: block;
}

.popup-title {
  font-family: var(--font-family);
  font-style: italic;
  font-weight: 400;
  font-size: 32px;
  color: #fff;
  margin-bottom: 12px;
}

.popup-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #fff;
  margin-bottom: 24px;
}

.popup-btn {
  border: 2px solid #1f1a8b;
  border-radius: 32px;
  padding: 16px 24px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  color: #0d00ff;
  text-transform: uppercase;

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #1f1a8b;
  color: #fff;
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.popup-click {
  display: none;
}

@media screen and (min-width: 1436px) {
  .popup {
    width: 461px;
    padding: 24px;
  }

  .popup-title {
    font-size: 36px;
    margin-bottom: 24px;
  }

  .popup-text {
    font-size: 16px;
    margin-bottom: 32px;
  }

  .popup-wrap {
    flex-direction: row;
  }
}
