.main-section {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9;
  padding: 24px 0;
  border: 1px solid #d5d5d5;
  background: #f4f4f4;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.header-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 24px;
  line-height: 133%;
  color: #1a212d;
}

.page-nav {
  display: none;
}

.page-nav-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
}

.page-nav-link {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 16px;
  line-height: 150%;
  color: #1a212d;
  transition: border-color 0.3s ease;
}

.page-nav-link:hover {
  border-color: #fff;
}

.menu-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
}

.built-link {
  display: none;
}

@media screen and (min-width: 1436px) {
  .main-section {
    padding: 30px 0;
  }

  .page-nav {
    display: block;
  }

  .menu-btn {
    display: none;
  }

  .built-link {
    display: block;
    font-family: var(--font-family);
    font-weight: 700;
    font-size: 14px;
    line-height: 143%;
    text-align: center;
    color: #1a212d;
    padding: 12px 24px;
    border: 1px solid #19c916;
    border-radius: 10px;
    transition: color 0.3s ease, background-color 0.3s ease;
  }

  .built-link:hover {
    background: #026500;
    color: #fff;
  }
}

/* modal  */

.menu {
  position: fixed;
  top: 100px;
  left: 0;
  width: 100%;
  border: 1px solid #d5d5d5;
  padding: 24px 40px;
  z-index: 8;
  background: #f4f4f4;
  transform: translateX(100%);
  transition: transform 1s ease;
}

.menu-nav-list {
  flex-direction: column;
  align-items: flex-start;
  gap: 36px;
}

.modal-built-link {
  display: block;
  margin-top: 40px;
  width: 150px;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #1a212d;
  padding: 12px 24px;
  border: 1px solid #19c916;
  border-radius: 10px;
  transition: color 0.3s ease, background-color 0.3s ease;
}

/* popup */

.page-popup {
  position: fixed;
  z-index: 10;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 7px;
  padding: 20px;
  transition: transform 0.4s ease;
  box-shadow: 5px 15px 20px 0 rgba(0, 0, 0, 0.25);
  background: #026500;
}

.popup-text {
  font-family: var(--third-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
  margin-bottom: 14px;

  a {
    text-decoration: underline;
    text-decoration-skip-ink: none;
    color: #101010;
  }
}

.popup-btn {
  font-family: var(--third-family);
  font-weight: 600;
  font-size: 14px;
  line-height: 143%;
  color: #fff;
  display: block;
  width: 72px;
  text-align: center;
  border: 1px solid #fbf6f0;
  border-radius: 8px;
  padding: 10px;
  transition: color 0.2s ease, background-color 0.2s ease;
}

.popup-btn:hover {
  background: #fff;
  color: #101010;
}

.popup-wrap {
  display: flex;
  justify-content: center;
  gap: 18px;
}

@media screen and (min-width: 1436px) {
  .page-popup {
    padding: 20px 88px;
  }

  .popup-text {
    margin: 0;
  }

  .popup-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 13px;
  }

  .popup-wrap {
    flex-shrink: 0;
  }
}

/* hero  */

.dashboard {
  padding-top: 108px;
  padding-bottom: 40px;
}

.page-hero-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 56px;
  line-height: 107%;
  color: #1a212d;
  margin-bottom: 24px;

  span {
    display: block;
    color: #19c916;
  }
}

.page-hero-text {
  font-family: var(--font-family);
  font-size: 16px;
  line-height: 150%;
  font-weight: 400;
  color: #6f6f6f;
  border: 1px solid #a7a7a7;
  border-radius: 24px;
  padding: 24px 20px;
  margin-bottom: 16px;

  span {
    font-weight: 700;
    color: #19c916;
  }
}

.page-hero-description {
  border: 1px solid #a7a7a7;
  border-radius: 24px;
  padding: 20px;
  margin-bottom: 24px;

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #6f6f6f;
    margin-bottom: 36px;
  }

  span {
    display: block;
    font-weight: 700;
  }
}

.page-hero-link {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  color: #fff;
  display: block;
  width: 258px;
  border-radius: 50px;
  padding: 12px 56px;
  background: #19c916;
  transition: background-color 0.3s ease;
}

.page-hero-link:hover {
  background: #026500;
}

.hero-image-cover {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

@media screen and (min-width: 1436px) {
  .dashboard {
    padding-top: 160px;
    padding-bottom: 70px;
  }

  .hero-title-wrap {
    display: flex;
    gap: 24px;
    margin-bottom: 28px;
  }

  .page-hero-title {
    font-size: 68px;
    margin: 0;
  }

  .page-hero-text {
    font-size: 20px;
    margin: 0;
    width: 484px;
    flex-shrink: 0;
    padding-top: 70px;
  }

  .page-hero-description {
    margin-bottom: 28px;

    p {
      font-size: 20px;
      margin-bottom: 36px;
    }
  }

  .hero-image-cover {
    flex-direction: row;
    gap: 20px;
  }

  .hero-image-1 {
    width: 484px;
  }
}

/* infrastructure */

.infrastructure-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 18px;
  line-height: 156%;
  color: #6f6f6f;
  margin-bottom: 40px;
}

.infrastructure-list {
  display: flex;
  flex-direction: column;
  gap: 28px;

  li {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    text-align: center;
    color: #1a212d;
    padding: 0 65px;
  }

  img {
    width: 48px;
    margin: 0 auto;
    margin-bottom: 16px;
  }
}

.infrastructure-description {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 20px;
  line-height: 140%;
  text-align: center;
  color: #19c916;
  margin-top: 28px;

  padding: 28px 20px;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #fff;
}

@media screen and (min-width: 768px) {
  .infrastructure-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 28px) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  .infrastructure-text {
    max-width: 885px;
    margin: 0 auto;
    margin-bottom: 40px;
  }

  .infrastructure-list {
    gap: 36px;

    li {
      padding: 0;
      width: calc((100% - 108px) / 4);
    }
  }

  .infrastructure-description {
    padding: 48px 56px;
    font-size: 24px;
    margin-top: 32px;
  }
}

/* stack */

.stack-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border: 1px solid #d8dee8;
    border-radius: 12px;
    padding: 32px 24px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    background: #fff;
  }

  img {
    width: 64px;
    margin-bottom: 24px;
  }

  p {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 19px;
    line-height: 141%;
    color: #1a212d;
    margin-bottom: 24px;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #1a212d;
  }
}

@media screen and (min-width: 768px) {
  .stack-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  .stack-list {
    li {
      width: calc((100% - 72px) / 4);
    }
  }
}

/* frontlines-list */

.frontlines-list {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.frontlines-item {
  border: 1px solid #d8dee8;
  border-radius: 12px;
  padding: 32px 16px;
  background: #fafafa;

  img {
    width: 48px;
    flex-shrink: 0;
  }

  h5 {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 20px;
    line-height: 140%;
    color: #1a212d;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #556991;
    margin-bottom: 12px;
  }

  span {
    display: block;
    border-left: 4px solid #19c916;
    border-radius: 12px;
    padding: 4px 0;
    padding-left: 12px;

    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #19c916;
  }
}

.frontlines-wrapper {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 20px;
}

.banner {
  width: 100%;
  margin: 28px 0;
}

@media screen and (min-width: 1436px) {
  .frontlines-container {
    padding: 0 182px;
  }
  .banner {
    margin: 40px 0;
  }

  .frontlines-list {
    gap: 40px;
    flex-direction: row;
  }

  .frontlines-item {
    width: calc((100% - 40px) / 2);
    padding: 36px;
  }
}

/* secure */

#secure {
  background-image: url(../img/8c518c8b-5ae8-45ae-9b24-69b22c250c9d\ 1.jpg);
  background-position: center;
  background-size: cover;
}

.secure-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border: 1px solid #d8dee8;
    border-radius: 12px;
    padding: 24px 22px;
    background: #f6f6f6;
  }

  div {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 16px;
  }

  img {
    width: 30px;
    flex-shrink: 0;
  }

  span {
    font-family: var(--second-family);
    font-weight: 700;
    font-size: 18px;
    line-height: 156%;
    color: #1a212d;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #556991;
  }
}

.secure-text {
  padding: 36px 48px;
  border: 1px solid #d8dee8;
  border-radius: 12px;
  background: #f6f6f6;
  margin-top: 28px;
  font-size: 18px;
  font-family: var(--font-family);
  font-weight: 400;
  color: #556991;
  line-height: 156%;
  text-align: center;

  span {
    color: #1a212d;
    font-weight: 600;
  }
}

@media screen and (min-width: 768px) {
  .secure-list {
    flex-direction: row;
    flex-wrap: wrap;

    li {
      width: calc((100% - 24px) / 2);
    }
  }
}

@media screen and (min-width: 1436px) {
  .secure-list {
    li {
      width: calc((100% - 48px) / 3);
    }
  }
}

/* built-list */

.built-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 28px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 20px;
  line-height: 140%;
  color: #1a212d;
}

@media screen and (min-width: 1436px) {
  .built-container {
    display: flex;
    gap: 48px;

    .title {
      text-align: start;
    }
  }
}

/* partners-list */

.partners-list {
  display: flex;
  flex-direction: column;
  gap: 24px;

  li {
    border: 1px solid #d8dee8;
    border-radius: 12px;
    padding: 36px;
    background: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 36px;
    transition: background-color 0.3s ease, border-color 0.3s ease;
  }

  p {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 18px;
    line-height: 156%;
    color: #556991;
  }

  h4 {
    font-family: var(--font-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #1a212d;
  }

  span {
    font-family: var(--font-family);
    font-weight: 400;
    font-size: 14px;
    line-height: 143%;
    color: #556991;
  }

  .green {
    background-color: #d3ffd2;
    border-color: #19c916;
  }
}

@media screen and (min-width: 1436px) {
  .partners-list {
    flex-direction: row;
    gap: 36px;

    li {
      width: calc((100% - 72px) / 3);
    }
  }
}

/* connect  */

#connect {
  background-image: url(../img/2151672464\ 1.jpg);
  background-position: center;
  background-size: cover;
}

.consultation-form {
  width: 580px;
  margin: 0 auto;
  max-width: 100%;
}

.input-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  margin-bottom: 24px;
}

.full-width {
  width: 100%;
  margin-bottom: 24px;
}

.input-group label {
  font-family: var(--font-family);
  font-weight: 500;
  font-size: 14px;
  line-height: 143%;
  color: #1a212d;
  margin-bottom: 8px;
}

.input-group input,
.input-group textarea {
  border: 1px solid #d8dee8;
  border-radius: 10px;
  background: #fafafa;
  outline: none;
  padding: 13px;
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  color: #556991;
  resize: none;
}

.submit-btn {
  width: 100%;
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #fff;
  border-radius: 10px;
  background: #19c916;
  padding: 13px;
  transition: background-color 0.3s;
}

.submit-btn:hover {
  background: #026500;
}

.contact-cover {
  border: 1px solid #d8dee8;
  border-radius: 12px;
  padding: 24px 20px;
  background: #fafafa;
  width: 580px;
  margin: 0 auto;
  max-width: 100%;
  margin-top: 36px;
}

.contact-title {
  font-family: var(--second-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 156%;
  color: #1a212d;
  margin-bottom: 16px;
}

.contact-list {
  display: flex;
  flex-direction: column;
  gap: 16px;

  li {
    display: flex;
    align-items: center;
    gap: 16px;

    font-family: var(--font-family);
    font-weight: 400;
    font-size: 16px;
    line-height: 150%;
    color: #556991;
  }

  img {
    width: 30px;
    flex-shrink: 0;
  }

  a:hover {
    color: #19c916;
  }
}

@media screen and (min-width: 1436px) {
  #connect {
    .title {
      max-width: 655px;
      margin: 0 auto;
      margin-bottom: 60px;
    }
  }

  .row {
    display: flex;
    gap: 24px;
  }

  .consultation-form {
    margin: 0;
  }

  .contact-cover {
    width: 267px;
    margin: 0;
  }

  .connect-wrapper {
    display: flex;
    align-items: flex-end;
    gap: 36px;
  }
}

/* footer */

.footer {
  padding: 40px 0;
  border: 1px solid #d8dee8;
  background: #fafafa;
}

.footer-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-bottom: 24px;

  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  color: #556991;

  a:hover {
    text-decoration: underline;
  }
}

.footer-text {
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 143%;
  text-align: center;
  color: #556991;
  margin-bottom: 24px;
}

.linkedin {
  display: block;
  margin: 0 auto;
  width: 20px;
  transition: transform 0.3s ease;
}
.linkedin:hover {
  transform: scale(1.2);
}

@media screen and (min-width: 1436px) {
  .footer {
    padding: 40px 0;
  }

  .footer-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .footer-text {
    margin: 0;
  }

  .footer-list {
    margin: 0;
  }

  .linkedin {
    margin: 0;
  }
}

/* loader */

#preloader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(94, 95, 147, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.spinner {
  width: 60px;
  height: 60px;
  border: 6px solid #ccc;
  border-top-color: #19c916;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* scroll */

#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 20px;
  border: 1px solid #19c916;
  background-color: #fff;
  color: #19c916;
  padding: 10px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  z-index: 7;
  opacity: 0;
  transform: translateY(20px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
}

#scrollTopBtn.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

/* ********************* */

.hidden {
  display: none;
}

.menu-transform {
  transform: translateX(0);
}

.click {
  transform: rotate(135deg);
}

.popup-click {
  transform: translateY(130%) translateX(-50%);
}

.overflow {
  overflow: hidden;
}
