/*styles\style-service.css*/
/* 标签内容区域 */
.tab-content {
    display: flex;
    width: 100%;
    max-width: 1200px;
    margin: 30px auto 0;
}

.content-item {
    display: none;
    width: 100%;
    flex-direction: column;
}

.content-item.active {
    display: flex;
}

/* 左文右图布局 */
.text-content {
    flex: 1;
    padding: 40px;
    min-width: 50%;
}

.image-content {
    flex: 1;
    min-width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.content-image {
    width: 100%;
    max-width: 500px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.content-image img {
    width: 100%;
    height: auto;
    display: block;
}

.content-title {
    font-size: 28px;
    color: #9370DB;
    margin-bottom: 20px;
}

.content-text {
    line-height: 1.7;
    color: #495057;
    margin-bottom: 25px;
    font-size: 16px;
}

/* 核心功能区域 - 全宽背景 */
.function-section {
    width: 100%;
    background: rgb(245, 246, 247);
    padding: 80px 0;
    margin-top: 40px;
    /* 使用视口单位实现全宽背景 */
    position: relative;
}

.function-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    height: 100%;
    background: inherit;
    z-index: -1;
}

.function-content {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.function-img {
    width: 100%;
    display: flex;
    justify-content: center;
}

.function-img img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 动画效果 */
@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}