
header {position: fixed; top: 0; width: 100%; z-index: 10;}
header .topbar {padding-block: 8px; background-color: #0e112d; opacity: 0.9;}
header .topbar .wrapper {display: flex; align-items: center; justify-content: space-between; gap: 15px;}
header .topbar .info {display: flex; align-items: center; gap: 15px;}
header .topbar .info a {display: flex; align-items: center; gap: 5px; font-size: var(--fs-2xs, 12px); background-color: var(--_c-neutral-gray); color: #fff; padding: 6px 12px; border-radius: 22px;}
header .topbar .info a *::selection {background-color: #fff; color: var(--c-primary);}
header .topbar ul {display: flex; align-items: center; gap: 15px}
header .topbar li a {width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; background-color: var(--_c-neutral-gray); border-radius: 50%;}
header .topbar :where(.info, li) a:hover {background-color: var(--c-secondary);}
header nav {display: flex; align-items: flex-start; justify-content: space-between; gap: 40px;}
header nav #nav_toggle {display: none;}
header nav > .logo {display: none;}
header nav > ul {display: flex;align-items: flex-start;justify-content: center;gap: 20px;width: 100%;margin-left: -83px;}
header nav li a {width: 100%; font-weight: 500; color: #fff; padding-block: 15px;}
header nav li a:hover {color: var(--c-secondary);}
header nav li:has(> ul) {position: relative;}
header nav li:has(> ul) > a {position: relative; padding-right: 15px;}
header nav li:has(> ul) > a::before {position: absolute; inset: 0 0 0 auto; width: 8px; height: 10px; background: no-repeat center/cover url('https://alphasecurityservices.ca/files/catalog/assets/images/icons/chevron-down-solid.svg'); margin-block: auto; content: '';}
header nav li:has(> ul) > a:hover::before {filter: var(--flt-secondary);} 
header nav li ul {display: none; position: absolute; top: 100%; left: 0; background: #262842; border-radius: 10px; padding-block: 6px;} 
header nav li:hover ul {display: block;}
header nav li li a {width: 100%; text-wrap: nowrap; padding: 4px 12px;}
header nav li li a:hover {background-color: var(--_c-white-lght);}
header nav li:has(> .logo) {flex: none; margin-inline: 50px;}
header nav .btn__secondary {flex: none; font-size: var(--fs-xs, 14px); margin-block: 15px;}

header.stickybg {background: #0e112d; opacity: 0.9;}
header.stickybg .logo.central {position: sticky; margin-top: -50px; transition: var(--transition);}
header.stickybg nav,
header.stickybg nav > ul {align-items: center;}
header.stickybg .topbar::before{top: 21px}
.special .wrapper a, .scroll a {  display: unset !mportant;}

/* @media only screen and (max-width: 1408px) {
header nav li a {font-size: 14px;}
} */

@media only screen and (max-width: 1200px) {
    header nav {gap: 20px;}
    header nav > ul {gap: 27px;}
    header nav li:has(> .logo) {margin-inline: 30px;}
    /* header nav li a {font-size: 12px;} */
    header nav li a {font-size: var(--fs-xs);}
    header nav li:has(> ul) > a {padding-right: 0;}
    header nav li:has(> ul) > a::before {right: -15px; width: 7px; height: 9px;}
    header nav .btn__secondary {padding-inline: 12px;}

}
/* @media only screen and (max-width: 1020px) {
    header nav li a {font-size: 11px;}
} */
@media only screen and (max-width: 991px) {
    header nav {position: relative; align-items: center;}
    header nav #nav_toggle {display: block;}
    header nav > .logo {position: absolute; inset: 15px 0 0 -50px; display: block; margin: auto;}
    header nav ul {background-color: #fff; width: fit-content; border-radius: 10px;}
    header nav > ul {display: none ; position: absolute; top: 100%; left: 0; background-color: #fff; width: 100%; z-index: -1; padding-block: 12px; border-radius: 10px;}
    header nav li a {color: #000; padding: 6px 15px;}
    header nav li:has(> ul) > a::before {right: 10px; filter: invert(1); transform: rotate(-90deg);}
    header nav li ul {position: static; width: 100%; height: fit-content; padding-inline: 16px; background: #fff;}
    header nav li:has(> .logo) {display: none;}
}

@media only screen and (max-width: 767px) {
    header .topbar .info a {width: 30px; height: 30px; display: flex; align-items: center; justify-content: center; padding: 0; border-radius: 50%;}
    header .topbar .info a :nth-child(2) {display: none;}
}

@media only screen and (max-width: 575px) {
    header {background-color: #262842;}
    header nav > .logo {top: -32px; left: -40px; max-width: 54px;}
    header nav li ul li a{text-wrap-mode: wrap;text-wrap-style: balance;}
    .logo_mobl {
    margin-top: 35px;
    width: 41px;
}
    header nav > ul {
        display: none;
        position: absolute;
        top: 100%;
        left: 66px;
        background-color: #fff;
        width: 100%;
        z-index: -1;
        padding-block: 12px;
        border-radius: 10px;
    }
}





