﻿/* 咨询培训页特有样式 */

/* 页面标题区域 */
.page-header {
    background: linear-gradient(rgba(15, 32, 55, 0.85), rgba(15, 32, 55, 0.85)), url('https://minimax-algeng-chat-tts.oss-cn-wulanchabu.aliyuncs.com/ccv2%2F2026-04-03%2FMiniMax-M2.7%2F1687257157088627%2Fd49c1bfe5fe3613fe87f8163a8f5031dfc8a19e1eb5bb1e54135728e43c80366..webp?Expires=1775308740&OSSAccessKeyId=LTAI5tGLnRTkBjLuYPjNcKQ8&Signature=%2FM%2BSyC9sBKVBfL9tYPE38F90VeY%3D');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: white;
    padding: 60px 0 50px;
    text-align: center;
    margin: 0;
    position: relative;
    overflow: hidden;
    z-index: 10;
    min-height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    margin-top: -80px;
}

.page-header .container {
    position: relative;
    z-index: 2;
    padding: 60px 40px;
    max-width: 900px;
}

.page-header h1 {
    color: #ffffff !important;
    margin-bottom: 30px !important;
    font-size: 3rem !important;
    font-weight: 700 !important;
    text-shadow: 0 6px 16px rgba(0, 0, 0, 0.9) !important;
    letter-spacing: -1px !important;
    margin-top: 0 !important;
    line-height: 1.2 !important;
}

.page-header p {
    color: #f0f9ff !important;
    font-size: 1.25rem !important;
    max-width: 800px !important;
    margin: 0 auto !important;
    line-height: 1.7 !important;
    margin-bottom: 0 !important;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8) !important;
    font-weight: 500 !important;
}

/* 服务类型切换 */
.service-tabs {
    background-color: white;
    padding: 30px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin-bottom: 40px;
}

.tabs-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.tab-button {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    background-color: #f8f9fa;
    color: #2c3e50;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 500;
}

.tab-button.active {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
}

.tab-button:hover {
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    color: white;
}

/* 咨询服务区域 */
.consulting-services {
    padding: 60px 0;
    background-color: #f8fafc;
}

.consulting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.consulting-card {
    background-color: white;
    border-radius: 12px;
    padding: 35px;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.consulting-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.consulting-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #3182ce 0%, #2c5282 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(49, 130, 206, 0.3);
}

.consulting-card h3 {
    margin-bottom: 15px;
    font-size: 1.25rem;
}

.consulting-card p {
    margin-bottom: 20px;
    color: #7f8c8d;
}

.consulting-features {
    margin-bottom: 25px;
}

.consulting-features ul {
    list-style: none;
}

.consulting-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.consulting-features li::before {
    content: '✓';
    color: #3182ce;
    font-weight: bold;
}

.consulting-price {
    font-size: 1.5rem;
    font-weight: 600;
    color: #3182ce;
    margin-bottom: 20px;
}

/* 培训课程区域 */
.training-courses {
    padding: 40px 0;
    background-color: #f5f7fa;
}

.training-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.training-card {
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.training-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    border-color: #bfdbfe;
}

.training-header {
    background: linear-gradient(135deg, #1a365d 0%, #3182ce 100%);
    color: white;
    padding: 20px;
    text-align: center;
}

.training-header h3 {
    color: white;
    margin-bottom: 10px;
}

.training-price {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.training-duration {
    font-size: 0.9rem;
    opacity: 0.9;
}

.training-content {
    padding: 20px;
}

.training-features {
    margin-bottom: 20px;
}

.training-features ul {
    list-style: none;
}

.training-features li {
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.training-features li::before {
    content: '✓';
    color: #3182ce;
    font-weight: bold;
}

/* 常见问题区域 */
.faq-section {
    padding: 60px 0;
    background-color: white;
}

.faq-section h2 {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background-color: #3498db;
}

.faq-item {
    margin-bottom: 20px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.faq-question {
    background-color: #f8f9fa;
    padding: 15px 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background-color: #e9ecef;
}

.faq-question h3 {
    margin-bottom: 0;
    font-size: 1.1rem;
}

.faq-answer {
    padding: 0 20px;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-answer.active {
    padding: 20px;
    max-height: 200px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .consulting-grid,
    .training-grid {
        grid-template-columns: 1fr;
    }

    .tabs-container {
        flex-direction: column;
        align-items: center;
    }

    .tab-button {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* 动画效果 */
.consulting-card,
.training-card,
.faq-item {
    animation: fadeIn 0.6s ease-out forwards;
}

.consulting-card:nth-child(1) { animation-delay: 0.1s; }
.consulting-card:nth-child(2) { animation-delay: 0.2s; }
.consulting-card:nth-child(3) { animation-delay: 0.3s; }

.training-card:nth-child(1) { animation-delay: 0.1s; }
.training-card:nth-child(2) { animation-delay: 0.2s; }
.training-card:nth-child(3) { animation-delay: 0.3s; }

.faq-item:nth-child(1) { animation-delay: 0.1s; }
.faq-item:nth-child(2) { animation-delay: 0.2s; }
.faq-item:nth-child(3) { animation-delay: 0.3s; }
.faq-item:nth-child(4) { animation-delay: 0.4s; }