/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* NView Media Brand Colors */
    --primary-blue: #00A3E0;
    --primary-blue-dark: #0080B8;
    --primary-blue-light: #33B5E5;
    --primary-gray: #5B6670;
    --primary-gray-dark: #4A5560;
    --primary-gray-light: #7A8590;
    
    /* Updated Color Palette */
    --steel-dark: #1a1a1a;
    --steel-medium: #2d2d2d;
    --steel-light: #404040;
    --concrete: #8c8c8c;
    --concrete-light: #a8a8a8;
    --industrial-accent: #00A3E0;  /* Changed from orange to blue */
    --industrial-accent-dark: #0080B8;  /* Darker blue */
    --metal-blue: #5B6670;  /* Using brand gray */
    --metal-silver: #cbd5e0;
    --rust-orange: #00A3E0;  /* Changed to blue */
    --warning-yellow: #ffc107;
    --white: #ffffff;
    --off-white: #f5f5f5;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --text-muted: #808080;
    
    /* Updated Gradients with brand colors */
    --gradient-steel: linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 100%);
    --gradient-rust: linear-gradient(135deg, #00A3E0 0%, #0080B8 100%);  /* Blue gradient */
    --gradient-metal: linear-gradient(180deg, #5B6670 0%, #4A5560 100%);  /* Gray gradient */
    --gradient-concrete: linear-gradient(135deg, #8c8c8c 0%, #606060 100%);
    
    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-heading: 'Plus Jakarta Sans', 'Inter', sans-serif;
    
    /* Industrial Spacing */
    --section-padding: 100px 0;
    --container-padding: 0 24px;
    --border-radius: 0;
    --border-radius-sm: 2px;
    --border-radius-md: 4px;
    
    /* Industrial Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.6);
    --shadow-inset: inset 0 2px 4px rgba(0, 0, 0, 0.5);
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease-out;
}

/* Performance optimizations for mobile */
@media (max-width: 768px) {
    * {
        -webkit-tap-highlight-color: transparent;
    }
    
    body {
        -webkit-overflow-scrolling: touch;
    }
}

html {
    overflow-x: hidden;
    width: 100%;
}

body {
    font-family: var(--font-primary);
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--steel-dark);
    overflow-x: hidden;
    font-size: 16px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    position: relative;
    width: 100%;
    max-width: 100%;
}

/* Industrial Grid Pattern Background - Simplified for mobile */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, transparent, transparent 35px, rgba(0, 163, 224, 0.03) 35px, rgba(0, 163, 224, 0.03) 36px),
        repeating-linear-gradient(90deg, transparent, transparent 35px, rgba(0, 163, 224, 0.03) 35px, rgba(0, 163, 224, 0.03) 36px);
    pointer-events: none;
    z-index: 1;
}

/* Disable grid pattern on mobile for performance */
@media (max-width: 768px) {
    body::before {
        display: none;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--container-padding);
    position: relative;
    z-index: 2;
    width: 100%;
}

/* Industrial Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: var(--steel-dark);
    backdrop-filter: none;
    z-index: 1000;
    transition: var(--transition);
    border-bottom: none;
    box-shadow: var(--shadow);
    /* Add will-change for smooth mobile scrolling */
    will-change: transform;
}

.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        90deg,
        transparent,
        transparent 10px,
        rgba(0, 163, 224, 0.05) 10px,
        rgba(0, 163, 224, 0.05) 11px
    );
    pointer-events: none;
}

/* Disable navbar pattern on mobile */
@media (max-width: 768px) {
    .navbar::before {
        display: none;
    }
}

.navbar.scrolled {
    background: rgba(26, 26, 26, 0.98);
    box-shadow: var(--shadow-lg);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all 0.3s ease;
    cursor: pointer;
    text-decoration: none;
}

.logo-image {
    height: 45px;
    width: auto;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    filter: drop-shadow(0 0 0 transparent);
}

.nav-logo:hover .logo-image {
    transform: rotate(360deg) scale(1.1);
    filter: drop-shadow(0 0 10px rgba(0, 163, 224, 0.6));
}

.nav-logo h2 {
    font-family: var(--font-heading);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--industrial-accent);
    text-decoration: none;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    margin: 0;
    transition: all 0.3s ease;
    background: linear-gradient(90deg, var(--industrial-accent), var(--primary-blue-light), var(--industrial-accent));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-logo:hover h2 {
    background-position: 200% center;
    text-shadow: 0 0 20px rgba(0, 163, 224, 0.5);
    letter-spacing: 0.08em;
}

/* Add a subtle underline animation */
.nav-logo h2::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--industrial-accent), var(--primary-blue-light));
    transition: width 0.4s ease;
}

.nav-logo:hover h2::after {
    width: 100%;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    transition: var(--transition);
    position: relative;
    padding: 8px 12px;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--industrial-accent);
    transition: var(--transition);
}

.nav-link:hover::before,
.nav-link.active::before {
    width: 100%;
}

.nav-link:hover,
.nav-link.active {
    color: var(--industrial-accent);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 8px;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: var(--industrial-accent);
    transition: var(--transition);
}

/* Industrial Hero Section */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: var(--gradient-metal);
    border-bottom: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.5;  /* Increased from 0.3 to 0.5 for better visibility */
    z-index: 1;
}

/* Disable video background on mobile for performance */
@media (max-width: 768px) {
    .hero-video {
        display: none;
    }
    
    .hero {
        background: var(--gradient-metal);
        background-image: linear-gradient(180deg, #5B6670 0%, #1a1a1a 100%);
    }
}

.hero-video::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        rgba(26, 26, 26, 0.7) 0%,   /* Reduced from 0.9 to 0.7 */
        rgba(26, 26, 26, 0.5) 50%,  /* Reduced from 0.7 to 0.5 */
        rgba(26, 26, 26, 0.7) 100%); /* Reduced from 0.9 to 0.7 */
    pointer-events: none;
}

.hero-video iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100vw;
    height: 56.25vw;
    min-height: 100vh;
    min-width: 177.77vh;
    transform: translate(-50%, -50%);
    pointer-events: none;
    filter: contrast(1.2) saturate(1);  /* Increased contrast and restored saturation */
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 163, 224, 0.03) 2px,
            rgba(0, 163, 224, 0.03) 3px
        );
    z-index: 2;
}

/* Simplify overlay on mobile */
@media (max-width: 768px) {
    .hero-overlay {
        background: none;
    }
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 24px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9),  /* Enhanced shadow for better readability */
                 0 0 30px rgba(0, 0, 0, 0.7);
}

.hero-title .highlight {
    color: var(--industrial-accent);
    display: block;
    margin-top: 0.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9),
                 0 0 40px rgba(0, 163, 224, 0.3);  /* Added glow effect */
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 650px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
    font-weight: 400;
    letter-spacing: 0.02em;
    text-shadow: 1px 1px 4px rgba(0, 0, 0, 0.9);  /* Added shadow for readability */
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 16px 40px;
    border-radius: var(--border-radius-sm);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    min-width: 180px;
    position: relative;
    overflow: hidden;
    /* Improve touch targets on mobile */
    touch-action: manipulation;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-rust);
    color: var(--white);
    border: 2px solid var(--industrial-accent);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
    background: var(--industrial-accent);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--concrete);
}

.btn-secondary:hover {
    background: var(--steel-light);
    border-color: var(--industrial-accent);
    transform: translateY(-2px);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    cursor: pointer;
}

/* Hide scroll indicator on mobile */
@media (max-width: 768px) {
    .scroll-indicator {
        display: none;
    }
}

/* Simple chevron */
.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--industrial-accent);
    border-bottom: 2px solid var(--industrial-accent);
    transform: rotate(45deg);
    animation: simpleFloat 2s ease-in-out infinite;
}

@keyframes simpleFloat {
    0%, 100% { 
        transform: translateY(0) rotate(45deg);
        opacity: 0.6;
    }
    50% { 
        transform: translateY(5px) rotate(45deg);
        opacity: 1;
    }
}

/* Hover effect */
.scroll-indicator:hover .scroll-arrow {
    border-color: var(--primary-blue-light);
    animation-duration: 0.8s;
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
    padding: 0 24px;
    position: relative;
}

/* Add section separators */
section {
    position: relative;
    z-index: 1;
}

/* Create visual rhythm with alternating backgrounds */
section:nth-of-type(odd) {
    background-blend-mode: normal;
}

section:nth-of-type(even) {
    filter: brightness(0.95);
}

.section-header h2,
.section-header .section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 4vw, 3.5rem);
    font-weight: 900;
    color: var(--white);
    margin-bottom: 1rem;
    margin-top: 0;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    position: relative;
    display: block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--industrial-accent);
    box-shadow: 0 2px 10px rgba(0, 163, 224, 0.4);
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    font-weight: 400;
    line-height: 1.6;
}

/* Modern About Section */
.about {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
    overflow: visible;
    border-top: none;
    border-bottom: none;
}

/* Fix for section header alignment */
.about .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

/* Section Tag */
.section-tag {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(0, 163, 224, 0.1);
    border: 1px solid var(--industrial-accent);
    color: var(--industrial-accent);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

/* Ensure proper spacing in About section header */
.about .section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.about .section-title {
    margin-top: 0;
    margin-bottom: 1.5rem;
}

/* About Wrapper */
.about-wrapper {
    max-width: 1200px;
    margin: 0 auto;
}



/* Story Section - Polished */
.about-story {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 5rem;
    align-items: center;
    width: 100%;
    max-width: 100%;
}

.story-content {
    padding-right: 2rem;
}

.story-title {
    font-family: var(--font-heading);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 2.5rem;
    color: var(--white);
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.story-title-top {
    font-size: clamp(2.5rem, 4.5vw, 3.5rem);
    color: var(--white);
    font-weight: 800;
}

.accent-text {
    color: var(--industrial-accent);
    font-size: clamp(2.8rem, 5vw, 4rem);
    font-weight: 900;
    display: block;
}

.story-text-wrapper {
    margin-bottom: 3rem;
}

.story-text {
    color: rgba(255, 255, 255, 0.75);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.2rem;
    font-weight: 400;
}

.story-text:last-child {
    margin-bottom: 0;
}

/* Values Grid - Modern Design */
.values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 3rem;
}

.value-item {
    text-align: center;
    padding: 1.8rem 1.2rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: visible;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--industrial-accent), transparent);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.value-item:hover {
    background: rgba(0, 163, 224, 0.08);
    border-color: rgba(0, 163, 224, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 12px 24px rgba(0, 163, 224, 0.15);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-icon {
    width: 56px;
    height: 56px;
    margin: 0 auto 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 163, 224, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    background: rgba(0, 163, 224, 0.2);
    transform: scale(1.1) rotate(5deg);
}

.value-icon svg {
    width: 32px;
    height: 32px;
    color: var(--industrial-accent);
}

.value-item h4 {
    color: var(--white);
    font-size: 1.15rem;
    margin-bottom: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.value-item p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0;
}

/* Story Video - Polished */
.story-video {
    position: relative;
}

.video-wrapper {
    position: relative;
    aspect-ratio: 16/9;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
    border: 2px solid rgba(0, 163, 224, 0.2);
    background: #000;
}

.video-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.video-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-badge {
    position: absolute;
    top: 24px;
    right: 24px;
    background: var(--industrial-accent);
    color: var(--white);
    padding: 10px 20px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-radius: 6px;
    z-index: 10;
    backdrop-filter: blur(10px);
    background: rgba(0, 163, 224, 0.95);
    box-shadow: 0 4px 12px rgba(0, 163, 224, 0.4);
}

.video-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: badgeShine 3s infinite;
}

@keyframes badgeShine {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Achievements Section - Redesigned */
.achievements-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border-radius: 20px;
    padding: 4rem;
    margin-bottom: 4rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    overflow: visible;
}

.achievements-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(0, 163, 224, 0.1) 0%, transparent 70%);
    pointer-events: none;
}

.achievements-title {
    text-align: center;
    font-size: 2.2rem;
    color: var(--white);
    margin-bottom: 3.5rem;
    font-weight: 800;
    letter-spacing: -0.02em;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2.5rem;
}

.achievement-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.achievement-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 2px;
    background: var(--industrial-accent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    background: rgba(0, 163, 224, 0.08);
    border-color: rgba(0, 163, 224, 0.2);
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.15);
}

.achievement-card:hover::before {
    opacity: 1;
}

.achievement-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.15) 0%, rgba(0, 163, 224, 0.05) 100%);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.achievement-card:hover .achievement-icon {
    transform: scale(1.1) rotate(5deg);
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.25) 0%, rgba(0, 163, 224, 0.1) 100%);
}

.achievement-icon svg {
    width: 36px;
    height: 36px;
    color: var(--industrial-accent);
}

.achievement-number {
    font-size: 3rem;
    font-weight: 900;
    color: var(--industrial-accent);
    margin-bottom: 1rem;
    font-family: var(--font-heading);
}

.achievement-number .counter {
    display: inline-block;
}

.achievement-card h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.01em;
}

.achievement-card p {
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
}

/* Process Section */
.process-section {
    margin-bottom: 4rem;
}

.process-title {
    text-align: center;
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 3rem;
    font-weight: 800;
}

.process-timeline {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    position: relative;
}

.process-timeline::before {
    content: '';
    position: absolute;
    top: 35px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, var(--industrial-accent), var(--industrial-accent));
    z-index: 0;
}

.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
}

.step-number {
    width: 70px;
    height: 70px;
    background: var(--steel-dark);
    border: 3px solid var(--industrial-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--industrial-accent);
    position: relative;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.step-number::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--industrial-accent);
    opacity: 0;
    z-index: -1;
    transition: all 0.4s ease;
}

.step-number:hover {
    transform: scale(1.2);
    background: var(--industrial-accent);
    color: var(--white);
    box-shadow: 0 0 30px rgba(0, 163, 224, 0.6),
                0 0 60px rgba(0, 163, 224, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue-light);
}

.step-number:hover::before {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.5);
}

/* Add hover effect to the entire process step */
.process-step {
    position: relative;
    text-align: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.process-step:hover {
    transform: translateY(-5px);
}

/* When hovering anywhere on the step, trigger number effects */
.process-step:hover .step-number {
    transform: scale(1.2);
    background: var(--industrial-accent);
    color: var(--white);
    box-shadow: 0 0 30px rgba(0, 163, 224, 0.6),
                0 0 60px rgba(0, 163, 224, 0.3),
                inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: var(--primary-blue-light);
}

.process-step:hover .step-number::before {
    opacity: 0.3;
    transform: translate(-50%, -50%) scale(1.5);
}

.process-step:hover .step-content h4 {
    color: var(--industrial-accent);
    transform: scale(1.1);
    text-shadow: 0 0 20px rgba(0, 163, 224, 0.5);
}

.step-content h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
}

.step-content p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* About CTA */
.about-cta {
    background: linear-gradient(135deg, var(--industrial-accent), var(--industrial-accent-dark));
    border-radius: 16px;
    padding: 4rem;
    text-align: center;
    position: relative;
    overflow: visible;
}

.about-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.3; }
}

.about-cta h3 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 1rem;
    font-weight: 900;
    position: relative;
    z-index: 1;
}

.about-cta p {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.cta-buttons {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    position: relative;
    z-index: 1;
}

.about-cta .btn-primary {
    background: var(--white);
    color: var(--industrial-accent);
    border-color: var(--white);
}

.about-cta .btn-primary:hover {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.about-cta .btn-secondary {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.about-cta .btn-secondary:hover {
    background: var(--white);
    color: var(--industrial-accent);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-story {
        grid-template-columns: 1fr;
        gap: 3rem;
        padding: 0;
    }
    
    .story-content {
        padding-right: 0;
    }
    
    .achievements-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .process-timeline {
        grid-template-columns: repeat(2, 1fr);
        gap: 3rem;
    }
    
    .process-timeline::before {
        display: none;
    }
}

@media (max-width: 768px) {
    /* About section mobile fixes */
    .about-wrapper {
        padding: 0;
        width: 100%;
    }
    
    .story-content {
        padding: 0;
        width: 100%;
    }
    
    .story-video {
        width: 100%;
        padding: 0 15px;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
    }
    
    .achievements-section {
        padding: 2rem 15px;
        margin: 0;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .achievement-number {
        font-size: 2.5rem;
    }
    
    .process-timeline {
        grid-template-columns: 1fr;
        padding: 0 15px;
    }
    
    .process-section {
        padding: 0;
    }
    
    .about-cta {
        padding: 3rem 1rem;
        margin: 0 15px;
    }
    
    .about-cta h3 {
        font-size: 2rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .cta-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Modern Services Section */
.services {
    padding: var(--section-padding);
    background: 
        radial-gradient(ellipse at top left, rgba(0, 163, 224, 0.08) 0%, transparent 40%),
        radial-gradient(ellipse at bottom right, rgba(91, 102, 112, 0.06) 0%, transparent 40%),
        linear-gradient(180deg, #0d0d0d 0%, #1a1a1a 100%);
    position: relative;
    border-bottom: none;
}

/* Floating geometric shapes */
.services::before {
    content: '';
    position: absolute;
    top: 10%;
    right: 5%;
    width: 300px;
    height: 300px;
    border: 1px solid rgba(0, 163, 224, 0.1);
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
    transform: rotate(45deg);
    pointer-events: none;
    animation: floatShape 20s ease-in-out infinite;
}

.services::after {
    content: '';
    position: absolute;
    bottom: 15%;
    left: 10%;
    width: 200px;
    height: 200px;
    border: 1px solid rgba(0, 163, 224, 0.08);
    border-radius: 50%;
    pointer-events: none;
    animation: floatShape 15s ease-in-out infinite reverse;
}

@keyframes floatShape {
    0%, 100% {
        transform: rotate(45deg) translateY(0);
        opacity: 0.3;
    }
    50% {
        transform: rotate(45deg) translateY(-20px);
        opacity: 0.6;
    }
}

.services .section-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    margin-bottom: 4rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

/* Special layout for 5 cards - 3 on top, 2 on bottom centered */
@media (min-width: 1200px) {
    .services-grid {
        display: grid;
        grid-template-columns: repeat(6, 1fr);
        gap: 2rem;
    }
    
    /* First row - 3 cards spanning 2 columns each */
    .service-card:nth-child(1),
    .service-card:nth-child(2),
    .service-card:nth-child(3) {
        grid-column: span 2;
    }
    
    /* Second row - 2 cards centered */
    .service-card:nth-child(4) {
        grid-column: 2 / 4;
    }
    
    .service-card:nth-child(5) {
        grid-column: 4 / 6;
    }
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0.01) 100%);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2.5rem;
    position: relative;
    overflow: visible;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: flex;
    flex-direction: column;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--industrial-accent), var(--primary-blue-light));
    transform: scaleX(0);
    transition: transform 0.4s ease;
    transform-origin: left;
}

.service-card:hover {
    transform: translateY(-10px);
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1) 0%, rgba(255, 255, 255, 0.03) 100%);
    border-color: var(--industrial-accent);
    box-shadow: 0 20px 40px rgba(0, 163, 224, 0.2);
}

.service-card:hover::before {
    transform: scaleX(1);
}

/* Featured Service Card */
.service-card.featured {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.15) 0%, rgba(0, 163, 224, 0.05) 100%);
    border-color: var(--industrial-accent);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: var(--industrial-accent);
    color: var(--white);
    padding: 6px 16px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0, 163, 224, 0.4);
}

/* Service Icon */
.service-icon-wrapper {
    width: 80px;
    height: 80px;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1) 0%, rgba(0, 163, 224, 0.05) 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.service-card:hover .service-icon-wrapper {
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.2) 0%, rgba(0, 163, 224, 0.1) 100%);
    transform: scale(1.1);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: var(--industrial-accent);
    transition: all 0.3s ease;
}

.service-card:hover .service-icon {
    color: var(--primary-blue-light);
}

/* Service Content */
.service-card h3 {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.service-card p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

/* Service Features */
.service-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    display: inline-block;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: var(--text-muted);
    font-size: 0.75rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.service-card:hover .feature-tag {
    background: rgba(0, 163, 224, 0.1);
    border-color: rgba(0, 163, 224, 0.3);
    color: var(--industrial-accent);
}

/* Service Link */
.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--industrial-accent);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    margin-top: auto;
}

.service-link span {
    transition: transform 0.3s ease;
    display: inline-block;
}

.service-link:hover {
    gap: 0.75rem;
}

.service-link:hover span {
    transform: translateX(3px);
}

/* Ensure services don't overflow */
.services-grid {
    width: 100%;
}

/* Services CTA */
.services-cta {
    text-align: center;
    padding: 4rem;
    background: linear-gradient(135deg, rgba(0, 163, 224, 0.1) 0%, rgba(0, 163, 224, 0.05) 100%);
    border-radius: 20px;
    border: 1px solid rgba(0, 163, 224, 0.2);
}

.services-cta p {
    color: var(--industrial-accent);
    font-size: 0.9rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
}

.services-cta h3 {
    font-size: 2rem;
    color: var(--white);
    margin-bottom: 2rem;
    font-weight: 800;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        padding: 0 15px;
        width: 100%;
    }
    
    .service-card {
        padding: 2rem;
    }
    
    .services-cta {
        padding: 3rem 2rem;
    }
    
    .services-cta h3 {
        font-size: 1.5rem;
    }
    
    /* Disable hover effects on mobile */
    @media (hover: none) {
        .service-card:hover {
            transform: none;
        }
        
        .service-icon-wrapper:hover {
            transform: none;
        }
    }
}

/* Industrial Portfolio Section */
.portfolio {
    padding: calc(var(--section-padding) * 1.2) 0;
    background: 
        linear-gradient(135deg, rgba(0, 163, 224, 0.02) 0%, transparent 50%),
        linear-gradient(135deg, #2d2d2d 0%, #1a1a1a 50%, #2d2d2d 100%);
    position: relative;
    border-top: none;
    border-bottom: none;
    box-shadow: 
        inset 0 0 100px rgba(0, 0, 0, 0.3),
        0 0 50px rgba(0, 0, 0, 0.5);
}

.portfolio-filter {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    background: transparent;
    border: 2px solid var(--steel-light);
    color: var(--text-secondary);
    padding: 10px 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 700;
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* Improve touch targets */
    touch-action: manipulation;
}

.filter-btn:hover,
.filter-btn.active {
    border-color: var(--industrial-accent);
    color: var(--white);
    background: var(--industrial-accent);
}

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

.portfolio-item {
    position: relative;
    overflow: hidden;
    transition: var(--transition);
    background: var(--steel-dark);
    border: 2px solid var(--steel-light);
}

.portfolio-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--industrial-accent);
}

/* Disable hover animations on mobile */
@media (max-width: 768px) and (hover: none) {
    .portfolio-item:hover {
        transform: none;
    }
}

.portfolio-image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.video-thumbnail {
    width: 100%;
    height: 100%;
    background: var(--steel-dark);
    position: relative;
}

.video-thumbnail iframe {
    width: 100%;
    height: 100%;
}

/* Lazy load videos on mobile */
@media (max-width: 768px) {
    .video-thumbnail iframe {
        /* Add loading="lazy" attribute in HTML instead */
    }
}

.portfolio-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(26, 26, 26, 0.95), transparent);
    padding: 2rem;
    transform: translateY(100%);
    transition: var(--transition);
}

.portfolio-item:hover .portfolio-overlay {
    transform: translateY(0);
}

.portfolio-overlay h4 {
    color: var(--white);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.portfolio-overlay p {
    color: var(--industrial-accent);
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.expand-video {
    background: var(--industrial-accent);
    color: var(--white);
    border: none;
    padding: 8px 16px;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    /* Improve touch targets */
    touch-action: manipulation;
}

.expand-video:hover {
    background: var(--industrial-accent-dark);
    transform: translateY(-2px);
}

/* Modern Contact Section */
.contact {
    padding: var(--section-padding);
    background: linear-gradient(180deg, #0f0f0f 0%, #1a1a1a 100%);
    position: relative;
    border-top: none;
}

/* Add subtle overlay pattern */
.contact::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 20% 80%, rgba(0, 163, 224, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.contact .section-header h2 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    text-transform: uppercase;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

.section-line {
    width: 80px;
    height: 3px;
    background: var(--industrial-accent);
    margin: 0 auto 1.5rem;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 5rem;
    align-items: start;
    margin-top: 4rem;
}

/* Contact Info - Modern Style */
.contact-info h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--industrial-accent);
    margin-bottom: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.01em;
}

.contact-info > p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin-bottom: 3rem;
    line-height: 1.7;
}

/* Contact Details - Clean Layout */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item:hover {
    padding-left: 10px;
}

.contact-label {
    color: var(--industrial-accent);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    opacity: 0.8;
}

.contact-value {
    color: var(--white);
    font-size: 1.25rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-value:hover {
    color: var(--industrial-accent);
}

/* Contact Form - Modern Design */
.contact-form {
    background: rgba(255, 255, 255, 0.02);
    padding: 3rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
}

.form-group {
    margin-bottom: 2rem;
    position: relative;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem 0;
    background: transparent;
    border: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
    font-family: var(--font-primary);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-bottom-color: var(--industrial-accent);
}

.form-line {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--industrial-accent);
    transition: width 0.3s ease;
}

.form-group input:focus ~ .form-line,
.form-group select:focus ~ .form-line,
.form-group textarea:focus ~ .form-line {
    width: 100%;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.4);
    font-weight: 400;
}

.form-group select {
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='rgba(255,255,255,0.4)' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0 center;
    background-size: 20px;
    padding-right: 30px;
}

.form-group select option {
    background: #1a1a1a;
    color: var(--text-primary);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Submit Button - Modern Style */
.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 18px 40px;
    background: var(--gradient-rust);
    border: none;
    border-radius: 8px;
    color: var(--white);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: 2rem;
}

.btn-submit::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.5s ease;
}

.btn-submit:hover::before {
    left: 100%;
}

.btn-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 163, 224, 0.3);
}

.btn-submit:hover .btn-arrow {
    transform: translateX(4px);
}

.btn-arrow {
    width: 20px;
    height: 20px;
    transition: transform 0.3s ease;
}

/* Industrial Footer */
.footer {
    background: #0a0a0a;
    padding: 3rem 0 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    position: relative;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.5);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 20px,
            rgba(255, 69, 0, 0.02) 20px,
            rgba(255, 69, 0, 0.02) 21px
        );
    pointer-events: none;
}

/* Disable footer pattern on mobile */
@media (max-width: 768px) {
    .footer::before {
        display: none;
    }
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 1rem;
}

.footer-logo-image {
    height: 50px;
    width: auto;
}

.footer-logo h3 {
    font-family: var(--font-heading);
    color: var(--industrial-accent);
    font-size: 1.5rem;
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section h3 {
    font-family: var(--font-heading);
    color: var(--industrial-accent);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-section ul li a:hover {
    color: var(--industrial-accent);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--steel-light);
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Video Modal */
.video-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
}

.video-modal.active {
    display: flex;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
}

.modal-content {
    position: relative;
    width: 90%;
    max-width: 1000px;
    max-height: 90vh;
    background: var(--steel-medium);
    border: 3px solid var(--industrial-accent);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: var(--shadow-xl);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-50px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    background: var(--steel-dark);
    border-bottom: 2px solid var(--industrial-accent);
}

.modal-info h3 {
    color: var(--white);
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.modal-info p {
    color: var(--industrial-accent);
    font-size: 1rem;
    margin: 0;
}

.modal-close {
    background: transparent;
    border: 2px solid var(--industrial-accent);
    color: var(--industrial-accent);
    font-size: 2rem;
    width: 50px;
    height: 50px;
    cursor: pointer;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--industrial-accent);
    color: var(--white);
    transform: rotate(90deg);
}

.modal-video {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%;
    height: 0;
}

.modal-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Prevent horizontal scroll on all sections */
section {
    width: 100%;
    max-width: 100%;
    overflow: visible;
}

/* Mobile Optimized Responsive Design */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px 0;
    }
    
    .about-content,
    .contact-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .about-stats {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    /* Prevent horizontal scroll */
    html, body {
        overflow-x: hidden !important;
        width: 100% !important;
        max-width: 100% !important;
        position: relative !important;
    }
    
    /* Ensure all content stays within viewport */
    * {
        max-width: 100% !important;
    }
    
    /* Optimize animations for mobile */
    * {
        animation-duration: 0s !important;
        animation-delay: 0s !important;
    }
    
    /* Disable AOS animations on mobile */
    [data-aos] {
        opacity: 1 !important;
        transform: translate(0) !important;
        transition: none !important;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        left: -100%;
        width: 100%;
        max-width: 100%;
        height: calc(100vh - 80px);
        background: var(--steel-dark);
        flex-direction: column;
        justify-content: center;
        gap: 3rem;
        transition: var(--transition);
        border-top: none;
        /* Hardware acceleration for smooth mobile menu */
        transform: translateX(0);
        will-change: transform;
        overflow: visible;
    }
    
    .nav-menu.active {
        left: 0;
        transform: translateX(0);
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        width: 100%;
        padding: 0 20px;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 300px;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .portfolio-grid {
        grid-template-columns: 1fr;
        padding: 0 15px;
        width: 100%;
    }
    
    .portfolio-item {
        width: 100%;
        max-width: 100%;
    }
    
    .about-stats {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    /* Optimize touch targets */
    .btn,
    .filter-btn,
    .expand-video {
        min-height: 48px;
        min-width: 48px;
    }
}

@media (max-width: 480px) {
    :root {
        --section-padding: 60px 0;
        --container-padding: 0 15px;
    }
    
    /* Extra protection against horizontal scroll */
    body {
        position: relative;
        overflow-x: hidden !important;
    }
    
    .nav-container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .service-card,
    .contact-form {
        padding: 2rem;
    }
    
    .btn {
        padding: 14px 28px;
        min-width: 140px;
        font-size: 0.85rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection Styles */
::selection {
    background: var(--industrial-accent);
    color: var(--white);
}

::-moz-selection {
    background: var(--industrial-accent);
    color: var(--white);
}

/* Focus Styles */
button:focus,
input:focus,
select:focus,
textarea:focus,
a:focus {
    outline: 2px solid var(--industrial-accent);
    outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--steel-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--industrial-accent);
    border: 1px solid var(--steel-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--industrial-accent-dark);
}

/* Performance: Reduce motion for users who prefer it */
@media (prefers-reduced-motion: reduce) {
    * {
        animation: none !important;
        transition: none !important;
    }
}

/* Global mobile overflow fix */
@media (max-width: 768px) {
    /* Prevent any element from causing horizontal scroll */
    * {
        box-sizing: border-box !important;
    }
    
    /* Ensure images and iframes don't overflow */
    img, iframe, video {
        max-width: 100% !important;
        height: auto;
    }
    
    /* Fix for absolute/fixed positioned elements */
    *[style*="position: absolute"],
    *[style*="position: fixed"] {
        max-width: 100vw !important;
    }
    
    /* Ensure modals don't cause overflow */
    .video-modal,
    .modal-content {
        max-width: 100% !important;
    }
    
    /* Fix padding/margin issues that might cause overflow */
    .container,
    section > div {
        padding-left: 15px !important;
        padding-right: 15px !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}