@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scrollBrands {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

.animate-fadeIn {
    animation: fadeIn 1.5s ease-out forwards;
    will-change: opacity;
}

.animate-fadeInUp {
    opacity: 0;
    animation: fadeInUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

.animate-slideInRight {
    opacity: 0;
    animation: slideInRight 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    will-change: transform, opacity;
}

#sliderTrack {
    will-change: transform;
}

.brand-marquee {
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.brand-track {
    animation: scrollBrands 30s linear infinite;
    will-change: transform;
}

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

.brand-slide-card {
    flex-shrink: 0;
}

.brand-slide-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 0 rgba(0, 0, 0, 0.1);
}

.text-industrial-black {
    color: #1a1a1a;
}

.border-industrial-gray {
    border-color: #e5e7eb;
}

.font-product-title {
    font-family: 'Oswald', 'Inter', sans-serif;
}

.skew-button {
    position: relative;
    overflow: hidden;
}

.skew-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
    transform: skewX(-20deg);
    transition: 0.5s;
}

.skew-button:hover::after {
    left: 100%;
}

.cat-card-industrial {
    position: relative;
    background: white;
    border: 2px solid #e5e7eb;
    padding: 2rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
    min-height: 200px;
}

.cat-card-industrial::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 4px;
    background: var(--primary);
    transition: 0.3s;
}

.cat-card-industrial:hover {
    border-color: #1a1a1a;
    transform: translateY(-5px);
    box-shadow: 10px 10px 0 rgba(0, 0, 0, 0.1);
}

.cat-card-industrial:hover::before {
    width: 100%;
}

.cat-card-industrial .icon-wrapper {
    font-size: 2.5rem;
    color: #d1d5db;
    margin-bottom: 1.5rem;
    transition: 0.3s;
}

.cat-card-industrial:hover .icon-wrapper {
    color: var(--primary);
}

.cat-card-industrial h3 {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    color: #1a1a1a;
    margin-bottom: 0.5rem;
}

.cat-card-industrial .count-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #9ca3af;
    background: #f3f4f6;
    padding: 4px 8px;
    width: fit-content;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.tech-item {
    background: #1a1a1a;
    color: white;
    padding: 2.5rem;
    border-left: 4px solid var(--primary);
    position: relative;
    overflow: hidden;
}

.tech-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
}

.tech-item h3 {
    font-size: 1.25rem;
    font-weight: 900;
    text-transform: uppercase;
    margin-bottom: 1rem;
    letter-spacing: 0.05em;
}

.tech-item p {
    color: #9ca3af;
    font-size: 0.9rem;
    line-height: 1.6;
}

.tech-item::after {
    content: '';
    position: absolute;
    right: -20px;
    bottom: -20px;
    width: 100px;
    height: 100px;
    background-image: radial-gradient(#333 1px, transparent 1px);
    background-size: 10px 10px;
    opacity: 0.3;
}

.about-feature-box {
    border: 2px solid #e5e7eb;
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: 0.3s;
}

.about-feature-box:hover {
    border-color: var(--primary);
    background: white;
}

.stat-box-industrial {
    background: white;
    border: 4px solid #1a1a1a;
    padding: 2rem;
    text-align: center;
    position: relative;
}

.stat-box-industrial::after {
    content: '';
    position: absolute;
    top: 4px;
    left: 4px;
    right: 4px;
    bottom: 4px;
    border: 1px dashed #e5e7eb;
    pointer-events: none;
}

.category-card-new {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    gap: 15px;
}

.category-card-new:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(102, 126, 234, 0.25);
}

.category-card-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.category-card-icon i {
    font-size: 24px;
    color: white;
}

.category-card-content {
    flex: 1;
}

.category-card-content h3 {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 5px;
}

.category-product-count {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.category-card-arrow {
    color: #ccc;
    font-size: 14px;
    transition: all 0.3s;
}

.category-card-new:hover .category-card-arrow {
    color: var(--primary);
    transform: translateX(3px);
}

.category-sliders-section {
    padding: 40px 0;
    background: #f8f9fa;
}

.category-slider-block {
    margin-bottom: 50px;
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.category-slider-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
    flex-wrap: wrap;
    gap: 15px;
}

.category-slider-title {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-slider-title h3 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0;
}

.category-slider-title .cat-icon {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 18px;
}

.category-slider-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s;
}

.category-slider-link:hover {
    gap: 10px;
}

.category-slider-container {
    position: relative;
    overflow: hidden;
}

.category-slider-track {
    display: flex;
    gap: 20px;
    overflow-x: auto;
    scroll-behavior: smooth;
    padding: 10px 5px;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.category-slider-track::-webkit-scrollbar {
    display: none;
}

.category-slider-track .product-card {
    flex: 0 0 260px;
    margin: 0;
}

.slider-nav-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: white;
    border: 2px solid #eee;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #333;
    transition: all 0.3s;
    z-index: 10;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.slider-nav-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
}

.slider-nav-btn.prev {
    left: -10px;
}

.slider-nav-btn.next {
    right: -10px;
}

.categories {
    background: #f8f9fa !important;
}

.category-sliders-section {
    background: #ffffff !important;
}

.solutions {
    background: #f1f3f5 !important;
}

.products {
    background: #ffffff !important;
}

.about {
    background: #e9ecef !important;
}

.stat-card:hover {
    transform: translateY(-5px);
}

@media (max-width: 768px) {
    .category-slider-header {
        align-items: flex-start;
    }

    .category-slider-title {
        max-width: 70%;
    }

    .category-slider-link {
        margin-left: auto;
        font-size: 12px;
        white-space: nowrap;
        align-self: center;
    }

    .category-card-new {
        padding: 15px;
    }

    .category-card-icon {
        width: 50px;
        height: 50px;
    }

    .category-card-icon i {
        font-size: 20px;
    }

    .category-card-content h3 {
        font-size: 14px;
    }

    .category-slider-block {
        padding: 20px 15px;
        border-radius: 12px;
        margin: 0 -15px 30px;
    }

    .category-slider-title h3 {
        font-size: 16px;
    }

    .category-slider-track .product-card {
        flex: 0 0 200px;
    }

    .slider-nav-btn {
        display: none;
    }

    .about-stats {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
    }

    .stat-card {
        padding: 15px !important;
    }

    .stat-card div:first-child {
        font-size: 28px !important;
    }

    .stat-card div:last-child {
        font-size: 13px !important;
    }
}
