/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    color: #333;
    line-height: 1.6;
    background-color: #f9f9f9;
}

/* 头部样式 */
body {
            font-family: 'Arial', sans-serif;
            line-height: 1.6;
        }

        /* 头部容器 */
        header {
            background-color: #e6f7ff;
            box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        }

        .header-container {
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        /* 导航栏整体样式 */
        nav.menu-wrapper {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 15px 0;
        }

        /* 左侧大标题样式 */
        .logo {
            font-size: 28px;
            font-weight: 900;
            color: #083a5d;
            text-decoration: none;
        }

        /* 一级菜单列表样式 */
        .menu-list {
            list-style: none;
            display: flex;
            gap: 5px;
        }

        /* 一级菜单项样式 */
        .menu-item {
            position: relative;
        }

        /* 一级菜单链接样式 */
        .menu-item > a {
    color: #083a5d;
            text-decoration: none;
    font-size: 16px;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
        }

        /* 一级菜单悬停效果 */
        .menu-item > a:hover {
            background-color: #083a5d;
            color: white;
        }

        /* 二级菜单样式 */
        .submenu {
            background-color: #e6f7ff;
            color: #0a4b78;
            display: none;
            position: absolute;
            top: 100%;
            left: 0;
            min-width: 200px;
            box-shadow: 0 4px 12px rgba(0,0,0,0.15);
            z-index: 1000;
            list-style: none;
            border-radius: 0 0 4px 4px;
        }

        /* 二级菜单链接样式 */
        .submenu li a {
    color: #083a5d;
            text-decoration: none;
    padding: 10px 15px;
    display: block;
    transition: background-color 0.3s ease;
        }

        /* 二级菜单悬停效果 */
        .submenu li a:hover {
            background-color: #083a5d;
            color: white;
        }

        /* 悬停显示二级菜单 */
        .menu-item:hover .submenu {
            display: block;
            animation: fadeIn 0.3s ease;
        }

        /* 淡入动画 */
        @keyframes fadeIn {
            from { opacity: 0; transform: translateY(5px); }
            to { opacity: 1; transform: translateY(0); }
        }

        /* 响应式设计 */
        @media (max-width: 768px) {
            nav.menu-wrapper {
                flex-direction: column;
                gap: 15px;
                padding: 15px 0;
            }

            .logo {
                font-size: 24px;
            }

            .menu-list {
                flex-wrap: wrap;
                justify-content: center;
            }

            .submenu {
                position: static;
                background-color: #083a5d;
                box-shadow: none;
            }
        }


/* 主内容样式 */
.container {
    background-color: transparent;
    max-width: 1200px;
    margin: -90px auto 0; /* 增加负margin使内容向上移动更多，减少与banner间距 */
    padding: 20px 20px;
}

/* 通用部分标题 */
.section-title {
    font-size: 32px;
    color: #00468b;
    margin-bottom: 30px;
    padding-bottom: 20px;
    display: inline-block;
    position: relative;
}

/* 延长标题下划线 */
.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 1200px;
    height: 2px;
    background-color: #00468b;
    z-index: -1;
}

/* 商事调解标题白色下划线 */
.mediation-section .section-title::after {
    background-color:#00468b;
}

/* 调解员风采hr线样式 */
.mediators-showcase-section hr {
    border: none;
    height: 2px;
    background-color: #00468b;
    margin: 0 0 30px 0;
    width: 1200px;
}

/* 合作机构hr线样式 */
.cooperation-section hr {
    border: none;
    height: 2px;
    background-color: #00468b;
    margin: 0 0 30px 0;
    width: 1200px;
}

/* 商事调解hr线样式 */
.mediation-section hr {
    border: none;
    height: 2px;
    background-color: #ffffff;
    margin: 0 0 30px 0;
    width: 1200px;
}

/* 商事调解模块背景色 */
.mediation-section {
    background-color: #f0f7ff;
    padding: 20px 0;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    background-color: #00468b;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 16px;
    transition: background-color 0.3s;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #007bff;
}

.download-btn {
    margin-right: 15px;
    margin-bottom: 15px;
}

/* 页脚样式 */
footer {
    text-align: center;
    padding: 20px 0;
    background-color: #e6f7ff;
    color: #0a2463;
    margin-top: 0;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
    }
    
    nav ul {
        margin-top: 20px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    nav ul li {
        margin: 5px 15px;
    }
    
    .container {
        padding: 20px 15px;
    }
}

/* 首页特定样式 */
/* 新闻动态轮播样式 */

.carousel-container {
    width: 50%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background-color: #f5f7fa;
    margin-left: -20px;
}

.carousel-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    display: none;
}

.carousel-slide.active {
    display: block;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 新闻标题列表样式 */
.news-titles {
    width: 48%;
    padding-left: 30px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.title-item {
    padding: 12px 0;
    border-bottom: 1px dashed #e0e0e0;
    transition: all 0.3s;
}

.title-item:last-child {
    border-bottom: none;
}

.title-item a {
    color: #333;
    text-decoration: none;
    display: block;
    font-size: 18px;
    line-height: 1.6;
    /* 限制文本只显示一行，超出部分显示省略号 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* 分页控件样式 */
.pagination-container {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.title-item.active a {
    color: #0066cc;
    font-weight: bold;
}

/* 置顶新闻样式 */
.title-item.sticky a {
    color: #000000;
    font-weight: 900;
    font-size: 19px;
}

/* 轮播图指示器 */
.carousel-prev, .carousel-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.6);
    color: #555;
    border: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 8px;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.carousel-prev:hover, .carousel-next:hover {
    background-color: rgba(0,0,0,0.4);
}

.carousel-prev {
    left: 15px;
}

.carousel-next {
    right: 15px;
}

.carousel-indicators {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.6);
    cursor: pointer;
    transition: all 0.3s;
}

.indicator-dot.active {
    background-color: #fff;
    width: 24px;
    border-radius: 5px;
}

.title-item:hover a {
    color: #0066cc;
    padding-left: 5px;
}

/* 分页按钮样式 */
.pagination-container {
    margin-top: 20px;
    text-align: center;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.page-nav,
.page-number {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s;
}

.page-number.active {
    background-color: #0066cc;
    color: white;
    border-color: #0066cc;
}

.page-nav:hover,
.page-number:hover {
    border-color: #0066cc;
    color: #0066cc;
}

.page-nav:disabled,
.page-number:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    border-color: #e0e0e0;
    color: #999;
}

.hero-banner {
    position: relative; /* 作为子元素定位的参考 */
    width: 100%;
    height: 60vh; /* 增加高度到60%视口高度 */
    min-height: 400px;
    margin-bottom: 0;
    overflow: hidden; /* 隐藏背景图超出部分 */
}

/* 横幅背景图容器：全屏覆盖横幅 */
.banner-background {
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 100%;

}

.banner-background .background-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

/* 背景图核心样式：按比例缩放+全屏覆盖 */
.background-img {
    width: 100%;
    height: 80%;
    object-fit: cover; /* 保持原图比例，覆盖容器 */
    object-position: center top; /* 优先显示图片上部 */
    margin: 0 auto;
    margin-top: -20px;
}

/* 文字内容：居中叠加，保持原有定位逻辑 */
.banner-content {
    position: absolute;
    top: 45%; /* 向下移动，使文字更靠下 */
    left: 50%;
    transform: translate(-50%, -50%); /* 绝对居中 */
    text-align: center;
    color: #f0f0f0  ;
    /* 移除整体文字阴影，改为在标题和描述文字上单独设置渐变阴影效果 */
    width: 100%;
    padding: 0 20px;
    z-index: 10; /* 确保文字在背景上方 */
}

/* 整合你的 h1 样式（保持 font-size:38px、font-weight:normal 等） */
.banner-content h1 {
    font-size: 58px;
    margin-bottom: 15px;
    font-weight: bold; /* 加粗标题 */
    letter-spacing: 10px;
    /* 标题文字：左边阴影重，右边阴影浅的渐变效果 */
    text-shadow: 
        -3px 0 8px rgba(0,0,0,0.8), /* 左侧深阴影 */
        -2px 0 6px rgba(0,0,0,0.6), 
        -1px 0 4px rgba(0,0,0,0.4),
        1px 0 2px rgba(0,0,0,0.2); /* 右侧浅阴影 */
    
}

/* 整合你的 p 样式（保留 max-width:800px、margin:0 auto 等） */
.banner-content p {
    letter-spacing: 5px;
    font-size: 28px;
    max-width: 800px;
    margin: 0 auto;
    line-height: 1.8;
    opacity: 0.95;
    /* 描述文字：左边阴影重，右边阴影浅的渐变效果 */
    text-shadow: 
        -2px 0 6px rgba(0,0,0,0.7), /* 左侧深阴影 */
        -1px 0 4px rgba(0,0,0,0.5),
        1px 0 2px rgba(0,0,0,0.3); /* 右侧浅阴影 */
}

/* 响应式适配：移动端自动调整 */
@media (max-width: 768px) {
    .hero-banner {
    height: 60vh; /* 移动端也增加到60%视口高度 */
    min-height: 350px;
}
    /* 移动端缩小 h1 字号，保持比例 */
    .banner-content h1 {
    font-size: 44px;
    margin-bottom: 12px;
    font-weight: bold;
}
    /* 移动端缩小 p 字号，优化显示 */
    .banner-content p {
    font-size: 24px;
    line-height: 1.6;
}
}

.news-bg-container {
    background-color: transparent;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding: 20px 0; /* 减少上下内边距 */
    margin-top: -20px;
}

.news-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.news-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 快捷入口样式 */
.quick-links {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
}

.link-item {
    display: inline-block;
    width: calc(25% - 20px);
    margin: 10px;
    text-align: center;
}

.link-icon {
    margin: 0 auto 10px;
}

.link-text {
    font-size: 16px;
    color: #333;
    text-decoration: none;
}

.link-item a {
    text-decoration: none;
}

/* 关于我们区块样式 */

.about-section {
    max-width: 1200px;
    margin: 0 auto 60px;
    padding: 0 20px;
    position: relative;
    padding-bottom: 80px;
}

.about-section .section-title {
    font-size: 32px;
    position: relative;
    display: inline-block;
    margin-bottom: 40px;
}

/* 标题前的图标 */
/* .about-section .section-title::before {
    content: "🏢";
    font-size: 36px;
    margin-right: 15px;
    vertical-align: middle;
} */

/* .news-section .section-title::before {
    content: "📰";
    font-size: 36px;
    margin-right: 15px;
    vertical-align: middle;
} */

/* .mediation-section .section-title::before {
    content: "🤝";
    font-size: 36px;
    margin-right: 15px;
    vertical-align: middle;
} */

/* .mediators-showcase-section .section-title::before {
    content: "👨‍⚖️";
    font-size: 36px;
    margin-right: 15px;
    vertical-align: middle;
} */

/* .cooperation-section .section-title::before {
    content: "🏫";
    font-size: 36px;
    margin-right: 15px;
    vertical-align: middle;
} */

/* 关于我们内容容器 */
.about-container {
    display: flex;
    gap: 30px;
    align-items: center;
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
    }
}

/* 关于我们图片装饰 */
.about-image {
    position: relative;
    z-index: 1;
}

/* .about-image::after {
    content: '';
    position: absolute;
    top: 15px;
    left: 15px;
    right: -15px;
    bottom: -15px;
    background-color: rgba(0, 0, 0, 0.1);
    z-index: -1;
    border: 1px solid #000;
} */

/* 关于我们内容装饰框 */
.about-content {
    position: relative;
    padding: 30px;
    
}

/* 装饰性小花纹 */
/* .about-content::before {
    content: '';
    position: absolute;
    top: 10px;
    left: 10px;
    width: 40px;
    height: 40px;
    background-image: linear-gradient(45deg, #00468b 25%, transparent 25%),
                      linear-gradient(-45deg, #00468b 25%, transparent 25%);
    background-size: 20px 20px;
    opacity: 0.1;
} */

/* .about-content::after {
    content: '';
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 40px;
    height: 40px;
    background-image: linear-gradient(45deg, #00468b 25%, transparent 25%),
                      linear-gradient(-45deg, #00468b 25%, transparent 25%);
    background-size: 20px 20px;
    opacity: 0.1;
} */

/* 调解员风采样式 */
.mediators-showcase-section .section-title {
    font-size: 32px;
}
.mediator-item h3 {
    font-size: 20px;
}
.mediator-expertise {
    font-size: 16px;
}
.mediator-background {
    font-size: 16px;

    font-size: 32px;
}

/* 向下滚动指示器样式 */
.scroll-down {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: white;
    cursor: pointer;
    animation: bounce 2s infinite;
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.scroll-down span {
    display: block;
    font-size: 18px;
    margin-bottom: 8px;
    font-weight: bold;
}

.scroll-down i {
    font-size: 28px;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0) translateX(-50%);
    }
    40% {
        transform: translateY(-20px) translateX(-50%);
    }
    60% {
        transform: translateY(-10px) translateX(-50%);
    }
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}

.about-image {
    flex: 1;
    min-width: 300px;
    margin-right: 30px;
}

.about-content {
    flex: 2;
    min-width: 300px;
    padding-left: 30px;
}

.about-content p {
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 15px;
}

.about-links {
    text-align: center;
    margin-left: auto;
    margin-top: 20px;
}

.about-links .btn {
    margin-left: 50px;
    margin-right: 50px;
    margin-bottom: 10px;
}

/* 新闻中心样式 */
.mediation-section {
    padding: 0;
    background-color: transparent;
    width: 100%;
    position: relative;
    left: 0;
    transform: none;
    margin: 0;
}

.mediation-section .section-title {
    color: #00468b;
    border-bottom-color: #00468b;
}

.mediation-section hr {
    border-color: #00468b;
    border-top: 2px solid #00468b;
}

.mediation-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding: 0 20px;
    margin-right: auto;
}

.mediation-link {
    text-decoration: none;
    flex: 1;
    min-width: 120px; /* 进一步减小最小宽度，使按钮更窄 */
}

.mediation-item {
    margin-left: 40px;
    padding: 20px 5px; /* 增加垂直内边距使按钮更高，减小水平内边距使按钮更窄 */
    border-radius: 10px; /* 优化圆角 */
    text-align: center;
    /* box-shadow: 0 3px 12px rgba(0,0,0,0.08); 优化阴影效果 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* border: 1px solid #e6f2ff; 添加精致边框 */
    /* background-color: #f0f8ff; 统一背景色 - 浅蓝色 */
    height: 130px;
    width: 120px;
}

/* 第1、3、5个按钮 - 白色底蓝色字 */
.mediation-item-advantage,
.mediation-item-guide,
.mediation-item-cases,
.mediation-item-fees,
.mediation-item-application {
    background-color: #f5e102;
    background-image: linear-gradient(135deg, #efefef 0%, #042f93 120%);
}

.mediation-item-advantage h3,
.mediation-item-guide h3,
.mediation-item-cases h3,
.mediation-item-fees h3,
.mediation-item-application h3 {
    color: #00468b;
}

.mediation-item-advantage .submenu-icon,
.mediation-item-guide .submenu-icon,
.mediation-item-cases .submenu-icon,
.mediation-item-fees .submenu-icon,
.mediation-item-application .submenu-icon {
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(190deg) brightness(79%) contrast(97%);
}

.mediation-item-advantage .icon-arrow-down,
.mediation-item-guide .icon-arrow-down,
.mediation-item-cases .icon-arrow-down,
.mediation-item-fees .icon-arrow-down,
.mediation-item-application .icon-arrow-down {
    color: #0066cc;
}

/* 第2、4个按钮 - 白色底蓝色字 */
/* .mediation-item-guide, */
/* .mediation-item-fees {
    background-color: #ffffff;
    background-image: linear-gradient(135deg, #ffffff 0%, #f8f9ff 100%);
} */

.mediation-item-guide h3,
.mediation-item-fees h3 {
    color: #00468b;
}

.mediation-item-guide .submenu-icon,
.mediation-item-fees .submenu-icon {
    filter: invert(27%) sepia(51%) saturate(2878%) hue-rotate(190deg) brightness(79%) contrast(97%);
}

.mediation-item-guide .icon-arrow-down,
.mediation-item-fees .icon-arrow-down {
    color: #0066cc;
}

.mediation-icon {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 悬停效果 */
.mediation-item-advantage:hover,
.mediation-item-cases:hover,
.mediation-item-application:hover,
.mediation-item-guide:hover,
.mediation-item-fees:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 16px rgba(0,70,139,0.15);
    background-color: #f8f9ff;
}

.mediation-icon {
    width: 40px; /* 减小图标尺寸 */
    height: 40px;
}

.submenu-icon {
    width: 100%;
    height: 100%;
    margin-bottom: 15px; /* 减小图标与文字间距 */
}

.mediation-item h3 {
    font-size: 16px; /* 减小字体大小 */
    margin-bottom: 10px;
}

.icon-arrow-down {
    font-size: 16px; /* 减小箭头图标大小 */
    margin-top: 8px;
}

.news-section {
    padding: 60px 0;
    margin-top: 40px;
    margin-bottom: 60px;
    width: 100%;
}

.news-container {
  display: flex;
  justify-content: flex-start;
  margin-top: -30px;
  align-items: flex-start;
  margin-left: 20px;
}

.news-titles {
    width: calc(50% - 1px);
    padding-left: 0;
    margin-left: 45px;
    margin-top: 0;
}

.news-item {
    display: flex;
    width: 100%;
    margin-bottom: 30px;
}

.news-image {
    flex: 0 0 50%;
    padding-right: 20px;
}

.news-info {
    flex: 0 0 50%;
    padding-left: 20px;
    border-left: 1px solid #e0e0e0;
}

.news-container .news-item {
    display: flex;
    flex-direction: column;
    height: 100%;
    width: 100%;
    margin-bottom: 30px;
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e0e0e0;
    box-sizing: border-box;
}

.news-section .news-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(300px, 1fr));
    gap: 20px;
    padding: 0;
    margin: 0 auto;
    width: 100%;
    max-width: 1200px;
}

.news-section .news-list .news-item {
    width: 100%;
    margin: 0;
    background-color: white;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    border: 1px solid #e0e0e0;
    display: flex;
    flex-direction: column;
    box-sizing: border-box;
    overflow-wrap: break-word;
}

.news-container .news-item .news-content {
    width: 100%;
    padding: 15px;
    box-sizing: border-box;
}

/* 统计数据部分样式 */
.stats-section {
    position: relative;
    padding: 0;
    margin: 0 calc(-50vw + 50%);
    width: 100vw;
    height: 300px;
    overflow: hidden;
}

.stats-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.stats-bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.stats-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    display: flex;
    align-items: center;
    padding: 0 50px;
}

.stats-buttons {
    display: flex;
     align-items: center;
    gap: 20px;
    margin-right: 80px;
}

.btn-apply-mediation,
.btn-become-mediator {
    padding: 15px 30px;
    border: none;
    border-radius: 5px;
    font-size: 18px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 200px;
    height: 55px;
}

.btn-apply-mediation {
    background-color: #ff6600;
    color: white;
}

.btn-apply-mediation:hover {
    background-color: #e55c00;
    transform: translateY(-3px);
}

.btn-become-mediator {
    background-color: #00468b;
    color: white;
}

.btn-become-mediator:hover {
    background-color: #003566;
    transform: translateY(-3px);
}

.stats-container {
    display: flex;
    flex: 1;
    justify-content: space-around;
    align-items: center;
    background-color: transparent;
    padding: 40px 60px;
    border-radius: 10px;
}

.stat-item {
    text-align: center;
    flex: 1;
    padding: 10px;
}

/* 翻转卡片样式 */
.flip-card {
    perspective: 1000px;
    width: 100%;
    height: 160px;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    text-align: center;
    transition: transform 0.8s;
    transform-style: preserve-3d;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    border: 2px solid rgb(64, 172, 208); /* 添加浅蓝色边框，2px 为边框宽度 */
}

.flip-card:hover .flip-card-inner {
    transform: rotateY(180deg);
}

.flip-card-front,
.flip-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    border-radius: 10px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.flip-card-front {
    background-color: #ffffff;
    color: #00468b;
}

.flip-card-back {
    background-color: #00468b;
    color: white;
    transform: rotateY(180deg);
}

.stat-icon {
    margin-bottom: 10px;
}

.stat-number {
    font-size: 25px;
    font-weight: bold;
    color: #004a94;
    margin-bottom: 5px;
}

.flip-card-back .stat-number {
    color: white;
}

.stat-unit {
    font-size: 24px;
    font-weight: normal;
    margin-left: 5px;
}

.stat-label {
    font-size: 15px;
    color: #666;
}

.flip-card-back .stat-label {
    color: white;
}

.stat-back-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.stat-back-content svg {
    margin-bottom: 15px;
}

.stat-back-content p {
    font-size: 16px;
    line-height: 1.4;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .stats-content {
        padding: 0 20px;
    }
    
    .stats-buttons {
        margin-right: 40px;
    }
    
    .stats-container {
        padding: 30px 40px;
    }
}

@media (max-width: 992px) {
    .stats-section {
        height: auto;
        min-height: 400px;
    }
    
    .stats-content {
        flex-direction: column;
        padding: 40px 20px;
    }
    
    .stats-buttons {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    .stats-container {
        width: 100%;
    }
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-container .news-item .news-image {
    width: 100%;
    height: 200px;
    overflow: hidden;
    margin-bottom: 15px;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    width: 60%;
    padding: 20px;
}

.news-info {
    padding: 20px;
}

.news-more {
    text-align: center;
    margin-top: 30px;
}

/* 联系我们样式 */
.section-subtitle {
    text-align: center;
    color: #666;
    margin: 10px 0 30px;
    font-size: 16px;
}

.category-tabs {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
    gap: 10px;
}

.tab-button {
    background-color: #f0f0f0;
    border: none;
    padding: 8px 16px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.tab-button.active {
    background-color: #0066cc;
    color: white;
}

.cases-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.case-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    overflow: hidden;
    padding: 15px;
}

/* 案例项样式 - 白色圆角边框和阴影效果 */
.case-item {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid #e0e0e0;
}

.case-image img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 15px;
}

.case-title {
    font-size: 18px;
    margin-bottom: 8px;
}

.case-category {
    display: inline-block;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
    margin-bottom: 10px;
}

.case-category.finance {
    background-color: #e6f7ff;
    color: #0066cc;
}

.case-category.healthcare {
    background-color: #e6ffe6;
    color: #00cc66;
}

.case-category.education {
    background-color: #fff0e6;
    color: #cc6600;
}

.case-period {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.case-description {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 15px;
}

.case-detail {
    color: #0066cc;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
}

.view-more-cases {
    text-align: center;
    margin-top: 20px;
}

.contact-section {
    background-color: transparent;
    padding: 30px 0;
    margin-top: 30px;
    margin-bottom: 0;
    color: #0a2463;
}
.contact-section .container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.contact-header {
    display: flex;
    flex-direction: column;
    max-width: 100%;
    position: relative;
}

.contact-main-title {
    font-size: 1.8rem;
    text-align: left;
    margin-bottom: 1.5rem;
}

.company-intro {
    text-indent: 2em;
    font-size: 1.1rem;
    margin: 1.5rem 0;
    line-height: 1.6;
}

.contact-btn {
    display: block;
    margin: 1.5rem auto 0;
    padding: 8px 16px;
    font-size: 1rem;
    background-color: white;
    color: #0a2463;
    border: 1px solid #0a2463;
    border-radius: 4px;
    cursor: pointer;
    width: fit-content;
}

.contact-btn:hover {
    background-color: #e6f7ff;
    transition: background-color 0.3s ease;
}

.contact-info {
    max-width: 1200px;
}

.contact-details {
    list-style: none;
    padding: 0;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
    align-items: flex-start;
}

.contact-item i {
    font-size: 24px;
    color: #00468b;
    margin-right: 15px;
    margin-top: 3px;
    width: 30px;
    text-align: center;
}

.contact-content {
    flex: 1;
}

.contact-label {
    font-weight: bold;
    color: #333;
    margin-right: 5px;
}

.contact-value {
    color: #666;
    line-height: 1.6;
}

/* 关于我们页面样式 */
.about-content {
    font-size: 16px;
    line-height: 1.8;
}

.about-content h3 {
    color: #00468b;
    margin-top: 25px;
    margin-bottom: 15px;
}

/* 服务特点页面样式 */
.features-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.feature-item {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.feature-item:hover {
    transform: translateY(-5px);
}

.feature-item h3 {
    color: #00468b;
    margin-bottom: 15px;
    font-size: 20px;
}

/* 调解流程页面样式 */
.process-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.process-step {
    display: flex;
    align-items: flex-start;
}

.step-number {
    background-color: #00468b;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 20px;
    flex-shrink: 0;
}

.step-content h3 {
    color: #00468b;
    margin-bottom: 10px;
}

.process-arrow {
    text-align: center;
    font-size: 24px;
    color: #00468b;
    margin: 10px 0;
}

.process-notes {
    background-color: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
    margin-top: 40px;
}

.process-notes h3 {
    color: #00468b;
    margin-bottom: 15px;
}

.process-notes ul {
    padding-left: 20px;
}

.process-notes li {
    margin-bottom: 10px;
}

/* 调解规则页面样式 */
.rule-chapter {
    margin-bottom: 30px;
}

.rule-chapter h3 {
    color: #00468b;
    margin-bottom: 15px;
    font-size: 22px;
}

.rule-chapter p {
    margin-bottom: 15px;
    line-height: 1.8;
}

/* 收费办法页面样式 */
.fees-intro {
    margin-bottom: 30px;
}

.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
}

.fee-table th, .fee-table td {
    border: 1px solid #ddd;
    padding: 12px 15px;
    text-align: left;
}

.fee-table th {
    background-color: #f0f7ff;
    color: #00468b;
}

.fee-table tr:nth-child(even) {
    background-color: #f9f9f9;
}

.fee-notes {
    background-color: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
}

.fee-notes h3 {
    color: #00468b;
    margin-bottom: 15px;
}

.fee-notes ul {
    padding-left: 20px;
}

.fee-notes li {
    margin-bottom: 10px;
}

/* 调解申请书页面样式 */
.application-download {
    margin-bottom: 40px;
}

.download-btn {
    display: inline-flex;
    align-items: center;
    margin-right: 15px;
    margin-bottom: 15px;
}

.icon-download {
    margin-right: 8px;
}

.application-guide {
    margin-bottom: 40px;
}

.guide-item {
    margin-bottom: 25px;
}

.guide-item h4 {
    color: #00468b;
    margin-bottom: 10px;
    font-size: 18px;
}

.application-note {
    background-color: #f0f7ff;
    padding: 20px;
    border-radius: 8px;
}

/* 新闻中心页面样式 */
.news-filters {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 15px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-btn {
    padding: 8px 15px;
    border-radius: 20px;
    text-decoration: none;
    color: #333;
    background-color: white;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.filter-btn.active, .filter-btn:hover {
    background-color: #00468b;
    color: white;
    border-color: #00468b;
}

.search-box {
    display: flex;
}

.search-box input {
    padding: 8px 15px;
    border: 1px solid #ddd;
    border-radius: 4px 0 0 4px;
    outline: none;
    width: 250px;
}

.search-btn {
    background-color: #00468b;
    color: white;
    border: none;
    padding: 0 15px;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
}

.news-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.news-item:hover {
    transform: translateY(-5px);
}

.news-image {
    height: 200px;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-content {
    padding: 20px;
}

.news-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.news-container .news-item .news-title {
    font-size: 18px;
    margin: 10px 0 15px;
    flex: 1;
    color: #333;
    transition: color 0.3s;
}

.news-item:hover .news-title {
    color: #00468b;
}



.news-container .news-item .read-more {
    display: inline-block;
    margin-top: auto;
    color: #0066cc;
    align-self: flex-start;
    text-decoration: none;
    align-items: center;
}

/* 案例页面查看详情按钮样式 */
.case-item .read-more {
    display: inline-block;
    padding: 8px 16px;
    background-color: #00468b;
    color: white;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background-color 0.3s ease;
}

.case-item .read-more:hover {
    background-color: #003566;
}

.icon-arrow-right {
    margin-left: 5px;
    transition: transform 0.3s;
}

.read-more:hover .icon-arrow-right {
    transform: translateX(5px);
}
.news-link {
    text-decoration: none;
    color: inherit;
    display: block;
}
.news-link:hover .news-title {
    color: #0066cc;
}
.view-more {
    display: inline-block;
    color: #0066cc;
    text-decoration: none;
    margin: 0 15px 15px;
    padding-bottom: 2px;
    border-bottom: 1px solid #0066cc;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-top: 50px;
}

.page-btn {
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    color: #333;
    background-color: white;
    border: 1px solid #ddd;
    transition: all 0.3s;
}

.page-btn.active, .page-btn:hover {
    background-color: #00468b;
    color: white;
    border-color: #00468b;
}

.ellipsis {
    color: #666;
}

/* 联系我们页面样式 */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.contact-info h3 {
    color: #00468b;
    margin-bottom: 20px;
    font-size: 22px;
}

.contact-details {
    list-style: none;
}

.contact-item {
    display: flex;
    margin-bottom: 20px;
}

.icon-address, .icon-phone, .icon-fax, .icon-email, .icon-postcode {
    color: #00468b;
    font-size: 20px;
    margin-right: 15px;
    flex-shrink: 0;
}

.contact-label {
    font-weight: bold;
    margin-right: 5px;
}

.contact-form h3 {
    color: #00468b;
    margin-bottom: 20px;
    font-size: 22px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-group input, .form-group select, .form-group textarea {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    resize: vertical;
}

.cooperation-info {
    background-color: #f0f7ff;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
}

.cooperation-info h3 {
    color: #00468b;
    margin-bottom: 15px;
    font-size: 22px;
}

.cooperation-info p {
    margin-bottom: 25px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.join-btn, .cooperation-btn {
    margin: 0 10px;
}

@media (max-width: 768px) {
    .contact-container {
        grid-template-columns: 1fr;
    }
}

/* 图标样式（使用CSS模拟，实际项目中可使用Font Awesome等图标库） */
.icon-address::before { content: "📍"; }
.icon-phone::before { content: "📞"; }
.icon-fax::before { content: "📠"; }
.icon-email::before { content: "📧"; }
.icon-postcode::before { content: "📮"; }
.icon-download::before { content: "📄"; }
.icon-arrow-right::before { content: "→"; }

/* 调解员风采样式 */
.mediators-showcase-section {
    background-color: #fff;
    padding: 40px 0;
    margin-top: 30px;
}

.mediators-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
    margin-bottom: 30px;
}

.mediator-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mediator-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.mediator-photo {
    margin: 0 auto 15px;
    width: 140px;
    height: 145px;
    border-radius: 4px;
    overflow: hidden;
}

.mediator-item h3 {
    font-size: 20px;
    color: #00468b;
    margin-bottom: 10px;
}

.mediator-expertise {
    font-size: 16px;
    color: #666;
    margin-bottom: 10px;
    font-style: italic;
}

.mediator-background {
    font-size: 16px;
    line-height: 1.6;
    color: #333;
}

.mediators-more {
    text-align: center;
    margin-top: 20px;
}

/* 合作机构样式 */
.cooperation-section {
    background-color: #f5f5f5;
    padding: 40px 0;
    margin-top: 20px;
}

.cooperation-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cooperation-intro {
    text-align: center;
    max-width: 800px;
    margin-bottom: 40px;
}

.cooperation-intro p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    color: #666;
}

.cooperation-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    justify-items: center;
    max-width: 900px;
    width: 100%;
}

.logo-item {
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
}

.logo-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
}

@media (max-width: 768px) {
    .cooperation-logos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .logo-item {
        height: 80px;
    }
    
    .cooperation-intro p {
        font-size: 14px;
    }
}

/* 商事调解模块响应式设计 */
@media (max-width: 1200px) {
    .mediation-container {
        gap: 15px;
    }
    
    .mediation-link {
        min-width: 140px;
    }
}

@media (max-width: 992px) {
    .mediation-container {
        flex-direction: column;
        align-items: center;
        gap: 12px;
    }
    
    .mediation-link {
        min-width: 250px;
        width: 80%;
    }
    
    .mediation-item {
        padding: 18px 12px;
    }
    
    .mediation-icon {
        width: 35px;
        height: 35px;
    }
    
    .mediation-item h3 {
        font-size: 15px;
    }
}

@media (max-width: 768px) {
    .mediation-link {
        width: 90%;
        min-width: 200px;
    }
    
    .mediation-item {
        padding: 15px 10px;
    }
    
    .submenu-icon {
        margin-bottom: 12px;
    }
    
    .icon-arrow-down {
        font-size: 14px;
        margin-top: 5px;
    }
}