/* basic */

ul,
ol {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

button {
  cursor: pointer;
  display: block;
  font-family: inherit;
}

img {
  display: block;
  max-width: 100%;
}

a {
  text-decoration: none;
  display: block;
  color: inherit;
}

input {
  outline: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  margin: 0;
}

body {
  font-family: "Poppins", sans-serif;
  color: #22343d;
  background-color: #fff;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  margin: -1px;
  border: 0;
  padding: 0;

  white-space: nowrap;
  clip-path: inset(100%);
  clip: rect(0 0 0 0);
  overflow: hidden;
}

.container {
  max-width: 411px;
  padding: 0 20px;
  margin: 0 auto;
}

/* mobile */

/* header */

.header {
  box-shadow: 0 -2px 8px 0 rgba(0, 0, 0, 0.25);
}

.header-items {
  display: flex;
  justify-content: space-between;
  padding-left: 32px;
  padding-right: 27px;
}

.header-title {
  display: flex;
  align-items: center;
  gap: 8px;

  padding: 17px 0;
}

.header-title {
  font-weight: 700;
  font-size: 30px;
  line-height: 0.93;
  color: #173a56;
}

.header-desktop {
  display: none;
}

.menu-button {
  background-color: inherit;
  border: none;
}

.menu-icon {
  fill: #173a56;
}

/* hero */

.hero-section {
  padding: 29px 0 100px 0;
}

.hero-items,
.hero-thumb {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-title {
  margin: 11px 0 16px 0;
  font-size: 36px;
  line-height: 1.67;
  text-align: center;
}

.hero-text {
  text-align: center;
  font-size: 18px;
  line-height: 1.56;
  width: 326px;
  margin-bottom: 20px;
}

.hero-btns {
  display: flex;
  align-items: center;
  gap: 28px;
}

.btn {
  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 4px;
  height: 53px;
  border: none;
  background-color: #02897a;
  color: #fff;
  font-weight: 700;

  transition: background-color 250ms ease-in-out;
}

.btn:hover,
.btn:focus {
  background-color: #054840;
}

.get-started-btn {
  min-width: 142px;
}

.watch-the-video-btn {
  min-width: 165px;
  height: 23px;

  display: flex;
  align-items: center;
  gap: 9px;

  font-weight: 600;
  text-decoration: underline;
  color: #02897a;
  background-color: #fff;
  border: none;

  transition: color 250ms ease-in-out;
}

.watch-the-video-icon {
  fill: #02897a;

  transition: fill 250ms ease-in-out;
}

.watch-the-video-btn:hover,
.watch-the-video-btn:focus {
  color: #054840;
}

.watch-the-video-btn:hover .watch-the-video-icon,
.watch-the-video-btn:focus .watch-the-video-icon {
  fill: #054840;
}

/* benefits section */

.benefits-section {
  padding-bottom: 100px;
}

.benefits-items {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.benefits-title {
  font-size: 32px;
  text-align: center;

  margin-bottom: 50px;
}

.benefits-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;

  margin-bottom: 32px;
}

.benefits-item {
  display: inherit;
  flex-direction: column;
  align-items: center;
}

.benefits-icon-bg {
  width: 50px;
  height: 50px;
  border-radius: 19px;

  display: flex;
  justify-content: center;
  align-items: center;

  margin-bottom: 24px;
}

.benefits-item:nth-child(1) .benefits-icon-bg {
  background-color: #02897a;
}

.benefits-item:nth-child(2) .benefits-icon-bg {
  background-color: #4d8dff;
}

.benefits-item:nth-child(3) .benefits-icon-bg {
  background-color: #740a76;
}

.benefits-item:nth-child(4) .benefits-icon-bg {
  background-color: #f03e3d;
}

.benefits-icon {
  fill: #fff;
}

.benefits-item-title {
  font-weight: 600;
  font-size: 22px;

  margin-bottom: 8px;
}

.benefits-item-text {
  line-height: 1.63;
  text-align: center;

  width: 240px;
}

.benefits-btn {
  min-width: 175px;

  transition: background-color 250ms ease-in-out;
}

/* use cases section */

.cases-section {
  padding-bottom: 141px;
}
.cases-section-container {
  padding: 0 31px;
}

.cases-list {
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.cases-img {
  margin-bottom: 50px;
}

.cases-title {
  font-weight: 600;
  font-size: 16px;
  margin-bottom: 16px;
}

.cases-title-span {
  display: block;
  font-weight: 700;
  font-size: 32px;
  margin-top: 8px;
}

.cases-text {
  line-height: 1.63;
}

.managment-list,
.collaborative-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.cases-subtitle {
  font-weight: 600;
  line-height: 1.63;
  margin-bottom: 12px;
}

.support-list {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.support-item {
  display: flex;
  gap: 30px;
  align-items: center;
}

.tick-icon-bg {
  width: 35px;
  height: 35px;
  border-radius: 14px;
  flex-shrink: 0;

  display: flex;
  justify-content: center;
  align-items: center;
}

.support-item:first-child .tick-icon-bg {
  background-color: #f90;
}

.support-item:nth-child(2) .tick-icon-bg {
  background-color: #f03e3d;
}

.support-item:last-child .tick-icon-bg {
  background-color: #4d8dff;
}

.tick-icon {
  fill: #fff;
}

/* quick n easy process */

.process-section {
  padding-bottom: 100px;
}

.process-container {
  padding: 0 31px;
}

.process-title {
  font-size: 32px;
  margin: 0 auto;
}

.process-text {
  font-weight: 500;
  line-height: 1.63;
  text-align: center;

  margin: 8px 0 40px 0;
}

.process-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  margin-bottom: 32px;
}

.process-item {
  display: flex;
  align-items: center;
  justify-content: space-around;
}

.process-item:nth-child(2),
.process-item:last-child {
  flex-direction: row-reverse;
}

.process-item-text {
  text-align: center;
  width: 197px;
  font-weight: 500;
}

.process-btn {
  margin: 0 auto;
  width: 216px;
}

/* strategy section */

.strategy-container {
  padding: 0 31px;
}

.strategy-title {
  font-size: 34px;

  margin-bottom: 8px;
}

.strategy-text {
  font-weight: 500;
  line-height: 1.63;
  text-align: center;

  margin-bottom: 40px;
}

.strategy-list {
  display: flex;
  flex-direction: column;
  gap: 56px;
}

.strategy-item-text {
  margin: 24px 0 12px 0;
  line-height: 1.75;
}

.strategy-author-link {
  display: inline;
  font-weight: 700;
}

.strategy-author-link:hover,
.strategy-author-link:focus {
  text-decoration: underline;
}

.strategy-item-link {
  font-weight: 700;
  font-size: 24px;
  line-height: 1.67;
  max-width: 294px;

  transition: color 250ms ease-in-out;
}

.strategy-item-link:hover,
.strategy-item-link:focus {
  color: #02897a;
}

/* price section */

.price-section {
  padding-top: 98px;
}

.price-container {
  padding: 0 44px;
}

.price-title {
  font-size: 34px;
  margin-bottom: 8px;
  text-align: center;
}

.price-text {
  font-weight: 500;
  text-align: center;
  margin-bottom: 74px;
}

.price-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.price-item {
  box-shadow: 0 2px 8px 0 rgba(0, 0, 0, 0.25);
  padding: 24px 0 32px 0;
  max-width: 323px;
  border-radius: 8px;
}

.price-item-title {
  text-align: center;
  font-size: 24px;
  line-height: 1.67;

  margin-bottom: 8px;
}

.price-item-text {
  line-height: 2.5;
  text-align: center;

  margin-bottom: 16px;
}

.price {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin-bottom: 16px;
}

.price-value {
  font-weight: 700;
  font-size: 76px;
  line-height: 1.32;
  letter-spacing: 0em;
  color: #02897a;
}

.price-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.price-sup {
  font-family: "Inter", sans-serif;
  font-weight: 700;
  font-size: 24px;
  line-height: 1.25;
  letter-spacing: 0em;
  color: #02897a;
}

.price-sub {
  line-height: 1.19;
  letter-spacing: 0.01em;
  color: #afafaf;
}

.price-benefits-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 38px;
}

.price-benefits-text {
  font-family: "Inter", sans-serif;
  font-weight: 500;
  line-height: 1.38;
  letter-spacing: 0.01em;
  text-align: center;
}

.order-btn {
  min-width: 139px;
  height: 44px;
  border-radius: 8px;
  margin: 0 auto;

  font-family: "Montserrat", sans-serif;
  font-weight: 600;
  font-size: 18px;
}

/* second child */

.price-item:nth-child(2) {
  background-color: #02897a;
}

.price-item:nth-child(2) .price-item-title,
.price-item:nth-child(2) .price-item-text,
.price-item:nth-child(2) .price-value,
.price-item:nth-child(2) .price-sup,
.price-item:nth-child(2) .price-benefits-text {
  color: #fff;
}

.price-item:nth-child(2) .order-btn,
.cta-btn {
  background-color: #fff;
  color: #02897a;

  transition: background-color 250ms ease-in-out;
}

.price-item:nth-child(2) .order-btn:hover,
.price-item:nth-child(2) .order-btn:focus,
.cta-btn:hover,
.cta-btn:focus,
.header-btns-item:first-child .header-btn:focus,
.header-btns-item:first-child .header-btn:hover {
  background-color: #e3e3e3;
}

/* comments section */

.comments-sections {
  padding: 100px 0;
}

.comments-container {
  padding: 0 42px;
}

.comments-title {
  font-size: 34px;
  line-height: 1.68;
  letter-spacing: 0.01em;
  text-align: center;

  margin-bottom: 8px;
}

.comments-text {
  font-weight: 500;
  line-height: 1.75;
  letter-spacing: 0.01em;
  text-align: center;

  margin-bottom: 32px;
}

.comments-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.comments-item {
  border: 1px solid #dedede;
  border-radius: 5px;

  padding: 28px 26px 24px 26px;
}

.stars {
  display: flex;
  gap: 3.67px;

  margin-bottom: 16px;
}

.icon-star-full,
.icon-star {
  fill: #f3cd03;
}

.comments-item-text {
  line-height: 1.75;
  letter-spacing: 0.01em;
  color: #32454f;

  margin-bottom: 16px;
}

.member-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.member-link {
  font-weight: 600;
  line-height: 1.5;
  letter-spacing: 0.01em;
  color: #02897a;

  transition: color 250ms ease-in-out;
}

.member-link:hover,
.member-link:focus {
  color: #054840;
}

.member-text {
  font-weight: 500;
  font-size: 14px;
  line-height: 1.71;
  letter-spacing: 0.01em;
  color: #252b42;
}

/* cta section */

.cta-section {
  padding: 100px;
}

.cta-items {
  background-color: #02897a;
  border-radius: 32px;
  padding-top: 17px;
}

.cta-text {
  font-weight: 600;
  font-size: 32px;
  line-height: 1.514;
  text-align: center;
  color: #fff;
  width: 328px;
  margin: 0 auto;

  margin-bottom: 54px;
}

.cta-btn {
  border-radius: 8px;
  border: none;
  font-weight: 600;
  font-size: 20px;
  min-width: 150px;
  height: 50px;
  margin: 0 auto;

  margin-bottom: 32px;
}

/* footer */

.footer-container {
  padding: 0 25px 45px 25px;
}

.footer-items {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.footer-logo-title {
  margin-bottom: 25px;
}

.footer-logo-title a {
  gap: 16px;
}

.socials {
  display: flex;
  gap: 16px;

  margin-bottom: 32px;
}

.socials-icon-bg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #edfffc;

  transition: background-color 250ms ease-in-out;

  display: flex;
  justify-content: center;
  align-items: center;
}

.socials-icon-bg:hover,
.socials-icon-bg:focus {
  background-color: #02897a;
}

.socials-icon {
  fill: transparent;
  stroke: #02897a;

  transition: stroke 250ms ease-in-out;
}

.socials-icon-bg:hover .socials-icon,
.socials-icon-bg:focus .socials-icon {
  stroke: #edfffc;
}

.footer-resource,
.footer-stuff,
.footer-form-title {
  font-weight: 500;
  font-size: 20px;
  line-height: 1.5;
  text-align: center;

  margin-bottom: 8px;
}

.resource-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;

  margin-bottom: 32px;
}

.resource-link,
.stuff-link {
  line-height: 2.19;

  transition: font-weight 250ms ease-in-out;
}

.resource-link:hover,
.resource-link:focus,
.stuff-link:hover,
.stuff-link:focus {
  font-weight: 500;
}

.stuff-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: center;
}

.footer-form-title {
  margin: 32px 0 34px 0;
}

.form-input {
  border: 1px solid #bcd0e5;
  border-radius: 4px;
  width: 325px;
  height: 48px;
  padding-left: 15px;
}

.form-btn {
  margin: 21px auto 44px auto;

  min-width: 131px;
  height: 39px;
}

.footer-allrights {
  line-height: 1.88;
}

/* desktop */

@media screen and (min-width: 1150px) {
  .container {
    max-width: 1150px;
    padding: 0 20px;
  }

  /* header */

  .header {
    box-shadow: none;
  }

  .header-title {
    padding: 22px 0;
  }

  .menu-button {
    display: none;
  }

  .header-desktop {
    display: flex;
    gap: 73px;
    align-items: center;
  }

  .header-nav-list {
    display: flex;
    gap: 30px;
  }

  .header-nav-link {
    padding: 26px 0;
    line-height: 1.75;
  }

  .current {
    font-weight: 600;
  }

  .header-btns {
    display: flex;
    gap: 21px;
    align-items: center;
  }

  .header-btn {
    min-width: 113px;
    height: 42px;
    font-weight: 600;
  }

  .header-btns-item:first-child .header-btn {
    min-width: 105px;
    background-color: #fff;
    border: 1px solid #bcd0e5;
    color: #173a56;

    transition: background-color 250ms ease-in-out;
  }

  /* hero */

  .hero-section {
    padding: 25px 0 100px 0;
  }

  .hero-items {
    flex-direction: row-reverse;
    justify-content: space-between;
  }

  .hero-thumb {
    align-items: flex-start;
  }

  .hero-title {
    text-align: start;
    font-size: 40px;
    line-height: 1.5;
    width: 420px;

    margin: 0 0 16px 0;
  }

  .hero-text {
    text-align: start;
    width: 459px;

    margin-bottom: 45px;
  }

  .hero-btns {
    gap: 30px;
  }

  .get-started-btn {
    min-width: 178px;
  }

  /* benefits */

  .benefits-section {
    padding-bottom: 50px;
  }

  .benefits-items {
    display: block;
  }

  .benefits-title {
    width: 535px;

    margin: 0 auto 50px auto;
  }

  .benefits-list {
    flex-direction: row;
    gap: 30px;
    align-items: flex-start;

    margin-bottom: 50px;
  }

  .benefits-item {
    align-items: flex-start;
    width: calc((100% - 90px) / 4);
  }

  .benefits-icon-bg {
    margin-bottom: 26px;
  }

  .benefits-item-title {
    margin-bottom: 13px;
  }

  .benefits-item-text {
    text-align: start;
    width: 100%;
  }

  .benefits-btn {
    margin: 0 auto;
  }
}
