@charset "utf-8";
/* CSS Document */
/*:root {*/
/*    --windowW: 1000px;*/
/*    --windowH: 1000px;*/
/*}*/

/* 基本样式重置 */
html {
    height:100%;
}
body{
    width:100%;
    min-width:900px;
    max-width:100%;
    font-size: 20px;
    background: rgba(240, 248, 255, 0.72);
    min-height: 100vh;
}
form {
  height: 100%;
}
* {
	margin: auto;
	padding: 0px;
	font-family: Arial, Helvetica, sans-serif;
	justify-content: space-around;
    justify-content: space-between;
}
@font-face {
    font-family: Lobster;
    src: url('../font/Lobster-Regular.ttf')
}
@font-face {
    font-family: Tahoma;
    src: url('../font/Tahoma.ttf')
}
input, button, select, optgroup, textarea {
    margin: 0;
    font-family: inherit;
    font-size: 16px;
    line-height: inherit;
}
ul {
	list-style-type: none;
}
p {
    text-align: justify;
    line-height: 28px;
}
/*p:after {*/
/*    display: inline-block;*/
    /*width: 100%;*/
    /*content: '';*/
/*}*/
a {
	color: black;
	text-decoration: none;
}
a:hover {
	color: blue;
	text-decoration: underline;
}
table {
	border-collapse:collapse;
}
thead {
	display: table-header-group;
	vertical-align: middle;
	border-color: inherit;
}
tbody {
	display: table-row-group;
	vertical-align: middle;
	border-color: inherit;
}
tr {
	display: table-row;
	vertical-align: inherit;
	/*border-color: inherit;*/
}
ol li {
	text-align: justify;
}
button {
  border: 0;
  margin: 20px;
  font-size: 20px;
  font-weight: bold;
  color: white;
  outline: none;
  position: relative;
}
button:before{
  content: '';
  display: block;
  background: linear-gradient(to left, rgba(255, 255, 255, 0) 50%, rgba(255, 255, 255, 0.4) 50%);
  background-size: 210% 100%;
  background-position: right bottom;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  bottom:0;
  right:0;
  left: 0;
  transition: all 1s;
  -webkit-transition: all 1s;
}
.all-contain{
    width:100%;
    min-width: 900px;
    display: flex;
    display: -ms-flexbox;
    display: -webkit-flex;
    flex-direction: column;
    -ms-flex-direction: column;
    -webkit-flex-direction: column;
    position:relative;
    min-height: 100vh;
}
.vision-height {
    width:100%;
    min-width: 900px;
    height: 100%;
    margin: 0;
}
/* 导航栏容器 */
.nav-bar {
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.nav-bar-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    height: 70px;
    max-width: 1400px;
    margin: 0 auto;
}

/* 网站Logo */
.main-logo {
    align-items: center;
    font-size: 1.5rem;
    font-weight: 700;
    color: #333;
    text-decoration: none;
}

.main-logo:hover {
    color: #333;
}

.icon-1 {
    height: 40px;
    width: 150px;
    margin-right: 10px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
}

/* 主导航菜单 */
.main-nav2 {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav2 > li {
    position: relative;
    margin: 0 5px;
}

.main-nav2 > li > a {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.2rem;
    color: #555;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-radius: 4px;
}

.main-nav2 > li > a:hover {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

.main-nav2 > li.active > a {
    color: #007bff;
    background-color: rgba(0, 123, 255, 0.1);
}

/* 下拉菜单样式 */
.dropdown-menu-new {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background-color: #fff;
    border-radius: 4px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
    z-index: 1001;
}

.main-nav2 > li:hover .dropdown-menu-new {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu-new li {
    list-style: none;
}

.dropdown-menu-new a {
    display: block;
    padding: 0.5rem 1.2rem;
    color: #555;
    text-decoration: none;
    transition: all 0.2s ease;
}

.dropdown-menu-new a:hover {
    background-color: rgba(0, 123, 255, 0.1);
    color: #007bff;
}

/* 下拉箭头图标 */
.has-dropdown::after {
    content: "▼";
    font-size: 0.6rem;
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.main-nav2 > li:hover .has-dropdown::after {
    transform: rotate(180deg);
}

/* 移动端导航按钮 */
.main-nav3 {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

/* 内容区域 */
.content-area {
    max-width: 1200px;
    margin: 20px auto;
    padding: 30px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.instruction-box {
    margin: 30px auto;
    padding: 20px;
    background-color: #f0f4f8;
    border-radius: 8px;
    border-left: 4px solid #007bff;
    max-width: 1200px;
}

.instruction-box h3 {
    margin-bottom: 10px;
    color: #333;
}

.instruction-box ul {
    padding-left: 20px;
}

.instruction-box li {
    margin-bottom: 8px;
    color: #555;
}

/* 响应式布局 - 修复移动端下拉菜单问题 */
@media (max-width: 992px) {
    .main-nav1 {
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 1rem;
        display: none;
    }

    .main-nav1.show {
        display: block;
    }

    .main-nav2 {
        flex-direction: column;
    }

    .main-nav2 > li {
        margin: 5px 0;
    }

    .main-nav3 {
        display: block;
    }

    .dropdown-menu-new {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .dropdown-menu-new.show {
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu-new a {
        padding-left: 2.4rem;
    }

    /* 移除移动端的 hover 效果，避免与点击事件冲突 */
    .main-nav2 > li:hover .dropdown-menu-new {
        /* 不设置任何样式，让 .show 类控制显示 */
    }
}