/* Глобальный контейнер для всех секций */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 15px;
}
.container-wide {
  max-width: 1200px; /* при необходимости можно изменить */
  margin: 0 auto;
  padding: 0 15px;
}
/* Остальные стили можно оставить без изменений или адаптировать под общий контейнер */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  background: #c6c6c6;
}

body {
  font-family: 'Poppins', sans-serif;
  background-color: #c6c6c6;
  position: relative;
  z-index: 1;
}

body::after {
  content: "";
  position: fixed;
  left: 0;
  width: 100%;
  height: 100%;
  background: url(../img/main-bg.png) no-repeat center center fixed;
  background-size: cover;
  z-index: -1;
  bottom: 0;
}

.navbar {
 position: fixed;
 width: 100%;
 text-align: center;
 padding: 20px;
 background: #c6c6c6;
 z-index: 29;

}
.navbar img {
  width: 71px;
}

/* Если ранее был .navbar-container, его можно убрать или изменить */
.navbar-menu a {
  margin-left: 20px;
  text-decoration: none;
  color: #333;
  font-family: 'Poppins', sans-serif;
}

.navbar-menu a:hover {
  color: #4CAF50;
}

.hero-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 100vh;
}

.hero-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  width: 100%;
}

.hero-content {
  flex: 1 1 50%;
  margin-bottom: 30px;
}

.hero-content h1 {
  margin-bottom: 20px;
  font-family: 'Kanit', sans-serif;
  font-weight: 700;
  font-size: 60px;
  line-height: 74px;
  color: #414155;
}

.hero-content p {
  margin-bottom: 30px;
  font-family: 'Poppins', sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 24px;
  color: #70707D;
}

.hero-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo img {
  width: 316px;
  max-width: 100%;
  height: auto;
}

.contact-popup-btn {
  background: linear-gradient(90deg, #8C5AFF 0%, #3CCDAF 100%);
  color: #fff;
  text-decoration: none;
  width: 292px;
  height: 52px;
  border-radius: 12px;
  border: none;
  font-family: 'Lato', sans-serif;
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
}

.btn-custom:hover {
  background-color: #45a049;
}

.stats-section {
  display: flex;
  flex-wrap: wrap;
  margin-top: 40px;
  gap: 12px;
}

.stats-box {
  background-color: #fff;
  border-radius: 24px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 315px;
  height: 112px;
  padding: 32px 20px;
  gap: 15px;
}

.stats-box h3 {
  margin-bottom: 10px;
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 44px;
  line-height: 44px;
  color: #414155;
}

.stats-box p {
  color: #70707D;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
  text-align: left;
}


/* ======== СЕКЦИЯ SERVICES ======== */

/* ===== Секция SERVICES ===== */
.services {
  padding: 60px 0;  /* Внешние отступы сверху/снизу */
  position: relative;
}

/* Обертка с белым фоном и скругленными углами */
.services-wrapper {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;  /* На узких экранах блоки располагаются друг под другом */
  gap: 40px;        /* Расстояние между колонками */
}

/* Левая колонка: заголовки и описание */
.services-content-left {
  flex: 1 1 45%;
  min-width: 280px;
}

.title {
  font-family: Poppins;
  font-weight: 400;
  font-size: 44px;
  line-height: 44px;
}

.services-content-left p {
  margin: 30px 0px 45px;
  line-height: 1.6;
  color: #70707D;
}

.services-content-left h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 20px;
  color: #414155;
}

/* Правая колонка: аккордеон */
.services-content-right {
  flex: 1 1 45%;
  min-width: 280px;
}

/* Список пунктов аккордеона */
.services-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin: 0;
  padding: 0;
}

/* Каждый пункт аккордеона */
.accordion-item {
  background: #f9f9f9;
  border-radius: 12px;
  overflow: hidden;  /* Скрывает содержимое при закрытии */
  transition: background 0.3s ease;
}

.accordion-item:hover {
  background: #eee;
}

/* Кнопка вопроса */
.accordion-btn {
  border: none;
  text-align: left;
  display: flex;
  align-items: center;
  cursor: pointer;
  background: #EFEEEE;
  width: 100%;
  height: 48px;
  border-radius: 24px;
  justify-content: space-between;
  padding: 8px 16px;
}

/* Заголовок внутри кнопки */
.services-list-title {
  font-family: Poppins;
  font-weight: 550;
  font-size: 18px;
  line-height: 24px;
  letter-spacing: 0%;
  color: #414155;
}

/* Стрелка справа */
.services-arrow {
  font-size: 1.2rem;
  color: #8C8C8C;
  transition: transform 0.3s ease;
}

/* Содержимое ответа (скрыто по умолчанию) */
.accordion-content {
  max-height: 0;               /* Скрыто по умолчанию */
  overflow: hidden;            /* Обрезаем контент */
  transition: max-height 0.3s ease;
  color: #414155;
  font-family: Poppins;
  font-weight: 550;
  font-size: 18px;
  line-height: 24px;
  padding: 0 16px;             /* Горизонтальные отступы */
}

.accordion-content p {
  margin: 16px 0;
  line-height: 1.4;
  font-family: Poppins;
  font-weight: 400;
  font-size: 12px;
  line-height: 18px;
  letter-spacing: 0%;
  color: #70707D;
}

/* Открытый пункт аккордеона */
.accordion-item.open .accordion-content {
  max-height: 200px;  /* При необходимости увеличьте значение */
}

/* Поворот стрелки при открытии */
.accordion-item.open .services-arrow {
  transform: rotate(90deg);
}

/* Адаптивность */
@media (max-width: 768px) {
  .services-wrapper {
    flex-direction: column;
    padding: 20px;
  }

  .services-content-left,
  .services-content-right {
    flex: 1 1 100%;
    min-width: auto;
  }

  .services-content-left h2 {
    font-size: 2rem;
  }

  .services-content-left h3 {
    font-size: 1.5rem;
  }
}
/********************************/
/*  Секция "Advantages"         */
/********************************/

.advantages {
  /* Фон, отступы секции */
  padding: 60px 0;
}

/* Заголовок секции */
.advantages h2 {
  font-family: 'Kanit', sans-serif; /* Пример шрифта, замените при необходимости */
  font-size: 2.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 40px;
  color: #414155;
}

/* Обёртка для карточек */
.advantages-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* Две колонки */
  gap: 24px;                             /* Расстояние между карточками */
}

/* Карточка */
.advantage-card {
  background-color: #fff;
  border-radius: 16px;
  padding: 24px 32px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05)
}

/* Заголовок внутри карточки */
.advantage-card h3 {
  margin-bottom: 16px;
  color: #414155;
  font-family: Poppins;
  font-weight: 700;
  font-size: 26px;
  line-height: 32px;
}

/* Текст внутри карточки */
.advantage-card p {
  color: #70707D;
  font-family: Poppins;
  font-weight: 400;
  font-size: 16px;
  line-height: 24px;
}
.advantages-m {
  display: none;
}
/********************************/
/*    Адаптивность (мобильная)  */
/********************************/
@media (max-width: 768px) {
  .advantages-wrapper {
    grid-template-columns: 1fr; /* Одна колонка на узких экранах */
  }
  
  .advantages h2 {
    font-size: 28px;
    margin-bottom: 30px;
    line-height: 36px;
  }
}
/********************************/
/*      СЕКЦИЯ BENEFITS         */
/********************************/

.benefits {
  padding: 160px 0; 
  position: relative;
}


/* Основная обёртка контента внутри секции */
.benefits-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  flex-wrap: wrap;
}

/* Левая колонка: заголовок, описание, кнопка */
.benefits-left {
  flex: 1 1 40%;
}

.benefits-left p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #70707D;
  margin-bottom: 30px;
  width: 28%;
}

/* Пример стилизации кнопки */
.btn-custom {
  display: inline-block;
  padding: 16px 32px;
  background: linear-gradient(90deg, #8C5AFF 0%, #3CCDAF 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 12px;
  font-family: 'Lato', sans-serif; /* Или любой другой шрифт */
  font-weight: 600;
  font-size: 18px;
  line-height: 24px;
  transition: opacity 0.3s ease;
  cursor: pointer;
}

.btn-custom:hover {
  opacity: 0.9; /* Лёгкий эффект при наведении */
}

/* Правая колонка: карточка с преимуществами */
.benefits-right {
  position: absolute;
  right: 0;
  width: 60%;
}

.benefits-card {
  background: #fff;
  border-radius: 32px 0px 0px 32px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Каждый пункт преимущества */
.benefit-item + .benefit-item {
  margin-top: 24px; /* Отступ между пунктами */
}

.benefit-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.25rem;
  font-weight: 600;
  color: #414155;
  margin-bottom: 8px;
}

.benefit-item p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #70707D;
}
/* Карточка со слайдером */
.benefits-right {
  background: #fff;
  border-radius: 24px;
  padding: 40px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  overflow: hidden; 
}

/* Контейнер слайдера */
.slider-container {
  position: relative;
  width: 100%;
  height: auto;
  overflow: hidden;
}

/* Градиент, скрывающий текст справа */
.benefits-right::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 400px;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(270deg, #ffffff 0.16%, rgb(255 255 255 / 41%) 99.89%);
}

/* «Лента» со слайдами */
.slider-track {
  display: flex;
  transition: transform 0.3s ease;
  transform: translateX(0);
}

/* Каждая колонка занимает 80% ширины, 
чтобы вторая была частично видна */
.benefit-column {
  flex: 0 0 60%;
  box-sizing: border-box;
  padding: 20px;
}

.benefit-item + .benefit-item {
  margin-top: 24px;
}

.benefit-item h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.1rem;
  font-weight: 600;
  color: #414155;
  margin-bottom: 8px;
}

.benefit-item p {
  font-family: 'Poppins', sans-serif;
  font-size: 1rem;
  line-height: 1.5;
  color: #70707D;
}

/* Кнопки переключения (стрелки) */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #eee;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  font-size: 1.2rem;
  color: #333;
  opacity: 0.8;
  transition: opacity 0.3s ease;
  z-index: 10;
}

.slider-prev {
  left: 10px;
}
.slider-prev img {
  width: 35px;
  z-index: 2;
}

.slider-next {
  right: 10px;
}
.slider-next img {
  width: 35px;
  z-index: 2;
}
.swiper-pagination-bullet {
  width: 8px;
    height: 8px;
    border: 1px solid #70707D;
}
.slider-btn:hover {
  opacity: 1;
}
.swiper-button-next:after, .swiper-button-prev:after {
  display: none;
}
/* Адаптивность */
@media (max-width: 768px) {
  .slider-track {
    transform: translateX(0); 
  }
  .benefit-column {
    flex: 0 0 100%;
  }
  .slider-btn {
    display: none;
  }
}
.careers {
  padding: 60px 0;
}

.careers-title {
  font-family: 'Kanit', sans-serif;
  font-size: 44px;
  text-align: center;
  margin-bottom: 40px;
  color: #414155;
}

.careers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}


.career-card {
  background: #fff;
  border-radius: 24px;
  padding: 32px 24px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.career-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.career-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #414155;
  font-family: 'Poppins', sans-serif;
  display: flex;
  align-items: center;
  gap: 6px;
}

.hot {
  font-size: 18px;
  color: #FF4D4D;
}

.tags {
  display: flex;
  gap: 8px;
}

.tag {
  background: #F2F2F2;
  padding: 6px 14px;
  border-radius: 24px;
  font-size: 14px;
  color: #414155;
  font-family: 'Poppins', sans-serif;
}

.career-description {
  font-size: 14px;
  color: #70707D;
  margin-bottom: 24px;
  line-height: 1.5;
  font-family: 'Poppins', sans-serif;
}

.btn-careers-contact {
  background: transparent;
  border: 1px solid #3CCDAF;
  color: #414155;
  border-radius: 12px;
  padding: 12px 24px;
  font-size: 16px;
  font-weight: 500;
  font-family: 'Lato', sans-serif;
  cursor: pointer;
  transition: all 0.3s ease;
  align-self: flex-start;
}

.btn-careers-contact:hover {
  background: #3CCDAF;
  color: #fff;
}
.testimonials {
  padding: 60px 0;
  text-align: center;
  position: relative;
}

.testimonials-title {
  font-family: 'Kanit', sans-serif;
  font-size: 44px;
  font-weight: 700;
  color: #414155;
  margin-bottom: 40px;
}

.testimonials-swiper {
  position: relative;
  max-width: 760px;
  margin: 0 auto;
}

.testimonial-card {
  background: #fff;
  border-radius: 24px;
  padding: 40px 30px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  box-sizing: border-box;
}

.testimonial-name {
  font-family: 'Poppins', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: #414155;
  margin-bottom: 20px;
}

.testimonial-text {
  font-family: 'Lato', sans-serif;
  font-style: italic;
  font-size: 16px;
  color: #70707D;
  line-height: 1.6;
}

.testimonial-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 56px;
  height: 56px;
  z-index: 10;
  cursor: pointer;
}

.testimonial-arrow.prev {
  left: -80px;
}

.testimonial-arrow.next {
  right: -80px;
}

.testimonial-arrow img {
  width: 100%;
  height: auto;
}

.testimonial-dots {
  margin-top: 20px;
}

.testimonial-dots .dot {
  display: inline-block;
  width: 10px;
  height: 10px;
  margin: 0 5px;
  background: #c5c5c5;
  border-radius: 50%;
  cursor: pointer;
}

.testimonial-dots .dot.swiper-pagination-bullet-active {
  background: #414155;
}
.footer {
  background: #414155;
  padding: 40px 0;
  text-align: center;
}

.footer-logo img {
  width: 77px;
  height: auto;
  margin-bottom: 10px;
}

.footer-copy {
  color: #DCDCDC;
  font-family: Lato;
  font-weight: 300;
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0%;
  text-align: center;
}
.logo-m, .benefits-mobile {
    display: none;
  }
@media (max-width: 768px) {
  .hero-content, .hero-logo {
    flex: 1 1 100%;
  }
  .navbar-menu {
    margin-top: 10px;
    text-align: center;
  }
  .navbar-menu a {
    margin: 0 10px;
  }
  .stats-box {
    flex: 1 1 100%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }
  .hero-section {
    height: 100%;
  }
  .benefits-right {
    position: relative;
  }
  .benefits-right::after {
    display: none;
  }
  .benefits-mobile {
    display: none;
    padding: 20px 0;
  }
  .benefits-mobile .benefit-column {
    margin-bottom: 24px;
  }
  .benefits-mobile .benefit-item {
    background: #fff;
    border-radius: 16px;
    padding: 20px;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.05);
  }
  .benefits-mobile .benefit-item h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: #414155;
    margin-bottom: 8px;
  }
  .benefits-mobile .benefit-item p {
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    line-height: 1.5;
    color: #70707D;
  }
  .advantages-desc {
    display: none;
  }
  
    .benefits-swiper {
      display: none !important;
    }
    .benefits-mobile {
      display: block;
    }
    .advantages-wrapper {
      display: none;
    }
    .advantages-swiper {
      display: block;
    }
    .careers-grid {
      grid-template-columns: 1fr;
    }
    .advantage-card h3 {
      font-size: 20px;
      line-height: 26px;
    }
    .advantage-card p {
      font-size: 12px;
      line-height: 18px;
    }
    .testimonials-title {
      font-size: 28px;
      margin-bottom: 30px;
      line-height: 36px;
    }
    .hero-logo {
      display: none;
    }
    .hero-content h1 {
      font-family: Kanit;
      font-weight: 700;
      font-size: 32px;
      line-height: 36px;
      letter-spacing: 0%;
      padding-top: 140px;
    }
    .hero-content p {
      font-family: Poppins;
      font-weight: 400;
      font-size: 16px;
      line-height: 24px;
      letter-spacing: 0%;
    }
    .stats-section {
      background: #fff;
      border-radius: 24px;
      width: 202px;
      margin: 50px auto;
    }
    .stats-box h3 {
      font-size: 44px;
      line-height: 44px;
      margin-bottom: 0;
    }
    .stats-box p {
      text-align: center;
    }
    .logo-m {
      width: 120px;
    position: absolute;
    top: 50px;
    right: 10px;
    z-index: 29;
    display: block;
    }
    .services-list-title {
      font-weight: 550;
    font-size: 18px;
    line-height: 24px;
    }
    .popup-box {
  background: #fff;
    border-radius: 24px;
    padding: 32px 24px;
    width: 90%;
    max-width: 90%;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
}
.benefits {
  padding: 50px 0px;
}
.benefits {
  display: none;
}
  }


  .popup-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  display: none;
}

.popup-box {
  background: #fff;
    border-radius: 24px;
    padding: 32px 24px;
    width: 629px;
    max-width: 629px;
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    text-align: center;
}

.popup-close {
  position: absolute;
  top: 20px;
  right: 20px;
  background: none;
  border: none;
  font-size: 28px;
  color: #414155;
  cursor: pointer;
}

.popup-title {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 24px;
  color: #414155;
  margin-bottom: 24px;
}

.popup-form .form-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: none;
  background: #f5f5f5;
  border-radius: 8px;
  font-size: 14px;
  font-family: 'Poppins', sans-serif;
  color: #333;
}

.popup-form textarea {
  resize: none;
  height: 120px;
  margin-bottom: 16px;
}

.popup-submit {
  background: linear-gradient(90deg, #8C5AFF 0%, #3CCDAF 100%);
  border: none;
  color: #fff;
  font-size: 16px;
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  border-radius: 12px;
  padding: 12px 0;
  width: 100%;
  cursor: pointer;
  margin-bottom: 12px;
}

.popup-email {
  font-size: 14px;
  color: #999;
  margin-bottom: 16px;
}

.popup-divider {
  border: none;
  border-top: 1px solid #ddd;
  margin: 24px 0;
}

.popup-subtitle {
  font-family: 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 18px;
  color: #414155;
  margin-bottom: 12px;
}

.popup-more {
  background: none;
  border: 1px solid #ccc;
  padding: 12px 24px;
  border-radius: 12px;
  font-family: 'Poppins', sans-serif;
  font-size: 16px;
  color: #414155;
  cursor: pointer;
}
#hiringPopup {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.popup-hiring-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}

.popup-avatar {
  width: 60px;
  height: 60px;
  object-fit: contain;
}

.popup-hiring-info h2 {
  font-size: 20px;
  font-weight: 700;
  margin: 0;
}

.popup-hiring-role {
  margin: 0;
  font-size: 14px;
  color: #414155;
}

.popup-hiring-email {
  text-align: center;
  margin: 10px 0;
  font-weight: 500;
}
.popup-cv-link {
  color: #333;
}
.popup-hiring-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px 24px;
  list-style: disc inside;
  margin: 20px 0;
  padding: 0;
  text-align: left;
}

.popup-hiring-text {
  text-align: center;
  color: #777;
  font-size: 14px;
  margin-top: 12px;
}

.popup-box {
  background: #fff;
  border-radius: 20px;
  padding: 32px;
  
  position: relative;
}

.popup-close {
  position: absolute;
  top: 16px;
  right: 20px;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}
.popup-cv-form {
  margin-top: 16px;
  text-align: center;
}

.cv-label {
  display: block;
  margin-bottom: 8px;
  font-weight: bold;
}

#cv-upload {
  margin-bottom: 12px;
}

.popup-submit {
  background: linear-gradient(90deg, #7A5FFF, #22D4A0);
  color: #fff;
  border: none;
  padding: 10px 24px;
  border-radius: 8px;
  cursor: pointer;
  font-weight: 600;
}
