/* Global Styles */
:root {
    --primary-color: #003366; /* Navy Blue */
    --secondary-color: #0066cc; /* Lighter Blue */
    --accent-color: #ffcc00; /* Gold/Yellow for maritime accents */
    --text-color: #333;
    --light-bg: #f4f4f4;
    --white: #ffffff;
    --footer-bg: #002244;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* Header & Navigation */
header {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 1rem 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    max-height: 60px;
    width: auto;
    display: block;
}

.nav-links {
    display: flex;
    gap: 20px;
}

.nav-links a {
    color: var(--white);
    font-weight: 500;
    transition: color 0.3s ease;
    padding-bottom: 5px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--accent-color);
    border-bottom: 2px solid var(--accent-color);
}

/* Mobile Menu Button (Hidden on Desktop) */
.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Main Content */
main {
    flex: 1;
    padding: 2rem 0;
}

.hero {
    background-color: var(--primary-color);
    background-image: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('https://placehold.co/1200x400/003366/ffffff?text=Maritime+Excellence'); /* Fallback/Placeholder */
    background-size: cover;
    background-position: center;
    color: var(--white);
    text-align: center;
    padding: 4rem 20px;
    margin-bottom: 2rem;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto;
}

section {
    margin-bottom: 3rem;
}

h2.section-title {
    color: var(--primary-color);
    border-bottom: 3px solid var(--secondary-color);
    display: inline-block;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

/* Values Grid */
.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.value-card {
    background: var(--light-bg);
    padding: 20px;
    border-radius: 5px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
}

.value-card:hover {
    transform: translateY(-5px);
}

.value-card h3 {
    color: var(--primary-color);
}

/* Commitment List */
.commitment-list {
    list-style-type: disc;
    margin-left: 20px;
}

.commitment-list li {
    margin-bottom: 0.5rem;
}

/* Footer */
footer {
    background-color: var(--footer-bg);
    color: var(--white);
    padding: 2rem 0;
    text-align: center;
    margin-top: auto;
}

footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        align-items: flex-start;
    }

    .menu-toggle {
        display: block;
        position: absolute;
        top: 1.2rem;
        right: 20px;
    }

    .nav-links {
        display: none; /* JS would toggle this, but we'll stick to CSS hover or just stack for now simple CSS only approach */
        flex-direction: column;
        width: 100%;
        gap: 10px;
        margin-top: 15px;
    }

    .nav-links.active {
        display: flex;
    }
    
    /* Alternative simple responsive menu without JS for this exercise: Stack them */
    .nav-links {
        display: flex;
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .navbar {
        align-items: center;
    }
    
    .menu-toggle {
        display: none;
    }

    .hero h2 {
        font-size: 2rem;
    }
}
