/* ==============================
   ГЛОБАЛЬНЫЕ СТИЛИ И ПЕРЕМЕННЫЕ
   ============================== */

:root {
    /* Основной шрифт сайта */
    --bs-body-font-family: 'Poppins' !important;
    --bs-body-font-size: 1rem;
    --bs-body-line-height: 1.6;

    /* Цвета */
    --primary-color: #31ADEC;
    --primary-hover: #0D0D0D;
    --secondary-color: #6c757d;
    --text-color: #0D0D0D;
    --light-bg: #f9f9f9;
    --dark-bg: #1d1d1f;
    --white: #ffffff;
    --gray-100: #f8f9fa;
    --gray-600: #6b7280;
    --gray-800: #1d1d1f;
    --border-color: #e5e7eb;

    /* Размеры и отступы */
    --section-padding-y: 4rem; /* Основной вертикальный отступ для секций */
    --section-padding-y-sm: 2rem; /* Меньший отступ для мобильных */
    --heading-margin-bottom: 1.5rem; /* Отступ снизу для заголовков h2 */
    --card-width: 260px;
    --card-gap: 16px;
    --icon-large: 80px;
    --icon-medium: 60px;
    --border-radius-card: 12px;
    --border-radius-button: 6px;
    --border-radius-pill: 50px;
    --transition-speed: 0.3s;
    --transition-easing: ease;
}

/* Универсальные стили */
* {
    box-sizing: border-box;
}

body {
    /* font-family: var(--bs-body-font-family); */
    font-size: var(--bs-body-font-size);
    line-height: var(--bs-body-line-height);
    color: var(--text-color);
    margin: 0;
    padding-top: 56px; /* Для фиксированного navbar на мобильных */
}

.extraclass {
    max-width: 1600px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Увеличиваем отступ для десктопов */
@media (min-width: 992px) {
    body {
        padding-top: 60px;
    }

    .text_info {
        display: none !important;
    }
    
}

a {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

p {
    margin: 0;
}

/* ==============================
   КОМПОНЕНТЫ BOOTSTRAP (КАСТОМИЗАЦИЯ)
   ============================== */

/* Navbar */
.navbar {
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: all var(--transition-speed) var(--transition-easing);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
}

.navbar.fixed-top {
  z-index: 1030; /* стандартный z-index Bootstrap navbar */
  will-change: transform; /* улучшает производительность анимации */
}

.navbar-hidden {
  transform: translateY(-100%);
  transition: transform 0.3s ease;
}

/* Стили для логотипа в навбаре */
.navbar-brand {
    padding: 0.5rem 0; /* Отступ сверху и снизу для логотипа */
}

.navbar-brand img {
    height: 30px;
    width: auto;
    display: block;
    transition: all var(--transition-speed) var(--transition-easing);
}

/* Dropdown */
.dropdown-menu {
    max-height: 70vh;
    overflow-y: auto;
    width: 335px;
    border: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.navbar-nav .dropdown-menu {
    position: absolute !important;
  }
  /* Опционально: убрать outline при фокусе */
  .btn:focus, .nav-link:focus, .accordion-button:focus {
    box-shadow: none !important;
  }

/* Мобильное меню */
@media (max-width: 991.98px) {
    .navbar-collapse {
        background-color: var(--white);
        padding: 15px;
        margin-top: 10px;
        border-radius: 8px;
        box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    }

    .dropdown-menu {
        width: 100%;
    }

    .navbar-brand {
        padding: 0.75rem 0; /* Больше отступа на мобильных */
    }
}

/* Выделенные пункты меню */
.dropdown-item-highlight {
    font-weight: 600;
    color: #2c3e50;
    border-left: 3px solid var(--primary-color);
    padding-left: 13px;
    background-color: transparent;
    transition: color var(--transition-speed) ease-in-out;
}

.dropdown-item-highlight:hover {
    color: var(--primary-color);
    background-color: var(--gray-100);
}

/* ==============================
   ОБЩИЕ СТИЛИ ДЛЯ СЕКЦИЙ
   ============================== */

/* Общий класс для всех основных секций */
.section {
    padding: var(--section-padding-y) 0;
}

/* Заголовки секций */
.section h2 {
    margin-bottom: var(--heading-margin-bottom);
}

/* Адаптивность для мобильных */
@media (max-width: 768px) {
    .section {
        padding: var(--section-padding-y-sm) 0;
    }

    .section h2 {
        margin-bottom: 1rem;
    }
    
}

/* ==============================
   КОНКРЕТНЫЕ СЕКЦИИ СТРАНИЦЫ
   ============================== */

/* Hero Section */
#hero-main {
    padding-bottom: 50px !important; /* Переопределяем, если нужно */
    padding-top: 50px !important;
}

#hero-tittle h2 {
    font-weight: 700;
    /* color: #6c757d; */
}

#hero-tittle h2 span {
    color: var(--text-color);
}

/* Контактный блок в Hero */
.hero-contacts {
  width: 100%;
  max-width: 185px;
  height: auto;
  margin-bottom: 20px;
  box-sizing: border-box;
}

.hero-contacts img {
    width: 35px;
    height: 35px;
    margin-right: 10px;
    border-radius: 50%;
}

.hero-contacts .contact-main_text {
    font-size: 13px;
    font-weight: 300;
    margin: 0;
    line-height: 15px;
}

/* .hero-contacts .contact-main_text a {
    color: inherit;
} */

/* Адаптивность Hero */

@media (max-width: 576px) {
    #col_contacts {
        padding-top: 50px;
        align-items: flex-start !important;
    }

    #col_contacts .hero-contacts {
        width: 220px;
        height: 50px;
    }

    #col_contacts .hero-contacts img {
        width: 45px;
        height: 45px;
    }

    #col_contacts .hero-contacts p {
        font-size: 16px;
    }
}

/* Общие стили для секций продуктов */
.product {
    text-align: center;
    margin-bottom: 10px;
    padding: 0 20px;
}

.product h1, .product h2 {
    margin: 0;
}

.product h1 {
    font-size: 32px;
    font-weight: 700;
}

.product h2 {
    font-size: 22px;
    font-weight: 400;
}

@media (min-width: 576px) {
    .product h1 {
        font-size: 56px;
    }

    .product h2 {
        font-size: 27px;
    }
}

/* Кнопки */
.bnts, .bnts-auto-in {
    font-size: 21px;
    margin: 30px 0 50px;
}

@media (min-width: 576px) {
    .bnts {
        margin-bottom: 80px;
    }
}

/* Специфичные фоны для секций */
.product.insurance.cargo {
    background-color: var(--light-bg);
}

.product.insurance.garage {
    background: var(--text-color);
    padding-bottom: 80px;
    color: var(--white);
}

.product.insurance.construct {
    background: radial-gradient(#ffd66e, var(--text-color) 90%), #ffd66e;
    color: var(--text-color);
}

@media (min-width: 576px) {
    .product.insurance.garage {
        padding-bottom: 0;
    }
}

/* Маленькие карточки продуктов */
.product-small {
    height: 550px;
    padding: 40px 20px 0;
    margin: 0 0 10px 0;
    text-align: center;
}

@media (min-width: 576px) {
    .product-small {
        margin: 0 0 10px 10px;
        padding-left: 0;
        padding-right: 0;
    }
}

.product-small h3 {
    font-size: 32px;
    font-weight: 700;
    margin: 0;
}

.product-small h4 {
    font-size: 19px;
    font-weight: 400;
    margin: 0;
}

.product-small.auto-in-first,
.product-small.transport-in {
    padding-top: 350px;
}

.products-grid {
    padding-right: 0;
}

@media (min-width: 576px) {
    .products-grid {
        padding-right: 10px;
    }
}

/* Добавляем вертикальные отступы между всеми основными секциями */
section, .section-container, #hero-main, #clients_logo {
  padding-top: 30px;
}


/* Для больших экранов — чуть больше воздуха */
@media (min-width: 992px) {
  .pricing_section {
   padding-top: 6rem;
  }
}

/* ==============================
   КАРУСЕЛИ (SWIPER, ACHIEVEMENTS)
   ============================== */

/* Общие стили для каруселей */
.swiptop {
    margin: 0; /* Убираем марджины, так как отступы теперь через .section */
}

.company_cards_section {
    font-family: var(--bs-body-font-family);
}

.company_cards_wrapper {
    position: relative;
    max-width: 1600px;
    width: 100%;
    margin: 0 auto;
    padding: 0;
}

.cards_container {
    display: flex;
    grid-auto-flow: column;
    grid-auto-columns: var(--card-width);
    gap: var(--card-gap);
    overflow-x: auto;
    overflow-y: hidden;
    scroll-behavior: smooth;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    cursor: grab;
}

.cards_container::-webkit-scrollbar {
    display: none;
}

.cards_container:active {
    cursor: grabbing;
}

/* Карточка в карусели */
.company_card {
    display: block;
    width: var(--card-width);
    height: 382px;
    background: var(--white);
    color: #1a202c;
    text-decoration: none;
    border-radius: 16px;
    box-shadow: 0 4px 12px rgba(17, 24, 39, 0.05);
    overflow: hidden;
    transition: box-shadow var(--transition-speed) var(--transition-easing), transform var(--transition-speed) var(--transition-easing);
    user-select: none;
}

.company_card:hover {
    box-shadow: 0 6px 20px rgba(17, 24, 39, 0.08);
    transform: translateY(-3px);
}

.company_card img {
    display: block;
    width: 100%;
    height: 320px;
    object-fit: cover;
}

.card_content {
    align-items: center;
    justify-content: space-between;
    padding: 16px 16px;
    font-size: 16px;
    font-weight: 500;
}

/* Кнопки навигации карусели */
.slider_buttons {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 16px;
}

.slider_buttons button {
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 6px rgba(17, 24, 39, 0.05);
    transition: background var(--transition-speed), box-shadow var(--transition-speed), color var(--transition-speed);
    color: #1a202c;
    user-select: none;
}

.slider_buttons button:hover {
    background: var(--gray-800);
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.08);
    color: var(--white);
}

/* Скрываем кнопки на мобильных */
@media (max-width: 768px) {
    .slider_buttons {
        display: none;
    }

    .cards_container {
        display: grid;
    }
}

/* Дополнительные карточки (product-card) */
.product-card {
    padding: 20px;
    border-radius: var(--border-radius-card);
    transition: transform var(--transition-speed) var(--transition-easing), box-shadow var(--transition-speed) var(--transition-easing);
    flex: 0 0 300px;
    min-width: 300px;
    max-width: 300px;
    min-height: 400px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    background: var(--white);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.product-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
}

.product-card h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0 0 10px 0;
}

.product-card p {
    font-size: 16px;
    margin: 0 0 8px 0;
}

/* Достижения (Achievements Carousel) */
.carousel-achievements {
    margin-bottom: 0; /* Убираем, если используется .section */
}

.carousel-wrapper {
    position: relative;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 50px;
    overflow: visible;
}

.product-carousel {
    display: flex;
    gap: 16px;
    overflow-x: auto;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
    touch-action: pan-x;
    padding-bottom: 1rem;
}

.product-carousel::-webkit-scrollbar {
    display: none;
}

/* Кнопки стрелок */
.arrow-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 20px;
    color: #1a202c;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    transition: background var(--transition-speed), box-shadow var(--transition-speed), color var(--transition-speed);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 20;
}

.arrow-btn:hover {
    background: var(--gray-800);
    color: var(--white);
    box-shadow: 0 4px 10px rgba(17, 24, 39, 0.15);
}

.arrow-left {
    left: 0;
    display: none;
}

.arrow-left.visible {
    display: flex;
}

.arrow-right {
    right: 0;
}

/* Адаптивность для каруселей */
@media (max-width: 576px) {
    .product-carousel .product-card,
    .company_card {
        width: 250px;
        grid-auto-columns: 250px;
    }

    .carousel-wrapper {
        padding: 0 40px;
    }
}

/* ==============================
   БЛОКИ УСЛУГ (GRID LAYOUT)
   ============================== */

/* Общий контейнер для блоков услуг */
.padding-section-medium {
    padding: 0rem 1rem;
}

.container {
   /* max-width: 1400px;*/
    margin: 0 auto;
}

.navbar div, .section-container div, #clients_logo div {
    max-width: 1600px;
}

.product_content {
    text-align: center;
    margin: 0 0 var(--heading-margin-bottom) 0;
}

.text-size-tagline {
    font-size: 1.8rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text-color);
    margin: 0;
}

/* Сетка услуг */
.product_component {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 2.5rem;
}

/* Элемент карточки услуги */
.product-card_item {
    background-color: var(--white);
    border-radius: var(--border-radius-card);
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform var(--transition-speed), box-shadow var(--transition-speed);
    color: var(--gray-800);
    border: 1px solid var(--border-color);
    height: 100%;
}

.product-card_item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(var(--primary-color), 0.15);
}

/* Иконка в карточке */
.iconx112 {
    width: var(--icon-large);
    height: auto;
    margin-bottom: 1.2rem;
}

/* Контент карточки */
.product-card_content {
    margin-bottom: 1.5rem;
    text-align: left;
    flex-grow: 1;
}

.h2 {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 0 0.8rem 0;
    color: var(--gray-800);
}

.text-size-body1 {
    font-size: 0.95rem;
    line-height: 1.5;
    color: var(--gray-600);
}

/* Кнопки в карточке */
.product-card_button {
    display: flex;
    gap: 0.8rem;
    justify-content: center;
    margin-top: auto;
    width: 100%;
    flex-wrap: wrap;
}

.button-primary {
    background-color: black;
    color: var(--white);
    padding: 0.7rem 1.4rem;
    border-radius: var(--border-radius-button);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all var(--transition-speed);
    text-align: center;
    display: inline-block;
    flex: 1;
    min-width: 120px;
    margin: auto;
}


.button-primary:hover {
    background-color: var(--primary-hover);
    border-color: var(--primary-color);
}

.button_text {
    color: var(--gray-800);
    text-decoration: none;
    font-size: 0.9rem;
    transition: all var(--transition-speed);
    text-align: center;
    padding: 0.7rem 0;
    flex: 1;
    min-width: 120px;
    font-weight: 500;
    border: 1px solid var(--border-color);
    border-radius: var(--border-radius-button);
    margin: auto;
}

.button_text:hover {
    color: white;
    background-color: black;
    border-color: var(--primary-color);
}

/* Тег в карточке */
.product_tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: #89D957;
    background: linear-gradient(90deg, rgba(137, 217, 87, 1) 0%, rgba(201, 226, 101, 1) 100%);
    font-size: 0.9rem;
    font-weight: 600;
    padding: 0.3rem 0.7rem;
    border-radius: 16px;
    border: 1px solid rgba(var(--primary-color), 0.2);
}

.product_tag div {
   color: black;
}

/* Адаптивность для блоков услуг */
@media (max-width: 1024px) {
    .product_component {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .product_component {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .product_content {
        margin-bottom: 5rem;
    }

    .iconx112 {
        width: var(--icon-medium);
    }

    .text-size-tagline {
        font-size: 1.8rem;
        margin: 0;
    }
    
}

@media (max-width: 480px) {
    .padding-section-medium {
        padding: 1rem;
    }

    .product-card_button {
        flex-direction: column;
    }

    .button-primary,
    .button_text {
        width: 100%;
        margin: 0 !important;
    }

    /* .button_text {
        display: none;
    } */
    #col_contacts {
        display: none !important;
    }
    
    #hero-main {
        padding-bottom: 0px !important;
    }

    #col_contacts {
        
        text-align: right;
    }

    .main_text {
        font-size: 1.5rem !important;
    }

}

/* Специфичная секция #services-auto */
#services-auto .product_content, .guarantees_title {
    margin-bottom: 5rem;
}

#services-auto .text-size-tagline {
    font-size: 1.8rem;
}

@media (min-width: 1200px) {
    #services-auto .product_component {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width: 769px) and (max-width: 1199px) {
    #services-auto .product_component {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Адаптация для других экранов отдельно  */
/* === Адаптация ТОЛЬКО для 768px – 1024px (планшеты) === */

/* Для экранов от 768px до 1024px включительно */
@media (min-width: 768px) and (max-width: 1024px) {
  /* Уменьшаем количество колонок с 6 до 3 на планшетах в альбомной ориентации (1024px) */
  /* И оставляем 2 колонки на портретных планшетах (768px) */

  /* Если ширина >= 992px (но <= 1024px) — показываем 3 колонки */
  /* Если ширина < 992px (но >= 768px) — показываем 2 колонки */

  /* Сбросим max-width у колонок, чтобы они не были слишком узкими */
  .section-container .col-lg-2,
  .section-container .col-md-6 {
    flex: 0 0 calc(33.333% - 1rem); /* 3 колонки с gap */
    max-width: calc(33.333% - 1rem);
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }

  /* На экранах < 992px — 2 колонки */
  @media (max-width: 991.98px) {
    .section-container .col-lg-2,
    .section-container .col-md-6 {
      flex: 0 0 calc(50% - 1rem); /* 2 колонки */
      max-width: calc(50% - 1rem);
    }
  }

  /* Оптимизируем карточки */
  .service-card {
    padding: 1.2rem;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .service-icon img {
    width: 56px;
    height: auto;
    margin: 0 auto 1rem;
    display: block;
  }

  .service-title {
    font-size: 1.35rem;
    margin-bottom: 0.7rem;
  }

  .service-description {
    font-size: 0.92rem;
    line-height: 1.5;
    flex-grow: 1;
  }

  .btn-custom {
    margin-top: auto;
    padding: 0.6rem 1rem;
    font-size: 0.9rem;
  }
}
/* <!-- Content Sections h2 --> */
.text_mrg {
    margin-bottom: 0rem !important
}



/* ==============================
   ОТЗЫВЫ И ТЕСТИМОНИАЛЫ
   ============================== */

/* Testimonials */
#testimonials_main .testimonial-card {
    transition: transform 0.3s ease, opacity 0.6s ease;
    opacity: 0;
    transform: translateY(40px);
    background: var(--white);
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

#testimonials_main .testimonial-card.animate-up.visible {
    opacity: 1;
    transform: translateY(0);
}

#testimonials_main .stars {
    font-size: 1.3rem;
    letter-spacing: 1px;
    color: #ffc107;
}

/* ==============================
   ФУТЕР
   ============================== */

footer {
    background-color: var(--dark-bg);
    color: var(--white);
    padding: 5rem 0 4rem;
}

footer a {
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s ease;
}

footer a:hover {
    color: #0270e1;
}

/* Стили для логотипа в футере */
footer .navbar-brand,
footer .navbar-brand img {
    padding: 0;
    margin: 0;
    height: 56px; /* Как в вашем HTML */
}

/* Подчеркивание ссылок при наведении */
.hover-underline {
    position: relative;
    display: inline-block;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: #0270e1;
    transition: width 0.3s ease;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Стили для ссылок услуг в футере */
.service-link {
    position: relative;
    transition: color 0.3s ease;
    display: inline-block;
}

.service-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 1px;
    background-color: #a3a3a3;
    transition: width 0.3s ease;
}

.service-link:hover {
    color: var(--white) !important;
}

.service-link:hover::before {
    width: 100%;
}

/* Иконки соцсетей */
.social-link {
    transition: transform 0.2s ease, color 0.3s ease;
    font-size: 1.25rem;
}

.social-link:hover {
    color: #007aff !important;
    transform: translateY(-2px);
}

/* ==============================
   КУКИ БАННЕР
   ============================== */

#cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--white);
    border-top: 2px solid #eee;
    padding: 20px;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    display: none;
}

#cookie-banner .btn-accept {
    background: #28a745;
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
    margin-right: 10px;
}

#cookie-banner .btn-accept:hover {
    background: #218838;
}

#cookie-banner .btn-decline {
    background: var(--secondary-color);
    color: var(--white);
    font-weight: 600;
    border-radius: 8px;
    padding: 10px 20px;
    border: none;
}

#cookie-banner .btn-decline:hover {
    background: #5a6268;
}

/* ==============================
   ГРАДИЕНТЫ (для фонов)
   ============================== */

.lights {
    background-image: linear-gradient(to bottom, #dfeff8, #e4f1f8, #e8f2f9, #edf4f9, #f1f6f9);
}

.lights1 {
    background-image: linear-gradient(to bottom, #ebdbcc, #f5e2dd, #f8ebee, #faf5f9, #ffffff);
}

.lights2 {
    background-image: linear-gradient(to bottom, #ccebcd, #caf2eb, #dbf6fd, #f1f9ff, #ffffff);
}

.lights3 {
    background-image: linear-gradient(to bottom, #dfeff8, #e4f1f8, #e8f2f9, #edf4f9, #f1f6f9);
}

/* Основной контейнер карточки */
.team-member-card {
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: inherit;
    padding: 12px;
    border-radius: 8px;
   background: linear-gradient(
        to top,
        rgba(0, 0, 0, 1)    0%,      /* Чёрный снизу */
        rgba(40, 40, 40, 1) 15%,     /* Очень тёмный серый */
        rgba(100, 100, 100, 1) 30%,  /* Серый */
        rgba(180, 180, 180, 1) 45%,  /* Светло-серый */
        rgba(255, 255, 255, 1) 60%,  /* Белый */
        rgba(255, 255, 255, 0.7) 70%, /* Полупрозрачный белый */
        rgba(255, 255, 255, 0.3) 85%, /* Почти прозрачный */
        rgba(255, 255, 255, 0) 100%   /* Полностью прозрачный сверху */
    ) !important;
    backdrop-filter: blur(4px);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    min-height: 70px;
}

.team-member-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    /* НЕ используй background-color — он убивает градиент! */
}

/* Контент карточки: заголовок + подзаголовок + стрелка */
.team-member-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    padding-right: 24px;
}

/* Заголовок — жирный, выровнен по левому краю */
.team-member-title {
    font-weight: 700;
    margin: -2px 0 0 0;
    font-size: 1.1rem;
    text-align: left;
    color: #ffffff;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Подзаголовок — обычный, тоже по левому краю */
.team-member-subtitle {
    margin: 0 0 2px 0;
    font-size: 0.9rem;
    color: #ffffff;
    text-align: left;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

/* Стрелка — прижата к правому краю, явно белая */
.team-member-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    fill: #ffffff;
}

 /* Скрываем плавающую кнопку по умолчанию */
.floating-social-bar {
  display: none;
}

/* Показываем только на экранах до 991px (мобильные + планшеты) */
@media (max-width: 991.98px) {
  .floating-social-bar {
    display: block;
    position: fixed;
    bottom: 16px;
    right: 16px;
    z-index: 1050;
  }

  .floating-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    background: linear-gradient(90deg, #89D957 0%, #C9E265 100%);
    color: #000;
    border-radius: 50%;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    font-size: 18px;
    transition: transform 0.2s ease;
  }

  .floating-icon:hover,
  .floating-icon:focus {
    transform: scale(1.08);
    color: #000;
  }
}

    /* <!-- Секция карточек простых  --> */
     .section-container {
      max-width: 1600px;
      margin: 0 auto;
      padding: 60px 20px;
    }

    .service-card {
      text-align: center;
      margin-bottom: 15px;
      padding: 18px 12px;
      border-radius: 12px;
      background-color: white;
      box-shadow: 0 1px 6px rgba(0,0,0,0.12);
      transition: transform 0.3s ease;
      display: flex;
      flex-direction: column;
      justify-content: space-between;
      min-height: 100%;
    }

    .service-card:hover {
      transform: translateY(-4px);
    }

    .service-icon {
      width: 150px;
      height: 150px;
      margin: 0 auto 10px;
    }

    .service-icon img {
      width: 100%;
      height: 100%;
      object-fit: contain;
    }

    .service-title {
      font-size: 1.1rem;
      font-weight: 700;
      color: #333;
      margin-bottom: 8px;
      line-height: 1.3;
    }

    .service-description {
      font-size: 0.85rem;
      color: #555;
      line-height: 1.4;
      margin-bottom: 12px;
      flex-grow: 1;
    }

    .btn-custom {
      background-color: #000;
      color: white;
      border: none;
      padding: 6px 16px;
      border-radius: 25px;
      display: inline-flex;
      align-items: center;
      gap: 5px;
      transition: all 0.3s ease;
      font-size: 0.8rem;
      align-self: center;
    }

    .btn-custom:hover {
      background-color: #333;
    }

    .btn-custom i {
      font-size: 0.9rem;
    }

    /* Адаптив для мобильных (320–575px) */
    @media (max-width: 575px) {
      .service-card {
        padding: 14px 10px;
        margin-bottom: 12px;
      }

      .service-icon {
        width: 100px;
        height: 100px;
      }

      .service-title {
        font-size: 1.05rem;
      }

      .service-description {
        font-size: 0.8rem;
        margin-bottom: 10px;
      }

      .btn-custom {
        padding: 5px 14px;
        font-size: 0.75rem;
      }

      #hero-tittle h2 {
        width: 400px;
      }
    }

    /* Для десктопов: 6 карточек в ряд */
    @media (min-width: 768px) {
      .col-lg-2 {
        flex: 0 0 16.66666667%;
        max-width: 16.66666667%;
      }
    }

    /* На всех экранах: 2 колонки при необходимости */
    @media (max-width: 767px) {
      .col-md-6  {
        flex: 0 0 50%;
        
      }

      .nonscrean {
        max-width: 50%;
      }

    }

    /* <!-- Content Sections style--> */
    @media (max-width: 991.98px) {
        #responsive-img {
            width: 100% !important;
        }
    }

   