/* --- Global Styles and Reset --- */
:root {
    --primary-color: #004a99; /* Deep Blue for corporate/trust */
    --secondary-color: #f1c40f; /* Yellow/Gold for accents */
    --text-color: #333;
    --light-gray: #f4f7f6;
    --card-background: #ffffff;
    --link-hover: #0066cc;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: #f5f8fb;
}

a {
    text-decoration: none;
    color: white;
    transition: color 0.3s;
}

/* --- 1. NAVBAR STYLING (Right Aligned) --- */
.navbar {
    display: flex;
    justify-content: space-between; /* Pushes logo and links to opposite ends */
    align-items: center;
    padding: 15px 5%;
    background-color: #1b436a;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

/* Logo Image Styling */
.logo-img {
    height: 70px; 
    vertical-align: middle;
}

/* Navigation Links (Right side on desktop) */
.nav-links {
    display: flex; /* Ensures links stay in a row */
    align-items: center;
    /* No need for margin-left on the container, as justify-content handles spacing */
}

.nav-links a {
    margin-left: 25px; /* Spacing between links */
    font-weight: 500;
}

.nav-links a:hover {
    color: var(--link-hover);
}
.nav-links a:active {
    color: 7bacdd;
}
/* Hamburger Icon (Hidden on Desktop) */
.hamburger {
    display: none; 
    background: none;
    border: none;
    font-size: 28px;
    cursor: pointer;
    color: white;
}

/* --- 2. MAIN CAREER HERO SECTION with Photo --- */
.career-hero {
    display: flex; 
    flex-wrap: wrap; 
    align-items: center; 
    justify-content: center; 
    padding: 60px 5%; 
    background-color: var(--primary-color); 
    color: white; 
    gap: 40px; 
    text-align: center; 
}

.hero-image-container {
    flex: 1; 
    min-width: 300px; 
    max-width: 500px; 
    display: flex; 
    justify-content: center;
}

.career-hero-photo {
    max-width: 100%; 
    height: auto;
    border-radius: 8px; 
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3); 
}

.hero-content {
    flex: 1.5; 
    min-width: 300px; 
    max-width: 700px; 
    text-align: left; 
}

.hero-content h1 {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.1;
}

.hero-content .tagline {
    font-size: 1.3em;
    margin-bottom: 30px;
    font-weight: 300;
}

.cta-button {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--primary-color);
    padding: 15px 30px;
    border-radius: 5px;
    font-weight: bold;
    letter-spacing: 1px;
    transition: background-color 0.3s, transform 0.2s;
}

.cta-button:hover {
    background-color: #e5b90d;
    transform: translateY(-2px);
}

/* --- 3. JOB LIST SECTION --- */
.job-list-section {
    padding: 60px 5%;
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
}

.job-list-section h2 {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-size: 2em;
}

.job-list-section .description {
    font-size: 1.1em;
    color: #666;
    margin-bottom: 40px;
}

.job-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.job-card {
    background-color: var(--card-background);
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
    text-align: left;
    border-top: 5px solid var(--primary-color);
    transition: box-shadow 0.3s;
}

.job-card:hover {
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.job-card h3 {
    margin-bottom: 5px;
    color: var(--text-color);
}

.job-card .location {
    font-size: 0.9em;
    color: #666;
    margin-bottom: 15px;
}

.job-card p {
    margin-bottom: 20px;
}

.view-job {
    font-weight: bold;
    color: var(--primary-color);
}

.view-job:hover {
    color: var(--link-hover);
}

.all-jobs-link .secondary {
    background-color: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 12px 25px;
}

.all-jobs-link .secondary:hover {
    background-color: var(--primary-color);
    color: white;
}

/* --- 4. FOOTER STYLING --- */
.footer {
    background-color: var(--text-color);
    color: white;
    padding: 20px 5%;
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap; 
}

.social-links a {
    color: white;
    font-size: 24px;
    margin-left: 15px;
    transition: color 0.3s;
}

.social-links a:hover {
    color: var(--secondary-color);
}

/* --- Media Query for Mobile Responsiveness --- */
@media (max-width: 768px) {
    
    /* Show Hamburger and hide traditional links */
    .hamburger {
        display: block;
    }
    
    /* Hide links by default on small screens */
    .nav-links {
        display: none; 
        position: absolute;
        top: 70px; 
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: var(--card-background);
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
        z-index: 999;
    }

    /* Show links when the 'active' class is toggled by JS */
    .nav-links.active {
        display: flex;
    }
    
    .nav-links a {
        margin: 0;
        padding: 15px 20px;
        text-align: center;
        border-bottom: 1px solid #f4f4f4;
        color: var(--text-color); /* Change link color for better visibility on white background */
    }
    
    /* Stack hero content and image vertically on mobile */
    .career-hero {
        flex-direction: column;
        padding: 40px 5%;
    }

    .hero-content {
        text-align: center; 
        margin-top: 30px; 
    }

    .hero-content h1 {
        font-size: 2.5em;
    }

    /* Footer adjustments */
    .footer-content {
        flex-direction: column-reverse;
    }

    .social-links {
        margin-bottom: 15px;
    }
}

 .contact-section {
            padding: 40px 0;
            background-color: #fff;
            margin-top: 40px;
        }

        .contact-section h2 {
            text-align: center;
            font-size: 2em;
            margin-bottom: 30px;
        }
        
        .contact-info-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 30px;
        }

        .contact-info-item {
            display: flex;
            align-items: center;
            gap: 15px;
            background-color: #f9f9f9;
            padding: 20px;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
        }

        .contact-info-item i {
            font-size: 24px;
            color: #555;
        }

        /* --- Footer Styling --- */
        .footer {
            background-color: #222;
            color: white;
            text-align: center;
            padding: 20px;
            margin-top: 40px;
        }

        .social-icons {
            margin-top: 10px;
        }

        .social-icons a {
            color: white;
            font-size: 24px;
            margin: 0 10px;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .social-icons a:hover {
            color: #ddd;
        }