/* ... existing code ... */

/* 轮播图样式 */

/* 轮播图样式 */
.banner-slider {
    position: absolute;
    top: 0;
    left: 8px;
    width: 98.8%;
    height: 100vh;
    overflow: hidden;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: opacity 0.5s ease-in-out;
}

.banner-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
}

.banner-slide.active {
    opacity: 1;
}

/* 确保统计数据在轮播图上方 */
.banner-content {
    position: relative;
    z-index: 2;
}

/* 统计数据样式   position: absolute;
    top: 85%;
    left: 50%;
    transform: translate(-50%, 90%);
    display: flex;
    gap: 3rem;
    background: rgba(15, 15, 15, 0.9);
    padding: 2rem;
    border-radius: 10px;  */
.stats-container {
 
    position: absolute;
    top: 80%;
    left: 50%;
    transform: translate(-50%, 0%);
    width: 100%;
    display: flex;
    z-index: 10;
   
}

.statistics {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-around;
    gap: 200px;
    padding: 0 20px;
}

.stat-item {
    text-align: center;
    color: white;
}

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

.stat-item .number {
    font-size: 64px;
    font-weight: bold;
    font-family: 'Arial', sans-serif;
    letter-spacing: -2px;
}

.stat-item .unit {
    font-size: 24px;
    margin-left: 8px;
}

.stat-item p {
    font-size: 18px;
    opacity: 0.9;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .stat-item .number {
        font-size: 48px;
    }
    
    .stat-item .unit {
        font-size: 18px;
    }
    
    .stat-item p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .statistics {
        flex-direction: column;
        gap: 30px;
    }
}

/* 导航栏样式 */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.98);
    /* box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); */
    z-index: 1000;
    transition: background-color 0.3s;
}

/* 当滚动时的样式 */
.header.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
}

.header .container {
    max-width: 1300px;
    margin: 0 auto;
    padding: 0 15px;
    height: 80px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo img {
    height: 80px;
}

/* 导航菜单样式 */
.main-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.main-nav li {
    margin: 0 20px;
}

.main-nav a {
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s;
    position: relative;
    padding: 5px 0;
}

.main-nav a:hover,
.main-nav a.active {
    color: #b38d54;
}

/* .main-nav a.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #b38d54;
} */

/* 用户操作按钮样式 */
.user-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.login-btn,
.register-btn {
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: all 0.3s;
}

.login-btn {
    color: #b38d54;
    border: 1px solid #b38d54;
}

.login-btn:hover {
    background-color: rgba(179, 141, 84, 0.1);
}

.register-btn {
    background-color: #b38d54;
    color: white;
}

.register-btn:hover {
    background-color: #aa854f;
}

/* 响应式导航样式 */
@media (max-width: 1024px) {
    .main-nav li {
        margin: 0 15px;
    }
    
    .main-nav a {
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    .header .container {
        height: 60px;
    }
    
    .logo img {
        height: 30px;
    }
    
    .main-nav {
        display: none; /* 在移动端可以替换为汉堡菜单 */
    }
    
    .user-actions {
        gap: 10px;
    }
    
    .login-btn,
    .register-btn {
        padding: 6px 15px;
        font-size: 12px;
    }

}
    /* 内容区域样式 
    padding: 4rem 2rem;*/
    .section {
        
        min-height: 100vh;
    }
    
    .section-title {
        text-align: center;
        margin-bottom: 2rem;
        font-size: 2rem;
    }
    
    /* 合作机构样式 */
    .partners {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 2rem;
        padding: 2rem;
    }
    
    /* 咨询师团队样式 */
    .team {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 2rem;
        padding: 2rem;
    }
    
    .team-member {
        text-align: center;
        padding: 1rem;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }
    
    /* 案例展示样式 */
    .cases {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
        gap: 2rem;
        padding: 2rem;
    }
    
    .case-item {
        padding: 1rem;
        box-shadow: 0 0 10px rgba(0,0,0,0.1);
    }

/* 合作机构部分样式 */
#partners {
    background-color: #1f1f1f;
    color: white;
    padding: 80px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 40px;
}

.title-icon {
    font-size: 24px;
    color: #fff;
    margin-bottom: 20px;
}

.section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
}

/* 标签切换样式 */
.partner-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
    cursor: pointer;
    position: relative;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #b38d54;
    border-radius: 4px;
}

/* 滑块容器样式 */
.partner-slider {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 50px;
}

/* 左右箭头按钮 */
.slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 2;
}

.slider-arrow:hover {
    background: rgba(255, 255, 255, 0.2);
}

.slider-arrow.prev {
    left: 0;
}

.slider-arrow.next {
    right: 0;
}

/* 合作机构卡片样式 */
.partner-cards {
    display: flex;
    gap: 30px;
    overflow: hidden;
}

.partner-card {
    flex: 0 0 calc(33.333% - 20px);
    background: #2a2a2a;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s;
}

.partner-card:hover {
    transform: translateY(-5px);
}

.card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

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

.team-label {
    position: absolute;
    top: 20px;
    right: 20px;
    padding: 6px 12px;
    background: rgba(179, 141, 84, 0.9);
    color: white;
    border-radius: 4px;
    font-size: 14px;
}

.card-content {
    padding: 20px;
}

.card-content h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.location {
    display: flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
}

.location-icon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background: url('../images/location.png') no-repeat center;
    background-size: contain;
    margin-right: 0px;
}

.description {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.6;
}

/* 响应式样式 */
@media (max-width: 1024px) {
    .partner-card {
        flex: 0 0 calc(50% - 15px);
    }
}

@media (max-width: 768px) {
    .partner-card {
        flex: 0 0 100%;
    }
    
    .partner-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}
/* 律师咨询部分样式 */
#consultants {
    padding-left: 80px;
    padding-top: 80px;
    background: #fff;
}

.zxs-section-header {
    text-align: left;
    margin-bottom: 40px;
    /* display: flex; */
    /* align-items: flex-start; */
    gap: 20px;
}

.title-icon {
    color: #b38d54;
    font-size: 24px;
}

.title-group h2 {
    font-size: 36px;
    font-weight: bold;
    margin-bottom: 10px;
    color: #333;
}

.title-group h3 {
    font-size: 24px;
    margin-bottom: 10px;
    color: #333;
}

.title-group p {
    color: #666;
    font-size: 16px;
}

/* 筛选按钮样式 */
.filter-tabs {
    margin-bottom: 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.filter-btn {
    padding: 10px 25px;
    border: 1px solid #b38d54;
    background: transparent;
    color: #b38d54;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 15px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.filter-btn.active {
    background: #b38d54;
    color: white;
}

.filter-btn:hover {
    background: rgba(179, 141, 84, 0.1);
}

/* 律师卡片网格 */
.lawyer-grid {
    display: flex;
    /* grid-template-columns: repeat(5, 1fr); */
    gap: 20px;
}

/* 律师卡片样式 */
.lawyer-card {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.lawyer-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.zxs-card-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.zxs-card-image img {
    width: 240px;
    height: 360px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.lawyer-card:hover .zxs-card-image img {
    transform: scale(1.05);
}

.badge {
    position: absolute;
    top: 10px;
    left: 10px;
    background: #b38d54;
    color: white;
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.card-info {
    padding: 15px;
}

.card-info h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 8px;
}

.experience, .education {
    font-size: 14px;
    color: #666;
    margin-bottom: 5px;
}

.consult-btn {
    width: 100%;
    padding: 8px 0;
    background: #b38d54;
    color: white;
    border: none;
    border-radius: 4px;
    margin-top: 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.consult-btn:hover {
    background: #9a7945;
}

/* 查看更多链接 */
.view-more {
    text-align: center;
}

.more-link {
    display: inline-flex;
    align-items: center;
    color: #333;
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s ease;
}

.more-link .arrow {
    margin-left: 8px;
    transition: transform 0.3s ease;
}

.more-link:hover {
    color: #b38d54;
}

.more-link:hover .arrow {
    transform: translateX(5px);
}

/* 响应式布局 */
@media (max-width: 1200px) {
    .lawyer-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (max-width: 992px) {
    .lawyer-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .lawyer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .section-header {
        flex-direction: column;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .lawyer-grid {
        grid-template-columns: 1fr;
    }
    
    .filter-tabs {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }
    
    .filter-btn {
        margin-right: 0;
        width: 100%;
    }
}
/* 案例展示部分样式 */
.dark-section {
    /* background-color: #1f1f1f; */
    background-color: #841414;
    color: white;
    padding: 80px 0;
}

.case-section-header {
    text-align: center;
    margin-bottom: 40px;
}

.title-icon {
    color: #b38d54;
    font-size: 24px;
    margin-bottom: 20px;
}

.case-section-header h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.case-section-header p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 16px;
    margin-bottom: 30px;
}

/* 头部标签按钮 */
.header-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.tab-btn {
    padding: 12px 30px;
    border: none;
    background: transparent;
    color: white;
    font-size: 16px;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.3s;
}

.tab-btn.active {
    background-color: #b38d54;
}

/* 导航分类 */
.cases-nav {
    margin-bottom: 40px;
}

.nav-categories {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 20px;
}

.category-link {
    color: white;
    text-decoration: none;
    font-size: 18px;
    padding-bottom: 5px;
    position: relative;
    transition: all 0.3s;
}

.category-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #b38d54;
    transition: width 0.3s;
}

.category-link:hover::after,
.category-link.active::after {
    width: 100%;
}

/* 筛选标签 */
.filter-tags {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.tag {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 14px;
    transition: all 0.3s;
    background: rgba(255, 255, 255, 0.1);
}

.tag:hover,
.tag.active {
    background: #b38d54;
    color: white;
}

/* 案例卡片网格 */
.cases-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 40px;
}

.case-card {
    /* background: rgba(255, 255, 255, 0.05); */
    background:rgba(15, 15, 15, 0.9);
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s;
    cursor: pointer;
}

.case-card:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-5px);
}

.case-content {
    padding: 20px;
}

.case-content h3 {
    font-size: 16px;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-desc {
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    margin-bottom: 15px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.case-time {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
}

/* 查看更多按钮 */
.view-more {
    text-align: center;
}

.more-link {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 16px;
    transition: all 0.3s;
}

.more-link .arrow {
    margin-left: 8px;
    transition: transform 0.3s;
}

.more-link:hover {
    color: #b38d54;
}

.more-link:hover .arrow {
    transform: translateX(5px);
}

/* 响应式布局 */
@media (max-width: 992px) {
    .cases-grid {
        grid-template-columns: 1fr;
    }
    
    .nav-categories {
        gap: 20px;
        flex-wrap: wrap;
    }
}

@media (max-width: 768px) {
    .header-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .tab-btn {
        width: 100%;
        max-width: 300px;
    }
}
/* 页脚样式 */
.footer {
    /* background: linear-gradient(90deg, #003B8F 0%, #0085D0 100%); */
    background:linear-gradient(90deg, #5e3b07 0%, #21220d 100%);
    color: white;
    border-radius: 12px;
}

/* 页脚顶部部分 */
.footer-top {
    margin-left: 50px;
    margin-right: 50px;
    /* padding: 10px 0; */
}

.footer-top .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}



.logo img {
    height: 80px;
}

.phone-number {
    font-size: 34px;
    font-weight: bold;
    color: #fff;
}
.phone-title{
    color: #7e7e7e;
    font-size: 12px;
    padding-bottom: 10px;
}

.service-time {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

/* 社交媒体链接 */
.social-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.social-link {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: translateY(-3px);
}

.social-link img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); /* 将图标转为白色 */
}
.footer-font{
    color: #fff;
    font-size: 34px;
    font-weight: 700;
    padding-bottom: 10px;
}
.weixin-img{
    height: 100px;width: 100px;padding-bottom: 10px;padding-top: 10px;
}

/* 页脚底部部分 */
.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
    margin: 50px;
}

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* 版权信息 */
.copyright {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.divider {
    margin: 0 10px;
    color: rgba(255, 255, 255, 0.3);
}

/* 底部链接 */
.footer-links {
    display: flex;
    align-items: center;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: white;
}

/* 响应式布局 */
@media (max-width: 992px) {
    .footer-top .container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .contact-info {
        flex-direction: column;
        gap: 15px;
    }

    .social-links {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .footer-bottom .container {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .copyright {
        display: flex;
        flex-direction: column;
        gap: 5px;
    }

    .copyright .divider {
        display: none;
    }
}
.news-card {
    background: #f6fbfa; border-radius: 12px; overflow: hidden; box-shadow: 0 2px 12px rgba(0,0,0,0.06); flex: 1; display: flex; flex-direction: column;
}
/* ... existing code ... */
.about-image{
/* width: 100%;
height: 200%;
position: absolute;
background-size: 100% 100%;
background-attachment: scroll; */
width: 100%;display: block;
}
/*产品展示*/
.main-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
  }
  
  .main-nav > ul > li {
    position: relative;
    margin-right: 40px;
  }
  
  .main-nav .dropdown {
    display: none;
    position: absolute;
    top: 130%;
    left: 0;
    background: #fff;
    min-width: 240px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
    z-index: 100;
    border-radius: 2px;
    padding: 20px 0;
  }
  
  .main-nav li:hover > .dropdown {
    display: block;
  }
  
  .main-nav .dropdown li {
    padding: 10px 30px;
  }
  
  .main-nav .dropdown li a {
    color: #333;
    text-decoration: none;
    font-size: 22px;
    display: block;
  }
  
  .main-nav .dropdown li a:hover {
    color: #1976d2;
  }
/*新闻动态页面*/
.news-header {
    text-align: center;
    margin-top: 20px;
  }
  .news-header h1 {
    color: #e60012;
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 30px;
  }
  
  .news-main {
    display: block;
    justify-content: center;
    align-items: flex-start;
    gap: 30px;
  }
  
  .news-carousel {
    position: relative;
    width: 800px;
    height: 400px;
    background: #f5f5f5;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  }
  
  .carousel-slide {
    width: 100%;
    height: 100%;
    display: none;
    position: relative;
  }
  .carousel-slide.active {
    display: block;
  }
  .carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  .carousel-caption {
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 22px;
    padding: 16px 20px;
    box-sizing: border-box;
  }
  
  .carousel-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 36px;
    color: #fff;
    background: rgba(0,0,0,0.3);
    border-radius: 50%;
    width: 48px;
    height: 48px;
    line-height: 48px;
    text-align: center;
    cursor: pointer;
    z-index: 2;
    user-select: none;
  }
  .carousel-arrow.left { left: 10px; }
  .carousel-arrow.right { right: 10px; }
  
  .carousel-dots {
    position: absolute;
    right: 20px;
    bottom: 16px;
  }
  .carousel-dots .dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    margin-left: 6px;
    opacity: 0.5;
    cursor: pointer;
  }
  .carousel-dots .dot.active {
    background: #e60012;
    opacity: 1;
  }
  
  .news-list {
    width: 400px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    padding: 20px 0 20px 0;
  }
  .news-tabs {
    display: flex;
    border-bottom: 2px solid #f0f0f0;
    margin-bottom: 10px;
    padding: 0 20px;
  }
  .news-tabs .tab {
    margin-right: 24px;
    font-size: 23px;
    color: #333;
    cursor: pointer;
    padding-bottom: 8px;
  }
  .news-tabs .tab.active {
    color: #e60012;
    border-bottom: 2px solid #e60012;
    font-weight: bold;
  }
  .news-list ul {
    list-style: none;
    padding: 0 20px;
    margin: 0;
  }
  .news-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px dotted #eee;
    padding: 10px 0;
    font-size: 18px;
  }
  .news-list li a {
    color: #222;
    text-decoration: none;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }
  .news-list li .date {
    color: #999;
    font-size: 16px;
    margin-left: 16px;
    flex-shrink: 0;
  }