/* Header CSS */
.site-header {
    position: fixed;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    max-width: 1200px;
    width: calc(100% - 40px);
    /* Ensures 20px margin on left and right on smaller screens */
    background-color: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    /* Light shadow */
    border-radius: 16px;
    z-index: 100;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    min-height: 60px;
}

.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    color: #333;
    text-transform: uppercase;
    display: block;
    line-height: 0;
    /* Fix for image spacing */
}

.logo img {
    max-height: 40px;
    /* Adjust as needed */
    width: auto;
    display: block;
}

/* Desktop Nav */
.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
    gap: 30px;
}

.desktop-nav a {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.2s;
}

.desktop-nav a:hover {
    color: #0073aa;
}

.desktop-nav .cta-button a {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    transition: background-color 0.2s;
}

.desktop-nav .cta-button a:hover {
    background-color: #005177;
}

/* Hamburger Menu */
.hamburger-menu {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    gap: 6px;
    z-index: 101;
}

.hamburger-menu span {
    display: block;
    width: 25px;
    height: 2px;
    background-color: #333;
    transition: all 0.3s;
}

/* Mobile Drawer */
.mobile-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: #fff;
    z-index: 9999;
    transform: translateX(100%);
    transition: transform 0.3s ease-in-out, visibility 0s linear 0.3s;
    display: flex;
    flex-direction: column;
    visibility: hidden;
}

.mobile-drawer.is-open {
    transform: translateX(0);
    visibility: visible;
    transition: transform 0.3s ease-in-out, visibility 0s linear 0s;
}

.drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 30px;
    /* Match header padding roughly */
    border-bottom: 1px solid #f0f0f0;
    min-height: 60px;
    /* Match header height */
}

.close-drawer {
    background: none;
    border: none;
    font-size: 32px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    color: #333;
}

.mobile-nav {
    padding: 40px 30px;
}

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

.mobile-nav li {
    margin-bottom: 25px;
}

.mobile-nav a {
    font-size: 22px;
    text-decoration: none;
    color: #333;
    font-weight: 600;
    display: block;
}

.mobile-nav .cta-button a {
    background-color: #0073aa;
    color: #fff;
    padding: 12px 24px;
    border-radius: 4px;
    text-align: center;
    display: inline-block;
    transition: background-color 0.2s;
}

.mobile-nav .cta-button a:hover {
    background-color: #005177;
}

/* Responsive */
@media (max-width: 960px) {
    .desktop-nav {
        display: none;
    }

    .hamburger-menu {
        display: flex;
    }

    .header-inner {
        padding: 10px 20px;
    }

    .drawer-header {
        padding: 10px 20px;
    }

    .mobile-nav {
        padding: 30px 20px;
    }
}