/* ====================
   基础重置
   ==================== */
*,
*::before,
*::after {
    box-sizing: border-box; /* 统一盒模型，防止 padding 撑大容器 */
}

html {
    -webkit-text-size-adjust: 100%; /* 防止 iOS 横屏字体自动放大 */
    -webkit-tap-highlight-color: transparent; /* 去除移动端点击高亮背景 */
}

body,
h1, h2, h3, h4, h5, h6,
p, blockquote, pre,
dl, dd, ol, ul,
figure,
hr,
fieldset, legend {
    margin: 0;
    padding: 0;
}

/* ====================
   元素样式重置
   ==================== */

/* 列表 */
ul, ol {
    list-style: none; /* 去除列表默认的圆点或数字 */
}

/* 链接与图片 */
a {
    text-decoration: none; /* 去除下划线 */
    color: inherit; /* 颜色继承父元素 */
}

img {
    max-width: 100%; /* 图片自适应宽度 */
    height: auto; /* 高度按比例自动调整 */
    display: block; /* 消除图片底部的默认间隙 */
    vertical-align: middle;
}

/* 表单元素 */
button,
input,
optgroup,
select,
textarea {
    font-family: inherit; /* 字体继承 */
    font-size: 100%; /* 字体大小继承 */
    line-height: 1.15; /* 行高统一 */
    margin: 0;
    color: inherit;
    outline: none; /* 去除默认聚焦轮廓（建议在 :focus 中自定义） */
}

button,
input {
    overflow: visible; /* 修复 IE 按钮 padding 显示异常 */
}

button,
select {
    text-transform: none; /* 统一按钮文字大小写 */
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button; /* 修复 iOS 按钮样式 */
    cursor: pointer; /* 鼠标悬停显示手型 */
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/* 去除搜索框默认的 'X' 按钮样式 */
[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/* 表格 */
table {
    border-collapse: collapse; /* 合并边框 */
    border-spacing: 0; /* 去除单元格间距 */
}

th, td {
    font-weight: normal; /* 去除标题默认加粗 */
    vertical-align: top; /* 内容顶部对齐 */
}

/* 其他 */
hr {
    border: 0;
    height: 0;
    overflow: visible;
}

/* 隐藏模板元素 */
template {
    display: none;
}

/* ====================
   全局基础样式 (可选)
   ==================== */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #333;
    background-color: #fff;
}


body {
    padding-top: 140px;
}

.to_index {
    color: #9ECA51;
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 140px;
    border-bottom: 4px solid #9FCD8B;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 94px 0 104px;
    background-color: #fff;
    z-index: 99;
}

.header .logo {
    min-width: 235px;
}

.header .nav {
    padding-left: 70px;
}

.header .nav ul {
    display: flex;
}

.header .nav li {
    font-size: 20px;
    font-weight: bold;
    padding-right: 24px;
    margin-right: 80px;
    position: relative;
    cursor: pointer;
    height: 140px;
    transition: all 0.5s ease;
    padding-top: 52px;
    color: rgba(68, 68, 68, 1);
}

.header .nav li:last-child {
    margin-right: 0;
}

.header .nav li:hover {
    color: #9ECA51;
}

.header .nav li:hover::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: #9ECA51;
    z-index: 2;
}

.header .nav li::after {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    height: 24px;
    width: 24px;
    background: url(../img/up_icon.png) no-repeat center;
    background-size: 100% 100%;
}

.header .btns {
    display: flex;
    width: 130px;
    justify-content: space-between;
}

.header .btns>div {
    cursor: pointer;
}

.header .nav_ex {
    position: fixed;
    top: 136px;
    left: 0;
    width: 100%;
    height: 500px;
    background: #fff;
    padding-left: 455px;
    padding-top: 100px;
    box-shadow: 0 11px 23px 0 rgba(0, 0, 0, 0.1);
    border-top: 2px solid #D2D2D2;
    display: flex;
    z-index: 1;
    color: #000;
    font-weight: normal;
}

.header .nav_ex .items {
    margin-right: 120px;
}

.header .nav_ex .items:last-child {
    margin-right: 0;
}

.header .nav_ex .items .title { 
    font-size: 18px;
    line-height: 24px;
    font-weight: bold;
    margin-bottom: 40px;
}

.header .nav_ex .item {
    font-size: 18px;
    line-height: 24px;
    margin-bottom: 40px;
}

.header .nav_ex .item:hover {
    color: #9ECA51;
    cursor: pointer;
}


.header .nav li .nav_ex {
    /* 初始状态：透明且不可见，稍微向下偏移 */
    opacity: 0;
    visibility: hidden;
    /* transform: translateY(10px); */
    
    /* 添加过渡动画，持续 0.3秒 */
    transition: all 0.3s ease;
}

/* 鼠标移入时的状态 */
.header .nav li:hover .nav_ex {
    opacity: 1;
    visibility: visible;
    /* transform: translateY(0); */
}


.banner {
    width: 100%;
    position: relative;
}

.banner .text {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: #fff;
    font-size: 60px;
}