
body{
    overflow-x: hidden;
}
/* Slim floating header with glassmorphic effect */
.header-bg {
    position: sticky;
    top: 0;
    z-index: 1000;
    /* background: rgba(3, 4, 94, 0.4); #03045e base */
    background: rgba(0, 0, 0, 0.844); 
    backdrop-filter: blur(12px);
    height: 60px;
    display: flex;
    align-items: center;
    border-bottom: 1px solid rgba(0, 150, 199, 0.3); /* #0096c7 accent */
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    /* animation: float 3s ease-in-out infinite; */
    margin: 10px;
    border-radius: 30px;
    transition: all 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}

/* Floating animation */
/* @keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
} */

/* Scrolled state */
.header-bg.scrolled {
    /* background: linear-gradient(135deg, #03045e 0%, #023e8a 100%); #03045e to #023e8a */
    background: linear-gradient(135deg, #00000099 0%, #0000009a 100%);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    top: 10px;
    transform: translateY(0);
    animation: none;
}

/* Dynamic aurora-like background effect */
.header-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(0, 180, 216, 0.2) 0%, rgba(202, 240, 248, 0.1) 50%, transparent 70%); /* #00b4d8 to #caf0f8 */
    opacity: 0.3;
    animation: aurora 10s linear infinite;
}

@keyframes aurora {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(20px, 20px) rotate(360deg); }
}

/* Logo with pulse effect */
.logo-text {
    transition: transform 0.3s ease, color 0.3s ease;
    text-shadow: 0 0 8px rgba(0, 119, 182, 0.5); /* #0077b6 glow */
}

.logo-text:hover {
    transform: scale(1.1);
    color: #ade8f4; /* #ade8f4 hover */
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 8px rgba(0, 119, 182, 0.5); }
    50% { text-shadow: 0 0 12px rgba(0, 119, 182, 0.8); }
}

/* Neon ripple underline */
.nav-link {
    position: relative;
    transition: color 0.3s ease, transform 0.2s ease;
}

.nav-link::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -3px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #0096c7, #ade8f4); /* #0096c7 to #ade8f4 */
    box-shadow: 0 0 5px #0096c7;
    transition: width 0.3s ease;
    border-radius: 1px;
}

.nav-link:hover {
    transform: translateY(-1px);
}

.nav-link:hover::after {
    width: 90%;
}

.nav-link.active {
    color: #ade8f4;
    border-bottom: 2px solid #0096c7;
}

/* Dropdown with futuristic slide-in */
.dropdown-menu {
    transform: translateY(-10px);
    opacity: 0;
    transition: transform 0.3s ease, opacity 0.3s ease;
    background: linear-gradient(145deg, #023e8a, #03045e); /* #023e8a to #03045e */
    border: 1px solid #0096c7;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

.group:hover .dropdown-menu {
    transform: translateY(0);
    opacity: 1;
}

.dropdown-item {
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    transform: translateX(4px);
    background: linear-gradient(90deg, #0096c7, #ade8f4);
    color: #03045e;
    box-shadow: inset 0 0 4px rgba(0, 150, 199, 0.5);
}

/* Off-canvas mobile menu */
.mobile-menu {
    position: fixed;
    top: 0;
    right: 0;
    height: 100vh;
    width: 75%;
    max-width: 260px;
    background: linear-gradient(180deg, #03045e, #023e8a); /* Subtle gradient for mobile menu */
    transform: translateX(100%);
    transition: transform 0.3s ease;
    z-index: 1001;
}

.mobile-menu.open {
    transform: translateX(0);
}

/* Overlay */
#overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 4, 94, 0.6); /* #30304e */
    opacity: 0; /*0; */
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 1000;
}

#overlay.active {
    opacity: 1;
    pointer-events: auto;
}

/* Mobile sub-menu */
#mobile-sub-menu {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

#mobile-sub-menu .open {
    max-height: 250px;
}

/* Chevron rotation */
.chevron {
    transition: transform 0.3s ease;
}

.chevron.open {
    transform: rotate(180deg);
}

/* Parallax compatibility */
.content-placeholder {
    padding-top: 60px;
}