.logos-section {
    padding: 60px 0;
    background: #f8f9fa;
    overflow: hidden;
}

.logos-section h2 {
    text-align: center;
    margin-bottom: 40px;
    color: #1c4180;
    font-size: 32px;
    font-weight: 600;
}

.carousel-container {
    width: 100%;
    overflow: hidden;
    position: relative;
}

.logos-track {
    display: flex;
    width: max-content;
    animation: slide 30s linear infinite;
}

/*.logos-track {
    animation-play-state: paused;
}*/

.logo-item {
    flex: 0 0 auto;
    padding: 0 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 150px;
    height: 70px;
}

.logo-item img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.logo-item img:hover {
    filter: grayscale(0%);
    opacity: 1;
    transform: scale(1.05);
}

@keyframes slide {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

@media (max-width: 1200px) {
    .logo-item {
        padding: 0 25px;
        min-width: 130px;
        height: 70px;
    }
}

@media (max-width: 768px) {
    .logos-section {
        padding: 40px 0;
    }
    
    .logos-section h2 {
        font-size: 28px;
        margin-bottom: 30px;
    }
    
    .logo-item {
        padding: 0 20px;
        min-width: 110px;
        height: 60px;
    }
    
    .logos-track {
        animation: slide 20s linear infinite;
    }
}

@media (max-width: 480px) {
    .logo-item {
        padding: 0 15px;
        min-width: 90px;
        height: 50px;
    }
    
    .logos-section h2 {
        font-size: 24px;
    }
    
    .logos-track {
        animation: slide 15s linear infinite;
    }
}

        /* Базовые стили */
        :root {
            --primary-color: #1c4180;
            --secondary-color: #4caf50;
            --accent-color: #ffc107;
            --dark-color: #1c4180;
            --light-color: #d1d1d1;
            --text-color: #212121;
            --text-light: #757575;
        }
        
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }
        
        body {
            color: var(--text-color);
            line-height: 1.6;
            font-family: 'Roboto', Arial, sans-serif;
        }
        
        .container {
            width: 100%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 15px;
        }
        
        /* Шапка */
        header {
            background-color: white;
            box-shadow: 0 10px 10px rgba(0,0,0,0.1);
            position: sticky;
            top: 0;
            z-index: 1000;
        }
        
        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 15px 40px 15px 40px;
        }
        
        .logo {
            display: flex;
            padding: 0;
            align-items: center;
            background: no-repeat url("/i/new-gal/logo.png");
            width: 197px;
            height: 57px;
            float: left;
            text-indent: -9999px;
            overflow: hidden;
        }
        
        .logo img {
            height: 50px;
        }
        
        .logo-text {
            margin-left: 10px;
            font-size: 20px;
            font-weight: 700;
            color: var(--primary-color);
        }
        
        nav ul {
            display: flex;
            list-style: none;
        }
        
        nav ul li {
            margin-left: 20px;
        }
        
        nav ul li a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s;
        }
        
        nav ul li a:hover {
            color: var(--primary-color);
        }
        
        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
        }
        
        /* Герой секция */
        .hero {
            background: linear-gradient(rgba(0,0,0,0.6), rgba(0,0,0,0.6)), url('/i/new-gal/galhim.gif');
            background-size: cover;
            background-position: center;
            color: white;
            padding: 100px 0;
            text-align: center;
        }
        
        .hero h1 {
            font-size: 2.5rem;
            margin-bottom: 20px;
        }
        
        .hero p {
            font-size: 1.2rem;
            max-width: 700px;
            margin: 0 auto 30px;
        }
        
        .btn {
            display: inline-block;
            background-color: var(--accent-color);
            color: var(--text-color);
            padding: 12px 30px;
            border-radius: 30px;
            text-decoration: none;
            font-weight: 700;
            transition: all 0.3s;
        }
        
        .btn:hover {
            background-color: var(--primary-color);
            color: white;
        }
        
        /* О компании */
        .about {
            padding: 80px 0;
        }
        
        .section-title {
            text-align: center;
            margin-bottom: 50px;
            color: var(--primary-color);
            position: relative;
        }
        
        .section-title:after {
            content: '';
            display: block;
            width: 80px;
            height: 3px;
            background-color: var(--accent-color);
            margin: 15px auto;
        }
        
        .about-content {
            display: flex;
            align-items: center;
            gap: 40px;
        }
        
        .about-text {
            flex: 1;
        }
        
        .about-image {
            flex: 1;
            border-radius: 10px;
            overflow: hidden;
        }
        
        .about-image img {
            width: 100%;
            height: auto;
            display: block;
        }
        
        /* Продукция/Услуги */
        .products {
            background-color: var(--light-color);
            padding: 80px 0;
            height: 60vh;
        }
        
        .product-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 30px;
        }
        
        .product-card {
            background-color: white;
            border-radius: 10px;
            overflow: hidden;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            transition: transform 0.3s;
        }
        
        .product-card:hover {
            transform: translateY(-10px);
        }
        
        .product-image {
            height: 200px;
            overflow: hidden;
        }
        
        .product-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.5s;
        }
        
        .product-card:hover .product-image img {
            transform: scale(1.1);
        }
        
        .product-info {
            padding: 20px;
        }
        
        .product-info h3 {
            color: var(--primary-color);
            margin-bottom: 10px;
        }
        
        /* Преимущества */
        .advantages {
            padding: 80px 0;
        }
        
        .advantages-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }
        
        .advantage-item {
            text-align: center;
            padding: 30px 20px;
        }
        
        .advantage-icon {
            font-size: 40px;
            color: var(--primary-color);
            margin-bottom: 20px;
        }
        
        /* Контакты */
        .contacts {
            background-color: var(--light-color);
            padding: 80px 0;
        }
        
        .contact-container {
            display: flex;
            gap: 40px;
        }
        
        .contact-info, .contact-form {
            flex: 1;
        }
        
        .contact-info h3 {
            margin-bottom: 20px;
            color: var(--primary-color);
        }
        
        .contact-details {
            margin-bottom: 30px;
        }
        
        .contact-details p {
            margin-bottom: 10px;
            display: flex;
            align-items: center;
        }
        
        .contact-details i {
            margin-right: 10px;
            color: var(--primary-color);
        }
        
        .form-group {
            margin-bottom: 20px;
        }
        
        .form-group label {
            display: block;
            margin-bottom: 5px;
            font-weight: 500;
        }
        
        .form-group input, .form-group textarea {
            width: 100%;
            padding: 12px;
            border: 1px solid #ddd;
            border-radius: 5px;
        }
        
        .form-group textarea {
            min-height: 150px;
        }
        
        /* Футер */
        footer {
            background-color: var(--dark-color);
            color: white;
            padding: 50px 0 20px;
        }
        
        .footer-container {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
            margin-bottom: 30px;
        }
        
        .footer-logo {
            margin-bottom: 20px;
            font-size: 24px;
            font-weight: 700;
        }
        
        .footer-links h4 {
            margin-bottom: 20px;
            position: relative;
        }
        
        .footer-links h4:after {
            content: '';
            display: block;
            width: 40px;
            height: 2px;
            background-color: var(--accent-color);
            margin-top: 10px;
        }
        
        .footer-links ul {
            list-style: none;
        }
        
        .footer-links ul li {
            margin-bottom: 10px;
        }
        
        .footer-links ul li a {
            color: #ccc;
            text-decoration: none;
            transition: color 0.3s;
        }
        
        .footer-links ul li a:hover {
            color: white;
        }
        
        .copyright {
            text-align: center;
            padding-top: 20px;
            border-top: 1px solid rgba(255,255,255,0.1);
        }
        
        /* Адаптивность */
        @media (max-width: 992px) {
            .about-content, .contact-container {
                flex-direction: column;
            }
            
            nav ul {
                display: none;
            }
            
            .mobile-menu-btn {
                display: block;
            }
            
            .mobile-nav {
                position: fixed;
                top: 0;
                right: -300px;
                width: 300px;
                height: 100vh;
                background-color: white;
                z-index: 1001;
                padding: 50px 20px;
                transition: right 0.3s;
                box-shadow: -5px 0 15px rgba(0,0,0,0.1);
            }
            
            .mobile-nav.active {
                right: 0;
                overflow: overlay;
                box-shadow: -155px -5px 25px 795px rgba(0, 0, 0, 0.39);
            }
            
            .mobile-nav ul {
                list-style: none;
            }
            
            .mobile-nav ul li {
                margin-bottom: 15px;
            }
            
            .mobile-nav ul li a {
                text-decoration: none;
                color: var(--text-color);
                font-weight: 500;
                font-size: 18px;
            }
            
            .close-menu {
                /*display: none;*/
                position: absolute;
                top: 20px;
                right: 20px;
                background: none;
                border: none;
                font-size: 45px;
                cursor: pointer;
            }
            
            .product-grid {
                grid-template-columns: 1fr;
            }
        }
        /* Навигация для десктопов */
        /*.desktop-nav ul {
            display: flex;
            list-style: none;
        }*/
        
        .desktop-nav ul li {
            margin-left: 20px;
        }
        
        .desktop-nav ul li a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            transition: color 0.3s;
            padding: 10px 0;
            position: relative;
        }
        
        .desktop-nav ul li a:hover {
            color: var(--primary-color);
        }
        
        .desktop-nav ul li a:after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s;
        }
        
        .desktop-nav ul li a:hover:after {
            width: 100%;
        }
        
        /* Кнопка мобильного меню */
        /*.mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--primary-color);
        }*/
        
        /* Мобильное меню */
        .mobile-nav {
            position: fixed;
            top: 0;
            right: -300px;
            width: 300px;
            height: 100vh;
            background-color: white;
            z-index: 1001;
            padding: 70px 20px 20px;
            transition: right 0.3s ease-in-out;
            box-shadow: -5px 0 15px rgba(0,0,0,0.1);
        }
        
        .mobile-nav.active {
            right: 0;
        }
        
        .mobile-nav ul {
            list-style: none;
        }
        
        .mobile-nav ul li {
            margin-bottom: 15px;
            border-bottom: 1px solid #eee;
            padding-bottom: 10px;
        }
        
        .mobile-nav ul li a {
            text-decoration: none;
            color: var(--text-color);
            font-weight: 500;
            font-size: 18px;
            display: block;
            padding: 10px 0;
        }
        
        .mobile-nav ul li a:hover {
            color: var(--primary-color);
        }
        
        /*.close-menu {
            position: absolute;
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--text-color);
        }*/
        
        /* Оверлей для мобильного меню */
        .overlay {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0,0,0,0.5);
            z-index: 999;
        }
        
        /*.overlay.active {
            display: block;
        }*/

        /*Новый стиль для dropbtn*/        
        /* Dropdown меню */
        .dropdown {
            position: relative;
        }
        
        .dropdown-content {
            position: absolute;
            top: 121%;
            left: -35px;
            background-color: white;
            min-width: 225px;
            width: 375px;
            box-shadow: 0 8px 16px rgba(0,0,0,0.1);
            border-radius: 4px;
            z-index: 1001;
            opacity: 0;
            visibility: hidden;
            transform: translateY(10px);
            transition: all 0.3s ease;
            padding: 10px 0 0 10px;
        }
        
        .dropdown:hover .dropdown-content {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }
        
        .dropdown-content a {
            color: var(--text-color);
            padding: 12px 20px;
            text-decoration: none;
            display: block;
            transition: all 0.3s;
            font-weight: 500;
        }
        
        .dropdown-content a:hover {
            background-color: var(--light-color);
            color: var(--primary-color);
            padding-left: 25px;
        }
        
        /* Кнопка мобильного меню */
        .mobile-menu-btn {
            /*display: none;*/
            background: none;
            border: none;
            font-size: 24px;
            cursor: pointer;
            color: var(--primary-color);
        }

        /* Mobile dropdown */
        .mobile-dropdown {
            padding-left: 15px;
            max-height: 0;
            overflow: hidden;
            transition: max-height 0.3s ease;
        }
        
        .mobile-dropdown.active {
            max-height: 500px;
        }
        
        .mobile-dropdown a {
            font-size: 16px !important;
            padding: 10px 0 !important;
            color: var(--text-light) !important;
        }
        
        .mobile-dropdown a:hover {
            color: var(--primary-color) !important;
        }
        
        .close-menu {
            /*position: absolute;*/
            top: 20px;
            right: 20px;
            background: none;
            border: none;
            font-size: 45px;
            cursor: pointer;
            color: var(--text-color);
        }


        /*GALLARY*/
        .gallery{
            float:right;
            width:702px;
            position:initial;
            z-index:3;
        }
        
        .gallery .img-holder{
            overflow:hidden;
            width:702px;
            height: 302px;
            position:relative;
            padding:0;
            margin:0;
            list-style:none;
        }
        
        .gallery .img-holder li{
            position:absolute;
            top:0;
            left:0;
            width:702px;
            height: 302px;
            z-index:0;
            display:none;
        }
        
        .gallery .img-holder li.active{
            display:block;
            z-index:1;
        }
        
        .gallery .box{
            overflow:hidden;
            width:213px;
            padding:7px 9px 4px;
            background:url(/i/bg-box.png);
            position:absolute;
            min-height:67px;
            left:0;
            top:50%;
            margin-top:-33px;
        }
        
        .gallery a,.gallery a:hover{text-decoration:none;}
        
        .gallery .box img{float:right;}
        
        .gallery .box strong{
            display:block;
            color:#fff;
            clear:both;
            padding:5px 0 0;
            text-align:right;
            font:400 14px/18px "Open Sans", Arial, Verdana, sans-serif;
        }
        
        .gallery .switcher{
            display: none;
            overflow:hidden;
            width:100%;
            padding:0;
            margin:0;
            list-style:none;
            text-align:center;
            position:absolute;
            z-index:19;
            left:0;
            bottom:9px;
        }
        
        .gallery .switcher li{
            display:inline-block;
            width:14px;
            padding:0 4px 0 0;
        }
        
        .gallery .switcher a{
            display:inline-block;
            overflow:hidden;
            text-indent:-9999px;
            width:12px;
            height:12px;
            border:2px solid #fff;
            background:#fff;
            -webkit-border-radius:50%;
            -moz-border-radius:50%;
            border-radius:50%;
            position:relative;
        }
        
        .gallery .switcher a:hover,.gallery .switcher .active a{background:#1c4180;     /*#486597*/}
/* Drop Menu and APD icons20.png | arrows.png */
.dropbtn {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
}

.dropbtn ul li {margin: 20px;}

.dropbtn ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: color 0.3s;
    padding: 10px 0;
    position: relative;
}

.dropbtn ul li a:hover {color: var(--primary-color);}

.dropbtn ul li a:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s;
}

.dropbtn ul li a:hover:after {width: 100%;}

.dropdown {
    position: relative;
    display: inline-block;
}

.dropdown-content {
    /*display: none;*/
    position: absolute;
    /*background-color: #1c4180;*/
    min-width: 258px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.5);
    z-index: 1;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.dropdown-content ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.dropdown-content li a {
    color: white;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    transition: background-color 0.3s ease;
}

/*.dropdown-content li a:hover {
    background-color: #21cdff;
    color: #fff;
}*/

.dropdown-content.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

/* Добавьте стрелку к кнопке */
.dropbtn::after {
    content: "▼";
    font-size: 0.8em;
    margin-left: 5px;
    display: inline-block;
    transition: transform 0.3s ease;
}

.dropbtn.show::after {
    transform: rotate(180deg);
}