.headernav{
    
}
.headernav ul{
    
}
/* 第四个导航项（联系我们）特殊样式 */
.headernav ul li:nth-child(4) {
    /* 基础样式 */
    margin: 0 8px; /* 增加左右间距使其独立 */
    position: relative; /* 为伪元素做准备 */
    
    /* 背景与边框 */
    background-color: #fe9900;
    border-radius: 6px; /* 圆角增加友好感 */
    padding: 0 15px; /* 增加内边距 */
    
    /* 文字样式 */
    font-weight: 600; /* 半粗体 */
    transition: all 0.3s ease; /* 平滑过渡动画 */
}
.headernav ul li:nth-child(4):hover {
    background-color: #e68a00; /* 稍深的橙色 */
    transform: translateY(-2px); /* 轻微上浮效果 */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1); /* 增加阴影 */
}

.headernav ul li a{

} 
.headernav ul li:nth-child(4) a{
    margin: 0 !important;
    color: #fff !important;
    font-weight: bold;
}
/* 针对性消除子菜单第四个li继承的样式 */
.headernav ul li ul li:nth-child(4) {
    /* 覆盖父级的特殊样式 */
    margin: 0 !important; /* 清除额外左右间距 */
    background-color: transparent !important; /* 清除橙色背景 */
    border-radius: 0 !important; /* 清除圆角 */
    padding: 0 !important; /* 清除内边距 */
    font-weight: normal !important; /* 清除半粗体 */
    /* 移除动画和定位相关样式 */
    position: static !important;
    transition: none !important;
    box-shadow: none !important;
}

/* 针对性消除子菜单第四个li中链接的样式 */
.headernav ul li ul li:nth-child(4) a {
    /* 覆盖父级链接的特殊样式 */
    color: inherit !important; /* 恢复与其他子菜单链接一致的颜色 */
    font-weight: normal !important; /* 恢复正常字重 */
    margin: inherit !important; /* 恢复默认间距 */
}
/* 清除子菜单第四个li的hover样式 */
.headernav ul li ul li:nth-child(4):hover {
    background-color: transparent !important; /* 清除hover背景色 */
    transform: none !important; /* 清除上浮效果 */
    box-shadow: none !important; /* 清除hover阴影 */
    /* 如需恢复子菜单默认hover样式，可在这里添加，例如：
    background-color: #f5f5f5;
    */
}

/* 清除子菜单第四个li中链接的hover样式（如果有继承） */
.headernav ul li ul li:nth-child(4) a:hover {
    color: #fe9900 !important; /* 恢复与其他子菜单链接一致的hover颜色 */
    /* 清除可能继承的其他hover效果，如下划线等 */
    text-decoration: none !important;
}
@media (max-width: 768px) {
    /* 手机屏幕宽度小于等于768px时生效 */
   .headersearch{
       display: none !important;
   }
   .headerbtn{
    display: none !important;
   }
   .footnav{
       display: none !important;
   }
}