/* --- VARIABLES (Simtech Brand Palette) --- */
        :root {
            --gradient-primary: linear-gradient(135deg, #2c3e50 0%, #000000 100%);
            --accent-action: #ff9f43;
            --accent-hover: #e67e22;
            --dark-navy: #2f3640;
            --bg-light: #dcdde1;
            --bg-light-section: #eef1f4;
            --text-dark: #2f3542;
            --text-grey: #57606f;
            --white: #ffffff;
        }

        * {
            box-sizing: border-box;
            margin: 0;
            padding: 0;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            font-family: 'Roboto', sans-serif;
            line-height: 1.6;
            color: var(--text-grey);
            background-color: var(--white);
        }

        h1, h2, h3, h4, h5 {
            font-family: 'Exo 2', sans-serif;
            font-weight: 700;
            color: var(--text-dark);
            text-transform: uppercase;
        }

        /* --- HEADER --- */
        header {
            background: var(--gradient-primary);
            padding: 10px 0;
            position: sticky;
            top: 0;
            z-index: 1000;
            box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
            border-bottom: 2px solid var(--accent-action);
        }

        .container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        .navbar {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
        }

        .logo-img {
            height: 80px;
            width: auto;
        }

        .logo-text {
            color: white;
            margin-left: 15px;
            font-family: 'Orbitron', sans-serif;
            font-size: 1.5rem;
            font-weight: 700;
            letter-spacing: 1px;
            text-transform: uppercase;
            line-height: 1.2;
        }

        .nav-links {
            display: flex;
            gap: 30px;
        }

        .nav-links a {
            text-decoration: none;
            color: white;
            font-weight: 500;
            font-size: 0.9rem;
            text-transform: uppercase;
            transition: 0.3s;
            opacity: 0.9;
        }

        .nav-links a:hover {
            opacity: 1;
            color: var(--accent-action);
        }

        .cta-btn-nav {
            background: var(--accent-action);
            color: white !important;
            padding: 8px 25px;
            border-radius: 4px;
            font-weight: 700;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
        }

        .cta-btn-nav:hover {
            background: var(--white);
            color: var(--accent-action) !important;
            transform: translateY(-2px);
        }

        /* --- HERO SECTION --- */
        .hero {
            background-color: var(--dark-navy);
            background-image:
                linear-gradient(90deg,
                    var(--dark-navy) 0%,
                    var(--dark-navy) 30%,
                    rgba(47, 54, 64, 0.8) 50%,
                    rgba(47, 54, 64, 0) 100%),
                url('hero-wide.jpg');
            background-size: 100% 100%, auto 100%;
            background-position: left top, right top;
            background-repeat: no-repeat;
            color: var(--white);
            padding: 140px 0 160px 0;
            position: relative;
            overflow: hidden;
        }

        .custom-shape-divider-bottom-1 {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            overflow: hidden;
            line-height: 0;
            transform: rotate(180deg);
        }

        .custom-shape-divider-bottom-1 svg {
            position: relative;
            display: block;
            width: calc(100% + 1.3px);
            height: 100px;
        }

        .custom-shape-divider-bottom-1 .shape-fill {
            fill: var(--bg-light-section);
        }

        .custom-shape-divider-bottom-1 .shape-stroke {
            fill: none;
            stroke: var(--accent-action);
            stroke-width: 2px;
            vector-effect: non-scaling-stroke;
        }

        .hero-container {
            display: flex;
            align-items: center;
            position: relative;
            z-index: 10;
        }

        .hero-text {
            max-width: 650px;
            width: 100%;
        }

        .hero h1 {
            font-size: 3.5rem;
            margin-bottom: 20px;
            color: white;
            line-height: 1.1;
            letter-spacing: 1px;
            text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
        }

        .hero h1 span {
            color: var(--accent-action);
        }

        .hero p {
            font-size: 1.25rem;
            margin-bottom: 35px;
            color: #eeeeee;
            max-width: 600px;
            font-weight: 300;
            text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
        }

        .btn-hero {
            background: var(--accent-action);
            color: white;
            padding: 15px 45px;
            border-radius: 4px;
            text-decoration: none;
            font-weight: 700;
            font-family: 'Exo 2', sans-serif;
            display: inline-block;
            box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
            transition: 0.3s;
            text-transform: uppercase;
            letter-spacing: 1px;
            font-size: 0.9rem;
        }

        .btn-hero:hover {
            background: white;
            color: var(--accent-action);
            transform: translateY(-3px);
        }

        /* --- SECTIONS GENERAL --- */
        .section-header {
            text-align: center;
            margin-bottom: 60px; /* Reduced from 80px slightly for bands */
            max-width: 700px;
            margin: 0 auto 60px auto;
        }

        .section-header h2 {
            font-size: 2.5rem;
            margin-bottom: 15px;
            color: #004e92;
            position: relative;
            display: inline-block;
        }

        .section-header h2::after {
            content: '';
            display: block;
            width: 60px;
            height: 4px;
            background: var(--accent-action);
            margin: 15px auto 0 auto;
            border-radius: 2px;
        }

        /* --- MAIN SECTION SEPARATORS --- */
        .industries,
        .portfolio,
        .about,
        .contact,
        footer {
            border-top: 2px solid var(--accent-action);
        }

        /* Service sub-section separators */
        .services .service-band + .service-band {
            border-top: 2px solid var(--accent-action);
        }

        /* --- SERVICES UPDATED --- */
        .services {
            padding: 0; /* Padding is now handled by bands */
            background: var(--bg-light-section);
            color: var(--text-dark);
            position: relative;
            overflow: hidden;
        }

        .services .section-header h2 {
            color: var(--text-dark);
        }

        .services .section-header p {
            color: var(--text-grey);
        }

        /* NEW BAND STYLES */
        .service-band {
            padding: 100px 0;
            width: 100%;
        }

        /* Band 1: Design (Matches Dark Navy) */
        .band-design {
            background-color: var(--bg-light-section);
        }

        /* Band 2: Develop (Gradient + Shadow) */
        .band-develop {
            background: var(--gradient-primary);
            box-shadow: inset 0 0 50px rgba(0,0,0,0.5);
            position: relative;
            z-index: 2;
        }

        /* Band 3: Manufacture (Darker Industrial Grey/Black) */
        .band-manufacture {
            background-color: var(--bg-light-section);
            border-top: 1px solid rgba(0, 0, 0, 0.06);
        }

        /* Band 4: Reverse Engineering (matches Develop band) */
        .band-reverse {
            background: var(--gradient-primary);
            box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
            position: relative;
            z-index: 2;
        }

        .service-row {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 60px;
            margin-bottom: 0; /* Removed bottom margin as padding handles spacing now */
            position: relative;
        }

        /* Note: Original nth-child logic removed because rows are now in separate containers */
        
        /* Force 'Develop' row to have image on left (standard) or swap if preferred. 
           In the HTML below, I have manually ordered them to alternate. */
        
        .service-image-col {
            flex: 1;
            display: flex;
            justify-content: center;
            position: relative;
        }

        .service-img-frame {
            width: 100%;
            max-width: 550px;
            height: auto;
            background: transparent;
            border: none;
            box-shadow: none;
            padding: 0;
            display: flex;
            justify-content: center;
        }

        .service-img-frame img {
            width: 100%;
            filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.6));
            transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        .service-row:hover .service-img-frame img {
            transform: scale(1.03) translateY(-10px);
            filter: drop-shadow(0 30px 50px rgba(0, 0, 0, 0.8));
        }

        .service-text-col {
            flex: 1;
            padding: 0 10px;
            transition: opacity 0.3s ease-in-out;
        }

        .fade-text {
            opacity: 0.5;
        }

        .service-text-col h3 {
            color: var(--accent-action);
            font-size: 2rem;
            margin-bottom: 20px;
            position: relative;
            min-height: 40px;
        }

        .service-text-col h3::after {
            content: '';
            display: block;
            width: 50px;
            height: 4px;
            background: #ffffff;
            margin-top: 10px;
            border-radius: 2px;
        }

        .service-text-col p {
            font-size: 1.1rem;
            color: #e0e0e0;
            margin-bottom: 25px;
            line-height: 1.8;
            min-height: 80px;
        }

        .service-text-col ul {
            list-style: none;
            margin-top: 20px;
        }

        .service-text-col li {
            margin-bottom: 12px;
            font-size: 1.05rem;
            position: relative;
            padding-left: 35px;
            color: #d1d1d1;
            font-weight: 500;
        }

        /* Light service bands use dark body copy for contrast */
        .band-design .service-text-col p,
        .band-manufacture .service-text-col p,
        .band-design .service-text-col li,
        .band-manufacture .service-text-col li {
            color: var(--text-grey);
        }

        .band-design .service-text-col h3::after,
        .band-manufacture .service-text-col h3::after {
            background: var(--text-grey);
        }

        .service-text-col li::before {
            content: '\2714';
            color: var(--accent-action);
            position: absolute;
            left: 0;
            font-size: 1.2rem;
            font-weight: bold;
        }

        /* --- INTERACTIVE DEVELOPMENT WHEEL --- */
        .wheel-wrapper {
            position: relative;
            width: 450px;
            height: 450px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        .wheel-hub {
            position: absolute;
            top: 50%;
            left: 50%;
            width: 130px;
            height: 130px;
            background: linear-gradient(135deg, #3a4657 0%, var(--dark-navy) 100%);
            border-radius: 50%;
            border: 3px solid var(--accent-action);
            box-shadow: 0 0 20px rgba(255, 159, 67, 0.3);
            display: flex;
            align-items: center;
            justify-content: center;
            overflow: hidden;
            transform: translate(-50%, -50%);
            cursor: pointer;
        }

        .wheel-hub img {
            width: 80px;
            height: auto;
        }

        .wheel-lines-ring {
            position: absolute;
            width: 320px;
            height: 320px;
            pointer-events: none;
        }

        .wheel-node {
            position: absolute;
            width: 80px;
            height: 80px;
            border-radius: 50%;
            background: #ffffff;
            border: 2px solid var(--accent-action);
            box-shadow: 0 0 8px rgba(255, 159, 67, 0.4);
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
            font-family: 'Exo 2', sans-serif;
            text-align: center;
            gap: 3px;
            z-index: 10;
        }

        .wheel-node:hover,
        .wheel-node.active {
            border-color: var(--accent-action);
            box-shadow: 0 0 20px rgba(255, 159, 67, 0.55), inset 0 0 8px rgba(255, 159, 67, 0.15);
        }

        .node-num {
            font-size: 0.85rem;
            font-weight: 700;
            color: var(--accent-action);
            line-height: 1;
            letter-spacing: 0.5px;
        }

        .node-title {
            font-size: 0.65rem;
            font-weight: 600;
            color: var(--text-dark);
            text-transform: uppercase;
            letter-spacing: 0.5px;
            line-height: 1;
        }

        /* 3 & 7 (Right/Left) */
        .wheel-node.wn-3:hover, .wheel-node.wn-3.active,
        .wheel-node.wn-7:hover, .wheel-node.wn-7.active {
            transform: translate(0, -50%) scale(1.15);
        }
        /* Diagonals */
        .wheel-node.wn-2:hover, .wheel-node.wn-2.active,
        .wheel-node.wn-4:hover, .wheel-node.wn-4.active,
        .wheel-node.wn-6:hover, .wheel-node.wn-6.active,
        .wheel-node.wn-8:hover, .wheel-node.wn-8.active {
            transform: scale(1.15);
        }

        /* POSITIONS */
        .wn-1 { top: 5%; left: 50%; transform: translate(-50%, 0); }
        .wn-2 { top: 18%; right: 18%; }
        .wn-3 { top: 50%; right: 5%; transform: translate(0, -50%); }
        .wn-4 { bottom: 18%; right: 18%; }
        .wn-5 { bottom: 5%; left: 50%; transform: translate(-50%, 0); }
        .wn-6 { bottom: 18%; left: 18%; }
        .wn-7 { top: 50%; left: 5%; transform: translate(0, -50%); }
        .wn-8 { top: 18%; left: 18%; }

        /* --- PORTFOLIO --- */
        .portfolio {
            padding: 100px 0;
            background: var(--bg-light-section);
        }

        .portfolio-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .case-study {
            position: relative;
        }

        .case-study img {
            width: 100%;
            border-radius: 8px;
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
            transition: 0.3s;
        }

        .case-study:hover img {
            transform: scale(1.02);
        }

        .case-content {
            background: white;
            margin-top: -50px;
            margin-left: 20px;
            margin-right: 20px;
            position: relative;
            padding: 25px;
            border-radius: 4px;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
            border-left: 4px solid #004e92;
        }

        .case-content h4 {
            color: #004e92;
            margin-bottom: 5px;
            font-size: 1.2rem;
        }

        .case-content p {
            font-size: 0.9rem;
            margin-bottom: 10px;
            color: #666;
        }

        .read-more {
            display: inline-block;
            color: var(--accent-action);
            font-weight: 700;
            text-decoration: none;
            font-size: 0.85rem;
            text-transform: uppercase;
            letter-spacing: 0.5px;
        }

        /* --- NEW SECTION: INDUSTRIES --- */
        .industries {
            padding: 100px 0;
            background: var(--dark-navy);
            color: white;
            position: relative;
        }

        .industries .section-header h2 {
            color: white;
        }

        .industries .section-header p {
            color: #ccc;
        }

        .industry-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
            gap: 30px;
            margin-top: 50px;
        }

        .industry-card {
            background: rgba(255, 255, 255, 0.05);
            border-radius: 4px;
            border-bottom: 4px solid var(--accent-action);
            transition: all 0.3s ease;
            height: 100%;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            overflow: hidden;
            padding: 0;
        }

        .industry-card:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
        }

        .industry-img-wrapper {
            width: 100%;
            height: 200px;
            overflow: hidden;
            position: relative;
        }

        .industry-img-wrapper img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.4s ease;
        }

        .industry-card:hover .industry-img-wrapper img {
            transform: scale(1.1);
        }

        .industry-content {
            padding: 25px;
        }

        .industry-card h3 {
            font-size: 1.4rem;
            margin-bottom: 15px;
            color: var(--white);
            font-family: 'Exo 2', sans-serif;
            font-weight: 600;
        }

        .industry-card p {
            color: #d1d1d1;
            font-size: 1rem;
            line-height: 1.6;
        }

        /* --- ABOUT --- */
        .about {
            background: var(--dark-navy);
            padding: 100px 0;
            text-align: center;
            color: #d5dbe2;
        }

        .about-text {
            max-width: 800px;
            margin: 0 auto;
        }

        .about p {
            font-size: 1.1rem;
            color: #d5dbe2;
        }

        .about h2 {
            color: #ffffff;
        }

        /* --- CONTACT --- */
        .contact {
            padding: 100px 0;
            background: var(--bg-light-section);
            text-align: center;
        }

        .contact-details {
            display: flex;
            justify-content: center;
            gap: 50px;
            flex-wrap: wrap;
            margin-top: 40px;
        }

        .contact-item {
            text-align: center;
        }

        .contact-item h4 {
            color: var(--accent-action);
            margin-bottom: 10px;
            font-size: 1.2rem;
        }

        .contact-item p,
        .contact-item a {
            font-size: 1.1rem;
            color: #2f3542;
            font-weight: 500;
            text-decoration: none;
        }

        .contact-item a:hover {
            color: var(--accent-action);
        }

        footer {
            background: #1a1a1a;
            color: #888;
            padding: 50px 0;
            text-align: center;
            font-size: 0.9rem;
            border-top: 5px solid var(--accent-action);
        }

        /* --- MOBILE MEDIA QUERY --- */
        @media (max-width: 768px) {
            .hero {
                padding: 60px 0 100px 0;
                text-align: center;
                background-image:
                    linear-gradient(0deg, var(--dark-navy) 0%, rgba(47, 54, 64, 0.9) 100%),
                    url('hero-wide.jpg');
                background-size: cover;
                background-position: center;
            }

            .hero-container {
                flex-direction: column;
            }

            .hero-text {
                margin: 0 auto;
            }

            .hero h1 {
                font-size: 2.2rem;
            }

            /* Wheel Mobile */
            .wheel-wrapper {
                width: 320px;
                height: 320px;
                margin-bottom: 40px;
            }

            .wheel-hub {
                width: 90px;
                height: 90px;
            }

            .wheel-hub img {
                width: 50px;
            }

            .wheel-lines-ring {
                width: 220px;
                height: 220px;
            }

            .wheel-node {
                width: 65px;
                height: 65px;
            }

            .node-title {
                font-size: 0.6rem;
            }

            .node-num {
                font-size: 0.8rem;
            }

            .navbar {
                flex-direction: column;
                gap: 20px;
            }

            .nav-links {
                flex-direction: column;
                gap: 15px;
                text-align: center;
            }

            .logo {
                flex-direction: column;
                gap: 5px;
            }

            .logo-text {
                margin-left: 0;
                font-size: 1rem;
            }

            .service-row {
                flex-direction: column;
                gap: 30px;
                text-align: center;
                margin-bottom: 0;
            }
            
            /* Since we removed global nth-child reversal, we manually handle Mobile reversals if needed */
            .service-row.reverse-layout {
                flex-direction: column-reverse;
            }
            
            /* Special handling for Develop row on mobile */
            .service-row.develop-row {
                flex-direction: column-reverse;
            }

            /* Special handling for Reverse Engineering row on mobile */
            .service-row.reverse-row {
                flex-direction: column-reverse;
            }

            .service-text-col h3::after {
                margin: 10px auto;
            }

            .service-text-col li {
                text-align: left;
                display: inline-block;
            }

            .contact-details {
                flex-direction: column;
                gap: 30px;
            }
        }
