:root {
    --primary-color: #333333;
    --accent-color: #1b4276;
    --bg-light: #eef3f8; /* Soft, pale slate-blue to match the theme */
    --text-color: #444;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    padding: 0;
    color: var(--text-color);
    line-height: 1.6;
    padding-top: 80px; 
    
    /* These 3 lines force the page to stretch and fix the gap at the bottom */
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

nav {
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 50px;
    box-sizing: border-box;
    height: 80px;
}

.logo-img {
    height: 50px;
    width: auto;
}

nav ul {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
}

nav ul li {
    margin-left: 20px;
}

nav ul li a {
    text-decoration: none;
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--accent-color);
}

.page-header {
    background-color: var(--primary-color);
    color: white;
    padding: 60px 20px;
    text-align: center;
}

.page-header {
    /* Creates a sleek gradient from your deep blue to an even darker navy */
    background: linear-gradient(135deg, var(--accent-color), #0a1b33);
    padding: 80px 20px; /* Gives the header more breathing room */
    text-align: center;
    box-shadow: inset 0 -10px 20px rgba(0,0,0,0.15); /* Adds a subtle shadow for depth */
    margin-bottom: 40px; /* Pushes the content down a bit so it isn't crowded */
}

.page-header h1 {
    margin: 0;
    color: white; /* Crisp white text to pop against the dark background */
    font-size: 2.8rem; /* Makes the title larger and more commanding */
    letter-spacing: 2px; /* Spreads the letters slightly for a premium look */
    text-transform: uppercase; /* Makes it look strong and established */
}

section {
    padding: 60px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.bg-gray {
    background-color: var(--bg-light);
}

h2 {
    color: var(--accent-color);
    font-size: 2.2rem;
    margin-bottom: 30px;
}

h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-top: 30px;
}

.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.card {
    background: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    border-top: 4px solid var(--accent-color);
}

ul.custom-list {
    list-style-type: none;
    padding: 0;
}

ul.custom-list li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

ul.custom-list li::before {
    content: "➔";
    color: var(--accent-color);
    position: absolute;
    left: 0;
    top: 0;
}

footer {
    background-color: #0a1b33; /* Changed to a rich, dark navy to match your theme */
    color: white;
    text-align: center;
    padding: 30px 20px;
    margin-top: auto; /* This is the magic line that pushes the footer to the absolute bottom */
}

footer a {
    color: #F26522; /* Changed links in the footer back to orange so they pop against the dark blue */
    text-decoration: none;
}

@media(max-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr;
    }
    nav {
        flex-direction: column;
        height: auto;
        padding: 15px;
    }
    nav ul {
        margin-top: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    nav ul li {
        margin: 5px 10px;
    }
    body {
        padding-top: 130px;
    }
}