:root {
    --blue: #007bff;
    --indigo: #6610f2;
    --purple: #6f42c1;
    --pink: #e83e8c;
    --red: #dc3545;
    --orange: #FE7D00;
    --yellow: #FE7D00;
    --green: #28a745;
    --teal: #20c997;
    --cyan: #17a2b8;
    --white: #ffffff;
    --gray: #6c757d;
    --gray-dark: #343a40;
    --bs-primary: #0168b3;
    --secondary: #6c757d;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --a-footer-pasive: #e5e5e5;
    --light: #f8f9fa;
    --dark: #343a40;
    --font-family-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --font-family-monospace: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --bg-color: #f5f5f5;
    --text-color: #6c757d;
    --accent-color: #0072ba;
    --contrast-color: #ffffff;
    --gray-color: #ccc;
    --company-color: #0168b3;
    --company-color-rgb: 1, 104, 179;
    --company-color-rgb-contrast: 255, 165, 0;
    --background-counter-image:'/media/foto_na_zastavku/budova_dark_bg.jpg'
    --bs-primary-rgb: 255, 165, 0;
    --bs-text-opacity: 1;
    --company-bg-opacity:0.8;
    --company-link-color:#0168b3;
}

.dropdown-item.active, .dropdown-item:active {
    color: var(--bs-dropdown-link-active-color);
    text-decoration: none;
    background-color: var(--bs-primary);
}

.bg-gray{
    background-color: #f8f9fa;
    }

.btn-primary{
    background-color: var(--bs-primary);
    border-color: var(--bs-primary);
}


.btn-primary:hover {
    color: var(--bs-primary);
    background-color: var(--white);
    border-color: var(--bs-primary);
}

.btn-warning {
    --bs-btn-hover-color: var(--white);
    --bs-btn-hover-bg: var(--orange);
    --bs-btn-hover-border-color: var(--orange);
}

.bg-primary{
   background-color: rgba(var(--company-color-rgb),var(--company-bg-opacity))!important;
}

.text-primary {
    --bs-text-opacity: 1;
    color: rgba(var(--company-color-rgb), var(--bs-text-opacity)) !important;
}

.nav{
    --bs-nav-link-color: var(--company-link-color)
}


/*----------------- animace ------------*/
/* Начальный стиль элемента, который скрывает его и смещает вниз */
.fade-in-up {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out; /* Плавный переход */
}

/* Когда элемент попадает в видимость экрана */
.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0); /* Возвращаем элемент в исходное положение */
}

/*----------------- end animace ----------------------------*/

.min-width-320 {
    min-width: 320px;
}


html, body {
    height: 100%;

}

body {
    min-width: 320px;
    max-width: 2600px;
    font-family: "Raleway", sans-serif;
    background-color: var(--white);
    color: var(--text-color);
    margin: 0 auto;
    padding: 0;

}

a {
    color: var(--company-color);


}

a:hover {
    text-decoration: none;
    font-weight: bold;
}



img {
    max-width: 100%;
    height: auto;
}

.btn,
.dropdown-menu,
.form-control {
    border-radius: 0;
}

.form-control:focus{
    color: var(--text-color);
    border-color: var(--accent-color);
    box-shadow: none;
}

.form-control::placeholder{
    color: var(--gray-color);
}

.btn-warning {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}

.btn-outline-warning {
    border-color: var(--accent-color);
}

/*.bg-warning {
    background-color: var(--accent-color) !important;
}*/

.btn-outline-warning:hover {
    background-color: var(--accent-color);
    color: var(--contrast-color);
}
 h3 {
    font-weight: 600;

 }

.text-justify p{
  text-align: justify;
}

.text-company{
color: var(--company-color)
}
/*------main css------------*/

.custom-bg-transparent-0 {
    --bs-bg-opacity: 0.0 !important;
}

.custom-bg-transparent-25 {
    --bs-bg-opacity: 0.25 !important;
}

.custom-bg-transparent-50 {
    --bs-bg-opacity: 0.50 !important;
}

.custom-bg-transparent-75 {
    --bs-bg-opacity: 0.75 !important;
}

.custom-bg-transparent-100 {
    --bs-bg-opacity: 1 !important;
}


.custom-opacity-25 {
    opacity: 0.25 !important;
}

.custom-opacity-50 {
    opacity: 0.5 !important;
}
.custom-opacity-75 {
    opacity: 0.75 !important;
}
.custom-opacity-100 {
    opacity: 1 !important;
}

.modal-dialog-top {
    position: absolute;
    top: 10px;
    left: 50%;

    transform: translateX(-50%) !important;

}

.modal-dialog-bottom {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) !important;
}

.modal-dialog-left {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%) !important;
}

.modal-dialog-right {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%) !important;
}


.banner-label {
    position: fixed;
    z-index: 1050;
    width: 40px; /* Ширина лейбла */
    height: auto;
    background-color: #007bff;
    color: #fff;
    text-align: center;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 5px;
    border-radius: 5px;
    font-size: 14px;
    font-weight: bold;
}


.fixed-right {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    writing-mode: vertical-rl; 
}


.fixed-left {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    writing-mode: vertical-lr;
}

/* Лейбл внизу слева */
.fixed-bottom-left {
    bottom: 20px;
    left: 20px;
    writing-mode: horizontal-tb; 
     width: auto;
    max-width: 200px; 
    height: auto;
}


.banner-label:hover {
    background-color: #0056b3;
    color: #fff;
}

/*-------Footer Start------*/
.footer-area {
    background-image: url('../img/images/footer_bg.jpg');
    background-position: center;
    background-size: cover;
 -webkit-clip-path: polygon(0 0, 100% 8rem, 100% 100%, 0 100%);
clip-path: polygon(0 0, 100% 8rem, 100% 100%, 0 100%);
    position: relative;
    color: var(--white);

    padding-top: 120px; 
    z-index: 1;
}

.footer-area .border-footer:first-child {
    border-right: 2px solid rgba(255, 255, 255, 0.6);
    padding-right: 20px; 
    margin-right: 20px; 
    z-index: 1;
}

.footer-area::before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 70px;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, .6);
    z-index: 0;
}
.footer-area h5 {
    position: relative; 
    color: var(--white); 
    margin-bottom: 1rem;
    z-index: 1;
}

.footer-area a {
    text-decoration: none;
    position: relative;
    color: var(--a-footer-pasive); 
    z-index: 1;
}

.footer-area p, .footer-area address {
    position: relative; 
    color: var(--a-footer-pasive);
        margin: 0 0 15px;
    /*margin-top: 20px;
    margin-bottom: 20px;*/
    z-index: 1;
}


.footer-area p,
.footer-area a {
    font-size: 15.5px; 
    line-height: 26px; 
}

.footer-area a:hover {
    color: var(--white); 
    text-decoration: underline;
}

.about-company p {
    max-width: 200px; /* Устанавливаем ширину, при которой текст будет разбит на 4 строки */
    line-height: 1.6; /* Высота строки для удобного чтения */
}

*,
::after,
::before {
    box-sizing: border-box;
}
/*======================== General rules =================*/
.wrapper {
    min-height: 100%;
    display: flex;
    flex-direction: column;
}

main.main {
    flex:1 1 auto;
}


/* Стили для верхней части сайта */
.header-top {
 position: relative; /* Убедитесь, что header учитывает z-index */
    z-index: 5;
    background-color: var(--dark);
    color: var(--white);
    padding: 0.5rem 0;

}

.header-top a {
    color: var(--white);
}

.social-icons a {
    margin-right: 10px;
    color: var(--white);
}

.header-logo img {
    max-width: 150px;
}

.cart-badge {
    background-color: var(--yellow);
}

/* Фиксация навигации */
.sticky-top {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
    z-index: 1030;
}

/* Стили для поиска */
#button-search {
    background-color: var(--dark);
    border: none;
    color: var(--white);
}


/* Прозрачный фон навигации по умолчанию */
.navbar.bg-transparent {
    background-color: rgba(0, 0, 0, 0); /* Прозрачный фон */
}
/*======================== Header rules =================*/
.header-top-phone a {
    text-decoration: none;
}

.header-top-phone a:hover {
    text-decoration: underline;
}


ul.social-icons {
    list-style: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

ul.social-icons a{
    margin-right:10px;

}

ul.social-icons a {
    background-color: var(--accent-color);
    color: var(--contrast-color);
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius:50%;
    float: left;
    text-align: center;
}

ul.social-icons a:hover {
    background-color: var(--contrast-color);
    color: var(--accent-color);
    transition: all .5s;
}

.header-top .btn {
    background-color: var(--white);
}


.header-logo {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--accent-color);
    transition: all .3s;
    border: 5px solid var(--accent-color:);
    z-index: 2;
}

.header-logo:hover {

    border: 1px solid var(--accent-color:);
}
.logo-default {
    transition: opacity 0.3s ease;
}

.logo-sticky {
    transition: opacity 0.3s ease;
}

.cart-buttons .btn {
    color: var(--accent-color:);
    transition: all .3s;
}

.cart-buttons .btn:hover {
    border: 1px solid var(--accent-color:);
}

/*.header-bottom {
    border-top:3px solid var(--gray-color);
    box-shadow: 0 10px 10px rgba(0, 0, 0, 0.3);
}*/

/* Навигация поверх блока */



.header-bottom .navbar .nav-link{
    letter-spacing: 0.05rem;
}


/* Для меньших экранов оставляем фон для бокового меню */
.offcanvas {
    background-color: var(--company-color); /* Затемненный фон для бокового меню */
    color: white;
}

/* Затемнение бокового меню для маленьких экранов */
.offcanvas::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Полупрозрачное затемнение */
    z-index: 1;
}

/* Фон навигации прозрачный на больших экранах */
@media (min-width: 992px) {
    .offcanvas::before {
        background-color: rgba(0, 0, 0, 0); /* Прозрачный фон */
    }
}



/* Контент внутри бокового меню */
.offcanvas .offcanvas-body,
.offcanvas .offcanvas-header {
    position: relative;
    z-index: 2;
}

/* Цвет заголовка и текста внутри панели */
.offcanvas .offcanvas-title,
{
    color: white;  /* Белый текст для заголовка и ссылок */
}

/* Стили для кнопки закрытия (крестик) — белого цвета */
.offcanvas .btn-close {
    filter: invert(1);  /* Меняем цвет на белый */
}




.navbar {
    background-color: var(--dark);
}

.navbar-nav .nav-link {
    position: relative;
    text-decoration: none;
    color: var(--white);
    transition: color 0.3s ease;
}

/* Создаём псевдо-элемент, который будет линией */
.navbar-nav .nav-link::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 0;
    height: 0px;
    width: 0;
    background-color: var(--company-color);
    transition: width 1s ease; /* плавное изменение ширины */
}

.navbar-nav .nav-link:hover {
    color: var(--company-color);
}

/* При наведении расширяем линию */
.navbar-nav .nav-link:hover::after {
    width: 80%; /* линия становится шириной всей ссылки */
    left: 50%;
    transform: translateX(-50%);
}

.navbar-scroll {
    background-color: white;  /* Белый фон */
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);  /* Легкая тень */
    transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* Меняем цвет текста на ваш брендовый цвет при прокрутке */
.navbar-scroll .nav-link {
    color: black;  /* Брендовый цвет текста */
    font-weight: bold;
}


/* Меняем цвет иконок при прокрутке */
.navbar-scroll .fa {
    color: var(--company-color);
}

/* Стиль для активной ссылки до и после прокрутки */
.navbar-nav .nav-link.active {
    position: relative;
    font-weight: bold;  /* Делаем текст жирным */
    color: var(--company-color);  /* Брендовый цвет текста */
    background-color: #FFFFFF;
}

/* Создаём псевдо-элемент, который будет линией */
.navbar-nav .nav-link.active::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 0x;
    width: 80%;
    background-color: var(--company-color);
}

.navbar-scroll .nav-link.active {
    font-weight: 900;
    color: var(--company-color);  /* Брендовый цвет для активной ссылки при прокрутке */

}

/* Иконка гамбургер-меню по умолчанию (белая) */
.navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(255, 255, 255, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
    transition: background-color 0.3s ease;
}

/* Меняем иконку при прокрутке */
.navbar-scroll .navbar-toggler-icon {
    background-image: url("data:image/svg+xml;charset=UTF8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3E%3Cpath stroke='rgba(1, 104, 179, 1)' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");
}
/* Меняем стиль активной ссылки при наведении */

@media (max-width: 992px) {
    .navbar-scroll .nav-link,
    .navbar-nav .nav-link {
    color: var(--white);  /* Брендовый цвет текста */
}
    .navbar-scroll .nav-link.active,
    .navbar-nav .nav-link.active  {
        font-weight: bold;
        color: var(--company-color);  /* Брендовый цвет для активной ссылки при прокрутке */
        border-bottom: none;  /* Подчеркивание активной ссылки */
}

    .navbar-scroll .nav-link:hover,
    .navbar-nav .nav-link:hover {
        font-weight: bold;
        color: var(--company-color);  /* Брендовый цвет для активной ссылки при прокрутке */
        border-bottom: none;
        text-decoration: none;
}

    .navbar-nav .nav-link::after,
    .navbar-nav .nav-link.active::after{
        content: none;

    }
}


.dropdown-menu {
    background-color: var(--contrast-color); /* Основной фон меню */
}

.dropdown-menu a {
    color: var(--company-color); /* Основной цвет текста */
    position: relative; /* Нужно для позиционирования тёмного слоя */
    transition: background-color 0.3s ease, color 0.3s ease;
}

.dropdown-menu a:hover {
    background-color: var(--company-color); /* Фирменный цвет при наведении */
    color: var(--white); /* Цвет текста при наведении */

}

/* Затемняем фон поверх фирменного цвета при наведении */
.dropdown-menu a:hover::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3); /* Полупрозрачный тёмный слой */
    z-index: 1; /* Тёмный слой должен быть поверх основного фона */

}

/* Текст при наведении должен быть выше слоя затемнения */
.dropdown-menu a:hover {
    z-index: 2;
    color: var(--white);
}
/*======================== Header rules finish =================*/
/*----------Start Modal styles------*/


.custom-heading-modal {
  font-weight: 900; /* Bootstrap не имеет класса для font-weight 900 */
  font-size: 35px; /* Размер между fs-1 и fs-2 */
  letter-spacing: 1px; /* Нет стандартного класса в Bootstrap */
  color: var(--company-color); /* Специфичный цвет */
}

.custom-subheading {
  font-size: 16px;
  font-weight: 600;
  color: #414142;
}


.custom-paragraph {
  color: #414142;
}

.custom-btn-primary {
    background-color: var(--company-color);
    color: var(--white);
}

.custom-btn-primary:hover {
    color: var(--company-color);
    background-color: var(--white);
    box-shadow: 1px 1px 10px rgba(var(--company-color-rgb), 0.6);
}

/* Стили для кнопок */
.custom-btn {
  font-weight: 700;

  letter-spacing: 1px;

  color: var(--company-color);
  background-color: var(--white);
  padding: 15px;
  border: none;
  box-shadow: 1px 1px 10px rgba(65, 65, 66, 0.3);
  transition: all 0.3s ease;

  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.custom-btn:hover {
  white-space: normal; /* При наведении разрешаем перенос строк */
  height: auto; /* Высота кнопки автоматически подстраивается под контент */
  background-color: var(--company-color);
  color: var(--white);
  transition: all 0.6s ease;
  box-shadow: 2px 2px 10px rgba(65, 65, 66, 0.5);
}

/* Адаптивность текста на кнопках */
@media (max-width: 768px) {
  .custom-btn {
    font-size: 1rem;
    padding: 12px;
  }
}

@media (max-width: 576px) {
  .custom-btn {
    font-size: 0.9rem;
    padding: 10px;
  }
}
/*----------End modal styles-------*/
/* ---------start page------------ */


/* Фон и высота блока с изображением */
.z-1{
margin-top: -120px;
z-index:0;}

.mt-120{
margin-top: -10rem;
}

.z-index-1{
z-index:1;}

.header-image-area {

    background-size: cover;
    background-position: center;
    z-index: 1; /* Оставляем более низкий z-index */
    padding: 15% 0;   /* Задаем отступы вместо фиксированной высоты */
    position: relative;

    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 8rem));
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 calc(100% - 8rem));
}



/* Для средних экранов (768px до 1199px) */
@media (max-width: 1199px) {
    .header-image-area {
        padding: 20% 0 25% 0; /* Средние отступы */
    }
}

/* Для маленьких экранов (до 767px) */
@media (max-width: 767px) {
    .header-image-area {
        padding: 25% 0 40% 0; /* Большие отступы сверху и снизу для маленьких экранов */
    }
}

/* Для маленьких экранов (до 576px) */
@media (max-width: 576px) {
    .header-image-area {
        padding: 40% 0 60% 0; /* Большие отступы сверху и снизу для маленьких экранов */
    }
}


.header-image-area::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);  /* Полупрозрачный черный слой */
    z-index: 1;  /* Слой псевдоэлемента перед фоном */
    z-index: 0; /* Слой затемнения оставляем ниже */
}

.header-image-area * {
    position: relative;
    z-index: 2;  /* Устанавливаем z-index для контента, чтобы он был выше затемняющего слоя */
}
/* Стиль для кнопки с классом .btn-orange */
.btn-orange {
    background-color: #FE7D00;
    color: white;
}

.btn-orange:hover {
    background-color: #FE7D00;
    color: white;
}

/* стили прокручивающей кнопки*/
#scrollTopBtn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px; /* Квадратная форма */
    height: 50px;
    background-color: var(--company-color); /* Фирменный цвет */
    color: white;
    border: none;
    border-radius: 5px; /* Лёгкое округление для углов */
    font-size: 24px; /* Размер стрелки */
    z-index: 1000;
}

.company-color {
    color: var(--company-color);
    font-weight: bold;
}

.company-hover:hover {
    background-color: var(--company-color) !important;
    color: white !important;
}

/* cards */
/* styles.css */

.card {
  position: relative;
  border: none; /* Убираем границу у карточки */
  box-shadow: none; /* Убираем тень у карточки */
  background-color: transparent; /* Убираем цвет фона карточки */
}

.card-image-container {
    position: relative;
    aspect-ratio: 5 / 3;
    overflow: hidden; /* Скрывает выходящее за границы изображение */
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.card-img-top {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
    transition: transform 0.9s ease; /* Плавный эффект */
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Тень вокруг изображения */
}

.card-image-container:hover .card-img-top {
    transform: scale(1.1); /* Увеличение изображения на 10% внутри контейнера */
}



.overlay-box {
  position: relative;
  margin-top: -100px; /* Сдвиг вверх на 50px */
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  background-color: white;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
}

.article-title {
    margin-right: auto;
}

.article-title a{
    text-decoration: none;
    font-weight: bold;
    font-size: 1.25rem;
    margin-right: auto;
    position: relative; /* Для правильного позиционирования псевдоэлемента */

}

.article-title a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px; /* Расстояние подчеркивания от текста */
    width: 0;
    height: 2px; /* Толщина подчеркивания */
    background-color: var(--company-color); /* Цвет подчеркивания */
    transition: width 0.9s ease; /* Плавное увеличение ширины для анимации */
}

.article-title a:hover::after {
    width: 100%; /* Полное подчеркивание при наведении */
}

.article-date {
    font-size: 0.75rem;
    white-space: nowrap;
    flex-shrink: 0; /* Запрещает сжатие даты */
}


/* Обрезка текста с многоточием, ограничение по высоте */

.article-description {
    font-size: 1rem;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничение на 3 строки */
    -webkit-box-orient: vertical;
    text-overflow: ellipsis; /* Добавление троеточия при обрезании */
    margin-top: 2rem; /* Отступ сверху */
    margin-bottom: 1rem; /* Отступ снизу */
    line-height: 1.2; /* Настройка высоты строки для точного обрезания */
    text-align: left; /* Выровнять текст по левому краю */
}

.article-description p {
    margin: 0; /* Убираем внутренние отступы у p */
}

.article-description:hover {
    display: block; /* Снимаем ограничение `-webkit-line-clamp` */
    max-height: 500px; /* Устанавливаем максимальную высоту для раскрытия текста */
    -webkit-line-clamp: unset; /* Отменяем обрезку строк */
}

/* Кнопка "Читать больше" в левом нижнем углу */
.read-more-btn {
  position: absolute;
  bottom: 10px;
  left: 10px;
  font-weight: bold;
  border-radius: 5px;
  border: none;
  color: var(--company-color); /* Фирменный цвет текста при наведении */
    background-color: white; /* Белый фон при наведении */

}

.read-more-btn:hover {
  color: white;
  background-color: var(--company-color);
    border: none;
}

.button-container {
    margin-top: 2rem; /* Настройте это значение для нужного отступа */
}

.blog-item {
    height: auto; /* Позволяет блоку подстраиваться под содержимое */
    overflow: visible; /* Позволяет внутренним элементам увеличивать высоту родителя */
    display: flex;
    flex-direction: column; /* Устанавливает направление элементов для управления высотой */
}

.blog-filter .list-inline-item a {
    color: var(--text-color); /* Цвет текста для неактивных элементов */
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.9s ease, color 0.9s ease; /* Плавный переход */
}

.blog-filter .list-inline-item.active a {
    background-color: var(--company-color);
    color: white; /* Белый цвет текста */
    padding: 0.5rem 1rem; /* Дополнительные отступы */
    border-radius: 5px; /* Закругленные углы */
    text-decoration: none;
}

.blog-filter .list-inline-item a:hover {
    background-color: rgba(var(--company-color-rgb), 0.5); /* Более светлый полупрозрачный фон при наведении */
    color: white; /* Белый текст при наведении */
    padding: 0.5rem 1rem;
    border-radius: 5px;
    text-decoration: none;
     font-weight: bold;
}

.pagination-list .list-inline-item a.pagination-link {
    color: var(--text-color); /* Цвет текста */
    text-decoration: none;
    padding: 0.5rem 1rem; /* Отступы для кнопок */
    border-radius: 5px; /* Закругленные углы */
    transition: background-color 0.9s ease, color 0.9s ease; /* Плавный переход */
}

.pagination-list .list-inline-item a.pagination-link:hover {
    background-color: rgba(var(--company-color-rgb), 0.5); /* Полупрозрачный фон при наведении */
    color: white; /* Белый текст при наведении */
}

.pagination-list .list-inline-item.active a.pagination-link {
    background-color: var(--company-color); /* Фирменный полупрозрачный цвет для активного элемента */
    color: white; /* Белый цвет текста для активного элемента */
}

/*-------Для статей-------*/
.article-content {
        padding: 5rem;
        display: flex;
        flex-direction: column;
        min-height: 100%; /* Минимальная высота блока статьи */
    }

.content {
    flex-grow: 1; /* Основной контент занимает все доступное пространство */
}
.post-share {
    background-color: #ffffff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto; /* Отодвигает блок "Поделиться" к низу */
}
.post-share .sidebar-title p {
    font-size: 1.2rem; /* Больше размер шрифта для первой фразы */
    font-weight: bold;
    margin-bottom: 4px; /* Уменьшенный отступ снизу */
    line-height: 1.2; /* Уменьшенное межстрочное расстояние */
}
.post-share .sidebar-title span {
    font-size: 0.9rem; /* Меньше размер шрифта для второй фразы */
    font-weight: bold; /* Жирный шрифт */
    line-height: 1.2; /* Уменьшенное межстрочное расстояние */
}
.post-share .share1 a, .post-share .share2 a {
    font-size: 24px;
    color: var(--white);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 4px;
    margin-right: 8px;
}
.post-share .share1 a {
    background-color: #1DA1F2; /* Twitter blue */
}
.post-share .share2 a {
    background-color: #3b5998; /* Facebook blue */
}

.share1, .share2 {
  transition: transform 0.3s ease;
}

.share1:hover, .share2:hover {
  transform: scale(1.2); /* Увеличивает размер на 10% при наведении */
}

.article-link h6:hover, .article-link p:hover{
        color: var(--company-color);
        font-weight: bold; /* Жирный шрифт */
    }

/* Эффект увеличения изображения при наведении */
.zoom-image {
    transition: transform 0.6s ease, box-shadow 0.6s ease; /* Плавный переход */
}
.zoom-image:hover {
    transform: scale(1.1); /* Увеличение на 20% */
    box-shadow: 0 0 15px 5px rgba(var(--company-color-rgb), 0.3);/* Свечение голубого оттенка */
}

/*-------------------текст на заголовках-----------------*/
.intro-text {

    width: 80%; /* Ширина блока на маленьких экранах */
    left: 5%; /* Смещение от левого края */
    text-align: left; /* Выровнять содержимое по левому краю */
    margin-bottom: 20px; /* Добавляет отступ внутри блока снизу */
}

.intro-centered {
    margin: 0 auto; /* Центрирование блока по горизонтали */
    text-align: center; /* Центрируем текст внутри */

    /* Стили для анимации */
    opacity: 0; /* Начальное состояние: невидимый */
    transform: translateY(30px); /* Начальное смещение вниз */
    transition: opacity 2s ease, transform 2s ease; /* Плавная анимация */
}

.intro-centered.show {
    opacity: 1;
    transform: translateY(0); /* Возвращаем на место */
}

.intro-centered h3 {
    font-size: clamp(0.875rem, 1vw + 0.5rem, 1.5rem);
    letter-spacing: clamp(0.03rem, 0.0625rem, 0.1rem);
    color: #e5e5e5;
    font-weight: 400;
    line-height: 28px;
    width: 100%; /* Устанавливаем полную ширину для центрирования */
}

@media (min-width: 768px) {
    .intro-text {
        left: 10%; /* Начинаем сдвигать к центру на средних экранах */

    }
}

@media (min-width: 1200px) {
    .intro-text {
        left: 20%; /* Остается по центру */
    }
}



/* Дополнительное выравнивание для заголовков внутри .intro-text */
.intro-text h1, .intro-centered h1 {
    text-transform: uppercase;
    font-size: clamp(1.5rem, 2vw + 1rem, 3.25rem);
    letter-spacing: clamp(0.03rem, 0.0625rem, 0.1rem);
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 700;

    width: 100%;
}

.intro-text h3  {
    font-size: clamp(0.875rem, 1vw + 0.5rem, 1.5rem);
    letter-spacing: clamp(0.03rem, 0.0625rem, 0.1rem);
    color: #e5e5e5;
    font-weight: 400;
    line-height: 28px;
    width: 80%;
}

.learnmore {
    margin-top: 25px;
}

.learnmore a {
    text-decoration: none;
    text-transform: uppercase;
    padding: clamp(0.5rem, 1vw + 0.25rem, 0.875rem) clamp(1rem, 2vw + 0.5rem, 1.5625rem);
    -webkit-transition: .5s;
    transition: .5s;
    font-size: clamp(0.6375rem, 1vw + 0.425rem, 0.85rem);


    font-weight: 700;
    margin: 5px 10px 5px 0;
    display: inline-flex; /* Используем inline-flex для центрирования */
    white-space: nowrap; /* Не переносим текст на новую строку */
    justify-content: center; /* Центрирование текста по горизонтали */
    align-items: center; /* Центрирование текста по вертикали */
}

.learnmore a:hover {
    background-color: var(--white);
    color: var(--company-color);
}

.learnmore .btn {
    padding: 0.75rem 1.5rem;
    font-weight: bold;
    text-transform: uppercase;
    max-width: 200px;
    flex-grow: 1;
    flex-shrink: 0;
    text-align: center;

}

.btn-orange {
    background-color: #FE7D00;
    color: var(--white);
}

.btn-orange:hover {
    background-color: #FE7D00;
}

.learnmore .btn-primary {
    background-color: var(--company-color);
    color: var(--white);
}

.learnmore .btn-primary:hover {
    color: var(--company-color);
    background-color: var(--white);
}

.custom-container-lg {
    max-width: 800px; /* Задаем точную ширину */
}

.custom-container-xxl {
    width: 100%; /* Задаем точную ширину */
}

/*-------------Для sections------------*/
/*------------About-------------*/
.about-img img {
    max-width: 130%;
    position: relative;
    right: 20%;
}

.about-content {
    padding: 80px 0 50px;
}

/*============== #1.1 Section heading =================*/

.section-title h4 {
    font-size: 18px;
    text-transform: uppercase;
    font-weight: 700;
}

.section-title h2 {
    font-weight: 900;
    font-size: 33px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #414142;
    padding-bottom: 20px
}

/*=============== #1.2 Section button ============*/

.section-button {
    margin-top: 40px
}

.section-button a {
    background-color: #0168b3;
    text-decoration: none;
    color: #fff;
    text-transform: uppercase;
    display: inline-block;
    padding: 15px ;
    -webkit-transition: .5s;
    transition: .5s;
    font-size: 14px;
    font-weight: 700;
    margin: 5x;

    text-align: center;
    -webkit-box-shadow: 0 5px 16px #bababa;
    box-shadow: 0 5px 16px #bababa;
    border: 1px solid transparent
}

.section-button a:hover {
    border: 1px solid #0168b3;
    color: #0168b3;
    background-color: transparent;
    -webkit-box-shadow: 0 5px 16px #fff;
    box-shadow: 0 5px 16px #fff;
}

/*================ #1.11 Project Section =======================*/

.projects-area {
    padding: 90px 0;
}

.projects-content {
    text-align: left;
}

.project-heading h3 {
    position: relative;
    display: inline-block;
    font-weight: 700;
    text-transform: uppercase;
    color: #414142;
    font-size: 24px
}

.project-heading h3::before {
    position: absolute;
    content: "";
    width: 65%;
    height: 4px;
    background-color: #353899;
    left: 0;
    -webkit-transition: .5s;
    transition: .5s;
    bottom: -10px;
}

.pa-margintop {
    padding-top: 40px;
    margin-bottom: 30px
}

.projects-area img {
    -webkit-transition: 1s;
    transition: 1s;

    object-fit: cover;
}

.projects-area img:hover {
    -webkit-transform: scale(1.1);
    transform: scale(1.1)
}


.portfolio-img {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 1 / 1;
}

.portfolio-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;            /* Обрезка изображения по центру, чтобы соответствовать контейнеру */
    transition: transform 0.3s ease; /* Плавный переход для увеличения */
}

/* Эффект увеличения при наведении */
.portfolio-img:hover img {
    transform: scale(1.1); /* Увеличение до 110% при наведении */
}


.single-project {
    position: relative;
    overflow: hidden;
    text-align: center;
}

.single-project .portfolio-img {
    position: relative;
}

.single-project h5 {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    /*background-color: rgba(var(--company-color-rgb), 0.3);  Полупрозрачный черный фон */
    color: #FFFFFF;
    padding: 5px 10px;
    font-size: 2rem;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0;
    width: 100%;
    text-align: center;
    z-index: 1; /* Поверх изображения */
    text-shadow:
        -1px -1px 0 var(--gray-color), /* Тень сверху-слева */
        1px -1px 0 var(--gray-color),  /* Тень сверху-справа */
        -1px 1px 0 var(--gray-color),  /* Тень снизу-слева */
        1px 1px 0 var(--gray-color);   /* Тень снизу-справа */
}

.single-project p {
    position: absolute;
    top: 40%; /* Центрирование по вертикали */
    left: 50%;
    transform: translate(-50%, -50%); /* Центрирование по горизонтали и вертикали */
    background-color: rgba(var(--company-color-rgb), 0.5); /* Полупрозрачный фон */
    color: #FFFFFF;
    padding: 10px;
    font-size: 1.3rem;
    width: 100%; /* Ограничение ширины для лучшего отображения */
    text-align: center;
    z-index: 1;
}

.projects-content a{
text-transform: none;
}

.section-button .location-button {
    position: absolute;
    top: 70%; /* Центрирование по вертикали */
    left: 50%;
    transform: translate(-50%, -50%); /* Центрирование по горизонтали и вертикали */
    box-shadow: none;
    border: 1px solid transparent;
    text-decoration: none;
    transition: 0.3s ease;
    text-transform: none;
    width: 40%;
}

.section-button .location-button:hover {
    border: 1px solid #0168b3;
    color: #0168b3;
    background-color: white;
    box-shadow: 0 5px 16px #fff;

}
/*================== #1.12 Our Feature Section ======================*/

.our-features {
    padding: 90px 0;
    background-color: #F9F9FF;
    background-size: cover;
    background-position: center;
    -webkit-box-shadow: inset 0px -40px 50px 0px rgba(255,255,255,1);
    -moz-box-shadow: inset 0px -40px 50px 0px rgba(255,255,255,1);
    box-shadow: inset 0px -40px 50px 0px rgba(255,255,255,1);
}


.features-heading {
    text-align: center;
    display: inline-block;
    margin: auto
}

.features-heading h2 {
    font-weight: 900;
    font-size: 35px;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #0168b3;
}

.features-heading h4 {
    position: relative;
    display: inline-block;
    color: #414142;
    font-size: 22px;
    line-height: 1.4em;
    margin-bottom: 80px;
    width: 60%;
}

.features-heading h4::before {
    position: absolute;
    content: "";
    width: 80px;
    height: 3px;
    background-color: #686ab3;
    left: 50%;
    -webkit-transition: .5s;
    transition: .5s;
    bottom: -20px;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%)
}

.single-features {
    -webkit-box-shadow: -6px 10px 40px rgba(234, 229, 244, 0.7);
    box-shadow: -6px 10px 40px rgba(234, 229, 244, 0.7);
    text-align: center;
    padding: 40px 20px;
    -webkit-transition: .5s;
    transition: .5s;
    background-color: rgba(255,255,255,.8);
    position: relative;
    overflow: hidden;
    margin: 10px 20px;
    height: 95%;
    a:hover{
        text-decoration: underline;
    }
}

.single-features:before {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    width: 0;
    height: 3px;
    background: #686ab3;
    -webkit-transition: .7s;
    transition: .7s;
}

.single-features:after {
    content: '';
    position: absolute;
    right: -100%;
    bottom: 0;
    width: 0;
    height: 3px;
    background: #686ab3;
    -webkit-transition: .7s;
    transition: .7s;
}

.single-features:hover:before {
    left: 0;
    width: 100%;
}

.single-features:hover:after {
    right: 0;
    width: 100%;
}

.single-features img {
    margin-bottom: 30px;
    height: 194px;
    width: auto;
    object-fit: contain;
}

.modal .single-features img {
    margin-bottom: 30px;
    height: 100px;
    width: auto;
    object-fit: contain;
}

.single-features h4 a{
    color: #414142;
    font-size: 19px;
    text-transform: uppercase;
    font-weight: 700;
    margin-bottom: 15px;
}

.single-features p {
    font-size: 14px;
    line-height: 27px
}

/*=============== #1.13 Counter Section ===================*/

.counter-up-area {
    background-attachment: fixed;
    background-position: center top;
    background-size: cover;
    padding: 75px 0;
    position: relative;
    overflow: hidden;
}

.single-count-area {
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    text-align: center;
}

.single-count-area span {
    font-size: 55px;
}

.single-count-area p {
    font-size: 23px;
    margin-top: 10px;
    color: #fff;
}

/*================= #1.10 Service Section =====================*/

.services-area {
    padding: 90px 0;
    background-color: #f9f9ff;
    overflow: hidden;
}

.services-content {
    text-align: left;
}

.service-box{
    background-image: url("../img/rodinka.png");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: 110%;
    padding: 0 50px 50px 0;
    margin: 0 -50px -50px 0;
}

.single-services {
    -webkit-box-shadow: 0 0 15px rgba(218, 219, 255, 0.4);
    box-shadow: 0 0 15px rgba(218, 219, 255, 0.4);
    text-align: center;
    padding: 50px 0 0 0;
    -webkit-transition: opacity 2s ease, transform 2s ease;
    transition: opacity 2s ease, transform 2s ease;
    background-color: #fff;
    opacity: 0; /* Начальное состояние: невидим */
    transform: translateY(70px); /* Начальное состояние: сдвиг вниз */
}

/* Когда элемент видим на экране */
.single-services.visible {
    opacity: 0.8; /* Устанавливаем конечное значение */
    transform: translateY(0); /* Возвращаем элемент в исходное положение */
}

.single-services:hover {
    background-color: #EEEEFE;
    -webkit-transform: translateY(-10px);
    transform: translateY(-10px);
    -webkit-box-shadow: 0px 15px 15px 0px #edeaea;
    box-shadow: 0px 15px 15px 0px #edeaea;
}

.single-services img {
    margin-bottom: 30px
}

.single-services h4 {
    padding-bottom: 50px;
    text-transform: uppercase;
    font-size: 18px;
    color: #555454;
    font-weight: 700
}
/*============================1.20 about-products================*/


.image-0-box {
  float: left;
 width: 100%; /* Блок займет 100% ширины родительского контейнера */
  max-width: 600px; /* Опционально: устанавливаем максимальную ширину */
aspect-ratio: 100 / 55; /* Соотношение сторон: ширина к высоте */
  margin: 0 40px 40px 0;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px #ccc;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Усиленная тень */
  padding: 10px;
}


.image-1-box {float: right;
 width: 100%; /* Блок займет 100% ширины родительского контейнера */
  max-width: 600px; /* Опционально: устанавливаем максимальную ширину */
aspect-ratio: 100 / 55;
  margin: 40px 0 0 40px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
  border: 1px #ccc;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.5); /* Усиленная тень */
  padding: 10px;}


/* Очистка обтекания, чтобы родительский контейнер учитывал высоту плавающих элементов */
.about-content::after {
  content: "";
  display: table;
  clear: both;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 992px) {
  .image-0-box {
    float: none;
    margin: 0 auto 40px auto;
    width: 100%; /* Блок займет 100% ширины родительского контейнера */
    max-width: 992px; /* Опционально: устанавливаем максимальную ширину */
  }

  .image-1-box {
    float: none;
    margin: 40px auto 0 auto;
    width: 100%; /* Блок займет 100% ширины родительского контейнера */
    max-width: 992px; /* Опционально: устанавливаем максимальную ширину */
  }
}


  .intro-text h3{
    width: 66%;
  }

  .projects-area{
    padding-bottom: 0;
  }
}

/*------- Modal  ----------*/
/* Основное изображение продукта в карточке */
.main-product-image {
    max-width: 100%;
    height: auto;
    cursor: pointer;
}

.image-container {
    position: relative;
    display: inline-block;
}
/* Изображение в полном экране */
.fullscreen-product-image {
    width: 80vw; /* Ограничение по ширине до 80% экрана */
    max-height: 80vh; /* Ограничение по высоте до 80% экрана */
    object-fit: contain; /* Сохранение пропорций изображения */
    background-color: white; /* Белый фон под изображением */
    padding: 10px; /* Отступ вокруг изображения */
    border-radius: 8px; /* Слегка скругленные углы */
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.5); /* Тень для белого фона изображения */
}

/* Затемненный фон для модального окна через псевдоэлемент ::before */
#fullscreenModal::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.85); /* Плотное затемнение */
    pointer-events: none; /* Блокирует взаимодействие с фоном */
}



/* Кнопка закрытия с белым цветом и фирменным цветом при наведении */
.close-btn-custom {
    position: absolute;
    top: 10px;
    right: 10px;
    font-size: 1.5rem;
    transition: background-color 0.3s ease;
    border-radius: 10%;
}

/* Фирменный цвет фона при наведении на кнопку закрытия */
.close-btn-custom:hover {
    filter: invert(1); /* Инвертирует цвет, делая крестик белым */
    background-color: rgba(var(--company-color-rgb-contrast), 0.6); /* Фирменный цвет при наведении */
    border-radius: %;
}

/* Контейнер для миниатюр */
.additional-images {
    margin-top: 15px;
}

/* Миниатюры дополнительных изображений с эффектом увеличения */
.additional-images img {
    cursor: pointer;
    width: 60px;
    height: 60px;
    transition: transform 0.6s ease, box-shadow 0.6s ease; /* Плавный переход */
}

.additional-images img:hover {
    transform: scale(1.1); /* Увеличение на 10% */
    box-shadow: 0 0 15px 5px rgba(var(--company-color-rgb), 0.3); /* Голубое свечение */
}

/* Навигационные кнопки (стрелки) */
.carousel-control-prev, .carousel-control-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background-color: rgba(0, 0, 0, 0.3);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 10%;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    opacity: 1; /* Полная непрозрачность */
}

/* Фирменный цвет при наведении на стрелки */
.carousel-control-prev:hover, .carousel-control-next:hover {
    background-color: rgba(var(--company-color-rgb), 0.9); /* Замените на фирменный цвет */
}



input:invalid:focus {
    outline: none;
    box-shadow: 0 0 5px red;
    border: none;
}

.menu-container{
    background-color: #f8f9fa;
    position: sticky; /* Липкий эффект для боковой панели */
    top: 100px; /* Отступ от верхней границы */
    z-index: 1;
}

.menu-container .collapse{
    width: 300px; /* Фиксированная ширина на больших экранах */
    position: sticky; /* Липкий эффект для боковой панели */
    top: 100px; /* Отступ от верхней границы */
    max-height: calc(150vh - 55px); /* Ограничение высоты */
    overflow-x: auto; /* Прокрутка внутри панели */
    padding: 15px;
    background-color: #f8f9fa;

}

.side-nav .btn {
    text-align: left; /* Текст по центру для всех экранов */
}

    /* Кнопка для меню */
.menu-toggler {
    position: sticky; /* Липкий эффект */
    top: 55px; /* Отступ от верхней границы */
    z-index: 1;
}

@media (max-width: 992px) {
    .menu-container .collapse{
        width: 100%; /* Фиксированная ширина на больших экранах */
                   }
    .side-nav .btn  {
        text-align: center; /* Выравнивание текста вправо */
    }
}


.sc-btn {
    background-color: var(--company-color);
    color: var(--white);
}

.sc-btn:hover {
    color: var(--company-color);
    background-color: var(--white);}


/**/
.flip-card {
    perspective: 1000px;
}

.flip-card-inner {
    display: grid;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

/* Обе стороны занимают одну и ту же ячейку грида */
.flip-card-face {
    grid-area: 1 / 1;
    backface-visibility: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-radius: 10px;
    box-sizing: border-box;
}

/* Передняя сторона */
.flip-card-front {
    background-color: #f8f9fa;
}

/* Задняя сторона (повёрнута на 180°) */
.flip-card-back {
    background-color: var(--company-color);
    color: #fff;
    transform: rotateY(180deg);
}

/* Эффект переворота при наведении */
.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

/* Остальные стили для изображений, заголовков и т.д. */
.bonus-image-container {
    width: 220px;
    height: 220px;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 15px;
}

.bonus-image-container img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-title {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.flip-card-back h4 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 15px;
}

.flip-card-back ul {
    list-style: none;
    padding: 0;
    text-align: center;
}

.flip-card-back li {
    margin-bottom: 8px;
    font-size: 1rem;
}

.nav-left-placeholder{
    position: fixed;
    top: 0;
    left: 0;
    width: 300px;
    height: 100%;
    background-color: #f8f9fa;
    z-index: 0;
}

.testimonials {
    background-color: rgba(var(--company-color-rgb), 0.9);
    position: relative;
    color: #fff;
    padding: 60px 0;
    background-position: center;
    background-size: cover;
}

.testimonials .section-overlay {
    position: relative;
    z-index: 1;
    padding: 60px 15px;
}

.testimonials h1 span {
    color: #f9d342; /* Выделение части заголовка другим цветом */
}

.testimonials .carousel-inner {
    text-align: center;
}

.testimonials .profile-img {
    box-shadow: 0 0 10px #fff, 0 0 15px #fff, 0 0 45px #fff;
    transition: box-shadow 0.3s ease-in-out;
}
}

.testimonials .carousel-control-prev-icon,
.testimonials .carousel-control-next-icon {
    filter: invert(1); /* Сделать элементы управления светлыми */
}

.testimonials p {
    color: #ddd; /* Установить светлый цвет текста для читаемости */
}

.profile-img {
    width: 120px; /* Установить фиксированную ширину */
    height: 120px; /* Установить фиксированную высоту */
    object-fit: cover; /* Сохранить пропорции изображения и заполнить круг */
    object-position: center; /* Центрировать изображение */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); /* Добавить легкую тень */
}

#carouselExampleDark .carousel-indicators button {
    width: 15px;
    height: 15px;
    background-color: rgba(255, 255, 255, 0.5) !important;
    border-radius: 50%;
    border: none;
    margin: 0 5px;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

#carouselExampleDark .carousel-indicators button.active {
    background-color: #ffc107 !important;
    transform: scale(1.2);
}

.blockquote {
    font-style: italic;
    font-size: 1.5rem; /* Увеличивает размер текста */
    text-align: center;
    line-height: 1.6; /* Делает текст более читаемым */
}

.blockquote-footer {
    text-align: center;
    font-size: 1rem; /* Размер текста для имени */
    color: #6c757d; /* Цвет текста для подписи */
}


.custom-bg {
    background-color: rgba(0, 0, 0, 0.3); /* Полупрозрачный чёрный фон */
    color: #fff; /* Белый текст */
    padding: 20px; /* Внутренние отступы */
    border-radius: 8px; /* Скругление углов */
    height:
}

.text-truncate-5 {
    display: -webkit-box;
    -webkit-line-clamp: 3; /* Ограничение текста 5 строками */
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
}

.glowing-effect {
    background-color: transparent; /* Прозрачный фон */
    color: white; /* Белый цвет текста */
    border: none; /* Убираем границы */
    font-size: 1rem; /* Размер шрифта */
    font-weight: bold; /* Жирный текст */
    text-transform: uppercase; /* Заглавные буквы */
    transition: text-shadow 0.3s ease-in-out, transform 0.3s ease-in-out;
    float: right;
    margin-top: -5px; 
    padding: 0;
}

.glowing-effect:hover {
    background-color: transparent; 
    text-shadow: 0 0 10px rgba(255, 255, 255, 1),
                 0 0 20px rgba(255, 255, 255, 0.8),
                 0 0 30px rgba(255, 255, 255, 0.6);
    transform: scale(1.05);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  width: 100%;
  background-color: var(--bs-dark);
  color: var(--bs-light);
  padding: 1rem 0;
  z-index: 1050;
  box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-banner a {
  color: var(--bs-info);
}

.cookie-banner a:hover {
  text-decoration: none;
}

.cookie-banner .btn {
  padding: 0.5rem 1.5rem;
}

.carousel-inner .custom img {
    height: 200px; 
    object-fit: cover; 
}
.carousel-inner .custom {
    display: flex; 
    justify-content: center;
    align-items: center;
}

.header-top .btn-primary {
    background-color: var(--bs-primary);
}
.header-top .btn-primary:hover{
     background-color: var(--white);
}