html,
body{
    overflow-x:hidden;
}

/*=========================================================
HEADER
KamRad Systems
=========================================================*/

:root{
    --header-height:92px;
    --header-height-scroll:74px;
    --header-bg:rgba(4,7,13,.18);
    --header-border:rgba(255,255,255,.08);
    --primary:#1da9ff;
    --secondary:#17d6ff;
}

/*=========================================================
HEADER
=========================================================*/

.site-header{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    overflow:hidden;
    height:var(--header-height);
    z-index:9999;
    transition:
        height .35s ease,
        background .35s ease,
        backdrop-filter .35s ease,
        transform .35s ease,
        box-shadow .35s ease;
}
.site-header.scrolled{
    height:var(--header-height-scroll);
    background:rgba(5,10,18,.72);
    backdrop-filter:blur(18px);
    border-bottom:1px solid rgba(255,255,255,.08);
    box-shadow:
        0 10px 35px rgba(0,0,0,.18);
}
.site-header.hide{
    transform:translateY(-100%);
}
.header *{
box-sizing:border-box;
}

/*=========================================================
CONTAINER
=========================================================*/

.header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    height:100%;
    gap:30px;
    min-width:0;
}
.header__services{
    display:flex;
    align-items:center;
    gap:18px;
}
.header__services a{
    color:#fff;
    text-decoration:none;
    white-space:nowrap;
    font-size:14px;
    transition:.3s;
}
.header__services a:hover{
    color:var(--primary);
}

/*=========================================================
LEFT
=========================================================*/

.header__left{
    display:flex;
    align-items:center;
    flex-shrink:0;
}
.header__logo{
    display:flex;
    align-items:center;
}
.custom-logo{
    display:block;
    width:auto;
    max-width:220px;
    max-height:60px;
    height:auto;
}
.site-header.scrolled .custom-logo{
    max-height:50px;
}
.header__brand{
    display:flex;
    flex-direction:column;
}
.header__brand h2{
    margin:0;
    color:#fff;
    font-size:28px;
    font-weight:700;
    line-height:1;
}
.header__brand span{
    color:var(--primary);
}
.header__brand small{
    margin-top:6px;
    color:#8c96a7;
    font-size:13px;
    letter-spacing:1px;
}

/*=========================================================
CENTER
=========================================================*/

.header__center{
    flex:1;
    display:flex;
    justify-content:center;
    min-width:0;
}
.main-nav{
    width:100%;
}
.menu{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:34px;
    flex-wrap:nowrap;
    list-style:none;
    margin:0;
    padding:0;
}
.menu>li{
    position:relative;
}
.menu>li>a{
    position:relative;
    display:block;
    padding:10px 0;
    color:#fff;
    font-size:15px;
    font-weight:600;
    text-decoration:none;
    transition:.3s;
}
.menu>li>a:hover{
    color:var(--primary);
}
.menu>li.current-menu-item>a,
.menu>li.current-menu-parent>a{
    color:var(--primary);
}

/*=========================================================
MENU INDICATOR
=========================================================*/

.menu-indicator{
    position:absolute;
    bottom:-8px;
    left:0;
    width:0;
    height:3px;
    border-radius:30px;
    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
    transition:
        width .35s,
        left .35s;
}

/*=========================================================
RIGHT
=========================================================*/

.header__right{
    display:flex;
    align-items:center;
    justify-content:flex-end;
    gap:16px;
    flex-shrink:0;
    min-width:0;
    flex-shrink:1;
}
.header-btn{
    display:flex;
    align-items:center;
    justify-content:center;
    white-space:nowrap;
    padding:14px 24px;
}
.header-btn i{
    font-size:14px;
}
.header-btn:hover{
    transform:translateY(-3px);
}

/*=========================================================
BUTTON
=========================================================*/

.btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:14px 22px;
	font-size:15px;
	white-space:nowrap;
    border-radius:999px;
    font-weight:600;
    text-decoration:none;
    transition:.35s;
}
.btn-primary{
    background:linear-gradient(
        135deg,
        var(--primary),
        #1298f7
    );
    color:#fff;
    box-shadow:
        0 10px 30px rgba(29,169,255,.25);
}
.btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:
        0 15px 40px rgba(29,169,255,.35);
}

/*=========================================================
SCROLL PROGRESS
=========================================================*/

.scroll-progress{
    position:fixed;
    left:0;
    top:0;
    width:100%;
    height:3px;
    z-index:10000;
    background:transparent;
}
.scroll-progress span{
    display:block;
    width:0;
    height:100%;
    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
    box-shadow:
        0 0 20px rgba(29,169,255,.5);
}

/*=========================================================
HAMBURGER
=========================================================*/

.menu-toggle{
    width:52px;
    height:52px;
    display:none;
    justify-content:center;
    align-items:center;
    flex-direction:column;
    gap:6px;
    border:none;
    background:transparent;
    cursor:pointer;
    padding:0;
    transition:.35s;
}
.menu-toggle span{
    width:28px;
    height:2px;
    background:#fff;
    border-radius:20px;
    transition:.35s;
}
.menu-toggle:hover span{
    background:var(--primary);
}

/* ACTIVE */

.menu-toggle.active span:nth-child(1){
    transform:
        translateY(8px)
        rotate(45deg);
}
.menu-toggle.active span:nth-child(2){
    opacity:0;
}
.menu-toggle.active span:nth-child(3){
    transform:
        translateY(-8px)
        rotate(-45deg);
}

/*=========================================================
OVERLAY
=========================================================*/

.menu-overlay{
    position:fixed;
    inset:0;
    background:rgba(0,0,0,.55);
    backdrop-filter:blur(4px);
    opacity:0;
    visibility:hidden;
    transition:.35s;
    z-index:9997;
}
.menu-overlay.active{
    opacity:1;
    visibility:visible;
}

/*=========================================================
MOBILE NAVIGATION
=========================================================*/

.mobile-navigation{
    position:fixed;
    top:0;
    right:-420px;
    width:390px;
    max-width:90vw;
    height:100vh;
    background:#07111d;
    display:flex;
    flex-direction:column;
    transition:.45s ease;
    z-index:9998;
    box-shadow:
        -20px 0 50px rgba(0,0,0,.35);
}
.mobile-navigation.active{
    right:0;
}

/*=========================================================
MOBILE HEADER
=========================================================*/

.mobile-navigation__header{
    height:90px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:0 30px;
    border-bottom:1px solid rgba(255,255,255,.08);
}
.mobile-logo{
    color:#fff;
    text-decoration:none;
}
.mobile-logo h2{
    margin:0;
    font-size:28px;
}
.mobile-logo span{
    color:var(--primary);
}
.mobile-close{
    width:46px;
    height:46px;
    border-radius:50%;
    border:none;
    background:rgba(255,255,255,.05);
    color:#fff;
    cursor:pointer;
    transition:.3s;
}
.mobile-close:hover{
    background:var(--primary);
}

/*=========================================================
MOBILE MENU
=========================================================*/

.mobile-nav{
    flex:1;
    overflow:auto;
    padding:40px 30px;
}
.mobile-menu{
    list-style:none;
    margin:0;
    padding:0;
}
.mobile-menu li{
    border-bottom:1px solid rgba(255,255,255,.05);
}
.mobile-menu li:last-child{
    border:none;
}
.mobile-menu a{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:20px 0;
    color:#fff;
    text-decoration:none;
    font-size:18px;
    font-weight:600;
    transition:.3s;
}
.mobile-menu a:hover{
    color:var(--primary);
    padding-left:12px;
}

/*=========================================================
MOBILE FOOTER
=========================================================*/

.mobile-navigation__footer{
    padding:30px;
    border-top:1px solid rgba(255,255,255,.08);
}
.mobile-navigation__footer .btn{
    width:100%;
}

/*=========================================================
SUBMENU
=========================================================*/

.menu .sub-menu{
    position:absolute;
    top:100%;
    left:0;
    min-width:230px;
    padding:18px 0;
    background:#08131f;
    border-radius:18px;
    border:1px solid rgba(255,255,255,.08);
    opacity:0;
    visibility:hidden;
    transform:translateY(20px);
    transition:.3s;
    list-style:none;
}
.menu li:hover>.sub-menu{
    opacity:1;
    visibility:visible;
    transform:translateY(0);
}
.sub-menu li{
    margin:0;
}
.sub-menu a{
    display:block;
    padding:12px 22px;
    color:#fff;
    transition:.3s;
}
.sub-menu a:hover{
    color:var(--primary);
    background:rgba(29,169,255,.08);
}

/*=========================================================
LOGO ANIMATION
=========================================================*/

.header__logo{
    position:relative;
    overflow:hidden;
}
.header__logo::after{
    content:"";
    position:absolute;
    top:0;
    left:-140%;
    width:70%;
    height:100%;
    background:linear-gradient(
        90deg,
        transparent,
        rgba(255,255,255,.35),
        transparent
    );
    transform:skewX(-25deg);
}
.header__logo:hover::after{
    animation:logoShine 1s ease;
}
@keyframes logoShine{
    from{
        left:-140%;
    }
    to{
        left:160%;
    }
}

/*=========================================================
MENU HOVER
=========================================================*/

.menu > li > a{
    overflow:hidden;
}
.menu > li > a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:0;
    width:0;
    height:2px;
    background:linear-gradient(
        90deg,
        var(--primary),
        var(--secondary)
    );
    transition:.35s;
}
.menu > li > a:hover::after{
    width:100%;
}
.menu > li > a:hover{
    transform:translateY(-2px);
}

/*=========================================================
CTA
=========================================================*/

.header-btn{
    position:relative;
    overflow:hidden;
}
.header-btn::before{
    content:"";
    position:absolute;
    inset:0;
    background:linear-gradient(
        120deg,
        transparent,
        rgba(255,255,255,.22),
        transparent
    );
    transform:translateX(-120%);
}
.header-btn:hover::before{
    transition:.7s;
    transform:translateX(120%);
}

/*=========================================================
ACTIVE MENU
=========================================================*/

.menu .current-menu-item>a,
.menu .current-menu-parent>a,
.menu .current_page_item>a{
    color:var(--primary);
}

/*=========================================================
MOBILE MENU ANIMATION
=========================================================*/

.mobile-menu li{
    opacity:0;
    transform:translateX(30px);
}
.mobile-navigation.active .mobile-menu li{
    animation:mobileItem .45s forwards;
}
.mobile-navigation.active .mobile-menu li:nth-child(1){animation-delay:.05s;}
.mobile-navigation.active .mobile-menu li:nth-child(2){animation-delay:.10s;}
.mobile-navigation.active .mobile-menu li:nth-child(3){animation-delay:.15s;}
.mobile-navigation.active .mobile-menu li:nth-child(4){animation-delay:.20s;}
.mobile-navigation.active .mobile-menu li:nth-child(5){animation-delay:.25s;}
.mobile-navigation.active .mobile-menu li:nth-child(6){animation-delay:.30s;}
.mobile-navigation.active .mobile-menu li:nth-child(7){animation-delay:.35s;}
.mobile-navigation.active .mobile-menu li:nth-child(8){animation-delay:.40s;}
@keyframes mobileItem{
    to{
        opacity:1;
        transform:translateX(0);
    }
}

/*=========================================================
HEADER SHADOW
=========================================================*/

.site-header.scrolled{
    box-shadow:
        0 10px 35px rgba(0,0,0,.20),
        0 0 25px rgba(29,169,255,.08);
}

/*=========================================================
RESPONSIVE 1200
=========================================================*/

@media (max-width:1200px){
	.header{
		gap:20px;
	}
	.menu{
		gap:24px;
	}
	.header__services{
		display:none;
	}
	.header-btn{
		padding:13px 20px;
	}
}

/*=========================================================
RESPONSIVE 992
=========================================================*/

@media (max-width:992px){
	.site-header{
		height:80px;
	}
	.header{
		padding:0 20px;
	}
	.header__center{
		display:none;
	}
	.header__services{
		display:none;
	}
	.header-btn{
		display:none;
	}
	.menu-toggle{
		display:flex;
	}
	.custom-logo{
		max-width:180px;
		max-height:52px;
	}
}

/*=========================================================
RESPONSIVE 768
=========================================================*/

@media (max-width:768px){
	.site-header{
		height:72px;
	}
	.header{
		gap:12px;
		padding:0 16px;
	}
	.custom-logo{
		max-width:160px;
		max-height:44px;
	}
	.menu-toggle{
		width:44px;
		height:44px;
	}
	.mobile-navigation{
		width:100%;
		max-width:100%;
	}
}

/*=========================================================
RESPONSIVE 480
=========================================================*/

@media (max-width:480px){
	.header{
		padding:0 12px;
	}
	.custom-logo{
		max-width:135px;
		max-height:38px;
	}
	.menu-toggle{
		width:40px;
		height:40px;
	}
}

/*=========================================================
REDUCED MOTION
=========================================================*/

@media(prefers-reduced-motion:reduce){
	*{
		animation:none!important;
		transition:none!important;
		scroll-behavior:auto!important;
	}
}
@media (max-width:992px){
    .header__right .btn{
        display:none !important;
    }
}