
/* --- 1. CORE THEME --- */
:root {
    --navy: #001a33; /* Matches your logo background perfectly */
    --blue: #00d2ff;
    --text: #e6f1ff;
    --border: rgba(0, 210, 255, 0.2);
}

* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body {
    background-color: var(--navy);
    color: var(--text);
    font-family: 'Inter', -apple-system, sans-serif;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    line-height: 1.6;
    /* This ensures the background stays fixed and covers the whole screen */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
}

/* Home Page Background */
body.home-page {
    background-image: linear-gradient(rgba(2, 11, 26, 0.75), rgba(2, 11, 26, 0.75)), url('hero.jpg');
}

/* Other Pages Background */
body.inner-page {
    background-image: linear-gradient(rgba(2, 11, 26, 0.85), rgba(2, 11, 26, 0.85)), url('hero 2.jpg');
}

main { 
    flex: 1; 
}

/* --- 2. HEADER: LOGO & NAV --- */
header {
    padding: 0 40px 0 0; /* 0 on left lets logo touch the edge */
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px; 
    background-color: var(--navy); /* Now perfectly synced with the logo */
}

.logo-wrap, .logo-wrap a { 
    display: flex;
    align-items: center;
    height: 100%;
}

.logo-wrap img { 
    height: 100%; 
    width: auto; 
    display: block;
    object-fit: contain;
    /* We'll remove the brightness filter so the logo's native blue shows through */
}

nav { 
    display: flex; 
    gap: 30px;
    padding-right: 20px; /* Gives the nav links a little breathing room from the edge */
}

nav a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
}

/* --- 3. LAYOUT & GRIDS --- */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 40px;
}

.jobs-full-width {
    width: 100% !important;
    max-width: 1400px !important;
    margin: 40px auto !important;
    padding: 0 20px;
}

.home-split-grid {
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 50px;
    align-items: start;
}

.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 40px;
}

/* --- 4. COMPONENTS --- */
.card {
    background: rgba(2, 11, 26, 0.6); /* Slightly darker for better contrast over photos */
    border: 1px solid var(--border);
    padding: 30px;
    border-radius: 8px;
    height: 100%;
    backdrop-filter: blur(8px); /* The "Glass" effect */
}

.btn {
    display: inline-block;
    background-color: var(--blue);
    color: var(--navy);
    padding: 12px 24px;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.85rem;
    text-transform: uppercase;
    text-align: center;
}

/* --- 5. CLEAN FOOTER --- */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

footer p { 
    opacity: 0.5; 
    font-size: 0.85rem; 
}

/* --- 6. MOBILE RESPONSIVENESS --- */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        padding: 20px;
        gap: 20px;
        height: auto; 
    }
    
    .logo-wrap img {
        height: 60px; 
    }

    nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .grid-3, .home-split-grid {
        grid-template-columns: 1fr;
    }

    h1 {
        font-size: 1.8rem !important;
    }
}
