body {
    margin: 0;
    font-family: sans-serif;
}

.tab-bar {
    display: flex;
    justify-content: space-around;
    position: fixed;
    bottom: 0;
    width: 100%;
    background: white;
    border-top: 1px solid #ccc;
}

.tab-bar button {
    flex: 1;
    padding: 10px;
    border: none;
    background: none;
    font-size: 16px;
}

/* Секции */
.tab-content {
    display: none;
    padding-bottom: 60px; /* чтобы таб бар не перекрывал */
}

.tab-content.active {
    display: block;
}

/* КЛЮЧЕВОЕ ДЛЯ КАРТИНОК */
.tab-content img {
    width: 100%;      /* растягивается под экран */
    height: auto;     /* сохраняет пропорции */
    display: block;
}

section p {
    font-size: 15px;
    line-height: 1.6;
    color: #333;
}

/* Иконки */
section img {
    transition: transform 0.2s ease;
}

section img:hover {
    transform: scale(1.1);
}

.navbar {
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.logos-wrapper {
    overflow: hidden;
    width: 100%;
}

.logos-track {
    display: flex;
    width: max-content;
    animation: scroll 20s linear infinite;
}

/* ЛОГОТИПЫ — ОДИНАКОВЫЕ */
.logos-track img {
    height: 60px;
    width: auto;
    object-fit: contain;

    margin: 0 40px;
    flex-shrink: 0;
}

/* 🔥 ГЛАВНОЕ — правильная анимация */
@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 768px) {
    .logos-track img {
        height: 40px;
        margin: 0 20px;
    }
}

.logos-wrapper:hover .logos-track {
    animation-play-state: paused;
}

.logos-wrapper {
    position: relative;
}

.logos-wrapper::before,
.logos-wrapper::after {
    content: "";
    position: absolute;
    top: 0;
    width: 100px;
    height: 100%;
    z-index: 2;
}

.logos-wrapper::before {
    left: 0;
    background: linear-gradient(to right, white, transparent);
}

.logos-wrapper::after {
    right: 0;
    background: linear-gradient(to left, white, transparent);
}

@media (max-width: 768px) {
    .navbar .nav-link {
        font-size: 12px;
    }

    .navbar img {
        height: 30px !important;
    }

    .navbar .d-flex {
        gap: 10px !important;
    }
}