/* Кастомные анимации для проекта */

/* Fade-in анимация */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

/* Fade-out анимация */
@keyframes fadeOut {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
  }
}

/* Рост элементов */
@keyframes grow {
  from {
    transform: scale(0.9);
    opacity: 0;
  }
  to {
    transform: scale(1);
    opacity: 1;
  }
}

/* Плавное появление снизу */
@keyframes slideUp {
  from {
    transform: translateY(30px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Плавное появление слева */
@keyframes slideLeft {
  from {
    transform: translateX(-30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Плавное появление справа */
@keyframes slideRight {
  from {
    transform: translateX(30px);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Применение анимаций */
.animate-fade-in {
  animation: fadeIn 0.5s ease-in-out;
}

.animate-fade-out {
  animation: fadeOut 0.5s ease-in-out;
}

.animate-grow {
  animation: grow 0.4s ease-out;
}

.animate-slide-up {
  animation: slideUp 0.5s ease-out;
}

.animate-slide-left {
  animation: slideLeft 0.5s ease-out;
}

.animate-slide-right {
  animation: slideRight 0.5s ease-out;
}

/* Задержки для последовательного появления */
.delay-100 {
  animation-delay: 0.1s;
}

.delay-200 {
  animation-delay: 0.2s;
}

.delay-300 {
  animation-delay: 0.3s;
}

.delay-400 {
  animation-delay: 0.4s;
}

/* Стили для активных табов */
[data-tab-button].active {
  color: #1E3A5F;
  border-bottom-color: #6B8E5A;
  border-bottom-width: 2px;
}

/* Стили для FAQ */
.faq-icon.rotate-180 {
  transform: rotate(180deg);
  transition: transform 0.3s ease;
}

.faq-icon {
  transition: transform 0.3s ease;
}

/* Стили для мобильного меню */
@media (max-width: 768px) {
  [data-burger-menu] {
    position: fixed;
    top: 73px;
    left: 0;
    right: 0;
    bottom: 0;
    background: white;
    z-index: 40;
    overflow-y: auto;
  }
}
