/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* =======================================
   动画样式
   ======================================= */

/* 淡入动画 */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 弹入动画 */
@keyframes bounceIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    70% {
        opacity: 1;
        transform: scale(1.05);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

/* 滑入动画 */
@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 滑入动画 */
@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 动画类 */
.fade-in {
    animation: fadeIn 0.8s ease-out forwards;
}

.bounce-in {
    animation: bounceIn 0.6s ease-out forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease-out forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease-out forwards;
}

/* 初始状态 */
.animate-on-scroll {
    opacity: 0;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

/* =======================================
   顶部导航栏样式
   ======================================= */

/* 顶部导航栏 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background-color: white;
    color: #1a365d;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    /* width: 40px; */
    height: 40px;
    margin-right: 10px;
}

.logo span {
    font-size: 16px;
    font-weight: bold;
    color: #1a365d;
}

.agency-code {
    font-size: 12px;
    margin-left: 10px;
    color: #666;
}

.menu-btn {
    font-size: 24px;
    cursor: pointer;
    z-index: 1002;
    color: #1a365d;
}

/* =======================================
   导航菜单样式
   ======================================= */

/* 导航菜单 */
.nav-menu {
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100vh;
    background-color: #1a365d;
    color: white;
    z-index: 1001;
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.nav-menu.active {
    right: 0;
}

.nav-menu-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    cursor: pointer;
}

.nav-menu-list {
    list-style: none;
    margin-top: 60px;
}

.nav-menu-item {
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.nav-menu-item a {
    color: white;
    text-decoration: none;
    font-size: 16px;
    display: block;
}

.nav-menu-item:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

/* =======================================
   遮罩层样式
   ======================================= */

/* 遮罩层 */
.mask {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: none;
}

.mask.active {
    display: block;
}

/* =======================================
   轮播图样式
   ======================================= */

/* 轮播图 */
.carousel {
    margin-top: 60px;
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

/* =======================================
   优势模块样式
   ======================================= */

/* 优势模块容器 */
.advantage-modules {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    padding: 15px;
    background-color: white;
    margin-bottom: 10px;
}

/* 优势模块项 */
.module-item {
    text-align: center;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 优势模块项悬停效果 */
.module-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 优势模块图标 */
.module-icon {
    margin-bottom: 10px;
    display: flex;
    justify-content: center;
}

/* 优势模块标题 */
.module-title {
    font-size: 15px;
    font-weight: bold;
    margin-bottom: 8px;
    color: #333;
}

/* 优势模块描述 */
.module-desc {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
}

/* =======================================
   图片幻灯片样式
   ======================================= */

/* 图片幻灯片容器 */
.image-slider {
    position: relative;
    margin: 15px 0;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* 幻灯片容器 */
.slider-container {
    position: relative;
    width: 100%;
    height: 300px;
}

/* 幻灯片项 */
.slider-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

/* 激活的幻灯片项 */
.slider-item.active {
    opacity: 1;
    position: relative;
}

/* 幻灯片图片 */
.slider-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 幻灯片标题 */
.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.7), transparent);
    color: white;
    padding: 20px 15px 15px;
}

/* 幻灯片标题 */
.slider-caption h3 {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 5px;
}

/* 幻灯片描述 */
.slider-caption p {
    font-size: 12px;
    opacity: 0.9;
}

/* 幻灯片导航 */
.slider-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    background-color: #f9f9f9;
}

/* 幻灯片按钮 */
.slider-btn {
    width: 30px;
    height: 30px;
    border: none;
    background-color: #3099DD;
    color: white;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
}

/* 幻灯片按钮悬停效果 */
.slider-btn:hover {
    background-color: #1a7bc7;
}

/* 幻灯片指示器容器 */
.slider-indicators {
    display: flex;
    gap: 8px;
}

/* 幻灯片指示器 */
.indicator {
    width: 8px;
    height: 8px;
    border: none;
    border-radius: 50%;
    background-color: #ddd;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

/* 激活的幻灯片指示器 */
.indicator.active {
    background-color: #3099DD;
}

/* 轮播图图片 */
.carousel img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-content {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    background-color: rgba(0, 0, 0, 0.3);
}

.carousel-title {
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 10px;
}

.carousel-subtitle {
    font-size: 14px;
    margin-bottom: 15px;
}

.carousel-btn {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

/* =======================================
   主要内容区域样式
   ======================================= */

/* 主要内容区域 */
.content {
    padding: 15px;
    background-color: white;
    margin-bottom: 10px;
}

.section {
    margin-bottom: 20px;
}

.section-title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
    padding-bottom: 5px;
	letter-spacing:0.3em;
    border-bottom: 1px solid #e0e0e0;
}

/* =======================================
   底部导航栏样式
   ======================================= */

/* 底部导航栏 */
.footer-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #3099DD;
    color: white;
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 46px;
    z-index: 1000;
}

.footer-nav-item {
    text-align: center;
    flex: 1;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s ease;
    border-right: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-nav-item:last-child {
    border-right: none;
}

.footer-nav-item a {
    color: white;
    text-decoration: none;
    font-size: 12px;
    display: block;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 底部导航菜单项点击效果 */
.footer-nav-item:active {
    background-color: rgba(255, 255, 255, 0.2);
}

/* 底部导航菜单项选中效果 */
.footer-nav-item.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: bold;
}

/* =======================================
   页脚样式
   ======================================= */

/* 页脚 */
.footer {
    padding: 15px;
    background-color: #1a365d;
    color: white;
    margin-top: 30px;
    margin-bottom: 46px;
}

.footer-content {
    text-align: center;
}

.footer-logo {
    margin-bottom: 10px;
}

.footer-logo img {
    width: 80px;
    height: 80px;
}

.footer-info {
    margin-bottom: 10px;
}

.footer-info p {
    margin-bottom: 5px;
    font-size: 12px;
}

.footer-qrcode {
    margin-top: 10px;
}

.footer-qrcode img {
    width: 100px;
    height: 100px;
}

.copyright {
    font-size: 12px;
    margin-top: 10px;
    color: #ccc;
}

/* =======================================
   通用按钮样式
   ======================================= */

/* 通用按钮样式 */
.btn-primary {
    background-color: #ff6b35;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    width: 100%;
    margin-top: 10px;
}

/* =======================================
   通用表单样式
   ======================================= */

/* 通用表单样式 */
.form-group {
    margin-bottom: 15px;
}

.form-label {
    display: block;
    margin-bottom: 5px;
    font-size: 14px;
    font-weight: bold;
}

.form-input {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
}

.form-textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    font-size: 14px;
    resize: vertical;
    min-height: 100px;
}

/* =======================================
   通用分页样式
   ======================================= */

/* 通用分页样式 */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
    padding: 10px;
    background-color: #f9f9f9;
    border-radius: 4px;
}

.page-btn {
    background-color: #e0e0e0;
    color: #333;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
}

.page-info {
    font-size: 14px;
    color: #666;
}