/* J.P. Industries & J.S. Fabricators - Optimized Styles */
:root {
    --primary-bg: #000000;
    --surface-1: #1a1a1a;
    --text-primary: #FFFFFF;
    --text-secondary: #C0C0C0;
    --accent-primary: #2563EB;
    --accent-critical: #DC2626;
    --accent-success: #059669;
    --border-subtle: #404040;
    --silver: #C0C0C0;
    --dark-silver: #808080;
}

/* Global Styles */
* { box-sizing: border-box; }

/* Focus and interaction styles */
button:focus,
button:focus-visible,
a:focus,
a:focus-visible,
input:focus,
textarea:focus,
select:focus,
.btn:focus,
.btn:focus-visible,
.industrial-cta-btn:focus,
.industrial-mobile-btn:focus,
.industrial-nav-link:focus,
.industrial-mobile-link:focus,
.industrial-mobile-cta:focus {
    outline: none !important;
    box-shadow: none !important;
}

button:focus-visible,
a:focus-visible,
.btn:focus-visible {
    transform: scale(1.02);
    transition: transform 0.2s ease;
}

input:focus,
textarea:focus,
select:focus {
    outline: none !important;
    border-color: #F4C430 !important;
    box-shadow: 0 0 0 2px rgba(244, 196, 48, 0.2) !important;
}

*:focus {
    outline: none !important;
    -webkit-tap-highlight-color: transparent !important;
    -webkit-focus-ring-color: transparent !important;
}

* {
    -webkit-tap-highlight-color: transparent !important;
    -webkit-touch-callout: none !important;
    -webkit-user-select: none !important;
    -khtml-user-select: none !important;
    -moz-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
}

p, span, h1, h2, h3, h4, h5, h6, input, textarea {
    -webkit-user-select: text !important;
    -khtml-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
    user-select: text !important;
}

body {
    background-color: var(--primary-bg) !important;
    background-image: none !important;
    color: var(--text-primary);
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    overflow-x: hidden;
    line-height: 1.6;
    margin: 0;
    padding: 0;
}

/* Apply Space Grotesk globally with fallbacks */
* {
    font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
}

/* Ensure smooth scrolling for all devices */
html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

/* Ensure sections start after the hero */
section:not(#home) {
    scroll-margin-top: 100px;
}

/* ======================================================================== */
/*                         LOTTIE ANIMATION SECTION                        */
/* ======================================================================== */

/* Animation Container */
.animation-wrapper {
    height: 400vh;
    position: relative;
}

/* Animation Section */
.animation-section {
    position: relative;
    width: 100%;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    z-index: 5;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
}

.animation-section.fixed {
    position: fixed;
    top: 0;
    left: 0;
}

.animation-section.completed {
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;
    z-index: -1 !important;
}

#lottie-container {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    background: radial-gradient(circle at center, rgba(56, 189, 248, 0.08) 0%, transparent 70%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Lottie SVG responsive styling - fill entire screen */
#lottie-container svg {
    width: 100% !important;
    height: 100% !important;
    max-width: none !important;
    max-height: none !important;
    object-fit: cover !important; /* Changed from contain to cover */
    object-position: center !important;
    min-width: 100vw !important;
    min-height: 100vh !important;
}

/* Remove scaling - let animation fill naturally */
@media (max-width: 1200px) {
    #lottie-container svg {
        object-fit: cover !important;
    }
}

@media (max-width: 768px) {
    #lottie-container {
        background: radial-gradient(circle at center, rgba(56, 189, 248, 0.06) 0%, transparent 60%);
    }
    #lottie-container svg {
        object-fit: cover !important;
        width: 100vw !important;
        height: 100vh !important;
    }
    .animation-wrapper {
        height: 300vh;
    }
}

@media (max-width: 480px) {
    #lottie-container {
        background: radial-gradient(circle at center, rgba(56, 189, 248, 0.04) 0%, transparent 50%);
    }
    #lottie-container svg {
        object-fit: cover !important;
        width: 100vw !important;
        height: 100vh !important;
        transform: none !important;
    }
}

@media (orientation: landscape) and (max-height: 500px) {
    #lottie-container svg {
        object-fit: cover !important;
        width: 100vw !important;
        height: 100vh !important;
    }
}

@media (max-width: 320px) {
    #lottie-container svg {
        object-fit: cover !important;
        width: 100vw !important;
        height: 100vh !important;
    }
}

.section-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 0 2rem;
    opacity: 1;
    transform: translateY(0);
    transition: all 0.5s ease;
}

.section-content.fade-out {
    opacity: 0;
    transform: translateY(-30px);
}

.section-content h1 {
    font-size: clamp(2.5rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #f1f5f9 0%, #38bdf8 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 8px 30px rgba(56, 189, 248, 0.15);
}

.section-content p {
    font-size: clamp(1rem, 3vw, 1.3rem);
    color: #94a3b8;
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
}

.section-cta {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll Progress Indicator */
.scroll-progress {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 1001;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: #94a3b8;
    font-size: 0.9rem;
    font-weight: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.scroll-progress.visible {
    opacity: 1;
}

.progress-bar {
    width: 4px;
    height: 60px;
    background: rgba(148, 163, 184, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    width: 100%;
    height: 0%;
    background: linear-gradient(to top, #38bdf8, #0ea5e9);
    border-radius: 2px;
    transition: height 0.1s ease;
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
}

.scroll-text {
    text-align: center;
    opacity: 1;
    transition: opacity 0.3s ease;
    background: rgba(30, 41, 59, 0.9);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(51, 65, 85, 0.5);
}

.scroll-text.hidden {
    opacity: 0;
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 10;
    background: linear-gradient(to bottom, #1e293b 0%, #0f172a 100%);
    min-height: 100vh;
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s ease;
}

.main-content.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .scroll-progress {
        bottom: 1rem;
        right: 1rem;
    }

    .scroll-text {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
    }

    .progress-bar {
        height: 40px;
        width: 3px;
    }

    .section-cta {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
}

/* Performance optimizations */
.mobile-optimized #lottie-container svg {
    image-rendering: optimizeSpeed;
    shape-rendering: optimizeSpeed;
}

.reduced-animations * {
    animation-duration: 0.5s !important;
    transition-duration: 0.3s !important;
}

.no-animations * {
    animation: none !important;
    transition: none !important;
}

.no-animations #lottie-container {
    background: static radial-gradient(circle at center, rgba(56, 189, 248, 0.1) 0%, transparent 70%);
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    .scroll-progress {
        display: none;
    }
}

/* Ensure no background effects on any element */
main, section, div {
    background-image: none !important;
}

/* Remove any pseudo-element backgrounds */
main::before,
main::after,
section::before,
section::after {
    display: none !important;
}

/* -------------------------------------------------------------------------- */
/* UTILITY CLASSES                                                             */
/* -------------------------------------------------------------------------- */
.bg-primary-bg { background-color: var(--primary-bg); }
.bg-surface-1 { background-color: var(--surface-1); }
.text-text-primary { color: var(--text-primary); }
.text-text-secondary { color: var(--text-secondary); }
.text-accent-primary { color: var(--accent-primary); }
.border-border-subtle { border-color: var(--border-subtle); }
.border-subtle { border-color: var(--border-subtle); }

/* -------------------------------------------------------------------------- */
/* Typography */
h1, h2, h3, h4, h5, h6 { margin: 0; font-weight: 700; }

h1 {
    font-size: clamp(1.75rem, 5vw, 3.5rem);
    line-height: 1.2;
    font-weight: 700;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    line-height: 1.25;
    font-weight: 700;
}

h3 {
    font-size: clamp(1.25rem, 3vw, 2rem);
    line-height: 1.3;
    font-weight: 700;
}

h4 {
    font-size: clamp(1.1rem, 2.5vw, 1.5rem);
    line-height: 1.35;
    font-weight: 600;
}

h5 {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.4;
    font-weight: 600;
}

h6 {
    font-size: clamp(0.9rem, 1.5vw, 1.1rem);
    line-height: 1.4;
    font-weight: 600;
}

/* Base text and paragraph sizing */
body {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
}

p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Small text elements */
.text-sm {
    font-size: clamp(0.75rem, 1.25vw, 0.875rem) !important;
}

.text-xs {
    font-size: clamp(0.65rem, 1vw, 0.75rem) !important;
}

/* Large text elements */
.text-lg {
    font-size: clamp(1rem, 1.75vw, 1.125rem) !important;
}

.text-xl {
    font-size: clamp(1.125rem, 2vw, 1.25rem) !important;
}

.text-2xl {
    font-size: clamp(1.25rem, 2.5vw, 1.5rem) !important;
}

.text-3xl {
    font-size: clamp(1.5rem, 3vw, 1.875rem) !important;
}

.text-4xl {
    font-size: clamp(1.75rem, 4vw, 2.25rem) !important;
}

.text-5xl {
    font-size: clamp(2rem, 5vw, 3rem) !important;
}

/* -------------------------------------------------------------------------- */
/* ENHANCED ABOUT SECTION STYLES */
/* ======================================================================== */

/* About section enhanced cards */
.about-story-card,
.about-location-card,
.about-mission-card,
.about-vision-card {
    backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

@media (min-width: 1025px) and (hover: hover) {
    .about-story-card:hover,
    .about-location-card:hover,
    .about-mission-card:hover,
    .about-vision-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3) !important;
        border-color: var(--accent-primary) !important;
    }
    
    .about-value-card:hover {
        transform: translateY(-3px) !important;
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3) !important;
        border-color: var(--accent-primary) !important;
    }
}

/* Value cards with consistent hover effects */
.about-value-card {
    padding: 2rem;
    border-radius: 1.5rem;
    background: linear-gradient(135deg, var(--surface-1) 0%, var(--primary-bg) 100%);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

/* Responsive adjustments for about section */
@media (max-width: 768px) {
    .about-story-card,
    .about-location-card,
    .about-mission-card,
    .about-vision-card {
        padding: 1.5rem;
    }
    
    .about-value-card {
        padding: 1.5rem;
    }
}

/* ======================================================================== */
/* -------------------------------------------------------------------------- */
.btn {
    cursor: pointer;
    font-weight: 600;
    border-radius: 0.375rem;
    padding: clamp(0.5rem, 1.5vw, 0.75rem) clamp(1rem, 3vw, 1.5rem);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    text-decoration: none;
    border: none;
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    text-align: center;
    min-width: clamp(120px, 15vw, 140px);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: clamp(0.25px, 0.5vw, 0.5px);
    line-height: 1.2;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn:active {
    transform: translateY(-1px);
    transition: all 0.1s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-primary), #3B82F6);
    color: var(--text-primary);
    border: 2px solid var(--accent-primary);
    position: relative;
    z-index: 1;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    opacity: 1;
}

.btn-primary:hover {
    border-color: #3B82F6;
    box-shadow: 0 12px 30px rgba(59, 130, 246, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-primary);
    color: var(--accent-primary);
    position: relative;
}

.btn-secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), #3B82F6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.btn-secondary:hover {
    color: var(--text-primary);
    border-color: #3B82F6;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.btn-secondary:hover::before {
    opacity: 1;
}

.card {
    background-color: var(--surface-1);
    border: 1px solid var(--border-subtle);
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    padding: clamp(1.5rem, 4vw, 2rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Desktop hover effects for cards */
@media (min-width: 1025px) and (hover: hover) {
    .card:hover {
        transform: translateY(-3px) !important;
        border-color: var(--accent-primary) !important;
        box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4) !important;
    }
}

/* -------------------------------------------------------------------------- */
/* TRUSTED BY INDUSTRY LEADERS SECTION                                        */
/* -------------------------------------------------------------------------- */

.trusted-by-section {
    background: #000000;
    border-top: 1px solid #374151;
    border-bottom: 1px solid #374151;
    overflow: hidden;
    position: relative;
}

.logo-carousel-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 10%,
        black 90%,
        transparent 100%
    );
}

.logo-carousel {
    display: flex;
    width: fit-content;
    animation: infiniteScroll 30s linear infinite;
    gap: clamp(48px, 8vw, 80px);
    align-items: center;
    padding: 0 clamp(24px, 4vw, 40px);
}

.logo-item {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    height: clamp(80px, 12vw, 120px);
    min-width: clamp(160px, 25vw, 220px);
}

.client-logo {
    max-height: clamp(60px, 9vw, 90px);
    max-width: clamp(140px, 22vw, 200px);
    width: auto;
    height: auto;
    object-fit: contain;
    filter: brightness(1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0.9;
}

.client-logo:hover {
    filter: brightness(1.1);
    opacity: 1;
    transform: scale(1.1);
}

@keyframes infiniteScroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .logo-carousel {
        animation-duration: 25s;
        gap: clamp(32px, 6vw, 48px);
    }
    
    .logo-item {
        min-width: clamp(120px, 20vw, 160px);
        height: clamp(70px, 10vw, 90px);
    }
    
    .client-logo {
        max-height: clamp(50px, 8vw, 70px);
        max-width: clamp(100px, 18vw, 140px);
    }
}

@media (max-width: 480px) {
    .logo-carousel {
        animation-duration: 20s;
        gap: clamp(30px, 6.3vw, 46px);
    }
    
    .logo-item {
        min-width: clamp(127px, 23vw, 177px);
        height: clamp(76px, 11.5vw, 101px);
    }
    
    .client-logo {
        max-height: clamp(51px, 8.9vw, 76px);
        max-width: clamp(101px, 19vw, 152px);
    }
}

/* Continuous animation - no pauses on interaction */

/* Enhanced fade effect for premium feel */
.logo-carousel-container::before,
.logo-carousel-container::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    width: clamp(40px, 8vw, 80px);
    z-index: 2;
    pointer-events: none;
}

.logo-carousel-container::before {
    left: 0;
    background: linear-gradient(to right, #000000, transparent);
}

.logo-carousel-container::after {
    right: 0;
    background: linear-gradient(to left, #000000, transparent);
}

/* -------------------------------------------------------------------------- */
/* LAYOUT & STRUCTURE                                                          */
/* -------------------------------------------------------------------------- */
.header-bg {
    background-color: rgba(26, 26, 29, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(64, 64, 64, 0.3);
}

/* Full-Screen Hero Section */
.hero-fullscreen {
    min-height: 100vh;
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-bg) 0%, rgba(37, 37, 41, 0.9) 100%);
    padding: clamp(1rem, 3vw, 1.5rem);
    padding-top: clamp(80px, 12vh, 100px);
}

/* Section padding responsive */
section {
    padding: clamp(3rem, 8vw, 6rem) 0;
}

/* Container responsive */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 clamp(1rem, 3vw, 1.5rem);
}

.hero-title {
    font-size: clamp(2rem, 8vw, 5rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: clamp(1.5rem, 4vw, 2rem);
    background: linear-gradient(135deg, var(--text-primary), var(--silver));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 4px 20px rgba(192, 192, 192, 0.3);
    text-align: center;
}

.hero-subtitle {
    font-size: clamp(0.875rem, 2.5vw, 1.25rem);
    opacity: 0.9;
    line-height: 1.6;
    text-align: center;
    max-width: 100%;
}

.hero-buttons {
    margin-top: clamp(2rem, 5vw, 3rem);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    width: 100%;
}

/* Mobile-specific hero content layout */
@media (max-width: 768px) {
    .hero-buttons {
        flex-direction: column;
        gap: clamp(0.75rem, 2vw, 1rem);
        width: 100%;
    }
    
    .hero-buttons .btn {
        width: 100%;
        max-width: 280px;
    }
}

@media (min-width: 640px) {
    .hero-buttons {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
    }
    
    .hero-buttons .btn {
        width: auto;
    }
}

/* Particle Canvas */
#particle-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Responsive Hero Adjustments */
@media (max-width: 768px) {
    .hero-fullscreen {
        height: 100vh;
        min-height: 100vh;
        padding: clamp(1rem, 3vw, 1.5rem);
        padding-top: clamp(60px, 6vh, 70px);
        padding-bottom: clamp(20px, 3vh, 30px);
        justify-content: center;
        align-items: center;
    }
    
    .hero-fullscreen .container {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        text-align: center;
        height: 100%;
        width: 100%;
        padding: 0 clamp(1rem, 4vw, 1.5rem);
    }
    
    .hero-fullscreen .max-w-4xl {
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }
    
    .hero-title {
        font-size: clamp(1.75rem, 8vw, 3rem);
        margin-bottom: clamp(1rem, 3vh, 1.5rem);
        line-height: 1.1;
    }
    
    .hero-subtitle {
        font-size: clamp(0.875rem, 3.5vw, 1.1rem);
        margin-bottom: clamp(1.5rem, 4vh, 2rem);
        max-width: 90%;
    }
    
    .hero-buttons {
        margin-top: clamp(1rem, 3vh, 1.5rem);
        width: 100%;
        display: flex;
        flex-direction: column;
        gap: clamp(0.75rem, 2vh, 1rem);
        align-items: center;
    }
    
    .hero-buttons .btn {
        font-size: clamp(0.75rem, 2.5vw, 0.875rem);
        padding: clamp(0.625rem, 2vh, 0.75rem) clamp(1.25rem, 5vw, 1.5rem);
        width: 100%;
        max-width: 280px;
        min-width: auto;
    }
}

@media (max-width: 480px) {
    .hero-fullscreen {
        height: 100vh;
        min-height: 100vh;
        padding: clamp(0.75rem, 2vw, 1rem);
        padding-top: clamp(55px, 6vh, 65px);
        padding-bottom: clamp(15px, 2vh, 25px);
    }
    
    .hero-fullscreen .container {
        height: calc(100vh - clamp(55px, 6vh, 65px) - clamp(15px, 2vh, 25px));
        padding: 0 clamp(0.75rem, 3vw, 1rem);
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: clamp(1.5rem, 10vw, 2.5rem);
        margin-bottom: clamp(0.75rem, 2vh, 1rem);
        line-height: 1.0;
    }
    
    .hero-subtitle {
        font-size: clamp(0.8rem, 4vw, 1rem);
        margin-bottom: clamp(1rem, 3vh, 1.5rem);
        line-height: 1.4;
        max-width: 95%;
    }
    
    .hero-buttons {
        margin-top: clamp(0.75rem, 2vh, 1rem);
        gap: clamp(0.5rem, 1.5vh, 0.75rem);
    }
    
    .hero-buttons .btn {
        font-size: clamp(0.7rem, 2.25vw, 0.8rem);
        padding: clamp(0.5rem, 1.5vh, 0.625rem) clamp(1rem, 4vw, 1.25rem);
        max-width: 250px;
        letter-spacing: clamp(0.25px, 0.5vw, 0.5px);
    }
}

/* Industrial Header Styling */
.industrial-header {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.98), rgba(26, 26, 26, 0.98));
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
    position: relative;
}

.industrial-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--accent-primary), transparent);
    opacity: 0.8;
}

/* Industrial Navigation Links */
.industrial-nav-link {
    position: relative;
    padding: clamp(8px, 1.5vw, 12px) clamp(12px, 2vw, 16px);
    display: flex;
    align-items: center;
    min-height: clamp(40px, 6vw, 44px);
    border-radius: 8px;
    overflow: hidden;
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.industrial-nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), #3B82F6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.industrial-nav-link:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

.industrial-nav-link:hover::before {
    opacity: 0.1;
}

.industrial-nav-link:hover span {
    color: var(--accent-primary);
}

.industrial-nav-link:hover .absolute {
    width: 100% !important;
    background: var(--accent-primary);
}

.industrial-nav-link span {
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    letter-spacing: clamp(0.5px, 0.75vw, 1px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
}

/* Industrial CTA Button */
.industrial-cta-btn {
    background: linear-gradient(135deg, var(--accent-primary), #3B82F6);
    color: var(--text-primary);
    padding: clamp(10px, 2vw, 14px) clamp(20px, 4vw, 28px);
    border-radius: 8px;
    border: 2px solid var(--accent-primary);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.75vw, 1px);
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    position: relative;
    overflow: hidden;
    z-index: 1;
    min-width: clamp(100px, 12vw, 120px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.industrial-cta-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.industrial-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    border-color: #3B82F6;
}

.industrial-cta-btn:hover::before {
    opacity: 1;
}

/* Industrial Mobile Menu Button */
.industrial-mobile-btn {
    background: var(--surface-1);
    border: 2px solid var(--accent-primary);
    padding: clamp(8px, 2vw, 12px);
    color: var(--accent-primary);
    position: relative;
    overflow: hidden;
    min-width: clamp(40px, 8vw, 48px);
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

.industrial-mobile-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--accent-primary), #3B82F6);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.industrial-mobile-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    color: var(--text-primary);
    border-color: #3B82F6;
}

.industrial-mobile-btn:hover::before {
    opacity: 1;
}

/* Enhanced header navigation */
.nav-link {
    position: relative;
    font-weight: 500;
    font-size: clamp(0.75rem, 1.25vw, 0.95rem);
}

/* Logo styling with hover animations */
.logo-gradient {
    background: linear-gradient(135deg, var(--accent-primary), #fbbf24);
}

/* Main Logo Hover Effects */
#main-logo {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    display: inline-block;
}

#main-logo:hover {
    transform: translateY(-3px);
}

#main-logo img {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    filter: brightness(1);
}

#main-logo:hover img {
    filter: brightness(1.1) drop-shadow(0 4px 8px rgba(37, 99, 235, 0.2));
}

/* Typography Enhancement for Industrial Look */
.letterspacing {
    letter-spacing: clamp(1px, 1.5vw, 2px);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    font-size: clamp(1.25rem, 3vw, 1.5rem);
}

/* Enhanced mobile menu */
#mobile-menu {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
}

/* Industrial Mobile Menu Links */
.industrial-mobile-link {
    padding: clamp(16px, 4vw, 20px) clamp(24px, 6vw, 32px);
    position: relative;
    display: block;
    border: 2px solid transparent;
    background: rgba(37, 37, 41, 0.6);
    border-radius: 12px;
    min-width: clamp(180px, 25vw, 200px);
    text-align: center;
    backdrop-filter: blur(15px);
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

.industrial-mobile-link span {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    letter-spacing: clamp(1px, 1.5vw, 2px);
}

/* Industrial Mobile CTA Button */
.industrial-mobile-cta {
    background: linear-gradient(135deg, var(--accent-primary), #3B82F6);
    color: var(--text-primary);
    padding: clamp(12px, 3vw, 16px) clamp(20px, 5vw, 28px);
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: clamp(6px, 1.5vw, 10px);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: clamp(0.5px, 0.75vw, 1px);
    font-size: clamp(0.75rem, 1.8vw, 0.95rem);
    position: relative;
    overflow: hidden;
    width: clamp(180px, 45vw, 220px);
    max-width: 90vw;
    text-align: center;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    text-decoration: none;
}

.industrial-mobile-cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #3B82F6, #1D4ED8);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.industrial-mobile-cta:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    border-color: #3B82F6;
}

.industrial-mobile-cta:hover::before {
    opacity: 1;
}

.industrial-mobile-cta svg {
    transition: transform 0.3s ease;
}

.industrial-mobile-cta:hover svg {
    transform: rotate(10deg) scale(1.1);
}

/* Mobile CTA Button Responsive Fixes */
@media (max-width: 480px) {
    .industrial-mobile-cta {
        width: clamp(160px, 80vw, 200px);
        padding: clamp(10px, 2.5vw, 14px) clamp(16px, 4vw, 20px);
        font-size: clamp(0.7rem, 3.5vw, 0.85rem);
        gap: clamp(4px, 1vw, 6px);
        letter-spacing: clamp(0.25px, 0.5vw, 0.75px);
    }
    
    .industrial-mobile-cta svg {
        width: clamp(16px, 4vw, 20px);
        height: clamp(16px, 4vw, 20px);
    }
    
    .industrial-mobile-cta span {
        flex: 1;
        text-align: center;
    }
}

@media (max-width: 360px) {
    .industrial-mobile-cta {
        width: clamp(140px, 85vw, 180px);
        padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 16px);
        font-size: clamp(0.65rem, 3.8vw, 0.8rem);
        gap: clamp(3px, 0.8vw, 5px);
    }
    
    .industrial-mobile-cta svg {
        width: clamp(14px, 3.5vw, 18px);
        height: clamp(14px, 3.5vw, 18px);
    }
}

/* -------------------------------------------------------------------------- */
/* FOOTER STYLES                                                     */
/* -------------------------------------------------------------------------- */
footer {
    position: relative;
    background: var(--surface-primary);
    color: var(--text-secondary);
}

/* Social Media Icons - Modern Design */
.social-icon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 0.75rem;
    background: rgba(37, 99, 235, 0.1);
    border: 2px solid rgba(37, 99, 235, 0.3);
    color: var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.social-icon-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--accent-primary);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.social-icon-link:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: var(--accent-primary);
    box-shadow: 0 8px 25px rgba(37, 99, 235, 0.4);
}

.social-icon-link:hover::before {
    opacity: 0.1;
}

.social-icon-link:hover svg {
    transform: scale(1.1);
    transition: transform 0.3s ease;
}

/* Platform-specific hover colors */
.youtube-icon:hover {
    border-color: #ff0000;
    box-shadow: 0 8px 25px rgba(255, 0, 0, 0.3);
    color: #ff0000;
}

.youtube-icon:hover::before {
    background: #ff0000;
}

.instagram-icon:hover {
    border-color: #e4405f;
    box-shadow: 0 8px 25px rgba(228, 64, 95, 0.3);
    color: #e4405f;
}

.instagram-icon:hover::before {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.email-icon:hover {
    border-color: #fbbf24;
    box-shadow: 0 8px 25px rgba(251, 191, 36, 0.3);
    color: #fbbf24;
}

.email-icon:hover::before {
    background: #fbbf24;
}

.linkedin-icon:hover {
    border-color: #0077b5;
    box-shadow: 0 8px 25px rgba(0, 119, 181, 0.3);
    color: #0077b5;
}

.linkedin-icon:hover::before {
    background: #0077b5;
}

.whatsapp-icon:hover {
    border-color: #25d366;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    color: #25d366;
}

.whatsapp-icon:hover::before {
    background: #25d366;
}

/* Mobile responsive adjustments */
@media (max-width: 768px) {
    .social-icon-link {
        width: 2.25rem;
        height: 2.25rem;
        border-radius: 0.5rem;
    }
    
    .social-icon-link svg {
        width: 1.125rem;
        height: 1.125rem;
    }
}

@media (max-width: 480px) {
    .social-icon-link {
        width: 2rem;
        height: 2rem;
        border-radius: 0.375rem;
    }
    
    .social-icon-link svg {
        width: 1rem;
        height: 1rem;
    }
}

/* Accessibility improvements */
.social-icon-link:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

.social-icon-link:focus-visible {
    transform: translateY(-2px) scale(1.02);
}

/* Footer CTA Section */
.footer-cta-section {
    background: var(--surface-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
    border-radius: 12px;
    padding: clamp(24px, 5vw, 32px);
    border: 2px solid var(--accent-primary);
    position: relative;
    overflow: hidden;
}

.footer-cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.05), rgba(59, 130, 246, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.footer-cta-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.2);
    border-color: #3B82F6;
}

.footer-cta-section:hover::before {
    opacity: 1;
}

/* Footer Link Effects */
footer a {
    position: relative;
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: inline-block;
}

footer a:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Footer Group Elements (Social Media) */
footer .group {
    position: relative;
    background: var(--surface-secondary);
    border: 2px solid var(--accent-primary);
    border-radius: 8px;
    padding: 16px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .group:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border-color: #3B82F6;
}

footer .group:hover svg {
    transform: scale(1.1);
    color: var(--text-primary);
    transition: all 0.3s ease;
}

/* Footer Button Styles */
footer .btn {
    position: relative;
    background: var(--accent-primary);
    color: var(--text-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

footer .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    border-color: #3B82F6;
}

/* Footer Section Headers */
footer h4 {
    position: relative;
    color: var(--text-primary);
}

footer h4 .w-1 {
    background: var(--accent-primary);
}

/* Contact Info Icon Styles */
footer .w-8.h-8 {
    color: var(--accent-primary);
    border: 2px solid var(--accent-primary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    position: relative;
}

footer .w-8.h-8:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4);
    color: var(--text-primary);
    background: var(--accent-primary);
    border-color: #3B82F6;
}

/* Footer Bottom Section */
footer .border-t {
    position: relative;
    border-top: 1px solid var(--border-subtle);
}

/* Footer Bottom Links */
footer .text-xs a {
    padding: 2px 4px;
    border-radius: 3px;
    color: var(--text-secondary);
}

/* Mobile menu styles */
#mobile-menu-btn {
    background-color: var(--surface-1);
    border: 1px solid var(--border-subtle);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateY(0);
}

#mobile-menu-btn:hover {
    background-color: var(--accent-primary);
    color: var(--text-primary);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border-color: #3B82F6;
}

#mobile-menu {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.mobile-menu-link {
    color: var(--text-secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(0);
    display: inline-block;
    position: relative;
}

.mobile-menu-link:hover {
    color: var(--accent-primary);
    transform: translateY(-3px);
}

/* Timeline container - no animations */
.timeline-container {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 clamp(16px, 3vw, 20px);
}

.timeline-container::after {
    content: '';
    position: absolute;
    width: 3px;
    background-color: var(--border-subtle);
    top: 0;
    bottom: 0;
    left: 50%;
    margin-left: -1.5px;
}

.timeline-item {
    padding: clamp(8px, 2vw, 10px) clamp(32px, 6vw, 40px);
    position: relative;
    background-color: inherit;
    width: 50%;
    opacity: 1;
    transform: translateY(0);
}

.timeline-item.left {
    left: 0;
}

.timeline-item.right {
    left: 50%;
}

.timeline-item::after {
    content: '';
    position: absolute;
    width: clamp(20px, 4vw, 25px);
    height: clamp(20px, 4vw, 25px);
    right: clamp(-10px, -2vw, -12.5px);
    background-color: var(--primary-bg);
    border: 3px solid var(--accent-primary);
    top: clamp(12px, 2.5vw, 15px);
    border-radius: 50%;
    z-index: 1;
    transform: scale(1);
}

.timeline-item.right::after {
    left: clamp(-10px, -2vw, -12.5px);
}

.timeline-content {
    padding: clamp(16px, 4vw, 20px) clamp(24px, 5vw, 30px);
    background-color: var(--surface-1);
    position: relative;
    border-radius: 8px;
    border: 1px solid var(--border-subtle);
}

.timeline-content h3 {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    margin-bottom: clamp(8px, 1.5vw, 12px);
}

.timeline-content p {
    font-size: clamp(0.875rem, 1.5vw, 1rem);
}

/* Tech card styles with consistent animations */
.tech-card {
    background-color: var(--surface-1);
    border: 1px solid var(--border-subtle);
    position: relative;
    border-radius: 8px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    padding: clamp(1.5rem, 4vw, 2rem);
}

.tech-card:hover {
    transform: translateY(-3px) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3) !important;
}

.tech-card h3 {
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
    font-size: clamp(1rem, 2.5vw, 1.25rem);
}

@media (min-width: 1025px) and (hover: hover) {
    .tech-card:hover h3 {
        color: var(--accent-primary) !important;
    }
}

/* Service icons with consistent animations */
.service-icon {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: clamp(1rem, 3vw, 1.5rem);
}

.service-icon svg {
    width: clamp(3rem, 8vw, 4rem);
    height: clamp(3rem, 8vw, 4rem);
    filter: drop-shadow(0 4px 8px rgba(37, 99, 235, 0.3));
    transition: filter 0.3s ease;
}

.card:hover .service-icon {
    transform: translateY(-3px);
}

.card:hover .service-icon svg {
    filter: drop-shadow(0 8px 16px rgba(37, 99, 235, 0.5));
}

/* Form styles with enhanced animations */
form input,
form textarea {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    border: 2px solid var(--border-subtle);
    font-size: clamp(0.875rem, 1.5vw, 1rem);
    padding: clamp(8px, 2vw, 12px) clamp(12px, 3vw, 16px);
}

form input:focus,
form textarea:focus {
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.2);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
}

form input:hover,
form textarea:hover {
    border-color: rgba(37, 99, 235, 0.5);
    transform: translateY(-1px);
}

form label {
    transition: all 0.2s ease;
    font-size: clamp(0.75rem, 1.25vw, 0.875rem);
    font-weight: 500;
}

form input:focus + label,
form textarea:focus + label {
    color: var(--accent-primary);
    transform: scale(0.95);
}

/* -------------------------------------------------------------------------- */
/* MOBILE AUTO GLOW ANIMATION                                                  */
/* -------------------------------------------------------------------------- */

/* Base transition for all glow elements on mobile/tablet */
@media (max-width: 1024px) {
    .about-story-card,
    .about-location-card,
    .about-mission-card,
    .about-vision-card,
    .about-value-card,
    .card,
    .tech-card,
    .contact-form-container,
    .contact-info-container,
    .footer-cta-section {
        transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
}

/* Auto glow animation for mobile/tablet devices */
.mobile-auto-glow {
    transform: translateY(-3px) !important;
    border-color: var(--accent-primary) !important;
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.4) !important;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Enhanced mobile glow for specific card types */
.mobile-auto-glow.about-story-card,
.mobile-auto-glow.about-location-card,
.mobile-auto-glow.about-mission-card,
.mobile-auto-glow.about-vision-card,
.mobile-auto-glow.about-value-card {
    background: linear-gradient(135deg, var(--surface-1) 0%, rgba(37, 99, 235, 0.1) 50%, var(--primary-bg) 100%) !important;
}

.mobile-auto-glow.card,
.mobile-auto-glow.tech-card {
    background: linear-gradient(135deg, var(--surface-1) 0%, rgba(37, 99, 235, 0.05) 100%) !important;
}

/* Contact section mobile glow enhancement */
.mobile-auto-glow.contact-form-container,
.mobile-auto-glow.contact-info-container {
    backdrop-filter: blur(25px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    background: rgba(37, 99, 235, 0.1) !important;
}

/* Footer CTA mobile glow */
.mobile-auto-glow.footer-cta-section::before {
    opacity: 1 !important;
}

/* Disable auto glow on larger screens to preserve hover effects */
@media (min-width: 1025px) {
    .mobile-auto-glow {
        animation: none !important;
        transform: none !important;
        border-color: var(--border-subtle) !important;
        box-shadow: none !important;
        background: initial !important;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    }
    
    .mobile-auto-glow.about-story-card,
    .mobile-auto-glow.about-location-card,
    .mobile-auto-glow.about-mission-card,
    .mobile-auto-glow.about-vision-card,
    .mobile-auto-glow.about-value-card {
        background: linear-gradient(135deg, var(--surface-1) 0%, var(--primary-bg) 100%) !important;
    }
    
    .mobile-auto-glow.card,
    .mobile-auto-glow.tech-card {
        background-color: var(--surface-1) !important;
    }
    
    .mobile-auto-glow.contact-form-container,
    .mobile-auto-glow.contact-info-container {
        backdrop-filter: blur(20px) !important;
        -webkit-backdrop-filter: blur(20px) !important;
        background: initial !important;
    }
    
    .mobile-auto-glow.footer-cta-section::before {
        opacity: 0 !important;
    }
}

/* -------------------------------------------------------------------------- */
/* STATIC ELEMENTS - NO ANIMATIONS                                             */
/* -------------------------------------------------------------------------- */

/* All elements are visible by default */
.animate-on-scroll,
.fade-in-left,
.fade-in-right,
.scale-in,
.stagger-animation {
    opacity: 1;
    transform: none;
    transition: none;
}

/* -------------------------------------------------------------------------- */
/* RESPONSIVE DESIGN                                                           */
/* -------------------------------------------------------------------------- */

/* Industrial Header Responsive Adjustments */
@media (max-width: 768px) {
    .industrial-header {
        padding: clamp(0.5rem, 1.5vw, 0.75rem) 0;
    }
    
    .letterspacing {
        letter-spacing: clamp(0.5px, 1vw, 1px);
        font-size: clamp(1.25rem, 3vw, 1.5rem);
    }
    
    .industrial-header .border-l-2 {
        border-left-width: 1px;
        padding-left: clamp(0.5rem, 1.5vw, 0.75rem);
    }
    
    .industrial-cta-btn {
        padding: clamp(8px, 2vw, 12px) clamp(16px, 3vw, 24px);
        font-size: clamp(0.7rem, 1.1vw, 0.8rem);
        min-width: clamp(90px, 10vw, 110px);
    }
}

/* Small devices (landscape phones, 576px and up) */
@media (max-width: 576px) {
    .container {
        padding-left: clamp(0.75rem, 3vw, 1rem);
        padding-right: clamp(0.75rem, 3vw, 1rem);
    }
    
    .btn {
        width: 100%;
        margin-bottom: clamp(0.375rem, 1vw, 0.5rem);
        font-size: clamp(0.75rem, 2vw, 0.875rem);
        padding: clamp(0.5rem, 2vw, 0.625rem) clamp(1rem, 4vw, 1.25rem);
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: clamp(16px, 4vw, 20px);
        padding-right: clamp(16px, 4vw, 20px);
    }
    
    .timeline-item::after {
        left: clamp(-10px, -2vw, -12.5px) !important;
        width: clamp(16px, 3vw, 20px);
        height: clamp(16px, 3vw, 20px);
    }
    
    .timeline-container::after {
        left: clamp(12px, 2.5vw, 15px);
    }
    
    /* Mobile-specific text sizing */
    h1 {
        font-size: clamp(1.5rem, 8vw, 2.5rem) !important;
    }
    
    h2 {
        font-size: clamp(1.25rem, 6vw, 2rem) !important;
    }
    
    h3 {
        font-size: clamp(1.1rem, 5vw, 1.5rem) !important;
    }
    
    p, .text-lg {
        font-size: clamp(0.875rem, 2.5vw, 1rem) !important;
    }
}

/* Medium devices (tablets, 768px and up) */
@media (max-width: 768px) {
    .grid {
        grid-template-columns: 1fr !important;
        gap: clamp(0.75rem, 2vw, 1rem);
    }
    
    .timeline-item {
        width: 100%;
        left: 0 !important;
        padding-left: clamp(16px, 4vw, 20px);
        padding-right: clamp(16px, 4vw, 20px);
    }
    
    .timeline-item::after {
        left: clamp(-10px, -2vw, -12.5px) !important;
        width: clamp(18px, 3.5vw, 22px);
        height: clamp(18px, 3.5vw, 22px);
    }
    
    .timeline-container::after {
        left: clamp(12px, 2.5vw, 15px);
    }
    
    .tech-card {
        margin-bottom: clamp(0.75rem, 2vw, 1rem);
        padding: clamp(1.25rem, 3vw, 1.5rem);
    }
    
    /* Tablet-specific navigation */
    .industrial-nav-link span {
        font-size: clamp(0.75rem, 1.5vw, 0.875rem);
    }
    
    /* Card spacing and sizing */
    .card {
        padding: clamp(1.5rem, 4vw, 2rem) !important;
    }
    
    .service-icon svg {
        width: clamp(3rem, 8vw, 4rem);
        height: clamp(3rem, 8vw, 4rem);
    }
}

/* Large devices (desktops, 992px and up) */
@media (min-width: 992px) {
    .container {
        max-width: 1200px;
    }
    
    /* Desktop optimization */
    .btn {
        font-size: 1rem;
        padding: 0.75rem 1.5rem;
    }
    
    .hero-title {
        font-size: clamp(3rem, 6vw, 5rem);
    }
    
    .hero-subtitle {
        font-size: clamp(1.125rem, 2vw, 1.25rem);
    }
}

/* Extra large devices (large desktops, 1200px and up) */
@media (min-width: 1200px) {
    .container {
        max-width: 1400px;
    }
    
    /* Large desktop optimization */
    .hero-title {
        font-size: clamp(4rem, 5vw, 5rem);
    }
    
    .btn {
        font-size: 1.0625rem;
        padding: 0.875rem 1.75rem;
    }
}

/* Extra small devices (very small phones, below 400px) */
@media (max-width: 400px) {
    .hero-fullscreen {
        height: 100vh;
        min-height: 100vh;
        padding: 0.5rem;
        padding-top: clamp(50px, 5vh, 60px);
        padding-bottom: clamp(10px, 2vh, 20px);
    }
    
    .hero-fullscreen .container {
        height: calc(100vh - clamp(50px, 5vh, 60px) - clamp(10px, 2vh, 20px));
        padding: 0 0.75rem;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }
    
    .hero-title {
        font-size: clamp(1.25rem, 12vw, 2rem);
        line-height: 1.0;
        margin-bottom: clamp(0.5rem, 2vh, 0.75rem);
        text-align: center;
    }
    
    .hero-subtitle {
        font-size: clamp(0.75rem, 4.5vw, 0.875rem);
        margin-bottom: clamp(0.75rem, 2.5vh, 1rem);
        line-height: 1.3;
        text-align: center;
        max-width: 100%;
    }
    
    .hero-buttons {
        margin-top: clamp(0.5rem, 1.5vh, 0.75rem);
        gap: clamp(0.5rem, 1vh, 0.625rem);
        width: 100%;
    }
    
    .btn {
        font-size: clamp(0.65rem, 2.5vw, 0.75rem);
        padding: clamp(0.4rem, 1.25vh, 0.5rem) clamp(0.8rem, 3.5vw, 1rem);
        min-width: clamp(90px, 22vw, 110px);
        max-width: 220px;
        width: 100%;
        letter-spacing: clamp(0.15px, 0.4vw, 0.25px);
    }
    
    .industrial-mobile-link {
        min-width: clamp(140px, 32vw, 160px);
        padding: clamp(10px, 2.5vw, 12px) clamp(16px, 4vw, 20px);
    }
    
    .industrial-mobile-link span {
        font-size: clamp(0.75rem, 2.75vw, 0.875rem);
    }
    
    .timeline-content {
        padding: clamp(10px, 2.5vw, 12px) clamp(14px, 3.5vw, 16px);
    }
    
    .tech-card {
        padding: clamp(0.875rem, 2.5vw, 1rem);
    }
}

/* -------------------------------------------------------------------------- */
/* ACCESSIBILITY                                                               */
/* -------------------------------------------------------------------------- */

/* Navigation active states */
.nav-link.active,
.industrial-nav-link.active {
    color: var(--accent-primary) !important;
}

.nav-link.active .absolute,
.industrial-nav-link.active .absolute {
    width: 100% !important;
}

/* Focus styles for accessibility with blue accent */
a:focus,
button:focus,
input:focus,
textarea:focus {
    outline: 2px solid var(--accent-primary);
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --border-subtle: #FFFFFF;
        --text-secondary: #FFFFFF;
    }
}

/* Dark mode support (already implemented) */
@media (prefers-color-scheme: dark) {
    /* Our design is already dark, so we maintain consistency */
}

/* -------------------------------------------------------------------------- */
/* PRINT STYLES                                                                */
/* -------------------------------------------------------------------------- */
@media print {
    body {
        background: white;
        color: black;
        font-size: 12pt;
        line-height: 1.5;
    }
    
    .header-bg,
    #mobile-menu,
    #mobile-menu-btn,
    #loading-spinner,
    .scroll-indicator {
        display: none;
    }
    
    .btn {
        border: 1px solid black;
        background: white;
        color: black;
        font-size: 10pt;
        padding: 0.25rem 0.5rem;
    }
    
    h1, h2, h3, h4, h5, h6 {
        color: black;
        break-after: avoid;
    }
    
    .hero-title {
        font-size: 18pt;
        color: black;
        background: none;
        -webkit-text-fill-color: black;
    }
    
    .container {
        max-width: 100%;
        padding: 0 1rem;
    }
    
    .card {
        border: 1px solid #ccc;
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* -------------------------------------------------------------------------- */
/* ADDITIONAL RESPONSIVE UTILITIES                                             */
/* -------------------------------------------------------------------------- */

/* Responsive gap utilities */
.gap-responsive {
    gap: clamp(0.5rem, 2vw, 1rem);
}

.gap-responsive-lg {
    gap: clamp(1rem, 3vw, 2rem);
}

/* Responsive margin utilities */
.mb-responsive {
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

.mt-responsive {
    margin-top: clamp(1rem, 3vw, 2rem);
}

.my-responsive {
    margin-top: clamp(1rem, 3vw, 2rem);
    margin-bottom: clamp(1rem, 3vw, 2rem);
}

/* Responsive padding utilities */
.p-responsive {
    padding: clamp(1rem, 3vw, 2rem);
}

.px-responsive {
    padding-left: clamp(1rem, 3vw, 2rem);
    padding-right: clamp(1rem, 3vw, 2rem);
}

.py-responsive {
    padding-top: clamp(1rem, 3vw, 2rem);
    padding-bottom: clamp(1rem, 3vw, 2rem);
}

/* Responsive width utilities */
.w-responsive {
    width: clamp(280px, 90vw, 500px);
}

.max-w-responsive {
    max-width: clamp(280px, 90vw, 800px);
}

/* Responsive flex utilities */
.flex-responsive {
    display: flex;
    flex-direction: column;
    gap: clamp(0.5rem, 2vw, 1rem);
}

@media (min-width: 640px) {
    .flex-responsive {
        flex-direction: row;
    }
}

/* Contact section styles */
#contact {
    position: relative;
    background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
    min-height: 100vh;
}

/* Contact form and info containers */
.contact-form-container,
.contact-info-container {
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.contact-form-container:hover,
.contact-info-container:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
    border-color: var(--accent-primary);
}

/* Enhanced form inputs */
#contact input,
#contact textarea {
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact input:focus,
#contact textarea:focus {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.3);
}

/* Enhanced button for contact section */
#contact .btn-primary {
    background: linear-gradient(135deg, #2563EB 0%, #3B82F6 100%);
    border: none;
    box-shadow: 0 10px 30px rgba(37, 99, 235, 0.4);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#contact .btn-primary:hover {
    background: linear-gradient(135deg, #1D4ED8 0%, #2563EB 100%);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.6);
    transform: translateY(-3px);
}

/* Contact info icons */
.contact-info-container .w-12 {
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.3);
    transition: all 0.3s ease;
}

.contact-info-container .w-12:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(37, 99, 235, 0.5);
}

/* Responsive adjustments for contact section */
@media (max-width: 768px) {
    #contact {
        min-height: 100vh;
        padding: 2rem 0;
    }
    
    .contact-form-container,
    .contact-info-container {
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        margin-bottom: 2rem;
        padding: 1.5rem;
        background: rgba(0, 0, 0, 0.4) !important;
    }
}

@media (max-width: 480px) {
    #contact {
        padding: 1.5rem 0;
    }
    
    .contact-form-container,
    .contact-info-container {
        padding: 1.25rem;
        background: rgba(0, 0, 0, 0.5) !important;
        backdrop-filter: blur(15px);
    }
    
    #contact h2,
    #contact h3,
    #contact h4 {
        text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);
    }
    
    #contact p,
    #contact label {
        text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
    }
}
