* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  list-style: none;
  text-decoration: none;
}

a,
button {
  cursor: pointer;
  background: transparent;
  transition: all 0.2s linear;
  border: none;
  color: inherit;
}

:root {
  scroll-behavior: smooth;
}

body {
  font-family: "Mulish", sans-serif;
}

.wrapper {
  display: flex;
  justify-content: space-between;
  flex-direction: column;
  height: 100%;
  min-height: 100vh;
}

.container {
  max-width: 1440px;
  width: 100%;
  margin-inline: auto;
  padding-inline: 15px;
}

.link {
  width: 121px;
  height: 43px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 30px;
  border: 1px solid #0779e4;
  background: #0779e4;
  color: #fff;
  text-align: center;
  font-size: 14px;
  line-height: 1.5;
}

img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

/* #region header */
.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  display: block;
  z-index: 1111;
  padding-block: 12px;
}
.header__inner {
  display: flex;
  padding-inline: 31px;
  gap: 43px;
  align-items: center;
}
.header__logo {
  width: 66px;
  height: 66px;
}
.header__logo img {
  object-fit: contain;
}
.header__nav {
  margin-left: 32%;
  display: flex;
  align-items: center;
  gap: 42px;
}

.header__nav a {
  color: rgba(255, 255, 255, 0.5);
  font-size: 14px;
  line-height: 1.6;
}
.header__nav a.active {
  color: #fff;
}
.header__nav a:hover {
  color: #fff;
}
.close-img {
  display: none;
}

.header__menu {
  display: none;
  width: 55px;
  height: 55px;
  padding: 10px;
}

.header__menu img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}
/* #endregion header */

/* #region home */
.home {
  position: relative;
  background-color: #fff;
  padding-block: 180px 38px;
}
.home__bg {
  content: "";
  position: absolute;
  display: block;
  width: 60%;
  top: 0;
  right: 0;
  height: 100%;
  object-position: left 16%;
}
.home__inner {
  position: relative;
  z-index: 111;
  max-width: 38%;
}

.home__title {
  color: #000;
  font-size: 64px;
  font-weight: 400;
  margin-bottom: 112px;
}

.home__text {
  max-width: 331px;
  color: #212529;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
  margin-bottom: 12px;
}

.home__link {
  margin-bottom: 45px;
}
.home__btn {
  display: block;
  max-width: 240px;
  width: 100%;
}
.home__btn img {
  object-fit: contain;
}
/* #endregion home */

/* #region about */
.about {
  padding-block: 64px 48px;
  background: #222;
}

.about__stat {
  width: 100%;
  max-width: 932px;
  margin-inline: auto;
  display: flex;
  gap: 96px;
  margin-bottom: 76px;
}

.about__item {
  line-height: 1.6;
}

.about__count {
  color: #fff;
  font-size: 48px;
}

.about__label {
  color: #aaa;
  font-size: 13px;
  font-weight: 400;
}

.about__content {
  display: flex;
  justify-content: center;
  gap: 58px;
}

.about__img {
  display: block;
  width: 100%;
  max-width: 398px;
}

.about__info {
  max-width: 477px;
  width: 100%;
}

.about__text {
  color: #eee;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 12px;
}

/* #endregion about */

/* #region features */
.features {
  padding-block: 28px 5px;
  font-family: "Mulish", sans-serif;
}

.features__inner {
  padding: 70px 43px 95px 70px;
  background: #222;
}

.features__title {
  color: #dddde6;
  font-size: 12px;
  font-weight: 400;
  line-height: 1.2;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  margin-bottom: 60px;
}

.features__blocks {
  display: flex;
  justify-content: space-between;
  gap: 30px;
}

.features__item {
  width: 33%;
}

.features__label {
  color: #fff;
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 44px;
}

.features__text {
  color: #aaa;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

/* #endregion features */

/* #region blog */
.blog {
  padding-block: 38px;
  background-color: #fff;
  color: #000;
  text-align: center;
}

.blog__title {
  font-size: 32px;
  font-weight: 400;
  line-height: 1.2;
  margin-bottom: 10px;
}

.blog__text {
  color: #212529;
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 37px;
  max-width: 608px;
  margin-inline: auto;
  width: 100%;
}

.blog__blocks {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

.blog__item {
  max-width: 25%;
  width: 100%;
  display: flex !important;
  flex-direction: column;
  align-items: center;
  gap: 28px;
}
.blog__label {
  font-size: 18px;
  font-weight: 400;
  line-height: 1.2;
}
.blog__img {
  object-fit: contain;
}
.slick-dots {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
}
.slick-slider {
  position: relative;
  padding-bottom: 80px;
}

.slick-dots button {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  font-size: 0;
  display: block;
  background-color: #ccc;
}
.slick-active button {
  background-color: #68b6ff;
}
/* #endregion blog */

/* #region footer */

.footer {
  font-family: "Poppins", sans-serif;
  color: #fff;
  padding-block: 25px;
  background: #222;
}
.footer__inner {
  position: relative;
}
.footer__links {
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
}
.footer__links a {
  color: #fff;
  font-size: 16px;
}
.footer__links a:hover {
  color: #68b6ff;
}
.footer__copyright {
  text-align: center;
  font-size: 16px;
  line-height: 1.2;
}
/* #endregion footer */
@media (max-width: 1220px) {
  .home {
    padding-top: 134px;
  }
  .home__title {
    font-size: 50px;
    margin-bottom: 80px;
  }
}
@media (max-width: 1130px) {
  .blog__label {
    min-height: 44px;
  }
}

@media (max-width: 974px) {
  .home__btn {
    max-width: 190px;
  }
  .home__title {
    font-size: 40px;
  }
  .home__text {
    max-width: 305px;
    font-size: 14px;
    line-height: 1.5;
  }

  .about__img {
    max-width: 320px;
  }
  .footer__inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-direction: row-reverse;
  }
  .footer__links {
    transform: initial;
    position: static;
  }
}

@media (max-width: 900px) {
  .home__bg {
    object-position: initial;
  }
  .header__logo {
    width: 55px;
    height: 55px;
  }
  .header {
    padding-block: 6px;
    background-color: #fff;
    position: relative;
  }
  .header__nav {
    display: none;
    transform: translateY(-100%);
  }
  .header__menu {
    display: block;
  }

  .menu-img {
    display: block;
  }
  .close-img {
    display: none;
  }

  .header__inner {
    justify-content: space-between;
    padding-inline: 0;
  }

  .show-menu .menu-img {
    display: none;
  }
  .show-menu .close-img {
    display: block;
  }
  .show-menu .header__nav {
    z-index: 1111;
    display: flex;
    width: 100%;
    position: absolute;
    top: 66px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: #fff;
    z-index: 10;
    gap: 0;
    transition: all 0.3s;
    opacity: 1;
    transform: translateY(0);
    margin-left: 0;
  }
  .show-menu .header__nav a {
    padding-block: 20px;
    max-width: initial;
    width: 100%;
    font-size: 22px;
    text-align: center;
    color: #000;
    border-bottom: 3px solid rgb(130, 130, 130);
  }
  .show-menu .header__nav a:last-child {
    border-bottom: none;
  }

  .home__title {
    font-size: 36px;
    margin-bottom: 50px;
  }
  .features__inner {
    padding-inline: 30px;
    background: #222;
  }
  .about__content {
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .home {
    padding-block: 78px 13px;
    background-image: url(../images/home-mob.jpg);
    background-position: center 18%;
    background-repeat: no-repeat;
    background-size: cover;
  }
  .home__inner {
    max-width: initial;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .home__title {
    color: #ff8129;
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 0;
    line-height: 64px;
    order: -1;
  }
  .home__text {
    color: #fff;
    font-size: 16px;
    margin-bottom: 12px;
  }
  .home__btn {
    max-width: 120px;
  }
  .home__link,
  .home__bg {
    display: none;
  }

  .features {
    padding-block: 30px;
    background: #222;
  }
  .features__inner {
    padding: 0;
    background: initial;
  }
  .features__title {
    text-align: center;
    font-size: 24px;
    letter-spacing: 1.6px;
    margin-bottom: 48px;
  }
  .features__blocks {
    flex-direction: column;
    gap: 57;
    align-items: center;
  }
  .features__item {
    max-width: 480px;
    width: 100%;
    text-align: center;
  }
  .features__label {
    font-size: 20px;
    margin-bottom: 28px;
  }

  .features__text {
    font-size: 20px;
  }
  .blog {
    padding-block: 28px;
  }
  .blog__title {
    font-size: 32px;
    margin-bottom: 28px;
  }
  .blog__text {
    font-size: 20px;
    margin-bottom: 28px;
  }
  .blog__blocks {
    max-width: 300px;
    margin-inline: auto;
  }
  .blog__label {
    min-height: initial;
  }
  .slick-slider {
    padding-bottom: 45px;
  }
  .about__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 34px;
  }
  .about {
    padding-block: 30px;
  }
  .about__text {
    font-size: 20px;
    margin-bottom: 34px;
  }
  .about__link {
    margin-inline: auto;
  }
  .about__stat {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 25px;
    margin-bottom: 34px;
  }
  .about__item {
    max-width: 132px;
  }
  .about__label {
    font-size: 20px;
  }

  .footer__inner {
    gap: 5px;
    flex-direction: column;
  }
}
@media (max-width: 480px) {
  .footer__inner {
    gap: 5px;
    flex-direction: column;
  }
  .footer__links,
  .footer__copyright {
    font-size: 14px;
  }
}

.terms {
  background-color: #f3f3f1;
  color: #000;
  padding-block: 50px;
}
.terms__inner {
  max-width: 900px;
  margin-inline: auto;
}
.terms__title {
  font-size: 28px;

  font-weight: 600;
  word-wrap: break-word;
  margin-bottom: 20px;
}
.terms p {
  color: #171717;
  font-size: 20px;
  word-wrap: break-word;
  margin-bottom: 20px;
  line-height: 1.5;
}
.terms h2 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 15px;
  padding-top: 10px;
}
@media (max-width: 600px) {
  .terms h2 {
    margin-bottom: 15px;
    padding-top: 5px;
  }
  .terms p {
    margin-bottom: 15px;
  }
}
