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

:root {
    --primary-color: #0047AB; /* Dark Blue */
    --accent-color: #FFD700;  /* Gold */
    --text-color: #ffffff;
    --dark-text-color: #333333;
    --button-primary-bg: linear-gradient(135deg, #007BFF, #0047AB); /* Blue gradient */
    --button-secondary-bg: linear-gradient(135deg, #FFC107, #FFA000); /* Orange/Yellow gradient */
    --button-accent-bg: linear-gradient(135deg, #28A745, #1E7E34); /* Green gradient */
    --button-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    --header-height-desktop: 80px;
    --header-top-height-mobile: 60px;
    --header-buttons-height-mobile: 60px;
}

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

/* --- Header Styles --- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    min-height: var(--header-height-desktop);
    background-color: var(--primary-color);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.logo {
    color: var(--accent-color);
    font-size: 2.2em;
    font-weight: bold;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}

.logo:hover {
    color: #FFEA00;
}

.hamburger-menu {
    display: none; /* Hidden on desktop */
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    z-index: 1001; /* Ensure it's above other elements */
}

.hamburger-menu .bar {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--accent-color);
    margin: 5px 0;
    transition: 0.4s;
}

.main-nav {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-nav ul {
    list-style: none;
    display: flex;
    gap: 30px;
}

.main-nav ul li a {
    color: var(--text-color);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}

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

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

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

.header-buttons {
    display: flex;
    gap: 10px;
    margin-left: auto;
}

.btn {
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1em;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: var(--button-shadow);
    color: var(--text-color);
    border: none; /* Ensure no default button border */
}

.btn-primary {
    background: var(--button-primary-bg);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
}

.btn-secondary {
    background: var(--button-secondary-bg);
}
.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-accent {
    background: var(--button-accent-bg);
}
.btn-accent:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

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

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

.footer-col {
    flex: 1;
    min-width: 250px;
}

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

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

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

.footer-col ul li a {
    color: var(--text-color);
    text-decoration: none;
    padding: 5px 0;
    display: block;
    transition: color 0.3s ease;
}

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

.footer-col .logo {
    font-size: 2em;
    margin-bottom: 15px;
    display: inline-block;
}

.footer-col a {
    color: var(--accent-color);
    text-decoration: none;
}

.footer-col a:hover {
    text-decoration: underline;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    color: rgba(255, 255, 255, 0.7);
}

/* --- Responsive Styles (Mobile) --- */
@media (max-width: 768px) {
    body {
        padding-top: calc(var(--header-top-height-mobile) + var(--header-buttons-height-mobile));
    }

    .site-header {
        min-height: auto;
    }

    .header-top {
        min-height: var(--header-top-height-mobile);
        padding: 0 15px;
        justify-content: space-between;
    }

    .hamburger-menu {
        display: block;
    }

    .logo {
        flex: 1;
        text-align: center;
        margin: 0;
        font-size: 1.8em;
    }

    .header-placeholder {
        width: 45px; /* Roughly the width of the hamburger menu for centering */
        height: 1px; /* Placeholder to balance logo centering */
    }

    .main-nav {
        position: fixed;
        top: calc(var(--header-top-height-mobile) + var(--header-buttons-height-mobile)); /* Position below header content */
        left: -100%; /* Off-screen by default */
        width: 100%;
        height: calc(100vh - (var(--header-top-height-mobile) + var(--header-buttons-height-mobile)));
        background-color: var(--primary-color);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 20px;
        transition: left 0.3s ease-in-out;
        z-index: 1001;
        overflow-y: auto;
    }

    .main-nav.active {
        left: 0;
    }

    .main-nav ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        padding: 0 20px;
    }

    .main-nav ul li {
        width: 100%;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
    }
    .main-nav ul li:last-child {
        border-bottom: none;
    }

    .main-nav ul li a {
        font-size: 1.2em;
        padding: 10px 0;
        display: block;
    }
    .main-nav ul li a::after {
        display: none;
    }

    .header-buttons {
        width: 100%;
        display: flex;
        justify-content: center;
        gap: 10px;
        padding: 10px 15px;
        background-color: rgba(0, 0, 0, 0.1); /* Slightly different background for visual separation */
        box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
        z-index: 999; /* Below main nav but above page content */
        margin-left: 0;
    }
    .header-buttons .btn {
        flex: 1;
        max-width: 150px;
        padding: 8px 15px;
        font-size: 0.9em;
    }

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

    .footer-col {
        min-width: unset;
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-col:last-child {
        margin-bottom: 0;
    }
}
