 /* Стили контейнера всего блока */
    .promo-section {
      display: flex;              /* Размещаем картинку и текст в одну линию */
      align-items: center;        /* Вертикально выравниваем по центру */
      justify-content: center;    /* Горизонтальное выравнивание, если нужно */
      padding: 60px 20px;         /* Отступы сверху/снизу и по бокам */
        /* Тёмный фон (можно менять) */
      color: #fff;                /* Белый цвет текста */
      margin-bottom: -30px;
    }

    /* Контейнер для ограниченной ширины */
    .promo-container {
      max-width: 1500px; /* или другая желаемая ширина */
      width: 100%;
      display: flex;
      gap: 0px;         /* Расстояние между картинкой и текстом */
    }

    /* Блок с картинкой */
    .promo-image {
      flex: 1 1 50%;
      display: flex;
      align-items: stretch;
      justify-content: center;
      min-width: 0;
    }

    .promo-image img {
      display: block;
      width: 100%;
      height: 100%;
      object-fit: cover;
      border-radius: 20px 0px 0px 20px; /* Опционально: скругление углов */
      box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Опционально: тень */
    }

    /* Блок с текстом и кнопками */
    .promo-content {
      flex: 1 1 50%;
      display: flex;
      flex-direction: column; /* Ставим заголовок, список и кнопки друг под другом */
      justify-content: center;
      border-radius: 0px 20px 20px 0px;
      background-color: #1c1c1c;
    }

    .promo-content h1,
    .promo-content h2 {
      font-size: 50px;
      margin-bottom: 0px;
      margin-left: 20px;
      text-align: center;
    }

    .promo-content .promo-subtitle {
      font-size: 25px;
      margin-left: 20px;
      margin-right: 20px;
      text-align: center;
      margin-top: 5px;
      margin-bottom: 5px;
      color: #007bff;
    }

    .promo-content p {
      font-size: 16px;
      
      margin-bottom: 20px;
      margin-left: 40px;
      margin-right: 20px;
      line-height: 1.4;
      display: flex;
      justify-content: center;
      align-items: center;
    }

    .promo-list {
      list-style: none;   /* Убираем стандартные маркеры */
      margin-bottom: 20px;
      padding: 0;
      margin-left: 40px;
    }

    .promo-list li {
      margin: 8px 0;
      position: relative;
      padding-left: 25px; /* Отступ под иконку или псевдоэлемент */
    }

    /* Можно добавить псевдоэлемент-иконку перед каждым пунктом */
    .promo-list li::before {
      content: '•';       /* Или можно использовать иконку, SVG и т.д. */
      position: absolute;
      left: 0;
      color: #007bff;     /* Цвет «иконки» */
      font-weight: bold;
    }

    /* Кнопки */
    .promo-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;
      margin-top: 20px;
      margin-left: 40px;
      margin-right: 20px;
      margin-bottom: 20px;
    }

    .btn-primary {
      /*background-color: #007bff;  Синий цвет */
      background: linear-gradient(45deg, #2966f3, #5b90fc);
      color: #fff;
    }

    .btn-primary:hover {
      background: linear-gradient(180deg, #2966f3, #5b90fc);
    }

    .btn-secondary {
      background-color: transparent; /* Прозрачная кнопка */
      color: #007bff;
      border: 2px solid #007bff;
    }

    .btn-secondary:hover {
      background-color: #007bff;
      color: #fff;
    }
/* Блок под промо */
    .info-under-promo-section{
        box-shadow: 0 4px 20px rgba(0,0,0,0.3); /* Опционально: тень */
        border-radius: 20px;
        max-width: 1200px; /* или другая желаемая ширина */
        margin: 0 auto;
        padding: 0 20px;
        display: flex;        /* Включаем флекс-контейнер */
        align-items: center;  /* Вертикальное выравнивание по центру */
        justify-content: space-between; /* Раздвигаем элементы по сторонам */
        height: 40px;         /* Высота шапки (можно менять) */
    }

    .info-nav ul {
      list-style: none;
      display: flex;
      gap: 250px; /* Расстояние между пунктами меню */
      margin: 0;
      padding: 0;
    }

    .info-nav a {
      text-decoration: none;
      color: #333;
      font-weight: bold;
      font-size: 15px;
    }

/* Блок с текстом как это работает */
    .how-it-works-text-section{
          margin-top: 120px;
          display: flex;
          justify-content: center;
          align-items: center;
          
    }

    .how-text-container h2{
    font-size: 50px;
    text-align: center;
    }

    .how-text-container p{
    font-size: 16px;
    position: relative;
    bottom: 35px;
    text-align: center;
    }
/* Блок с картинками и текстом как это работает */
    .how-it-works-section{
      max-width: 100%;
    }

    .how-it-works-btn-containers{
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 20px;
    }

    .how-it-works-containers{
        display: flex;
        justify-content: center;
        align-items: center;
        text-align: center;
        gap: 50px;
    }

    .how-it-works-containers img{
      max-width: 100%;
      height: 200px;
    }

    .how-it-works-containers p{
      font-size: 16px;
      line-height: 1.4;
    }

    .how-it-works-containers h3 {
      margin: 16px 0;
      font-size: 24px;
    }

    .how-it-works-btn-order {
        margin-top: 10px;
        justify-content: center;
    }

    .how-it-works-icons{
      font-size: 100px;
      color: #006ee4;
  }

    /* Почему мы блок */
    .why-us-block{
      max-width: 100%;
    }

    .why-us-container {
      margin-top: 100px;
      display: flex;
      justify-content: center;
      align-items: center; 
      width: 100%;
      gap: 25px;
    }

    /* Блок с картинкой */
    .why-us-image {
      flex: 0 0 500px;          /* Задаём, чтобы блок растягивался */
      align-items: center;
      justify-content: center;
    }

    .why-us-image img {
      max-width: 100%;
      height: auto;
      border-radius: 20px 20px 20px 20px; /* Опционально: скругление углов */
      box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Опционально: тень */
    }

    .why-us-content {
      flex: 1;
      display: flex;
      flex-direction: column; /* Ставим заголовок, список и кнопки друг под другом */
      justify-content: center;
      background-color: #ffffff;

    }

    .why-us-content h2 {
      margin-top: 0;
      font-size: 55px;
      margin-left: 20px;
      display: flex;
      justify-content: center;
    }

    .why-us-content p {
      margin-top: -20px;
      font-size: 16px;
      margin-left: 20px;
      line-height: 1.4;
      text-align: justify;

    }

    .why-us-list {
      list-style: none;   /* Убираем стандартные маркеры */
      margin-bottom: 20px;
      padding: 0;
      margin-left: 20px;
      font-size: 20px;
      font-weight: bold;
    }

    .why-us-list li {
      margin: 8px 0;
      display: flex;
      gap: 50px;
      position: relative;
      padding-left: 25px; /* Отступ под иконку или псевдоэлемент */
    }

    /* Можно добавить псевдоэлемент-иконку перед каждым пунктом */
    .why-us-list li::before {
      content: '•';       /* Или можно использовать иконку, SVG и т.д. */
      position: absolute;
      left: 0;
      color: #007bff;     /* Цвет «иконки» */
      font-weight: bold;
    }

    /* Блок о партнерстве с картинкой справа*/
    .partner-block{
        margin-top: 100px;
        display: flex;
        justify-content: center;
        align-items: center;        /* Вертикально выравниваем по центру */
    }

    .partner-container {
      max-width: 1100px; /* или другая желаемая ширина */
      width: 100%;
      display: flex;
      gap: 50px;         /* Расстояние между картинкой и текстом */
    }

    /* Блок с картинкой */
    .partner-image {
      flex: 0 0 400px;          /* Задаём, чтобы блок растягивался */
      display: flex;
      align-items: center;
      justify-content: center;
    }

    .partner-image img {
      display: flex;
      max-width: 100%;
      height: auto;
      border-radius: 20px 20px 20px 20px; /* Опционально: скругление углов */
      box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Опционально: тень */
    }

    .partner-content {
      flex: 1;
      display: flex;
      flex-direction: column; /* Ставим заголовок, список и кнопки друг под другом */
      justify-content: center;
      background-color: #ffffff;

    }

    .partner-content h2 {
      font-size: 40px;
      margin-left: 20px;
      display: flex;
      justify-content: center;
    }

    .partner-content p {
      margin-top: -20px;
      font-size: 14px;
      margin-left: 20px;
      line-height: 1.4;
      justify-content: center;
    }

    .partner-btn-order {
        margin-top: 10px;
        margin-left: 20px;
        display: flex;
        max-width: 1900px;
        justify-content: left;
    }

    /* Блок с материалами */
    .materials-section {
      max-width: 100%;
    }

    /* Контейнер для ограниченной ширины */
    .materials-container {
      display: flex;
      align-items: stretch;
      justify-content: center;
      padding: 60px 20px;
      margin: 0 auto;
      color: #fff;
      max-width: 1200px;
      width: 100%;
      box-sizing: border-box;
      gap: 0; /* Убери лишние отступы */
    }

    /* Блок с картинкой */
    .materials-image {       /* Задаём, чтобы блок растягивался */
      display: flex;
      align-items: stretch;
      justify-content: center;
      flex: 1 1 50%;
      min-width: 0;
    }

    .materials-image img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      display: block; /* уберёт лишние отступы картинки */
      border-radius: 20px 0px 0px 20px; /* Опционально: скругление углов */
      box-shadow: 0 4px 10px rgba(0,0,0,0.3); /* Опционально: тень */
    }

    /* Блок с текстом и кнопками */
    .materials-content {
      flex: 1 1 50%;
      display: flex;
      flex-direction: column; /* Ставим заголовок, список и кнопки друг под другом */
      justify-content: center;
      border-radius: 0px 20px 20px 0px;
      background-color: #1c1c1c;
      padding: 32px;
      box-sizing: border-box;
      min-width: 0;
    }

    .materials-content h2 {
      font-size: 50px;
      margin: 0 0 20px;
    }

    .materials-content p {
      font-size: 14px;
      margin: 0 0 24px;
      line-height: 1.4;
    }

    /* Кнопки */
    .materials-buttons {
      display: flex;
      flex-wrap: wrap;
      gap: 15px;          /* Расстояние между кнопками */
      margin: 0;
    }

    .btn-secondary {
      background-color: transparent; /* Прозрачная кнопка */
      color: #007bff;
      border: 2px solid #007bff;
    }

    .btn-secondary:hover {
      background-color: #007bff;
      color: #fff;
    }

    /* Блок портфолио - стили в portfolio.css */

/* Медиазапрос для устройств с шириной экрана до 768px (мобильные) */
/* Адаптация под планшеты и телефоны */
@media (max-width: 900px) {
  .promo-container,
  .why-us-container,
  .partner-container,
  .materials-container {
    flex-direction: column;
    align-items: stretch;
  }

  .promo-image img {
    border-radius: 20px 20px 0px 0px;
  }

  .promo-content{
    border-radius: 0px 0px 20px 20px;
  }

  .promo-image,
  .why-us-image,
  .partner-image,
  .materials-image {
    margin: 0 auto;
    flex: 0 0 auto;
    width: 100%;
  }

  .promo-content,
  .why-us-content,
  .partner-content,
  .materials-content {
    width: 100%;
    max-width: 100%;
    min-width: 0;
    flex: 0 0 auto;
    padding: 20px;
  }

  .partner-block{
    margin-top: 0px;
  }

  .why-us-content h2{
    margin-top: 0px;
  }
  .promo-content h1,
  .promo-content h2,
  .how-text-container h2,
  .why-us-content h2,
  .partner-content h2 {
    font-size: 32px;
  }

  .promo-content .promo-subtitle {
    font-size: 20px;
  }

  .promo-content p,
  .how-text-container p,
  .why-us-content p,
  .partner-content p {
    font-size: 14px;
  }

  .info-nav ul {
    flex-direction: row;
    gap: 10px;
    align-items: center;
  }

  .promo-buttons {
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
  }

  .materials-buttons{
    flex-direction: column;
    gap: 20px;
    margin: 20px 0;
  }
  
  .materials-content {
    margin-right: 0px;
  }
  .how-it-works-containers {
    flex-direction: column;
  }

  .how-text-container{
    display: flex;
    flex-direction: column;
    
}

.info-under-promo-section{
  display: none;
}

.materials-container {
  max-width: 95%;
  flex-wrap: wrap;
  padding: 60px 0px;
}

.partner-image{
  display: none;
}
.materials-content h2{
  font-size: 30px;
}

.materials-image {
    max-width: 100%;
    flex: none;
    justify-content: center;
  }

  .materials-content {
    border-radius: 0 0 20px 20px;
    padding: 20px;
    width: 100%;
  }

  .materials-image img {
    border-radius: 20px 20px 0 0;
    height: auto;
  }

  .why-us-list li {
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .promo-content h1,
  .promo-content h2 {
    font-size: 24px;
  }

  .promo-content .promo-subtitle {
    font-size: 18px;
  }

  .promo-content p,
  .how-text-container p,
  .why-us-content p,
  .partner-content p {
    font-size: 13px;
  }
}

