/* 个人服务页面共用样式 */
/* 基于 training-content.css，针对个人服务页面优化 */

.personal-service-content {
    padding: 60px 0;
    background-color: #f9f9f9;
}

.personal-service-content .section-header {
    text-align: center;
    margin-bottom: 50px;
}

.personal-service-content .section-header h1 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.personal-service-content .section-header h2 {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #333;
}

.personal-service-content .section-header p {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

.personal-service-content .highlight {
    color: #6a44f2;
    position: relative;
}

.personal-service-content .section-subtitle {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 30px;
    position: relative;
    padding-left: 15px;
    color: #333;
}

.personal-service-content .section-subtitle:before {
    content: '';
    position: absolute;
    left: 0;
    top: 8px;
    height: 20px;
    width: 5px;
    background-color: #6a44f2;
}

/* 服务特色卡片 */
.personal-service-features {
    margin-bottom: 60px;
}

.personal-service-features .row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    align-items: stretch;
}

.personal-service-features .col-md-4 {
    padding-right: 15px;
    padding-left: 15px;
    margin-bottom: 30px;
    display: flex;
}

.personal-service-feature-card {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-service-feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 68, 242, 0.15);
}

.personal-service-feature-image {
    height: 200px;
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.personal-service-feature-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s ease;
}

.personal-service-feature-card:hover .personal-service-feature-image img {
    transform: scale(1.05);
}

.personal-service-feature-content {
    padding: 25px;
    position: relative;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.personal-service-feature-icon {
    position: absolute;
    top: -25px;
    left: 25px;
    width: 50px;
    height: 50px;
    background-color: #6a44f2;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 20px;
    box-shadow: 0 5px 15px rgba(106, 68, 242, 0.3);
}

.personal-service-feature-content h3 {
    font-size: 20px;
    font-weight: 600;
    margin: 15px 0 10px;
    color: #333;
}

.personal-service-feature-content p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
    flex-grow: 1;
}

/* 课程大纲/服务内容 */
.personal-service-outline {
    margin-bottom: 60px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.personal-service-outline-container {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 25px;
    padding-bottom: 10px;
}

.personal-service-outline-item {
    border-left: 3px solid #6a44f2;
    padding-left: 20px;
    min-width: 250px;
    flex: 1;
}

.personal-service-outline-header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.personal-service-outline-number {
    font-size: 24px;
    font-weight: 700;
    color: #6a44f2;
    margin-right: 15px;
    display: inline-block;
}

.personal-service-outline-header h4 {
    font-size: 20px;
    font-weight: 600;
    margin: 0;
    color: #333;
}

.personal-service-outline-content {
    list-style: none;
    padding: 0;
    margin: 0;
}

.personal-service-outline-content li {
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    font-size: 15px;
    color: #666;
    display: flex;
    align-items: center;
}

.personal-service-outline-content li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #6a44f2;
}

/* 服务收益 */
.personal-service-benefits {
    margin-bottom: 60px;
}

.personal-service-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.personal-service-benefit-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-service-benefit-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(106, 68, 242, 0.15);
}

.personal-service-benefit-item i {
    font-size: 36px;
    color: #6a44f2;
    margin-bottom: 15px;
    display: inline-block;
}

.personal-service-benefit-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.personal-service-benefit-item p {
    font-size: 15px;
    color: #666;
    margin-bottom: 0;
}

/* 服务方式 */
.personal-service-methods {
    margin-bottom: 60px;
}

.personal-service-methods-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.personal-service-method-item {
    display: flex;
    align-items: center;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-service-method-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(106, 68, 242, 0.15);
}

.personal-service-method-icon {
    width: 60px;
    height: 60px;
    background-color: rgba(106, 68, 242, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    flex-shrink: 0;
}

.personal-service-method-icon i {
    font-size: 24px;
    color: #6a44f2;
}

.personal-service-method-content h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
    color: #333;
}

.personal-service-method-content p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.5;
}

/* 服务流程 */
.personal-service-process {
    margin-bottom: 60px;
}

.personal-service-process-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    flex-wrap: wrap;
    gap: 20px;
}

.personal-service-process-step {
    text-align: center;
    position: relative;
    flex: 1;
    min-width: 150px;
}

.personal-service-process-step-number {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a44f2, #4f2edb);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    font-weight: 700;
    margin: 0 auto 15px;
    border: 3px solid #fff;
    box-shadow: 0 0 0 3px rgba(106, 68, 242, 0.2);
}

.personal-service-process-step-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.personal-service-process-step-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
}

.personal-service-process-arrow {
    font-size: 24px;
    color: #ccc;
    margin-top: 30px;
    display: none;
}

@media (min-width: 992px) {
    .personal-service-process-steps .personal-service-process-step:not(:last-child)::after {
        content: '→';
        position: absolute;
        right: -30px;
        top: 30px;
        font-size: 24px;
        color: #ccc;
    }
}

/* 适用人群 */
.personal-service-audience {
    margin-bottom: 60px;
}

.personal-service-audience-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.personal-service-audience-item {
    background-color: #fff;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border-left: 4px solid #6a44f2;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.personal-service-audience-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(106, 68, 242, 0.15);
}

.personal-service-audience-item i {
    font-size: 32px;
    color: #6a44f2;
    margin-bottom: 15px;
    display: block;
}

.personal-service-audience-item h4 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.personal-service-audience-item p {
    font-size: 14px;
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .personal-service-content {
        padding: 40px 0;
    }
    
    .personal-service-content .section-header h1,
    .personal-service-content .section-header h2 {
        font-size: 30px;
    }
    
    .personal-service-content .section-subtitle {
        font-size: 22px;
    }
    
    .personal-service-methods-container {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
    
    .personal-service-outline-item {
        min-width: 220px;
    }
    
    .personal-service-process-steps {
        flex-direction: column;
    }
    
    .personal-service-process-step {
        width: 100%;
    }
    
    .personal-service-process-steps .personal-service-process-step::after {
        display: none;
    }
    
    .personal-service-process-arrow {
        display: block;
        transform: rotate(90deg);
        margin: 10px auto;
    }
}

@media (max-width: 768px) {
    .personal-service-content .section-header h1,
    .personal-service-content .section-header h2 {
        font-size: 26px;
    }
    
    .personal-service-content .section-subtitle {
        font-size: 20px;
    }
    
    .personal-service-feature-image {
        height: 180px;
    }
    
    .personal-service-methods-container,
    .personal-service-benefits-grid,
    .personal-service-audience-grid {
        grid-template-columns: 1fr;
    }
    
    .personal-service-method-item {
        padding: 15px;
    }
    
    .personal-service-method-icon {
        width: 50px;
        height: 50px;
    }
    
    .personal-service-outline-item {
        min-width: 200px;
    }
}

@media (max-width: 576px) {
    .personal-service-content {
        padding: 40px 0;
    }
    
    .personal-service-content .section-header h1,
    .personal-service-content .section-header h2 {
        font-size: 24px;
    }
    
    .personal-service-content .section-header p {
        font-size: 16px;
    }
    
    .personal-service-feature-content {
        padding: 20px;
    }
    
    .personal-service-feature-icon {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .personal-service-feature-content h3 {
        font-size: 18px;
    }
    
    .personal-service-outline-header h4 {
        font-size: 18px;
    }
    
    .personal-service-outline-item {
        min-width: 220px;
    }
}
