/*
Theme Name: HITERS
Theme URI: https://hiters.ru
Author: HITERS Team
Author URI: https://hiters.ru
Description: Современная тема для производителя упаковки препаков с динамическими анимациями
Version: 1.4.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: hiters
Tags: landing-page, one-page, custom-colors, responsive-layout, flexible-header
*/

:root {
    --primary-red: #E31E24;
    --dark-red: #B71C1C;
    --black: #0a0a0a;
    --dark-bg: #141414;
    --white: #ffffff;
    --light-gray: #f8f8f8;
    --dark-gray: #1a1a1a;
    --gray: #666666;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #1a1a1a;
    background: #0a0a0a;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    max-width: 100vw;
    padding-top: 0 !important;
    font-feature-settings: 'liga' 1, 'calt' 1; /* Улучшенная типографика для Inter */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(227, 30, 36, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(227, 30, 36, 0.03) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    font-family: 'Inter', sans-serif;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }

p {
    margin-bottom: 1rem;
}

.header-inner {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    padding: 1.2rem 0;
    position: relative;
    min-height: 70px;
    background: transparent;
}

.site-logo {
    font-size: 2rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    position: absolute;
    left: 0;
    display: inline-block;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
    transition: all 0.8s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, font-size, left;
    z-index: 1001;
}

.site-header.scrolled .site-logo {
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.8rem;
}

.site-header.scrolled .site-logo:hover {
    transform: translateX(-50%);
}

/* Mobile Header Styles */
@media (max-width: 1024px) {
    html body .site-header,
    body .site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%) !important;
        backdrop-filter: none !important;
        z-index: 1000 !important;
        transform: translateZ(0) !important; /* Force GPU acceleration */
        -webkit-transform: translateZ(0) !important;
        border-bottom: 3px solid var(--primary-red) !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    }

    /* Fix for WordPress admin bar */
    body.admin-bar .site-header {
        top: 46px !important;
    }

    @media screen and (min-width: 783px) {
        body.admin-bar .site-header {
            top: 32px !important;
        }
    }

    .header-inner {
        justify-content: space-between;
        padding: 0.8rem 0;
        min-height: 70px !important;
    }

    .site-logo {
        position: relative;
        left: auto;
        transform: none;
        margin: 0 auto;
        font-size: 1.5rem;
    }

    .site-header.scrolled .site-logo {
        position: relative;
        left: auto;
        transform: none;
        font-size: 1.5rem;
    }

    /* КРИТИЧНО: Всегда фиксируем хедер на мобильных */
    html body .site-header,
    body .site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
    }

    .site-header.scrolled {
        position: fixed !important;
        top: 0 !important;
    }
}

.site-logo:hover {
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(227, 30, 36, 0.5),
        0 0 60px rgba(227, 30, 36, 0.3);
}

.site-logo span {
    color: var(--primary-red);
    display: inline-block;
    animation: colorPulse 2s ease-in-out infinite;
}

@keyframes colorPulse {
    0%, 100% {
        color: var(--primary-red);
        text-shadow: 0 0 10px rgba(227, 30, 36, 0.5);
    }
    50% {
        color: #ff6b6b;
        text-shadow: 0 0 20px rgba(255, 107, 107, 0.8);
    }
}

/* ========================================
   NAVIGATION STYLES
   ======================================== */

/* Main Desktop Navigation */
body .main-nav {
    display: none;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

@media (min-width: 1025px) {
    body .main-nav {
        display: block !important;
    }
    
    /* Hide navigation when scrolled on desktop */
    .site-header.scrolled .main-nav {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }
}

/* Mobile menu toggle - ALWAYS HIDDEN by default */
.mobile-sidebar-toggle {
    display: none !important;
}

/* Show on mobile always (override) */
@media (max-width: 1024px) {
    .mobile-sidebar-toggle {
        display: flex !important;
    }
}

/* Hide toggle on desktop */
@media (min-width: 1025px) {
    .mobile-sidebar-toggle {
        display: none !important;
    }
}

.main-nav ul {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0;
    margin: 0;
    padding: 0;
}

.main-nav li {
    position: relative;
    margin: 0;
}

.main-nav a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    color: var(--white);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

/* Animated underline effect */
.main-nav a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary-red), transparent);
    transform: translateX(-50%);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.main-nav a::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(227, 30, 36, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.main-nav a:hover {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
}

.main-nav a:hover::before {
    width: 100%;
}

.main-nav a:hover::after {
    opacity: 1;
}

/* Active menu item */
.main-nav a.active {
    color: var(--primary-red);
    background: rgba(227, 30, 36, 0.05);
}

.main-nav a.active::before {
    width: 100%;
    background: var(--primary-red);
}

/* Glowing icon effect on hover */
.main-nav a:hover {
    transform: translateY(-2px);
}

/* Mobile Menu Toggle Button - Презентабельная версия */
.mobile-sidebar-toggle {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.08), rgba(227, 30, 36, 0.03));
    border: 2px solid rgba(227, 30, 36, 0.25);
    border-radius: 10px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0;
    z-index: 1001;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.mobile-sidebar-toggle::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.2), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.mobile-sidebar-toggle:hover::before {
    width: 150%;
    height: 150%;
}

.mobile-sidebar-toggle:hover {
    border-color: var(--primary-red);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.15), rgba(227, 30, 36, 0.08));
    box-shadow: 
        0 4px 16px rgba(227, 30, 36, 0.25),
        0 0 20px rgba(227, 30, 36, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.mobile-sidebar-toggle:active {
    transform: translateY(0) scale(0.96);
    box-shadow: 0 2px 8px rgba(227, 30, 36, 0.2);
}

.mobile-sidebar-toggle span {
    display: block;
    width: 22px;
    height: 2.5px;
    background: linear-gradient(90deg, #ffffff, rgba(255, 255, 255, 0.9));
    border-radius: 3px;
    position: relative;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
}

.mobile-sidebar-toggle span:not(:last-child) {
    margin-bottom: 5px;
}

.mobile-sidebar-toggle:hover span {
    background: linear-gradient(90deg, var(--primary-red), #ff4444);
    box-shadow: 
        0 0 8px rgba(227, 30, 36, 0.6),
        0 1px 2px rgba(0, 0, 0, 0.3);
    width: 24px;
}

/* Hamburger animation to X */
.mobile-sidebar-toggle.active {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.1));
    border-color: var(--primary-red);
    box-shadow: 
        0 4px 16px rgba(227, 30, 36, 0.35),
        0 0 25px rgba(227, 30, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.mobile-sidebar-toggle.active span {
    background: linear-gradient(90deg, var(--primary-red), #ff4444);
}

.mobile-sidebar-toggle.active span:nth-child(1) {
    transform: translateY(7.5px) rotate(45deg);
    width: 24px;
}

.mobile-sidebar-toggle.active span:nth-child(2) {
    opacity: 0;
    transform: translateX(-20px) scale(0.5);
}

.mobile-sidebar-toggle.active span:nth-child(3) {
    transform: translateY(-7.5px) rotate(-45deg);
    width: 24px;
}

/* Toggle visibility handled in main nav section above */

/* ========================================
   MOBILE SIDEBAR MENU
   ======================================== */

.mobile-sidebar-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.86);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 998;
}

.mobile-sidebar-overlay.visible {
    opacity: 1;
    visibility: visible;
}

.mobile-sidebar {
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: min(360px, 85vw);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.97) 0%, rgba(5, 5, 5, 0.97) 45%, rgba(10, 10, 10, 0.94) 100%);
    border-left: 1px solid rgba(227, 30, 36, 0.25);
    box-shadow: -16px 0 40px rgba(0, 0, 0, 0.55);
    transform: translateX(100%);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.45s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.25s ease, visibility 0.25s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    color: var(--white);
}

.mobile-sidebar::before {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 0% 0%, rgba(227, 30, 36, 0.18), transparent 60%),
                radial-gradient(circle at 100% 40%, rgba(227, 30, 36, 0.08), transparent 55%);
    opacity: 0.8;
}

.mobile-sidebar.open {
    transform: translateX(0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mobile-sidebar__inner {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 0 2rem 2.5rem;
    gap: 2rem;
    overflow-y: auto;
    background: linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(10, 10, 10, 0.98) 40%, rgba(12, 12, 12, 0.95) 100%);
}

.mobile-sidebar__inner::-webkit-scrollbar {
    width: 5px;
}

.mobile-sidebar__inner::-webkit-scrollbar-thumb {
    background: rgba(227, 30, 36, 0.5);
    border-radius: 4px;
}

.mobile-sidebar__top {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1.5rem;
    position: sticky;
    top: 0;
    z-index: 2;
    margin-left: -2rem;
    margin-right: -2rem;
    padding: 2.2rem 2rem 1.25rem;
    background: rgba(0, 0, 0, 0.96);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.25);
    border-bottom: 1px solid rgba(227, 30, 36, 0.25);
}

.mobile-sidebar__brand {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.mobile-sidebar__logo {
    font-size: 1.6rem;
    font-weight: 900;
    color: var(--white);
    text-decoration: none;
    letter-spacing: 2px;
    display: inline-flex;
    gap: 0.25rem;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.mobile-sidebar__logo span {
    color: var(--primary-red);
}

.mobile-sidebar__logo:hover {
    color: var(--primary-red);
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.6);
}

.mobile-sidebar__subtitle {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    max-width: 16rem;
}

.mobile-sidebar__close {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 42px;
    height: 42px;
    border-radius: 10px;
    border: 1px solid rgba(227, 30, 36, 0.35);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2), rgba(227, 30, 36, 0.07));
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.mobile-sidebar__close span {
    position: absolute;
    width: 18px;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-red), #ff5858);
    border-radius: 2px;
    transition: transform 0.3s ease;
}

.mobile-sidebar__close span:nth-child(1) {
    transform: rotate(45deg);
}

.mobile-sidebar__close span:nth-child(2) {
    transform: rotate(-45deg);
}

.mobile-sidebar__close:hover,
.mobile-sidebar__close:focus-visible {
    border-color: var(--primary-red);
    box-shadow: 0 6px 18px rgba(227, 30, 36, 0.3);
    outline: none;
}

.mobile-sidebar__nav {
    display: block;
}

.mobile-sidebar__menu,
.mobile-sidebar__nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-sidebar__menu li,
.mobile-sidebar__nav ul li {
    opacity: 0;
    transform: translateX(24px);
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.mobile-sidebar.open .mobile-sidebar__menu li,
.mobile-sidebar.open .mobile-sidebar__nav ul li {
    opacity: 1;
    transform: translateX(0);
}

.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(1),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(1) { transition-delay: 0.05s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(2),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(2) { transition-delay: 0.1s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(3),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(3) { transition-delay: 0.15s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(4),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(4) { transition-delay: 0.2s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(5),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(5) { transition-delay: 0.25s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(6),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(6) { transition-delay: 0.3s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(7),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(7) { transition-delay: 0.35s; }
.mobile-sidebar.open .mobile-sidebar__menu li:nth-child(8),
.mobile-sidebar.open .mobile-sidebar__nav ul li:nth-child(8) { transition-delay: 0.4s; }

.mobile-sidebar__menu a,
.mobile-sidebar__nav ul a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.85rem 1rem;
    color: rgba(255, 255, 255, 0.86);
    text-decoration: none;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    background: rgba(15, 15, 15, 0.9);
    border-radius: 12px;
    border: 1px solid rgba(227, 30, 36, 0.12);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

.mobile-sidebar__menu a::before,
.mobile-sidebar__nav ul a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(180deg, var(--primary-red), rgba(227, 30, 36, 0.4));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-sidebar__menu a::after,
.mobile-sidebar__nav ul a::after {
    content: '';
    position: absolute;
    right: 1.1rem;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--primary-red);
    box-shadow: 0 0 12px rgba(227, 30, 36, 0.8);
    opacity: 0;
    transform: scale(0.6);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.mobile-sidebar__menu a:hover,
.mobile-sidebar__menu a:focus-visible,
.mobile-sidebar__nav ul a:hover,
.mobile-sidebar__nav ul a:focus-visible {
    border-color: var(--primary-red);
    color: var(--white);
    transform: translateX(6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.6), 0 10px 30px rgba(227, 30, 36, 0.25);
    outline: none;
}

.mobile-sidebar__menu a:hover::before,
.mobile-sidebar__menu a:focus-visible::before,
.mobile-sidebar__menu a.active::before,
.mobile-sidebar__nav ul a:hover::before,
.mobile-sidebar__nav ul a:focus-visible::before,
.mobile-sidebar__nav ul a.active::before {
    opacity: 1;
}

.mobile-sidebar__menu a:hover::after,
.mobile-sidebar__menu a:focus-visible::after,
.mobile-sidebar__menu a.active::after,
.mobile-sidebar__nav ul a:hover::after,
.mobile-sidebar__nav ul a:focus-visible::after,
.mobile-sidebar__nav ul a.active::after {
    opacity: 1;
    transform: scale(1);
}

.mobile-sidebar__menu a.active,
.mobile-sidebar__nav ul a.active {
    border-color: rgba(227, 30, 36, 0.5);
    color: var(--primary-red);
}

.mobile-sidebar__footer {
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.mobile-sidebar__contact {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
    padding: 0.8rem 1rem;
    border-radius: 12px;
    border: 1px solid rgba(227, 30, 36, 0.2);
    background: rgba(227, 30, 36, 0.08);
    text-decoration: none;
    color: rgba(255, 255, 255, 0.88);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.mobile-sidebar__contact:hover,
.mobile-sidebar__contact:focus-visible {
    transform: translateY(-2px);
    border-color: var(--primary-red);
    box-shadow: 0 8px 22px rgba(227, 30, 36, 0.2);
    outline: none;
}

.mobile-sidebar__contact-label {
    font-size: 0.75rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.6);
}

.mobile-sidebar__contact-value {
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.mobile-sidebar__contact--address {
    cursor: default;
    background: rgba(227, 30, 36, 0.05);
}

.mobile-sidebar__contact--address:hover,
.mobile-sidebar__contact--address:focus-visible {
    transform: none;
    box-shadow: none;
    border-color: rgba(227, 30, 36, 0.2);
}

.mobile-sidebar__cta {
    margin-top: 0.5rem;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1rem 1.5rem;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--primary-red), #ff5555);
    color: var(--white);
    text-decoration: none;
    font-weight: 600;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    box-shadow: 0 12px 35px rgba(227, 30, 36, 0.35);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mobile-sidebar__cta:hover,
.mobile-sidebar__cta:focus-visible {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(227, 30, 36, 0.45);
    outline: none;
}

@media (max-width: 1024px) {
    body .main-nav {
        display: none !important;
    }

    .mobile-sidebar-toggle {
        margin-right: auto;
    }

    .mobile-sidebar {
        display: flex;
    }

    .mobile-sidebar-overlay {
        display: block;
    }
}

@media (max-width: 600px) {
    .mobile-sidebar {
        width: min(320px, 88vw);
    }

    .mobile-sidebar__inner {
        padding: 0 1.5rem 2.2rem;
        gap: 1.8rem;
    }

    .mobile-sidebar__top {
        margin-left: -1.5rem;
        margin-right: -1.5rem;
        padding: 2rem 1.5rem 1.1rem;
    }

    .mobile-sidebar__cta {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
}

@media (min-width: 1025px) {
    .mobile-sidebar,
    .mobile-sidebar-overlay {
        display: none !important;
    }
}

/* Mobile menu overlay effect */
@media (max-width: 1024px) {
    body.menu-open {
        overflow: hidden;
        touch-action: none;
    }
}

/* ========================================
   DESKTOP DROPDOWN MENU (when scrolled)
   ======================================== */

@media (min-width: 1025px) {
    /* When scrolled, make nav dropdown style */
    .site-header.scrolled .main-nav {
        display: block !important;
        position: fixed;
        top: 60px;
        right: 0;
        width: 280px;
        background: linear-gradient(180deg, rgba(10, 10, 10, 0.98) 0%, rgba(20, 20, 20, 0.98) 100%);
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        max-height: 0;
        overflow: hidden;
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease,
                    visibility 0.3s ease;
        box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
        border: 1px solid rgba(227, 30, 36, 0.3);
        border-radius: 0 0 12px 12px;
        z-index: 999;
    }
    
    .site-header.scrolled .main-nav.active {
        max-height: 400px;
        opacity: 1;
        visibility: visible;
        pointer-events: all;
    }
    
    .site-header.scrolled .main-nav ul {
        flex-direction: column;
        gap: 0;
        padding: 0.5rem 0;
    }
    
    .site-header.scrolled .main-nav li {
        width: 100%;
    }
    
    .site-header.scrolled .main-nav a {
        padding: 0.9rem 1.5rem;
        border-left: 3px solid transparent;
        justify-content: flex-start;
    }
    
    .site-header.scrolled .main-nav a:hover,
    .site-header.scrolled .main-nav a.active {
        border-left-color: var(--primary-red);
        background: linear-gradient(90deg, rgba(227, 30, 36, 0.15) 0%, transparent 100%);
    }
    
    .site-header.scrolled .main-nav a::before {
        display: none;
    }
}

/* Main content offset for fixed header */
#main-content {
    padding-top: 70px;
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a1a1a 100%);
    position: relative;
    overflow: hidden;
    padding-top: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, rgba(250, 250, 250, 0.05));
    pointer-events: none;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><rect fill="%23E31E24" opacity="0.15" width="100" height="100" x="50" y="50" rx="20"/><rect fill="%23ff6b6b" opacity="0.15" width="80" height="80" x="800" y="300" rx="40"/><rect fill="%23E31E24" opacity="0.15" width="120" height="120" x="200" y="400" rx="60"/><circle fill="%23ff6b6b" opacity="0.1" cx="1000" cy="100" r="60"/><circle fill="%23E31E24" opacity="0.1" cx="300" cy="150" r="40"/></svg>');
    animation: floatComplex 25s ease-in-out infinite;
}

.hero-section::after {
    content: '';
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, transparent 70%);
    border-radius: 50%;
    top: -200px;
    right: -200px;
    animation: pulse 8s ease-in-out infinite;
}

@keyframes floatComplex {
    0%, 100% { 
        transform: translateY(0) rotate(0deg) scale(1); 
    }
    25% { 
        transform: translateY(-30px) rotate(5deg) scale(1.05); 
    }
    50% { 
        transform: translateY(-20px) rotate(-3deg) scale(1); 
    }
    75% { 
        transform: translateY(-40px) rotate(8deg) scale(1.03); 
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.3;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.15;
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    animation: fadeInUp 1s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    width: 100%;
}

@media (max-width: 768px) {
    .container {
        padding: 0 15px;
    }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 1s ease-out 0.2s both;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
    font-weight: 900;
    letter-spacing: -1px;
}

.hero-title .highlight {
    color: var(--primary-red);
    display: block;
    text-shadow: 
        0 2px 10px rgba(227, 30, 36, 0.5),
        0 4px 20px rgba(227, 30, 36, 0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease-out 0.4s both;
}

.hero-description {
    font-size: 1.2rem;
    margin-bottom: 3rem;
    max-width: 700px;
    animation: fadeInUp 1s ease-out 0.6s both;
}

.cta-button {
    display: inline-block;
    background: var(--primary-red);
    color: var(--white);
    padding: 1.2rem 3.5rem;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    border-radius: 50px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid var(--primary-red);
    animation: fadeInUp 1s ease-out 0.8s both;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 20px rgba(227, 30, 36, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: var(--white);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 50px;
    padding: 3px;
    background: linear-gradient(45deg, #ff6b6b, var(--white), var(--primary-red), #ff6b6b);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover::after {
    opacity: 1;
    animation: rotate 2s linear infinite;
}

.cta-button:hover {
    color: var(--primary-red);
    transform: translateY(-3px);
    box-shadow: 
        0 12px 30px rgba(227, 30, 36, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.3);
    border-color: var(--white);
    background: var(--white);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

/* Section Styles */
section {
    padding: 5rem 0;
    position: relative;
    overflow-x: hidden;
    width: 100%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    animation: fadeIn 1s ease-out;
}

.section-title h2 {
    font-size: 3rem;
    color: #ffffff;
    position: relative;
    display: inline-block;
    font-weight: 800;
    letter-spacing: -0.5px;
}



.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: var(--primary-red);
    border-radius: 2px;
}



.section-title p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1.5rem;
}

/* Dark section titles */
.about-section .section-title h2,
.services-section .section-title h2,
.materials-section .section-title h2,
.features-section .section-title h2 {
    color: var(--white);
}

.about-section .section-title p,
.services-section .section-title p,
.materials-section .section-title p,
.features-section .section-title p {
    color: rgba(255, 255, 255, 0.7);
}

/* Services Section */
.services-section {
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
    overflow: hidden;
}

.services-section::before {
    content: '';
    position: absolute;
    top: -200px;
    right: -200px;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.15) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatSlow 20s ease-in-out infinite;
    filter: blur(60px);
}

.services-section::after {
    content: '';
    position: absolute;
    bottom: -200px;
    left: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 107, 107, 0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: floatSlow 15s ease-in-out infinite reverse;
    filter: blur(50px);
}

@keyframes floatSlow {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-50px, 50px); }
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 1;
}

.services-grid .service-card:nth-child(1) {
    animation-delay: 0.1s;
}

.services-grid .service-card:nth-child(2) {
    animation-delay: 0.3s;
}

.services-grid .service-card:nth-child(3) {
    animation-delay: 0.5s;
}

/* About Section Styles */
.about-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 50%, #0a0a0a 100%);
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.5), transparent);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.about-text {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(227, 30, 36, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(227, 30, 36, 0.2);
}

.about-text .section-title h2 {
    color: #ffffff !important;
    text-shadow: 0 0 30px rgba(227, 30, 36, 0.6), 0 2px 10px rgba(0, 0, 0, 0.8);
}

.about-text .section-title p {
    color: rgba(255, 255, 255, 0.9) !important;
}

.about-description p {
    color: rgba(255, 255, 255, 0.95);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.about-description h3 {
    color: #ffffff;
    font-size: 1.8rem;
    margin: 2rem 0 1.5rem;
    text-shadow: 0 0 20px rgba(227, 30, 36, 0.5);
}

.about-features {
    list-style: none;
    padding: 0;
}

.about-features li {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.2rem;
    padding-left: 2rem;
    position: relative;
}

.about-features li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
    font-size: 1.2rem;
}

.about-features strong {
    color: #ffffff;
    text-shadow: 0 0 10px rgba(227, 30, 36, 0.3);
}

.about-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-card {
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.2) 0%, rgba(227, 30, 36, 0.05) 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid rgba(227, 30, 36, 0.3);
    transition: all 0.4s ease;
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.2);
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(227, 30, 36, 0.6);
    box-shadow: 0 8px 30px rgba(227, 30, 36, 0.4);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 900;
    color: #e31e24;
    text-shadow: 
        0 0 40px rgba(227, 30, 36, 0.8),
        0 0 20px rgba(227, 30, 36, 1),
        0 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #ffffff;
    font-size: 1.05rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.6);
}

.about-benefits {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.6) 0%, rgba(20, 20, 20, 0.8) 100%);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(227, 30, 36, 0.2);
}

.about-benefits h3 {
    color: #ffffff;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2.5rem;
    text-shadow: 0 2px 10px rgba(227, 30, 36, 0.3);
}

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.benefit-item {
    background: rgba(227, 30, 36, 0.08);
    padding: 2rem;
    border-radius: 15px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    background: rgba(227, 30, 36, 0.15);
    transform: translateX(10px);
    box-shadow: 0 4px 20px rgba(227, 30, 36, 0.3);
}

.benefit-item h4 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
    text-shadow: 0 0 15px rgba(227, 30, 36, 0.4);
}

.benefit-item p {
    color: rgba(255, 255, 255, 0.9);
    font-size: 1.05rem;
    line-height: 1.6;
}

@media (max-width: 768px) {
    .about-section {
        padding: 4rem 0;
    }
    
    .about-text {
        padding: 2rem;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .benefits-grid {
        grid-template-columns: 1fr;
    }
    
    .about-benefits {
        padding: 2rem;
    }
}

.service-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(227, 30, 36, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(227, 30, 36, 0.2);
    color: var(--white);
}

.service-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.3) 0%, transparent 50%);
    transform: scale(0);
    transition: transform 0.6s ease;
    filter: blur(30px);
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-red), #ff6b6b, var(--primary-red));
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 
        0 20px 60px rgba(227, 30, 36, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    border-color: rgba(227, 30, 36, 0.6);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%);
}

.service-card:hover::before {
    transform: scale(1);
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover .service-icon {
    transform: rotate(360deg) scale(1.15);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.6), rgba(255, 107, 107, 0.4));
    border-color: rgba(227, 30, 36, 0.9);
    box-shadow: 
        0 0 40px rgba(227, 30, 36, 0.6),
        0 12px 40px rgba(227, 30, 36, 0.4),
        inset 0 2px 15px rgba(255, 255, 255, 0.2);
}

.service-icon {
    font-size: 4rem;
    font-weight: 900;
    color: #ffffff;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.3), rgba(255, 107, 107, 0.2));
    border-radius: 50%;
    border: 3px solid rgba(227, 30, 36, 0.5);
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 
        0 0 20px rgba(227, 30, 36, 0.8),
        0 0 40px rgba(227, 30, 36, 0.4);
    box-shadow: 
        0 8px 30px rgba(227, 30, 36, 0.3),
        inset 0 2px 10px rgba(255, 255, 255, 0.1);
}

.service-icon img {
    width: 110px;
    height: 110px;
    object-fit: contain;
    filter: drop-shadow(0 2px 10px rgba(227, 30, 36, 0.5));
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    display: block;
    margin: 0 auto;
}

.service-card:hover .service-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 20px rgba(227, 30, 36, 0.8));
}

.service-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.service-card p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

/* Materials Section */
.materials-section {
    background: linear-gradient(135deg, #1a1a1a 0%, #0f0f0f 100%);
    position: relative;
    overflow: visible;
}

.materials-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1000px;
    height: 1000px;
    background: 
        radial-gradient(circle at 30% 50%, rgba(227, 30, 36, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 70% 50%, rgba(255, 107, 107, 0.08) 0%, transparent 50%);
    animation: pulseGlow 8s ease-in-out infinite;
    filter: blur(80px);
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.6;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

.materials-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    position: relative;
    z-index: 1;
    flex-wrap: wrap;
}

.material-card:nth-child(1) {
    animation-delay: 0.1s;
}

.material-card:nth-child(2) {
    animation-delay: 0.25s;
}

.material-card:nth-child(3) {
    animation-delay: 0.4s;
}

.material-card:nth-child(4) {
    animation-delay: 0.55s;
}

.material-card {
    text-align: center;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    width: 200px;
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 2px solid rgba(227, 30, 36, 0.3);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.5),
        0 4px 20px rgba(227, 30, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.material-card::before {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    padding: 3px;
    background: linear-gradient(45deg, var(--primary-red), #ff6b6b, var(--primary-red));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.material-card:hover {
    transform: scale(1.05) rotate(2deg);
    background: linear-gradient(135deg, var(--primary-red) 0%, #D81B21 100%);
    box-shadow: 
        0 10px 30px rgba(227, 30, 36, 0.3),
        0 5px 15px rgba(0, 0, 0, 0.15);
    border-color: rgba(227, 30, 36, 0.5);
}

.material-card:hover::before {
    opacity: 1;
    animation: rotate 3s linear infinite;
}

.material-card:hover .material-icon {
    transform: scale(1.15) rotate(-5deg);
}

.material-card:hover .material-icon img {
    filter: 
        brightness(1.5)
        drop-shadow(0 0 15px rgba(255, 255, 255, 0.6))
        drop-shadow(0 5px 20px rgba(227, 30, 36, 0.5));
    transform: scale(1.05);
}

.material-card:hover h3 {
    color: var(--white);
    transform: scale(1.05);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.material-icon {
    font-size: 5rem;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 0.5rem;
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 
        0 0 30px rgba(255, 255, 255, 0.8),
        0 0 50px rgba(227, 30, 36, 0.6);
    filter: drop-shadow(0 4px 15px rgba(227, 30, 36, 0.4));
    display: flex;
    align-items: center;
    justify-content: center;
}

.material-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: 
        brightness(1.2)
        drop-shadow(0 0 10px rgba(255, 255, 255, 0.3))
        drop-shadow(0 4px 15px rgba(227, 30, 36, 0.4));
    transition: all 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.material-card h3 {
    transition: all 0.4s ease;
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
}

/* Industries Section */
.industries-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.industries-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 300%;
    height: 100%;
    background: radial-gradient(
        ellipse at center,
        rgba(227, 30, 36, 0.15) 0%,
        transparent 50%
    );
    animation: moveGlow 10s ease-in-out infinite;
}

@keyframes moveGlow {
    0%, 100% {
        transform: translateX(0) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translateX(30%) scale(1.2);
        opacity: 0.8;
    }
}

.industries-section .section-title h2 {
    color: var(--white);
}

.industries-section .section-title p {
    color: var(--light-gray);
}

.industries-list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.industry-item {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(227, 30, 36, 0.03) 100%);
    padding: 1.5rem 1.5rem 1.5rem 2rem;
    border-radius: 15px;
    border-left: 3px solid rgba(227, 30, 36, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.industry-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, rgba(227, 30, 36, 0.08), transparent);
    transition: width 0.4s ease;
}

.industry-item:hover {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.08) 0%, rgba(227, 30, 36, 0.06) 100%);
    transform: translateX(12px);
    border-left-width: 3px;
    border-left-color: var(--primary-red);
    box-shadow: -8px 8px 24px rgba(227, 30, 36, 0.15);
}

.industry-item:hover::before {
    width: 100%;
}

.industry-item:hover h4 {
    color: #ff6b6b;
    transform: translateX(5px);
}

.industry-item h4 {
    color: var(--primary-red);
    margin-bottom: 0.5rem;
    transition: all 0.4s ease;
    font-size: 1.3rem;
}

.industry-item p {
    color: rgba(255, 255, 255, 0.85);
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 50%, #0f0f0f 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 20%, rgba(227, 30, 36, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(255, 107, 107, 0.12) 0%, transparent 40%),
        radial-gradient(circle at 50% 50%, rgba(227, 30, 36, 0.08) 0%, transparent 60%);
    animation: morphGlow 12s ease-in-out infinite;
    filter: blur(70px);
}

@keyframes morphGlow {
    0%, 100% {
        opacity: 0.7;
    }
    33% {
        opacity: 1;
        transform: scale(1.1) rotate(120deg);
    }
    66% {
        opacity: 0.8;
        transform: scale(0.9) rotate(240deg);
    }
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
}

.feature-card {
    text-align: center;
    padding: 3rem 2rem;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8) 0%, rgba(20, 20, 20, 0.9) 100%);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(227, 30, 36, 0.2);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.4),
        0 4px 16px rgba(227, 30, 36, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: rgba(227, 30, 36, 0.5);
    box-shadow: 
        0 15px 50px rgba(227, 30, 36, 0.25),
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.9) 0%, rgba(26, 26, 26, 0.95) 100%);
}

.feature-card:hover::before {
    width: 300px;
    height: 300px;
}

.feature-card:hover .feature-icon {
    transform: scale(1.15) rotateY(360deg);
    background: radial-gradient(circle, rgba(227, 30, 36, 0.5) 0%, rgba(227, 30, 36, 0.2) 100%);
    border-color: rgba(227, 30, 36, 0.8);
    box-shadow: 
        0 0 30px rgba(227, 30, 36, 0.6),
        0 8px 30px rgba(227, 30, 36, 0.4),
        inset 0 1px 8px rgba(255, 255, 255, 0.2);
}

.feature-card:hover .feature-icon img {
    transform: scale(1.1);
    filter: drop-shadow(0 4px 15px rgba(227, 30, 36, 0.7));
}

.feature-icon {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 90px;
    height: 90px;
    color: #ffffff;
    background: radial-gradient(circle, rgba(227, 30, 36, 0.3) 0%, rgba(227, 30, 36, 0.1) 100%);
    border-radius: 50%;
    border: 2px solid rgba(227, 30, 36, 0.4);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.6),
        0 0 40px rgba(227, 30, 36, 0.8);
    box-shadow: 
        0 4px 20px rgba(227, 30, 36, 0.3),
        inset 0 1px 5px rgba(255, 255, 255, 0.1);
}

.feature-icon img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(227, 30, 36, 0.4));
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.feature-card h3 {
    color: var(--white);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.feature-card p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #2a1a1a 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.contact-section-inner {
    max-width: 1000px;
    margin: 0 auto;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(227, 30, 36, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(227, 30, 36, 0.15) 0%, transparent 40%);
    animation: rotateGlow 15s ease-in-out infinite;
}

@keyframes rotateGlow {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

.contact-section .section-title h2,
.contact-section .section-title p {
    color: var(--white);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.contact-item {
    text-align: center;
    padding: 2.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.15);
    position: relative;
    overflow: hidden;
}

.contact-item::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.6s ease;
}

.contact-item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.3);
}

.contact-item:hover::before {
    width: 300px;
    height: 300px;
}

.contact-item:hover .contact-icon {
    transform: scale(1.2) rotateY(360deg);
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.5), rgba(255, 107, 107, 0.3));
    border-color: rgba(227, 30, 36, 0.8);
    box-shadow: 
        0 0 35px rgba(227, 30, 36, 0.5),
        0 10px 35px rgba(227, 30, 36, 0.3),
        inset 0 1px 8px rgba(255, 255, 255, 0.2);
}

.contact-icon {
    font-size: 4rem;
    font-weight: 900;
    margin-bottom: 1rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 85px;
    height: 85px;
    color: #ffffff;
    background: linear-gradient(135deg, rgba(227, 30, 36, 0.25), rgba(255, 107, 107, 0.15));
    border-radius: 50%;
    border: 2px solid rgba(227, 30, 36, 0.4);
    transition: all 0.8s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    text-shadow: 
        0 0 20px rgba(255, 255, 255, 0.7),
        0 0 40px rgba(227, 30, 36, 0.6);
    box-shadow: 
        0 6px 25px rgba(227, 30, 36, 0.25),
        inset 0 1px 5px rgba(255, 255, 255, 0.1);
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% {
        transform: scale(1);
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    }
    50% {
        transform: scale(1.1);
        text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    }
}

.contact-item h4 {
    margin-bottom: 0.5rem;
}

.contact-item p {
    font-size: 1.1rem;
}

.lead-form-section {
    background: linear-gradient(135deg, #0d0d0d 0%, #151515 45%, #201012 100%);
    color: var(--white);
    position: relative;
    overflow: hidden;
    padding: 5rem 0 5.5rem;
}

.lead-form-section::before {
    content: '';
    position: absolute;
    inset: -50% -30% auto;
    height: 120%;
    background:
        radial-gradient(circle at 25% 30%, rgba(227, 30, 36, 0.25) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(227, 30, 36, 0.18) 0%, transparent 55%);
    opacity: 0.65;
    animation: rotateGlow 18s ease-in-out infinite;
}

.lead-form-intro {
    max-width: 720px;
    margin: 0 auto 2.5rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.lead-form-intro h2 {
    color: var(--white);
}

.lead-form-intro p {
    color: rgba(255, 255, 255, 0.75);
}

.lead-form-wrapper {
    position: relative;
    z-index: 1;
    max-width: 780px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    padding: 0 1.5rem;
}

.contact-form-card {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    padding: 3.5rem 4rem;
    background: linear-gradient(135deg, rgba(15, 15, 15, 0.95) 0%, rgba(10, 10, 10, 0.98) 100%);
    border-radius: 24px;
    border: 2px solid rgba(227, 30, 36, 0.4);
    box-shadow: 
        0 30px 70px rgba(0, 0, 0, 0.6),
        0 10px 30px rgba(227, 30, 36, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    backdrop-filter: blur(20px);
    isolation: isolate;
}

.contact-form-card::before {
    content: '';
    position: absolute;
    inset: -40%;
    background: radial-gradient(circle at top right, rgba(227, 30, 36, 0.35) 0%, transparent 55%);
    opacity: 0.4;
    z-index: -1;
    filter: blur(10px);
    transform: rotate(8deg);
}

.contact-form-card h3 {
    color: var(--white);
    font-size: 2rem;
    margin-bottom: 0.75rem;
}

.contact-form-card p {
    color: rgba(255, 255, 255, 0.75);
    margin-bottom: 1.75rem;
}

.contact-form-card__body {
    position: relative;
}

.contact-form-card .wpcf7 {
    margin: 0;
}

.contact-form-card .wpcf7 form {
    display: grid;
    gap: 1.5rem;
}

.contact-form-card .wpcf7 form p {
    margin: 0;
    display: grid;
    gap: 0.75rem;
}

.contact-form-card .wpcf7-form-control-wrap {
    display: block;
}

.contact-form-card .wpcf7-form-control {
    width: 100%;
    padding: 1.2rem 1.5rem;
    border-radius: 16px;
    border: 2px solid rgba(255, 255, 255, 0.12);
    background: rgba(255, 255, 255, 0.06);
    color: var(--white);
    font-size: 1.05rem;
    font-family: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-form-card .wpcf7-form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.contact-form-card .wpcf7-form-control:focus {
    outline: none;
    border-color: var(--primary-red);
    box-shadow: 0 0 0 4px rgba(227, 30, 36, 0.25);
    background: rgba(10, 10, 10, 0.75);
}

.contact-form-card .wpcf7-textarea {
    min-height: 190px;
    resize: vertical;
}

.contact-form-card .wpcf7-submit {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    padding: 1.3rem 3.5rem;
    border-radius: 50px;
    border: none;
    background: linear-gradient(135deg, var(--primary-red) 0%, #ff4444 100%);
    color: var(--white);
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow:
        0 8px 20px rgba(227, 30, 36, 0.3),
        0 4px 10px rgba(0, 0, 0, 0.2);
}

.contact-form-card .wpcf7-submit:hover,
.contact-form-card .wpcf7-submit:focus {
    background: var(--white);
    color: var(--primary-red);
    border-color: var(--white);
    transform: translateY(-3px);
    box-shadow:
        0 12px 30px rgba(227, 30, 36, 0.4),
        0 6px 15px rgba(0, 0, 0, 0.3);
}

.contact-form-card .wpcf7-spinner {
    margin: 0 auto;
    display: block;
}

.contact-form-card .wpcf7-not-valid-tip {
    font-size: 0.8rem;
    color: #ffc9c9;
    margin-top: -0.25rem;
}

.contact-form-card .wpcf7-response-output {
    margin: 0;
    margin-top: 1rem;
    padding: 1rem 1.25rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.08);
    color: var(--white);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45);
}

.contact-form-card .wpcf7-response-output.wpcf7-mail-sent-ok {
    background: rgba(76, 175, 80, 0.18);
    border-color: rgba(76, 175, 80, 0.45);
    color: #e6f7ea;
}

.contact-form-card .wpcf7-response-output.wpcf7-validation-errors,
.contact-form-card .wpcf7-response-output.wpcf7-acceptance-missing {
    background: rgba(227, 30, 36, 0.2);
    border-color: rgba(227, 30, 36, 0.5);
    color: #ffe6e6;
}

.contact-form-card .form-grid {
    display: grid;
    gap: 1.25rem;
}

@media (min-width: 640px) {
    .contact-form-card .form-grid.two-columns {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

.contact-form-note {
    margin-top: 1.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.55);
    text-align: center;
}

.contact-form-placeholder {
    padding: 1.25rem 1.5rem;
    border-radius: 18px;
    border: 1px dashed rgba(255, 255, 255, 0.25);
    background: rgba(255, 255, 255, 0.05);
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
}

.contact-form-placeholder__link {
    color: var(--primary-red);
    text-decoration: none;
    font-weight: 600;
}

.contact-form-placeholder__link:hover {
    text-decoration: underline;
}

.contact-cta {
    text-align: center;
    margin-top: 3rem;
    position: relative;
    z-index: 1;
}

@media (max-width: 768px) {
    .contact-form-card {
        padding: 2rem;
    }
}

/* Footer */
.site-footer {
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 100%);
    color: var(--white);
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(227, 30, 36, 0.2);
    position: relative;
}

.site-footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 30, 36, 0.5), transparent);
}

.footer-content p {
    margin: 0;
    opacity: 0.5;
    font-size: 0.95rem;
    color: #999;
}

/* Scroll Animations - Experimental */
.animate-on-scroll {
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.animate-on-scroll.animated {
    opacity: 1;
}

/* Slide from Left */
.slide-left {
    transform: translateX(-100px) rotate(-5deg);
}

.slide-left.animated {
    transform: translateX(0) rotate(0deg);
}

/* Slide from Right */
.slide-right {
    transform: translateX(100px) rotate(5deg);
}

.slide-right.animated {
    transform: translateX(0) rotate(0deg);
}

/* Scale Up */
.scale-up {
    transform: scale(0.8) rotate(180deg);
}

.scale-up.animated {
    transform: scale(1) rotate(0deg);
}

/* Flip In */
.flip-in {
    transform: perspective(1000px) rotateY(-90deg);
}

.flip-in.animated {
    transform: perspective(1000px) rotateY(0deg);
}

/* Bounce In */
.bounce-in {
    transform: scale(0.3);
    animation-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.bounce-in.animated {
    transform: scale(1);
}

/* Slide Up Stagger */
.slide-up {
    transform: translateY(80px) scale(0.9);
    opacity: 0;
}

.slide-up.animated {
    transform: translateY(0) scale(1);
    opacity: 1;
}

/* Rotate Scale */
.rotate-scale {
    transform: rotate(-180deg) scale(0.5);
    opacity: 0;
}

.rotate-scale.animated {
    transform: rotate(0deg) scale(1);
    opacity: 1;
}

/* Fixed Header - All Devices */
body header.site-header,
body .site-header,
header.site-header {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    width: 100% !important;
    z-index: 1000 !important;
    background: linear-gradient(135deg, #0a0a0a 0%, #141414 100%) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5) !important;
    border-bottom: 3px solid var(--primary-red) !important;
    position: relative !important;
}

/* Красивая анимированная полоска-разделитель */
body header.site-header::after,
body .site-header::after,
header.site-header::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(
        90deg,
        transparent 0%,
        var(--primary-red) 20%,
        #ff4444 50%,
        var(--primary-red) 80%,
        transparent 100%
    );
    animation: shimmer 3s ease-in-out infinite;
    box-shadow: 0 2px 15px rgba(227, 30, 36, 0.5);
}

@keyframes shimmer {
    0%, 100% {
        opacity: 0.8;
        transform: scaleX(1);
    }
    50% {
        opacity: 1;
        transform: scaleX(1.02);
    }
}

/* Mobile Fixed Header - High Priority */
@media only screen and (max-width: 1024px) {
    body #main-content,
    #main-content {
        padding-top: 80px !important;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    body {
        overflow-x: hidden;
        width: 100%;
        max-width: 100vw;
        padding-top: 0 !important;
        margin-top: 0 !important;
    }

    * {
        max-width: 100%;
    }

    .container {
        padding: 0 15px;
        width: 100%;
    }

    /* Add space for fixed header */
    #main-content {
        padding-top: 70px !important;
    }

    /* Header for mobile - Fixed with high specificity */
    html body header.site-header,
    html body .site-header,
    body header.site-header,
    body .site-header,
    header.site-header,
    .site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        background: rgba(10, 10, 10, 0.95) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        z-index: 1000 !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6) !important;
        transform: translateZ(0) !important; /* Force GPU acceleration */
        -webkit-transform: translateZ(0) !important;
        will-change: transform !important;
    }

    /* WordPress admin bar fix for mobile */
    body.admin-bar header.site-header,
    body.admin-bar .site-header {
        top: 46px !important;
    }

    .header-inner {
        padding: 1rem;
        display: flex;
        align-items: center;
        justify-content: flex-start;
        position: relative;
    }

    /* Logo left aligned */
    .site-logo {
        font-size: 1.5rem !important;
        position: relative;
        left: auto;
        transform: none;
    }

    /* Hide desktop navigation */
    .main-nav {
        display: none;
    }







    /* Center images in service cards */
    .service-icon,
    .service-card img {
        margin: 0 auto;
        display: block;
    }

    /* Hero section - add space for fixed header */
    .hero-section {
        padding: 5rem 0 3rem;
        min-height: 80vh;
    }

    .main-nav a,
    .main-menu a {
        font-size: 1.1rem;
        padding: 1rem 1.5rem;
        text-align: center;
        display: block;
    }

    /* Hide floating sidebar on mobile */
    .floating-sidebar {
        display: none !important;
    }

    /* Typography adjustments */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.35rem; }
    h4 { font-size: 1.2rem; }

    .hero-title {
        font-size: 2.2rem;
        line-height: 1.3;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-description {
        font-size: 0.95rem;
        line-height: 1.5;
    }

    .section-title h2 {
        font-size: 1.85rem;
    }

    .section-title p {
        font-size: 1rem;
    }



    .hero-content {
        padding: 0 10px;
    }

    .cta-button {
        padding: 1rem 2.5rem;
        font-size: 1rem;
        width: 100%;
        text-align: center;
        max-width: 300px;
        margin: 0 auto;
        display: block;
    }

    /* Reduce animation intensity for mobile */
    .animate-on-scroll {
        transition: all 0.5s ease;
    }

    .slide-left,
    .slide-right {
        transform: translateY(20px);
    }

    .slide-left.animated,
    .slide-right.animated {
        transform: translateY(0);
    }

    .scale-up {
        transform: scale(0.95);
    }

    .scale-up.animated {
        transform: scale(1);
    }

    .flip-in,
    .rotate-scale {
        transform: translateY(20px);
    }

    .flip-in.animated,
    .rotate-scale.animated {
        transform: translateY(0);
    }

    .bounce-in {
        transform: scale(0.95);
    }

    .bounce-in.animated {
        transform: scale(1);
    }

    /* Disable parallax effect on mobile */
    .hero-content,
    .service-card,
    .material-card {
        transform: none !important;
    }

    /* Grids to single column */
    .services-grid,
    .features-grid,
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .industries-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .materials-grid {
        flex-wrap: wrap;
        gap: 1.5rem;
    }

    /* Card adjustments */
    .service-card,
    .feature-card {
        padding: 2rem 1.5rem;
        margin: 0 auto;
        max-width: 100%;
    }

    .material-card {
        width: 150px;
        height: 150px;
        padding: 1.5rem;
    }

    .material-icon {
        font-size: 3.5rem;
    }

    .material-icon img {
        width: 60px;
        height: 60px;
    }

    .material-card h3 {
        font-size: 1rem;
    }

    .service-icon,
    .feature-icon {
        width: 80px;
        height: 80px;
        font-size: 3rem;
    }

    .service-icon img,
    .feature-icon img {
        width: 90px;
        height: 90px;
    }

    /* Contact section */
    .contact-item {
        padding: 2rem 1.5rem;
    }

    .contact-icon {
        width: 70px;
        height: 70px;
        font-size: 3rem;
    }

    /* Reduce hover effects on mobile */
    .service-card:hover,
    .material-card:hover,
    .feature-card:hover,
    .contact-item:hover {
        transform: translateY(-3px) scale(1.02);
    }

    /* Industry items */
    .industry-item {
        padding: 1.25rem 1.25rem 1.25rem 1.75rem;
    }

    .industry-item:hover {
        transform: translateX(8px);
    }

    /* Section padding */
    section {
        padding: 3rem 0;
    }

    /* Stats adjustments */
    .about-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .stat-label {
        font-size: 0.9rem;
    }

    /* Benefits grid */
    .benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .about-text,
    .about-benefits {
        padding: 2rem 1.5rem;
    }

    /* Disable mouse trail on mobile */
    .mouse-trail {
        display: none !important;
    }

    /* Disable card tilt on mobile */
    .service-card,
    .feature-card,
    .material-card {
        transform: none !important;
    }
}









/* Extra small devices */
@media (max-width: 480px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero-description {
        font-size: 0.9rem;
    }

    .cta-button {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }

    .materials-grid {
        flex-wrap: wrap;
        gap: 1.25rem;
    }
    
    .industries-list {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }

    .material-card {
        width: 160px;
        height: 160px;
    }

    .about-stats {
        grid-template-columns: 1fr;
    }

    h2 {
        font-size: 1.5rem;
    }

    .section-title h2 {
        font-size: 1.6rem;
    }

    .scroll-to-top {
        width: 45px;
        height: 45px;
        bottom: 15px;
        right: 15px;
        font-size: 1.3rem;
    }

    .site-logo {
        font-size: 1.5rem !important;
    }

    .site-header.scrolled .site-logo {
        font-size: 1.2rem !important;
    }

    .hero-section {
        padding-top: 40px;
    }

    .mobile-dropdown-nav {
        max-width: 320px;
    }

    .mobile-dropdown-nav a {
        font-size: 0.95rem;
        padding: 0.9rem 1.25rem;
    }
}

/* Loading Animation */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* Mobile-specific optimizations */
@media (max-width: 768px) {
    /* Disable complex animations on mobile for better performance */
    .hero-section::before,
    .services-section::before,
    .services-section::after,
    .materials-section::before,
    .features-section::before,
    .industries-section::before,
    .contact-section::before {
        animation: none !important;
        opacity: 0.3;
    }

    /* Reduce blur effects on mobile */
    .site-header,
    .service-card,
    .material-card,
    .feature-card {
        backdrop-filter: blur(5px) !important;
        -webkit-backdrop-filter: blur(5px) !important;
    }

    /* Simplify shadows on mobile */
    .service-card,
    .material-card,
    .feature-card,
    .contact-item {
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }

    /* Optimize text shadows */
    .hero-title,
    .site-logo,
    .sidebar-icon {
        text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5) !important;
    }

    /* Ensure all sections fit within viewport */
    section,
    .hero-section,
    .services-section,
    .materials-section,
    .industries-section,
    .features-section,
    .contact-section {
        max-width: 100vw;
        overflow-x: hidden;
    }

    /* Add mobile body class styles */
    body.is-mobile .particle,
    body.is-mobile .particles-container {
        display: none !important;
    }
}

/* Smooth scrolling for mobile */
@media (max-width: 768px) {
    html {
        scroll-behavior: smooth;
        -webkit-overflow-scrolling: touch;
    }
}

/* Performance optimization */
@media (max-width: 768px) {
    * {
        -webkit-transform: translate3d(0, 0, 0);
        transform: translate3d(0, 0, 0);
    }
    
    .service-card,
    .material-card,
    .feature-card,
    .contact-item {
        will-change: auto !important;
    }
}

/* Desktop - Ensure Fixed Header */
@media (min-width: 1025px) {
    body header.site-header,
    body .site-header,
    header.site-header {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        right: 0 !important;
        width: 100% !important;
        z-index: 1000 !important;
    }
}
