/* header */

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 20px 0;
  backdrop-filter: blur(24px);
  background: rgba(15, 15, 15, 0.65);
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-logo {
  width: 47px;
}

.navigation {
  display: none;
}

.modal-button {
  display: flex;
  align-items: center;
  justify-content: center;
}

.svg {
  stroke: #f9f9f9;
}

.navigation-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.navigation-item {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  color: var(--white);
  transition: border-color 0.3s ease;
}

.start-item {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  color: var(--l-green);
}

.modal {
  position: fixed;
  top: 96px;
  left: 50%;
  padding: 32px;
  border-radius: 16px;
  background: var(--black);
  transform: translateY(-140%) translateX(-50%);
  transition: transform 1s ease;
  z-index: 8;
}

.modal-navigation-list {
  flex-direction: column;
  align-items: center;
  gap: 40px;
}

.modal-click {
  transform: translateY(0) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .navigation {
    display: block;
  }

  .navigation-item {
    font-weight: 400;
    font-size: 16px;
  }

  .open-modal {
    display: none;
  }

  .start-item {
    padding: 8px 14px;
    border: 1px solid var(--l-green);
  }
}

/* home */

#home {
  padding-top: 155px;
  padding-bottom: 133px;
  background-color: var(--black);
  background-image: url(../images/home-background.png);
  background-position: center;
  background-size: cover;
}

.home-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 48px;
  line-height: 120%;
  color: var(--white);
  margin-bottom: 40px;

  span {
    color: var(--l-green);
  }
}

.home-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--white);
  margin-bottom: 80px;
}

.home-link {
  display: block;
  border: 1px solid var(--l-green);
  border-radius: 4px;
  width: 343px;
  max-width: 100%;
  padding: 8px;
  text-align: center;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  color: var(--white);
  transition: color 0.3s ease, background-color 0.3s ease;
}

.home-link:hover {
  background: var(--l-green);
  color: var(--black);
}

.home-link-wrap {
  display: flex;
  flex-direction: column;
  gap: 40px;
}

@media screen and (min-width: 1437px) {
  #home {
    padding-top: 160px;
    padding-bottom: 80px;
  }

  .home-title {
    font-size: 96px;
    margin-bottom: 80px;
  }

  .home-text {
    font-size: 18px;
    max-width: 544px;
    margin-left: auto;
    margin-bottom: 80px;
  }

  .home-link-wrap {
    flex-direction: row;
    gap: 32px;
    align-items: center;
    justify-content: flex-start;
  }

  .home-link {
    width: 256px;
  }
}

/* services */

.services-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--gray);
  margin-bottom: 32px;
}

.services-1-img {
  margin: 0 auto;
  margin-bottom: 32px;
}

.services-2-img {
  display: none;
}

.services-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  color: var(--dark-gray);
  margin-bottom: 16px;
}

.services-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    padding-bottom: 16px;
    border-bottom: 1px solid var(--l-gray);
  }

  h5 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--dark-gray);
    margin-bottom: 8px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--gray);
  }
}

.banner {
  width: 100%;
}

@media screen and (min-width: 1437px) {
  .services-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 226px;
  }

  .services-1-img {
    display: none;
  }

  .services-2-img {
    display: block;
    width: 350px;
    flex-shrink: 0;
  }

  .services-text {
    font-size: 18px;
    max-width: 544px;
    margin-left: auto;
    margin-bottom: 40px;
  }

  .services-title {
    font-size: 28px;
    margin-bottom: 34px;
  }

  .services-list {
    h5 {
      font-size: 20px;
    }

    p {
      font-size: 18px;
    }
  }
}

/* why */

.why-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--gray);
  margin-bottom: 24px;
}

.why-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    display: flex;
    align-items: center;
    gap: 8px;
  }

  img {
    width: 18px;
    flex-shrink: 0;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 20px;
    line-height: 150%;
    color: var(--gray);
  }
}

.why-img {
  display: none;
}

@media screen and (min-width: 1437px) {
  .why-img {
    display: block;
    width: 350px;
    flex-shrink: 0;
  }
  .why-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 226px;
  }

  .why-text {
    font-size: 18px;
    margin-bottom: 40px;
  }
}

/* testimonials */

#testimonials {
  background: var(--black);

  .sub-title::after {
    background: var(--l-green);
  }
}

.testimonials-item {
  h5 {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 24px;
    line-height: 130%;
    color: var(--l-green);
    margin-bottom: 24px;
  }

  p {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 18px;
    line-height: 150%;
    color: var(--white);
  }

  span {
    display: block;
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--l-gray);
    margin-bottom: 16px;
  }

  div {
    padding-top: 16px;
    border-top: 1px solid var(--gray);
    font-family: var(--font-family);
    font-style: italic;
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: var(--white);
  }
}

.testimonials-btn-wrap {
  display: flex;
  justify-content: flex-end;
  gap: 24px;
  margin-top: 32px;
}

.swiper-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid var(--l-green);
}

.swiper-svg {
  fill: none;
  stroke: var(--l-green);
}

.testimonials-right {
  transform: rotate(90deg);
}

.testimonials-left {
  transform: rotate(-90deg);
}

@media screen and (min-width: 1437px) {
  .testimonials-container {
    position: relative;
  }
  .testimonials-swiper {
    width: 736px;
    margin: 0;
    margin-left: auto;
  }

  .testimonials-item {
    h5 {
      font-size: 28px;
    }

    p {
      font-size: 20px;
    }

    span {
      font-size: 18px;
    }

    div {
      font-size: 18px;
    }
  }

  .testimonials-btn-wrap {
    position: absolute;
    top: 104px;
    right: 160px;
    z-index: 2;
  }
}

/* faq */

.faq-list {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.faq-item {
  padding-top: 24px;
  width: 100%;
  cursor: pointer;
  border-top: 1px solid var(--l-gray);
  transition: border-color 0.3s ease;
}

.faq-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;

  font-weight: 100;
  color: var(--gray);
  font-size: 32px;
  transition: transform 0.3s ease;
  transform-origin: center;
}

.faq-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.faq-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: var(--dark-gray);
}

.faq-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  color: var(--gray);
  margin-top: 24px;
}

.faq-image {
  display: none;
}

@media screen and (min-width: 1437px) {
  .faq-image {
    display: block;
    width: 350px;
    flex-shrink: 0;
  }

  .faq-wrapper {
    display: flex;
    align-items: flex-start;
    gap: 34px;
  }

  .faq-title {
    font-size: 20px;
  }
  .faq-text {
    font-size: 18px;
  }
}

.hidden {
  display: none;
}

.click {
  transform: rotate(135deg);
}

/* contact  */

#contact {
  .sub-title::after {
    background: var(--l-green);
  }
}

.contact-text {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: var(--white);
  margin-bottom: 24px;
}

.contact-list {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 18px;
  line-height: 150%;
  color: var(--l-gray);

  a:hover {
    text-decoration: underline;
  }
}

@media screen and (min-width: 1437px) {
  #contact {
    .main-title {
      width: 700px;
    }
    .sub-title {
      width: 388px;
    }
  }
  .contact-cover {
    width: 700px;
    margin-left: auto;
  }

  .contact-text,
  .contact-list {
    font-size: 20px;
  }
}

/* footer */

.footer {
  background: var(--black);
}

.footer-title {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 24px;
  line-height: 130%;
  color: var(--l-green);
  margin-bottom: 40px;
}

.footer-list {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 16px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 16px;
  line-height: 150%;
  text-align: right;
  color: var(--white);

  a:hover {
    text-decoration: underline;
  }
}

.footer-description {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 11px;
  line-height: 150%;
  text-align: right;
  color: var(--white);
  text-align: end;
  margin-top: 40px;
}

@media screen and (min-width: 1437px) {
  .footer {
    padding: 20px 0;
  }

  .footer-wrapper {
    width: 700px;
    margin-left: auto;
  }

  .footer-title {
    font-size: 28px;
  }

  .footer-description {
    font-size: 12px;
    text-align: start;
  }

  .footer-list {
    font-size: 18px;
    align-items: flex-start;
  }
}

/* cookie popup */

.popup {
  position: fixed;
  z-index: 10;
  bottom: 32px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 32px;
  padding: 32px;
  background: var(--black);
  transition: transform 0.5s ease;
}

.popup-text {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 150%;
  text-align: center;
  color: var(--white);
  margin-bottom: 40px;
}

.popup-btn {
  border: 1px solid var(--white);
  border-radius: 28px;
  padding: 16px 32px;

  font-family: var(--second-family);
  font-weight: 500;
  font-size: 20px;
  line-height: 150%;
  color: var(--white);

  transition: color 0.3s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: var(--white);
  color: var(--black);
}

.popup-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

@media screen and (min-width: 1437px) {
  .popup {
    padding: 33px;
  }

  .popup-container {
    display: flex;
    align-items: center;
    gap: 64px;
  }

  .popup-text {
    font-size: 20px;
    margin: 0;
    text-align: start;
  }

  .popup-wrap {
    flex-direction: row;
    flex-shrink: 0;
    gap: 32px;
  }
}
