:root {
  --default-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
  Ubuntu, "Helvetica Neue", Helvetica, Arial, "PingFang SC",
  "Hiragino Sans GB", "Microsoft Yahei UI", "Microsoft Yahei",
  "Source Han Sans CN", sans-serif;
  --primary-color: #0a65cc;
  --secondary-color: #0f4299;
  --text-color: #5e6670;
  --white-color: #ffffff;
  --background-color: #f8f8f8;
  --text-color-dark: #003d90;
  --light-gray: #99c2ff;
  --dark-gray: #151a29;
  --testimonial-bg: rgba(15, 66, 153, 0.16);
  --shadow-color: rgba(0, 43, 109, 0.05);

}

/* Resetting */
.main-container, .main-container * {
  box-sizing: border-box;
}

input, select, textarea, button {
  outline: 0;
}

.main-container {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  background-color: var(--white-color);
  overflow: hidden;
}


/* Header */
.site-header {
width: 100%;
background-color: var(--white-color);
}
.main-navigation {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 2rem;
  max-width: 1920px;
  margin: 0 auto;
  position: relative;

}

.nav-links {
  display: flex;
  gap: 1rem;
  z-index: 1;

}

.nav-link {
  display: flex;
  align-items: center;
  padding: 0.8rem 1rem;
  background-color: var(--white-color);
  color: var(--text-color);
  box-shadow: 0 -0.2rem 0 0 var(--primary-color) inset;
  text-decoration: none;
  font-size: 1.2rem;
  font-weight: 500;
  white-space: nowrap;
}
.nav-link.active {
  color: var(--primary-color);
}
.logo {
display: flex;
align-items: center;
gap: 0.5rem;
z-index: 1;
}
.logo-image {
width: 3.5rem;
height: auto;

}
.logo-text {
 color: var(--primary-color);
  font-family: "Inknut Antiqua", var(--default-font-family);
   font-size: 1.8rem;
  font-weight: 600;
  line-height: 1.2;
  text-align: left;
  white-space: nowrap;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  z-index: 1;
}
.lang-ru {
  color: var(--white-color);
   background-color: var(--secondary-color);
   padding: 0.2rem 0.5rem;
    font-size: 1.2rem;
     border-radius: 0.2rem;
     font-weight: 600;
     text-transform: uppercase;
}
.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
   padding: 0.2rem;
}

.theme-icon {
  width: 2rem;
  height: 2rem;
}


/* Footer */
.site-footer {
background-color: var(--dark-gray);
  padding: 2rem 0;
}
.site-footer .container {
  max-width: 1500px;
  margin: 0 auto;
   padding: 0 2rem;
  display: flex;
  flex-direction: column;
}
.footer-info {
  display: flex;
  justify-content: space-between;
  align-items: center;
    margin-bottom: 2rem;
}
.social-icons {
  display: flex;
  gap: 1rem;
}
.social-link {
 display: flex;
 align-items: center;
 justify-content: center;
width: 4rem;
height: 4rem;
border: 2px solid #8a8d94;
 border-radius: 50%;
padding: 0.5rem;
}
.social-link img {
  width: 2rem;
  height: 2.5rem;
}
.powered-by {
  color: var(--white-color);
  font-size: 0.8rem;
   line-height: 1.4;
   text-align: left;
}
.tech-info {
 display: flex;
 align-items: center;
 gap: 1rem;
}
.tech-logo {
 display: flex;
 align-items: center;
 gap: 0.5rem;
}
.tech-logo img {
  width: 1.5rem;
  height: 1.5rem;
}
.tech-logo span {
  font-size: 0.8rem;
   color: var(--white-color);
}
.footer-links {
display: flex;
justify-content: space-between;
 margin-top: 1rem;
  gap: 2rem;
}
.footer-column {
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.footer-column a {
 color: var(--white-color);
font-size: 1rem;
 text-decoration: none;
}


/* Responsive design */
@media (max-width: 768px) {
.hero h1 {
  font-size: 2rem;
}
  .company-description {
       font-size: 4rem;
  }
.services-grid {
  flex-direction: column;
}
.service-column {
   width: 100%;
}
.countries-grid {
    flex-direction: column;
}
.country-item {
      width: 100%;
  }
  .testimonial-slider {
      flex-direction: column;
  }
  .testimonial-card {
     width: 100%;
  }
    .features-list {
        flex-direction: column;
    }
.feature-item {
  width: 100%;
}
    .steps-grid {
  flex-direction: column;
}
.step-item {
  width: 100%;
  justify-content: flex-start !important;
}
  .step-item:nth-child(odd) .step-icon {
    order: 0;
  }
  .step-item:nth-child(even) .step-icon {
  order: 0;
}
.step-item:nth-child(odd) .step-content {
  text-align: left;
}
.step-item:nth-child(even) .step-content {
  text-align: left;
}
     .companies-list {
       flex-direction: column;
     }
      .company-logo {
        width: 100%;
       margin-bottom: 1rem;
     }
        .footer-info {
          flex-direction: column;
        }
         .footer-links {
        flex-direction: column;
         }

}
@media (max-width: 480px) {
  .stat-item {
  width: 100%;
}

.hero h1 {
  font-size: 1.8rem;
}
.services-description {
 font-size: 1.2rem;
}
  .company-description {
       font-size: 3rem;
  }
}