:root {
    --primary-color: #0A2463;
    --secondary-color: #FFD700;
    --text-color-light: #f8f8f8;
    --text-color-dark: #333;
    --header-height-desktop: 70px;
    --header-height-mobile-top: 60px;
    --mobile-buttons-height: 60px; /* Height of the mobile button bar */
    --total-mobile-header-height: calc(var(--header-height-mobile-top) + var(--mobile-buttons-height));
}

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

body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color-dark);
    padding-top: var(--header-height-desktop); /* Default padding for desktop fixed header */
}

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

ul {
    list-style: none;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: bold;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none; /* Remove underline for buttons */
    white-space: nowrap;
    cursor: pointer;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 2px solid var(--secondary-color);
}

.btn-primary:hover {
    background-color: #e6c200; /* A slightly darker yellow */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

.btn-secondary {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    border: 2px solid var(--primary-color);
    margin-left: 10px;
}

.btn-secondary:hover {
    background-color: #071a47; /* A slightly darker blue */
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
}

/* Site Header (Desktop First) */
.site-header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: var(--primary-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    min-height: var(--header-height-desktop); /* Ensure content fits */
    display: flex; /* Use flex to align header-container */
    align-items: center; /* Vertically center header-container */
    padding: 0 20px; /* Add some horizontal padding */
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 1200px; /* Max width for content */
    margin: 0 auto;
    min-height: var(--header-height-desktop); /* Ensure content fits */
}

.logo {
    color: var(--secondary-color);
    font-size: 2.2em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    display: inline-block; /* Ensure logo is visible on desktop */
}

.main-nav {
    flex: 1; /* Occupy middle space */
    display: flex; /* Desktop: show nav */
    justify-content: center; /* Center menu items */
    padding: 0 20px;
}

.main-nav ul {
    display: flex;
    gap: 25px; /* Spacing between menu items */
}

.main-nav a {
    color: var(--text-color-light);
    font-weight: bold;
    padding: 10px 0;
    position: relative;
    transition: color 0.3s ease;
}

.main-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 3px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--secondary-color);
}

.desktop-nav-buttons {
    display: flex; /* Desktop: show buttons */
    align-items: center;
    gap: 10px;
}

/* Hamburger Menu (Hidden on Desktop) */
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    position: relative;
    z-index: 1001; /* Above other header elements */
}

.hamburger-icon {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    position: relative;
    transition: background-color 0.3s ease;
}

.hamburger-icon::before,
.hamburger-icon::after {
    content: '';
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--secondary-color);
    position: absolute;
    transition: transform 0.3s ease, top 0.3s ease;
}

.hamburger-icon::before {
    top: -10px;
}

.hamburger-icon::after {
    top: 10px;
}

/* Hamburger active state (X icon) */
.hamburger-menu.active .hamburger-icon {
    background-color: transparent;
}

.hamburger-menu.active .hamburger-icon::before {
    transform: rotate(45deg);
    top: 0;
}

.hamburger-menu.active .hamburger-icon::after {
    transform: rotate(-45deg);
    top: 0;
}

/* Mobile Nav Buttons (Hidden on Desktop) */
.mobile-nav-buttons {
    display: none; /* Hidden by default on desktop */
}

/* Mobile Menu Overlay (Hidden on Desktop) */
.mobile-menu-overlay {
    display: none; /* Hidden by default on desktop */
}

/* Site Footer */
.site-footer {
    background-color: var(--primary-color);
    color: var(--text-color-light);
    padding: 40px 20px 20px;
    font-size: 0.9em;
}

.footer-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-col h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
    font-size: 1.2em;
}

.footer-col p {
    margin-bottom: 10px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col ul li a {
    color: var(--text-color-light);
    transition: color 0.3s ease;
}

.footer-col ul li a:hover {
    color: var(--secondary-color);
}

.footer-logo {
    color: var(--secondary-color);
    font-size: 1.8em;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: block;
}

.footer-bottom {
    text-align: center;
    margin-top: 20px;
    padding-top: 20px;
    font-size: 0.8em;
    color: rgba(255, 255, 255, 0.7);
}

/* Media Queries for Mobile (max-width: 768px) */
@media (max-width: 768px) {
    body {
        /* Adjust padding-top for fixed header + mobile buttons */
        padding-top: var(--total-mobile-header-height);
    }

    .site-header {
        flex-direction: column; /* Stack header elements */
        align-items: flex-start; /* Align items to start */
        min-height: auto; /* Allow height to adjust */
        padding: 0; /* Remove padding from site-header itself */
    }

    .header-container {
        width: 100%;
        min-height: var(--header-height-mobile-top); /* Fixed height for top bar */
        padding: 0 15px; /* Padding for mobile top bar */
        justify-content: space-between; /* Space out hamburger and logo */
    }

    .hamburger-menu {
        display: block; /* Show hamburger on mobile */
    }

    .logo {
        flex-grow: 1; /* Allow logo to take available space */
        text-align: center; /* Center the logo */
        font-size: 1.8em; /* Smaller logo on mobile */
        padding: 0; /* Remove padding from logo */
        line-height: var(--header-height-mobile-top); /* Vertically center logo text */
    }
    
    .logo::after {
        content: none; /* Remove pseudo-element from logo on mobile */
    }

    .main-nav {
        display: none; /* Hide main nav by default on mobile */
        flex-direction: column; /* Stack menu items vertically */
        position: fixed; /* Fixed position for mobile menu */
        top: var(--total-mobile-header-height); /* Position below fixed header + buttons */
        left: 0;
        width: 80%; /* Menu takes 80% width */
        height: calc(100% - var(--total-mobile-header-height)); /* Full height below header */
        background-color: var(--primary-color);
        padding: 20px;
        box-shadow: 2px 0 10px rgba(0, 0, 0, 0.3);
        transform: translateX(-100%); /* Slide out to the left */
        transition: transform 0.3s ease;
        overflow-y: auto; /* Enable scrolling for long menus */
        z-index: 1000; /* Ensure menu is above other content but below overlay */
    }

    .main-nav.active {
        display: flex; /* Show menu when active */
        transform: translateX(0); /* Slide in */
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px; /* Spacing between menu items */
        width: 100%;
    }

    .main-nav a {
        padding: 12px 0;
        font-size: 1.1em;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        display: block; /* Make links block level */
        width: 100%;
    }

    .main-nav a::after {
        content: none; /* Remove underline animation on mobile */
    }
    
    .main-nav a:hover,
    .main-nav a.active {
        color: var(--secondary-color);
        background-color: rgba(255, 255, 255, 0.05); /* Slight hover background */
    }

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

    .mobile-nav-buttons {
        display: flex; /* Show mobile buttons */
        width: 100%;
        justify-content: center;
        align-items: center;
        background-color: var(--primary-color); /* Same as header background */
        padding: 10px 15px;
        min-height: var(--mobile-buttons-height);
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
        z-index: 998; /* Below hamburger menu and main nav */
        gap: 15px; /* Spacing between buttons */
    }

    .mobile-nav-buttons .btn {
        flex: 1; /* Make buttons take equal width */
        max-width: 150px; /* Max width for buttons */
        font-size: 0.9em;
        padding: 8px 15px;
        border-radius: 20px;
    }

    .mobile-menu-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0, 0, 0, 0.5);
        z-index: 999; /* Below menu, above content */
        display: none; /* Hidden by default */
        transition: opacity 0.3s ease;
        opacity: 0;
    }

    .mobile-menu-overlay.active {
        display: block; /* Show overlay when active */
        opacity: 1;
    }

    .site-footer {
        padding: 30px 15px 15px;
    }

    .footer-container {
        grid-template-columns: 1fr; /* Stack columns on mobile */
        gap: 20px;
    }

    .footer-col {
        text-align: center; /* Center footer content on mobile */
    }

    .footer-col ul {
        padding-left: 0;
    }
}

/* Utility for no-scroll on body when menu is open */
body.no-scroll {
    overflow: hidden;
}