        /* 导航栏 */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            z-index: 1000;
            transition: all 0.3s ease;
            padding: .5rem;
        }
        
        .navbar.scrolled {
            background-color: white;
            box-shadow: 0 5px 15px rgba(0,0,0,0.1);
            padding: 0.5rem 0;
        }
        
        .navbar.scrolled .nav-link {
            color: var(--text-color);
        }
        .fa-bars{
            color:#333;
            
        }
        .nav-link {
            /* color: white; */
            font-weight: 500;
            margin: 0 0.75rem;
            transition: all 0.3s ease;
            position: relative;
        }
        
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 0;
            height: 2px;
            background-color: var(--primary-color);
            transition: width 0.3s ease;
        }
        
        .nav-link:hover::after {
            width: 100%;
        }
        
        .navbar.scrolled .nav-link::after {
            background-color: var(--primary-color);
        }
        
        .mobile-menu-btn {
            color: white;
            font-size: 1.5rem;
            cursor: pointer;
            display: none;
        }
        
        .navbar.scrolled .mobile-menu-btn {
            color: var(--text-color);
        }
        
        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }
            
            .nav-menu {
                position: fixed;
                top: 0;
                right: -100%;
                width: 80%;
                height: 100vh;
                background-color: white;
                padding: 2rem;
                transition: right 0.3s ease;
                box-shadow: -5px 0 15px rgba(0,0,0,0.1);
                z-index: 999;
            }
            
            .nav-menu.active {
                right: 0;
            }
            
            .nav-menu .nav-link {
                color: var(--text-color);
                display: block;
                margin: 1.5rem 0;
            }
            
            .close-menu-btn {
                position: absolute;
                top: 1rem;
                right: 1rem;
                font-size: 1.5rem;
                color: var(--text-color);
                cursor: pointer;
            }
        }