@import url('https://fonts.googleapis.com/css2?family=Google+Sans:ital,opsz,wght@0,17..18,400..700;1,17..18,400..700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');
   
   :root {
        --sc-primary: #0b6e4f;
        --sc-primary-dark: #084c37;
        --sc-accent: #f2a900;
        --sc-text: #1f2a2e;
        --sc-bg: #ffffff;
        --sc-soft: #f1f7f4;
        --sc-header-h: 84px;
    }

    .nheader-container,
    .nheader-container * ,
    .sidebar,
    .sidebar * { box-sizing: border-box; }

    /* ---------- Header bar ---------- */
    .nheader-container {
        position: sticky;
        top: 0;
        z-index: 1000;
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 24px;
        min-height: var(--sc-header-h);
        padding: 10px clamp(16px, 4vw, 48px);
        background: var(--sc-bg);
        border-bottom: 1px solid var(--sc-accent);
        box-shadow: 0 4px 18px rgba(0, 0, 0, .08);
        font-family: font-family: "Google Sans", sans-serif;
    }

    .new-logo {
        display: block;
        height: 130px;
        width: auto;
        transition: transform .25s ease;
    }
    .new-logo:hover { transform: scale(1.05); }

    /* ---------- Centre: title + menu ---------- */
    .nheader-center {
        flex: 1;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 4px;
        min-width: 0;
    }
    .text-center { text-align: center; }

    .nheader-br-title {
        font-size: clamp(1.05rem, 2.2vw, 1.6rem);
        font-weight: 800;
        letter-spacing: .04em;
        text-transform: uppercase;
        background: linear-gradient(90deg, var(--sc-primary), var(--sc-primary-dark) 60%, var(--sc-accent));
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
        line-height: 1.2;
    }

    .nheader-menu {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 2px 4px;
    }
    .nheader-menu a {
        position: relative;
        display: inline-block;
        padding: 2.5px 5px;
        color: var(--sc-text);
        font-size: .85rem;
        font-weight: 500;
        text-decoration: none;
        border-radius: 3px;
        transition: color .2s ease, background-color .2s ease;
    }
    .nheader-menu a::after {
        content: "";
        position: absolute;
        left: 50%;
        bottom: 2px;
        width: 0;
        height: 3px;
        border-radius: 3px;
        background: var(--sc-accent);
        transform: translateX(-50%);
        transition: width .25s ease;
    }
    .nheader-menu a:hover,
    .nheader-menu a.active {
        color: var(--sc-primary);
        background: var(--sc-soft);
    }
    .nheader-menu a:hover::after,
    .nheader-menu a.active::after { width: 55%; }

    /* ---------- Socials ---------- */
    .nheader-socials {
        display: flex;
        gap: 10px;
    }
    .nheader-socials a {
        display: grid;
        place-items: center;
        width: 38px;
        height: 38px;
        border-radius: 50%;
        color: var(--sc-primary);
        background: var(--sc-soft);
        font-size: 1.05rem;
        text-decoration: none;
        transition: transform .2s ease, background-color .2s ease, color .2s ease;
    }
    .nheader-socials a:hover {
        background: var(--sc-primary);
        color: #fff;
        transform: translateY(-3px);
    }

    /* ---------- Hamburger ---------- */
    .scinov-logo-img {
        display: block;
        width: 34px;
        height: 34px;
        cursor: pointer;
        padding: 4px;
        border-radius: 8px;
        transition: background-color .2s ease;
    }
    .scinov-logo-img:hover { background: var(--sc-soft); }
    .hideOnDesktop { display: none; }

    /* ---------- Mobile drawer ---------- */
    .sidebar-overlay {
        position: fixed;
        inset: 0;
        z-index: 1998;
        background: rgba(0, 0, 0, .45);
        opacity: 0;
        visibility: hidden;
        transition: opacity .3s ease, visibility .3s ease;
    }
    .sidebar {
        position: fixed;
        top: 0;
        right: 0;
        z-index: 1999;
        width: min(80vw, 320px);
        height: 100vh;
        height: 100dvh;
        display: flex;
        flex-direction: column;
        padding: 18px 20px 24px;
        background: linear-gradient(180deg, var(--sc-primary), var(--sc-primary-dark));
        color: #fff;
        box-shadow: -10px 0 30px rgba(0, 0, 0, .25);
        transform: translateX(100%);
        visibility: hidden;
        transition: transform .3s ease, visibility .3s ease;
        overflow-y: auto;
        font-family: "Segoe UI", system-ui, -apple-system, Roboto, Helvetica, Arial, sans-serif;
    }
    .sidebar.open { transform: translateX(0); visibility: visible; }
    .sidebar-overlay.open { opacity: 1; visibility: visible; }

    .sidebar-close {
        align-self: flex-end;
        width: 40px;
        height: 40px;
        border: 0;
        border-radius: 50%;
        background: rgba(255, 255, 255, .15);
        color: #fff;
        font-size: 1.4rem;
        line-height: 1;
        cursor: pointer;
        transition: background-color .2s ease, transform .2s ease;
    }
    .sidebar-close:hover { background: rgba(255, 255, 255, .3); transform: rotate(90deg); }

    .sidebar-title {
        margin: 6px 0 14px;
        font-size: 1.05rem;
        font-weight: 800;
        letter-spacing: .06em;
        text-transform: uppercase;
        color: var(--sc-accent);
    }
    .sidebar a.sidebar-link {
        display: block;
        padding: 13px 14px;
        margin-bottom: 4px;
        color: #fff;
        font-size: 1.05rem;
        font-weight: 600;
        text-decoration: none;
        border-left: 4px solid transparent;
        border-radius: 6px;
        transition: background-color .2s ease, border-color .2s ease, padding-left .2s ease;
    }
    .sidebar a.sidebar-link:hover,
    .sidebar a.sidebar-link.active {
        background: rgba(255, 255, 255, .12);
        border-left-color: var(--sc-accent);
        padding-left: 20px;
    }
    .sidebar-socials {
        display: flex;
        gap: 12px;
        margin-top: auto;
        padding-top: 22px;
        border-top: 1px solid rgba(255, 255, 255, .2);
    }
    .sidebar-socials a {
        display: grid;
        place-items: center;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: rgba(255, 255, 255, .15);
        color: #fff;
        font-size: 1.1rem;
        text-decoration: none;
        transition: background-color .2s ease, color .2s ease;
    }
    .sidebar-socials a:hover { background: var(--sc-accent); color: var(--sc-text); }

    /* ---------- Responsive ---------- */
    @media (max-width: 1100px) {
        .nheader-menu a { padding: 6px 9px; font-size: .88rem; }
        .nheader-socials a { width: 34px; height: 34px; }
    }

    @media (max-width: 900px) {
        .hideOnMobile { display: none !important; }
        .hideOnDesktop { display: block; }
        :root { --sc-header-h: 68px; }
        .nheader-container { gap: 12px; }
        .new-logo { height: 50px; }
        .nheader-center { align-items: flex-start; text-align: left; }
        .nheader-br-title { font-size: clamp(.8rem, 3.6vw, 1.1rem); letter-spacing: .03em; }
    }

    @media (max-width: 380px) {
        .new-logo { height: 42px; }
    }

    @media (prefers-reduced-motion: reduce) {
        .nheader-container *, .sidebar, .sidebar-overlay { transition: none !important; }
    }