/* Анимация в голове */

                        .header__bar-logo-animation, .header__bar-nav-animation, .header__main-subtitle-animation, .header__main-buttons-animation
                        {
                          opacity: 0;
                          animation-duration: 1s;
                          animation-name: appearance;
                          animation-iteration-count: 1;
                          animation-fill-mode: forwards;
                          animation-timing-function: linear;
                        }

                        .header__main-subtitle-animation
                        {
                          animation-delay: 1s;
                        }
                        .header__main-buttons-animation
                        {
                          animation-delay: 1.2s;
                        }
                        .header__bar-logo-animation
                        {
                          animation-delay: 1.4s;
                        }
                        .header__bar-nav-animation
                        {
                          animation-delay: 1.6s;
                        }

                        @keyframes appearance
                        {
                          from
                          {
                            opacity: 0;
                          }
                          to
                          {
                            opacity: 1;
                          }
                        }

                        /* появление блоков  */

                        .block__up {
                            opacity: 0;
                            transform: translateY(50px);
                            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
                          }

                          .block__up.show {
                            opacity: 1;
                            transform: translateY(0);
                          }

                          .block__up-second {
                            opacity: 0;
                            transform: translateY(50px);
                            transition: opacity 0.5s ease-in-out, transform 0.5s ease-in-out;
                          }

                          .block__up-second.show {
                            opacity: 1;
                            transform: translateY(0);
                            transition-delay: 0.5s;
                          }

  /* .block__left {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  }


  .block__left.show {
    opacity: 1;
    transform: translateX(0);
  } */
/*
  .block__left-second {
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.6s ease-out, opacity 0.6s ease-out;
  }

  .block__left-second.show {
    opacity: 1;
    transform: translateX(0);
    transition-delay: 0.2s;
  } */

/*  появления текста по словам*/
.header__main-title {
  overflow: hidden;
}

.word1  {
  display: inline-block;
  opacity: 0;
  animation: revealWord 1s forwards;
  animation-delay: 0.2s;
}
.word2  {
  display: inline-block;
  opacity: 0;
  animation: revealWord 1s forwards;
  animation-delay: 0.4s;
}
.word3  {
  display: inline-block;
  opacity: 0;
  animation: revealWord 1s forwards;
  animation-delay: 0.6s;
}
.word4  {
  display: inline-block;
  opacity: 0;
  animation: revealWord 1s forwards;
  animation-delay: 0.8s;
}

@keyframes revealWord {
  0% {
    transform: translateY(100%);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

.scale {
  transition: transform 0.5s ease, background-color 0.3s ease;
}

.scale:hover {
  transform: scale(1.04);
}

/* Стили стрелки в шапке  */

.arrow {
  cursor: pointer;
  width: 50px;
  height: 50px;
  margin: 50px auto 0;
  opacity: 0;
  visibility: hidden; /* Скрывает элемент до начала анимации */
  animation: appearance 1s linear 1 forwards, moveUpDown 2.6s ease-in-out infinite;
  animation-delay: 1.9s, 0s; /* Отдельные задержки для каждой анимации */
  -webkit-transition: 0.5s ease; /* Safari and Chrome */
  -moz-transition: 0.5s ease; /* Firefox 4 */
  -o-transition: 0.5s ease; /* Opera */
}

.arrow:hover {
  background-image: url(../img/icons/arrow-hover.svg);
  transition: 0.5s ease;
}

@keyframes appearance {
  from {
    opacity: 0;
    visibility: visible; /* Переход из скрытого состояния */
  }
  to {
    opacity: 1;
    visibility: visible; /* Оставляет элемент видимым после анимации */
  }
}

@keyframes moveUpDown {
  0% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-50px);
  }
  100% {
    transform: translateY(0);
  }
}

/* Стили модального окна обратной связи */

/* Стили для отключения прокрутки */

.no-scroll {
  overflow: hidden;
}

/* Стили для модального окна */
.modal {
  box-sizing: content-box;
  display: none;
  position: fixed;
  z-index: 1000000000; /* Убедитесь, что z-index не слишком велик */
  left: 50%;
  top: 50%;
  width: 100%; /* Ширина модального окна */
  max-width: 1475px;
  height: auto; /* Высота может быть авто, если содержимое динамическое */
  overflow: auto;
  /* background-color: rgb(0, 0, 0); */
  /* background-color: rgba(0, 0, 0, 0.4); */
  /* padding: 20px;  */
  transform: translate(-50%, -50%); /* Центрирование */
}

.modal-content {
  box-sizing: content-box;
  z-index: 10000000000000000000;
  border-radius: 40px;
  background: #ffffff;
  margin: 0 auto;
  padding: 60px ;
  /* max-width: 1476px; */
  position: relative; /* Добавлено для позиционирования крестика */
  max-height: 80%;
  overflow-x: auto;
}

.modal-content-exit-circle {
  position: absolute; /* Абсолютное позиционирование внутри модального окна */
  content: "";
  top: 40px;
  left: 1350px;
  display: flex; /* Используем flexbox для центрирования */
  justify-content: center; /* Центрируем по горизонтали */
  align-items: center; /* Центрируем по вертикали */
  width: 69px; /* Установите желаемый размер круга */
  height: 69px; /* Установите желаемый размер круга */
  border-radius: 50%; /* Делаем круг */
  background-color: #f0f0f0; /* Цвет фона круга (можно изменить) */
}

.modal-content-exit-close {
  width: 30%; /* Установите ширину SVG относительно круга */
  height: auto; /* Автоматическая высота для сохранения пропорций */
  stroke: #000;
  -webkit-transition: 0.3s ease; /* Safari and Chrome */
  -moz-transition: 0.3s ease; /* Firefox 4 */
  -o-transition: 0.3s ease; /* Opera */
}

.modal-content-exit-close:hover {
  stroke: white;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s;
}

.modal-content-exit-close:active {
  stroke: #373636;
  transition: 0.3s;
}

.modal-content-container {
  display: grid;
  grid-template-columns: 3fr 2fr;
  justify-content: center;

}

.modal-content-container-form {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 646px;
  gap: 25px;  /* Между заголовком и формой */
  z-index: 1000000000000000;
}

.modal-content-container-form-section {
  display: flex;
  flex-direction: column;
  gap: 40px; /* Добавьте промежуток между элементами формы */
}

.modal-content-container-form-item {
  display: flex;
  flex-direction: row;
  height: 42px;
  gap: 10px; /* Промежуток между меткой и полем ввода */
  border-bottom: 1px solid #676767;
  padding-bottom: 10px; /* Добавьте внутренний отступ снизу для визуального разделения */
}

.modal-content-container-form-text {
  margin-top: 35px; /* Между кнопкой и нижним текстом */
  display: flex;
  flex-direction: column;
  gap: 20px; /* Между текстами */
}

.modal-content-container-form-item input {
  width: 100%;
}

/* Кнопка модального меню */
.button__consult {
  cursor: pointer;
  display: flex;
  padding: 20px 39px;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  align-self: stretch;
  border-radius: 100px;
  border: 1px solid #23B020;
  background: #23B020;
  -webkit-transition: 0.3s ease; /* Safari and Chrome */
  -moz-transition: 0.3s ease; /* Firefox 4 */
  -o-transition: 0.3s ease; /* Opera */
}

.button__consult:hover {
  background: white;
  transition: 0.3s;
  color:#000;
}

.button__consult:active {
  border: 1px solid #969599;
  background: #969599;
  transition: 0.3s;
}

/* Текст под кнопкой */
.modal-content-container-form-mini {
  position: relative;
  display: flex;
  align-items: center; /* Выравнивание элементов по центру по вертикали */
}

.modal-content-container-contacts {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-left: 108px;
  border-left: 1px #676767 solid;
  text-align: left;
  gap: 30px;
}

.modal-content-container-contacts-message {
  display: flex;
  gap: 36px;
}

/* Стили чек-бокса */

.checkbox-size {
  margin-right: 20px;
}

#confirm {
  appearance: none; /* Убираем стандартное оформление чекбокса */
  width: 45px; /*Увеличить ширину в 2 раза от макета */
  height: 30px;
  border: 1px solid #676767; /* Черная рамка */
  border-radius: 5px;
  z-index: 500000000000000; /* z-index 50000 */
  position: relative; /* Позиционирование для применения z-index */
  transition: 0.2s;
}

#confirm:hover {
  cursor: pointer;
}

#confirm:checked {
  background-color: #23B020; /* Черный цвет заливки при установленном чекбоксе */
}

#confirm:checked::after {
  content: ''; /* Псевдоэлемент для галочки */
  display: block;
  width: 14px;
  height: 24px;
  border: solid white;
  border-width: 0 3px 3px 0;
  transform: rotate(45deg);
  position: absolute;
  bottom: 6px;
  left: 6px;
}

.modal-content-success {
  display: none; /* Скрываем сообщение об успешной отправке по умолчанию */
  max-width: 646px;
  /* padding-right: 108px; */
  /* gap: 25px; */
}

.modal-content-succes-text {
  text-align: left;
  align-self: center;
}

.modal-content-success h3 {
  margin-bottom: 25px;
}

/* Ошибка валидации полей */

.error-message {
  position: absolute;
  background-color: #ffffff;
  color: #b20000;
  border-radius: 20px;
  padding: 10px 20px;
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
  font-size: 14px;
  display: none;
  align-items: center;
  white-space: nowrap;
  z-index: 10;
  transform: translateX(-50%);
}

.error-message::before {
  content: "!";
  display: inline-block;
  width: 20px;
  height: 20px;
  background-color: #b20000;
  color: white;
  border-radius: 50%;
  text-align: center;
  margin-right: 10px;
  padding-top: 2px;
  font-weight: bold;
}

.error-message.visible {
  display: flex;
}

.error-border {
  border-color: #b20000;
}

.modal-content-container-form-item {
  position: relative;
}

.error-message {
  bottom: -45px;
  left: 50%;
}






















.section__clients-table {
  position: relative;
  overflow: hidden; /* Обрезаем все, что выходит за пределы контейнера */
}

.section__clients-table::before,
.section__clients-table::after {
  content: '';
  position: absolute;
  top: 0;
  width: 15%; /* Ширина затемнения по бокам */
  height: 100%;
  z-index: 2; /* Убедитесь, что затемнение выше карусели */
}

.section__clients-table::before {
  left: 0;
  background: linear-gradient(to right, #120e15, rgba(0, 0, 0, 0));
}

.section__clients-table::after {
  right: 0;
  background: linear-gradient(to left, #120e15, rgba(0, 0, 0, 0));
}








