/* Общие стили */
body {
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  background-color: #0a1128; /* Темно-синий фон */
  color: #ffffff;
  box-sizing: border-box;
}

header {
  background-color: #162447; /* Светлее, чем фон */
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

header .logo img {
  height: 50px;
}

.header-buttons {
  display: flex;
  gap: 10px;
}

.header-buttons a {
  padding: 10px 20px;
  font-size: 16px;
  color: #fff;
  background: linear-gradient(to bottom, #007bff, #0056b3);
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.3s ease;
}

.header-buttons a:hover {
  background: linear-gradient(to bottom, #0056b3, #007bff);
}

/* Меню */
.navigation {
  background-color: #1f4068;
  padding: 10px 20px;
}

.navigation ul {
  list-style: none;
  display: flex;
  justify-content: center;
  margin: 0;
  padding: 0;
}

.navigation li {
  margin: 0 15px;
}

.navigation a {
  color: #fff;
  text-decoration: none;
  font-size: 16px;
  padding: 5px 10px;
  border-radius: 5px;
}

.navigation a:hover {
  background-color: #162447;
}

/* Hero Section */
.hero {
  text-align: center;
  margin-top: 20px;
  padding: 0 20px;
}

.hero h1 {
  font-size: 2.5rem;
  margin: 0;
  padding: 10px 0;
}

.hero-image {
  margin-top: 10px;
}

.hero-image img {
  width: 100%;
  max-width: 600px;
  border-radius: 5px;
}
/* Content Block Styles */
.content-block {
    background-color: ;
    border: 2px solid #004080;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
}
/* Контент */
.content {
  padding: 20px;
}

.outlined-block {
  border: 2px solid #1f4068;
    padding: 20px;
    margin: 20px auto;
    max-width: 1200px;
    border-radius: 8px;
}

/* Кнопка "Регистрация" */
.btn-register {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background: linear-gradient(to right, #007bff, #0056b3); /* Ярко-синий градиент */
  border: none;
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5); /* Тень */
}

.btn-register:hover {
  background: linear-gradient(to right, #0056b3, #007bff);
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.7);
  transform: scale(1.05); /* Увеличение при наведении */
}

/* Контейнер для копируемого текста */
.copy-container {
  display: flex;
  align-items: center; /* Центрирование по вертикали */
  justify-content: center; /* Центрирование по горизонтали */
  gap: 10px; /* Расстояние между текстом и кнопкой */
  margin-top: 20px; /* Отступ сверху */
}

/* Стили текста в рамке */
.copy-text {
  display: inline-block;
  padding: 10px 20px;
  font-size: 18px;
  font-weight: bold;
  color: #ffffff;
  background-color: #000080; /* Темно-синий фон */
  border: 2px solid #007bff; /* Синяя рамка */
  border-radius: 5px; /* Скругленные углы */
  text-align: center; /* Центрирование текста */
  box-shadow: 0 4px 10px rgba(0, 123, 255, 0.5); /* Тень */
}

/* Кнопка "Скопировать" */
.btn-copy {
  display: inline-block;
  padding: 10px 20px;
  font-size: 16px;
  font-weight: bold;
  color: #ffffff; /* Белый текст */
  background: linear-gradient(to right, #6a5acd, #483d8b); /* Фиолетовый градиент */
  border: 2px solid #483d8b; /* Рамка */
  border-radius: 10px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 10px rgba(72, 61, 139, 0.5); /* Тень */
}

.btn-copy:hover {
  background: linear-gradient(to right, #483d8b, #6a5acd);
  box-shadow: 0 6px 15px rgba(72, 61, 139, 0.7);
  transform: scale(1.05); /* Увеличение при наведении */
}

.btn-copy:active {
  background: linear-gradient(to right, #2e2b5f, #483d8b); /* Темнее при клике */
}

/* Мобильная адаптация */
@media (max-width: 768px) {
  .copy-container {
    flex-direction: column; /* Перестраиваем на столбец */
    gap: 15px; /* Увеличиваем расстояние */
  }
}


/* Основные стили для таблиц */
table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;
}

table th, table td {
  padding: 10px;
  border: 1px solid #ffffff;
}

table th {
  background-color: #162447;
}

/* Мобильная адаптация для таблиц */
@media screen and (max-width: 768px) {
  table, thead, tbody, th, td, tr {
    display: block;
  }

  table {
    width: 100%;
  }

  th {
    background-color: #162447;
    color: #fff;
  }

  td {
    border: none;
    padding-left: 50%;
    position: relative;
  }

  td:before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    color: #fff;
  }

  /* Убираем границы между строками на маленьких экранах */
  tr {
    margin-bottom: 10px;
  }
}


table td {
  background-color: #1b1f38;
}

/* FAQ */
.faq-item {
  background-color: #162447;
  padding: 15px;
  margin-top: 10px;
  border-radius: 5px;
}

.faq-item:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
}

.faq-item h3 {
  margin: 0;
  cursor: pointer;
}

.faq-item p {
  display: none;
}

.faq-item.open p {
  display: block;
}

/* Footer */
footer {
  background-color: #162447;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
  width: 100%;
  /* Используем flexbox для закрепления футера внизу */
  margin-bottom: 0;
}

footer a {
  color: #ffffff;
  text-decoration: none;
  margin: 0 10px;
}

/* Кнопка наверх */
.scroll-to-top {
  position: fixed;
  bottom: 25px;
  right: 20px;
  width: 50px;
  height: 50px;
  background: linear-gradient(to bottom, #007bff, #0056b3);
  border-radius: 60%;
  text-align: center;
  line-height: 50px;
  color: #ffffff;
  font-size: 16px;
  cursor: pointer;
  display: none;
  z-index: 1000;
}

.scroll-to-top:hover {
  background: linear-gradient(to bottom, #0056b3, #007bff);
}

/* Адаптация под мобильные устройства */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  .navigation ul {
    flex-direction: column;
    align-items: center;
  }

  .hero h1 {
    font-size: 1.8rem;
  }
}
/* Стиль инфографики */
.infographic {
  margin: 20px 0;
  padding: 20px;
  background: #003153;
  border-radius: 8px;
}

.infographic h2 {
  font-size: 24px;
  margin-bottom: 15px;
  text-align: center;
}

.infographic-item img,
.infographic-steps .step img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

.infographic-steps {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}

.infographic-steps .step {
  flex: 1 1 calc(50% - 15px); /* 2 элемента в ряд на мобильных */
  text-align: center;
  margin-bottom: 20px;
}

/* Стиль для таблицы инфографики */
.infographic-table table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.infographic-table th,
.infographic-table td {
  padding: 10px;
  border: 1px solid #ddd;
  text-align: left;
}

.infographic-table th {
  background: #343a40;
  color: #fff;
}

/* Мобильная адаптация для экрана до 768px */
@media (max-width: 768px) {
  .infographic h2 {
    font-size: 20px;
  }

  .infographic-steps .step {
    flex: 1 1 calc(100% - 15px); /* 1 элемент в ряд на мобильных */
  }

  .infographic-table th,
  .infographic-table td {
    padding: 8px;
  }
}

/* Мобильная адаптация для экрана до 480px */
@media (max-width: 480px) {
  .infographic h2 {
    font-size: 18px;
  }

  .infographic-steps .step {
    flex: 1 1 100%; /* 1 элемент в ряд на мобильных устройствах с маленьким экраном */
  }

  .infographic-table th,
  .infographic-table td {
    padding: 6px;
  }
  .infographic-item img,
.infographic-steps .step img {
  max-width: 100%; /* Ограничивает ширину изображения до 100% от контейнера */
  height: auto; /* Сохраняет пропорции изображения */
  border-radius: 8px;
}

}

.video-slider {
  margin: 30px auto;
  padding: 20px;
  max-width: 1100px;
  background-color: ;
  border-radius: 8px;
  border: 2px solid #1f4068
}

.video-slider h2 {
  text-align: center;
  font-size: 24px;
  margin-bottom: 20px;
}

.slider-container {
  display: flex;
  overflow: hidden;
  position: relative;
}

.video-slide {
  flex: 1 0 100%;
  padding: 10px;
}

.video-slide iframe {
  width: 100%;
  height: 315px;
  border-radius: 8px;
}

.seo-content {
  margin-top: 20px;
  padding: 15px;
  background-color: ;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.seo-content h3 {
  font-size: 20px;
  margin-bottom: 10px;
}

.seo-content p {
  font-size: 16px;
  line-height: 1.6;
}



@media (max-width: 768px) {
  .slider-container {
    flex-direction: column;
  }

  .video-slide iframe {
    height: 220px;
  }
}