
/* Фікс центрування та вирівнювання списку на мобільних */
.hero-list-fix {
    display: inline-block;
    text-align: left;
    margin: 0 auto 1.5rem auto !important;
    padding: 0 15px;
    max-width: 100%;
}

.hero-list-fix li {
    display: flex !important;
    align-items: flex-start !important;
    text-align: left !important;
    font-size: 1rem;
    line-height: 1.4;
}

.hero-list-fix li i {
    font-size: 1.2rem !important; /* Фіксований розмір галочки */
    margin-right: 10px !important;
    margin-top: 2px !important; /* Опускає галочку строго по центру першого рядка */
    line-height: 1 !important;
}

/* На десктопі повертаємо стандартне притискання вліво */
@media (min-width: 992px) {
    .hero-list-fix {
        display: block;
        margin: 0 0 1.5rem 0 !important;
        padding: 0;
    }
}



/* Стили для улучшения видимости логотипов в карусели */
.brand-ticker-logo {
    max-height: 45px; /* Контролируем высоту, чтобы сетка не плясала */
    width: auto;
    object-fit: contain;
    /* Делаем белые/цветные логотипы контрастными серыми силуэтами */
    filter: brightness(0.4) contrast(0.8) opacity(0.4); 
    transition: all 0.3s ease-in-out;
}

/* При наведении логотип становится цветным/оригинальным */
.logo-ticker-item:hover .brand-ticker-logo {
    filter: brightness(1) contrast(1) opacity(1);
}

/* Центрирование элементов внутри тикера */
.logo-ticker-item {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 25px; /* Отступы между логотипами в ленте */
}


.logo-grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    cursor: pointer;
    transition: transform 0.2s ease-in-out;
    height: 90px; /* Зменшуємо висоту для компактності на мобільному */
}

/* ЗАГАЛЬНЕ ПРАВИЛО ДЛЯ ВСІХ ЛОГОТИПІВ В СІТЦІ (Преміум-сірий) */
.brand-grid-logo {
    max-height: 35px; /* Зменшуємо максимальну висоту для мобільного */
    max-width: 120px; /* Обмежуємо ширину */
    width: auto;
    object-fit: contain;
    /* Збільшуємо яскравість і прозорість для чіткості на мобільному */
    filter: brightness(0) invert(0.4) opacity(0.85); 
    transition: all 0.2s ease-in-out;
    display: block;
}

/* Вилікувати білі SVG надписи (Спеціальне правило) */
.brand-grid-logo.inverted-svg {
    filter: brightness(0) invert(1) opacity(0.85);
}

/* --- Мобільна адаптація сітки --- */
@media (max-width: 767px) {
    /* Робимо 3 логотипи в ряд на мобільному (з Bootstrap класом row-cols-3) */
    .row.row-cols-3.row-cols-lg-6 {
        display: flex;
        flex-wrap: wrap;
        margin-right: -5px;
        margin-left: -5px;
    }
    
    .row.row-cols-3.row-cols-lg-6 > .col {
        flex: 0 0 calc(33.333% - 10px); /* 3 в ряд з відступами */
        max-width: calc(33.333% - 10px);
        margin: 5px; /* Відступи між стовпцями */
        padding: 0;
    }
}

/* --- Плашка "Читати кейс" --- */
.grid-case-badge {
    position: absolute;
    bottom: -15px; /* Виносимо вниз під логотип */
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #0d6efd;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    z-index: 5;
}

/* --- Наведення та мобільне торкання --- */
.logo-grid-item:hover,
.logo-grid-item:active {
    transform: translateY(-5px);
}

.logo-grid-item:hover .brand-grid-logo,
.logo-grid-item:active .brand-grid-logo {
    filter: none; /* Кольори на ховері */
    opacity: 1;
}

.logo-grid-item:hover .grid-case-badge,
.logo-grid-item:active .grid-case-badge {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- 1. Стилі для верхньої статичної сітки кейсів (Логотипи) --- */
.logo-grid-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.25s ease-in-out;
    height: 100px; /* Фіксуємо висоту контейнера для чіткої сітки */
}

/* Ховер ефект: легке підняття */
.logo-grid-item:hover {
    transform: translateY(-5px);
}

/* ЗАГАЛЬНЕ ПРАВИЛО ДЛЯ ВСІХ ЛОГОТИПІВ В СІТЦІ (Преміум-сірий) */
.brand-grid-logo {
    max-height: 40px; /* Трохи зменшуємо, щоб блок був акуратнішим */
    max-width: 140px;
    width: auto;
    object-fit: contain;
    /* МАГІЯ: Робимо логотип сірим, зберігаючи деталі.
       brightness(0): перетворює на чорний.
       invert(0.5): перетворює чорний на середньо-сірий.
       opacity(0.6): робить його трохи блідішим, як у Flexport. */
    filter: brightness(0) invert(0.5) opacity(0.6);
    transition: all 0.25s ease-in-out;
    display: block;
}

/* Етап 3: Вилікувати білі SVG надписи (Спеціальне правило) */
.brand-grid-logo.inverted-svg {
    /* brightness(0): перетворює на чорний.
       invert(1): інвертує чорний на чистий білий (щоб його було видно).
       opacity(0.6): робить його таким же блідо-сірим, як і інші. */
    filter: brightness(0) invert(1) opacity(0.6);
}

/* ПРАВИЛО НАВЕДЕННЯ: Повертаємо оригінальні кольори */
.logo-grid-item:hover .brand-grid-logo {
    filter: none; /* Відключаємо всі сірі фільтри */
    opacity: 1; /* Повна яскравість */
}

/* ПРАВИЛО НАВЕДЕННЯ ДЛЯ БІЛИХ SVG: Залишаємо білими, але яскравими */
.logo-grid-item:hover .brand-grid-logo.inverted-svg {
    filter: brightness(0) invert(1); /* Кольори не повертаємо (бо вони білі), просто прибираємо прозорість */
    opacity: 1;
}


/* --- Мобільна адаптація (щоб не виглядало блідо) --- */
@media (max-width: 991px) {
    /* Робимо логотипи на мобільному трохи чіткішими, щоб їх було видно без ховеру */
    .brand-grid-logo {
        filter: brightness(0) invert(0.4) opacity(0.85); /* Менше прозорості, більше сірого */
    }
    .brand-grid-logo.inverted-svg {
        filter: brightness(0) invert(1) opacity(0.85);
    }
}


/* --- Плашка "Читати кейс" (Без змін) --- */
.grid-case-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #0d6efd;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    z-index: 5;
}
.logo-grid-item:hover .grid-case-badge {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* Вылечить белые надписи логотипов:
   1. grayscale(100%): делает логотипы черно-белыми
   2. brightness(0%): понижает яркость черно-белого логотипа до черного */
.brand-grid-logo {
    filter: grayscale(100%) brightness(0%);
}

/* Наведение: возвращаем оригинальные цвета */
.logo-grid-item:hover .brand-grid-logo {
    filter: none;
}

/* --- 1. Стилі для верхньої статичної сітки (Кейси) --- */
.logo-grid-item {
    position: relative;
    display: inline-block;
    padding: 15px;
    cursor: pointer;
    transition: transform 0.3s ease-in-out;
}
.logo-grid-item:hover {
    transform: translateY(-5px);
}
.brand-grid-logo {
    max-height: 45px;
    max-width: 130px;
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
}
.logo-grid-item:hover class-grid-logo,
.logo-grid-item:hover .brand-grid-logo {
    filter: grayscale(0%);
    opacity: 1;
}
.grid-case-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #0d6efd;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.2s ease-in-out;
    white-space: nowrap;
    z-index: 5;
}
.logo-grid-item:hover .grid-case-badge {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* --- 2. Стилі для нижньої рухомої каруселі --- */
.logo-ticker-wrapper {
    width: 100%;
    overflow: hidden;
    padding: 15px 0;
    position: relative;
    display: flex;
    white-space: nowrap;
}
.logo-ticker-wrapper::before,
.logo-ticker-wrapper::after {
    content: ""; height: 100%; width: 120px; position: absolute; top: 0; z-index: 2; pointer-events: none;
}
.logo-ticker-wrapper::before { left: 0; background: linear-gradient(to right, #f8f9fa, rgba(248,249,250,0)); }
.logo-ticker-wrapper::after { right: 0; background: linear-gradient(to left, #f8f9fa, rgba(248,249,250,0)); }

.logo-ticker-track {
    display: flex;
    align-items: center;
    width: max-content;
    flex-wrap: nowrap;
    animation: scrollTicker 40s linear infinite;
}
.logo-ticker-item {
    width: 200px;
    flex-shrink: 0;
    text-center: center;
    padding: 0 35px;
}
.brand-ticker-logo {
    max-height: 38px; /* Робимо лого в каруселі трохи меншими, преміальними */
    width: auto;
    object-fit: contain;
    filter: grayscale(100%);
 
}

@keyframes scrollTicker {
    0% { transform: translateX(0); }
    100% { transform: translateX(calc(-200px * 29)); } /* 29 унікальних логотипів у стрічці */
}

.hero-section {
    padding-top: 110px !important; /* Опускає заголовок з-під меню */
}

/* ================= КОРЕКЦІЯ ЛОГО-ТІКЕРА ================= */
.logo-ticker-wrapper {
    width: 100%;
    overflow: hidden; /* Суворо ховаємо все, що виходить за екран */
    padding: 30px 0;
    position: relative;
    background: #1d6dab;
    display: flex;
    white-space: nowrap; /* Забороняємо будь-які перенесення елементів на новий рядок */
}

/* Напівпрозорі преміум-маски по боках */
.logo-ticker-wrapper::before,
.logo-ticker-wrapper::after {
    content: "";
    height: 100%;
    width: 150px;
    position: absolute;
    top: 0;
    z-index: 5;
    pointer-events: none;
}
.logo-ticker-wrapper::before {
    left: 0;
    background: linear-gradient(to right, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}
.logo-ticker-wrapper::after {
    right: 0;
    background: linear-gradient(to left, #f8f9fa 0%, rgba(248, 249, 250, 0) 100%);
}

/* Єдина лінія (трек) для руху логотипів */
.logo-ticker-track {
    display: flex;
    align-items: center;
    width: max-content; /* Дозволяємо контейнеру розтягуватися на всю довжину коду */
    flex-wrap: nowrap; /* Жорстко блокуємо розриви рядків */
    animation: scrollTicker 45s linear infinite; /* Швидкість руху */
}

/* Зупинка стрічки при наведенні мишки (працює лише на десктопах) */
@media (min-width: 992px) {
    .logo-ticker-wrapper:hover .logo-ticker-track {
        animation-play-state: paused;
    }
}

/* Кожен окремий блок з логотипом всередині лінії */
.logo-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 220px; /* Фіксований крок для кожного бренду */
    padding: 0 40px;
    flex-shrink: 0; /* Забороняємо стискати блоки */
    transition: transform 0.3s ease-in-out;
}

/* Логіка курсорів */
.logo-item.has-case { cursor: pointer; }
.logo-item.no-case { cursor: default; }

/* Налаштування зображень брендів */
.brand-logo {
    max-height: 45px; /* Сувора однакова висота для всіх брендів */
    max-width: 140px; /* Обмежуємо ширину, щоб великі лого не випирали */
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.4;
    transition: all 0.3s ease-in-out;
    display: block;
}

/* Ховер ефекти на логотипи */
.logo-item:hover .brand-logo {
    filter: grayscale(0%);
    opacity: 1;
}
.logo-item.has-case:hover {
    transform: translateY(-5px); /* Легке підняття вгору, замість scale (щоб не лагав скрол) */
}

/* АБСОЛЮТНА ПЛАШКА "Читати кейс" (Тепер вона схована і не ламає рядок) */
.case-badge {
    position: absolute;
    bottom: -25px; /* Виносимо її вниз під логотип */
    left: 50%;
    transform: translateX(-50%) translateY(5px);
    background-color: #0d6efd; /* Основний синій колір */
    color: #fff;
    font-size: 11px;
    font-weight: 600;
    padding: 3px 10px;
    border-radius: 4px;
    opacity: 0; /* Повністю схована за замовчуванням */
    pointer-events: none;
    transition: all 0.25s ease-in-out;
    white-space: nowrap;
    z-index: 10;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
}

/* Поява плашки при наведенні */
.logo-item.has-case:hover .case-badge {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* БЕЗКІНЕЧНА АНІМАЦІЯ ЗСУВУ */
@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Зсув рівно на ширину першої половини списку (39 унікальних логотипів * 220px) */
        transform: translateX(-8580px);
    }
}

/* Плашка "Читати кейс" */
.case-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%) translateY(10px);
    background-color: #0d6efd;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 8px;
    border-radius: 4px;
    opacity: 0;
    pointer-events: none;
    transition: all 0.3s ease-in-out;
    white-space: nowrap;
    z-index: 3;
}
.logo-item.has-case:hover .case-badge {
    opacity: 1;
    transform: translateX(-50%) translateY(0);
}

/* ANIMATION KEYFRAMES */
@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Зсув рівно на половину ширини треку (оскільки ми продублювали елементи) */
        transform: translateX(calc(-220px * 40)); 
    }
}

@keyframes scrollTicker {
    0% {
        transform: translateX(0);
    }
    100% {
        /* Зсув рівно на ширину першої половини списку (39 логотипів * 220px) */
        transform: translateX(-8580px); 
    }
}


/* Стилі для сітки логотипів */
.logo-item {
    display: inline-block;
    cursor: pointer;
    padding: 15px;
    transition: all 0.3s ease-in-out;
}

/* Обмежуємо висоту логотипів, як просив клієнт */
.brand-logo {
    max-height: 45px;
    width: auto;
    object-fit: contain;
    /* Робимо логотип чорно-білим/сірим та трохи прозорим */
    filter: grayscale(100%);
    opacity: 0.5;
    transition: all 0.3s ease-in-out;
}

/* Ефект при наведенні (Hover Animation) */
.logo-item:hover {
    transform: scale(1.05); /* Легке збільшення */
}

.logo-item:hover .brand-logo {
    filter: grayscale(0%); /* Повертаємо оригінальні кольори */
    opacity: 1; /* Робимо яскравим */
}

download-card {
    background: linear-gradient(135deg, rgba(29, 106, 168, 0.1) 0%, rgba(141, 196, 68, 0.1) 100%);
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.3s ease;
}
.download-card:hover {
    border-color: #8dc444;
    transform: translateY(-5px);
}
.excel-icon-wrapper {
    font-size: 4rem;
    color: #217346; /* Цвет Excel */
    filter: drop-shadow(0 0 10px rgba(33, 115, 70, 0.4));
}


.img-hover-zoom {
    transition: transform 0.3s ease, filter 0.3s ease;
    cursor: pointer;
}
.img-hover-zoom:hover {
    transform: scale(1.03);
    filter: brightness(1.05);
}

/* Включаем бургер-меню раньше, когда элементам становится тесно */
@media (max-width: 1150px) {
    .navbar-expand-lg .navbar-toggler {
        display: block !important;
    }
    .navbar-expand-lg .navbar-collapse {
        display: none !important; /* Прячем основное меню */
    }
    .navbar-expand-lg .collapse.show {
        display: block !important; /* Показываем при клике на бургер */
    }
    .navbar-nav {
        padding: 20px 0;
    }
    .navbar-nav .nav-item {
        margin: 10px 0;
    }
    /* Делаем переключатель языков видимым в мобильном меню */
    .ms-lg-3 {
        margin-top: 20px;
        justify-content: center;
        width: 100%;
    }
}

/* Уплотняем ссылки для экранов чуть больше 1150px */
@media (min-width: 1151px) and (max-width: 1300px) {
    .navbar-nav .nav-link {
        padding-left: 10px !important;
        padding-right: 10px !important;
        font-size: 14px;
    }
    .navbar-brand img {
        height: 40px !important;
    }
}

/* Стиль для іконок у блоці результатів */
.result-box-item .icon i {
    color: #ffffff !important;
    opacity: 1 !important;
    text-shadow: 0 0 10px rgba(13, 202, 240, 0.5); /* Легке блакитне світіння під колір бренду */
    width: 30px;
    text-align: center;
}

/* Можна також додати невелику підкладку, якщо хочете зробити їх ще помітнішими */
.result-box-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1); /* Напівпрозоре коло навколо іконки */
    border-radius: 8px;
}

@media (max-width: 991px) {
    .navbar .navbar-nav .nav-item .nav-link {
        color: #ffffff!important;
    }
}

/* ================================================================
   BDU LOGISTIC - FINAL STRUCTURED STYLES
   Color Palette: Deep Blue (#0f172a), Primary (#0d6efd), Cyan (#0dcaf0)
================================================================ 
*/

:root {
    /* Colors */
    --clr-dark: #0f172a;
    --clr-dark-alt: #0b0f19;
    --clr-primary: #0d6efd;
    --clr-cyan: #0dcaf0;
    --clr-white: #ffffff;
    --clr-light: #f8f9fa;
    --clr-gray: #dee2e6;
    --clr-text-muted: rgba(255, 255, 255, 0.7);
    
    /* Spacing */
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Transitions */
    --transition-base: all 0.3s ease;
}

/* --- 1. GLOBAL RESET & UTILITIES --- */
body {
    font-family: 'Inter', sans-serif; /* Рекомендуется подключить Inter или оставить стандарт */
    color: #333;
}

.py-section {
    padding-top: var(--section-padding);
    padding-bottom: var(--section-padding);
}

@media (max-width: 991px) {
    .py-section {
        padding-top: var(--section-padding-mobile);
        padding-bottom: var(--section-padding-mobile);
    }
}

.text-info-custom { color: var(--clr-cyan) !important; }
.bg-primary-soft { background-color: rgba(13, 110, 253, 0.1); }
.ls-2 { letter-spacing: 2px; }

/* --- 2. NAVIGATION --- */
.navbar-custom {
    padding: 20px 0;
    transition: var(--transition-base);
}

.navbar-custom.sticky {
    background-color: var(--clr-white) !important;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

.navbar-custom.sticky .nav-link { color: #333 !important; }
.navbar-custom.sticky .nav-link.active,
.navbar-custom.sticky .nav-link:hover { color: var(--clr-primary) !important; }

/* --- 3. HERO SECTION --- */
.hero-part.bg-home-custom {
    background-color: var(--clr-dark);
    min-height: 90vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
}

.hero-img-container img {
    border-radius: 20px;
    border: 1px solid rgba(255,255,255,0.1);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.image-overlay-card-modern {
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    padding: 20px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--clr-cyan);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    z-index: 5;
}

.custom-check-list li {
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    font-size: 1.05rem;
}

/* --- 4. TABS & CASES (THE CLEAN LOOK) --- */
#v-pills-tab .nav-link {
    border-radius: 8px;
    padding: 12px 15px;
    background: var(--clr-white);
    color: #444;
    border: 1px solid var(--clr-gray);
    font-weight: 600;
    margin-bottom: 8px;
    transition: var(--transition-base);
}

#v-pills-tab .nav-link.active {
    background-color: var(--clr-primary);
    color: var(--clr-white);
    border-color: var(--clr-primary);
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.2);
}

.tab-content {
    background: var(--clr-white);
    border-radius: 15px;
    border: 1px solid var(--clr-gray);
}

.badge.bg-primary-soft {
    background-color: rgba(13, 110, 253, 0.08);
    color: var(--clr-primary);
    font-weight: 700;
}

/* --- 5. STATS SECTION --- */
.section-stats-modern {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--clr-dark);
    color: var(--clr-white);
    overflow: hidden;
}

.stat-value {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(45deg, var(--clr-primary), var(--clr-cyan));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.stat-label {
    color: var(--clr-cyan);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    font-size: 0.8rem;
}

/* --- 6. FORMS & CONTACT --- */
.contact-box-modern {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 40px;
}

.form-control-custom {
    background: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
    color: var(--clr-white) !important;
    padding: 12px 20px;
}

.form-control-custom:focus {
    border-color: var(--clr-primary) !important;
    background: rgba(255, 255, 255, 0.08) !important;
}

/* --- 7. FOOTER --- */
.footer-overlay {
    background: linear-gradient(rgba(10, 15, 28, 0.95), rgba(10, 15, 28, 0.95));
    padding: 80px 0 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}

/* --- 8. ADAPTIVE FIXES --- */
@media (max-width: 991px) {
    .image-overlay-card-modern {
        position: relative;
        left: 0;
        bottom: 0;
        margin-top: -30px;
        margin-left: 20px;
        margin-right: 20px;
        text-align: center;
    }
    .hero-part.bg-home-custom { text-align: center; }
    .custom-check-list li { justify-content: center; }
    .hero-img-container { margin-top: 50px; }
}


/* Мобильная сетка табов */
#v-pills-tab .nav-link {
    border-radius: 8px;
    padding: 10px 12px;
    background: #fff;
    color: #444;
    border: 1px solid #dee2e6;
    font-weight: 600;
    font-size: 0.85rem;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

#v-pills-tab .nav-link.active {
    background-color: #93c74a ; /*#3a41c4*/
    color: #3a41c4;
    border-color: #0d6efd;
    box-shadow: 0 4px 12px rgba(13, 110, 253, 0.25);
}

/* Фикс для десктопа: кнопки на всю ширину колонки */
@media (min-width: 992px) {
    .w-100-lg {
        width: 100% !important;
    }
    #v-pills-tab .nav-link {
        justify-content: flex-start;
        padding: 15px 20px;
    }
}

/* Небольшой отступ для картинок в мобильной версии */
@media (max-width: 991px) {
    .tab-pane img {
        margin-top: 25px;
        max-height: 300px;
        object-fit: contain;
    }
}


 .bg-primary-soft {
        background-color: rgba(13, 110, 253, 0.1); /* Світло-синій фон для іконок */
    }
    .ls-2 {
        letter-spacing: 2px;
    }
    .tracking-widest {
        letter-spacing: 1px;
    }

/* Стилі для ідеального вирівнювання та вигляду */
    .hero-part {
        min-height: 50vh;
        display: flex;
        align-items: center;
    }
    
    .text-info-custom {
        color: #0dcaf0 !important; /* Ваш основний блакитний колір */
    }
.text-info-custom-1 {
        color: #8fc545 !important; /* Ваш основний блакитний колір */
    }
    .hero-img-upscale {
        transition: transform 0.5s ease;
        border: 1px solid rgba(255,255,255,0.1);
    }

    .image-overlay-card-modern {
        bottom: 30px;
        left: -20px;
        background: rgba(13, 20, 30, 0.9);
        backdrop-filter: blur(10px);
        border-left: 5px solid #0dcaf0;
        z-index: 2;
    }

    @media (max-width: 991px) {
        .image-overlay-card-modern {
            left: 20px;
            bottom: 20px;
        }
    }
    
    .custom-check-list li i {
        line-height: 1;
    }
.text-primary-g {
    color: #90c646 !important;
}

/* Стилі для стану Sticky (коли користувач прокрутив сторінку) */
.navbar-custom.sticky {
    background-color: #ffffff !important; /* Білий фон при скролі */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    padding: 10px 0;
}

/* Колір посилань меню при скролі */
.navbar-custom.sticky .navbar-nav .nav-item .nav-link {
    color: #333 !important; /* Темно-сірий колір */
}

.navbar-custom.sticky .navbar-nav .nav-item .nav-link:hover,
.navbar-custom.sticky .navbar-nav .nav-item .nav-link.active {
    color: #0d6efd !important; /* Синій колір для активного пункту */
}

/* Виправлення телефону при скролі */
.navbar-custom.sticky a[href^="tel:"] {
    color: #333 !important;
}

/* Перемикач мов у липкому стані */
.navbar-custom.sticky .language-switcher a.btn-outline-light {
    border-color: #dee2e6 !important;
    color: #333 !important;
}

.navbar-custom.sticky .language-switcher a.btn-light {
    background-color: #f8f9fa !important;
    border-color: #dee2e6 !important;
    color: #333 !important;
}

/* Іконка гамбургера для мобільних при скролі */
.navbar-custom.sticky .navbar-toggler i {
    color: #333 !important;
}

 /* Стилізація під ваш бренд */
    .hero-part.bg-home-custom {
        background-color: #0f172a; /* Глибокий темний колір */
        min-height: 100vh;
        display: flex;
        align-items: center;
        padding: 100px 0;
    }
    
    .text-info-custom { color: #3ba2ff !important; }
    
    .custom-check-list li {
        margin-bottom: 15px;
        font-size: 1.1rem;
        display: flex;
        align-items: center;
    }
    
    .btn-massive-custom {
        font-weight: 700;
        letter-spacing: 0.5px;
        transition: all 0.3s ease;
        box-shadow: 0 10px 20px rgba(59, 162, 255, 0.2);
    }
    
    .btn-massive-custom:hover {
        transform: translateY(-3px);
        box-shadow: 0 15px 30px rgba(59, 162, 255, 0.4);
    }

    /* Бейдж на картинці */
    .image-overlay-card-modern {
        position: absolute;
        bottom: 30px;
        right: -20px;
        background: rgba(15, 23, 42, 0.9);
        backdrop-filter: blur(10px);
        padding: 20px 30px;
        border-radius: 15px;
        border-left: 5px solid #3ba2ff;
        box-shadow: 0 20px 40px rgba(0,0,0,0.4);
        z-index: 2;
    }

    .hero-img-container img {
        border-radius: 30px;
        border: 1px solid rgba(255,255,255,0.1);
    }

    @media (max-width: 991px) {
        .image-overlay-card-modern { right: 20px; bottom: 10px; padding: 15px; }
        .hero-part.bg-home-custom { text-align: center; }
        .custom-check-list li { justify-content: center; }
    }


/* Стилі для збереження "преміум" вигляду старого блоку */
    .contact-part.bg-dark-custom {
        background-color: #0b0f19; /* Глибокий темний колір */
        position: relative;
        overflow: hidden;
    }

    .blue-glow-custom {
        position: absolute;
        top: -10%;
        right: -10%;
        width: 400px;
        height: 400px;
        background: radial-gradient(circle, rgba(13, 110, 253, 0.15) 0%, rgba(13, 110, 253, 0) 70%);
        pointer-events: none;
    }

    .contact-box-modern {
        background: rgba(255, 255, 255, 0.03); /* Майже прозора картка */
        backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.1);
        border-radius: 20px;
    }

    .form-control-custom {
        background: rgba(255, 255, 255, 0.05) !important;
        border: 1px solid rgba(255, 255, 255, 0.1) !important;
        color: #fff !important;
        padding: 12px 20px;
    }

    .form-control-custom::placeholder {
        color: rgba(255, 255, 255, 0.4);
    }

    .form-control-custom:focus {
        background: rgba(255, 255, 255, 0.08) !important;
        border-color: #0d6efd !important;
        box-shadow: none;
    }

    .result-box-item {
        background: rgba(13, 110, 253, 0.05);
        border-radius: 12px;
        padding: 20px;
        transition: transform 0.3s ease;
    }

    .result-box-item:hover {
        transform: translateX(10px);
        background: rgba(13, 110, 253, 0.1);
    }

    .btn-massive {
        background: #e63946; /* Червоний як у старому блоці для акценту */
        border: none;
        padding: 15px 30px;
        font-weight: 700;
        letter-spacing: 1px;
        transition: all 0.3s ease;
    }

    .btn-massive:hover {
        background: #ff4d5a;
        transform: translateY(-2px);
        box-shadow: 0 10px 20px rgba(230, 57, 70, 0.3);
    }


 /* Додаткові стилі для вирівнювання іконок та анімацій */
    #business-benefits .border-animation {
        transition: all 0.3s ease;
        background: #fff;
    }
    #business-benefits .border-animation:hover {
        transform: translateY(-5px);
        border-color: #0d6efd !important; /* Колір primary */
    }
    #business-benefits .text-primary {
        color: #3a41c4 !important;
    }

.section-stats-modern {
        position: relative;
        padding: 100px 0;
        background-image: url('../img/bdu-car.png'); 
        background-size: cover; 
        background-position: center; 
        background-attachment: fixed; /* Додає ефект паралаксу */
        color: #fff;
    }

    /* Темний оверлей для читабельності тексту */
    .section-stats-modern::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(15, 23, 42, 0.8); /* Глибокий темно-синій відтінок */
        z-index: 1;
    }

    .section-stats-modern .container {
        position: relative;
        z-index: 2;
    }

    .stat-card {
        padding: 20px;
        transition: transform 0.3s ease;
    }

    .stat-value {
        font-size: 3.5rem;
        font-weight: 800;
        line-height: 1;
        margin-bottom: 10px;
        background: linear-gradient(45deg, #1d6aa8, #8dc444);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        display: inline-block;
    }

    .stat-label {
        font-size: 0.85rem;
        text-transform: uppercase;
        font-weight: 700;
        letter-spacing: 2px;
        color: #3ba2ff; /* Блакитний акцент як у старій версії */
        margin-bottom: 15px;
    }

    .stat-desc {
        font-size: 1.1rem;
        font-weight: 400;
        color: rgba(255, 255, 255, 0.8);
        line-height: 1.5;
    }

    /* Вертикальні розділювачі для десктопа */
    @media (min-width: 992px) {
        .border-divider {
            border-left: 1px solid rgba(255, 255, 255, 0.1);
        }
    }







.footer-overlay {
    /* Наложение черного цвета 90% прозрачности поверх картинки */
    background: linear-gradient(rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.9)), 
                url('../img/bg.jpg');
    
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.1); /* Тонкая линия сверху вместо стандартного hr */
}

/* Сделаем текст чуть светлее для контраста на темном фоне */
#main-footer .text-white-50 {
    color: rgba(255, 255, 255, 0.7) !important;
}

#main-footer a:hover {
    color: #17a2b8 !important; /* Подсветка ссылок при наведении вашим фирменным цветом */
}

/* ============================================
   GLOBAL & VARIABLES
   ============================================ */
:root {
    --primary-dark: #0a0f1c;
    --primary-darker: #0b1525;
    --navbar-bg: rgba(17, 24, 39, 0.98);
    --accent-blue: #0d6efd;
    --accent-blue-hover: #0b5ed7;
    --text-white: #ffffff;
    --text-muted: #adb5bd;
    --spacer-sm: 1rem;
    --spacer-md: 2rem;
    --spacer-lg: 4rem;
    --border-radius-card: 1rem;
    --transition-default: all 0.25s ease-in-out;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    background-color: #ffffff;
    color: #212529;
    scroll-padding-top: 80px;
    overflow-x: hidden;
}

html {
    scroll-behavior: smooth;
}

/* ============================================
   TYPOGRAPHY & UTILITIES
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    letter-spacing: -0.02em;
}

.display-3 {
    font-size: calc(1.5rem + 2vw);
}
.display-4 {
    font-size: calc(1.3rem + 1.8vw);
}

.divider-blue {
    width: 70px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 3px;
    margin: 0.5rem auto;
}

.text-info {
    color: #94c74a  !important /*#94c74a*/ 
}

.btn-massive {
    font-weight: 600;
    border-radius: 50px;
    transition: var(--transition-default);
}

.btn-danger {
    background-color: #dc3545;
    border-color: #dc3545;
    transition: var(--transition-default);
}
.btn-danger:hover {
    background-color: #bb2d3b;
    border-color: #b02a37;
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(220, 53, 69, 0.3);
}

.btn-info {
    background-color: var(--accent-blue);
    border-color: var(--accent-blue);
}
.btn-info:hover {
    background-color: var(--accent-blue-hover);
    transform: translateY(-2px);
}

/* ============================================
   FIXED NAVBAR (Bootstrap 5)
   ============================================ */
.navbar.fixed-top {
    background: var(--navbar-bg) !important;
    backdrop-filter: blur(12px);
    box-shadow: 0 2px 12px rgba(0,0,0,0.2);
    padding: 0.75rem 0;
    transition: var(--transition-default);
}

.navbar-brand img {
    height: 42px;
    transition: 0.2s;
}

.navbar-nav .nav-link {
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1.2rem !important;
    color: rgba(255,255,255,0.85);
    transition: var(--transition-default);
    border-radius: 40px;
}
.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
    color: #ffffff;
    background-color: rgba(255,255,255,0.1);
}

/* Language switcher */
.language-switcher {
    display: inline-flex;
    background: rgba(255,255,255,0.1);
    border-radius: 40px;
    padding: 0.2rem;
    gap: 0.2rem;
}
.lang-btn {
    padding: 0.3rem 0.9rem;
    border-radius: 32px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: 0.2s;
}
.lang-btn.active {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 2px 8px rgba(13,110,253,0.3);
}
.lang-btn:not(.active):hover {
    background: rgba(255,255,255,0.2);
    color: white;
}

/* ============================================
   HERO SECTION (3pl-kyiv)
   ============================================ */
.section-3pl {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0f1c 0%, #0b1525 100%);
    overflow: hidden;
    padding: 100px 0 80px;
}
.section-3pl .container {
    position: relative;
    z-index: 3;
}
.section-3pl .display-title {
    font-size: calc(2rem + 2vw);
    line-height: 1.2;
}
.lead-text {
    font-size: 1.25rem;
}
.custom-check-list li {
    margin-bottom: 0.75rem;
    font-size: 1.1rem;
    list-style: none;
}
.custom-check-list i {
    width: 1.6rem;
}
.hero-image {
    position: relative;
}
.hero-img-upscale {
    border-radius: 20px;
    object-fit: cover;
    width: 100%;
    box-shadow: 0 20px 35px -10px rgba(0,0,0,0.4);
}
.image-overlay-card {
    position: absolute;
    bottom: -20px;
    left: 20px;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    padding: 1rem 1.5rem;
    border-radius: 20px;
    border-left: 4px solid var(--accent-blue);
}
@media (max-width: 992px) {
    .section-3pl {
        min-height: auto;
        padding: 120px 0 60px;
    }
    .image-overlay-card {
        bottom: -15px;
        left: 15px;
        padding: 0.5rem 1rem;
    }
    .image-overlay-card .h2 {
        font-size: 1.4rem;
    }
}

/* ============================================
   WHY BDU & STATS
   ============================================ */
.section-why {
    padding: 5rem 0;
}
.stat-item {
    padding: 1rem;
}
.border-left-md {
    border-left: 1px solid #dee2e6;
}
.tracking-wider {
    letter-spacing: 1px;
}
@media (max-width: 768px) {
    .border-left-md {
        border-left: 0;
    }
}

/* ============================================
   INFRASTRUCTURE (services)
   ============================================ */
#services {
    padding: 4rem 0;
}
.icon-box {
    width: 70px;
    text-align: center;
}
.border-left-info-massive {
    border-left: 4px solid var(--accent-blue);
}
.tech-box ul li {
    margin-bottom: 0.75rem;
}
@media (max-width: 768px) {
    .item-row {
        flex-direction: column;
        text-align: center;
    }
    .icon-box {
        margin-bottom: 0.75rem;
    }
}

/* ============================================
   SERVICE CARDS (how-it-works)
   ============================================ */
.service-card-lg {
    background: #1e2a3a;
    border-radius: 24px;
    transition: var(--transition-default);
    height: 100%;
}
.service-card-lg:hover {
    transform: translateY(-8px);
    background: #24323f;
    box-shadow: 0 20px 30px -12px rgba(0,0,0,0.3);
}
.service-card-lg ul li {
    font-size: 1rem;
}

/* ============================================
   BUSINESS BENEFITS
   ============================================ */
.benefit-item {
    padding: 1rem 0;
}
.benefit-icon i {
    transition: 0.2s;
}
.benefit-item:hover .benefit-icon i {
    transform: scale(1.05);
}

/* ============================================
   FINAL CALC SECTION (form)
   ============================================ */
#final-calc {
    position: relative;
    background: linear-gradient(120deg, #0b1120, #131e2f);
}
.blue-glow {
    position: absolute;
    width: 60%;
    height: 60%;
    background: radial-gradient(circle, rgba(13,110,253,0.15) 0%, rgba(0,0,0,0) 70%);
    top: -20%;
    right: -10%;
    pointer-events: none;
}
.result-box {
    background-color: rgba(255,255,255,0.05) !important;
    backdrop-filter: blur(4px);
}
.card {
    border-radius: 1.2rem;
    border: none;
}
#final-calc .btn-danger {
    width: 100%;
}

/* ============================================
   LOGOS SECTION
   ============================================ */
.client-logo {
    max-width: 130px;
    max-height: 70px;
    object-fit: contain;
    filter: grayscale(0%);
    transition: 0.2s;
    opacity: 0.7;
}
.client-logo:hover {
    opacity: 1;
    transform: scale(1.02);
}
@media (max-width: 576px) {
    .client-logo {
        max-width: 100px;
        max-height: 55px;
    }
}

/* ============================================
   CASES CAROUSEL (custom design)
   ============================================ */
#casesCarousel {
    border-radius: 28px;
    overflow: hidden;
}
.case-wrapper {
    background: #fff;
}
.carousel-item .row {
    min-height: 480px;
}
/* custom indicators (numbered) */
.custom-indicators {
    position: relative;
    bottom: auto;
    margin-top: 1rem;
    margin-bottom: 0;
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    list-style: none;
}
.custom-indicators li {
    width: 36px;
    height: 36px;
    background: #e9ecef;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #495057;
    cursor: pointer;
    transition: 0.2s;
    text-indent: 0;
    margin: 0;
}
.custom-indicators li.active {
    background: var(--accent-blue);
    color: white;
    box-shadow: 0 4px 8px rgba(13,110,253,0.3);
}
/* Убираем стандартные индикаторы Bootstrap */
.carousel-indicators [data-bs-target] {
    display: none;
}
/* Стрелки карусели */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    background-color: #212529;
    border-radius: 50%;
    padding: 1rem;
    background-size: 50%;
}
.case-quote {
    font-style: italic;
    border-left: 3px solid var(--accent-blue);
}
.custom-list li i {
    width: 1.6rem;
}
/* Адаптив карусели */
@media (max-width: 992px) {
    .carousel-item .row {
        min-height: auto;
    }
    .case-wrapper {
        text-align: center;
    }
    .case-wrapper .col-md-6 {
        margin-bottom: 1.5rem;
    }
    .doc-paper {
        max-width: 260px;
        margin: 0 auto;
    }
}
@media (max-width: 576px) {
    .case-wrapper h2 {
        font-size: 1.4rem !important;
    }
    .case-wrapper p {
        font-size: 0.95rem !important;
    }
}

/* ============================================
   DELEGATE LOGISTICS (CTA BLOCK)
   ============================================ */
#delegate-logistics {
    background: linear-gradient(135deg, #0b1120, #0d1a2b);
}
.action-block {
    margin-top: 2.5rem;
}
.btn-wrapper {
    margin-bottom: 2rem;
}
.cta-benefits {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}
.cta-benefit {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(4px);
    padding: 0.6rem 1.3rem;
    border-radius: 60px;
    font-size: 1rem;
    font-weight: 500;
}
.cta-benefit i {
    font-size: 1.2rem;
    color: var(--accent-blue);
}
@media (max-width: 576px) {
    .cta-benefits {
        gap: 0.8rem;
    }
    .cta-benefit {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer hr {
    opacity: 0.3;
}
footer a {
    transition: 0.2s;
}
footer a:hover {
    color: var(--accent-blue) !important;
}

/* ============================================
   MODAL (Bootstrap 5)
   ============================================ */
.modal-content {
    border-radius: 1.5rem;
    border: none;
}
.modal-header {
    border: none;
    padding: 1.5rem 1.5rem 0;
}
.modal-body {
    padding: 1rem 1.5rem 2rem;
}
.modal .btn-danger {
    padding: 0.6rem;
    font-weight: 600;
}

/* ============================================
   RESPONSIVE OVERRIDES
   ============================================ */
@media (max-width: 768px) {
    body {
        scroll-padding-top: 70px;
    }
    .navbar-brand img {
        height: 36px;
    }
    .navbar-nav .nav-link {
        padding: 0.6rem 1rem !important;
    }
    .display-3 {
        font-size: calc(1.4rem + 2.5vw);
    }
    .display-4 {
        font-size: calc(1.3rem + 2vw);
    }
    .lead-text {
        font-size: 1rem;
    }
    .custom-check-list li {
        font-size: 0.75rem;
    }
    .py-100 {
        padding-top: 3rem !important;
        padding-bottom: 3rem !important;
    }
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
    .btn-massive {
        font-size: 0.9rem;
        padding: 0.7rem 1.2rem;
    }
    .service-card-lg {
        padding: 2rem 1.5rem !important;
    }
    .benefit-item {
        text-align: center;
    }
    .section-stats .border-left-md {
        border-left: 0;
        border-top: 1px solid #dee2e6;
        padding-top: 1.5rem;
        margin-top: 1rem;
    }
    .language-switcher {
        margin: 0 auto 0.5rem;
    }
    footer .col-md-6 {
        text-align: center !important;
    }
    footer ul {
        justify-content: center;
        margin-top: 0.5rem;
    }
}

/* Допоміжні класи для відступів */
.py-100 {
    padding-top: 5rem;
    padding-bottom: 5rem;
}
@media (max-width: 768px) {
    .py-100 {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }
}
.opacity-75 {
    opacity: 0.75;
}
.z-index-1 {
    position: relative;
    z-index: 2;
}
.rounded-lg {
    border-radius: 1.25rem;
}
/* Жесткий сброс для футера */
footer.footer-1.footer-dark-custom, 
section.footer-1.footer-dark-custom,
#footer-main {
    background-color: #0b0f19 !important; /* Глубокий черный */
    background: #0b0f19 !important;      /* На всякий случай дублируем */
}

/* Красим заголовки и текст внутри */
.footer-dark-custom h2, 
.footer-dark-custom h3,
.footer-dark-custom .text-light {
    color: #ffffff !important;
}

.footer-dark-custom .text-white-50 {
    color: rgba(255, 255, 255, 0.5) !important;
}

/* Ссылки в футере */
.footer-dark-custom .footer-links li a {
    color: rgba(255, 255, 255, 0.7) !important;
    transition: 0.3s;
}

.footer-dark-custom .footer-links li a:hover {
    color: #0d6efd !important;
}