:root {
    --primary-color: #0066cc;
    --secondary-color: #004d99;
    --accent-color: #ff9900;
    --text-color: #333333;
    --light-gray: #f5f5f5;
    --medium-gray: #e0e0e0;
    --dark-gray: #666666;
    --white: #ffffff;
    --font-main: 'PingFang SC', 'Microsoft YaHei', sans-serif;
    --transition: all 0.3s ease;
    --shadow: 0 4px 20px rgba(0,0,0,0.08);
    --radius: 8px;
}

/* 基本样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-main);
    color: var(--text-color);
    line-height: 1.6;
    background-color: var(--white);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

p {
    margin-bottom: 1rem;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: var(--transition);
}

a:hover {
    color: var(--secondary-color);
}

section {
    padding: 80px 0;
}

/* 导航栏样式 */
.main-nav {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
}

.main-nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    margin: 0;
    font-size: 1.8rem;
    color: var(--primary-color);
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    margin-left: 30px;
}

.nav-links a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-color);
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

/* 英雄区域样式 */
.hero-section {
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    padding: 60px 0;
    text-align: center;
}

.hero-section h1 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    color: var(--text-color);
}

.hero-section .subtitle {
    font-size: 1.4rem;
    color: var(--dark-gray);
    margin-bottom: 40px;
}

/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: var(--radius);
    font-weight: 600;
    transition: var(--transition);
    margin: 0 10px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    border: 2px solid var(--primary-color);
}

.btn-primary:hover {
    background-color: var(--secondary-color);
    border-color: var(--secondary-color);
}

.btn-secondary {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.btn-text {
    color: var(--primary-color);
    padding: 0;
    position: relative;
    font-weight: 600;
}

.btn-text::after {
    content: '→';
    margin-left: 5px;
    transition: var(--transition);
}

.btn-text:hover::after {
    margin-left: 10px;
}

/* 介绍部分样式 */
.intro {
    background-color: var(--white);
}

.intro-text {
    text-align: center;
    font-size: 1.2rem;
    max-width: 800px;
    margin: 0 auto 60px;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature {
    text-align: center;
    padding: 30px 20px;
    background-color: var(--light-gray);
    border-radius: var(--radius);
    transition: var(--transition);
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature i {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.feature h3 {
    font-size: 1.2rem;
}

/* 服务卡片样式 */
.services h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.service-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.card-image {
    height: 200px;
    overflow: hidden;
}

.placeholder-img {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--light-gray);
    color: var(--primary-color);
}

.placeholder-img i {
    font-size: 5rem;
}

.training-img {
    background-color: #e6f0ff;
}

.tools-img {
    background-color: #e6fff0;
}

.books-img {
    background-color: #fff0e6;
}

.articles-img {
    background-color: #f0e6ff;
}

.card-content {
    padding: 25px;
}

.card-content h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.card-content p {
    color: var(--dark-gray);
    margin-bottom: 20px;
}

/* 用户评价样式 */
.testimonials {
    background-color: var(--light-gray);
}

.testimonials h2 {
    text-align: center;
    margin-bottom: 60px;
    font-size: 2.2rem;
}

.testimonial-slider {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.testimonial-container {
    overflow: hidden;
    position: relative;
}

.testimonial {
    background-color: var(--white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: none;
}

.testimonial.active {
    display: block;
}

.testimonial-content p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--light-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
}

.author-avatar i {
    font-size: 2rem;
    color: var(--primary-color);
}

.author-info h4 {
    margin-bottom: 5px;
    font-size: 1.2rem;
}

.author-info p {
    color: var(--dark-gray);
    margin: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.prev-btn, .next-btn {
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    margin: 0 10px;
}

.prev-btn:hover, .next-btn:hover {
    background-color: var(--secondary-color);
}

/* 页脚样式 */
.footer {
    background-color: #1a1a1a;
    color: var(--white);
    padding: 80px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
}

.footer-col h4::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -10px;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 15px;
}

.footer-col a {
    color: #b0b0b0;
    transition: var(--transition);
}

.footer-col a:hover {
    color: var(--white);
    padding-left: 5px;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    color: #b0b0b0;
}

.contact-info p i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-icons {
    display: flex;
    margin-top: 25px;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    margin-right: 10px;
    transition: var(--transition);
}

.social-icon:hover {
    background-color: var(--primary-color);
    transform: translateY(-5px);
}

.social-icon i {
    color: var(--white);
    font-size: 1.2rem;
}

.copyright {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid #333;
}

.copyright p {
    color: #777;
    margin: 0;
}
/* 页面特定样式 */
.page-header {
    background: linear-gradient(135deg, #ff9900 0%, #ff6600 100%);
    color: white;
    padding: 60px 0;
    text-align: center;
    margin-bottom: 0;
}

.section-title {
    text-align: center;
    margin-bottom: 15px;
    font-size: 2rem;
    color: var(--primary-color);
    position: relative;
    padding-bottom: 15px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary-color);
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px;
    color: var(--dark-gray);
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 80px;
}

.image-card {
    background-color: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    height: 100%;
}

.image-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.image-container {
    height: 240px;
    overflow: hidden;
    position: relative;
}

.image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.image-placeholder i {
    font-size: 4rem;
}

.image-caption {
    padding: 15px;
    text-align: center;
}

.image-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    font-weight: 600;
}

.image-description {
    color: var(--dark-gray);
    font-size: 0.9rem;
}

@media (max-width: 1024px) {
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .image-grid {
        grid-template-columns: 1fr;
    }
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .service-cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .service-cards {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-section h1 {
        font-size: 2.2rem;
    }
    
    .hero-section .subtitle {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
    }
    
    section {
        padding: 60px 0;
    }
    
    .hero-section {
        padding: 80px 0;
    }
    
    .hero-section h1 {
        font-size: 1.8rem;
    }
    
    .btn {
        display: block;
        width: 100%;
        margin: 10px 0;
    }
} 
.mobile-menu-btn {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
}





.helpcontainer {
    display: flex; /* 使用 flexbox 布局 */
    /*height: 100vh;  设置容器高度为视口高度 */
}

.helpsidebar {
    width: 200px; /* 导航栏宽度 */
    background-color: #f4f4f4;
    padding: 20px;
    overflow-y: auto; /* 当内容超出时显示垂直滚动条 */
}

.helpsidebar ul {
    list-style-type: none;
    padding: 0;
}

.helpsidebar ul li {
    margin-bottom: 10px;
}

.helpsidebar ul li a {
    text-decoration: none;
    color: #333;
    display: block;
    padding: 5px;
}

.helpsidebar ul li a:hover {
    background-color: #ddd;
}

.helpcontent {
    flex: 1; /* 内容区域占据剩余空间 */
    padding: 20px 0 0 20px;
    overflow-y: auto; /* 当内容超出时显示垂直滚动条 */
}

/* 导航项激活状态样式 */
.helpsidebar ul li a.active {
    background-color: #007BFF;
    color: white;
}


/* 英雄区域样式 */
.helpcontentsection {
    padding: 5px 0;
}