/* ===================================
   AMP-Optimized Reset & Base Styles
   =================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===================================
   Engineering Preloader
   =================================== */
.preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.preloader-content {
    text-align: center;
    position: relative;
}

.preloader-logo {
    margin-bottom: 30px;
    animation: fadeInScale 0.8s ease;
}

.preloader-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 4px 20px rgba(255, 69, 0, 0.4));
}

.preloader-gears {
    position: relative;
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
}

.gear {
    position: absolute;
    will-change: transform;
}

.gear-large {
    width: 120px;
    height: 120px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: rotateGear 3s linear infinite;
}

.gear-small {
    width: 80px;
    height: 80px;
}

.gear-top {
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: rotateGearReverse 2s linear infinite;
}

.gear-bottom {
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: rotateGearReverse 2.5s linear infinite;
}

.gear-svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 2px 10px rgba(255, 69, 0, 0.3));
}

@keyframes rotateGear {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

@keyframes rotateGearReverse {
    from {
        transform: translateX(-50%) rotate(360deg);
    }
    to {
        transform: translateX(-50%) rotate(0deg);
    }
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.preloader-text {
    margin-top: 20px;
}

.preloader-text h3 {
    color: var(--white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.preloader-progress {
    width: 200px;
    height: 4px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    overflow: hidden;
    margin: 0 auto;
    position: relative;
}

.preloader-progress-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary-orange) 0%, var(--orange-light) 100%);
    border-radius: 10px;
    transition: width 0.3s ease;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
    animation: progressPulse 1.5s ease infinite;
}

@keyframes progressPulse {
    0%, 100% {
        box-shadow: 0 0 10px rgba(255, 69, 0, 0.6);
    }
    50% {
        box-shadow: 0 0 20px rgba(255, 69, 0, 0.8);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure elements are visible by default - JS will enable animations */
.service-card,
.industry-card,
.philosophy-card,
.why-card,
.stat-card,
.gallery-item-creative,
.showcase-card {
    opacity: 1;
    transform: none;
}

/* Only apply animations when JS has loaded */
.js-loaded .service-card,
.js-loaded .industry-card,
.js-loaded .philosophy-card,
.js-loaded .why-card,
.js-loaded .stat-card,
.js-loaded .gallery-item-creative,
.js-loaded .showcase-card {
    /* JS will override these for animations */
}

/* Performance optimizations for AMP */
img {
    max-width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: crisp-edges;
}

/* Will-change hints for animations (only when needed) */
.hero, .service-card, .project-card, .showcase-card {
    will-change: transform;
    transform: translateZ(0); /* GPU acceleration */
}

/* ===================================
   World-Class Visual Enhancements
   =================================== */

/* SCROLL LOADER BAR - Fills as you scroll like a loading bar */
.scroll-progress-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    height: 6px;
    background: linear-gradient(90deg, rgba(0, 51, 102, 0.2), rgba(0, 51, 102, 0.3));
    z-index: 99999;
    pointer-events: none;
    overflow: visible;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scroll-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, 
        #FF4500 0%, 
        #FF6B35 20%,
        #FFA500 40%,
        #FFD700 60%,
        #FFA500 80%,
        #FF4500 100%
    );
    background-size: 200% 100%;
    width: 0%;
    transition: width 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 0 20px rgba(255, 69, 0, 0.9),
        0 0 40px rgba(255, 165, 0, 0.6),
        0 0 60px rgba(255, 215, 0, 0.4),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
    animation: loaderShimmer 2s linear infinite;
    position: relative;
    border-radius: 0 3px 3px 0;
}

/* Glowing edge that moves with the bar */
.scroll-progress-bar::before {
    content: '';
    position: absolute;
    right: -2px;
    top: -3px;
    width: 4px;
    height: 12px;
    background: radial-gradient(circle, rgba(255, 215, 0, 1) 0%, rgba(255, 69, 0, 0.8) 50%, transparent 100%);
    border-radius: 50%;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 1),
        0 0 30px rgba(255, 165, 0, 0.8);
    animation: pulse 1s ease-in-out infinite;
}

/* Moving shimmer effect like a real loader */
.scroll-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 25%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.3) 75%,
        transparent 100%
    );
    background-size: 200% 100%;
    animation: loaderSweep 1.5s linear infinite;
}

/* Loader shimmer animation */
@keyframes loaderShimmer {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Shimmer sweep across the bar */
@keyframes loaderSweep {
    0% {
        background-position: -200% 0%;
    }
    100% {
        background-position: 200% 0%;
    }
}

/* Pulsing glow at the end */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.3);
    }
}

/* Glassmorphism Effects */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
}

/* Advanced Gradient Overlays */
.gradient-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, 
        rgba(0, 51, 102, 0.8) 0%, 
        rgba(0, 31, 63, 0.6) 50%, 
        rgba(255, 69, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    pointer-events: none;
}

.service-card:hover .gradient-overlay,
.project-card:hover .gradient-overlay {
    opacity: 1;
}

/* Advanced Cursor Effects */
.cursor-glow {
    position: fixed;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.3) 0%, transparent 70%);
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width 0.3s, height 0.3s, opacity 0.3s;
    mix-blend-mode: screen;
}

.cursor-glow.active {
    width: 60px;
    height: 60px;
    opacity: 0.8;
}

/* Enhanced Hover Effects */
.interactive-element {
    position: relative;
    overflow: hidden;
}

.interactive-element::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.interactive-element:hover::before {
    width: 300px;
    height: 300px;
}

/* Smooth Scroll Reveal */
.reveal-element {
    opacity: 0;
    transform: translateY(50px) scale(0.95);
    transition: opacity 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94),
                transform 0.8s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal-element.revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
}

/* Advanced Parallax Layers */
.parallax-layer {
    will-change: transform;
    transform-style: preserve-3d;
}

/* Magnetic Button Effect */
.magnetic-btn {
    position: relative;
    transition: transform 0.3s cubic-bezier(0.23, 1, 0.32, 1);
}

.magnetic-btn:hover {
    transform: translateY(-3px) scale(1.05);
}

/* Shimmer Effect */
.shimmer {
    position: relative;
    overflow: hidden;
}

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

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

/* Advanced Glow Effects */
.glow-on-hover {
    transition: all 0.3s ease;
    position: relative;
}

.glow-on-hover::after {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: inherit;
    padding: 5px;
    background: linear-gradient(45deg, var(--primary-orange), var(--primary-blue), var(--primary-orange));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.glow-on-hover:hover::after {
    opacity: 1;
    animation: rotateGlow 3s linear infinite;
}

@keyframes rotateGlow {
    0% {
        filter: hue-rotate(0deg);
    }
    100% {
        filter: hue-rotate(360deg);
    }
}

/* Advanced Loading States */
.loading-skeleton {
    background: linear-gradient(90deg,
        rgba(255, 255, 255, 0.1) 25%,
        rgba(255, 255, 255, 0.2) 50%,
        rgba(255, 255, 255, 0.1) 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

/* Floating Action Elements */
.floating-action {
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

/* Text Gradient Animation */
.animated-gradient-text {
    background: linear-gradient(90deg,
        var(--primary-orange) 0%,
        var(--orange-light) 25%,
        var(--primary-blue) 50%,
        var(--primary-orange) 75%,
        var(--orange-light) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s linear infinite;
}

@keyframes gradientText {
    0% {
        background-position: 0% center;
    }
    100% {
        background-position: 200% center;
    }
}

/* Advanced Card Transforms */
.advanced-card {
    transform-style: preserve-3d;
    perspective: 1000px;
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
}

.advanced-card:hover {
    transform: translateY(-10px) rotateX(5deg) rotateY(5deg);
}

/* Particle Background */
.particle-bg {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.particle-bg::before,
.particle-bg::after {
    content: '';
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 69, 0, 0.1) 0%, transparent 70%);
    animation: particleFloat 20s infinite ease-in-out;
}

.particle-bg::before {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.particle-bg::after {
    bottom: 20%;
    right: 10%;
    animation-delay: 10s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(50px, -50px) scale(1.2);
        opacity: 0.5;
    }
    66% {
        transform: translate(-30px, 30px) scale(0.8);
        opacity: 0.4;
    }
}

/* Optimize animations for performance */
@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ===================================
   Engineering Showcase - Homepage Feature
   =================================== */
.engineering-showcase {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(135deg, #001F3F 0%, #003366 50%, #001F3F 100%);
    overflow: hidden;
}

.engineering-showcase-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.engineering-animation-section {
    position: relative;
    width: 100%;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 500px;
}

.showcase-gear {
    margin-bottom: 0;
    z-index: 3;
}

.showcase-gear-main {
    filter: drop-shadow(0 0 20px rgba(255, 69, 0, 0.8));
}

.showcase-gear-secondary {
    filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.6));
}

.showcase-belt {
    opacity: 0.7;
}

.showcase-piston {
    z-index: 5;
}

.showcase-icons {
    width: 250px;
    height: 250px;
    transform-origin: center;
}

.showcase-particles {
    z-index: 2;
}

.showcase-grid {
    opacity: 0.4;
}

.engineering-showcase-content {
    color: var(--white);
    padding-left: 20px;
}

.showcase-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 69, 0, 0.2);
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    color: var(--primary-orange);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.showcase-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    color: var(--white);
}

.showcase-description {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    opacity: 0.95;
}

.showcase-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
    margin-bottom: 40px;
}

.showcase-feature {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 69, 0, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.showcase-feature:hover {
    background: rgba(255, 69, 0, 0.1);
    border-color: rgba(255, 69, 0, 0.4);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 69, 0, 0.2);
    border-radius: 12px;
    flex-shrink: 0;
}

.feature-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.feature-text strong {
    font-size: 1.125rem;
    color: var(--white);
    font-weight: 600;
}

.feature-text span {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
}

.showcase-cta {
    display: inline-block;
    padding: 16px 40px;
    font-size: 1.125rem;
    font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .engineering-showcase-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .engineering-animation-section {
        height: 400px;
        min-height: 400px;
    }
    
    .engineering-showcase-content {
        padding-left: 0;
        text-align: center;
    }
    
    .showcase-feature {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .engineering-showcase {
        padding: 60px 0;
    }
    
    .engineering-animation-section {
        height: 300px;
        min-height: 300px;
    }
    
    .showcase-title {
        font-size: 2rem;
    }
    
    .showcase-description {
        font-size: 1rem;
    }
}

/* Reuse existing gear animations from preloader */
.engineering-loader {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.gear-system {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

/* Showcase-specific gear sizing */
.showcase-gear {
    width: 250px;
    height: 250px;
    margin-bottom: 0;
}

.showcase-gear .gear-main {
    width: 140px;
    height: 140px;
}

.showcase-gear .gear-secondary {
    width: 90px;
    height: 90px;
}

.showcase-gear .belt-svg {
    width: 250px;
    height: 250px;
}

.gear-main {
    position: absolute;
    width: 120px;
    height: 120px;
    animation: rotateGearMain 3s linear infinite;
    z-index: 3;
    filter: drop-shadow(0 0 15px rgba(255, 69, 0, 0.6));
}

.gear-svg {
    width: 100%;
    height: 100%;
    display: block;
}

.gear-secondary {
    position: absolute;
    width: 80px;
    height: 80px;
    filter: drop-shadow(0 0 10px rgba(255, 69, 0, 0.4));
}

.gear-top {
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: rotateGearReverse 2s linear infinite;
}

.gear-bottom {
    bottom: -20px;
    left: 50%;
    transform: translateX(-50%);
    animation: rotateGearReverse 2.5s linear infinite;
}

.belt-svg {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
    opacity: 0.6;
}

.piston-system {
    position: absolute;
    right: -30px;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 80px;
    z-index: 4;
}

.piston-rod {
    position: absolute;
    width: 4px;
    height: 60px;
    background: linear-gradient(180deg, var(--primary-orange) 0%, rgba(255, 69, 0, 0.6) 100%);
    left: 50%;
    transform: translateX(-50%);
    border-radius: 2px;
    animation: pistonMove 1.5s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 69, 0, 0.5);
}

.piston-head {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 16px;
    background: var(--primary-orange);
    border-radius: 8px 8px 4px 4px;
    box-shadow: 0 0 12px rgba(255, 69, 0, 0.6);
}

@keyframes rotateGearMain {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes rotateGearReverse {
    0% {
        transform: translateX(-50%) rotate(0deg);
    }
    100% {
        transform: translateX(-50%) rotate(-360deg);
    }
}

@keyframes pistonMove {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-20px);
    }
}

.engineering-icons {
    position: absolute;
    width: 200px;
    height: 200px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1;
}

.icon-orbital {
    position: absolute;
    font-size: 24px;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 69, 0, 0.1);
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.3);
    animation: orbitRotate 4s linear infinite;
}

.icon-wrench {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: 0s;
}

.icon-hammer {
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: -1s;
}

.icon-gear-icon {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    animation-delay: -2s;
}

.icon-tool {
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    animation-delay: -3s;
}

@keyframes orbitRotate {
    0% {
        transform: rotate(0deg) translateX(80px) rotate(0deg);
    }
    100% {
        transform: rotate(360deg) translateX(80px) rotate(-360deg);
    }
}

.icon-wrench {
    transform-origin: 100px 100px;
}

.icon-hammer {
    transform-origin: 100px 100px;
}

.icon-gear-icon {
    transform-origin: 100px 100px;
}

.icon-tool {
    transform-origin: 100px 100px;
}

.engineering-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    z-index: 1;
}

.particle-dot {
    position: absolute;
    width: 6px;
    height: 6px;
    background: var(--primary-orange);
    border-radius: 50%;
    box-shadow: 0 0 10px rgba(255, 69, 0, 0.8);
    animation: engineeringParticleFloat 6s infinite ease-in-out;
}

.particle-dot.particle-1 {
    top: 15%;
    left: 20%;
    animation-delay: 0s;
}

.particle-dot.particle-2 {
    top: 25%;
    right: 25%;
    animation-delay: 1s;
}

.particle-dot.particle-3 {
    bottom: 30%;
    left: 30%;
    animation-delay: 2s;
}

.particle-dot.particle-4 {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.particle-dot.particle-5 {
    top: 50%;
    left: 10%;
    animation-delay: 2.5s;
}

.particle-dot.particle-6 {
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

@keyframes engineeringParticleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    25% {
        transform: translate(20px, -30px) scale(1.3);
        opacity: 1;
    }
    50% {
        transform: translate(-15px, 20px) scale(0.8);
        opacity: 0.8;
    }
    75% {
        transform: translate(30px, 15px) scale(1.2);
        opacity: 0.9;
    }
}

.technical-grid {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(255, 69, 0, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 69, 0, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.3;
    z-index: 0;
    animation: gridPulse 3s ease-in-out infinite;
}

@keyframes gridPulse {
    0%, 100% {
        opacity: 0.2;
    }
    50% {
        opacity: 0.4;
    }
}

.loader-text {
    position: relative;
    margin-top: 20px;
    text-align: center;
    color: var(--white);
    z-index: 3;
}

.loader-title {
    display: block;
    font-size: 2rem;
    font-weight: 800;
    letter-spacing: 4px;
    margin-bottom: 8px;
    color: var(--white);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.5);
    animation: pulseText 2s ease-in-out infinite;
}

.loader-subtitle {
    display: block;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 2px;
    color: var(--primary-orange);
    text-transform: uppercase;
    opacity: 0.9;
    animation: fadeInOut 2s ease-in-out infinite;
    margin-bottom: 8px;
}

.loader-tagline {
    display: block;
    font-size: 0.75rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    margin-top: 5px;
    animation: fadeInOut 3s ease-in-out infinite;
    animation-delay: 0.5s;
}

@keyframes pulseText {
    0%, 100% {
        opacity: 1;
        transform: translateX(-50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateX(-50%) scale(1.05);
    }
}

@keyframes fadeInOut {
    0%, 100% {
        opacity: 0.6;
    }
    50% {
        opacity: 1;
    }
}

.progress-bar-container {
    position: relative;
    margin-top: 30px;
    width: 280px;
    z-index: 3;
}

.progress-bar {
    height: 6px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.2);
}

.progress-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: var(--progress-width, 0%);
    background: linear-gradient(90deg, 
        var(--primary-orange) 0%, 
        var(--orange-light) 50%, 
        var(--primary-orange) 100%);
    background-size: 200% 100%;
    border-radius: 3px;
    animation: progressShimmer 2s linear infinite;
    transition: width 0.2s ease;
    box-shadow: 
        0 0 15px rgba(255, 69, 0, 0.6),
        inset 0 0 10px rgba(255, 255, 255, 0.3);
}

.progress-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(255, 255, 255, 0.4) 50%, 
        transparent 100%);
    animation: progressShine 2s ease-in-out infinite;
}

.progress-percentage {
    position: absolute;
    top: -25px;
    right: 0;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--primary-orange);
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 69, 0, 0.5);
}

@keyframes progressShine {
    0% {
        left: -100%;
    }
    100% {
        left: 150%;
    }
}

@keyframes progressShimmer {
    0% {
        background-position: 0% 0;
    }
    100% {
        background-position: 200% 0;
    }
}

/* Alternative Construction Preloader Style */
.preloader-alternative {
    background: linear-gradient(135deg, #003366 0%, #001F3F 100%);
}

.construction-loader {
    position: relative;
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.crane-loader {
    position: relative;
    width: 150px;
    height: 150px;
}

.crane-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: var(--primary-orange);
    border-radius: 4px;
    box-shadow: 0 0 15px rgba(255, 69, 0, 0.6);
}

.crane-tower {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 8px;
    height: 80px;
    background: var(--white);
    border-radius: 4px;
    animation: craneTower 2s ease-in-out infinite;
}

.crane-boom {
    position: absolute;
    top: 30px;
    left: 50%;
    width: 60px;
    height: 6px;
    background: var(--white);
    border-radius: 3px;
    transform-origin: left center;
    animation: craneBoom 3s ease-in-out infinite;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.crane-hook {
    position: absolute;
    width: 4px;
    height: 30px;
    background: var(--primary-orange);
    left: 60px;
    top: 3px;
    animation: craneHook 3s ease-in-out infinite;
    box-shadow: 0 0 8px rgba(255, 69, 0, 0.6);
}

.crane-hook::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 8px;
    border: 2px solid var(--primary-orange);
    border-top: none;
    border-radius: 0 0 6px 6px;
}

@keyframes craneTower {
    0%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    50% {
        transform: translateX(-50%) translateY(-5px);
    }
}

@keyframes craneBoom {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

@keyframes craneHook {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* Particles around loader */
.preloader-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.particle-dot {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-orange);
    border-radius: 50%;
    animation: particleFloat 8s infinite ease-in-out;
    opacity: 0.6;
}

.particle-dot:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.particle-dot:nth-child(2) {
    top: 30%;
    right: 25%;
    animation-delay: 1s;
}

.particle-dot:nth-child(3) {
    bottom: 25%;
    left: 30%;
    animation-delay: 2s;
}

.particle-dot:nth-child(4) {
    bottom: 30%;
    right: 20%;
    animation-delay: 3s;
}

.particle-dot:nth-child(5) {
    top: 50%;
    left: 10%;
    animation-delay: 1.5s;
}

.particle-dot:nth-child(6) {
    top: 60%;
    right: 15%;
    animation-delay: 2.5s;
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.6;
    }
    33% {
        transform: translate(30px, -30px) scale(1.2);
        opacity: 1;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.8);
        opacity: 0.8;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .engineering-loader {
        width: 250px;
        height: 250px;
    }

    .gear-system {
        width: 160px;
        height: 160px;
        margin-bottom: 30px;
    }

    .gear-main {
        width: 100px;
        height: 100px;
    }

    .gear-secondary {
        width: 65px;
        height: 65px;
    }

    .belt-svg {
        width: 160px;
        height: 160px;
    }

    .engineering-icons {
        width: 160px;
        height: 160px;
    }

    .icon-orbital {
        font-size: 20px;
        width: 35px;
        height: 35px;
    }

    @keyframes orbitRotate {
        0% {
            transform: rotate(0deg) translateX(60px) rotate(0deg);
        }
        100% {
            transform: rotate(360deg) translateX(60px) rotate(-360deg);
        }
    }

    .icon-wrench,
    .icon-hammer,
    .icon-gear-icon,
    .icon-tool {
        transform-origin: 80px 80px;
    }

    .loader-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }

    .loader-subtitle {
        font-size: 0.75rem;
    }

    .progress-bar-container {
        width: 200px;
    }
}

:root {
    --primary-blue: #003366;
    --primary-orange: #FF4500;
    --dark-blue: #001F3F;
    --light-blue: #E6F2FF;
    --orange-light: #FF6B35;
    --white: #FFFFFF;
    --gray-100: #F8F9FA;
    --gray-200: #E9ECEF;
    --gray-300: #DEE2E6;
    --gray-600: #6C757D;
    --gray-800: #343A40;
    --gray-900: #212529;
    
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    --transition: all 0.3s ease;
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-primary);
    font-size: 16px;
    line-height: 1.6;
    color: var(--gray-900);
    background-color: var(--white);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ===================================
   Navigation
   =================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: 0.5px;
}

.logo-icon svg {
    display: block;
}

.logo-image {
    height: 45px;
    width: auto;
    object-fit: contain;
    display: block;
    max-width: 150px;
}

.logo-image[src=""],
.logo-image:not([src]) {
    display: none;
}

/* Fallback if image fails to load */
.logo:has(.logo-image:not([src]))::before {
    content: '';
    display: inline-block;
    width: 45px;
    height: 45px;
    background: var(--primary-orange);
    border-radius: 4px;
    margin-right: 12px;
}

.logo-text {
    font-weight: 800;
    letter-spacing: 1px;
}

.logo-brand {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 2px;
    line-height: 1.15;
}

.logo-tagline {
    font-size: 0.65rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: var(--gray-600);
}

.footer .logo-tagline {
    color: rgba(255, 255, 255, 0.7);
}

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

.nav-menu a {
    text-decoration: none;
    color: var(--gray-800);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-orange);
    transition: var(--transition);
}

.nav-menu a:hover::after,
.nav-menu a.active::after {
    width: 100%;
}

.nav-menu a:hover,
.nav-menu a.active {
    color: var(--primary-orange);
}

.nav-toggle {
    display: none !important;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
    position: relative;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
}

.nav-toggle span {
    width: 28px;
    height: 3px;
    background: var(--primary-blue);
    transition: all 0.3s ease;
    border-radius: 2px;
    display: block;
    transform-origin: center;
}

.nav-toggle:hover span,
.nav-toggle:focus span {
    background: var(--primary-orange);
}

.nav-toggle.active {
    z-index: 1002;
}

/* Hide mobile menu elements on desktop */
@media (min-width: 769px) {
    .nav-toggle {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    .menu-header,
    .menu-close-btn {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }
    
    /* Ensure desktop menu is visible and styled correctly */
    .nav-menu {
        position: static !important;
        flex-direction: row !important;
        height: auto !important;
        max-height: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        display: flex !important;
        padding: 0 !important;
        box-shadow: none !important;
        overflow: visible !important;
        pointer-events: all !important;
        background: transparent !important;
        gap: 30px !important;
    }
    
    .nav-menu li {
        width: auto !important;
        border-bottom: none !important;
        opacity: 1 !important;
        visibility: visible !important;
        transform: none !important;
        pointer-events: all !important;
        display: list-item !important;
        list-style: none !important;
    }
    
    .nav-menu li.menu-header {
        display: none !important;
    }
    
    .nav-menu a {
        padding: 0.5rem 0 !important;
        display: inline-block !important;
    }
}

/* ===================================
   Hero Section
   =================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 80px;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
}

.hero-bg-image {
    background-image: url('construction-works-frankfurt-downtown-germany.jpg');
}

.hero-background::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 69, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 69, 0, 0.1) 0%, transparent 50%);
    animation: pulse 15s ease-in-out infinite;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 51, 102, 0.7);
    z-index: -1;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
}

.title-line {
    display: block;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out forwards;
}

.title-line:nth-child(2) {
    animation-delay: 0.2s;
}

.title-line.animated-gradient-text {
    background: linear-gradient(90deg,
        var(--white) 0%,
        rgba(255, 255, 255, 0.95) 25%,
        var(--primary-orange) 50%,
        rgba(255, 255, 255, 0.95) 75%,
        var(--white) 100%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientText 3s linear infinite;
}

.hero-disciplines {
    font-size: clamp(0.9rem, 2vw, 1.05rem);
    font-weight: 600;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.92);
    margin: -0.5rem auto 1.25rem;
    max-width: 640px;
    animation: fadeInUp 0.8s ease-out 0.25s forwards;
    opacity: 0;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: 2.5rem;
    opacity: 0.95;
    line-height: 1.8;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease-out 0.4s forwards;
    opacity: 0;
}

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

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
    opacity: 0;
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

.mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--white);
    border-radius: 15px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 8px;
    background: var(--white);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

@keyframes scroll {
    0% { opacity: 1; top: 8px; }
    100% { opacity: 0; top: 24px; }
}

/* ===================================
   Buttons
   =================================== */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

.btn-primary:hover {
    background: var(--orange-light);
    border-color: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

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

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.btn-outline:hover {
    background: var(--primary-blue);
    color: var(--white);
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.1rem;
}

.btn-full {
    width: 100%;
}

/* ===================================
   Section Styles
   =================================== */
section {
    padding: 100px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.125rem;
    color: var(--gray-600);
    max-width: 700px;
    margin: 0 auto;
}

/* ===================================
   About Preview Section
   =================================== */
.about-preview {
    background: var(--gray-100);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.about-content p {
    margin-bottom: 1.5rem;
    color: var(--gray-600);
    line-height: 1.8;
}

.about-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 2rem;
}

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

.contact-download-btn {
    margin-top: 1.5rem;
}

.about-image-wrapper {
    margin-bottom: 2rem;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.about-image {
    width: 100%;
    height: auto;
    display: block;
    transition: var(--transition);
}

.about-image:hover {
    transform: scale(1.05);
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-orange);
    margin-bottom: 0.5rem;
}

.stat-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===================================
   Services Section
   =================================== */
.services {
    background: var(--white);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

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

.service-card:hover::before {
    height: 100%;
}

.service-card:hover {
    transform: translateY(-15px) rotateX(2deg) rotateY(-2deg);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15),
                0 0 40px rgba(255, 69, 0, 0.2);
    border-color: var(--primary-orange);
}

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    background: var(--light-blue);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    color: var(--primary-blue);
    transition: var(--transition);
}

.service-card:hover .service-icon {
    background: var(--primary-orange);
    color: var(--white);
    transform: scale(1.1);
}

.service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.service-card ul {
    list-style: none;
    color: var(--gray-600);
    line-height: 1.8;
}

.service-card li {
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.75rem;
}

.service-card li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

/* ===================================
   Image Showcase Section
   =================================== */
.image-showcase {
    padding: 100px 0;
    background: var(--gray-100);
}

.showcase-layout {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    margin-top: 40px;
}

.showcase-main .showcase-card {
    height: 100%;
    min-height: 500px;
}

.showcase-card {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    transform-style: preserve-3d;
}

.showcase-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, 
        rgba(255, 69, 0, 0.2) 0%, 
        transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 1;
    pointer-events: none;
}

.showcase-card:hover {
    transform: translateY(-15px) scale(1.03) rotateY(3deg);
    box-shadow: 0 30px 70px rgba(0, 0, 0, 0.35),
                0 0 50px rgba(255, 69, 0, 0.3);
}

.showcase-card:hover::after {
    opacity: 1;
}

.showcase-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.showcase-card:hover img {
    transform: scale(1.15) rotate(2deg);
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to top,
        rgba(0, 51, 102, 0.95) 0%,
        rgba(0, 51, 102, 0.7) 50%,
        transparent 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 40px;
    opacity: 0;
    transition: var(--transition);
}

.showcase-card:hover .showcase-overlay {
    opacity: 1;
}

.showcase-content {
    color: var(--white);
    transform: translateY(20px);
    transition: var(--transition);
}

.showcase-card:hover .showcase-content {
    transform: translateY(0);
}

.showcase-content h3 {
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.showcase-content p {
    font-size: 1.125rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.showcase-side {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.showcase-side .showcase-card {
    min-height: 240px;
    flex: 1;
}

.showcase-side .showcase-content h3 {
    font-size: 1.25rem;
}

.showcase-side .showcase-content p {
    font-size: 0.9375rem;
}

/* Marketing Banner Section */
.marketing-banner {
    padding: 0;
    margin: 100px 0;
    position: relative;
    overflow: hidden;
}

.banner-image {
    position: relative;
    min-height: 600px;
    background-size: cover;
    background-position: center;
    background-attachment: scroll; /* Changed from fixed for better mobile performance */
    display: flex;
    align-items: center;
}

/* Set background image via attribute for better performance */
.banner-image[data-bg-image] {
    background-image: url('professional-engineering-team-using-industry-40-software-smart-factory.jpg');
}

@media (min-width: 768px) {
    .banner-image {
        background-attachment: fixed;
    }
}

.banner-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 51, 102, 0.85) 0%,
        rgba(0, 31, 63, 0.75) 50%,
        rgba(255, 69, 0, 0.4) 100%
    );
}

.banner-content {
    position: relative;
    z-index: 1;
    color: var(--white);
    max-width: 700px;
    animation: fadeInUp 1s ease-out;
}

.banner-badge {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 69, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 69, 0, 0.5);
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
    animation: pulseBadge 2s ease-in-out infinite;
}

@keyframes pulseBadge {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }
}

.banner-content h2 {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
    color: var(--white);
}

.banner-content p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.95;
    line-height: 1.6;
}

.banner-stats {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.banner-stat {
    display: flex;
    align-items: center;
    gap: 15px;
}

.banner-stat .stat-icon {
    font-size: 2.5rem;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

.banner-stat .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-orange);
    line-height: 1;
    margin-bottom: 5px;
}

.banner-stat .stat-label {
    font-size: 0.875rem;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Creative Image Gallery Section */
.image-gallery {
    padding: 100px 0;
    background: var(--white);
}

.gallery-grid-creative {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: repeat(3, 300px);
    gap: 20px;
    margin-top: 40px;
}

.gallery-item-creative {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    cursor: pointer;
}

.gallery-item-creative.item-1 {
    grid-column: 1 / 3;
    grid-row: 1 / 3;
}

.gallery-item-creative.item-2 {
    grid-column: 3 / 5;
    grid-row: 1;
}

.gallery-item-creative.item-3 {
    grid-column: 3;
    grid-row: 2;
}

.gallery-item-creative.item-4 {
    grid-column: 1;
    grid-row: 2;
}

.gallery-item-creative.item-5 {
    grid-column: 2;
    grid-row: 2;
}

.gallery-item-creative.item-6 {
    grid-column: 3;
    grid-row: 2;
}

.gallery-item-creative.item-7 {
    grid-column: 4;
    grid-row: 2;
}

.gallery-item-creative.item-8 {
    grid-column: 1 / 3;
    grid-row: 3;
}

.gallery-item-creative.item-9 {
    grid-column: 3 / 5;
    grid-row: 3;
}

.gallery-item-creative img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.gallery-item-creative:hover {
    transform: translateY(-15px) scale(1.05) rotateY(5deg);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25),
                0 0 50px rgba(255, 69, 0, 0.3);
    z-index: 10;
}

.gallery-item-creative:hover img {
    transform: scale(1.25) rotate(5deg);
    filter: brightness(1.2) contrast(1.1);
}

.gallery-hover-content {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0, 51, 102, 0.95) 0%,
        rgba(255, 69, 0, 0.85) 100%
    );
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    color: var(--white);
    opacity: 0;
    transition: var(--transition);
    transform: scale(0.8);
}

.gallery-item-creative:hover .gallery-hover-content {
    opacity: 1;
    transform: scale(1);
}

.gallery-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: iconBounce 0.6s ease-out;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
}

@keyframes iconBounce {
    0% {
        transform: scale(0) rotate(-180deg);
        opacity: 0;
    }
    60% {
        transform: scale(1.2) rotate(10deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.gallery-hover-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--white);
}

.gallery-hover-content p {
    font-size: 1rem;
    margin-bottom: 20px;
    opacity: 0.9;
}

.gallery-link {
    display: inline-block;
    padding: 10px 24px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9375rem;
    transition: var(--transition);
}

.gallery-item-creative:hover .gallery-link {
    background: var(--white);
    color: var(--primary-blue);
    transform: translateX(5px);
}

@media (max-width: 1024px) {
    .showcase-layout {
        grid-template-columns: 1fr;
    }

    .gallery-grid-creative {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(5, 250px);
    }

    .gallery-item-creative.item-1 {
        grid-column: 1 / 3;
        grid-row: 1;
    }

    .gallery-item-creative.item-2,
    .gallery-item-creative.item-3 {
        grid-column: span 1;
    }

    .gallery-item-creative.item-4,
    .gallery-item-creative.item-5,
    .gallery-item-creative.item-6,
    .gallery-item-creative.item-7 {
        grid-column: span 1;
    }

    .gallery-item-creative.item-8 {
        grid-column: 1 / 3;
    }

    .gallery-item-creative.item-9 {
        grid-column: 3 / 5;
    }
}

@media (max-width: 768px) {
    .gallery-grid-creative {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(9, 250px);
    }

    .gallery-item-creative.item-1,
    .gallery-item-creative.item-2,
    .gallery-item-creative.item-3,
    .gallery-item-creative.item-4,
    .gallery-item-creative.item-5,
    .gallery-item-creative.item-6,
    .gallery-item-creative.item-7,
    .gallery-item-creative.item-8,
    .gallery-item-creative.item-9 {
        grid-column: 1;
    }

    .gallery-item-creative.item-1 { grid-row: 1; }
    .gallery-item-creative.item-2 { grid-row: 2; }
    .gallery-item-creative.item-3 { grid-row: 3; }
    .gallery-item-creative.item-4 { grid-row: 4; }
    .gallery-item-creative.item-5 { grid-row: 5; }
    .gallery-item-creative.item-6 { grid-row: 6; }
    .gallery-item-creative.item-7 { grid-row: 7; }
    .gallery-item-creative.item-8 { grid-row: 8; }
    .gallery-item-creative.item-9 { grid-row: 9; }

    .banner-image {
        background-attachment: scroll;
        min-height: 500px;
    }

    .banner-stats {
        flex-direction: column;
        gap: 20px;
    }
}

/* ===================================
   Testimonials Carousel Section
   =================================== */
.testimonials-carousel {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-100) 0%, var(--white) 100%);
    position: relative;
    overflow: hidden;
}

.carousel-wrapper {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

.carousel-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
}

.carousel-slide {
    min-width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide.active {
    opacity: 1;
    transform: translateX(0);
}

.testimonial-card {
    background: var(--white);
    padding: 60px 50px;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    text-align: center;
    position: relative;
    border: 1px solid rgba(0, 51, 102, 0.1);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.15);
}

.testimonial-quote {
    font-size: 80px;
    line-height: 1;
    color: var(--primary-orange);
    opacity: 0.3;
    font-family: Georgia, serif;
    margin-bottom: 20px;
}

.testimonial-text {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-800);
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.author-info h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 5px;
}

.author-info span {
    font-size: 0.9375rem;
    color: var(--gray-600);
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: var(--white);
    border: 2px solid var(--gray-200);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    transition: var(--transition);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    color: var(--primary-blue);
}

.carousel-btn:hover {
    background: var(--primary-orange);
    border-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.3);
}

.carousel-btn-prev {
    left: -25px;
}

.carousel-btn-next {
    right: -25px;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--gray-300);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    padding: 0;
}

.carousel-dot.active {
    background: var(--primary-orange);
    width: 30px;
    border-radius: 6px;
    transform: scale(1.2);
}

/* ===================================
   Projects Carousel Section
   =================================== */
.projects-carousel {
    padding: 100px 0;
    background: var(--white);
    overflow: hidden;
}

.projects-slider {
    position: relative;
    margin: 0 -15px;
}

.projects-track {
    display: flex;
    gap: 30px;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    will-change: transform;
    padding: 0 15px;
    cursor: grab;
}

.projects-track:active {
    cursor: grabbing;
}

.project-slide {
    min-width: calc(33.333% - 20px);
    flex-shrink: 0;
}

.project-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.project-image {
    position: relative;
    width: 100%;
    height: 280px;
    overflow: hidden;
    background: var(--gray-200);
}

.project-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.project-card:hover .project-image img {
    transform: scale(1.1);
}

.project-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.8) 0%, rgba(255, 69, 0, 0.8) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.project-card:hover .project-overlay {
    opacity: 1;
}

.project-icon {
    font-size: 4rem;
    transform: scale(0.8);
    transition: var(--transition);
}

.project-card:hover .project-icon {
    transform: scale(1);
}

.project-content {
    padding: 30px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.project-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
}

.project-content p {
    color: var(--gray-600);
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
}

.project-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 14px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    transition: var(--transition);
}

.project-card:hover .tag {
    background: var(--primary-orange);
    color: var(--white);
}

.projects-prev,
.projects-next {
    top: 40%;
}

@media (max-width: 1024px) {
    .project-slide {
        min-width: calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .project-slide {
        min-width: calc(100% - 0px);
    }

    .carousel-btn-prev {
        left: 10px;
    }

    .carousel-btn-next {
        right: 10px;
    }

    .testimonial-card {
        padding: 40px 30px;
    }

    .testimonial-text {
        font-size: 1.125rem;
    }
}

/* ===================================
   Health & Safety Section (Priority)
   =================================== */
.health-safety {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    position: relative;
    overflow: hidden;
}

.health-safety::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: linear-gradient(90deg, #FF4500 0%, #28a745 50%, #003366 100%);
}

.priority-badge {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    color: var(--white);
    animation: pulsePriority 2s ease-in-out infinite;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

@keyframes pulsePriority {
    0%, 100% {
        box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
    }
    50% {
        box-shadow: 0 6px 25px rgba(220, 53, 69, 0.6);
        transform: scale(1.02);
    }
}

.hse-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.hse-card {
    background: var(--white);
    padding: 35px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border-top: 4px solid var(--primary-orange);
    position: relative;
    overflow: hidden;
}

.hse-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-orange), var(--primary-blue));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.hse-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

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

.hse-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    animation: floatIcon 3s ease-in-out infinite;
}

@keyframes floatIcon {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-5px);
    }
}

.hse-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 15px;
}

.hse-card p {
    color: var(--gray-600);
    margin-bottom: 20px;
    line-height: 1.7;
}

.hse-card img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    margin-top: 15px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.hse-card:hover img {
    transform: scale(1.03);
    box-shadow: var(--shadow-md);
}

.hse-list-with-image {
    margin-top: 15px;
}

.hse-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.hse-list li {
    padding: 10px 0;
    padding-left: 25px;
    position: relative;
    color: var(--gray-700);
    line-height: 1.6;
    transition: var(--transition);
}

.hse-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
    font-size: 1.2rem;
}

.hse-list li:hover {
    color: var(--primary-blue);
    transform: translateX(5px);
}

.hse-cta {
    margin-top: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    color: var(--white);
    position: relative;
    overflow: hidden;
}

.hse-cta::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotateGradient 20s linear infinite;
}

@keyframes rotateGradient {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hse-cta-content {
    position: relative;
    z-index: 1;
}

.hse-cta h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: var(--white);
}

.hse-cta p {
    font-size: 1.125rem;
    margin-bottom: 30px;
    opacity: 0.95;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hse-cta .btn {
    font-size: 1.125rem;
    padding: 16px 40px;
}

@media (max-width: 768px) {
    .hse-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .hse-card {
        padding: 25px;
    }

    .hse-cta {
        padding: 30px 20px;
    }

    .hse-cta h3 {
        font-size: 1.5rem;
    }
}

/* ===================================
   Industries Section
   =================================== */
.industries {
    background: var(--gray-100);
}

.industries-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 25px;
}

.industry-card {
    background: var(--white);
    padding: 40px 30px;
    border-radius: 8px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.industry-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15),
                0 0 30px rgba(255, 69, 0, 0.2);
}

.industry-card:hover::before {
    width: 300px;
    height: 300px;
}

.industry-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.industry-card h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--primary-blue);
}

/* ===================================
   Quality Section
   =================================== */
.quality {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
}

.quality-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.quality-text h2 {
    color: var(--white);
    margin-bottom: 1.5rem;
}

.quality-text p {
    margin-bottom: 1rem;
    opacity: 0.95;
    line-height: 1.8;
}

.quality-text .section-badge {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.iso-badge {
    background: var(--white);
    border-radius: 16px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    max-width: 300px;
    margin: 0 auto;
}

.iso-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-600);
    margin-bottom: 0.5rem;
}

.iso-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.iso-label {
    font-size: 0.875rem;
    color: var(--gray-600);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ===================================
   CTA Section
   =================================== */
.cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-light) 100%);
    color: var(--white);
    text-align: center;
}

.cta-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    color: var(--white);
}

.cta-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

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

.cta .btn-primary:hover {
    background: var(--gray-100);
    transform: translateY(-2px);
}

/* ===================================
   Page Header
   =================================== */
.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
    padding: 150px 0 100px;
    margin-top: 70px;
}

.page-header h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 800;
    margin-bottom: 1rem;
}

.page-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.page-header-about {
    background-image: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 31, 63, 0.9) 100%), url('portrait-engineers-work-hours-job-site.jpg');
}

.page-header-contact {
    background-image: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 31, 63, 0.9) 100%), url('african-american-worker-standing-uniform-wearing-safety-hat-factory.jpg');
}

.page-header-services {
    background-image: linear-gradient(135deg, rgba(0, 51, 102, 0.9) 0%, rgba(0, 31, 63, 0.9) 100%), url('professional-engineering-team-using-industry-40-software-smart-factory.jpg');
}

.page-header p {
    font-size: 1.25rem;
    opacity: 0.9;
}

/* ===================================
   About Page Styles
   =================================== */
.about-main {
    padding: 80px 0;
}

.about-intro {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    align-items: center;
}

.intro-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
}

.intro-content .lead {
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--gray-800);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.intro-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.intro-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    transition: var(--transition);
}

.intro-image:hover {
    transform: scale(1.02);
}

.visual-card {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.visual-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.visual-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

/* Leadership Section */
.leadership {
    padding: 80px 0;
    background: var(--white);
}

.leadership-content {
    max-width: 900px;
    margin: 0 auto;
}

.leader-card {
    display: grid;
    grid-template-columns: 200px 1fr;
    gap: 40px;
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.leader-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.leader-image-placeholder {
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 40px rgba(0, 51, 102, 0.3);
    overflow: hidden;
    position: relative;
    padding: 8px;
    transition: all 0.4s ease;
}

.leader-image-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    padding: 4px;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light), var(--primary-blue));
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.leader-image-placeholder:hover::before {
    opacity: 1;
}

.leader-image-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 69, 0, 0.4), 0 10px 40px rgba(0, 51, 102, 0.3);
}

.leader-image {
    width: calc(100% - 16px);
    height: calc(100% - 16px);
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid var(--white);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
}

.leader-image-placeholder:hover .leader-image {
    border-color: rgba(255, 255, 255, 0.9);
}

.leader-initials {
    font-size: 4rem;
    font-weight: 700;
    color: var(--white);
}

.leader-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.leader-name {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin: 0;
}

.leader-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--primary-orange);
    margin: 0;
}

.leader-company {
    font-size: 1rem;
    color: var(--gray-600);
    margin: 0;
}

.leader-contact {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 15px 0;
    padding: 20px;
    background: var(--gray-50);
    border-radius: 8px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.95rem;
}

.contact-icon {
    font-size: 1.2rem;
}

.contact-item a {
    color: var(--primary-blue);
    text-decoration: none;
    transition: var(--transition);
}

.contact-item a:hover {
    color: var(--primary-orange);
}

.leader-bio {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-700);
    margin: 0;
}

.leader-section {
    margin-top: 25px;
}

.leader-section-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 12px;
    border-bottom: 2px solid var(--primary-orange);
    padding-bottom: 8px;
}

.leader-list {
    list-style: none;
    padding: 0;
    margin: 15px 0;
}

.leader-list li {
    padding: 8px 0 8px 25px;
    position: relative;
    line-height: 1.6;
    color: var(--gray-700);
}

.leader-list li::before {
    content: "▸";
    position: absolute;
    left: 0;
    color: var(--primary-orange);
    font-weight: bold;
}

.leader-list li strong {
    color: var(--primary-blue);
}

@media (max-width: 768px) {
    .leader-card {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }
    
    .leader-image-placeholder {
        width: 180px;
        height: 180px;
        margin: 0 auto;
    }
    
    .leader-image {
        border-width: 3px;
    }
    
    .leader-initials {
        font-size: 3rem;
    }
    
    .leader-contact {
        text-align: left;
    }
}

.philosophy {
    background: var(--gray-100);
}

.philosophy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.philosophy-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    position: relative;
}

.philosophy-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.philosophy-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--light-blue);
    line-height: 1;
    margin-bottom: 1rem;
}

.philosophy-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.philosophy-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

.values {
    background: var(--white);
}

.values-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.values-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.value-item p {
    color: var(--gray-600);
    line-height: 1.8;
}

.values-visual {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.values-image {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    margin-bottom: 20px;
}

.values-image:hover {
    transform: scale(1.02);
}

.stat-highlight {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stat-item {
    background: var(--gray-100);
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.stat-item .stat-number {
    font-size: 3rem;
}

.quality-detailed {
    background: var(--gray-100);
}

.quality-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 60px;
    align-items: center;
}

.quality-features {
    list-style: none;
    margin-top: 2rem;
}

.quality-features li {
    padding: 0.75rem 0;
    color: var(--gray-700);
    font-size: 1.0625rem;
}

.iso-badge-large {
    background: var(--white);
    border-radius: 16px;
    padding: 80px 50px;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.iso-badge-large .iso-text {
    font-size: 2rem;
}

.iso-badge-large .iso-number {
    font-size: 4rem;
}

.why-choose {
    background: var(--white);
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.why-card {
    background: var(--white);
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.why-card:hover {
    border-color: var(--primary-orange);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.why-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.why-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1rem;
}

.why-card p {
    color: var(--gray-600);
    line-height: 1.8;
}

/* ===================================
   Map Section Styles
   =================================== */
.map-section {
    padding: 100px 0;
    background: var(--gray-100);
}

.map-container {
    margin-top: 40px;
}

.map-wrapper {
    position: relative;
    width: 100%;
    height: 450px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    margin-bottom: 30px;
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
    display: block;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.map-info-card {
    background: var(--white);
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.map-info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.map-info-icon {
    font-size: 2.5rem;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.map-info-content h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.map-info-content p {
    color: var(--gray-600);
    line-height: 1.7;
    margin-bottom: 15px;
}

.map-info-content .coordinates {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--gray-500);
    background: var(--gray-100);
    padding: 8px 12px;
    border-radius: 4px;
    display: inline-block;
}

.btn-sm {
    padding: 10px 20px;
    font-size: 0.875rem;
}

@media (max-width: 768px) {
    .map-wrapper {
        height: 350px;
    }

    .map-info {
        grid-template-columns: 1fr;
    }
}

/* ===================================
   Contact Page Styles
   =================================== */
.contact-section {
    padding: 80px 0;
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
}

.contact-info .section-header {
    text-align: left;
    margin-bottom: 2rem;
}

.info-cards {
    display: grid;
    gap: 20px;
}

.info-card {
    background: var(--gray-100);
    padding: 30px;
    border-radius: 8px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    transition: var(--transition);
}

.info-card:hover {
    background: var(--light-blue);
    transform: translateX(10px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.info-card:hover::before {
    transform: scaleY(1);
}

.info-icon {
    width: 48px;
    height: 48px;
    background: var(--primary-orange);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    flex-shrink: 0;
}

.info-card h3 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.info-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.contact-form-wrapper {
    background: var(--white);
    padding: 40px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
}

.contact-form h2 {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--gray-800);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 4px;
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--white);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

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

.form-message {
    margin-top: 1rem;
    padding: 12px;
    border-radius: 4px;
    display: none;
}

.form-message.success {
    display: block;
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.map-section {
    padding: 0;
}

.map-placeholder {
    height: 400px;
    background: var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: center;
}

.map-content {
    text-align: center;
    color: var(--gray-600);
}

.map-content svg {
    margin: 0 auto 1rem;
    color: var(--primary-orange);
}

.map-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 0.5rem;
}

.map-note {
    font-size: 0.875rem;
    margin-top: 1rem;
    font-style: italic;
}

/* ===================================
   Footer
   =================================== */
.footer {
    background: var(--dark-blue);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--white);
}

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

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

.footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-orange);
}

.footer-tagline {
    margin-top: 1rem;
    opacity: 0.8;
    font-style: italic;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-social {
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.share-label {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9375rem;
}

.social-share-buttons {
    display: flex;
    gap: 12px;
    align-items: center;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-decoration: none;
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.1);
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.share-facebook:hover {
    background: #1877F2;
    border-color: #1877F2;
}

.share-twitter:hover {
    background: #1DA1F2;
    border-color: #1DA1F2;
}

.share-linkedin:hover {
    background: #0077B5;
    border-color: #0077B5;
}

.share-whatsapp:hover {
    background: #25D366;
    border-color: #25D366;
}

/* ===================================
   Responsive Design
   =================================== */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed !important;
        top: 70px !important;
        left: 0 !important;
        right: 0 !important;
        flex-direction: column !important;
        background: var(--white) !important;
        width: 100% !important;
        max-width: 100vw !important;
        max-height: 0 !important;
        padding: 0 1.5rem !important;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15) !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease 0.1s !important;
        gap: 0 !important;
        z-index: 1000 !important;
        overflow: hidden !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transform-origin: top center !important;
        -webkit-overflow-scrolling: touch !important;
        overscroll-behavior: contain !important;
        pointer-events: none !important;
        display: none !important;
    }
    
    /* When menu is closed, ensure NO background shows */
    .nav-menu:not(.active) {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        max-height: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .nav-menu.active,
    .nav-menu[style*="max-height"] {
        max-height: 100vh !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
        opacity: 1 !important;
        visibility: visible !important;
        transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding-top 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    padding-bottom 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                    opacity 0.3s ease 0.1s !important;
        overflow-y: auto !important;
        pointer-events: all !important;
        display: flex !important;
    }
    
    /* Ensure menu items are visible when active */
    .nav-menu.active li {
        display: list-item !important;
    }
    
    .nav-menu.active li a {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Mechanical gear animation indicator */
    .nav-menu::after {
        content: '';
        position: absolute;
        top: 10px;
        right: 20px;
        width: 30px;
        height: 30px;
        background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="%23FF4500" stroke-width="2"><circle cx="12" cy="12" r="8"/><path d="M12 2v4M12 18v4M2 12h4M18 12h4M4.93 4.93l2.83 2.83M16.24 16.24l2.83 2.83M4.93 19.07l2.83-2.83M16.24 7.76l2.83-2.83"/></svg>') no-repeat center;
        background-size: contain;
        opacity: 0;
        transform: rotate(0deg) scale(0);
        transition: opacity 0.3s ease, transform 0.4s cubic-bezier(0.68, -0.55, 0.265, 1.55);
        animation: gearSpin 2s linear infinite;
        animation-play-state: paused;
    }
    
    .nav-menu.active::after {
        opacity: 0.3;
        transform: rotate(360deg) scale(1);
        animation-play-state: running;
    }
    
    @keyframes gearSpin {
        from {
            transform: rotate(0deg);
        }
        to {
            transform: rotate(360deg);
        }
    }

    .nav-menu li {
        width: 100% !important;
        border-bottom: 1px solid var(--gray-100) !important;
        opacity: 0 !important;
        transform: translateX(-20px) !important;
        transition: opacity 0.4s ease, transform 0.4s ease !important;
        transition-delay: 0s !important;
        pointer-events: none !important;
        visibility: hidden !important;
        list-style: none !important;
    }

    .nav-menu.active li,
    .nav-menu.active li a {
        opacity: 1 !important;
        transform: translateX(0) !important;
        pointer-events: all !important;
        visibility: visible !important;
    }

    .nav-menu.active li:nth-child(1) { transition-delay: 0.05s; }
    .nav-menu.active li:nth-child(2) { transition-delay: 0.1s; }
    .nav-menu.active li:nth-child(3) { transition-delay: 0.15s; }
    .nav-menu.active li:nth-child(4) { transition-delay: 0.2s; }
    .nav-menu.active li:nth-child(5) { transition-delay: 0.25s; }
    .nav-menu.active li:nth-child(6) { transition-delay: 0.3s; }
    .nav-menu.active li:nth-child(7) { transition-delay: 0.35s; }

    .nav-menu li:last-child {
        border-bottom: none;
    }
    
    /* Menu Header with Close Button - MOBILE ONLY */
    .menu-header {
        display: none !important;
    }
    
    .nav-menu.active .menu-header {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 1rem 1.5rem !important;
        border-bottom: 2px solid var(--primary-orange) !important;
        background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%) !important;
        margin: -2rem -1.5rem 1rem -1.5rem !important;
    }
    
    .menu-header span {
        color: var(--white) !important;
        font-weight: 700 !important;
        font-size: 1.25rem !important;
    }
    
    .menu-close-btn {
        background: rgba(255, 255, 255, 0.2) !important;
        border: 2px solid rgba(255, 255, 255, 0.3) !important;
        border-radius: 8px !important;
        width: 40px !important;
        height: 40px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        cursor: pointer !important;
        color: var(--white) !important;
        transition: all 0.3s ease !important;
        -webkit-tap-highlight-color: rgba(255, 255, 255, 0.3) !important;
    }
    
    .menu-close-btn:hover,
    .menu-close-btn:active {
        background: rgba(255, 255, 255, 0.3) !important;
        transform: scale(1.1) !important;
    }

    .nav-menu a {
        display: flex;
        align-items: center;
        padding: 1rem 0;
        font-size: 1.125rem;
        color: var(--gray-800);
        width: 100%;
        -webkit-tap-highlight-color: rgba(255, 69, 0, 0.1);
        position: relative;
        padding-left: 15px;
    }
    
    /* Engineering icon indicator for menu items */
    .nav-menu a::before {
        content: '⚙️';
        margin-right: 12px;
        font-size: 1rem;
        opacity: 0.6;
        transform: rotate(0deg) scale(0.8);
        transition: all 0.3s ease;
    }
    
    .nav-menu a:hover::before,
    .nav-menu a.active::before {
        transform: rotate(180deg) scale(1.1);
        opacity: 1;
    }

    .nav-menu a::after {
        display: none;
    }

    .nav-menu a:hover,
    .nav-menu a.active {
        color: var(--primary-orange);
        padding-left: 20px;
        transition: all 0.3s ease;
        background: rgba(255, 69, 0, 0.05);
        border-left: 3px solid var(--primary-orange);
    }

    .nav-toggle {
        display: flex !important;
        z-index: 1001;
        position: relative;
        opacity: 1 !important;
        visibility: visible !important;
        pointer-events: all !important;
    }
    
    /* Mobile menu overlay with mechanical animation - REMOVED to fix white background issue */
    /* The overlay was causing white background to persist after menu closes */
    .nav-menu.active::before {
        display: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Ensure overlay is completely removed when menu is not active */
    .nav-menu:not(.active)::before {
        display: none !important;
        content: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    @keyframes overlayFadeIn {
        from { 
            opacity: 0;
            backdrop-filter: blur(0px);
            -webkit-backdrop-filter: blur(0px);
        }
        to { 
            opacity: 1;
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
        }
    }

    .nav-toggle span {
        background: var(--primary-blue);
    }

    .nav-toggle.active span {
        background: var(--primary-blue);
    }

    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(9px, 9px);
        background: var(--primary-orange);
    }

    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
        transform: translateX(-10px);
    }

    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(8px, -8px);
        background: var(--primary-orange);
    }

    /* Remove any overlay effects when menu closes */
    body.menu-open {
        overflow: hidden !important;
        position: fixed !important;
        width: 100% !important;
        height: 100% !important;
    }
    
    body:not(.menu-open) {
        overflow: visible !important;
        position: static !important;
        width: auto !important;
        height: auto !important;
        background-color: transparent !important;
        background: transparent !important;
        top: auto !important;
        left: auto !important;
        right: auto !important;
        bottom: auto !important;
    }
    
    /* Ensure no white overlay remains - CRITICAL */
    body:not(.menu-open)::before,
    body:not(.menu-open)::after,
    html:not(.menu-open)::before,
    html:not(.menu-open)::after {
        display: none !important;
        content: none !important;
        opacity: 0 !important;
        visibility: hidden !important;
        pointer-events: none !important;
    }
    
    /* Remove any fixed overlays */
    body:not(.menu-open),
    html:not(.menu-open) {
        position: static !important;
        overflow: visible !important;
        background: transparent !important;
        background-color: transparent !important;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .about-grid,
    .about-intro,
    .quality-content,
    .values-content,
    .quality-grid,
    .contact-wrapper {
        grid-template-columns: 1fr;
    }

    .about-stats {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    section {
        padding: 60px 0;
    }

    .contact-form-wrapper {
        padding: 30px 20px;
    }
}

@media (max-width: 480px) {
    .about-stats {
        grid-template-columns: 1fr;
    }

    .industries-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        padding-top: 100px;
    }
}

/* ===================================
   WhatsApp Floating Button
   =================================== */
.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    text-decoration: none;
    animation: pulse-whatsapp 2s infinite;
}

button.whatsapp-float {
    border: none;
    cursor: pointer;
    padding: 0;
    font: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
    background: #20BA5A;
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gray-900);
    color: var(--white);
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    white-space: nowrap;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.whatsapp-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--gray-900);
}

.whatsapp-float:hover .whatsapp-tooltip {
    opacity: 1;
}

@keyframes pulse-whatsapp {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.6);
    }
}

/* WhatsApp lead capture (before opening chat) */
.whatsapp-lead-modal {
    position: fixed;
    inset: 0;
    z-index: 10050;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.55);
    backdrop-filter: blur(4px);
}

.whatsapp-lead-modal.is-open {
    display: flex;
}

.whatsapp-lead-modal__panel {
    width: 100%;
    max-width: 400px;
    background: var(--white);
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
    padding: 1.5rem 1.5rem 1.25rem;
    position: relative;
    animation: whatsapp-lead-in 0.25s ease-out;
}

@keyframes whatsapp-lead-in {
    from {
        opacity: 0;
        transform: scale(0.96) translateY(8px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.whatsapp-lead-modal__close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    width: 36px;
    height: 36px;
    border: none;
    background: var(--gray-100);
    color: var(--gray-800);
    border-radius: 8px;
    font-size: 1.25rem;
    line-height: 1;
    cursor: pointer;
    transition: var(--transition);
}

.whatsapp-lead-modal__close:hover {
    background: var(--gray-600);
    color: var(--white);
}

.whatsapp-lead-modal__title {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0 2rem 0.35rem 0;
    padding-right: 0.5rem;
}

.whatsapp-lead-modal__intro {
    font-size: 0.9rem;
    color: var(--gray-600);
    margin: 0 0 1.25rem;
    line-height: 1.45;
}

.whatsapp-lead-modal__field {
    margin-bottom: 1rem;
}

.whatsapp-lead-modal__field label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--gray-800);
    margin-bottom: 0.35rem;
}

.whatsapp-lead-modal__field input {
    width: 100%;
    padding: 0.65rem 0.75rem;
    border: 1px solid #dee2e6;
    border-radius: 8px;
    font-size: 1rem;
    font-family: inherit;
    box-sizing: border-box;
}

.whatsapp-lead-modal__field input:focus {
    outline: none;
    border-color: #25D366;
    box-shadow: 0 0 0 3px rgba(37, 211, 102, 0.2);
}

.whatsapp-lead-modal__error {
    font-size: 0.8rem;
    color: #c0392b;
    margin: -0.5rem 0 0.75rem;
    min-height: 1.2em;
}

.whatsapp-lead-modal__actions {
    display: flex;
    gap: 0.65rem;
    margin-top: 0.25rem;
}

.whatsapp-lead-modal__btn {
    flex: 1;
    padding: 0.7rem 1rem;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    border: none;
    font-family: inherit;
    transition: var(--transition);
}

.whatsapp-lead-modal__btn--secondary {
    background: var(--gray-100);
    color: var(--gray-800);
}

.whatsapp-lead-modal__btn--secondary:hover {
    background: #dee2e6;
}

.whatsapp-lead-modal__btn--primary {
    background: #25D366;
    color: var(--white);
}

.whatsapp-lead-modal__btn--primary:hover {
    background: #20BA5A;
}

/* ===================================
   Chatbot Widget
   =================================== */
.chatbot-toggle {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    width: 70px !important;
    height: 70px !important;
    background: linear-gradient(135deg, var(--primary-orange) 0%, var(--orange-light) 100%) !important;
    color: var(--white) !important;
    border: 3px solid var(--white) !important;
    border-radius: 50% !important;
    cursor: pointer !important;
    box-shadow: 0 6px 25px rgba(255, 69, 0, 0.5), 0 0 0 0 rgba(255, 69, 0, 0.7) !important;
    z-index: 9999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    position: relative !important;
    animation: chatbotPulse 2s ease-in-out infinite !important;
}

.chatbot-toggle:hover {
    transform: scale(1.15);
    box-shadow: 0 8px 35px rgba(255, 69, 0, 0.7), 0 0 0 10px rgba(255, 69, 0, 0.1);
    background: linear-gradient(135deg, var(--orange-light) 0%, var(--primary-orange) 100%);
}

.chatbot-toggle:active {
    transform: scale(1.05);
}

.chatbot-toggle.hidden {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transform: scale(0.8) !important;
}

@keyframes chatbotPulse {
    0%, 100% {
        box-shadow: 0 6px 25px rgba(255, 69, 0, 0.5), 0 0 0 0 rgba(255, 69, 0, 0.7);
    }
    50% {
        box-shadow: 0 6px 25px rgba(255, 69, 0, 0.5), 0 0 0 8px rgba(255, 69, 0, 0);
    }
}

.chatbot-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: rgba(255, 69, 0, 0.3);
    animation: pulseRing 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
    pointer-events: none;
}

@keyframes pulseRing {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0;
    }
}

.chatbot-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: var(--white);
    border-radius: 15px;
    padding: 4px 10px;
    font-size: 0.7rem;
    font-weight: 700;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    border: 2px solid var(--white);
    white-space: nowrap;
    animation: badgeBounce 2s ease-in-out infinite;
}

@keyframes badgeBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-3px);
    }
}

.chatbot-container {
    position: fixed !important;
    bottom: 100px !important;
    right: 30px !important;
    width: 380px !important;
    height: 600px !important;
    max-height: calc(100vh - 150px) !important;
    background: var(--white) !important;
    border-radius: 20px !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2) !important;
    z-index: 9998 !important;
    display: none !important;
    flex-direction: column !important;
    transform: translateY(0) scale(1) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.chatbot-container.active,
.chatbot-container[style*="display: flex"] {
    display: flex !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: all !important;
    transform: translateY(0) scale(1) !important;
}

.chatbot-header {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 20px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chatbot-header-content {
    display: flex;
    align-items: center;
    gap: 12px;
}

.chatbot-avatar {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid rgba(255, 255, 255, 0.3);
    animation: gearRotate 8s linear infinite;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

@keyframes gearRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.chatbot-header-text h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.chatbot-header-text p {
    font-size: 0.75rem;
    opacity: 0.9;
}

.chatbot-minimize {
    background: transparent;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: var(--transition);
}

.chatbot-minimize:hover {
    background: rgba(255, 255, 255, 0.2);
}

.chatbot-messages {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    background: var(--gray-100);
}

.chatbot-message {
    display: flex;
    animation: slideIn 0.3s ease-out;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.chatbot-message.user-message {
    justify-content: flex-end;
}

.message-content {
    max-width: 75%;
    padding: 12px 16px;
    border-radius: 18px;
    word-wrap: break-word;
}

.bot-message .message-content {
    background: var(--white);
    color: var(--gray-900);
    border-bottom-left-radius: 4px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.user-message .message-content {
    background: var(--primary-orange);
    color: var(--white);
    border-bottom-right-radius: 4px;
}

.message-content p {
    margin: 0 0 8px 0;
    line-height: 1.6;
    font-size: 0.9375rem;
}

.message-content p:last-child {
    margin-bottom: 0;
}

.message-content a {
    color: var(--primary-orange);
    text-decoration: underline;
    font-weight: 600;
}

.message-content a:hover {
    color: var(--orange-light);
}

/* Typing indicator */
.typing-dots {
    display: flex;
    gap: 6px;
    padding: 8px 0;
}

.typing-dots span {
    width: 8px;
    height: 8px;
    background: var(--gray-400);
    border-radius: 50%;
    animation: typingDot 1.4s ease-in-out infinite;
}

.typing-dots span:nth-child(1) {
    animation-delay: 0s;
}

.typing-dots span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-dots span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typingDot {
    0%, 60%, 100% {
        transform: translateY(0);
        opacity: 0.7;
    }
    30% {
        transform: translateY(-10px);
        opacity: 1;
    }
}

.chatbot-input-area {
    padding: 15px;
    background: var(--white);
    border-top: 1px solid var(--gray-200);
    border-radius: 0 0 20px 20px;
}

.quick-replies {
    display: flex;
    gap: 8px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.quick-reply-btn {
    padding: 6px 12px;
    background: var(--light-blue);
    color: var(--primary-blue);
    border: 1px solid var(--gray-200);
    border-radius: 20px;
    font-size: 0.875rem;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.quick-reply-btn:hover {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

.chatbot-input-wrapper {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chatbot-input {
    flex: 1;
    padding: 12px 16px;
    border: 2px solid var(--gray-200);
    border-radius: 25px;
    font-size: 0.9375rem;
    font-family: var(--font-primary);
    outline: none;
    transition: var(--transition);
}

.chatbot-input:focus {
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 69, 0, 0.1);
}

.chatbot-send {
    width: 44px;
    height: 44px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    flex-shrink: 0;
}

.chatbot-send:hover {
    background: var(--orange-light);
    transform: scale(1.1);
}

.chatbot-send:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 480px) {
    .chatbot-container {
        width: calc(100% - 40px) !important;
        right: 20px !important;
        left: 20px !important;
        height: calc(100vh - 120px) !important;
        max-height: calc(100vh - 120px) !important;
        display: flex !important;
    }
    
    .chatbot-container.active {
        display: flex !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 55px;
        height: 55px;
    }

    .chatbot-toggle {
        bottom: 90px !important;
        right: 20px !important;
        width: 60px !important;
        height: 60px !important;
        display: flex !important;
        visibility: visible !important;
        opacity: 1 !important;
        z-index: 9999 !important;
    }
    
    .chatbot-badge {
        font-size: 0.65rem;
        padding: 3px 8px;
        top: -6px;
        right: -6px;
    }
}

/* ===================================
   Marketing Pop-ups & Interactive Elements
   =================================== */
.marketing-popup {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: var(--transition);
}

.marketing-popup.show {
    opacity: 1;
    pointer-events: all;
}

.popup-content {
    background: var(--white);
    border-radius: 20px;
    padding: 40px;
    max-width: 450px;
    width: 90%;
    text-align: center;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: var(--transition);
    animation: popupBounce 0.6s cubic-bezier(0.68, -0.55, 0.265, 1.55) forwards;
}

.marketing-popup.show .popup-content {
    transform: scale(1) translateY(0);
}

@keyframes popupBounce {
    0% {
        transform: scale(0.3) translateY(100px);
        opacity: 0;
    }
    50% {
        transform: scale(1.05) translateY(-10px);
    }
    100% {
        transform: scale(1) translateY(0);
        opacity: 1;
    }
}

.popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: transparent;
    border: none;
    font-size: 28px;
    color: var(--gray-600);
    cursor: pointer;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    line-height: 1;
}

.popup-close:hover {
    background: var(--gray-200);
    color: var(--gray-900);
    transform: rotate(90deg);
}

.popup-icon {
    font-size: 4rem;
    margin-bottom: 15px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.popup-content h3 {
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 10px;
}

.popup-content p {
    font-size: 1.125rem;
    color: var(--gray-700);
    margin-bottom: 8px;
}

.popup-subtext {
    font-size: 0.875rem;
    color: var(--gray-600);
    font-style: italic;
}

/* Toast Notifications */
.toast-container {
    position: fixed;
    top: 100px;
    right: 30px;
    z-index: 10001;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.toast {
    background: var(--white);
    padding: 16px 20px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    min-width: 300px;
    max-width: 400px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideInRight 0.4s ease-out;
    border-left: 4px solid var(--primary-orange);
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.toast.success {
    border-left-color: #25D366;
}

.toast.info {
    border-left-color: var(--primary-blue);
}

.toast-icon {
    font-size: 1.5rem;
}

.toast-content {
    flex: 1;
}

.toast-content h4 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 4px;
}

.toast-content p {
    font-size: 0.875rem;
    color: var(--gray-600);
    margin: 0;
}

.toast-close {
    background: transparent;
    border: none;
    font-size: 20px;
    color: var(--gray-400);
    cursor: pointer;
    padding: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.toast-close:hover {
    color: var(--gray-900);
}

/* Legacy Scroll Progress Bar (Fallback) */
.scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 5px;
    background: linear-gradient(90deg, 
        var(--primary-orange) 0%, 
        var(--orange-light) 30%,
        #FFD700 50%,
        var(--orange-light) 70%,
        var(--primary-orange) 100%
    );
    background-size: 200% 100%;
    box-shadow: 
        0 0 20px rgba(255, 69, 0, 0.8),
        0 0 40px rgba(255, 69, 0, 0.5);
    animation: shimmerProgress 2s linear infinite;
    z-index: 10002;
    width: 0%;
    transition: width 0.1s ease-out;
    box-shadow: 0 2px 10px rgba(255, 69, 0, 0.4);
}

/* Professional Trust Indicators */
.trust-indicators {
    position: fixed;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    z-index: 500;
    pointer-events: none;
}

.trust-badge {
    background: linear-gradient(135deg, rgba(0, 51, 102, 0.96) 0%, rgba(0, 31, 63, 0.96) 100%);
    backdrop-filter: blur(12px) saturate(180%);
    color: var(--white);
    padding: 14px 20px 14px 14px;
    border-radius: 0 35px 35px 0;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 8px 32px rgba(0, 51, 102, 0.25),
                0 0 0 1px rgba(255, 255, 255, 0.1) inset;
    transform: translateX(calc(-100% + 60px));
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-left: 4px solid var(--primary-orange);
    opacity: 0;
    animation: slideInTrust 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s forwards;
    position: relative;
    overflow: hidden;
}

.trust-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transition: left 0.6s;
}

.trust-badge:hover::before {
    left: 100%;
}

@keyframes slideInTrust {
    0% {
        transform: translateX(calc(-100% + 60px)) scale(0.8);
        opacity: 0;
    }
    60% {
        transform: translateX(10px) scale(1.02);
        opacity: 1;
    }
    100% {
        transform: translateX(0) scale(1);
        opacity: 1;
    }
}

.trust-badge:hover {
    transform: translateX(8px) scale(1.02);
    box-shadow: 0 12px 40px rgba(0, 51, 102, 0.35),
                0 0 0 1px rgba(255, 255, 255, 0.15) inset,
                0 0 20px rgba(255, 69, 0, 0.2);
    border-left-width: 5px;
}

.trust-icon {
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 69, 0, 0.25) 0%, rgba(255, 107, 53, 0.25) 100%);
    border-radius: 50%;
    padding: 6px;
    position: relative;
    flex-shrink: 0;
}

.trust-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-orange), var(--orange-light));
    opacity: 0;
    transition: opacity 0.4s;
    z-index: -1;
    filter: blur(8px);
}

.trust-badge:hover .trust-icon::after {
    opacity: 0.6;
}

.trust-icon svg {
    width: 16px;
    height: 16px;
    color: var(--primary-orange);
    filter: drop-shadow(0 2px 4px rgba(255, 69, 0, 0.3));
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.trust-badge:hover .trust-icon svg {
    transform: scale(1.15) rotate(5deg);
}

.trust-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.8px;
    white-space: nowrap;
    text-transform: uppercase;
    font-family: var(--font-primary);
    position: relative;
    transition: letter-spacing 0.3s;
}

.trust-badge:hover .trust-text {
    letter-spacing: 1.2px;
}

/* Sophisticated subtle animation */
@media (prefers-reduced-motion: no-preference) {
    .trust-badge {
        animation: slideInTrust 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 2.5s forwards,
                   elegantFloat 6s ease-in-out 4s infinite;
    }
}

@keyframes elegantFloat {
    0%, 100% {
        transform: translateX(0) translateY(0) rotate(0deg);
    }
    25% {
        transform: translateX(0) translateY(-3px) rotate(0.5deg);
    }
    50% {
        transform: translateX(0) translateY(-6px) rotate(0deg);
    }
    75% {
        transform: translateX(0) translateY(-3px) rotate(-0.5deg);
    }
}

/* Newsletter Bar */
.newsletter-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    padding: 15px 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.2);
}

.newsletter-bar.show {
    transform: translateY(0);
}

.newsletter-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.newsletter-icon {
    font-size: 1.5rem;
}

.newsletter-text {
    flex: 1;
    font-size: 0.9375rem;
    min-width: 200px;
}

.newsletter-input-group {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.newsletter-input {
    padding: 10px 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    color: var(--white);
    font-size: 0.9375rem;
    min-width: 200px;
    outline: none;
    transition: var(--transition);
}

.newsletter-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-input:focus {
    border-color: var(--white);
    background: rgba(255, 255, 255, 0.2);
}

.newsletter-btn {
    padding: 10px 24px;
    background: var(--primary-orange);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
}

.newsletter-btn:hover {
    background: var(--orange-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 69, 0, 0.4);
}

.newsletter-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 24px;
    cursor: pointer;
    padding: 5px;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: var(--transition);
    line-height: 1;
}

.newsletter-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

/* Enhanced Animations */
.service-card,
.industry-card,
.philosophy-card,
.why-card {
    animation: fadeInUp 0.6s ease-out backwards;
}

.service-card:nth-child(1) { animation-delay: 0.1s; }
.service-card:nth-child(2) { animation-delay: 0.2s; }
.service-card:nth-child(3) { animation-delay: 0.3s; }
.service-card:nth-child(4) { animation-delay: 0.4s; }
.service-card:nth-child(5) { animation-delay: 0.5s; }
.service-card:nth-child(6) { animation-delay: 0.6s; }
.service-card:nth-child(7) { animation-delay: 0.7s; }

/* Pulse Animation for CTAs */
.cta .btn-primary {
    animation: pulseCTA 2s infinite;
}

@keyframes pulseCTA {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(255, 69, 0, 0.7);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(255, 69, 0, 0);
    }
}

/* Hover Scale Effects */
.stat-card,
.info-card {
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.stat-card:hover,
.info-card:hover {
    transform: scale(1.05) translateY(-5px);
}

/* Enhanced Image Effects */
.about-image,
.intro-image,
.project-image img,
.showcase-card img {
    position: relative;
    overflow: hidden;
}

.about-image::after,
.intro-image::after,
.project-image img::after,
.showcase-card img::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.4) 50%,
        transparent 70%
    );
    transform: translateX(-100%) translateY(-100%) rotate(45deg);
    transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: none;
}

.about-image:hover::after,
.intro-image:hover::after,
.project-image:hover img::after,
.showcase-card:hover img::after {
    transform: translateX(100%) translateY(100%) rotate(45deg);
}

/* Parallax Image Effect */
.about-image-wrapper,
.intro-visual {
    position: relative;
    transform-style: preserve-3d;
}

.about-image,
.intro-image {
    will-change: transform;
    backface-visibility: hidden;
}

/* Number Counter Animation Enhancement */
.stat-number {
    transition: transform 0.3s ease;
}

.stat-card:hover .stat-number {
    transform: scale(1.2);
    color: var(--primary-orange);
}

@media (max-width: 768px) {
    .trust-indicators {
        display: none;
    }

    .newsletter-content {
        flex-direction: column;
        text-align: center;
    }

    .newsletter-input-group {
        width: 100%;
        flex-direction: column;
    }

    .newsletter-input {
        width: 100%;
    }

    .toast {
        min-width: calc(100vw - 40px);
        max-width: calc(100vw - 40px);
    }

    .toast-container {
        right: 20px;
        left: 20px;
    }
}

/* ===================================
   Services Page Styles
   =================================== */
.services-overview {
    padding: 60px 0;
    background: var(--gray-50);
}

.overview-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.overview-content .lead {
    font-size: 1.25rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.service-detail-section {
    padding: 100px 0;
    position: relative;
}

.service-detail-section.service-alt {
    background: var(--gray-50);
}

.service-detail-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.service-detail-wrapper.service-detail-reverse {
    direction: rtl;
}

.service-detail-wrapper.service-detail-reverse > * {
    direction: ltr;
}

.service-detail-content {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.service-category {
    display: inline-block;
    padding: 8px 20px;
    background: rgba(255, 69, 0, 0.1);
    border: 1px solid var(--primary-orange);
    border-radius: 30px;
    color: var(--primary-orange);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: fit-content;
}

.service-detail-content h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--gray-900);
    margin: 0;
}

.service-intro {
    font-size: 1.125rem;
    line-height: 1.8;
    color: var(--gray-700);
}

.service-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.service-feature-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.service-feature-item .feature-icon {
    font-size: 2rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 69, 0, 0.1);
    border-radius: 12px;
    flex-shrink: 0;
}

.service-feature-item h4 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 8px;
}

.service-feature-item p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    margin: 0;
}

.service-detail-image {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.service-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.service-detail-image:hover img {
    transform: scale(1.05);
}

.image-overlay-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 100%);
    padding: 30px;
    color: var(--white);
}

.image-overlay-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.image-overlay-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin: 0;
}

.service-equipment {
    padding: 30px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    margin-top: 20px;
}

.service-equipment h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: var(--gray-900);
    margin-bottom: 20px;
}

.equipment-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.equipment-list li {
    font-size: 1rem;
    color: var(--gray-700);
    padding: 8px 0;
}

.service-equipment-showcase {
    margin-top: 40px;
}

.service-equipment-showcase h4 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin-bottom: 30px;
}

.equipment-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.equipment-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.equipment-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-orange);
}

.equipment-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.equipment-card h5 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    padding: 16px 16px 8px;
    margin: 0;
}

.equipment-card p {
    font-size: 0.9375rem;
    color: var(--gray-600);
    padding: 0 16px 16px;
    margin: 0;
    line-height: 1.6;
}

.additional-services {
    padding: 100px 0;
    background: var(--gray-50);
}

.additional-services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    margin-top: 60px;
}

.additional-service-card {
    background: var(--white);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.additional-service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.additional-service-card .service-icon {
    font-size: 3rem;
    text-align: center;
    padding: 30px 0 20px;
}

.additional-service-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    text-align: center;
    margin-bottom: 16px;
}

.additional-service-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--gray-600);
    text-align: center;
    padding: 0 30px 20px;
}

.additional-service-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.services-cta {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    color: var(--white);
    text-align: center;
}

.services-cta h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    margin-bottom: 20px;
    color: var(--white);
}

.services-cta p {
    font-size: 1.25rem;
    margin-bottom: 40px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn-large {
    padding: 18px 40px;
    font-size: 1.125rem;
}

/* Responsive Styles for Services Page - Mobile-First AMP Optimized */
@media (max-width: 1024px) {
    .service-detail-wrapper {
        grid-template-columns: 1fr;
        gap: 60px;
    }
    
    .service-detail-wrapper.service-detail-reverse {
        direction: ltr;
    }
    
    .equipment-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .additional-services-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .service-detail-section {
        padding: 40px 0;
    }
    
    .service-detail-content {
        gap: 24px;
    }
    
    .service-detail-content h2 {
        font-size: 1.75rem;
        line-height: 1.3;
    }
    
    .service-intro {
        font-size: 1rem;
        line-height: 1.7;
    }
    
    .service-feature-item {
        flex-direction: column;
        gap: 12px;
    }
    
    .service-feature-item .feature-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
    
    .service-feature-item h4 {
        font-size: 1rem;
    }
    
    .service-feature-item p {
        font-size: 0.9375rem;
    }
    
    .service-detail-image {
        margin-top: 20px;
    }
    
    .image-overlay-content {
        padding: 20px;
    }
    
    .image-overlay-content h3 {
        font-size: 1.25rem;
    }
    
    .image-overlay-content p {
        font-size: 0.875rem;
    }
    
    .service-equipment {
        padding: 20px;
        margin-top: 20px;
    }
    
    .equipment-list {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .equipment-list li {
        font-size: 0.9375rem;
        padding: 6px 0;
    }
    
    .equipment-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .equipment-card img {
        height: 180px;
    }
    
    .equipment-card h5 {
        font-size: 1rem;
        padding: 12px 12px 6px;
    }
    
    .equipment-card p {
        font-size: 0.875rem;
        padding: 0 12px 12px;
    }
    
    .additional-services {
        padding: 60px 0;
    }
    
    .additional-services-grid {
        gap: 30px;
        margin-top: 40px;
    }
    
    .additional-service-card .service-icon {
        font-size: 2.5rem;
        padding: 24px 0 16px;
    }
    
    .additional-service-card h3 {
        font-size: 1.25rem;
        margin-bottom: 12px;
    }
    
    .additional-service-card p {
        font-size: 0.9375rem;
        padding: 0 20px 16px;
    }
    
    .additional-service-card img {
        height: 220px;
    }
    
    .services-cta {
        padding: 60px 20px;
    }
    
    .services-cta h2 {
        font-size: 1.75rem;
        margin-bottom: 16px;
    }
    
    .services-cta p {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: stretch;
        gap: 16px;
    }
    
    .cta-buttons .btn {
        width: 100%;
        padding: 16px 32px;
        font-size: 1rem;
    }
    
    .services-overview {
        padding: 40px 0;
    }
    
    .overview-content .lead {
        font-size: 1.125rem;
        line-height: 1.7;
    }
    
    .service-category {
        font-size: 0.75rem;
        padding: 6px 16px;
    }
}

/* Mobile touch optimization */
@media (max-width: 768px) and (hover: none) and (pointer: coarse) {
    .service-feature-item {
        padding: 16px;
        background: var(--gray-50);
        border-radius: 12px;
    }
    
    .equipment-card {
        touch-action: manipulation;
    }
    
    .btn {
        min-height: 48px;
        touch-action: manipulation;
    }
}

/* AMP Performance - Image Optimization */
img[loading="lazy"] {
    content-visibility: auto;
}

.service-detail-image img,
.equipment-card img,
.additional-service-card img {
    will-change: transform;
    transform: translateZ(0);
}

/* ===================================
   Marketing & Conversion Optimizations
   =================================== */
/* Trust Badges & Social Proof */
.trust-badges {
    display: flex;
    gap: 30px;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 30px 0;
    background: var(--gray-50);
    margin: 40px 0;
}

.trust-badge-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: var(--white);
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    min-width: 150px;
    transition: all 0.3s ease;
}

.trust-badge-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.trust-badge-icon {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.trust-badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    text-align: center;
}

.trust-badge-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-orange);
}

/* Conversion CTA Enhancement */
.enhanced-cta {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    padding: 60px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

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

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

.enhanced-cta-content {
    position: relative;
    z-index: 2;
}

.cta-headline {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 20px;
    line-height: 1.2;
}

.cta-subheadline {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.cta-benefits {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.cta-benefit {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--white);
    font-size: 1rem;
}

.cta-benefit-icon {
    font-size: 1.5rem;
}

.cta-button-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Scroll-to-Top Button */
.scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 998;
    box-shadow: 0 4px 15px rgba(255, 69, 0, 0.3);
    border: none;
    font-size: 1.5rem;
}

.scroll-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 69, 0, 0.4);
    background: var(--orange-light);
}

/* Exit Intent Detection Enhancement */
.exit-intent-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    display: none;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

.exit-intent-overlay.active {
    display: flex;
}

.exit-intent-popup {
    background: var(--white);
    border-radius: 16px;
    padding: 40px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: slideUp 0.3s ease;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.exit-close {
    position: absolute;
    top: 15px;
    right: 15px;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-600);
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.exit-close:hover {
    background: var(--gray-100);
    color: var(--primary-blue);
}

/* Performance Monitoring */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles for Marketing Materials */
@media print {
    .navbar,
    .whatsapp-float,
    .chatbot-container,
    .scroll-to-top,
    .social-share-buttons {
        display: none !important;
    }
    
    body {
        color: #000;
        background: #fff;
    }
    
    a {
        color: #000;
        text-decoration: underline;
    }
}

/* Mobile Marketing Optimizations */
@media (max-width: 768px) {
    .trust-badges {
        gap: 15px;
        padding: 20px 0;
    }
    
    .trust-badge-item {
        min-width: 120px;
        padding: 15px;
    }
    
    .trust-badge-icon {
        font-size: 2rem;
    }
    
    .trust-badge-value {
        font-size: 1.25rem;
    }
    
    .cta-benefits {
        gap: 20px;
        flex-direction: column;
    }
    
    .cta-button-group {
        flex-direction: column;
        align-items: stretch;
    }
    
    .cta-button-group .btn {
        width: 100%;
    }
    
    .scroll-to-top {
        bottom: 90px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
    
    .footer-social {
        flex-direction: column;
        gap: 15px;
    }
}

/* ===================================
   Animated Equipment Showcase
   =================================== */
.equipment-animation {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 200px;
    overflow: hidden;
    pointer-events: none;
    z-index: 2;
    opacity: 0.3;
}

.equipment-container {
    display: flex;
    justify-content: space-around;
    align-items: flex-end;
    height: 100%;
    padding: 0 10%;
    position: relative;
}

.equipment-item {
    position: relative;
    animation: floatEquipment 6s ease-in-out infinite;
    transform-origin: center bottom;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.3));
}

.equipment-item:nth-child(1) {
    animation-delay: 0s;
}

.equipment-item:nth-child(2) {
    animation-delay: 1.5s;
}

.equipment-item:nth-child(3) {
    animation-delay: 3s;
}

.equipment-item:nth-child(4) {
    animation-delay: 4.5s;
}

.equipment-svg {
    width: 120px;
    height: 90px;
    display: block;
    transition: transform 0.3s ease;
}

.equipment-arm,
.equipment-boom {
    animation: operateEquipment 4s ease-in-out infinite;
    transform-origin: center;
}

.equipment-drum {
    animation: rotateDrum 8s linear infinite;
    transform-origin: center;
}

.equipment-item:hover {
    transform: translateY(-10px) scale(1.1);
    filter: drop-shadow(0 15px 30px rgba(255, 69, 0, 0.4));
    z-index: 10;
}

.equipment-item:hover .equipment-label {
    opacity: 1;
    transform: translateY(-5px);
}

.equipment-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 69, 0, 0.9);
    color: var(--white);
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
}

.equipment-label::after {
    content: '';
    position: absolute;
    top: -5px;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-bottom-color: rgba(255, 69, 0, 0.9);
}

.equipment-particles {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 69, 0, 0.6);
    border-radius: 50%;
    animation: floatParticle 8s infinite ease-in-out;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 6s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 2s;
    animation-duration: 8s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 3s;
    animation-duration: 6.5s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 4s;
    animation-duration: 7.5s;
}

@keyframes floatEquipment {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    25% {
        transform: translateY(-15px) rotate(1deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
    75% {
        transform: translateY(-20px) rotate(0.5deg);
    }
}

@keyframes operateEquipment {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(15deg);
    }
}

@keyframes rotateDrum {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

@keyframes floatParticle {
    0% {
        transform: translateY(200px) translateX(0) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
        transform: translateY(180px) translateX(10px) scale(1);
    }
    90% {
        opacity: 1;
        transform: translateY(20px) translateX(-10px) scale(1);
    }
    100% {
        transform: translateY(0) translateX(0) scale(0);
        opacity: 0;
    }
}

/* Enhanced equipment visibility on hover */
.hero:hover .equipment-animation {
    opacity: 0.25;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .equipment-animation {
        height: 150px;
        opacity: 0.1;
    }

    .equipment-svg {
        width: 80px;
        height: 60px;
    }

    .equipment-container {
        padding: 0 5%;
    }

    .equipment-label {
        font-size: 0.65rem;
        padding: 3px 8px;
        bottom: -20px;
    }
}

@media (max-width: 480px) {
    .equipment-animation {
        height: 120px;
    }

    .equipment-svg {
        width: 60px;
        height: 45px;
    }

    .equipment-item:nth-child(3),
    .equipment-item:nth-child(4) {
        display: none;
    }
}

/* ===================================
   SCROLL ANIMATIONS & EFFECTS
   =================================== */

/* Scroll Reveal Base Classes */
.scroll-reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Slide In From Left */
.slide-in-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-left.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Slide In From Right */
.slide-in-right {
    opacity: 0;
    transform: translateX(100px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.slide-in-right.revealed {
    opacity: 1;
    transform: translateX(0);
}

/* Fade In Scale */
.fade-scale {
    opacity: 0;
    transform: scale(0.9);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-scale.revealed {
    opacity: 1;
    transform: scale(1);
}

/* Fade In */
.fade-in {
    opacity: 0;
    transition: opacity 1s ease;
}

.fade-in.revealed {
    opacity: 1;
}

/* Stagger Delays for Sequential Animations */
.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }
.stagger-6 { transition-delay: 0.6s; }

/* Rotate In Animation */
@keyframes rotateIn {
    from {
        opacity: 0;
        transform: rotate(-180deg) scale(0.5);
    }
    to {
        opacity: 1;
        transform: rotate(0) scale(1);
    }
}

.rotate-in {
    animation: rotateIn 1s ease forwards;
}

/* Bounce In Animation */
@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3) translateY(-50px);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.95);
    }
    100% {
        transform: scale(1);
    }
}

.bounce-in {
    animation: bounceIn 0.8s ease forwards;
}

/* Pulse Animation for Attention */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.pulse {
    animation: pulse 2s ease infinite;
}

/* Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 69, 0, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 69, 0, 0.6), 0 0 60px rgba(0, 51, 102, 0.4);
    }
}

.glow-effect {
    animation: glow 3s ease infinite;
}

/* Float Animation */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-20px);
    }
}

.float-animation {
    animation: float 4s ease-in-out infinite;
}

/* Shake Animation for Call-to-Action */
@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease;
}

/* Gradient Animation for Text */
@keyframes gradientShift {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

.gradient-text {
    background: linear-gradient(90deg, var(--primary-blue), var(--primary-orange), var(--primary-blue));
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
}

/* Parallax Container */
.parallax-container {
    position: relative;
    overflow: hidden;
}

.parallax-element {
    transition: transform 0.5s ease-out;
    will-change: transform;
}

/* Enhanced Card Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 51, 102, 0.3);
}

/* Shimmer Effect for Loading */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.shimmer {
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0) 0%,
        rgba(255, 255, 255, 0.3) 50%,
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 1000px 100%;
    animation: shimmer 2s infinite;
}

/* Number Counter Animation */
@keyframes countUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.count-up {
    animation: countUp 0.5s ease forwards;
}

/* Progress Bar Animation */
@keyframes fillProgress {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}

.progress-fill {
    animation: fillProgress 2s ease forwards;
}

/* Typing Effect */
@keyframes typing {
    from {
        width: 0;
    }
    to {
        width: 100%;
    }
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary-orange);
    white-space: nowrap;
    animation: typing 3s steps(40, end), blink 0.75s step-end infinite;
}

@keyframes blink {
    50% {
        border-color: transparent;
    }
}

/* Flip Card Effect */
.flip-card {
    perspective: 1000px;
    transition: transform 0.6s;
    transform-style: preserve-3d;
}

.flip-card:hover {
    transform: rotateY(180deg);
}

/* Wave Animation for Sections */
@keyframes wave {
    0% {
        transform: translateX(0) translateZ(0) scaleY(1);
    }
    50% {
        transform: translateX(-25%) translateZ(0) scaleY(0.55);
    }
    100% {
        transform: translateX(-50%) translateZ(0) scaleY(1);
    }
}

.wave-background {
    animation: wave 8s linear infinite;
}

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

/* Loading Skeleton Animation */
@keyframes skeleton-loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}

.skeleton {
    background: linear-gradient(
        90deg,
        #f0f0f0 0%,
        #e0e0e0 50%,
        #f0f0f0 100%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

/* Responsive Animation Adjustments */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Performance Optimization */
.will-animate {
    will-change: transform, opacity;
}

/* Remove will-change after animation completes */
.animation-complete {
    will-change: auto;
}

