@charset "utf-8";
/* CSS Document */
*{
	margin: 0;
	padding: 0;
	font-family: Calibri, sans-serif;	
}

nav {
	position: sticky;
    margin: auto;
	top: 0;
	width: 100%;
	display: flex;
	height: 2rem;
	padding: 16px 0 16px 0;
	justify-content: space-between;
	align-items: center;
	background-color:#13294Bcc;
	/*-webibacdrop-filter: blur(5px);*/
    backdrop-filter: blur(16px);
	z-index: 10;
}
nav img{
	height: 1.5rem;
    padding-left: 16px;
}
.nav-bg {
	position: absolute;
	top: 0;
	width: 100%;
	display: flex;
	background-color:#13294B;
	height: 4rem;
	z-index: 1;
}
.nav-links{ 
	flex: 1;
	text-align: right;
	padding-right: 2%;
	z-index: 1;
}
.nav-links ul li{
	list-style: none;
	display: inline-block;
	padding: 8px 12px;
	position: relative;
	width: auto;
}
.nav-links ul li a{
	color: #fff;
	text-decoration: none;
	font-size: 16px;
	font-weight: 600;
	padding: 20px 0;
}
.nav-links ul li::after{
	content: '';
	width: 0%;
	height: 2px;
	background: #397DE3;
	display: block;
	margin: auto;
	transition: 0.5s;
}
.nav-links ul li:hover::after{
	width: 100%;
}
.nav-links ul li ul{
	top: 32px;
	position: absolute;
	left: 0;
	width: auto;
	background: #13294Bcc;
	/*-webibacdrop-filter: blur(5px);*/
    backdrop-filter: blur(16px);
	box-shadow: 0 2px 2px rgba(0, 0, 0, .2);
    border: 1px solid rgba(255, 255, 255, .2);
    border-right: 1px solid rgba(255, 255, 255, .2);
    border-bottom: 1px solid rgba(255, 255, 255, .2);
    border-radius: 10px;
	display: none;
}
.nav-links ul li:hover > ul{
	display: flex;
	flex-direction: column;
	text-align: left;
	animation: fadein 1s;
}
nav .fa {
	display: none;	
}

/* Hamburger icon appears on mobile */
@media (max-width: 900px) {
    .nav-bg {
	   z-index: 3;
        
    }
    nav .fa {
        display: block;
        font-size: 2rem;
        color: #fff;
        cursor: pointer;
        z-index: 10;
        position: absolute;
        right: 7vw;
    }
    .nav-links {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        background: #13294Bf0;
        box-shadow: 0 8px 32px rgba(0,0,0,0.08);
        padding: 0;
        transition: max-height 0.32s cubic-bezier(.33,1.2,.68,1), opacity 0.22s;
        opacity: 0;
        z-index: 12;
        text-align: left;
        display: block;
    }
    .nav-links ul {
        display: flex;
        flex-direction: column;
        gap: 0.3rem;
        width: 100%;
        align-items: flex-start;
        margin-left: 8vw;
    }
    .nav-links ul li {
        display: block;
        padding: 4px 0 4px 0;
        width: 0%;
    }
    .nav-links ul li a {
        font-size: 1.2rem;
        padding: 1px 0;
    }
    .nav-links.show {
        max-height: 860px; /* Large enough for your menu; adjust as needed */
        opacity: 1;
        padding: 1rem 0 1.5rem 0;
        overflow: visible;
    }
    .nav-links ul li ul {
        position: static;
        display: block;
        background: none;
        box-shadow: none;
        border: none;
        border-radius: 0;
        padding-left: 1.2rem;
        margin-top: 0.3rem;
        backdrop-filter: none;
    }
    .nav-links ul li:hover > ul,
    .nav-links ul li:focus-within > ul {
        display: block;
        animation: none;
    }
    .nav-bg { display: 0; }
}

/* Hide menu inline on desktop, show as overlay on mobile */
/*@media (min-width: 901px) {
    .nav-links {
        max-height: none !important;
        opacity: 1 !important;
        padding: 0 !important;
        overflow: visible !important;
        border-radius: 0;
        position: static !important;
    }
    nav .fa {
        display: none !important;
    }
}