.main-header{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 999;
    background: transparent;}

.navbar-container{
    width: 100%;
    margin: auto;
    justify-content: center;
}

.navbar-custom{
    display: flex;
    align-items: center;
    justify-content: space-around;

    min-height: 82px;
    padding: 7px 24px;

    background: rgba(17,24,39,0.55);
    backdrop-filter: blur(18px);
    border: 1px solid rgba(255,255,255,0.06);

    /* border-radius: 20px; */
}

.logo{
    font-size: 28px;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-heading);
    display: inline-flex;
    align-items: center;
}

/* The logo is a wide wordmark (1024x494 intrinsic). Pin the height and
   derive the width from the aspect ratio, otherwise the width attribute
   used to prevent layout shift also makes it render full-size. */
.logo img{
    height: 44px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
}

/* Let the brand mark use nearly the full navbar height. The default logo
   asset is tightly cropped, so its visible artwork fills this height. */
.navbar-custom .logo{
    flex: 0 0 auto;
    line-height: 0;
}

.navbar-custom .logo img{
    display: block;
    height: 44px;
    width: auto;
    max-width: 230px;
    object-fit: contain;
}

.nav-menu{
    display: flex;
    align-items: center;
    gap: 40px;

    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li a{
    color: var(--text-light);
    font-weight: 500;
}

.nav-menu li a:hover{
    color: #fff;
}

.nav-menu a{
    position: relative;
}

.nav-menu a::after{
    content:'';

    position:absolute;

    left:0;
    bottom:-6px;

    width:0;
    height:2px;

    background:#7C83FF;

    transition:0.4s;
}

.nav-menu a:hover::after{
    width:100%;
}

/* ACTIVE PAGE */
.nav-menu li a.active{
    color: #fff;
}

.nav-menu li a.active::after{
    width: 100%;
}

.mobile-drawer-content a.active{
    color: #7C83FF;
}


/* BLOG NAV ITEM */
.nav-menu li a.nav-blog-link{
    color: #A5B4FC;
}

.nav-menu li a.nav-blog-link:hover,
.nav-menu li a.nav-blog-link.active{
    color: #fff;
}
