/* Color Palette: Navy, Gold, and Industrial Gray */
:root {
    --navy: #0a1429;
    --gold: #ffb400;
    --light-bg: #f8f9fa;
    --white: #ffffff;
    --text: #444444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; color: var(--text); line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: auto; }

/* Top Bar */
.top-bar { background: var(--navy); color: white; padding: 10px 0; font-size: 13px; }
.contact-info span { margin-right: 20px; }
.contact-info i { color: var(--gold); margin-right: 5px; }

/* Header & Nav */
header { background: white; padding: 20px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 100; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo { font-size: 24px; font-weight: 800; color: var(--navy); line-height: 1; }
.logo span { display: block; font-size: 12px; color: var(--gold); letter-spacing: 2px; }
.nav-menu { display: flex; list-style: none; }
.nav-menu li a { text-decoration: none; color: var(--navy); padding: 0 15px; font-weight: 600; font-size: 14px; }
.btn-quote { background: var(--gold); color: var(--navy); padding: 10px 20px; text-decoration: none; font-weight: bold; border-radius: 4px; }

/* Hero Section */
.hero { 
    background: linear-gradient(rgba(10, 20, 41, 0.8), rgba(10, 20, 41, 0.8)), url('https://images.unsplash.com/photo-1516937941344-00b4e0337589?auto=format&fit=crop&w=1200');
    background-size: cover; background-position: center;
    height: 500px; display: flex; align-items: center; color: white;
}
.hero h1 { font-size: 42px; max-width: 700px; margin-bottom: 20px; }
.iso-box { display: inline-flex; align-items: center; border: 1px solid var(--gold); padding: 5px 15px; border-radius: 50px; color: var(--gold); }
.iso-box i { margin-right: 10px; }

/* About & Stats */
.about-section { padding: 80px 0; text-align: center; }
.intro-text { color: var(--gold); font-weight: bold; margin-bottom: 15px; }
.stats-grid { display: flex; justify-content: space-around; margin-top: 50px; }
.stat-num { font-size: 40px; font-weight: 800; color: var(--navy); display: block; }

/* Specialization Grid */
.specialization { background: var(--light-bg); padding: 80px 0; text-align: center; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; margin-top: 40px; }
.card { background: white; padding: 40px; transition: 0.3s; border-bottom: 4px solid var(--gold); }
.card:hover { transform: translateY(-10px); box-shadow: 0 10px 20px rgba(0,0,0,0.1); }
.card i { font-size: 40px; color: var(--navy); margin-bottom: 20px; }
.card h3 { margin-bottom: 15px; }
.link { text-decoration: none; color: var(--gold); font-weight: bold; display: block; margin-top: 20px; }

/* Footer */
footer { background: #111; color: #999; padding: 60px 0 20px; }
.footer-content { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 50px; }
.f-col h3, .f-col h4 { color: white; margin-bottom: 20px; }
.f-col ul { list-style: none; }
.f-col ul li { margin-bottom: 10px; }
.copyright { text-align: center; margin-top: 40px; border-top: 1px solid #222; padding-top: 20px; font-size: 13px; }

/* Responsive Adjustments */
@media (max-width: 768px) {
    .nav-menu, .btn-quote { display: none; }
    .hero h1 { font-size: 30px; }
    .stats-grid, .footer-content { grid-template-columns: 1fr; text-align: center; }
}
@media (max-width: 768px) {
    .nav-menu {
        display: none; /* Hide links by default on mobile */
        flex-direction: column;
        width: 100%;
    }

    .nav-menu.active {
        display: flex; /* Show links when "active" class is added by JS */
    }

    .menu-toggle {
        display: block;
        font-size: 24px;
        cursor: pointer;
    }
}

/* Product Page Specific Styles */
.products-header {
    background: #0a1429;
    color: white;
    padding: 80px 0;
    text-align: center;
}

.products-header span {
    color: #ffb400;
    text-transform: uppercase;
    font-weight: bold;
    font-size: 14px;
}

.product-intro {
    padding: 60px 0;
    text-align: center;
    max-width: 900px;
    font-size: 1.1rem;
    line-height: 1.8;
}

.prod-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 80px;
}

.prod-card {
    background: #fff;
    border: 1px solid #eee;
    padding: 40px 30px;
    transition: all 0.3s ease;
    border-bottom: 5px solid #0a1429;
}

.prod-card:hover {
    transform: translateY(-10px);
    border-bottom: 5px solid #ffb400;
    box-shadow: 0 10px 25px rgba(0,0,0,0.05);
}

.prod-icon {
    font-size: 40px;
    color: #ffb400;
    margin-bottom: 20px;
}

.prod-card h2 {
    color: #0a1429;
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.check-list {
    list-style: none;
    margin-top: 20px;
    text-align: left;
}

.check-list li {
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    display: flex;
    align-items: center;
}

.check-list i {
    color: #ffb400;
    margin-right: 10px;
    font-size: 12px;
}

.active-link {
    color: #ffb400 !important;
}

/* Mobile adjustments */
@media (max-width: 768px) {
    .prod-grid {
        grid-template-columns: 1fr;
    }
}
/* Work Process */
.work-process {
    background: #fdfdfd;
    padding: 80px 0;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 30px;
}

.process-step {
    position: relative;
    padding: 20px;
}

.step-num {
    font-size: 50px;
    font-weight: 800;
    color: rgba(255, 180, 0, 0.2);
    position: absolute;
    top: -10px;
    left: 10px;
}

.process-step h3 {
    position: relative;
    z-index: 1;
    margin-bottom: 10px;
}

.active {
    color: var(--gold) !important;
}
/* Product Page Styles */
.page-banner { background: #0a1429; color: white; padding: 60px 0; text-align: center; }
.product-intro { padding: 40px 0; font-size: 18px; text-align: center; border-bottom: 1px solid #eee; }

.product-grid { padding: 60px 0; display: grid; gap: 50px; }
.product-item { display: flex; align-items: center; border-bottom: 1px solid #f0f0f0; padding-bottom: 40px; }

.prod-content h2 { color: #0a1429; margin-bottom: 15px; border-left: 5px solid #ffb400; padding-left: 15px; }
.prod-list { list-style: none; margin-top: 20px; display: grid; grid-template-columns: 1fr 1fr; }
.prod-list li { margin-bottom: 10px; font-weight: 600; }
.prod-list i { color: #ffb400; margin-right: 10px; }

.active-link { color: #ffb400 !important; border-bottom: 2px solid #ffb400; }
/* =========================================
   1. GLOBAL STYLES (Applies to all pages)
   ========================================= */
:root {
    --navy: #0a1429;
    --gold: #ffb400;
    --bg-light: #f8f9fa;
    --white: #ffffff;
    --text: #444;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Segoe UI', sans-serif; color: var(--text); line-height: 1.6; }
.container { width: 90%; max-width: 1200px; margin: 0 auto; }

/* Header & Navigation */
header { background: #fff; padding: 15px 0; border-bottom: 1px solid #eee; position: sticky; top: 0; z-index: 1000; }
nav { display: flex; justify-content: space-between; align-items: center; }
.logo b { font-size: 24px; color: var(--navy); display: block; }
.logo span { font-size: 11px; color: var(--gold); letter-spacing: 2px; text-transform: uppercase; }

.nav-menu { display: flex; list-style: none; gap: 20px; }
.nav-menu a { text-decoration: none; color: var(--navy); font-weight: 600; font-size: 14px; }
.nav-menu a:hover, .nav-menu a.active { color: var(--gold); }

/* =========================================
   2. ABOUT PAGE - ALIGNMENT FIXES
   ========================================= */

/* Hero Banner */
.about-hero { background: var(--navy); color: #fff; padding: 80px 0; text-align: center; }

/* Strategy Cards - Fixed Height & Alignment */
.strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}
.strategy-card {
    background: #fff;
    padding: 40px 20px;
    border: 1px solid #eee;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100%; /* Ensures all cards are same height */
}
.strategy-card i { font-size: 40px; color: var(--navy); margin-bottom: 20px; }

/* Work Process - Layered Alignment */
.work-process-section { background: var(--bg-light); padding: 80px 0; }
.process-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
}

/* This container locks the number and text in place */
.step-box {
    position: relative; 
    background: #fff;
    padding: 30px;
    border-radius: 4px;
    min-height: 220px; /* Forces alignment across the row */
    overflow: hidden;
}

.step-number {
    font-size: 70px;
    font-weight: 900;
    color: rgba(255, 180, 0, 0.15); /* Faint gold bg number */
    position: absolute;
    top: -5px;
    left: 10px;
    z-index: 1; /* Moves to background */
}

.step-text {
    position: relative;
    z-index: 2; /* Forces text to sit on top */
}
.step-text h4 { color: var(--navy); margin-bottom: 10px; }
.step-text p { font-size: 14px; color: #666; }

/* =========================================
   3. FOOTER & RESPONSIVE
   ========================================= */
footer { background: #111; color: #888; padding: 40px 0; text-align: center; margin-top: 50px; }

@media (max-width: 768px) {
    .nav-menu { display: none; }
    .strategy-grid, .process-grid { grid-template-columns: 1fr; }
}
/* --- BRANDS GRID --- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.brand-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    display: flex;
    flex-direction: column;
    height: 100%; /* Keeps all boxes same height */
    transition: 0.3s ease;
}

.brand-item:hover {
    box-shadow: 0 10px 20px rgba(0,0,0,0.05);
    border-color: var(--gold);
}

.brand-content h2 {
    color: var(--navy);
    font-size: 24px;
    margin-bottom: 5px;
}

.category-tag {
    color: var(--gold);
    text-transform: uppercase;
    font-weight: bold;
    font-size: 12px;
    letter-spacing: 1px;
    display: block;
    margin-bottom: 20px;
}

.brand-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 20px;
}

.product-range {
    margin-top: auto; /* Pushes the range to the bottom of the card */
    background: var(--light);
    padding: 15px;
    border-radius: 4px;
}

.product-range strong {
    display: block;
    font-size: 13px;
    color: var(--navy);
    margin-bottom: 5px;
}

.product-range p {
    font-size: 12px;
    margin-bottom: 0;
}

/* Quote Button Styling */
.quote-btn {
    background: var(--gold);
    color: var(--navy);
    padding: 10px 20px;
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    font-size: 14px;
}
/* --- BRAND GRID ALIGNMENT --- */
.brand-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.brand-item {
    background: #fff;
    border: 1px solid #eee;
    padding: 30px;
    display: flex;
    flex-direction: column; /* Vertical stack */
    height: 100%;           /* Equal height in row */
}

.brand-content {
    flex-grow: 1; /* Pushes the grey box to the bottom */
    display: flex;
    flex-direction: column;
}

.category-tag {
    color: var(--gold);
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 15px;
    display: block;
}

.product-range {
    background: #f9f9f9;
    padding: 15px;
    border-radius: 4px;
    margin-top: 20px;
}

.product-range strong {
    font-size: 13px;
    color: var(--navy);
}

.product-range p {
    font-size: 12px;
    margin: 0;
}
/* Ensure this container wraps your Logo and Nav in the HTML */
.nav-container {
    display: flex;
    justify-content: space-between; /* This pushes Logo left and Nav right */
    align-items: center;            /* Centers items vertically */
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* Fix for the Nav Menu itself */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px; /* Space between HOME, ABOUT, etc. */
    margin: 0;
    padding: 0;
}
/* --- CONTACT PAGE STYLES --- */
.contact-wrapper {
    display: flex;
    gap: 50px;
    flex-wrap: wrap;
}

.contact-info, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-info h3, .contact-form h3 {
    color: var(--navy);
    margin-bottom: 30px;
    font-size: 24px;
}

.info-block {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.info-block i {
    color: var(--gold);
    font-size: 20px;
    margin-top: 5px;
}

.info-block strong {
    display: block;
    color: var(--navy);
    font-size: 16px;
}

.info-block p {
    font-size: 14px;
    color: #666;
}

/* Form Styling */
.contact-form form {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.contact-form input, .contact-form textarea {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-family: inherit;
    font-size: 14px;
}

.send-btn {
    background: var(--navy);
    color: #fff;
    padding: 12px;
    border: none;
    border-radius: 4px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
}

.send-btn:hover {
    background: var(--gold);
    color: var(--navy);
}

/* Map Grid */
.map-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
}

.map-box h4 {
    margin-bottom: 15px;
    color: var(--navy);
}

.map-placeholder {
    background: #eee;
    border-radius: 8px;
    overflow: hidden;
}

@media (max-width: 768px) {
    .map-grid { grid-template-columns: 1fr; }
}
/* Base container used site-wide */
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* --- THE HEADER ALIGNMENT FIX --- */
header {
    background: #fff;
    border-bottom: 1px solid #eee;
    padding: 10px 0;
    width: 100%;
}

/* This container keeps the logo and menu from hitting the screen edges */
.nav-container {
    display: flex;
    justify-content: space-between; /* Pushes Logo left, Menu right */
    align-items: center;
    width: 90%;            /* Keeps it aligned with page content */
    max-width: 1200px;     /* Prevents it from getting too wide */
    margin: 0 auto;        /* Centers the whole header */
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 25px;
    margin: 0;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}
/* --- ABOUT PAGE IMAGE STYLES --- */

/* Side-by-side flexbox */
.about-flex {
    display: flex;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

.about-image, .about-text {
    flex: 1;
    min-width: 300px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 20px 20px 0px var(--gold); /* Industrial style offset shadow */
    display: block;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

/* Image Gallery Grid */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 4px;
}

.gallery-item img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item h4 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(10, 20, 41, 0.8); /* Navy overlay */
    color: #fff;
    padding: 15px;
    margin: 0;
    text-align: center;
}

@media (max-width: 768px) {
    .about-image img {
        box-shadow: 10px 10px 0px var(--gold);
    }
}
/* --- ABOUT PAGE IMAGE STYLING --- */

/* Flexbox for Image next to Text */
.about-flex {
    display: flex;
    align-items: center;
    gap: 40px;
    flex-wrap: wrap;
}

.about-image, .about-text {
    flex: 1;
    min-width: 320px;
}

.about-image img {
    width: 100%;
    border-radius: 8px;
    box-shadow: 15px 15px 0px var(--gold); /* Gold Industrial Accent */
    display: block;
}

/* Expertise Gallery */
.image-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
}

.gallery-item {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    height: 250px;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    width: 100%;
    background: rgba(10, 20, 41, 0.85); /* Navy transparent */
    padding: 15px;
    text-align: center;
}

.gallery-overlay h4 {
    color: var(--gold);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .about-image img {
        box-shadow: none; /* Simplify for mobile */
    }
}
/* Product Image Styling */
.prod-img {
    width: 100%;
    height: 200px; /* Fixed height for all images */
    overflow: hidden;
    margin-bottom: 20px;
    border-radius: 4px;
}

.prod-img img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* This prevents the photo from stretching */
    transition: transform 0.3s ease;
}

/* Hover effect: Image zooms slightly when you hover over the card */
.prod-card:hover .prod-img img {
    transform: scale(1.1);
}

/* Adjust card to accommodate the image */
.prod-card {
    display: flex;
    flex-direction: column;
    padding: 20px !important; /* Slightly tighter padding for image space */
    height: 100%;
}

/* Push icons/text slightly below image */
.prod-icon {
    margin-top: 10px;
}
/* --- LOGO STYLING --- */
.logo img {
    height: 100px; /* Adjust this number to your preference */
    width: auto;
    transition: transform 0.3s ease;
}

/* Ensure Logo and Nav are on the same line */
.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    width: 90%;
}

/* Optional: Slight hover effect on logo */
.logo img:hover {
    opacity: 0.9;
}
@media (max-width: 768px) {
    /* 1. Force the taskbar to be a single horizontal row */
    .nav-container {
        display: flex !important;
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 10px 15px !important;
        height: 70px !important;
        position: relative; /* Essential for the menu positioning */
    }

    /* 2. Hide the list of links from the taskbar flow */
    .nav-menu {
        display: none; 
        position: absolute; /* Takes it out of the bar so it doesn't cause gaps */
        top: 70px; /* Appear exactly below the taskbar */
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column !important;
        padding: 20px 0 !important;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* 3. When JS is clicked, this class shows the menu */
    .nav-menu.active {
        display: flex !important;
    }

    /* 4. Ensure logo and button don't crush each other */
    .logo img {
        height: 40px !important;
        width: auto;
    }

    .quote-btn {
        font-size: 11px !important;
        padding: 8px 12px !important;
        margin: 0 !important;
    }

    /* 5. Make sure the hamburger icon is visible */
    .menu-toggle {
        display: block !important;
        font-size: 22px;
        order: -1; /* Puts hamburger on the far left */
        margin-right: 10px;
    }
}
/* MOBILE FIX (Max width 768px) */
@media (max-width: 768px) {
    .nav-container {
        display: flex !important;
        justify-content: space-between !important;
        align-items: center !important;
        height: 70px !important;
        padding: 0 15px !important;
        position: relative;
    }

    .menu-toggle {
        display: block !important; /* Shows the hamburger */
        font-size: 24px;
        cursor: pointer;
        color: #002147;
    }

    .nav-menu {
        display: none; /* HIDES THE MESSY LINKS BY DEFAULT */
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background: #ffffff;
        flex-direction: column;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
        z-index: 1000;
    }

    /* This is what the JS toggles */
    .nav-menu.active {
        display: flex !important;
    }

    .logo img {
        height: 35px !important; /* Smaller logo for mobile taskbar */
    }

    .quote-btn {
        padding: 6px 12px !important;
        font-size: 11px !important;
    }
}

/* DESKTOP FIX (Hides hamburger on computer) */
@media (min-width: 769px) {
    .menu-toggle {
        display: none;
    }
}
@media (max-width: 768px) {
    /* This makes the 3 lines visible and clickable */
    .menu-toggle {
        display: block !important;
        cursor: pointer;
        padding: 10px;
        z-index: 1001; /* Keeps it above everything */
    }

    .menu-toggle i {
        color: #002147 !important; /* Your brand navy blue */
        font-size: 28px !important;
    }

    /* This hides the messy list so the taskbar stays thin */
    .nav-menu {
        display: none; 
    }

    /* This is what the JavaScript will trigger */
    .nav-menu.active {
        display: flex !important;
    }
}