html {
    box-sizing: border-box;
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}
*, *::before, *::after {
    box-sizing: inherit;
    margin: 0;
    padding: 0;
}
body {
    background-color: #f4f7f6;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header Styles */
.site-header {
    background-color: #001f3f; /* Primary color */
    color: #ffffff;
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.site-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.site-header .logo {
    font-size: 2.2em;
    font-weight: bold;
    color: #ffcc00; /* Auxiliary color */
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.site-header .logo:hover {
    color: #ffffff;
}
.main-nav .nav-list {
    display: flex;
    gap: 25px;
}
.main-nav .nav-list li a {
    color: #ffffff;
    font-weight: 600;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav .nav-list li a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #ffcc00; /* Auxiliary color */
    transition: width 0.3s ease;
}
.main-nav .nav-list li a:hover::after,
.main-nav .nav-list li a.active::after {
    width: 100%;
}
.main-nav .nav-list li a:hover,
.main-nav .nav-list li a.active {
    color: #ffcc00; /* Auxiliary color */
}
.hamburger-menu {
    display: none; /* Hidden by default on desktop */
    width: 30px;
    height: 20px;
    background: transparent;
    border: none;
    cursor: pointer;
    flex-direction: column;
    justify-content: space-between;
    position: relative;
    z-index: 1001; /* Ensure it's above other elements */
}
.hamburger-menu span {
    display: block;
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}
/* Hamburger menu animation */
.hamburger-menu.open span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}
.hamburger-menu.open span:nth-child(2) {
    opacity: 0;
}
.hamburger-menu.open span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.auth-buttons {
    display: flex; /* Show buttons on desktop */
    gap: 15px;
}
.auth-buttons .btn {
    background-color: #ffcc00; /* Auxiliary color */
    color: #001f3f; /* Primary color */
    padding: 8px 15px;
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    white-space: nowrap; /* Prevent button text from wrapping */
}
.auth-buttons .btn:hover {
    background-color: #ffffff;
    color: #001f3f;
}

/* Footer Styles */
.site-footer {
    background-color: #001f3f; /* Primary color */
    color: #ffffff;
    padding: 40px 0 20px;
    font-size: 0.9em;
}
.site-footer .footer-columns {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap; /* Allow columns to wrap on smaller screens */
    margin-bottom: 30px;
}
.site-footer .footer-col {
    flex: 1;
    min-width: 250px; /* Minimum width for columns before wrapping */
    margin-bottom: 20px;
    padding-right: 20px;
}
.site-footer .footer-col:last-child {
    padding-right: 0;
}
.site-footer h3 {
    color: #ffcc00; /* Auxiliary color */
    font-size: 1.3em;
    margin-bottom: 15px;
    text-transform: uppercase;
}
.site-footer p, .site-footer li {
    line-height: 1.8;
    margin-bottom: 8px;
}
.site-footer a {
    color: #ffffff;
    transition: color 0.3s ease;
}
.site-footer a:hover {
    color: #ffcc00; /* Auxiliary color */
}
.site-footer .footer-nav ul {
    display: flex;
    flex-direction: column;
}
.site-footer .footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
}
.site-footer .copyright {
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .main-nav .nav-list {
        gap: 15px;
    }
}

@media (max-width: 768px) {
    .site-header .container {
        display: grid;
        grid-template-columns: auto 1fr auto; /* Hamburger | Logo (centered) | Spacer */
        grid-template-rows: auto auto; /* Top row | Buttons row */
        grid-template-areas:
            "hamburger-area logo-area ." /* Hamburger left, Logo centered, empty space right */
            "buttons-area buttons-area buttons-area"; /* Buttons full width below */
        gap: 10px 0; /* Vertical gap between rows, no horizontal gap for grid areas */
        align-items: center; /* Vertically align items in their grid areas */
        padding: 15px; /* General padding */
    }

    .site-header .logo {
        grid-area: logo-area;
        text-align: center;
        margin: 0; /* Reset margins */
        padding: 0; /* Reset padding */
        font-size: 2em; /* Ensure it's legible */
        /* Overrides existing .site-header .logo {width: auto; text-align: left;} */
    }

    .main-nav {
        grid-area: hamburger-area;
        display: flex; /* Keep flex for hamburger */
        justify-content: flex-start; /* Push hamburger to left */
        align-items: center;
        position: relative; /* For nav-list dropdown */
        padding: 0; /* Reset padding */
        width: auto; /* Allow it to take only necessary width */
        /* Overrides existing .main-nav {width: auto; ...} */
    }

    .main-nav .nav-list {
        flex-direction: column;
        width: 100vw; /* Full viewport width */
        max-width: 100vw; /* Ensure it doesn't exceed viewport */
        background-color: #001f3f;
        position: fixed; /* Fixed to viewport */
        top: 0;
        left: 0;
        right: 0;
        padding: 80px 15px 20px; /* Top padding for header, side padding for content */
        border-top: none;
        display: none;
        text-align: center;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.3);
        z-index: 999; /* Below hamburger, above content */
        height: 100vh; /* Full viewport height */
        overflow-y: auto; /* Allow scrolling if content is too long */
        margin: 0;
    }
    .main-nav.nav-open .nav-list {
        display: flex;
    }

    .hamburger-menu {
        display: flex; /* Make hamburger visible */
        margin: 0; /* Reset margins */
        /* Overrides existing .hamburger-menu {margin-top: 0;} */
    }

    .auth-buttons {
        grid-area: buttons-area;
        display: flex; /* Show buttons */
        justify-content: center; /* Center buttons */
        gap: 15px;
        margin-top: 10px; /* Space below logo */
        padding: 0; /* Reset padding */
    }

    .site-footer .footer-columns {
        flex-direction: column;
        align-items: center;
    }
    .site-footer .footer-col {
        width: 90%;
        max-width: 400px;
        text-align: center;
        padding-right: 0;
        margin-bottom: 30px;
    }
    .site-footer .footer-col:last-child {
        margin-bottom: 0;
    }
}

@media (max-width: 480px) {
    .site-header .logo {
        font-size: 1.8em;
    }
    .site-footer h3 {
        font-size: 1.1em;
    }
}