/* --- Core Styles Reset & Variable Presets --- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    /* Utilizing the exact brand canvas theme color found in your reference screenshot */
    background-color: #0b2240;
    font-family: "Manrope", sans-serif;
    -webkit-font-smoothing: antialiased;
}

/* --- Header Global Structural Layout --- */
.gs_header {
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;

    padding: 20px 0;

    background: transparent;
    transition: all 0.4s ease;
}

.gs_header.scrolled {
    background: rgba(13, 43, 87, 0.95);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.gs_nav_container {
    /* max-width: 1500px; */
    margin: 0 auto;
    padding: 0 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* --- Brand Logo Typography --- */
.gs_logo {
    font-size: 26px;
    font-weight: 600;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: -0.5px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.gs_logo img {
    width: 150px;
}

.logo_sparkle {
    color: #a3c4f3;
    /* Premium light blue tint sparkle icon asset */
    font-size: 20px;
    margin-right: 2px;
}

.logo_tm {
    font-size: 10px;
    vertical-align: super;
    font-weight: 300;
    opacity: 0.8;
}

/* --- Desktop Nav Layout Properties --- */
.gs_nav_list {
    display: flex;
    gap: 40px;
    /* Perfect breathing distance matching your desktop mock */
    list-style: none;
}

.gs_nav_link {
    font-size: 13px;
    font-weight: 500;
    color: #ffffff;
    text-decoration: none;
    letter-spacing: 1px;
    opacity: 0.85;
    transition: opacity 0.3s cubic-bezier(0.25, 1, 0.5, 1);
}

.gs_nav_link:hover {
    opacity: 1;
}

.gs_nav_link.active {
    opacity: 1;
    color: #00d4a8;
    /* Highlight with brand accent color */
    font-weight: 700;
}

/* Hide Structural Controller Toggles from Main Desktop layouts */
.gs_menu_checkbox,
.gs_hamburger_btn,
.gs_menu_close,
.gs_menu_overlay {
    display: none;
}

/* ==========================================================================
   3. MOBILE DRAWER COMPILER RESPONSIVE BREAKPOINT
   ========================================================================== */
@media screen and (max-width: 900px) {
    .gs_nav_container {
        padding: 0 30px;
        /* Compress outer grid boundary tracking safely on small viewport devices */
    }

    /* --- Show Hamburger Layout Interface Elements --- */
    .gs_hamburger_btn {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        width: 24px;
        height: 18px;
        cursor: pointer;
        z-index: 1010;
    }

    .gs_hamburger_btn span {
        display: block;
        width: 100%;
        height: 2px;
        background-color: #ffffff;
        border-radius: 4px;
        transition: background-color 0.3s ease;
    }

    /* --- Convert Desktop Navigation Strip Into Right-Side Drawer Panel --- */
    .gs_nav_menu {
        position: fixed;
        top: 0;
        right: -320px;
        /* Stays completely hidden off-screen by default */
        width: 300px;
        height: 100vh;
        background-color: #061529;
        /* Solid deep contrasting background backdrop color */
        box-shadow: -10px 0 40px rgba(0, 0, 0, 0.3);
        padding: 40px;
        display: block;
        z-index: 1050;
        /* Smooth, mechanical slide-in effect */
        transition: right 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    }

    .gs_nav_list {
        flex-direction: column;
        gap: 30px;
        margin-top: 60px;
    }

    .gs_nav_link {
        font-size: 16px;
        /* Scaled slightly larger for modern mobile touch targeting */
        display: block;
        width: 100%;
        padding: 5px 0;
    }

    /* Inside-Menu Close Icon Interface */
    .gs_menu_close {
        display: block;
        position: absolute;
        top: 25px;
        right: 30px;
        font-size: 22px;
        color: #ffffff;
        opacity: 0.7;
        cursor: pointer;
    }

    /* --- The Functional Pure CSS Input Toggle Engine --- */
    /* When user presses the Hamburger icon, slide the sidebar panel out instantly */
    .gs_menu_checkbox:checked~.gs_nav_menu {
        right: 0;
    }

    /* Trigger soft surrounding ambient background blur backdrop layer underneath slide panel */
    .gs_menu_checkbox:checked~.gs_menu_overlay {
        display: block;
        position: fixed;
        inset: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(6, 21, 41, 0.6);
        backdrop-filter: blur(4px);
        /* Modern blur treatment */
        z-index: 1020;
    }
}