/* Header Styles */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(45, 55, 72, 0.85);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    z-index: 1000;
    transition: all 0.3s ease;
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0.65rem 2rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
}

.logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    cursor: pointer;
}

.logo img {
    width: 50px;
    height: 50px;
    object-fit: contain;
}

.logo h2 {
    color: #ffffff;
    font-weight: 600;
    font-family: 'Oswald', sans-serif;
    white-space: nowrap;
    margin: 0;
    font-size: 1.3rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.desktop-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: #ffffff !important;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.nav-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(120deg, transparent, rgba(255, 255, 255, 0.15), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover::before {
    left: 100%;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
    box-shadow: 0 0 15px rgba(59, 130, 246, 0.6);
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-link:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link.active {
    color: #ffffff;
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.2));
    box-shadow: inset 0 0 20px rgba(59, 130, 246, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
}

.nav-link.active::after {
    width: 80%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .header-container {
        padding: 0.65rem 1rem;
    }

    .logo h2 {
        font-size: 0.95rem;
    }

    .logo img {
        width: 40px;
        height: 40px;
    }

    .desktop-nav {
        display: none;
    }

    .menu-toggle {
        display: none;
    }
}

@media (max-width: 480px) {
    .logo h2 {
        font-size: 0.85rem;
    }
}
