  /* 导航栏样式 */
        .navbar {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            background-color: white;
            display: flex;
            align-items: center;
            justify-content: space-between;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            z-index: 1000;
        }

        /* logo 样式 */
        .logo {
            margin-left: 5%;
        }

        /* 当屏幕小于 1200px 时 logo 的样式 */
        @media (max-width: 1200px) {
            .logo {
                margin-left: 0;
            }
        }

        /* 导航菜单样式 */
        .nav-menu {
            list-style-type: none;
            padding: 0;
            display: flex;
            margin-left: auto;
                gap: 1px;
        }

        .nav-menu li {
            position: relative;
        }

        /* 添加纵向分割线 */
        .nav-menu li:not(:last-child)::after {
            content: "";
            position: absolute;
            right: -1px;
            top: 50%;
            transform: translateY(-50%);
            height: 60%;
            width: 1px;
            background-color: #ccc;
        }

        .nav-menu li a {
            display: block;
            padding: 20px 20px;
            text-decoration: none;
            color: black;
            text-align: center;
            font-size: 16px;
        }

        .nav-menu li a span {
            display: block;
            font-size: 10px;
        }

        .nav-menu li:hover>a {
            background-color: #182288;
            color: white;
        }
       
        /* 下拉菜单样式 */
        .dropdown-menu {
            display: none;
            position: absolute;
            
            top: 100%;
            left: 0;
            background-color: #102b719e;
            list-style-type: none;
            margin: 0;
            padding: 0;
            width: 100%;
            transition: opacity 0.5s ease, visibility 0.5s ease, transform 0.8s ease;
        }

        .xiala a {
            color: white !important;
            padding: 12px 16px !important;
            text-decoration: none;
            display: block;
            font-size: 12px !important;
        }

        .xiala a:hover {
            background-color: darkblue;
        }

        .nav-menu li:hover .dropdown-menu {
            display: block;
        }
        .dropdown-menu li:not(:last-child)::after {
            content: "";
            position: absolute;
            right: 0;
            top: 50%;
            transform: translateY(-50%);
            height: 60%;
            width: 0px;
        }
        /* 搜索按钮样式 */
        .search-button {
            background-color: #e3e2e2;
            border: none;
            border-radius: 20px;
            padding: 10px 20px;
            cursor: pointer;
            position: relative;
            width: 60px;
            transition: width 0.3s ease;
            display: flex;
            align-items: center;
            justify-content: flex-end;
        }

        .search-button i {
            color: #182288;
        }

        .search-box {
            display: none;
            position: absolute;
            left: 10px;
            top: 50%;
            transform: translateY(-50%);
            background-color: #f0f0f0;
            border-radius: 15px;
            width: calc(100% - 20px);
        }

        .search-box input {
            border: none;
            padding: 5px 10px;
            width: 100%;
            background-color: transparent;
            color: black;
            box-sizing: border-box;
            outline: none;
        }

        .search-button:hover {
            width: 180px;
        }

        .search-button:hover .search-box {
            display: block;
        }
        /* 汉堡菜单样式 */
        .menu-toggle {
            display: none;
            cursor: pointer;
            font-size: 24px;
            margin-right: 5px;
        }

        @media (max-width: 920px) {
            .nav-menu {
                display: none;
                position: absolute;
                top: 100%;
                left: 0;
                width: 100%;
                background-color: white;
                flex-direction: column;
            }

            .nav-menu.active {
                display: flex;
            }

            .menu-toggle {
                display: block;
                margin: 20px;
            }

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

            /* 隐藏移动端分割线 */
            .nav-menu li::after {
                display: none;
            }

            .dropdown-menu {
                position: static;
                width: 100%;
            }
        }
