:root {
    --gz-blue: #2a75bb;
    --gz-blue-dark: #1e5a92;
    --gz-light-blue: #eef5fb;
    --gz-text: #333;
    --gz-border: #dce4e9;
    --gz-gradient: linear-gradient(to bottom, #4a90e2, #2a75bb);
}

body {
    font-family: 'Segoe UI', Arial, sans-serif;
    margin: 0;
    color: var(--gz-text);
    background-color: #f9f9f9;
}

/* Header & Nav */
header {
    background: white;
    padding: 1rem 10%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.logo { font-size: 24px; font-weight: bold; color: var(--gz-blue-dark); }
.nav-links a { text-decoration: none; color: #555; margin-left: 20px; font-size: 14px; }
.nav-links a:hover { color: var(--gz-blue); }

.btn-quote {
    background: var(--gz-gradient);
    color: white;
    padding: 8px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 14px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)), url('https://images.unsplash.com/photo-1497366216548-37526070297c?auto=format&fit=crop&q=80&w=1200');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 100px 20px;
}

/* Grid & Cards */
.container { max-width: 1100px; margin: 40px auto; padding: 0 20px; }
.grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; }

.card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    text-align: center;
    padding-bottom: 20px;
    transition: 0.3s;
}

.card:hover { transform: translateY(-5px); }
.card img { width: 100%; height: 200px; object-fit: cover; }
.card h3 { margin: 20px 0 10px; }

.btn-learn {
    display: inline-block;
    background: var(--gz-gradient);
    color: white;
    padding: 10px 30px;
    border-radius: 5px;
    text-decoration: none;
    margin-top: 10px;
}

/* Forms */
form { background: white; padding: 30px; border-radius: 12px; box-shadow: 0 10px 30px rgba(0,0,0,0.1); }
.form-group { margin-bottom: 15px; }
input, select, textarea { width: 100%; padding: 12px; border: 1px solid var(--gz-border); border-radius: 6px; box-sizing: border-box; }

footer { text-align: center; padding: 40px; color: #888; font-size: 13px; }

/* --- Mobile Responsive Logic --- */

/* Hide checkbox and hamburger by default (Desktop) */
#menu-bar {
    display: none;
}

.hamburger {
    display: none;
    font-size: 28px;
    cursor: pointer;
    color: var(--gz-blue-dark);
}


/* Mobile Media Query */
@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
        position: relative;
    }

    .hamburger {
        display: block !important; /* Force show */
    }

    .nav-links {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: #fff;
        border-top: 1px solid var(--gz-border);
        display: none; 
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 10px rgba(0,0,0,0.05);
        z-index: 9999;
    }

    /* THE KEY FIX: !important ensures the internal page styles don't override this */
    #menu-bar:checked ~ .nav-links {
        display: flex !important; 
    }

    .nav-links a {
        margin: 10px 0;
        font-size: 16px;
    }
}

    /* Show menu when checkbox is checked */
    #menu-bar:checked ~ .nav-links {
        display: flex;
    }

    .btn-quote {
        text-align: center;
        margin-top: 10px;
    }


/* Navigation Logo Styling */
.logo-container {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.nav-logo {
    height: 50px; /* Adjust this height to fit your nav bar */
    width: auto;
    display: block;
}

/* Ensure the Hero text stands out against the new background image */
.hero h1 {
    font-size: 3.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    margin-bottom: 10px;
}

.hero p {
    font-size: 1.5rem;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

/* Maintain aspect ratio for your new product images */
.card img {
    width: 100%;
    height: 250px; 
    object-fit: cover; /* This crops the image to fill the space without stretching */
}