body {
    margin: 0;
    font-family: Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    padding-top: 0;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

/* Header - Desktop First */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: #003366;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    min-height: 60px;
    display: flex;
    flex-direction: column; /* Default for mobile, overridden for desktop */
    color: #fff;
}

.site-header .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    max-width: 1200px;
    margin: 0 auto;
    width: 100%;
}

.site-header .logo {
    font-size: 28px;
    font-weight: bold;
    color: #FFD700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    padding: 5px 0;
}

.site-header .main-nav {
    flex: 1;
    display: flex; /* Desktop default: flex */
    flex-direction: row; /* Desktop default: horizontal */
    justify-content: center;
    align-items: center;
    padding: 0 20px;
}

.site-header .main-nav ul {
    display: flex;
    gap: 25px;
}

.site-header .main-nav a {
    color: #fff;
    font-weight: bold;
    padding: 8px 0;
    transition: color 0.3s ease;
}

.site-header .main-nav a:hover {
    color: #FFD700;
}

.site-header .desktop-nav-buttons {
    display: flex; /* Desktop default: flex */
    gap: 10px;
}

.site-header .btn {
    padding: 10px 20px;
    border-radius: 5px;
    font-weight: bold;
    text-align: center;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap;
    text-decoration: none;
}

.site-header .btn-primary {
    background-color: #FFD700;
    color: #003366;
}

.site-header .btn-primary:hover {
    background-color: #e6c200;
}

.site-header .btn-secondary {
    background-color: #004488;
    color: #fff;
    border: 1px solid #004488;
}

.site-header .btn-secondary:hover {
    background-color: #0055aa;
    border-color: #0055aa;
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001;
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: #FFD700;
    margin: 5px 0;
    transition: all 0.3s ease;
}

.hamburger-menu.active .bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.hamburger-menu.active .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.active .bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

.mobile-nav-buttons {
    display: none; /* Hidden on desktop */
}

.mobile-menu-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-menu-overlay.active {
    display: block;
    opacity: 1;
}

/* Footer Styles */
.site-footer {
    background-color: #003366;
    color: #fff;
    padding: 40px 20px 20px;
    font-size: 14px;
}

.site-footer .footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: 30px;
}

.site-footer .footer-column {
    flex: 1;
    min-width: 200px;
}

.site-footer .footer-column h3 {
    color: #FFD700;
    font-size: 18px;
    margin-bottom: 15px;
}

.site-footer .footer-column p,
.site-footer .footer-nav a {
    color: #ccc;
    line-height: 1.8;
    transition: color 0.3s ease;
}

.site-footer .footer-nav ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.site-footer .footer-nav a:hover {
    color: #FFD700;
}

.site-footer .footer-bottom {
    text-align: center;
    margin-top: 40px;
    padding-top: 20px;
    border-top: 1px solid #004488;
    color: #aaa;
}

/* Mobile styles */
@media (max-width: 768px) {
    .site-header {
        flex-direction: column;
        align-items: center;
        padding-bottom: 0; /* Mobile buttons are in their own div */
    }

    .site-header .header-container {
        padding: 10px 15px;
        justify-content: space-between;
        width: 100%;
    }

    .site-header .logo {
        flex-grow: 1;
        text-align: center;
        margin-left: -40px; /* Offset hamburger width to truly center logo */
        display: block;
    }

    .hamburger-menu {
        display: block;
        margin-right: auto;
    }

    .site-header .desktop-nav-buttons {
        display: none;
    }

    .site-header .main-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 70%;
        height: 100vh;
        background-color: #003366;
        flex-direction: column;
        align-items: flex-start;
        padding: 80px 20px 20px;
        transform: translateX(-100%);
        transition: transform 0.3s ease-out;
        box-shadow: 2px 0 5px rgba(0, 0, 0, 0.3);
        z-index: 1000;
        display: none; /* Hidden by default, toggled by JS to flex */
    }

    .site-header .main-nav.active {
        transform: translateX(0);
        display: flex; /* Important: Change display from none to flex */
    }

    .site-header .main-nav ul {
        flex-direction: column;
        width: 100%;
        gap: 15px;
    }

    .site-header .main-nav a {
        padding: 10px 0;
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }

    .site-header .main-nav a:last-child {
        border-bottom: none;
    }

    .mobile-nav-buttons {
        display: flex;
        justify-content: center;
        gap: 10px;
        width: 100%;
        padding: 10px 15px;
        background-color: #003366;
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 990;
    }

    body {
        padding-top: 130px;
    }

    .site-footer .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .site-footer .footer-column {
        min-width: unset;
        width: 100%;
        margin-bottom: 20px;
    }

    .site-footer .footer-nav ul {
        align-items: center;
    }
}