: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;
}



/* Hero Section */
.hero {
  position: relative;
   background: url('https://via.placeholder.com/1920x1080') no-repeat center center/cover;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;

}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 47, 108, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 1rem;
}

.hero .container {
  text-align: center;
  max-width: 70rem; /* Fixed max width */
   padding: 0 1rem;
  color: var(--white-color);
}

.hero h1 {
  font-size: 3.2rem; /* Adjusted font size */
  font-weight: 700; /* Adjusted font weight */
   line-height: 1.1; /* Adjusted line height */
  margin-bottom: 1.25rem;
}

.hero p {
  margin-bottom: 0.6rem;
  font-size: 1rem;
    line-height: 1.6;
}

/* Statistics Section */
.stats {
display: flex;
justify-content: center;
  margin-top: 3.2rem; /* Adjusted margin top */
    gap: 0.6rem;
     flex-wrap: wrap;
}

.stat-item {
   background-color: var(--white-color);
  color: var(--text-color-dark);
  text-align: center;
    padding: 2rem 1rem; /* Adjusted padding */
      margin: 0; /* Remove default margin */
  border-radius: 0.6rem;
    width: calc(25% - 0.6rem);
  box-shadow: 0 0.25rem 0.375rem rgba(0, 0, 0, 0.1);
  display: flex;
     flex-direction: column;
    align-items: center;
}

.stat-item .icon {
  font-size: 2rem;
 width: 2.2rem;
  height: 2rem;
  margin-bottom: 0.5rem;
}

.stat-item .icon img {
  width: 100%;
   height: 100%;
  object-fit: contain;
}
.stat-item h2 {
  font-size: 2.2rem; /* Adjusted font size */
  margin-bottom: 0.3125rem;
    line-height: 1.1;
    font-weight: 600;
}

.stat-item p {
  font-size: 1rem;
    line-height: 1.4;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero h1 {
      font-size: 2.5rem;
  }

  .stat-item {
      width: calc(50% - 0.6rem);
  }
}

@media (max-width: 480px) {
  .hero h1 {
      font-size: 2rem;
  }

  .stat-item {
      width: 100%;
  }
}

/* Company Information Section */
.company-info {
 padding: 4rem 0;
 background-color: var(--white-color);
 overflow: hidden;
}
.company-info .container {
 display: flex;
 flex-direction: column;
 align-items: center;
 max-width: 1500px;
 margin: 0 auto;
 padding: 2rem;
}
.company-description {
  color: var(--text-color-dark);
  font-family: 'Inter', var(--default-font-family);
  font-size: 5rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
  margin-bottom: 2rem;

}

.company-image {
  background: url('./assets/images/5a93fdfec8f85c429e42e7414281d1235485b08a.png') no-repeat center center/cover;
  width: 50%;
  height: 30rem;
  border-radius: 2rem;
  margin-bottom: 2rem;
}

.services-description {
  color: var(--secondary-color);
  font-family: 'Inter', var(--default-font-family);
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: center;
   max-width: 80%;
  margin-bottom: 2rem;
}

.read-more-button {
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-size: 1.2rem;
  font-weight: 500;
  padding: 0.8rem 2rem;
  border-radius: 1rem;
  border: none;
  cursor: pointer;
}

/* Our Services Section */
.our-services {
   padding: 4rem 0;
   background-color: var(--white-color);
   overflow: hidden;
}

.our-services .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 1500px;
  margin: 0 auto;
  padding: 0 2rem;
}
.section-title {
color: var(--text-color-dark);
 font-family: 'Inter', var(--default-font-family);
 font-size: 2.5rem;
  font-weight: 500;
  line-height: 1.6;
  text-align: center;
   margin-bottom: 2rem;
}
.services-grid {
display: flex;
 justify-content: space-between;
  gap: 2rem;
   margin-top: 1.5rem;

}
.service-column {
display: flex;
flex-direction: column;
gap: 1.2rem;
width: 48%;

}
.service-item {
   display: flex;
   justify-content: space-between;
   align-items: center;
  gap: 1.2rem;
  padding: 0.6rem;
}
.service-name {
  color: var(--text-color-dark);
  font-family: 'Inter', var(--default-font-family);
  font-size: 1.3rem;
  font-weight: 500;
  line-height: 1.5;
  text-align: left;
}
.service-icon img {
 width: 2.5rem;
 height: auto;
}


/* Job Countries Section */
.job-countries {
padding: 4rem 0;
 background: linear-gradient(360deg, var(--white-color), var(--background-color));
}
.job-countries .container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
    padding: 0 2rem;
}
.countries-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  padding: 2rem 0 0 0;
  justify-content: center;
}

.country-item {
  width: calc(25% - 0.6rem);
  height: 24rem;
  position: relative;
  border-radius: 1.3rem;
    overflow: hidden;
}

.country-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center;
    opacity: 0.9;
    transition: opacity 0.3s ease;
  filter: grayscale(0.3);
}
.country-item:hover .country-image {
    opacity: 1;
    filter: grayscale(0);
}

/* Testimonials Section */


.testimonials .container {
  max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
     padding: 0 2rem;
}

.testimonial-slider {
  display: flex;
  gap: 1.5rem;
  width: 100%;
   overflow: hidden;
   margin-top: 2rem;
}

.testimonial-slider.swiper {
    width: 100%;
    overflow: visible; /* Позволяет видеть соседние слайды */
}

.testimonial-slider .swiper-wrapper {
    display: flex;
    align-items: stretch;
}

.testimonial-card.swiper-slide {
    height: auto; /* Позволяет слайдам иметь разную высоту */
    display: flex;
    flex-direction: column;
}

.testimonial-card {
  background: var(--white-color);
  flex: 0 0 calc(33.33% - 1rem);
  border-radius: 0.8rem;
  box-shadow: 0 0.75rem 5rem 0 var(--shadow-color);
  padding: 1.5rem;
}

.testimonial-card .top {
  margin-bottom: 1rem;
}

.rating {
  display: flex;
  gap: 0.2rem;
   margin-bottom: 0.8rem;
}

.star {
  width: 1.75rem;
  height: auto;

}

.quote {
  color: #454c60;
  font-family: 'Inter', var(--default-font-family);
  font-size: 1rem;
  line-height: 1.5;
   text-align: left;
   margin-bottom: 1rem;
}

.bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
   margin-top: 1rem;
}
.customer {
 display: flex;
  align-items: center;
  gap: 0.8rem;

}

.customer-image {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
}

.customer-info {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.customer-name {
  color: #181f33;
  font-family: 'Inter', var(--default-font-family);
  font-size: 1rem;
  font-weight: 500;
   text-align: left;
   white-space: nowrap;
}

.customer-role {
  color: #767d93;
   font-family: 'Inter', var(--default-font-family);
    font-size: 0.8rem;
   line-height: 1.2;
    text-align: left;
   white-space: nowrap;
}

.quote-icon {
  width: 3rem;
  height: 3rem;
}


.slider-controls {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  padding: 1rem 0;
   margin-top: 2rem;
}

.slider-arrow {
  display: flex;
  align-items: center;
  background-color: var(--white-color);
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 0.3rem;
}
.slider-arrow.prev {
  transform: rotate(180deg);
}
.slider-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.slider-dots {
display: flex;
  gap: 0.5rem;
}

.dot {
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 50%;
  background-color: var(--light-gray);
  cursor: pointer;
}

.dot.active {
  background-color: var(--primary-color);
   width: 1.5rem;
    border-radius: 1rem;
}

/* Work With Us Section */
.work-with-us {
   padding: 4rem 0;
  background-color: var(--white-color);
}
.work-with-us .container {
    max-width: 1500px;
  margin: 0 auto;
 padding: 0 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;

}

.section-subtitle {
   color: var(--text-color-dark);
   font-family: 'Montserrat', var(--default-font-family);
  font-size: 2.5rem;
    font-weight: 600;
      line-height: 1.2;
  text-align: center;
    margin-top: 1rem;
    margin-bottom: 2rem;
}

.features-list {
 margin-top: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
}

.feature-item {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  width: 48%;
  padding: 0.5rem;
}

.feature-content {
  flex: 1;
  margin-right: 1rem;
}

.feature-title {
   color: var(--secondary-color);
  font-family: 'Inter', var(--default-font-family);
  font-size: 1.75rem;
  font-weight: 600;
   margin-bottom: 0.5rem;
   line-height: 1.2;
   text-align: left;
}

.feature-description {
  color: var(--secondary-color);
  font-family: 'Inter', var(--default-font-family);
  font-size: 1.2rem;
  font-weight: 300;
    line-height: 1.3;
  text-align: left;
}

.feature-icon img {
  width: 5rem;
  height: auto;
}

.cooperation-plan {
            background: var(--background-color);
            padding: 6rem 0;
            position: relative;
            overflow: hidden;
        }

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

        .section-title {
            text-align: center;
            font-size: 2.8rem;
            color: var(--text-color-dark);
            margin-bottom: 4rem;
            font-weight: 700;
        }

        .timeline {
            position: relative;
            max-width: 1000px;
            margin: 0 auto;
        }

        .timeline::after {
            content: '';
            position: absolute;
            width: 4px;
            background: linear-gradient(to bottom, var(--light-gray) 0%, var(--primary-color) 100%);
            top: 0;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 10px;
            box-shadow: 0 10px 30px rgba(10, 101, 204, 0.2);
        }

        .timeline-item {
            padding: 20px 40px;
            position: relative;
            width: 50%;
            transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
        }

        .timeline-item.left {
            left: 0;
            transform: translateX(20px);
        }

        .timeline-item.right {
            left: 50%;
            transform: translateX(-20px);
        }

        .timeline-content {
            background: var(--white-color);
            padding: 30px;
            border-radius: 15px;
            position: relative;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
            border: 1px solid var(--light-gray);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .timeline-content:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 40px rgba(10, 101, 204, 0.15);
        }

        .step-header {
            display: flex;
            align-items: center;
            gap: 15px;
            margin-bottom: 20px;
        }

        .step-badge {
            width: 40px;
            height: 40px;
            background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--white-color);
            font-weight: 700;
            font-size: 1.2rem;
            box-shadow: 0 5px 15px rgba(10, 101, 204, 0.3);
        }

        .step-icon img {
            width: 50px;
            filter: drop-shadow(0 4px 6px rgba(0, 0, 0, 0.1));
        }

        .step-title {
            color: var(--text-color-dark);
            font-size: 1.5rem;
            margin-bottom: 15px;
            font-weight: 600;
        }

        .step-description {
            color: var(--text-color);
            line-height: 1.6;
            font-size: 1rem;
        }

        .decor-line {
            height: 2px;
            background: linear-gradient(90deg, var(--primary-color) 0%, transparent 100%);
            margin-top: 20px;
            width: 80%;
        }

        @media (max-width: 768px) {
            .timeline::after {
                left: 30px;
            }

            .timeline-item {
                width: 100%;
                padding-left: 70px;
                padding-right: 25px;
            }

            .timeline-item.left,
            .timeline-item.right {
                left: 0;
                transform: none;
            }

            .section-title {
                font-size: 2rem;
            }
        }


/* Featured Companies Section */

.featured-companies-section .container {
 max-width: 1500px;
  margin: 0 auto;
   padding: 0 2rem;
 display: flex;
  flex-direction: column;
  align-items: center;

}
.featured-companies-section .section-title {
  color: var(--white-color);
   font-weight: 700;
   text-align: left;
     margin-bottom: 1rem;
}
.companies-content {
  background-color: var(--white-color);
  padding: 1.5rem 2rem;
  margin: 2rem 0;
    max-width: 100%;
}
.all-companies-button {
  background-color: transparent;
  border: 1px solid var(--text-color-dark);
  color: var(--text-color-dark);
  padding: 0.5rem 1rem;
  font-size: 0.8rem;
  font-weight: 400;
  border-radius: 0.8rem;
  cursor: pointer;
}
.companies-list {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1rem;
  flex-wrap: wrap;

}
.company-logo {
  width: 15%;
   height: auto;
    padding: 0.5rem 0;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.5rem;
}

.company-logo img {
  max-width: 100%;
  max-height: 100%;
}

/* Consultation Form Section */
.consultation-form {
padding: 4rem 0;
  background-color: var(--white-color);
}
.consultation-form .container {
max-width: 1500px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
   padding: 0 2rem;
}

.consultation-form .section-title {
  color: var(--secondary-color);
    font-family: 'Montserrat', var(--default-font-family);
    font-size: 2.5rem;
    font-weight: 600;
   line-height: 1.3;
   text-align: center;
   margin-bottom: 1rem;
}
.contact-form {
   width: 100%;
  display: flex;
  flex-direction: column;
}

.form-group {
  display: flex;
  flex-direction: column;
    margin-bottom: 1rem;
}

.form-group label {
   color: var(--secondary-color);
     font-family: 'Montserrat', var(--default-font-family);
  font-size: 1.25rem;
  font-weight: 500;
  line-height: 1.2;
  text-align: left;
  margin-bottom: 0.5rem;
}
.input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
    border: 1px solid var(--secondary-color);
   border-radius: 0.4rem;
    padding: 0;
    overflow: hidden;

}
.input-wrapper input {
  border: none;
  padding: 1rem;
   width: 100%;
  font-size: 1rem;
}
.phone-prefix {
 position: absolute;
 left: 1rem;
 font-weight: 700;
 color: var(--secondary-color);
}
.phone-icon {
  position: absolute;
  left: 3rem;
  width: 1.25rem;
  height: 1rem;
}


.form-group input {
   border: 1px solid var(--secondary-color);
   border-radius: 0.4rem;
  padding: 1rem;
    font-size: 1rem;

}
.options {
  border: 1px solid var(--secondary-color);
    border-radius: 0.4rem;
  padding: 1rem;
    font-size: 1rem;
}

.form-button {
   background-color: var(--secondary-color);
    color: var(--white-color);
  font-family: 'Montserrat', var(--default-font-family);
    font-size: 1rem;
   font-weight: 700;
    padding: 1rem 2rem;
    border-radius: 0.5rem;
  border: none;
   cursor: pointer;
  box-shadow: 0 0.9375rem 1.875rem 0 rgba(0, 11, 48, 0.2);
    margin: 1rem 0;
      align-self: center;
}
.consent-policy {
 color: var(--secondary-color);
  font-family: 'Montserrat', var(--default-font-family);
  font-size: 0.8rem;
  font-weight: 400;
   line-height: 1.3;
    text-align: center;
    margin-top: 1rem;
}


/* 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;
  }
}