.front-page {
    background-color: #fff;
}
/* Banner Swiper 基础样式 */
.banner-swiper {
    width: 100%;
    /* height: var(--banner-height); */
    position: relative;
    overflow: hidden;
}

.banner-swiper .swiper {
    width: 100%;
    height: 100%;
    position: relative;
    overflow: visible;
}
.banner-swiper .swiper .swiper-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* 预览区域 */
.preview-area {
    position: absolute;
    top: 0;
    width: 160px;
    height: 100%;
    z-index: 10;
    cursor: pointer;
    /* background: rgba(0, 0, 0, 0.1); */
    opacity: 0;
    transition: opacity var(--animation-duration) ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preview-area:hover {
    opacity: 1;
}

.preview-left {
    left: 0;
}

.preview-right {
    right: 0;
}

/* 导航按钮 */
.banner-swiper .swiper-button-prev,
.banner-swiper .swiper-button-next {
    position: absolute;
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    opacity: 0;
    visibility: hidden;
    transition: all var(--animation-duration) ease;
    color: #fff;
    top: 50%;
    transform: translateY(-50%);
}

.banner-swiper .swiper-button-prev {
    left: 20px;
}

.banner-swiper .swiper-button-next {
    right: 20px;
}

.preview-area:hover .swiper-button-prev,
.preview-area:hover .swiper-button-next {
    opacity: 1;
    visibility: visible;
}

.banner-swiper .swiper-button-prev:after,
.banner-swiper .swiper-button-next:after {
    font-size: 20px;
}

.banner-swiper .slide-inner {
    position: relative;
    width: 100%;
    height: 100%;
    transition: transform var(--animation-duration) ease;
}

.banner-swiper .slide-inner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 分页器样式 */
.banner-swiper .swiper-pagination {
    bottom: 20px !important;
}

.banner-swiper .swiper-pagination-bullet {
    width: 10px;
    background: rgba(255, 255, 255, 0.5);
    opacity: 1;
    transition: all var(--animation-duration) ease;
}

.banner-swiper .swiper-pagination-bullet-active {
    width: 20px;
    border-radius: 5px;
    background: #fff;
}

/* 响应式样式 */
@media (max-width: 768px) {
    .banner-swiper {
        height: auto;
    }

    .banner-swiper .swiper-button-next,
    .banner-swiper .swiper-button-prev {
        width: 40px;
        height: 40px;
    }

    .banner-swiper .swiper-button-next:after,
    .banner-swiper .swiper-button-prev:after {
        font-size: 20px;
    }

    .banner-swiper .swiper-pagination-bullet {
        width: 10px;
    }

    .banner-swiper .swiper-pagination-bullet-active {
        width: 20px;
    }
}

/* Banner Swiper 预览区域样式 */
.banner-swiper {
    position: relative;
    overflow: hidden;
}

.swiper-preview-left,
.swiper-preview-right {
    position: absolute;
    top: 0;
    width: 200px;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

.swiper-preview-left {
    left: 0;
}

.swiper-preview-right {
    right: 0;
}

/* 确保图片不会溢出幻灯片容器 */
.banner-swiper .banner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 我们的服务模块样式 */
.our-services {
    background-color: #fff;
}

.services-container {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: 20px;
}

.service-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: transform 0.3s ease;
}

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

.service-image {
    width: 100%;
    height: 420px;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.15);
    position: relative;
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

/* 悬停覆盖层样式 */
.service-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item:hover .service-overlay {
    opacity: 1;
    visibility: visible;
}

.overlay-content {
    text-align: center;
    color: #fff;
    padding: 20px;
    width: 100%;
}

.service-icon {
    margin-bottom: 20px;
    color: #fff;
}

.service-icon svg {
    width: 40px;
    height: 40px;
    color: #fff;
}

.service-list {
    margin-bottom: 25px;
}

.service-list-item {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 8px;
    padding: 5px 0;
    position: relative;
    transition: all 0.3s ease;
}

.service-list-item.active {
    color: #fff;
    font-weight: 500;
}

.service-list-item.active:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 2px;
    background: #e74c3c;
}

.service-cta {
    margin-top: 20px;
}

.cta-btn {
    background: #f8f9fa;
    color: #333;
    border: none;
    padding: 12px 24px;
    border-radius: 25px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    width: 100%;
}

.cta-btn:hover {
    background: #e9ecef;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.15);
}

.service-label {
    margin-top: 5px;
}

.service-label span {
    font-size: 18px;
    font-weight: 500;
    color: #333;
    line-height: 1.4;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .services-container {
        gap: 15px;
    }
    
    .service-image {
        height: 350px;
    }
    
    .service-label span {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .our-services {
        padding: 60px 0;
    }
    
    .services-container {
        flex-direction: column;
        gap: 30px;
    }
    
    .service-item {
        /* max-width: 400px;
        margin: 0 auto; */
    }
    
    .service-image {
        height: 280px;
    }
    
    .service-label span {
        font-size: 18px;
    }
    
    .overlay-content {
        padding: 15px;
    }
    
    .service-list-item {
        font-size: 13px;
    }
    
    .cta-btn {
        padding: 10px 20px;
        font-size: 13px;
    }
}

/* 项目管理流程模块样式 */
.project-process {
    background: linear-gradient(135deg, #f0f8ff 0%, #ffffff 100%);
    position: relative;
}

.project-process:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.project-process .section-title {
    text-align: center;
    margin-bottom: 30px;
    position: relative;
    z-index: 2;
}

.project-process .section-title h2 {
    font-size: 32px;
    font-weight: 600;
    color: #333;
    margin: 0;
    line-height: 1.4;
}

.process-description {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 2;
}

.process-description p {
    font-size: 16px;
    color: #666;
    line-height: 1.6;
    margin: 0;
}

.process-flowchart {
    position: relative;
    z-index: 2;
    margin-bottom: 50px;
}

.process-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.process-row:last-child {
    margin-bottom: 0;
}

.process-step {
    flex: 1;
    max-width: 200px;
}

.step-card {
    position: relative;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 15px;
    padding: 20px 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.step-number {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 32px;
    font-weight: 700;
    background: linear-gradient(135deg, #007bff, #6f42c1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.step-content {
    margin-top: 10px;
}

.step-content h3 {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.3;
}

.step-content p {
    font-size: 12px;
    color: #666;
    margin: 0;
    line-height: 1.4;
}

.process-arrow {
    width: 40px;
    height: 2px;
    background: repeating-linear-gradient(
        to right,
        #007bff 0px,
        #007bff 4px,
        transparent 4px,
        transparent 8px
    );
    position: relative;
    margin: 0 10px;
}

.process-arrow:after {
    content: '';
    position: absolute;
    right: -5px;
    top: -3px;
    width: 0;
    height: 0;
    border-left: 8px solid #007bff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
}

.process-arrow-curved {
    width: 120px;
    height: 60px;
    margin: 20px auto;
    position: relative;
}

.process-arrow-curved:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 2px dashed #007bff;
    border-top: none;
    border-left: none;
    border-radius: 0 0 0 120px;
}

.process-arrow-curved:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 0;
    border-right: 8px solid #007bff;
    border-top: 4px solid transparent;
    border-bottom: 4px solid transparent;
    transform: rotate(-45deg);
}

.process-cta {
    text-align: center;
    position: relative;
    z-index: 2;
}

.cta-button {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(135deg, #007bff, #6f42c1);
    color: #fff;
    text-decoration: none;
    border-radius: 30px;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    color: #fff;
    text-decoration: none;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .process-row {
        gap: 15px;
    }
    
    .process-step {
        max-width: 160px;
    }
    
    .step-content h3 {
        font-size: 14px;
    }
    
    .step-content p {
        font-size: 11px;
    }
    
    .step-number {
        font-size: 28px;
    }
}

@media (max-width: 768px) {
    .project-process {
        padding: 60px 0;
    }
    
    .project-process .section-title h2 {
        font-size: 24px;
    }
    
    .process-description {
        margin-bottom: 40px;
    }
    
    .process-description p {
        font-size: 14px;
    }
    
    .process-row {
        flex-direction: column;
        gap: 20px;
    }
    
    .process-step {
        max-width: 280px;
    }
    
    .process-arrow {
        width: 2px;
        height: 20px;
        margin: 0;
    }
    
    .process-arrow:after {
        right: -3px;
        top: 12px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        border-top: 8px solid #007bff;
        border-bottom: none;
    }
    
    .process-arrow-curved {
        display: none;
    }
    
    .step-content {
        text-align: center;
    }
    
    .step-content h3 {
        font-size: 16px;
    }
    
    .step-content p {
        font-size: 14px;
    }
    
    .step-number {
        position: relative;
        top: auto;
        right: auto;
        margin: 0 auto 10px;
        text-align: center;
    }
    
    .cta-button {
        padding: 12px 30px;
        font-size: 14px;
    }
}

/* 新闻中心模块样式 */
.news-center {
    background-color: #fff;
}

.news-center .widget-title {
    text-align: center;
    margin-bottom: 50px;
}

.news-center .widget-title h2 {
    font-size: 36px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.news-tabs {
    max-width: 1200px;
    margin: 0 auto;
}

.tab-nav {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
    border-bottom: 2px solid #f0f0f0;
    gap: 40px;
}

.tab-button {
    background: none;
    border: none;
    padding: 15px 0;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tab-icon {
    width: 16px;
    height: 16px;
    color: #666;
    transition: color 0.3s ease;
}

.tab-button.active {
    color: #333;
    font-weight: 600;
}

.tab-button.active .tab-icon {
    color: #007bff;
}

.tab-button.active:after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: #007bff;
}

.tab-content {
    position: relative;
}

.tab-pane {
    display: none;
}

.tab-pane.active {
    display: block;
}

/* 新闻布局 - 左右等高 */
.news-layout {
    display: flex;
    gap: 40px;
    align-items: stretch;
}

/* 左侧大新闻 */
.news-main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.main-news-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-image {
    width: 100%;
    height: 240px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.main-news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-content {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-content h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 0 0 15px 0;
    line-height: 1.4;
}

.news-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    margin: 0 0 20px 0;
    flex: 1;
}

.news-meta {
    margin-top: auto;
}

.news-date {
    font-size: 12px;
    color: #999;
}

/* 右侧三个小新闻 */
.news-sidebar {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.sidebar-news-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
    display: flex;
    gap: 15px;
    padding: 15px;
    flex: 1;
}

.sidebar-news-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.news-thumb {
    width: 80px;
    height: 60px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
}

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

.news-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.news-info h4 {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 8px 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-info p {
    font-size: 12px;
    color: #666;
    line-height: 1.4;
    margin: 0 0 8px 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.news-info .news-date {
    font-size: 12px;
    color: #999;
    margin-top: auto;
}

/* 响应式样式 */
@media (max-width: 1200px) {
    .news-layout {
        gap: 30px;
    }
    
    .news-content h3 {
        font-size: 18px;
    }
    
    .news-content p {
        font-size: 13px;
    }
    
    .tab-nav {
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .news-center .widget-title h2 {
        font-size: 28px;
    }
    
    .tab-nav {
        margin-bottom: 30px;
        gap: 20px;
    }
    
    .tab-button {
        padding: 12px 0;
        font-size: 14px;
    }
    
    .news-layout {
        flex-direction: column;
        gap: 20px;
    }
    
    .news-image {
        height: 200px;
    }
    
    .news-content {
        padding: 20px;
    }
    
    .news-content h3 {
        font-size: 16px;
    }
    
    .news-content p {
        font-size: 12px;
    }
    
    .sidebar-news-card {
        padding: 12px;
    }
    
    .news-thumb {
        width: 60px;
        height: 45px;
    }
    
    .news-info h4 {
        font-size: 13px;
    }
    
    .news-info p {
        font-size: 11px;
    }
}
