﻿/* 业务体系内页特有样式 */
.services-banner {
    height: 400px;
    width: 100%;
    background: linear-gradient(rgba(22, 41, 136, 0.1), rgba(22, 41, 136, 0.2)), url('../Images/service.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}
.banner-content {
    text-align: center;
    color: white;
    z-index: 2;
    padding: 0 20px;
}
    .banner-content h1 {
        font-size: 48px;
        margin-bottom: 20px;
        text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.3);
        animation: fadeInDown 1s ease;
    }

    .banner-content p {
        font-size: 20px;
        opacity: 0.9;
        animation: fadeInUp 1s ease 0.3s both;
    }

/* 子导航区域 */
.services-subnav {
    background-color: var(--light-gray);
    padding: 20px 0;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    position: sticky;
    top: 100px;
    z-index: 99;
}

.subnav-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.subnav-item {
    position: relative;
}

.subnav-link {
    color: var(--dark-gray);
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding: 8px 0;
    transition: all 0.3s ease;
    position: relative;
    display: inline-block;
}

    .subnav-link:hover {
        color: var(--primary-red);
    }

    .subnav-link.active {
        color: var(--primary-red);
        font-weight: 600;
    }

        .subnav-link.active::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 2px;
            background-color: var(--primary-red);
        }

/* 内容区域 */
.services-content-section {
    padding: 80px 0;
}

/* 服务分类介绍 */
.services-intro {
    margin-bottom: 60px;
    text-align: center;
}

    .services-intro h2 {
        font-size: 32px;
        color: var(--dark-blue);
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

        .services-intro h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary-red);
        }

    .services-intro p {
        font-size: 18px;
        color: var(--text-color);
        line-height: 1.8;
        max-width: 800px;
        margin: 0 auto;
    }

/* 业务详情区域 - 修改后的样式 */
.service-detail-section {
    margin-bottom: 80px;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    position: relative;
    border-top: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

    .service-detail-section:hover {
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
        border-top-color: var(--primary-red);
    }

.service-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.service-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(22, 41, 136, 0.08);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 25px;
    flex-shrink: 0;
}

    .service-icon i {
        font-size: 40px;
        color: var(--primary-blue);
    }

.service-header-content h3 {
    font-size: 28px;
    color: var(--dark-blue);
    margin-bottom: 10px;
    position: relative;
    display: inline-block;
}

    .service-header-content h3::after {
        content: '';
        position: absolute;
        bottom: -5px;
        left: 0;
        width: 0;
        height: 2px;
        background-color: var(--primary-red);
        transition: width 0.4s ease;
    }

.service-detail-section:hover .service-header-content h3::after {
    width: 100%;
}

.service-intro-text {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.7;
    max-width: 800px;
}

/* 业务特色部分 */
.service-features {
    margin-top: 40px;
}

.features-title {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 25px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
}

    .features-title::before {
        content: '';
        position: absolute;
        bottom: -1px;
        left: 0;
        width: 60px;
        height: 2px;
        background-color: var(--primary-red);
    }

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.feature-item {
    background-color: rgba(22, 41, 136, 0.02);
    border-radius: 8px;
    padding: 20px;
    border-left: 3px solid var(--primary-blue);
    transition: all 0.3s ease;
}

    .feature-item:hover {
        background-color: rgba(231, 0, 17, 0.02);
        border-left-color: var(--primary-red);
        transform: translateX(5px);
    }

    .feature-item h4 {
        font-size: 18px;
        color: var(--dark-blue);
        margin-bottom: 10px;
        display: flex;
        align-items: center;
    }

        .feature-item h4 i {
            color: var(--primary-red);
            margin-right: 8px;
            font-size: 16px;
        }

    .feature-item p {
        font-size: 15px;
        color: var(--text-color);
        line-height: 1.6;
    }

/* 办理流程部分 */
.service-process {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.process-title {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

    .process-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 2px;
        background-color: var(--primary-red);
    }

.process-steps-detailed {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

.process-step-detailed {
    flex: 1;
    min-width: 180px;
    background-color: white;
    border-radius: 8px;
    padding: 25px 20px;
    text-align: center;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    border-top: 4px solid var(--primary-blue);
    transition: all 0.3s ease;
}

    .process-step-detailed:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
        border-top-color: var(--primary-red);
    }

.step-number-detailed {
    width: 40px;
    height: 40px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    margin: 0 auto 15px;
    transition: background-color 0.3s ease;
}

.process-step-detailed:hover .step-number-detailed {
    background-color: var(--primary-red);
}

.process-step-detailed h4 {
    font-size: 17px;
    color: var(--dark-blue);
    margin-bottom: 10px;
}

.process-step-detailed p {
    font-size: 14px;
    color: var(--text-color);
    line-height: 1.6;
}

/* 所需材料部分 */
.service-materials {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.materials-title {
    font-size: 22px;
    color: var(--dark-blue);
    margin-bottom: 25px;
    position: relative;
    display: inline-block;
    padding-bottom: 10px;
}

    .materials-title::after {
        content: '';
        position: absolute;
        bottom: 0;
        left: 0;
        width: 60px;
        height: 2px;
        background-color: var(--primary-red);
    }

.materials-list {
    background-color: rgba(22, 41, 136, 0.02);
    border-radius: 8px;
    padding: 25px;
}

    .materials-list ul {
        list-style-type: none;
        padding-left: 0;
    }

    .materials-list li {
        padding: 12px 0;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
        font-size: 15px;
        color: var(--text-color);
        display: flex;
        align-items: center;
    }

        .materials-list li:last-child {
            border-bottom: none;
        }

        .materials-list li i {
            color: var(--primary-blue);
            margin-right: 12px;
            font-size: 14px;
        }

/* 业务流程部分 */
.process-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.process-header {
    text-align: center;
    margin-bottom: 50px;
}

    .process-header h2 {
        font-size: 32px;
        color: var(--dark-blue);
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

        .process-header h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary-red);
        }

    .process-header p {
        font-size: 18px;
        color: var(--text-color);
        line-height: 1.8;
        max-width: 800px;
        margin: 0 auto;
    }

/* 流程步骤 */
.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    flex: 1;
    min-width: 200px;
    max-width: 250px;
    text-align: center;
    padding: 30px 20px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

    .process-step:hover {
        transform: translateY(-10px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

.step-number {
    width: 50px;
    height: 50px;
    background-color: var(--primary-blue);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 20px;
    transition: background-color 0.3s ease;
}

.process-step:hover .step-number {
    background-color: var(--primary-red);
}

.process-step h3 {
    font-size: 18px;
    color: var(--dark-blue);
    margin-bottom: 15px;
}

.process-step p {
    color: var(--text-color);
    line-height: 1.6;
    font-size: 14px;
}

/* 服务优势部分 */
.advantages-section {
    margin-top: 80px;
    padding-top: 60px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.advantages-header {
    text-align: center;
    margin-bottom: 50px;
}

    .advantages-header h2 {
        font-size: 32px;
        color: var(--dark-blue);
        margin-bottom: 20px;
        position: relative;
        display: inline-block;
        padding-bottom: 15px;
    }

        .advantages-header h2::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            transform: translateX(-50%);
            width: 80px;
            height: 3px;
            background-color: var(--primary-red);
        }

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
}

.advantage-item {
    background-color: white;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-blue);
}

    .advantage-item:hover {
        transform: translateY(-5px);
        border-left-color: var(--primary-red);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    }

    .advantage-item h3 {
        font-size: 20px;
        color: var(--dark-blue);
        margin-bottom: 15px;
        display: flex;
        align-items: center;
    }

        .advantage-item h3 i {
            color: var(--primary-red);
            margin-right: 10px;
        }

    .advantage-item p {
        color: var(--text-color);
        line-height: 1.6;
        font-size: 15px;
    }

/* 咨询区域 */
.consultation-section {
    margin-top: 80px;
    padding: 60px;
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--dark-blue) 100%);
    border-radius: 16px;
    text-align: center;
    color: white;
}

.consultation-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
}

.consultation-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.consultation-btn {
    display: inline-block;
    padding: 15px 40px;
    background-color: var(--primary-red);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    border: 2px solid var(--primary-red);
}

    .consultation-btn:hover {
        background-color: transparent;
        transform: translateY(-3px);
        box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    }

/* 响应式设计 */
@media (max-width: 1200px) {
    .features-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 992px) {
    .process-steps {
        justify-content: flex-start;
    }

    .process-step {
        flex: 0 0 calc(50% - 30px);
    }

    .process-steps-detailed {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .services-banner {
        height: 300px;
    }

    .banner-content h1 {
        font-size: 36px;
    }

    .banner-content p {
        font-size: 16px;
    }

    .services-content-section {
        padding: 60px 0;
    }

    .subnav-container {
        gap: 15px;
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }

    .subnav-item {
        flex-shrink: 0;
    }

    .services-intro h2,
    .process-header h2,
    .advantages-header h2 {
        font-size: 28px;
    }

    .service-detail-section {
        padding: 25px;
    }

    .service-header {
        flex-direction: column;
        text-align: center;
    }

    .service-icon {
        margin-right: 0;
        margin-bottom: 20px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .process-step-detailed {
        min-width: 100%;
    }

    .process-step {
        flex: 0 0 100%;
        max-width: 100%;
    }

    .advantages-grid {
        grid-template-columns: 1fr;
    }

    .consultation-section {
        padding: 40px 20px;
    }
}

@media (max-width: 480px) {
    .services-banner {
        height: 250px;
    }

    .banner-content h1 {
        font-size: 28px;
    }

    .service-detail-section {
        padding: 20px;
    }

    .service-header-content h3 {
        font-size: 24px;
    }

    .process-step,
    .advantage-item {
        padding: 20px;
    }
}

/* 动画 */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}
