.navbar-brand img {
  height: 80px !important;
  width: 250px !important;
  transition: all 0.3s ease;
}

.navbar-scrolled {
  padding: 0.3rem 1rem !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.navbar-scrolled .navbar-brand img {
  height: 60px !important;
  width: 200px !important;
  transition: all 0.3s ease;
}

.top-bar-scrolled {
  transform: translateY(-100%);
  opacity: 0;
  transition: all 0.3s ease;
}


.nav-link.nav-reques:hover,
.nav-request:hover i {
  color: #fff !important;
}

.nav-request i {
  color: #fff;
  font-size: 1.05rem;
}

.nav-request:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 22px rgba(3, 87, 10, 0.14);
  text-decoration: none;
  opacity: 0.98;
}
.nav-link.nav-reques {
  color: #fff !important;
}

.nav-link.nav-request:hover {
  color: #fff !important;
}

/* Для мобильного вида — чтобы фон не растягивался на всю ширину */
@media (max-width: 767.98px) {
  .navbar-nav .nav-request {
    margin: 6px auto;
  }
}

/* Исправление проблемы с навигацией */
body {
  padding-top: 0 !important;
}

/* Гарантированное правильное позиционирование навигации */
#mainNavbar.navbar {
  position: fixed !important;
  top: 40px !important; /* Высота верхней контактной панели */
  left: 0 !important;
  right: 0 !important;
  z-index: 1030 !important;
  width: 100% !important;
}

/* При скролле */
#mainNavbar.navbar-scrolled {
  top: 0 !important;
}

/* Верхняя контактная панель */
.top-contact-bar {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 1031 !important; /* Выше навигации */
  width: 100% !important;
}

/* ОСНОВНОЙ КОНТЕНТ - добавляем отступ сверху */
.main-content {
  margin-top: 160px !important; /* Высота навигации + верхней панели */
  min-height: calc(100vh - 160px);
  position: relative;
  z-index: 1;
}

/* Для герой-секции */
.hero-section {
  margin-top: 160px !important; /* Общая высота шапки */
  position: relative;
  z-index: 1;
}

/* Для всех остальных секций */
section:not(.hero-section) {
  margin-top: 0;
  padding-top: 2rem;
  position: relative;
  z-index: 1;
}

/* Убедитесь, что контент не перекрывается */
.container,
.container-fluid {
  position: relative;
  z-index: 2;
}





/* Исправление для мобильных устройств */
@media (max-width: 768px) {
  .main-content {
    margin-top: 140px !important;
  }

  .hero-section {
    margin-top: 140px !important;
  }

  #mainNavbar.navbar {
    top: 35px !important;
  }
}

@media (max-width: 576px) {
  .main-content {
    margin-top: 120px !important;
  }

  .hero-section {
    margin-top: 120px !important;
  }

  #mainNavbar.navbar {
    top: 30px !important;
  }
}

.manufacturers-item {
  cursor: pointer;
  transition: transform 0.3s;
}

.manufacturers-item:hover {
  transform: scale(1.05);
}

.img-container {
  padding: 15px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.modal-body img {
  max-height: 400px;
  object-fit: contain;
}
/* кнопка копировать */
.copy-email-btn {
  background-color: #003087;
  color: white;
  border: none;
  padding: 10px 20px;
  font-size: 16px;
  border-radius: 5px;
  transition: background-color 0.5s ease, box-shadow 0.5s ease;
}

.copy-email-btn:hover {
  background-color: #006d3a;
  box-shadow: 0 0 10px #006d3a, 0 0 20px #003087;
  cursor: pointer;
}

.copy-email-btn:active {
  background-color: #002060;
  box-shadow: 0 0 5px #002060;
}

/* коненц кнопка копировать */

/* навигация ссылки*/
.nav-link i {
  font-size: 1.2rem; /* Размер иконок */
  line-height: 1; /* Убираем лишний промежуток снизу */
}
.nav-link span {
  font-size: 0.9rem; /* Размер текста */
}

.nav-link:hover::after {
  left: 0;
  width: 100%;
}

/* Партнеры */
.partner-logo {
  filter: grayscale(100%);
  transition: 0.3s;
}
.partner-logo:hover {
  filter: none;
}

/* Анимация чисел */
.counter {
  font-size: 2.5rem;
  font-weight: bold;
  color: #00572f;
}
/*рамки карты:*/
.map-container {
  border-radius: 25px;
  overflow: hidden;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.64);
}

/* анимации карточек*/
.card {
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

/* footer реквизиты*/
#footer-requisites-download:hover {
  color: #00572f !important; /* синий цвет как в Bootstrap */
  transition: color 0.2s ease;
}

/*footer навиuация*/
/* Основные стили для футера */
.footer {
  font-family: "Arial", sans-serif;
  background-color: #f8f9fa;
  color: #333;
  box-shadow: 0 -5px 10px rgba(0, 0, 0, 0.1); /* Верхняя тень */
}

.footer-widget h5 {
  color: #006d3a;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.footer-widget ul {
  padding-left: 0;
}

.footer-widget ul li {
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
}

.footer-widget ul li a {
  color: #333;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-widget ul li a:hover {
  color: #006d3a;
}

.footer-bottom {
  background-color: #ffffff00;
  color: #666666;
  font-size: 0.875rem;
}

/* Иконки */
.bi {
  vertical-align: middle;
  transition: transform 0.3s ease; /* Анимация для иконок */
}

.footer-widget ul li a:hover .bi {
  transform: translateX(5px); /* Анимация смещения иконки */
}

/* Адаптивные стили */
@media (max-width: 768px) {
  .footer-widget {
    margin-bottom: 2rem;
  }

  .footer-bottom {
    text-align: center;
  }

  .footer-bottom .col-md-6 {
    text-align: center !important;
  }
}

/*конец футер навиuаций*/

.hero-section .container {
  position: relative;
  z-index: 1;
}

/* Навигация верх */

.navbar {
  padding: 0.5rem 1rem;
  min-height: 60px;
}

.navbar-brand {
  height: 100%;
  padding: 0;
}

.navbar-brand img {
  height: 95px;
  width: 320px;
  object-fit: contain;
  transition: all 0.3s;
}
/* Мобильная адаптация */
@media (max-width: 767px) {
  .navbar-brand img {
    width: 140px; /* Уменьшенная ширина для мобильных */
    height: auto; /* Сохраняем пропорции */
    max-width: 80%; /* Защита от переполнения */
    max-height: 50px; /* Лимит высоты */
  }
}

/* -секция */
.hero-section {
  height: 500px;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
@media (min-width: 1200px) {
  .hero-section {
    font-size: 36px;
  }
}
@media (max-width: 1200px) {
  .hero-section {
    font-size: 30px;
  }
}
@media screen and (orientation: landscape) and (max-height: 500px) {
  .hero-section {
    margin-top: 15vh;
    /* Дополнительные стили для маленькой высоты */
  }
}

@media (min-width: 2200px) {
  .hero-section {
    font-size: 46px;
  }
}
/* Основные цвета */
:root {
  --primary-color: #00572f;
  --primary-dark: #004125;
  --primary-light: #006d3a;
  --accent-color: #02914e;
  --text-dark: #333333;
  --text-light: #666666;
  --background-light: #f8f9fa;
  --white: #ffffff;
}

/* Верхняя контактная панель */
.top-contact-bar {
  background: linear-gradient(
    135deg,
    var(--primary-color) 0%,
    var(--primary-light) 100%
  );
  color: var(--white);
  padding: 0.1rem;
  font-size: 0.9rem;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1031;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  transition: all 0.3s ease;
}

.contact-info {
  display: flex;
  gap: 1.5rem;
  align-items: center;
}

.contact-link {
  color: var(--white) !important;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.3rem 0.8rem;
  border-radius: 20px;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.contact-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: left 0.5s;
}

.contact-link:hover::before {
  left: 100%;
}

.contact-link:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.contact-link i {
  font-size: 1rem;
  transition: transform 0.3s ease;
}

.contact-link:hover i {
  transform: scale(1.2);
}

/* Социальные ссылки и время работы */
.social-links {
  display: flex;
  align-items: center;
  gap: 1rem;
  justify-content: flex-end;
}

.work-time {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.9;
}

.social-link {
  color: var(--white) !important;
  text-decoration: none;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px) scale(1.1);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Навигация */
.navbar {
  padding: 1rem 2rem; /* Увеличил padding по бокам */
  min-height: 80px;
  transition: all 0.3s ease;
  top: 40px;
  background: var(--white) !important;
}

.navbar-brand {
  margin-right: 0 !important; /* Убираем отступ справа у логотипа */
}

.navbar-brand .logo-img {
  height: 95px;
  width: 320px;
  object-fit: contain;
  transition: all 0.3s ease;
}

/* Навигация при скролле */
.navbar-scrolled {
  padding: 0.5rem 2rem !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  min-height: 70px;
  top: 0 !important;
}

.navbar-scrolled .navbar-brand .logo-img {
  height: 60px !important;
  width: 200px !important;
}

/* Навигационные ссылки - выровнены по правому краю */
.navbar-nav {
  gap: 0.5rem;
}

.nav-link i {
  font-size: 1.2rem;
  line-height: 1;
  transition: transform 0.3s ease;
}

.nav-link span {
  font-size: 0.8rem;
  font-weight: 500;
}

.nav-link {
  position: relative;
  color: var(--text-dark) !important;
  transition: all 0.3s ease;
  padding: 0.5rem 0.8rem !important;
  margin: 0 0.1rem;
  border-radius: 8px;
  min-width: 70px;
}

.nav-link:hover {
  color: var(--primary-color) !important;
  background-color: rgba(0, 87, 47, 0.05);
}

.nav-link:hover i {
  transform: scale(1.1);
  color: var(--primary-color);
}

.nav-link::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background-color: var(--primary-color);
  transition: all 0.3s ease;
  border-radius: 2px;
}

.nav-link:hover::after {
  left: 0;
  width: 100%;
}

/* Активная ссылка */
.nav-link.active {
  color: var(--primary-color) !important;
  background-color: rgba(0, 87, 47, 0.1);
}

.nav-link.active::after {
  left: 0;
  width: 100%;
}

/* Скрытие верхней панели при скролле */
.top-bar-scrolled {
  transform: translateY(-100%);
  opacity: 0;
  pointer-events: none;
}

/* Адаптивность для верхней панели */
/* Полное скрытие верхней панели на мобильных */
@media (max-width: 768px) {
  .top-contact-bar {
    display: none;
  }

  /* Корректируем отступы для навигации */
  #mainNavbar.navbar {
    top: 0 !important;
  }

  .main-content,
  .hero-section {
    margin-top: 80px !important; /* Только высота навигации */
  }
}

/* Адаптивность для навигации */
@media (max-width: 991.98px) {
  .navbar {
    padding: 0.5rem 1rem;
  }

  .navbar-brand .logo-img {
    height: 70px;
    width: 240px;
  }

  .navbar-scrolled .navbar-brand .logo-img {
    height: 50px !important;
    width: 180px !important;
  }

  .navbar-collapse {
    background: var(--white);
    padding: 1rem;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin-top: 0.5rem;
  }

  .nav-link {
    padding: 0.8rem 1rem !important;
    margin: 0.2rem 0;
    justify-content: flex-start !important;
    flex-direction: row !important;
    min-width: auto;
  }

  .nav-link i {
    margin-right: 0.8rem;
    font-size: 1.2rem;
    width: 20px;
    text-align: center;
  }

  .nav-link span {
    font-size: 0.9rem;
  }
}

@media (max-width: 767.98px) {
  .navbar-brand .logo-img {
    height: 60px;
    width: 200px;
  }

  .navbar-scrolled .navbar-brand .logo-img {
    height: 45px !important;
    width: 150px !important;
  }

  .navbar {
    padding: 0.5rem 1rem;
    min-height: 70px;
  }
}

@media (max-width: 575.98px) {
  .top-contact-bar {
    position: relative;
    padding: 0.5rem 0;
  }

  .contact-info {
    flex-direction: column;
    gap: 0.5rem;
  }

  .social-links {
    justify-content: center;
    margin-top: 0.5rem;
  }

  .content-wrapper {
    padding-top: 0;
  }

  #mainNavbar {
    position: relative !important;
  }

  .navbar-brand .logo-img {
    height: 50px;
    width: 170px;
  }

  .navbar-scrolled .navbar-brand .logo-img {
    height: 40px !important;
    width: 140px !important;
  }
}

/* Анимации */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

.contact-link.pulse {
  animation: pulse 1s ease-in-out;
}

/* Контейнер для правильного расположения */
.container-fluid {
  padding-left: 2rem;
  padding-right: 2rem;
}

@media (max-width: 768px) {
  .container-fluid {
    padding-left: 1rem;
    padding-right: 1rem;
  }
}

/* Секция с видео героя - уменьшенная версия */
.hero-section {
  position: relative;
  height: 70vh;
  min-height: 500px;
  max-height: 700px;
  overflow: hidden;
  display: flex;
  align-items: center;
  margin-top: 120px;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#bgVideo {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  object-fit: cover;
  z-index: 0;
}

.overlay-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    135deg,
    rgba(0, 87, 47, 0.9) 0%,
    rgba(0, 65, 37, 0.8) 50%,
    rgba(0, 0, 0, 0.7) 100%
  );
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  padding: 1rem 0;
}

.hero-title {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.text-primary-green {
  color: #4cd964 !important;
  font-weight: 800;
}

/* Контейнер для ротирующего текста */
.rotating-text-container {
  margin-bottom: 2rem;
  text-align: center;
}

.rotating-text {
  font-size: 1.3rem;
  line-height: 1.6;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

.text-rotation-indicator {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  font-size: 0.85rem;
  opacity: 0.7;
  color: rgba(255, 255, 255, 0.8);
}

.text-rotation-indicator i {
  animation: spin 4s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.hero-features {
  display: flex;
  gap: 1.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
  justify-content: center;
}

.feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 1rem;
  background: rgba(255, 255, 255, 0.1);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-item:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, 0.3);
}

.feature-item i {
  color: #4cd964;
  font-size: 1.1rem;
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

.btn-primary-hero {
  background: linear-gradient(
    135deg,
    var(--primary-color),
    var(--primary-light)
  );
  color: var(--white);
  padding: 0.7rem 1.8rem;
  border: none;
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 87, 47, 0.3);
  font-size: 0.95rem;
}

.btn-primary-hero:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(0, 87, 47, 0.4);
  color: var(--white);
  background: linear-gradient(
    135deg,
    var(--primary-light),
    var(--primary-color)
  );
}

.btn-outline-hero {
  background: transparent;
  color: var(--white);
  padding: 0.7rem 1.8rem;
  border: 2px solid var(--white);
  border-radius: 50px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  backdrop-filter: blur(10px);
  font-size: 0.95rem;
}

.btn-outline-hero:hover {
  background: var(--white);
  color: var(--primary-color);
  transform: translateY(-3px);
  box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* Анимации */
.animate__animated {
  animation-duration: 1s;
}

/* Адаптивность для уменьшенной герой-секции */
@media (max-width: 1200px) {
  .hero-title {
    font-size: 2rem;
  }

  .rotating-text {
    font-size: 1.2rem;
    min-height: 70px;
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: 60vh;
    min-height: 450px;
    margin-top: 100px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .rotating-text {
    font-size: 1.1rem;
    min-height: 60px;
    padding: 0.8rem;
  }

  .feature-item {
    font-size: 0.95rem;
    padding: 0.4rem 1rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 55vh;
    min-height: 400px;
    margin-top: 80px;
  }

  .hero-title {
    font-size: 1.6rem;
    margin-bottom: 1rem;
  }

  .rotating-text {
    font-size: 1rem;
    min-height: 50px;
    padding: 0.7rem;
  }

  .text-rotation-indicator {
    font-size: 0.8rem;
  }

  .hero-features {
    gap: 1rem;
    margin-bottom: 1.5rem;
  }

  .feature-item {
    font-size: 0.9rem;
    padding: 0.4rem 0.8rem;
  }

  .hero-buttons {
    gap: 0.8rem;
  }

  .btn-primary-hero,
  .btn-outline-hero {
    padding: 0.6rem 1.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 50vh;
    min-height: 350px;
    margin-top: 60px;
  }

  .hero-title {
    font-size: 1.4rem;
  }

  .rotating-text {
    font-size: 0.95rem;
    min-height: 45px;
    padding: 0.6rem;
  }

  .text-rotation-indicator {
    font-size: 0.75rem;
  }

  .hero-features {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
  }

  .feature-item {
    width: auto;
  }

  .hero-buttons {
    flex-direction: column;
    align-items: center;
  }

  .btn-primary-hero,
  .btn-outline-hero {
    width: 100%;
    max-width: 220px;
    text-align: center;
  }
}

/* Секция с видео героя - выровненная по вертикали */
.hero-section {
  position: relative;

  min-height: 600px;
  max-height: 800px;
  overflow: hidden;
  display: flex;
  align-items: center; /* Вот это выравнивает по вертикали */
  justify-content: center; /* Выравнивание по горизонтали */
  margin-top: 120px;
}

.hero-content {
  position: relative;
  z-index: 2;
  color: var(--white);
  width: 100%;
  padding: 2rem 0;
  display: flex;
  align-items: center; /* Добавляем выравнивание */
  min-height: 100%; /* Занимает всю высоту */
}

/* Убедимся, что контейнер тоже выравнивается */
.hero-section .container {
  height: 100%;
  display: flex;
  align-items: center;
}

.hero-section .row {
  width: 100%;
}

/* Улучшим внешний вид для центрирования */
.hero-title {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-align: center;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.rotating-text-container {
  margin-bottom: 2rem;
  text-align: center;
}

.rotating-text {
  font-size: 1.3rem;
  line-height: 1.6;
  min-height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.5s ease;
  margin-bottom: 0.5rem;
  font-weight: 500;
}

/* Адаптивность для центрированного контента */
@media (max-width: 1200px) {
  .hero-section {
    height: 90vh;
  }

  .hero-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 992px) {
  .hero-section {
    height: 80vh;
    min-height: 500px;
  }

  .hero-title {
    font-size: 2rem;
  }

  .rotating-text {
    font-size: 1.2rem;
    min-height: 70px;
    padding: 1.2rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 70vh;
    min-height: 450px;
  }

  .hero-title {
    font-size: 1.8rem;
  }

  .rotating-text {
    font-size: 1.1rem;
    min-height: 60px;
    padding: 1rem;
  }
}

@media (max-width: 576px) {
  .hero-section {
    height: 60vh;
    min-height: 400px;
  }

  .hero-title {
    font-size: 1.6rem;
  }

  .rotating-text {
    font-size: 1rem;
    min-height: 50px;
    padding: 0.8rem;
  }
}
/*конец блока Навигаций*/

/*категорий*/

/* вакансий */
#unique-vacancy-section {
  padding: 50px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

#unique-vacancy-intro {
  text-align: center;
  margin-bottom: 60px;
}

#unique-vacancy-intro h2 {
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 20px;
}

#unique-vacancy-intro p {
  font-size: 1.1rem;
  color: #6c757d;
  max-width: 800px;
  margin: 0 auto;
}

.unique-vacancy-card {
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.unique-vacancy-card:hover {
  transform: translateY(-10px);
}

.unique-card-image {
  height: 250px;
  object-fit: cover;
  border-top-left-radius: 15px;
  border-top-right-radius: 15px;
}

.unique-card-body {
  padding: 25px;
}

.unique-card-title {
  color: #2c3e50;
  font-weight: 700;
  margin-bottom: 15px;
}

.unique-card-text {
  color: #6c757d;
  font-size: 0.95rem;
  line-height: 1.6;
}

.unique-card-body {
  padding: 25px;
  min-height: 320px; /* Фиксированная минимальная высота */
  display: flex;
  flex-direction: column;
}

.unique-card-text {
  flex-grow: 1; /* Занимает всё доступное пространство */
  margin-bottom: 0; /* Убираем отступ снизу */
}

/* Остальные стили остаются без изменений */
.unique-vacancy-card {
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease;
  margin-bottom: 30px;
  background: white;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  /* height: 100%;  Добавляем для одинаковой высоты карточек */
}

/* слайдер для брендов */
#seamless-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: transparent;
  margin: 2rem 0;
}

#seamless-slider .slider-track {
  display: flex;
  width: max-content;
  animation: slide 40s linear infinite;
  padding: 15px 0;
}

#seamless-slider .slide-item {
  flex: 0 0 auto;
  padding: 0 25px;
  display: flex;
  align-items: center;
  transition: transform 0.3s ease;
}

#seamless-slider .slide-item:hover {
  transform: scale(1.1);
}

#seamless-slider .slide-img {
  max-height: 150px;
  width: auto;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

#seamless-slider .slide-img:hover {
  filter: grayscale(0%);
  opacity: 1;
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  #seamless-slider .slide-item {
    padding: 0 15px;
  }

  #seamless-slider .slide-img {
    max-height: 75px; /*размер на мобильного картинок брендов*/
  }
}

/* старница брендов  */
#manufacturers-grid .manufacturers-item {
  padding: 10px;
  transition: transform 0.3s ease;
}

#manufacturers-grid .manufacturers-item:hover {
  transform: scale(1.05);
  z-index: 1;
}

#manufacturers-grid .img-container {
  position: relative;
  width: 100%;
  padding-top: 100%; /* Создает квадратный контейнер */
  overflow: hidden;
  border-radius: 10px;
  background: #f8f9fa;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

#manufacturers-grid .manufacturers-img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 15%;
  transition: opacity 0.3s ease;
}

/* Адаптация для мобильных */
@media (max-width: 768px) {
  #manufacturers-grid .manufacturers-item {
    padding: 5px;
  }
}

/* страница схема работы */
#workflow-section {
  background: #ffffff;
  padding: 4rem 0;
}

#workflow-intro,
#workflow-outro {
  max-width: 800px;
  margin: 2rem auto;
  padding: 2rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 15px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.1);
}

.workflow-step-card {
  background: #ffffff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
  border: none;
  border-radius: 15px;
  transition: transform 0.3s ease;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.workflow-step-card:hover {
  transform: translateY(-10px);
}

.step-number {
  width: 50px;
  height: 50px;
  background: #00572f;
  color: white;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  position: absolute;
  top: -15px;
  left: -15px;
  box-shadow: 0 5px 15px #00572f;
}

.step-icon {
  font-size: 2.5rem;
  color: #00572f;
  margin-bottom: 1rem;
}

#workflow-outro {
  border-left: 4px solid #00572f;
}

@media (max-width: 768px) {
  .workflow-step-card {
    margin-bottom: 2rem;
  }
}

/* ситуаци когда мы не можем поставить */
#workflow-contingency {
  position: relative;
  z-index: 10;
}

.contingency-card {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border-left: 4px solid transparent !important;
}

.contingency-card:hover {
  transform: translateY(-5px);
  border-left-color: #00572f !important;
}

.solution-box {
  position: relative;
  overflow: hidden;
}

.solution-box:after {
  content: "";
  position: absolute;
  right: -20px;
  top: -20px;
  width: 60px;
  height: 60px;
  background: rgba(255, 255, 255, 0.1);
  transform: rotate(45deg);
}

#contingency-guarantee li {
  padding-left: 30px;
  position: relative;
}

#contingency-guarantee li i {
  position: absolute;
  left: 0;
  top: 2px;
}

/* Почему мы?  */
#epl-why-us-horizontal {
  padding: 80px 0;
  background: rgba(248, 249, 250, 0);
}

.epl-square-card {
  background: #ffffff;
  border-radius: 15px;
  padding: 30px;
  margin: 15px;
  min-height: 300px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.epl-square-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.epl-square-icon {
  font-size: 2.5rem;
  color: #045730;
  margin-bottom: 20px;
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 123, 255, 0.1);
  border-radius: 50%;
}

@keyframes eplFadeIn {
  from {
    opacity: 0;
    transform: scale(0.9);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.epl-card-animated {
  animation: eplFadeIn 0.6s ease forwards;
}

/* сноска  поднимаем  и партнеры*/
.Snoska-hero {
  background: #00572f;
  padding: 5rem 0;
}

.partner-card {
  transition: all 0.3s ease;
  border-radius: 0.75rem;
  cursor: pointer;
}

.partner-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1) !important;
}

.partner-card.active {
  box-shadow: 0 0 0 2px #045730 !important;
}

.partner-logo-wrapper {
  height: 140px;
  transition: all 0.3s ease;
}

.partner-logo {
  max-height: 80px;
  max-width: 80%;
  transition: transform 0.3s ease;
}

.partner-card:hover .partner-logo {
  transform: scale(1.05);
}

.partner-name {
  font-weight: 600;
  color: #004125;
  color: #212529;
}

.description-container {
  border-left: 4px solid #045730;
  animation: fadeIn 0.3s ease-out;
}

.description-title {
  font-weight: 700;
  color: #045730;
}

.description-text {
  font-size: 1.1rem;
  line-height: 1.6;
  color: #495057;
}

.btn-close {
  opacity: 0.7;
  transition: opacity 0.2s;
}

.btn-close:hover {
  opacity: 1;
}

.cta-card {
  border: 1px solid rgba(0, 48, 135, 0.1);
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность */
@media (max-width: 767.98px) {
  .Snoska-hero {
    padding: 3rem 0;
  }

  .partner-logo-wrapper {
    height: 100px;
  }

  .partner-logo {
    max-height: 60px;
  }

  .description-text {
    font-size: 1rem;
  }
}

@media (max-width: 575.98px) {
  .partner-logo-wrapper {
    height: 80px;
  }

  .partner-name {
    font-size: 1rem;
  }
}
/*старница запроса*/
.form-container {
  max-width: 700px;
  margin: 2rem auto;
  padding: 2.5rem;
  border-radius: 1rem;
  background: linear-gradient(145deg, #ffffff, #f8f9fa);
  box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.075);
}

.form-label {
  font-weight: 600;
  color: #2d3436;
}

.input-group-text {
  background: linear-gradient(45deg, #e9ecef, #f8f9fa);
}

.captcha-refresh-btn {
  transition: transform 0.3s ease;
}

.captcha-refresh-btn:hover {
  transform: rotate(90deg);
}

.file-upload-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem;
  background: #f8f9fa;
  border-radius: 0.5rem;
  cursor: pointer;
  transition: background 0.2s;
}

.file-upload-label:hover {
  background: #e9ecef;
}

* Добавьте эти стили */ .alert-danger {
  background: #f8d7da;
  border-color: #f5c2c7;
  color: #842029;
}

.alert-danger .bi-x-circle-fill {
  color: #dc3545 !important;
}

.alert-success {
  background: #d1e7dd;
  border-color: #badbcc;
  color: #0f5132;
}

.alert-success .bi-check-circle-fill {
  color: #198754 !important;
}

/* Cookie Consent Banner */
#cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
  z-index: 9999;
  padding: 1rem 0;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  border-top: 3px solid #0b4b42;
}

#cookie-consent-banner.show {
  transform: translateY(0);
}

#cookie-consent-banner .cookie-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
}

#cookie-consent-banner .cookie-text {
  flex: 1;
  min-width: 280px;
}

#cookie-consent-banner .cookie-text p {
  margin: 0;
  color: #343a40;
  font-size: 0.95rem;
  line-height: 1.5;
}

#cookie-consent-banner .cookie-text a {
  color: #0b4b42;
  text-decoration: underline;
  font-weight: 500;
  transition: color 0.2s ease;
}

#cookie-consent-banner .cookie-text a:hover {
  color: #103520;
}

#cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 0.75rem;
  flex-shrink: 0;
}

#cookie-consent-banner .btn-cookie-accept {
  background: linear-gradient(135deg, #0b4b42 0%, #103520 100%);
  color: white;
  border: none;
  padding: 0.625rem 1.5rem;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(11, 75, 66, 0.25);
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

#cookie-consent-banner .btn-cookie-accept:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(11, 75, 66, 0.35);
  background: linear-gradient(135deg, #103520 0%, #0b4b42 100%);
}

#cookie-consent-banner .btn-cookie-decline {
  background: transparent;
  color: #6c757d;
  border: 1px solid #dee2e6;
  padding: 0.625rem 1.25rem;
  border-radius: 8px;
  font-weight: 500;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

#cookie-consent-banner .btn-cookie-decline:hover {
  background: #f8f9fa;
  border-color: #adb5bd;
  color: #495057;
}

#cookie-consent-banner .cookie-icon {
  font-size: 2rem;
  color: #0b4b42;
  flex-shrink: 0;
}

@media (max-width: 767.98px) {
  #cookie-consent-banner .cookie-content {
    flex-direction: column;
    text-align: center;
  }
  
  #cookie-consent-banner .cookie-buttons {
    width: 100%;
    justify-content: center;
  }
  
  #cookie-consent-banner .cookie-icon {
    display: none;
  }
}

/* Анимация появления */
@keyframes slideUpFromBottom {
  from {
    transform: translateY(100%);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

#cookie-consent-banner.animate-in {
  animation: slideUpFromBottom 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

/* Анимация скрытия */
@keyframes slideOutToBottom {
  from {
    transform: translateY(0);
    opacity: 1;
  }
  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

#cookie-consent-banner.animate-out {
  animation: slideOutToBottom 0.4s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}
