nav {
	position: relative;
	width: 100%;
	background-color: #eaeaea;
}

.menu {
	list-style-type: none;
	display: flex;
	justify-content: center;
	padding: 10px 0;
    padding-right: 10%;
}

.menu>.menu-item {
	margin: 0 15px;
}

.menu>.menu-item>a {
	display: block;
	padding: 15px 20px;
	text-decoration: none;
	transition: background-color 0.3s;
	color: #333;
}

.menu>.menu-item:hover>a {
	background-color: #e2e2e2;
	border-radius: 5px;
}

.submenu {
	position: absolute;
	top: 100%;
	left: 0;
	background-color: #e2e2e2;
	list-style-type: none;
	width: 100%;
	height: 0;
	opacity: 0;
	transition: all .3s ease;
	z-index: 1000;
	box-sizing: border-box;
	overflow: hidden;
}

.flex-layout {
	display: flex;
	justify-content: space-between;
}

.menu>.menu-item:hover .submenu {
	height: auto;
	opacity: 1;
	padding: 1em 1.25em;
}

.submenu .submenu-title {
	font-size: 1.75em;
	color: #333;
	font-weight: 400;
	margin-bottom: 1em;
}

.submenu .left-box {
	gap: 2em;
}

.submenu .left-box .submenu-list {
	gap: .85em;
	justify-content: flex-start;
	flex-direction: column;
}

.submenu .left-box .submenu-list>li>a {
	position: relative;
	display: block;
	color: #333;
	font-weight: 300;
	font-size: .9em;
	width: 280px;
	padding-bottom: .35em;
}

.submenu .left-box .submenu-list>li>a::before {
	position: absolute;
	left: 0;
	bottom: 0;
	content: '';
	width: 100%;
	height: 1px;
	background-color: #ccc;
}

.submenu .left-box .submenu-list>li>a::after {
	position: absolute;
	right: 0;
	top: 50%;
	transform: translateY(-50%);
	content: '>';
	color: #666;
	font-weight: 300;
}

.submenu .right-img {
	max-width: 40%;
	display: block;
}

.submenu .right-img img {
	width: 100%;
	height: auto;
}

/*语言栏*/
.language {
	display: inline;
	position: relative;
	right: 105px;
	bottom: 25px;
	width: 110px;
	background-color: #e2e2e2;
	height: 0;
}

.language-submenu {
	display: inline;
	position: absolute;
	position: relative;
	top: 100%;
	left: 0;
	right: 105px;
	background-color: #e2e2e2;
	list-style-type: none;
	width: 110px;
	height: 0;
	opacity: 0;
	transition: all .3s ease;
	z-index: 1000;
	box-sizing: border-box;
	overflow: hidden;
}

.language-menu-item:hover .language-submenu {
	height: auto;
	opacity: 1;
	padding: 1em 1.25em;
	width: 110px;
}

/*Logo*/
.logo {
    display: inline;
    float: left;
    padding-left: 10%;
}

/*顶部欢迎语及ICON*/
.mail-top-icon {
    width: 15px;
}

.textTop {
    padding: 7px;
	background-color: #e2e2e2;
}

.text01 {
    padding-left: 3%;
}

.text02 {
    float: right;
    padding-right: 3%;
}

.text02 a {
	color: black;
}

.text02 a:hover {
	color: black;
	text-decoration: underline;
}

/* 响应式导航栏 */
.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 10px;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .menu {
        flex-direction: column;
        align-items: flex-start;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background-color: #eaeaea;
        padding: 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        z-index: 1000;
    }
    
    .menu.active {
        max-height: 500px;
    }
    
    .menu>.menu-item {
        margin: 0;
        width: 100%;
    }
    
    .menu>.menu-item>a {
        padding: 15px 20px;
        border-bottom: 1px solid #ddd;
        border-radius: 0;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .submenu {
        position: static;
        width: 100%;
        padding: 0 !important;
        height: 0;
        opacity: 1;
        box-shadow: inset 0 0 10px rgba(0,0,0,0.1);
        overflow: hidden;
    }
    
    .menu>.menu-item:hover .submenu,
    .menu>.menu-item.active .submenu {
        height: auto;
        padding: 1em 1.25em !important;
    }
    
    .flex-layout {
        flex-direction: column;
        gap: 1em !important;
    }
    
    .submenu .left-box {
        flex-direction: column;
        gap: 1em !important;
    }
    
    .submenu .left-box .submenu-list {
        width: 100%;
    }
    
    .submenu .left-box .submenu-list>li>a {
        width: 100%;
        padding: 10px 20px;
    }
    
    .submenu .right-img {
        max-width: 100%;
        padding: 0 20px 20px;
    }
    
    .logo {
        padding-left: 20px;
    }
    
    /* 移动端子菜单触发 */
    .menu-item.has-children > a::after {
        content: '▼';
        float: right;
        font-size: 12px;
        margin-left: 10px;
    }
}

@media (max-width: 768px) {
    .textTop {
        display: none;
    }
    
    .logo img {
        width: 250px;
    }
    
    .nav-toggle {
        right: 15px;
    }
}

@media (max-width: 480px) {
    .logo img {
        width: 200px;
    }
}