/* 服务详情页面样式 */
.service-hero {
    height: 400px;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    margin-top: 80px;
}

.service-hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(74, 111, 165, 0.85) 0%, rgba(74, 111, 165, 0.7) 100%);
}

.service-hero-content {
    position: relative;
    z-index: 2;
    color: white;
    max-width: 800px;
}

.service-hero-title {
    font-size: 48px;
    font-weight: bold;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.service-hero-description {
    font-size: 18px;
    line-height: 1.6;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.service-nav {
    background-color: #f5f5f5;
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.service-nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
}

.service-nav-link {
    color: #4a6fa5;
    font-weight: bold;
    padding: 10px 20px;
    background-color: white;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.service-nav-link:hover {
    background-color: #4a6fa5;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.service-nav-link.active {
    background-color: #4a6fa5;
    color: white;
}

.service-content {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.back-to-home {
    display: inline-block;
    margin-top: 40px;
    color: #4a6fa5;
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s;
}

.back-to-home:hover {
    color: #3a5f95;
    text-decoration: underline;
}

.service-intro-section {
    padding: 80px 0;
    background-color: white;
}

.section-title {
    font-size: 36px;
    color: #333;
    text-align: center;
    margin-bottom: 50px;
    font-weight: bold;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4a6fa5;
}

.service-detail-container {
    max-width: 1200px;
    margin: 0 auto;
}

.service-item {
    display: flex;
    margin-bottom: 100px;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.service-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
}

.service-item.reverse {
    flex-direction: row-reverse;
}

.service-image {
    flex: 0 0 45%;
    max-width: 45%;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.service-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.service-item:hover .service-image img {
    transform: scale(1.05);
}

.service-content {
    flex: 0 0 55%;
    max-width: 55%;
    padding: 0 40px;
}

.service-item.reverse .service-content {
    padding-left: 0;
    padding-right: 40px;
}

.service-subtitle {
    font-size: 28px;
    color: #4a6fa5;
    margin-bottom: 20px;
    font-weight: bold;
    position: relative;
    padding-bottom: 10px;
}

.service-subtitle::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background-color: #4a6fa5;
}

.service-description {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 25px;
}

.service-features {
    margin-bottom: 30px;
}

.service-feature {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.feature-icon {
    color: #4a6fa5;
    margin-right: 10px;
    font-weight: bold;
    flex-shrink: 0;
}

.feature-text {
    font-size: 15px;
    color: #555;
    line-height: 1.6;
}

.service-benefits {
    background-color: white;
    padding: 25px;
    border-radius: 8px;
    border-left: 4px solid #4a6fa5;
    margin-top: 25px;
}

.service-benefits h4 {
    color: #4a6fa5;
    margin-bottom: 15px;
    font-size: 18px;
}

.service-benefits ul {
    list-style-type: none;
    padding-left: 0;
}

.service-benefits li {
    padding: 5px 0;
    color: #555;
    position: relative;
    padding-left: 20px;
}

.service-benefits li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #4a6fa5;
    font-weight: bold;
}

.service-contact-btn {
    display: inline-block;
    background-color: #4a6fa5;
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 20px;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    margin-top: 20px;
}

.service-contact-btn:hover {
    background-color: #3a5f95;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.service-process {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.process-step {
    flex: 0 0 calc(25% - 30px);
    max-width: calc(25% - 30px);
    text-align: center;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
    position: relative;
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    width: 50px;
    height: 50px;
    background-color: #4a6fa5;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    margin: 0 auto 20px;
}

.process-step h4 {
    color: #333;
    margin-bottom: 15px;
    font-size: 18px;
}

.process-step p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

.service-faq {
    padding: 80px 0;
    background-color: white;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #eaeaea;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    padding: 20px;
    background-color: #f8faff;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
    color: #333;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #eef2ff;
}

.faq-answer {
    padding: 20px;
    display: none;
    color: #555;
    line-height: 1.6;
    background-color: white;
}

.faq-item.active .faq-answer {
    display: block;
}

/* 咨询弹窗样式 */
.consult-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.consult-modal-content {
    background-color: white;
    border-radius: 15px;
    width: 90%;
    max-width: 800px;
    padding: 40px;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease;
}

@keyframes slideUp {
    from { 
        transform: translateY(50px);
        opacity: 0;
    }
    to { 
        transform: translateY(0);
        opacity: 1;
    }
}

.consult-modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 30px;
    height: 30px;
    background-color: #f5f5f5;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 20px;
    color: #666;
    transition: all 0.3s ease;
    z-index: 100;
}

.consult-modal-close:hover {
    background-color: #4a6fa5;
    color: white;
    transform: rotate(90deg);
}

.consult-modal-body {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 20px;
}

.consult-qr-section {
    flex: 0 0 200px;
    text-align: center;
}

.consult-qr-code {
    width: 200px;
    height: 200px;
    background-color: #f5f5f5;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    overflow: hidden;
}

.consult-qr-code img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.consult-qr-section p {
    color: #666;
    font-size: 14px;
    margin: 0;
}

.consult-info-section {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.consult-logo {
    margin-bottom: 30px;
    text-align: center;
}

.consult-logo img {
    max-width: 100px;
    height: auto;
}

.consult-phone {
    text-align: center;
}

.consult-phone h3 {
    color: #333;
    font-size: 18px;
    margin-bottom: 10px;
    font-weight: normal;
}

.consult-phone-number {
    font-size: 28px;
    color: #4a6fa5;
    font-weight: bold;
    margin: 0;
    letter-spacing: 1px;
}

.consult-work-time {
    font-size: 14px;
    color: #888;
    margin-top: 5px;
    margin-bottom: 20px;
}

.consult-modal-title {
    text-align: center;
    color: #333;
    font-size: 28px;
    margin-bottom: 10px;
    position: relative;
    padding-bottom: 15px;
}

.consult-modal-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4a6fa5;
}

.consult-modal-subtitle {
    text-align: center;
    color: #666;
    font-size: 16px;
    margin-bottom: 30px;
}

/* 响应式调整 */
@media (max-width: 1024px) {
    .process-step {
        flex: 0 0 calc(50% - 20px);
        max-width: calc(50% - 20px);
        margin-bottom: 30px;
    }
}

@media (max-width: 768px) {
    .service-hero-title {
        font-size: 36px;
    }
    
    .service-item {
        flex-direction: column;
        padding: 30px;
    }
    
    .service-item.reverse {
        flex-direction: column;
    }
    
    .service-image,
    .service-content {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .service-image {
        margin-bottom: 30px;
    }
    
    .service-content {
        padding: 0;
    }
    
    .service-item.reverse .service-content {
        padding: 0;
    }
    
    .process-step {
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .section-title {
        font-size: 30px;
    }

    .consult-modal-content {
        padding: 30px 20px;
        width: 95%;
    }
    
    .consult-modal-body {
        flex-direction: column;
        gap: 30px;
    }
    
    .consult-qr-section {
        flex: 0 0 auto;
    }
    
    .consult-phone-number {
        font-size: 24px;
    }
    
    .consult-modal-title {
        font-size: 24px;
    }
}

@media (max-width: 480px) {
    .service-hero {
        height: 300px;
    }
    
    .service-hero-title {
        font-size: 28px;
    }
    
    .service-nav-links {
        flex-direction: column;
        align-items: center;
    }
    
    .service-nav-link {
        width: 100%;
        text-align: center;
        margin-bottom: 10px;
    }

    .consult-qr-code {
        width: 180px;
        height: 180px;
    }
    
    .consult-phone-number {
        font-size: 22px;
    }
    
    .consult-modal-title {
        font-size: 22px;
    }
}