:root {
  --secondary-color: #343a40;
  --hover-color: #ddd;
  --bg-light: #F5F5F5;
  --bg-dark: #211E1E;
  --text-color: #495057;
  --text-muted: #9b9a96;
  --border-radius: 28px;
}



@font-face {
  font-family: 'Gilroy';
  src: url('/fonts/Gilroy-Regular.ttf') format('truetype');
  font-weight: normal; /* Обычный вес (Regular) */
  font-style: normal;  /* Обычный стиль */
}

body {
  background: var(--bg-light) !important;
  font-family: 'Gilroy' !important;
}

  .logo a img {
    max-height: 100px;
    height: 50px;
  }
/* Заголовки */
h1, h2, h3, h4, h5, h6 {
  color: var(--tp-heading-primary);
  font-family: 'Gilroy', sans-serif; /* Используем 768pшрифт Gilroy */
  font-weight: 400;
  line-height: 1.2;
}
.row.align-items-stretch {
  display: flex;
}


.nav-item {
  list-style-type: none;
}

.main-menu.menu-style-2 nav {
    display: flex;
    justify-content: center;
    padding: 0;
    margin: 0 auto;
    background-color: white;
    max-width: 100%; /* Увеличим до полной ширины */
    width: 100%; /* Контролируемая ширина меню */
    border-radius: 2rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}




.main-menu.menu-style-2 nav ul {
    display: flex;
    justify-content: space-between; /* Равномерное распределение элементов */
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
}



.main-menu.menu-style-2 nav ul li {
  margin: 0 0px; /* Увеличенный отступ для элементов */
}

.main-menu.menu-style-2 nav ul li:last-child {
    margin-right: 0; /* Убираем правый отступ у последнего элемента */
}

.main-menu.menu-style-2 nav ul li a {
  text-decoration: none;
  color: #000;
  padding: 12px 20px;
  border-radius: var(--border-radius);
  transition: background-color 0.3s, color 0.3s; /* Плавный переход цвета */
}

.main-menu.menu-style-2 nav ul li a:hover {
  background-color: var(--bg-light);
  color: #333333;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Добавление эффекта при наведении */
}

.main-menu.menu-style-2 nav ul li.active a {
  background-color: var(--primary-color); /* Цвет активной ссылки */
  color: white;
  font-weight: bold;
}



.product-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid #e9ecef;
}

.price {
  font-weight: bold;
  color: var(--text-color);
}

.experience-card:hover, .tp-product-thumb-4:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}




.video {
  height: 100%;
  object-fit: cover;
}



.accordion .accordion-item, .tp-faq-wrapper .accordion .accordion-header .accordion-button {
  background: #f3f3f3;
}

.accordion-item {
  border-bottom: 1px solid #000;
}

.card-img {
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.card-img-overlay {
  border-radius: 20px;
}

.p-3 {
  transition: transform 0.3s ease;
}

.p-3:hover {
  transform: scale(1.05);
}

img.img-fluid {
  max-width: 50px;
  height: auto;
}
.card-img {
  height: 500px;
  object-fit: cover;
  border-radius: 20px;
}

.card-img-overlay {
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.6));
  border-radius: 20px;
}

.card-title {
  margin-bottom: 10px;
  margin-top: -50px; /* Поднимаем заголовок */
}

.p-3 {
  transition: transform 0.3s ease;
}

.p-3:hover {
  transform: scale(1.05);
}

img.img-fluid {
  max-width: 36px;
  height: auto;
}

.custom-margin {
  margin-top: -50px; /* Отрицательный отступ */
  position: relative;
  z-index: 1;
}

/* Увеличим отступы на мобильных устройствах */
@media (max-width: 768px) {
  .custom-margin {
      margin-top: -20px; /* Меньший отрицательный отступ для мобильных */
  }
  
  .card-title {
      margin-top: -20px; /* Поднимем заголовок чуть меньше на мобильных */
  }

  .card-img {
      height: 350px; /* Уменьшаем высоту изображения на мобильных устройствах */
  }

  .col-3 {
      margin-bottom: 15px;
  }
}




.tp-footer-widget-content ul {
    margin-top: 0; /* Убираем верхний отступ */
    margin-bottom: 0; /* Убираем нижний отступ */
    padding-left: 0; /* Убираем отступ слева, если есть */
    list-style: none; /* Убираем маркеры списка, если нужно */
}

table tr {
    transition: background-color 0.3s;
}

table tr:hover {
    background-color: #f0f0f0;
    cursor: pointer;
}
  
.tp-contact-info-wrapper {
  margin-left: 5px;
  padding-top: 0px;
}
        