/* 全局重置 & 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: "Microsoft Yahei", PingFang SC, SimHei, sans-serif;
    color: #333;
    background-color: #fff;
    line-height: 1.8;
}
a {
    text-decoration: none;
    color: inherit;
}
ul {
    list-style: none;
}
.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
}

/* 导航栏 */
.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.08);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 999;
}
.nav-wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}
.logo {
    height: 70px;
    display: flex;
    align-items: center;
    gap: 12px; /* 图片与文字之间间距，按需调整大小 */
    font-size: 18px;
    font-weight: bold;
    color: #246B59;
}
.logo img {
    height: 40px;
    width: auto;
    object-fit: contain;
}
.nav-list {
    display: flex;
    gap: 30px;
}
.nav-list li a {
    font-size: 15px;
    color: #333;
    transition: 0.3s;
}
.nav-list li a:hover,
.nav-list li a.active {
    color: #246B59;
}
/* 移动端汉堡菜单 */
.hamburger {
    display: none;
    font-size: 26px;
    cursor: pointer;
}
.mobile-menu {
    display: none;
    position: absolute;
    top:70px;
    left:0;
    width:100%;
    background:#fff;
    box-shadow:0 4px 8px rgba(0,0,0,0.1);
}
.mobile-menu li{
    padding:12px 5%;
    border-bottom:1px solid #eee;
}
.mobile-menu li a{
    display:block;
}

/* Banner */
.banner {
    width: 100%;
    height: 500px;
    background: #246B59;
    display: flex;
    align-items: center;
    color: #fff;
}
.banner-text {
    max-width: 800px;
}
.banner-text h1 {
    font-size: 36px;
    margin-bottom: 20px;
}
.banner-text p {
    font-size: 16px;
    opacity: 0.95;
    line-height: 2;
}

/* 通用区块 */
.section {
    padding: 80px 0;
}
.title-box {
    text-align: center;
    margin-bottom: 50px;
}
.title-box h2 {
    font-size: 28px;
    color: #246B59;
    margin-bottom: 10px;
}
.title-box p {
    color: #666;
}

/* 卡片布局 */
.card-list {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 30px;
}
.card {
    padding: 30px;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: 0.3s;
}
.card:hover {
    box-shadow: 0 5px 20px rgba(0,0,0,0.06);
}
.card h3 {
    color: #246B59;
    margin-bottom: 15px;
}

/* 页脚 */
.footer {
    background: #1a4b3e;
    color: #ccc;
    padding: 50px 0;
    font-size: 14px;
}
.footer p {
    margin-bottom: 8px;
}
.copyright {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #2c6354;
    text-align: center;
}

/* 合规提示 */
.tips {
    background: #f8f8f8;
    padding: 20px;
    border-left: 4px solid #246B59;
    margin: 40px 0;
    font-size: 14px;
    color: #555;
}

/* 内页通用 */
.page-content {
    padding-top: 100px;
    padding-bottom: 80px;
}
.page-content h3 {
    color: #246B59;
    margin: 30px 0 15px;
}
.page-content p {
    margin-bottom: 15px;
}

/* 响应式适配 */
@media (max-width: 768px){
    .nav-list {
        display: none;
    }
    .hamburger {
        display: block;
    }
    .banner {
        height: auto;
        padding: 60px 0;
    }
    .banner-text h1 {
        font-size: 26px;
    }
    .card-list {
        grid-template-columns: 1fr;
    }
}
/* 首页 - 服务宗旨专区 */
.slogan-section{
    display: flex;
    justify-content: center;
    align-items: center;
    background: #def3e7;
    min-height: 100px;
    padding-top: 80px;
}
.slogan-text {
    width: 100%;
    text-align: center; /* 图片居中 */
    padding: 0;
    margin: 0;
}
.slogan-text img {
    /* 核心代码 */
    max-width: 100%;    /* 图片最大宽度不超过父容器（网页宽度） */
    width: auto;
    height: auto;       /* 高度自动，保持图片原始比例，不变形 */
    display: block;     /* 消除图片默认底边空白缝隙 */
}
.indent-p{
    text-indent: 2em;
}

@media (max-width:768px){
    .slogan-text{
        font-size: 20px;
    }
}
/* 页脚备案信息 */
.beian {
    margin-top: 12px;
    text-align: center;
    font-size: 13px;
}
.beian a {
    color: #9db8b0;
    text-decoration: none;
}
.beian a:hover {
    color: #fff;
    text-decoration: underline;
}
.beian-sep {
    margin: 0 10px;
    color: #2c6354;
}

/* 联系页在线留言入口 */
.collect-card {
    margin-top: 40px;
    padding: 30px;
    background: #f0f7f5;
    border: 1px solid #dceee7;
    border-radius: 12px;
    text-align: center;
}
.collect-card h3 {
    color: #1a4b3e;
    margin-bottom: 10px;
}
.collect-card p {
    color: #666;
    font-size: 14px;
    margin-bottom: 18px;
}
.collect-card .btn-collect {
    display: inline-block;
    padding: 12px 40px;
    background: #246B59;
    color: #fff;
    border-radius: 8px;
    text-decoration: none;
    font-size: 16px;
    transition: background .2s;
}
.collect-card .btn-collect:hover {
    background: #1a4b3e;
}
