.top {
	background-color: #ffffff;
	color: #4169E1;
	padding: 0 calc(30 / 2319 * 100vw);
	display: flex;
	justify-content: flex-start;
	align-items: center;
	position: fixed;
	width: 100%;
	top: 0;
	left: 0;
	height: 6vh;
	z-index: 1000;
	font-size: calc(26 / 2319 * 100vw);
	font-weight: bold;
}
.top img {
	height: calc(34 / 2319 * 100vw);
	width: auto;
	margin-right: calc(20 / 2319 * 100vw);
}
.top p {
	margin: 0;
}
.header {
	background-color: #4169E1;
	padding: 0 calc(30 / 2319 * 100vw);
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	width: 100%;
	top: 6vh;
	left: 0;
	height: 5vh;
	z-index: 1000;
}
.header nav ul {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
}
.header nav ul li {
    display: flex;
    align-items: center;
	position: relative;
}
.header nav ul li a {
	text-decoration: none;
    display: inline-flex;
	align-items: center;
	justify-content: center;
	color: white;
	padding: 0 calc(15 / 2319 * 100vw);
	font-size: calc(22 / 2319 * 100vw);
	height: 100%;
	line-height: 5vh;
	transition: background-color 0.5s, color 0.5s;
}
.header nav ul li.has-dropdown > a::after {
    content: '';
    display: block;
    width: 0;
    height: 0;
    border-left: calc(6 / 2319 * 100vw) solid transparent;
    border-right: calc(6 / 2319 * 100vw) solid transparent;
    border-top: calc(8 / 2319 * 100vw) solid white;
    margin-left: calc(10 / 2319 * 100vw);
    transition: transform 0.5s, border-top-color 0.5s;
}
.icon {
    color: white;
    transition: color 0.5s;
    width: 1em;
    height: 1em;
}
.header nav ul li a:hover {
    background-color: white;
    color: #4169E1;
}
.header nav ul li {
    display: flex;
    align-items: center;
    position: relative;
    width: auto;
}
.header nav ul li .dropdown {
    visibility: hidden;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: white;
    padding: calc(5 / 2319 * 100vw) 0;
    border-radius: 0 0 calc(5 / 2319 * 100vw) calc(5 / 2319 * 100vw) ;
    width: 100%;
    box-shadow: 0 calc(4 / 2319 * 100vw) calc(8 / 2319 * 100vw) rgba(0, 0, 0, 0.3);
	opacity: 0;
	transform: translateY(-calc(10 / 2319 * 100vw));
    transition: opacity 0.5s ease, transform 0.5s ease, visibility 0s 0.5s;
	padding: 0;
}
.header nav ul li .dropdown a {
    display: block;
    color: #323232;
    padding: calc(10 / 2319 * 100vw) 0 calc(10 / 2319 * 100vw) calc(10 / 2319 * 100vw);
    text-decoration: none;
    font-size: calc(18 / 2319 * 100vw);
	line-height: 2vh;
	transition: background-color 0.5s;
}
.header nav ul li .dropdown a:hover {
    background-color: #e1e1e1;
}
.header nav ul li .dropdown a:last-child:hover {
	border-radius: 0 0 calc(5 / 2319 * 100vw) calc(5 / 2319 * 100vw);
}
.header nav ul li a:hover .icon {
    color: #4169E1; /* 悬停时变为蓝色 */
}
.header nav ul li:hover .dropdown {
    visibility: visible; 
	opacity: 1;
	transform: translateY(0);
	transition: opacity 0.5s ease, transform 0.5s ease;
}
.header nav ul li.has-dropdown > a:hover::after {
    transform: rotate(180deg);
	border-top-color: #4169E1;
}
.header .has-dropdown .dropdown {
	flex-direction: column;
}