/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
  font-family: "Inter", sans-serif;
  font-weight: 400;
  hyphens: none;
  scroll-behavior: smooth;
  background-color: #fff;
}

.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

footer {
  padding: 32px 0;
  border-top: 1px solid #e5e5e5;
}

.footer__wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  gap: 28px 48px;
}

.footer__column:first-child {
  flex: 0 0 100%;
  width: 100%;
}

.footer__column {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  list-style: none;
}

.footer__logos {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  align-items: center;
  justify-items: center;
  column-gap: 40px;
  width: 100%;
}

.footer__logos .logo {
  grid-column: 2;
  width: min(34vw, 460px);
  height: auto;
}

.footer__msa-logo {
  grid-column: 4;
  width: min(22vw, 270px);
  height: auto;
}

.footer__column ul {
  list-style: none;
}

.footer__link {
  text-decoration: none;
  font-weight: 400;
  line-height: 19px;
  color: #000;
  cursor: pointer;
}

.footer__link:hover {
  text-decoration: underline;
}

.footer-shedule_mobile {
  display: none;
}

/* Pricing and Agreements Styles */
.pricing-agreements {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 12px;
  line-height: 15px;
  color: #1E2B69;
}

/* About us */
.about-us-page {
  padding: 70px 24px;
}

.about-us-page__container {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: center;
}

.about-us-page__title {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #1E2B69;
}

.about-us-page__text {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 27px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #000000;
}

.about-us-page__subtitle {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-size: 30px;
  line-height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: #039BE5;
}

.instruction-models {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: center;
}

.instruction-card {
  width: 100%;
  max-width: 980px;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 0;
  padding: 0;
  border: none;
  border-radius: 24px;
  background-color: #039BE5;
  position: relative;
  z-index: 10;
  min-height: 200px;
}

.instruction-card__number {
  padding: 0 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-size: 120px;
  line-height: 145px;
  text-align: center;
  color: #FFFFFF;
  border-radius: 24px;
  flex-shrink: 0;
  z-index: 1;
}

.instruction-card__body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #ffffff;
  padding: 28px 32px;
  border-radius: 24px;
  border: 2px solid #6aa5e8;
  position: relative;
  z-index: 2;
}

.instruction-card__text {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 700;
  font-size: 22px;
  line-height: 27px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #000000;
}

/* Features Section */
.features-section {
  background-color: #d4e9f7;
  padding: 100px 24px 50px;
  margin-top: -140px;
  position: relative;
  z-index: 5;
}

.features-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  gap: 40px;
  justify-content: center;
}

.feature-card {
  flex: 1;
  max-width: 450px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.feature-card__icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
}

.feature-card__text {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  font-size: 22px;
  line-height: 27px;
  display: flex;
  align-items: center;
  text-align: center;
  color: #000000;
}

@media screen and (max-width: 800px) {
  .container {
    padding: 0 12px;
  }

  .about-us-page {
    padding: 40px 16px;
  }

  .about-us-page__title {
    font-size: 32px;
    line-height: 40px;
  }

  .about-us-page__text {
    font-size: 18px;
    line-height: 24px;
  }

  .about-us-page__subtitle {
    font-size: 24px;
    line-height: 30px;
  }

  .instruction-card {
    flex-direction: column;
    padding: 0;
    min-height: auto;
  }

  .instruction-card__number {
    position: static;
    transform: none;
    width: 120px;
    height: 120px;
    font-size: 72px;
    line-height: 86px;
    border-radius: 20px;
    z-index: 1;
  }

  .instruction-card__body {
    margin-left: 0;
    margin-top: -40px;
    border-radius: 0 0 20px 20px;
    border-left: 2px solid #6aa5e8;
    padding: 50px 20px 20px 16px;
    z-index: 2;
  }

  .instruction-card__text {
    font-size: 18px;
    line-height: 24px;
  }

  .features-container {
    flex-direction: column;
    gap: 24px;
  }

  .feature-card {
    max-width: 100%;
  }

  .feature-card__icon {
    width: 60px;
    height: 60px;
  }

  .feature-card__text {
    font-size: 18px;
    line-height: 24px;
  }

  .footer__wrapper {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 16px;
  }

  footer {
    padding: 28px 0;
  }

  .footer__logos {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
  }

  .footer__logos .logo {
    width: min(82vw, 360px);
    height: auto;
  }

  .footer__msa-logo {
    width: min(70vw, 260px);
    height: auto;
  }
}

@media (min-width: 801px) {
  .footer__wrapper {
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 44px;
    row-gap: 20px;
  }

  .footer__wrapper > .footer__column:first-child {
    order: 2;
    display: flex;
    flex: 0 0 100%;
    justify-content: center;
    margin-top: 12px;
    padding-top: 28px;
    border-top: 1px solid #d9e0e8;
  }

  .footer__wrapper > .footer__column:not(:first-child) {
    flex: 0 1 180px;
  }

  .footer__logos .logo {
    width: min(31vw, 460px);
    max-width: none;
  }

  .footer__msa-logo {
    width: clamp(280px, 32vw, 420px);
  }
}

@media (max-width: 800px) {
  .footer__logos .logo {
    width: min(70vw, 308px);
    max-width: 308px;
    height: auto;
  }

  .footer__msa-logo {
    width: min(76vw, 280px);
    max-width: 280px;
    height: auto;
  }
}
