:root {
    --primary-color: #1A2A4A;
    --secondary-color: #FFD700;
    --text-color: #333;
    --light-text-color: #f0f0f0;
    --link-hover-color: #FFC107;
    --bg-light: #f9f9f9;
}
body {
    font-family: Arial, sans-serif;
    margin: 0;
    line-height: 1.6;
    color: var(--text-color);
    padding-top: 65px; /* Added: Space for the fixed header on desktop */
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
    padding: 0;
    margin: 0;
}
.site-header {
    background-color: var(--primary-color);
    padding: 15px 0;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    position: fixed; /* Changed: Make header sticky */
    top: 0; /* Added: Stick to the top */
    width: 100%; /* Added: Take full width */
    z-index: 1000; /* Added: Ensure it stays on top of other content */
}
.header-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}
.logo {
    font-size: 28px;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s ease;
}
.logo:hover {
    color: var(--link-hover-color);
}
.main-nav .nav-links {
    display: flex;
    gap: 25px;
}
.main-nav .nav-links a {
    color: var(--light-text-color);
    font-weight: 600;
    font-size: 16px;
    padding: 5px 0;
    position: relative;
    transition: color 0.3s ease;
}
.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary-color);
    transition: width 0.3s ease;
}
.main-nav .nav-links a:hover,
.main-nav .nav-links a.active {
    color: var(--secondary-color);
}
.main-nav .nav-links a:hover::after,
.main-nav .nav-links a.active::after {
    width: 100%;
}
.header-actions {
    display: flex;
    gap: 10px;
}
.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;
}
.btn-primary {
    background-color: var(--secondary-color);
    color: var(--primary-color);
    border: 1px solid var(--secondary-color);
}
.btn-primary:hover {
    background-color: var(--link-hover-color);
    border-color: var(--link-hover-color);
    color: var(--primary-color);
}
.btn-secondary {
    background-color: transparent;
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}
.btn-secondary:hover {
    background-color: var(--secondary-color);
    color: var(--primary-color);
}
.hamburger-menu {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}
.hamburger-menu .bar {
    width: 25px;
    height: 3px;
    background-color: var(--secondary-color);
    transition: all 0.3s ease;
}
.site-footer {
    background-color: var(--primary-color);
    color: var(--light-text-color);
    padding: 40px 0 20px;
    font-size: 15px;
}
.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 30px;
    padding: 0 20px;
    flex-wrap: wrap;
}
.footer-column {
    flex: 1;
    min-width: 250px;
}
.footer-logo {
    font-size: 24px;
    font-weight: bold;
    color: var(--secondary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
}
.footer-column h3 {
    color: var(--secondary-color);
    font-size: 18px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 8px;
}
.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 40px;
    height: 2px;
    background-color: var(--secondary-color);
}
.footer-column p {
    margin-bottom: 10px;
}
.footer-column a {
    color: var(--light-text-color);
    transition: color 0.3s ease;
}
.footer-column a:hover {
    color: var(--secondary-color);
}
.footer-nav li {
    margin-bottom: 10px;
}
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 30px;
    padding-top: 20px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}
@media (max-width: 1024px) {
    .main-nav .nav-links {
        gap: 15px;
    }
}
@media (max-width: 768px) {
    body {
        padding-top: 110px; /* Adjusted: More space for the taller mobile header */
    }
    .header-container {
        flex-wrap: wrap;
        justify-content: flex-start; /* Changed: Align items to the start for hamburger on left */
        align-items: center; /* Added: Vertically align items in the first row */
    }
    .logo {
        order: 0; /* Added: Place logo after hamburger */
        flex-grow: 1; /* Added: Allow logo to grow and take available space */
        text-align: center; /* Added: Center the logo text */
    }
    .main-nav {
        width: 100%;
        order: 3;
        display: none;
        background-color: var(--primary-color);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 1000;
        padding: 10px 0;
    }
    .main-nav.active {
        display: block;
    }
    .main-nav .nav-links {
        flex-direction: column;
        text-align: center;
        padding: 10px 0;
    }
    .main-nav .nav-links li {
        margin: 10px 0;
    }
    .main-nav .nav-links a {
        padding: 10px 20px;
        display: block;
        width: auto;
    }
    .main-nav .nav-links a::after {
        display: none;
    }
    .header-actions {
        order: 1; /* Changed: Place buttons after logo */
        flex-basis: 100%; /* Added: Force buttons to a new line */
        justify-content: center; /* Added: Center the buttons horizontally */
        margin-top: 10px; /* Added: Space between logo/hamburger and buttons */
    }
    .hamburger-menu {
        display: flex;
        order: -1; /* Changed: Place hamburger menu on the far left */
        margin-right: 10px; /* Added: Space between hamburger and logo */
    }
    .hamburger-menu.active .bar:nth-child(1) {
        transform: translateY(7px) rotate(45deg);
    }
    .hamburger-menu.active .bar:nth-child(2) {
        opacity: 0;
    }
    .hamburger-menu.active .bar:nth-child(3) {
        transform: translateY(-7px) rotate(-45deg);
    }
    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    .footer-column {
        min-width: unset;
        width: 100%;
        margin-bottom: 30px;
    }
    .footer-column:last-child {
        margin-bottom: 0;
    }
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
}
@media (max-width: 480px) {
    .logo {
        font-size: 24px;
    }
    .header-actions {
        flex-direction: column;
        gap: 5px;
    }
    .btn {
        padding: 8px 15px;
        font-size: 14px;
    }
}