/* 默认CSS样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    line-height: 1.6;
    color: #333;
    background-color: #fff;
}

a {
    color: #007bff;
    text-decoration: none;
}

a:hover {
    text-decoration: none;
}

img {
    max-width: 100%;
    height: auto;
}

ul, ol {
    list-style: none;
}

button, input, select, textarea {
    font-family: inherit;
    font-size: 100%;
}
/* 头部*/
.header {
    width: 100%;
    height: 100px;
    background-color: #fff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
}
.container {
    width: 1200px;
    height: 50px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.logo {
    width: 110px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 导航栏样式 */
.bar {
    height: 100%;
}

.bar ul {
    display: flex;
    height: 100%;
    align-items: center;
}

.bar > ul > li {
    position: relative;
    margin-right: 30px;
    height: 100%;
    display: flex;
    align-items: center;
}

.bar > ul > li:last-child {
    margin-right: 0;
}

.bar > ul > li > a {
    display: block;
    padding: 0 15px;
    height: 100%;
    line-height: 50px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.bar > ul > li > a:hover {
    color: #24833a;
    text-decoration: none;
}

/* 下拉菜单样式 */
.bar ul ul {
    position: absolute;
    top: calc(100% - 2px); /* 调整位置，使下拉框更紧密地显示在文字下方 */
    left: 50%;
    transform: translateX(-50%); /* 使下拉框水平居中对齐文字 */
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    width: auto;
    height: auto;
    display: none;
    z-index: 1000;
    flex-direction: column;
    align-items: flex-start;
    padding: 4px 0;
    border-radius: 4px;
}

.bar ul li:hover > ul {
    display: flex;
}

.bar ul ul li {
    width: 100%;
}

.bar ul ul li a {
    display: block;
    padding: 8px 20px;
    color: #666;
    font-size: 14px;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.bar ul ul li a:hover {
    color: #24833a;
    text-decoration: none;
    background-color: #f5f5f5;
}
/* 内容 */
.content {
    width: 100%;
    height: auto;
}
/*轮播*/
.banner {
    width: 100%;
    height: 520px;
}
/* 轮播容器 */
.banner {
    width: 100%;
    height: 520px;
    position: relative;
    overflow: hidden;
}

/* 轮播容器 */
.slider-container {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

/* 轮播轨道 */
.slider-wrapper {
    display: flex;
    width: 400%; /* 4个滑块 */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

/* 轮播项 */
    .slider-slide {
        width: 25%; /* 100% / 4个滑块 */
        height: 100%;
        flex-shrink: 0;
        position: relative; /* 使文字绝对定位相对于滑块 */
    }

.slider-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.slider-slide:hover img {
    transform: scale(1.1); /* 放大10% */
}

/* 轮播文字 */
.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    font-size: 54px;
    font-weight: 600;
    color: #fff;
    text-align: center;
    padding: 20px 40px;
}

/* 分页器 */
.slider-pagination {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
}

.slider-dot {
    display: inline-block;
    width: 16px;
    height: 3px;
    background: #ffffff96;
    margin: 0 5px;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.3s;
}

.slider-dot.active {
    background: #ffffff;
}

/* 公司介绍 */
.company-intro {
    height: 500px;
    background-image: url('../img/bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
}
.container-intro{
    width: 1200px;
    margin: 0 auto;
}
/* 公司介绍容器 */
.company-intro .container {
    flex-direction: column;
}

/* 公司介绍标题 */
.company-intro-title {
    font-size: 28px;
    color: #24833a;
    font-weight: 700;
    text-align: center;
    padding-top: 70px;
    margin-bottom: 30px;
}

/* 公司介绍内容 */
.company-intro-content {
    font-size: 16px;
    line-height: 2;
    color: #333;
    text-align: justify;
}

/* 我们的产品 */
.company-product {
    padding: 70px 0;
    background-color: #fff;
    text-align: center;
}

/* 产品标题 */
.company-product-title {
    font-size: 28px;
    color: #24833a;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

/* 产品系列列表 */
.Product_productSeriePics {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
    list-style: none;
}

/* 单个产品系列 */
.Product_productSerie {
    width: 580px;
    box-sizing: border-box;
    height: 430px;
    padding: 30px 0 20px;
    background-color: #e2e7e3;
    text-align: center;
}

/* 产品系列名称 */
.Product_productSerieName {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    margin-bottom: 30px;
    text-align: center;
}

/* 产品图片容器 */
.Product_imgWrap {
    width: 500px;
    height: 306px;
    margin: 0 auto;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 产品图片 */
.Product_productImg {
    width: 500px;
    height: 306px;
    object-fit: cover;    
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.Product_productImg:hover {
    transform: scale(1.05); /* 放大5% */
}

/* 查看更多按钮 */
.Product_more {
    text-align: center;
}

.Product_more a {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #24833a;
    color: #24833a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

.Product_more a:hover {
    background-color: #24833a;
    color: white;
}

/* 人才招聘区域 */
.company-recruit {
    padding: 60px 0;
    background-color: #f5f5f5;
}
.container-recruit{
    width: 1200px;
    margin: 0 auto;
}
/* 人才招聘标题 */
.company-recruit-title {
    font-size: 28px;
    color: #24833a;
    font-weight: 700;
    text-align: center;
    margin-bottom: 30px;
}

/* 表格容器 */
.recruit-table-wrapper {
    width: 100%;
    overflow-x: auto;
    margin-bottom: 40px;
}

/* 招聘表格 */
.recruit-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
}

/* 表格表头 */
.recruit-table thead {
    color: white;
}

/* 表格表头单元格 */
.recruit-table th {
    width: 240px;
    height: 60px;
    padding: 10px;
    text-align: center;
    font-weight: normal;
    font-size: 14px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 表格内容单元格 */
.recruit-table td {
    width: 240px;
    height: 60px;
    padding: 10px;    
    font-size: 14px;
    text-align: center;
    border-bottom: 1px solid #e0e0e0;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.recruit-table tr:nth-child(odd) {
    background-color: #f1f7f2;
}
/* 表格行悬停效果 */
.recruit-table tbody tr:hover {
    background-color: #f9f9f9;
}

/* 查看更多按钮 */
.recruit-more {
    text-align: center;
    margin-bottom: 20px;
}

.recruit-more a {
    display: inline-block;
    padding: 8px 20px;
    border: 1px solid #24833a;
    color: #24833a;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s ease;
}

/* 新闻动态区域 */
.company-news {
    height: 600px;
    background-image: url('../img/news_bg.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

/* 透明绿色叠加层 */
.company-news::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(36, 131, 58, 0.9);
    z-index: 1;
}

/* 新闻标题 */
.company-news-title {
    position: relative;
    z-index: 2;
    color: white;
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    padding: 30px 0;
    margin: 0;
}

/* 新闻容器 */
.container-news {
    position: relative;
    z-index: 2;
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    height: calc(100% - 100px);
}

/* 新闻导航 */
.news-nav {
    width: 200px;
    height: 350px;
    background-color: white;
    overflow: hidden;
}

.news-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.news-nav li {
    width: 200px;
    height: 70px;    
    font-size: 20px;
    padding: 0;
    line-height: 70px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background-color: rgba(191, 212, 186, 0.806);
    font-weight: 500;
    color: #333;
}

.news-nav li.active {
    background-color: #f1f7f2;
    color: rgb(0, 0, 0);    
    font-size: 20px;
}

.news-nav li:hover {
    background-color: rgba(36, 131, 58, 0.8);
    color: #fff;
    font-size: 20px;
}

/* 新闻内容 */
.news-content {
    width: 980px;
    height: 352px;
    margin-left: 20px;
    background-color: rgba(255, 255, 255, 0.95);
    border-radius: 0 4px 4px 0;
    padding: 32px;
    overflow-y: auto;
}

/* 新闻列表 */
.news-list {
    display: none;
}

.news-list.active {
    display: block;
}

/* 新闻条目 */
.news-item {
    width: 916px;
    height: 36px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-item:last-child {
    border-bottom: none;
}

.news-item a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    line-height: 1.5;
    flex: 1;
    margin-right: 20px;
    transition: color 0.3s ease;
}

.news-item a:hover {
    color: #24833a;
}

/* 新闻日期 */
.news-date {
    color: #999;
    font-size: 16px;
    white-space: nowrap;
}

.recruit-more a:hover {
    background-color: #24833a;
    color: white;
}

/* 页脚样式 */
.HomePage_footer {
    background-color: #3f4552;
    color: #fff;
    height: 512px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 50px 0;
}

.Footer_footerWarp {
    width: 1200px;
    margin: 0 auto;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.Footer_footer {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.Footer_wrap {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 40px;
}

.Footer_navWrap {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: #fff;
}

.Footer_logo {
    width: 65px;
    height: auto;
    margin-right: 20px;
}

.Footer_nav {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

.Footer_nav:hover {
    color: #fff;
}

.Footer_rightWrap {
    display: flex;
    gap: 16px;
}

.Footer_qrCode {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    font-size: 14px;
}

.Footer_qrImg {
    width: 72px;
    height: 72px;
    margin-bottom: 10px;
}

.Footer_contractList {
    display: flex;
    gap: 12px;
    padding-bottom: 40px;
    border-bottom: 1px solid #555;
}

.Footer_contractItem {
    width: 290px;
    height: 170px;
    background-color: #9c9ea4;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    font-size: 14px;
    color: #fff;
}

.Footer_imgWrap {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.Footer_conImg {
    width: 100%;
    height: auto;
}

.Footer_line {
    height: 1px;
    background-color: #555;
    margin: 30px 0;
}

.Footer_num {
    margin-top: 30px;
    text-align: center;
    font-size: 14px;
    color: #fff;
    line-height: 20px;
}

