/* 全局样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

  /* 主题颜色变量 */
:root {
    --primary-color: #ff8c00; /* 橙色主色调 */
    --secondary-color: #ffb74d; /* 浅橙色 */
    --dark-color: #e65100; /* 深橙色 */
    --light-color: #fff3e0; /* 超浅橙色，用于背景 */
    --text-color: #333; /* 主文字颜色 */
    --text-light: #666; /* 次要文字颜色 */
    --white: #fff; /* 白色 */
    --gray: #f5f5f5; /* 灰色背景 */
}

body {
    font-family: 'Microsoft YaHei', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

/* 容器样式 */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 通用按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    background-color: var(--primary-color);
    color: rgba(255, 255, 255, 0.85); /* 半透明文字 */
    text-decoration: none;
    border-radius: 4px;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(255, 140, 0, 0.3);
}

/* 文本居中 */
.text-center {
    text-align: center;
    margin-top: 30px;
}

/* 分隔线样式 */
/* 合并到section-header h2::after伪元素中 */

/* 部分标题样式 */
.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 2.2rem;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

/* 导航栏样式 */
.navbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 15px 0; /* 减小内边距 */
    transition: all 0.3s ease;
}

/* 导航栏右侧样式 */
.navbar-right {
    display: flex;
    align-items: center;
}

/* 联系我们按钮样式 */
.btn-contact {
    display: inline-block;
    padding: 10px 20px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-contact:hover {
    background-color: var(--dark-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: nowrap; /* 确保所有元素在一行显示 */
}

/* 调整导航栏内容为一行显示 */
.navbar .container > * {
    flex-shrink: 0; /* 防止元素缩小 */
}

/* 调整菜单样式以适应一行显示 */
.menu {
    margin: 0 10px;
}

/* 调整搜索容器大小 */
.search-container {
    margin: 0 10px;
}

.search-input {
    width: 180px; /* 稍微减小宽度 */
}

.logo {
    display: flex;
    align-items: center;
}

.logo img {
    height: 60px;
    width: auto;
}

/* 确保logo和文字在一行显示 */
.logo a {
    font-size: 24px;
    font-weight: bold;
    text-decoration: none;
    display: flex;
    align-items: center;
    white-space: nowrap;
    /* 不覆盖HTML中的颜色设置 */
}

.menu ul {
    display: flex;
    list-style: none;
}

.menu ul li {
    margin-left: 50px; /* 加大菜单项之间的间距 */
}

.menu ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 0;
}

.menu ul li a:hover,
.menu ul li a.active {
    color: var(--primary-color);
}

.menu ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.menu ul li a:hover::after,
.menu ul li a.active::after {
    width: 100%;
}

/* 回到顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background-color: var(--primary-color);
    color: var(--white);
    border: none;
    cursor: pointer;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 9999; /* 提高优先级 */
    outline: none;
}

.back-to-top:hover {
    background-color: var(--dark-color);
    transform: translateY(-4px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
}

/* 工具栏样式 */
.section-toolbar {
    background-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
}

.toolbar-tabs {
    display: flex;
    justify-content: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 0;
}

.toolbar-tab {
    padding: 10px 25px;
    border: none;
    background: none;
    font-size: 16px;
    color: #666;
    cursor: pointer;
    position: relative;
    transition: color 0.3s;
}

.toolbar-tab:hover {
    color: #FF7A00;
}

.toolbar-tab.active {
    color: #FF7A00;
    font-weight: bold;
}

.toolbar-tab.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: #FF7A00;
    border-radius: 3px;
    transition: width 0.3s, left 0.3s;
}

/* 内容区块样式 */
.content-section {
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
}

.content-section.active {
    display: block;
    opacity: 1;
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* 确保按钮在所有屏幕尺寸上都可见 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 25px;
        right: 25px;
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
}

/* 新闻链接样式 - 移除下划线 */
.news-link {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-color);
}

/* 搜索框样式 */
.search-container {
    display: flex;
    align-items: center;
    margin: 0 20px;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
    background-color: #f5f5f5;
    border-radius: 25px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-box:hover {
    background-color: #eaeaea;
}

.search-input {
    border: none;
    outline: none;
    background: transparent;
    padding: 10px 15px;
    font-size: 14px;
    width: 200px;
    color: var(--text-color);
}

.search-input::placeholder {
    color: #999;
    font-size: 14px;
}

.search-btn {
    background-color: var(--primary-color);
    color: white;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.search-btn:hover {
    background-color: #3a7ca5;
}

.search-btn i {
    font-size: 14px;
}

/* 移动端菜单按钮 */
.mobile-menu {
    display: none;
    cursor: pointer;
    font-size: 28px;
    color: var(--text-color);
    background: none;
    border: none;
    padding: 10px;
    z-index: 1002;
    transition: color 0.3s ease;
}

.mobile-menu:hover {
    color: var(--primary-color);
}

/* 轮播图样式 */
.carousel {
    position: relative;
    width: 100%;
    height: 100vh;
    margin-top: 0;
    overflow: hidden;
    z-index: 1;
}

.carousel-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slides {
    position: relative;
    width: 100%;
    height: 100%;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
    z-index: 1;
}

.carousel-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 5%;
    transform: translateY(-50%);
    text-align: left;
    color: white; /* 不透明的白色文字 */
    background-color: transparent; /* 完全透明的背景，移除边框效果 */
    padding: 20px 30px;
    border-radius: 0; /* 移除圆角 */
    border: none; /* 确保没有边框 */
    max-width: 800px;
    z-index: 2;
    opacity: 0;
    transform: translate(-200px, -50%); /* 从左边更远的位置 */
    transition: opacity 1s ease, transform 1s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.carousel-slide.active .carousel-caption {
    opacity: 1;
    transform: translate(0, -50%); /* 从左边滑入效果 */
}

.carousel-caption h1 {
    font-size: 3rem;
    margin: 0 0 10px 0;
    font-weight: bold;
    color: white; /* 不透明的白色标题 */
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8); /* 深色文字阴影 */
    white-space: nowrap; /* 不换行 */
}

.carousel-caption p {
    font-size: 1.2rem;
    margin: 0;
    color: white; /* 不透明的白色段落 */
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8); /* 深色文字阴影 */
    white-space: nowrap; /* 不换行 */
}

.carousel-control {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    background-color: rgba(255, 255, 255, 0.3);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.5rem;
    cursor: pointer;
    z-index: 3;
    transition: background-color 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.carousel-control:hover {
    background-color: rgba(255, 255, 255, 0.6);
}

.carousel-control.prev {
    left: 20px;
}

.carousel-control.next {
    right: 20px;
}

.carousel-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 3;
}

.indicator {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    border: none;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active,
.indicator:hover {
    background-color: var(--primary-color);
    transform: scale(1.2);
}

/* 关于我们样式 */
.about {
    padding: 100px 0;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url('news_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
    align-items: center;
    justify-content: center;
}

.about-image {
    flex: 0 0 auto;
    width: 100%;
    max-width: 500px;
    position: relative;
    overflow: hidden;
}

.about-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* 添加装饰性元素 */
.about-image::after {
    content: '';
    position: absolute;
    top: 20px;
    right: -20px;
    width: 100%;
    height: 100%;
    background-color: var(--primary-color);
    border-radius: 12px;
    z-index: -1;
}

.about-text {
    flex: 1;
    min-width: 300px;
    max-width: 600px;
    padding: 20px;
}

.about-text h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    font-weight: bold;
    position: relative;
    padding-bottom: 15px;
}

.about-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.about-text p {
    margin-bottom: 30px;
    line-height: 1.9;
    color: var(--text-color);
    font-size: 16px;
}

.about-text ul {
    list-style: none;
    margin-bottom: 40px;
}

.about-text ul li {
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    color: var(--text-color);
    line-height: 1.6;
    font-size: 16px;
}

.about-text ul li i {
    position: absolute;
    left: 0;
    top: 5px;
    color: var(--primary-color);
    font-size: 18px;
}

/* 调整按钮样式 */
.about-text .btn {
    padding: 14px 32px;
    font-size: 16px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .about-content {
        gap: 40px;
    }
    
    .about-image {
        max-width: 400px;
    }
    
    .about-image::after {
        top: 15px;
        right: -15px;
    }
}

@media (max-width: 768px) {
    .about {
        padding: 80px 0;
    }
    
    .about-content {
        flex-direction: column;
        gap: 30px;
    }
    
    .about-image {
        max-width: 100%;
    }
    
    .about-image::after {
        top: 10px;
        right: -10px;
    }
    
    .about-text {
        text-align: center;
        padding: 0;
    }
    
    .about-text h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .about-text ul li {
        padding-left: 25px;
        text-align: left;
    }
}

/* 公司业务样式 */
.business {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url('news_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

/* 业务概述样式 */
.business-overview {
    padding: 80px 0;
    background-color: white;
}

.overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.overview-text {
    flex: 1;
    min-width: 300px;
}

.overview-text h2 {
    font-size: 32px;
    color: #333;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.overview-text h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: #4a90e2;
}

.overview-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

.overview-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.stat-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.stat-number {
    font-size: 36px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: #666;
}

/* 业务详情样式 */
.business-details {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.business-detail {
    margin-bottom: 80px;
}

.business-detail-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.business-detail:nth-child(even) .business-detail-content {
    flex-direction: row-reverse;
}

.business-detail-image {
    flex: 1;
    min-width: 300px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.business-detail-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.3s ease;
}

.business-detail-image:hover img {
    transform: scale(1.05);
}

.business-detail-text {
    flex: 1;
    min-width: 300px;
}

.business-icon {
    font-size: 36px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.business-detail-text h3 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
}

.business-detail-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 30px;
}

.business-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.feature-item i {
    color: #4a90e2;
    font-size: 18px;
}

.feature-item span {
    color: #666;
    font-size: 15px;
}

/* 服务流程样式 */
.service-process {
    padding: 80px 0;
    background-color: white;
}

.service-process .container h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.service-process .container h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4a90e2;
}

.process-steps {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    position: relative;
}

.process-step {
    flex: 1;
    min-width: 180px;
    background-color: #f9f9f9;
    padding: 30px 20px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    z-index: 1;
}

.step-number {
    font-size: 36px;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 15px;
}

.step-content h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 10px;
}

.step-content p {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

.process-arrow {
    font-size: 24px;
    color: #4a90e2;
    margin: 0 10px;
    display: none;
}

@media (min-width: 768px) {
    .process-arrow {
        display: block;
    }
}

/* 客户案例样式 */
.client-cases {
    padding: 20px 0 80px;
    background-color: #f9f9f9;
}

/* 移动端进一步调整间距 */
@media (max-width: 768px) {
    .client-cases {
        padding: 15px 0 60px;
    }
}

.client-cases .container h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.client-cases .container h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4a90e2;
}

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

.case-item {
    background-color: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.case-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.case-image {
    height: 200px;
    overflow: hidden;
}

.case-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.case-item:hover .case-image img {
    transform: scale(1.05);
}

/* 响应式设计 - 业务详情 */
@media (max-width: 768px) {
    /* 基础样式设置 */
    .business-detail-content {
        flex-direction: column;
        gap: 20px;
    }
    
    /* 对于偶数项（人力资源服务、就业联盟 - 先文字后图片），使用reverse让图片显示在前面 */
    .business-detail:nth-child(even) .business-detail-content {
        flex-direction: column-reverse !important;
    }
    
    /* 确保图片容器在手机端正确显示 */
    .business-detail-image {
        min-width: auto;
        width: 100%;
        display: block;
    }
    
    /* 确保图片正确显示 */
    .business-detail-image img {
        height: auto;
        max-height: 300px;
        object-fit: cover;
        display: block;
        width: 100%;
    }
}

/* 响应式设计 - 客户案例 */
@media (max-width: 768px) {
    .case-items {
        gap: 20px;
    }
    
    .case-image {
        height: 180px;
    }
}

.case-info {
    padding: 25px;
}

.case-info h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.case-info p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

/* 服务优势样式 */
.service-advantages {
    padding: 80px 0;
    background-color: white;
}

.service-advantages .container h2 {
    text-align: center;
    font-size: 32px;
    color: #333;
    margin-bottom: 50px;
    position: relative;
    padding-bottom: 15px;
}

.service-advantages .container h2::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #4a90e2;
}

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

.advantage-item {
    background-color: #f9f9f9;
    padding: 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.advantage-item h3 {
    font-size: 20px;
    color: #333;
    margin-bottom: 15px;
}

.advantage-item p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
}

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

.business-item {
    background-color: var(--white);
    padding: 30px;
    border-radius: 10px;
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.business-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.business-image {
    width: 100%;
    height: 200px;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
}

.business-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.business-item:hover .business-image img {
    transform: scale(1.05);
}

.business-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.business-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--text-color);
}

.business-item p {
    color: var(--text-light);
    line-height: 1.6;
}

/* 在线课程样式 */
.courses {
    padding: 80px 0;
    background-color: var(--white);
}

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

.course-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.course-item:hover {
    transform: translateY(-10px);
}

.course-image {
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.course-item:hover .course-image img {
    transform: scale(1.05);
}

.course-info {
    padding: 20px;
}

.course-info h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.course-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
    color: var(--primary-color);
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* 新闻动态样式 */
.news {
    padding: 80px 0;
    background-color: rgba(255, 255, 255, 0.95);
    background-image: url('news_bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: overlay;
}

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

.news-item {
    background-color: var(--white);
    border-radius: 10px;
    overflow: hidden;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.news-image {
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-item:hover .news-image img {
    transform: scale(1.05);
}

.news-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.news-info {
    padding: 20px 0 0;
}

.news-date {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--white);
    padding: 5px 10px;
    border-radius: 4px;
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.news-info h3 {
    font-size: 1.4rem;
    margin-bottom: 10px;
    color: var(--text-color);
}

.news-info p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.6;
}

.read-more {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--dark-color);
}

.read-more i {
    transition: transform 0.3s ease;
}

.read-more:hover i {
    transform: translateX(5px);
}

/* 新闻页面样式 */

/* 新闻分类样式 */
.news-categories {
    padding: 30px 0;
    background-color: #f8f9fa;
    border-bottom: 1px solid #e0e0e0;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.category-tab {
    padding: 10px 20px;
    background-color: transparent;
    border: 1px solid #ddd;
    border-radius: 30px;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background-color: #e3f2fd;
    border-color: #4a90e2;
    color: #4a90e2;
}

.category-tab.active {
    background-color: #4a90e2;
    border-color: #4a90e2;
    color: white;
}

/* 新闻内容区域布局 */
.news-content {
    padding: 60px 0;
    background-color: white;
}

.news-main {
    display: flex;
    gap: 30px;
}

.news-list-area {
    flex: 1;
}

.hot-news-area {
    width: 350px;
    flex-shrink: 0;
}

/* 新闻列表样式 */
.news-list {
    padding: 60px 0;
    background-color: white;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.news-card {
    background-color: #f8f9fa;
    border-radius: 10px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    height: 200px;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-info {
    padding: 20px;
}

.news-category {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 5px 10px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.news-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
    transition: color 0.3s ease;
}

.news-card:hover .news-info h3 {
    color: #4a90e2;
}

.news-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.news-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #888;
}

.news-meta i {
    margin-right: 5px;
    color: #4a90e2;
}

.news-read-more {
    display: inline-flex;
    align-items: center;
    color: #4a90e2;
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-read-more:hover {
    color: #357abd;
}

.news-read-more i {
    margin-left: 5px;
    transition: transform 0.3s ease;
}

.news-read-more:hover i {
    transform: translateX(3px);
}

/* 分页样式 */
.pagination {
    text-align: center;
}

.pagination ul {
    display: inline-flex;
    gap: 5px;
    padding: 0;
    margin: 0;
}

.pagination li {
    list-style: none;
}

.pagination a {
    display: block;
    padding: 10px 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    color: #666;
    text-decoration: none;
    transition: all 0.3s ease;
    outline: none;
}

.pagination a:hover {
    background-color: #e3f2fd;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.pagination a:focus {
    background-color: #e3f2fd;
    border-color: var(--primary-color);
    color: var(--primary-color);
    box-shadow: 0 0 0 2px rgba(255, 140, 0, 0.2);
}

/* 上一页和下一页按钮的焦点状态 */
.pagination a:nth-child(1):focus,
.pagination a:last-child:focus {
    background-color: #e3f2fd;
    border-color: #42a5f5;
    color: #1565c0;
    box-shadow: 0 0 0 2px rgba(66, 165, 245, 0.2);
}

.pagination a.active {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
}

/* 热门新闻样式 */
.hot-news {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.hot-news h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.2rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.hot-news h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4a90e2;
}

.hot-news-list {
    max-width: 800px;
    margin: 0 auto;
}

.hot-news-item {
    display: flex;
    gap: 20px;
    padding: 20px;
    background-color: white;
    border-radius: 10px;
    margin-bottom: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hot-news-item:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.hot-news-number {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    background-color: #4a90e2;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    font-size: 1.2rem;
    font-weight: bold;
}

.hot-news-item:nth-child(1) .hot-news-number {
    background-color: #ff6b6b;
}

.hot-news-item:nth-child(2) .hot-news-number {
    background-color: #ff9f43;
}

.hot-news-item:nth-child(3) .hot-news-number {
    background-color: #48dbfb;
}

.hot-news-content {
    flex: 1;
}

.hot-news-content h3 {
    color: #2c3e50;
    font-size: 1.1rem;
    margin-bottom: 5px;
    line-height: 1.4;
}

.hot-news-content h3 a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s ease;
}

.hot-news-content h3 a:hover {
    color: #4a90e2;
}

.hot-news-date {
    color: #888;
    font-size: 0.9rem;
}

/* 新闻资讯订阅样式 */
.news-subscription {
    padding: 80px 0;
    background-color: #4a90e2;
    color: white;
}

.subscription-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
    justify-content: space-between;
}

.subscription-text {
    flex: 1;
    min-width: 300px;
}

.subscription-text h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

.subscription-text p {
    font-size: 1.1rem;
    opacity: 0.9;
}

.subscription-form {
    flex: 1;
    min-width: 300px;
    display: flex;
    gap: 10px;
}

.subscription-form input[type="email"] {
    flex: 1;
    padding: 12px 20px;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    outline: none;
}

.subscription-form button {
    padding: 12px 30px;
    background-color: #2c3e50;
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.subscription-form button:hover {
    background-color: #34495e;
}

/* 联系我们样式 */
.contact {
    padding: 80px 0;
    background-color: var(--white);
}

/* 联系信息样式 */
.contact-info {
    padding: 80px 0;
    background-color: var(--light-color);
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 30px;
    background-color: white;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.info-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.info-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-top: 5px;
    min-width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
}

.info-item h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--text-color);
    font-weight: 600;
}

.info-item p {
    color: var(--text-light);
    margin-bottom: 8px;
    line-height: 1.6;
}

/* 联系表单和地图样式 */
.contact-section {
    padding: 100px 0;
    background-color: white;
}

.contact-content {
    display: flex;
    flex-wrap: wrap;
    gap: 50px;
    align-items: flex-start;
}

.contact-form {
    flex: 1;
    min-width: 350px;
    background-color: white;
    padding: 40px;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

.contact-form h2 {
    font-size: 2rem;
    margin-bottom: 30px;
    color: var(--text-color);
    position: relative;
    padding-bottom: 15px;
}

.contact-form h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
}

.contact-map {
    flex: 1;
    min-width: 350px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.contact-map h2 {
    font-size: 2rem;
    margin-bottom: 25px;
    color: var(--text-color);
    padding: 0 20px;
}

.map-container {
    height: 500px;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
}

.map-container img {
    transition: transform 0.5s ease;
}

.map-container:hover img {
    transform: scale(1.03);
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--text-color);
    font-weight: 500;
    font-size: 0.95rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background-color: white;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.1);
    transform: translateY(-1px);
}

.form-group textarea {
    resize: vertical;
    min-height: 180px;
    font-family: inherit;
}

.captcha-container {
    display: flex;
    gap: 15px;
    align-items: center;
}

.captcha-container input {
    flex: 1;
}

.captcha-image {
    flex-shrink: 0;
}

.captcha-image img {
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.captcha-image img:hover {
    transform: scale(1.05);
}

.form-submit button {
    width: 100%;
    padding: 16px;
    background-color: var(--primary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-submit button:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* 课程页面样式 */

/* 课程概述样式 */
.courses-overview {
    padding: 80px 0;
    background-color: #f8f9fa;
}

.overview-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.overview-text {
    flex: 1;
    min-width: 300px;
}

.overview-text h2 {
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.overview-text h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 80px;
    height: 4px;
    background-color: #4a90e2;
}

.overview-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.course-stats {
    flex: 1;
    min-width: 300px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
}

.stat-item {
    background-color: white;
    padding: 30px 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4a90e2;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #666;
}

/* 课程分类样式 */
.course-categories {
    padding: 60px 0;
    background-color: white;
}

.course-categories h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 40px;
    position: relative;
    padding-bottom: 15px;
}

.course-categories h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4a90e2;
}

.category-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
}

.category-tab {
    padding: 12px 24px;
    background-color: #f1f1f1;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    color: #666;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-tab:hover {
    background-color: #e0e0e0;
    color: #333;
}

.category-tab.active {
    background-color: #4a90e2;
    color: white;
}

/* 课程列表样式 */
.course-list {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.course-card {
    background-color: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.course-image {
    position: relative;
    overflow: hidden;
    height: 200px;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-badge {
    position: absolute;
    top: 15px;
    right: 15px;
    background-color: #ff6b6b;
    color: white;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.8rem;
    font-weight: 600;
}

.course-info {
    padding: 20px;
}

.course-category {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 5px 12px;
    border-radius: 30px;
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.course-info h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
    line-height: 1.4;
}

.course-info p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 20px;
    min-height: 60px;
}

.course-details {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    font-size: 0.9rem;
    color: #777;
}

.course-details i {
    margin-right: 5px;
    color: #4a90e2;
}

.course-price {
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ff6b6b;
    margin-right: 10px;
}

.original-price {
    font-size: 1.1rem;
    color: #999;
    text-decoration: line-through;
}

.course-enroll {
    display: block;
    text-align: center;
    background-color: #4a90e2;
    color: white;
    padding: 12px;
    border-radius: 5px;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.course-enroll:hover {
    background-color: #357abd;
}

.load-more {
    text-align: center;
}

.load-more button {
    padding: 12px 30px;
    background-color: #4a90e2;
    color: white;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.load-more button:hover {
    background-color: #357abd;
}

/* 课程优势样式 */
.course-advantages {
    padding: 80px 0;
    background-color: white;
}

.course-advantages h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.course-advantages h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4a90e2;
}

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

.advantage-item {
    text-align: center;
    padding: 30px;
    border-radius: 10px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.advantage-icon {
    width: 100px;
    height: 100px;
    background-color: #e3f2fd;
    color: #4a90e2;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 2.5rem;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.advantage-item:hover .advantage-icon {
    background-color: #4a90e2;
    color: white;
}

.advantage-item h3 {
    color: #2c3e50;
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.advantage-item p {
    color: #666;
    font-size: 1rem;
    line-height: 1.6;
}

/* 学员评价样式 */
.student-testimonials {
    padding: 80px 0;
    background-color: #f8f9fa;
    position: relative;
    overflow: hidden;
}

.student-testimonials h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
    z-index: 1;
}

.student-testimonials h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4a90e2;
}

.testimonial-slider {
    position: relative;
    max-width: 800px;
    margin: 0 auto 40px;
    overflow: hidden;
}

.testimonial-slide {
    display: none;
    animation: fadeIn 0.5s ease;
}

.testimonial-slide.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    background-color: white;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.testimonial-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.testimonial-rating {
    text-align: center;
    margin-bottom: 20px;
}

.testimonial-rating i {
    color: #ffd700;
    font-size: 1.5rem;
    margin: 0 3px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.testimonial-text p {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    font-style: italic;
    text-align: center;
}

.testimonial-course {
    display: inline-block;
    background-color: #e3f2fd;
    color: #1976d2;
    padding: 8px 20px;
    border-radius: 30px;
    font-size: 0.9rem;
    font-weight: 500;
    margin: 0 auto 25px;
    display: flex;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(25, 118, 210, 0.1);
}

.testimonial-info {
    display: flex;
    align-items: center;
    gap: 20px;
    justify-content: center;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #4a90e2;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.2);
    transition: transform 0.3s ease;
}

.testimonial-avatar:hover {
    transform: scale(1.05);
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-name h4 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.testimonial-name p {
    color: #666;
    font-size: 1rem;
    margin: 0;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.testimonial-prev, .testimonial-next {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: white;
    border: 2px solid #4a90e2;
    color: #4a90e2;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.testimonial-prev:hover, .testimonial-next:hover {
    background-color: #4a90e2;
    color: white;
}

/* 联系方式样式 */
.contact-methods {
    padding: 100px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.contact-methods::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), #6fa3ef, var(--primary-color));
}

.contact-methods h2 {
    text-align: center;
    color: var(--text-color);
    font-size: 2.5rem;
    margin-bottom: 70px;
    position: relative;
    padding-bottom: 20px;
}

.contact-methods h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background-color: var(--primary-color);
    border-radius: 2px;
}

.method-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.method-item {
    text-align: center;
    padding: 40px 30px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.method-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background-color: var(--primary-color);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.method-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.method-item:hover::before {
    transform: scaleX(1);
}

.method-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    transition: transform 0.3s ease;
}

.method-item:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-item h3 {
    font-size: 1.4rem;
    margin-bottom: 20px;
    color: var(--text-color);
    font-weight: 600;
}

.method-item p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.6;
}

.method-btn {
    display: inline-block;
    padding: 12px 28px;
    background-color: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.method-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.method-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.method-btn:hover::before {
    left: 100%;
}

.qrcode {
    margin-top: 25px;
    transition: transform 0.3s ease;
}

.method-item:hover .qrcode {
    transform: scale(1.05);
}

.qrcode img {
    width: 160px;
    height: 160px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    border: 3px solid white;
}

/* 常见问题样式 */
.faq {
    padding: 80px 0;
    background-color: white;
}

.faq h2 {
    text-align: center;
    color: #2c3e50;
    font-size: 2.5rem;
    margin-bottom: 60px;
    position: relative;
    padding-bottom: 15px;
}

.faq h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: #4a90e2;
}

.faq-items {
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    overflow: hidden;
    background-color: #fafafa;
}

.faq-item {
    margin-bottom: 0;
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-item:hover {
    background-color: #fff;
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 30px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover h3 {
    color: #4a90e2;
}

.faq-question h3 {
    color: #2c3e50;
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
    transition: color 0.3s ease;
}

.faq-question i {
    font-size: 1.2rem;
    color: #4a90e2;
    transition: all 0.3s ease;
    background-color: white;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.faq-item.active .faq-question i {
    transform: rotate(45deg);
    background-color: #4a90e2;
    color: white;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.5s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 30px 25px 30px;
}

.faq-answer p {
    color: #666;
    font-size: 1.05rem;
    line-height: 1.8;
    margin: 0;
    padding: 15px 20px;
    background-color: white;
    border-left: 4px solid #4a90e2;
    border-radius: 0 5px 5px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

/* 页脚样式 */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 40px 0 20px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
    align-items: flex-start;
    min-height: 200px;
}

.footer-logo {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.footer-contact {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

.footer-social {
    flex: 1;
    min-width: 200px;
    display: flex;
    flex-direction: column;
    height: 100%;
    align-items: flex-start;
}

/* 页脚链接样式 */
.footer-links {
    flex: 0 0 30%;
    min-width: 200px;
}

.footer-links h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    padding-bottom: 8px;
}

.footer-links h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 10px;
}

.footer-links ul li a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links ul li a:hover {
    color: var(--primary-color);
}

.footer-logo h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    padding-bottom: 8px;
}

.footer-logo h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

.footer-logo p {
    color: #ccc;
    line-height: 1.6;
}

.footer-logo .vision {
    font-size: 0.95rem;
    font-style: normal;
    margin-top: 10px;
    color: #ddd;
}

.footer-contact h4, .footer-social h4 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: var(--white);
    position: relative;
    padding-bottom: 8px;
    width: 100%;
    text-align: left;
}

.footer-contact h4::after,
.footer-social h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary-color);
}

/* 响应式设计调整 */
@media (max-width: 1024px) {
    .footer-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 30px;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-social {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    .footer-logo h3,
    .footer-contact h4,
    .footer-social h4 {
        text-align: left !important;
        width: 100%;
    }
    
    .footer-logo h3::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .footer-contact p {
        justify-content: flex-start;
    }
}

@media (max-width: 768px) {
    .footer-social .wechat-qrcode {
        width: 100px;
        height: 100px;
    }
    
    .footer-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-social {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    .footer-logo h3,
    .footer-contact h4,
    .footer-social h4 {
        text-align: left !important;
        width: 100%;
    }
    
    .footer-logo h3::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .footer-contact p {
        justify-content: flex-start;
    }
}

.footer-contact p {
    color: #ccc;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    width: 100%;
}

.footer-social {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
}

.footer-social h4 {
    margin-bottom: 20px;
    text-align: left;
    position: relative;
    padding-bottom: 10px;
    width: 100%;
}

.footer-social h4::after {
    left: 0;
    transform: translateX(0);
}

.footer-social .wechat-qrcode {
    width: 120px;
    height: 120px;
    background-color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    margin-bottom: 10px;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.footer-social .wechat-qrcode img {
    max-width: 100%;
    max-height: 100%;
}

.footer-social .wechat-text {
    text-align: center;
    color: #ccc;
    font-size: 0.9rem;
    margin-top: 10px;
}


/* 社交图标样式 */
.social-icons {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.social-icons a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: white;
    font-size: 18px;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-icons a:hover {
    background-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(255, 140, 0, 0.3);
}

/* 页脚底部样式 */
.footer-bottom {
    text-align: center;
    padding-top: 20px;
    margin-top: 20px;
    border-top: 1px solid #ffffff;
}

.footer-bottom p {
    color: #ccc;
    font-size: 0.9rem;
    margin: 0;
}

.footer-bottom .icp-info {
    margin-left: 15px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .menu {
        display: none;
    }
    
    .mobile-menu {
        display: block;
    }
    
    .carousel-caption h1 {
        font-size: 2.5rem;
    }
    
    .carousel-caption p {
        font-size: 1rem;
    }
    
    /* 页脚内容响应式调整 */
    .footer-content {
        flex-direction: column !important;
        align-items: center !important;
        gap: 30px;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-social {
        flex: 0 0 100% !important;
        max-width: 400px !important;
        text-align: center !important;
        align-items: center !important;
    }
    
    .footer-logo h3,
    .footer-contact h4,
    .footer-social h4 {
        text-align: center !important;
        width: 100%;
    }
    
    .footer-logo h3::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 50% !important;
        transform: translateX(-50%) !important;
    }
    
    .footer-contact p {
        justify-content: center;
    }
    
    /* 平板端导航栏样式优化 */
    .navbar {
        padding: 15px 0;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
    
    .logo a {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .carousel {
        height: 70vh;
    }
    
    .carousel-caption {
        padding: 20px 30px;
        max-width: 80%;
    }
    
    .carousel-caption h1 {
        font-size: 2rem;
    }
    
    /* 移动端隐藏搜索框 */
    .search-container {
        display: none;
    }
    
    .carousel-control {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .about-text h3,
    .business-item h3,
    .course-info h3,
    .news-info h3 {
        font-size: 1.3rem;
    }
    
    /* 业务区块响应式调整 */
    .business-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    /* 课程卡片响应式调整 */
    .course-items {
        grid-template-columns: 1fr;
    }
    
    /* 页脚内容响应式调整 */
    .footer-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-social {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    .footer-logo h3,
    .footer-contact h4,
    .footer-social h4 {
        text-align: left !important;
        width: 100%;
    }
    
    .footer-logo h3::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .footer-contact p {
        justify-content: flex-start;
    }
    
    /* 表单响应式调整 */
    .contact-form {
        width: 100%;
        margin-right: 0;
    }
    
    .map-container {
        margin-top: 30px;
    }
    
    /* 移动端导航栏样式优化 */
    .navbar {
        padding: 10px 0;
    }
    
    .navbar .container {
        padding: 0 15px;
    }
    
    .logo a {
        font-size: 22px;
    }
    
    .mobile-menu {
        font-size: 26px;
    }
}

@media (max-width: 480px) {
    /* 确保移动端页脚靠左对齐 */
    .footer-content {
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 25px;
    }
    
    .footer-logo,
    .footer-contact,
    .footer-social {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        text-align: left !important;
        align-items: flex-start !important;
    }
    
    .footer-logo h3,
    .footer-contact h4,
    .footer-social h4 {
        text-align: left !important;
        width: 100%;
    }
    
    .footer-logo h3::after,
    .footer-contact h4::after,
    .footer-social h4::after {
        left: 0 !important;
        transform: translateX(0) !important;
    }
    
    .footer-contact p {
        justify-content: flex-start;
    }
    .carousel {
        height: 60vh;
    }
    
    .carousel-caption {
        padding: 15px 20px;
        max-width: 90%;
    }
    
    .carousel-caption h1 {
        font-size: 1.5rem;
        margin-bottom: 10px;
    }
    
    .carousel-caption p {
        font-size: 0.9rem;
        margin-bottom: 15px;
    }
    
    .section-header {
        margin-bottom: 30px;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .about,
    .business,
    .courses,
    .news,
    .contact {
        padding: 50px 0;
    }
    
    .btn {
        padding: 10px 20px;
        font-size: 0.9rem;
    }
    
    /* 业务区块小屏调整 */
    .business-items {
        grid-template-columns: 1fr;
    }
    
    /* 关于我们区块响应式调整 */
    .about-content {
        flex-direction: column;
        text-align: center;
    }
    
    .about-image {
        margin-right: 0;
        margin-bottom: 30px;
    }
    
    /* 页脚底部响应式调整 */
    .footer-bottom p {
        font-size: 0.8rem;
    }
    
    .footer-bottom .icp-info {
        margin-left: 10px;
        display: block;
        margin-top: 5px;
    }
    
    /* 小屏幕导航栏样式优化 */
    .navbar {
        padding: 8px 0;
    }
    
    .logo a {
        font-size: 20px;
    }
    
    .mobile-menu {
        font-size: 24px;
        padding: 8px;
    }
}

/* 移动端菜单样式 */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--white);
    box-shadow: -5px 0 15px rgba(0, 0, 0, 0.15);
    z-index: 1001;
    transition: right 0.3s ease, transform 0.3s ease;
    padding: 80px 20px;
    overflow-y: auto;
    transform: translateX(20px);
}

.mobile-nav.active {
    right: 0;
    transform: translateX(0);
}

.mobile-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mobile-nav ul li {
    margin-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 15px;
}

.mobile-nav ul li:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.mobile-nav ul li a {
    text-decoration: none;
    color: var(--text-color);
    font-size: 16px;
    font-weight: 500;
    transition: color 0.3s ease, padding-left 0.3s ease;
    display: block;
    padding: 8px 0;
}

.mobile-nav ul li a:hover,
.mobile-nav ul li a.active {
    color: var(--primary-color);
    padding-left: 10px;
}

.close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 28px;
    color: var(--text-color);
    cursor: pointer;
    background: none;
    border: none;
    padding: 10px;
    z-index: 1002;
    transition: color 0.3s ease, transform 0.3s ease;
}

.close-menu:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

/* 覆盖层样式 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    backdrop-filter: blur(2px);
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 页面头部样式 */
.page-header {
    position: relative;
    padding: 100px 0;
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://picsum.photos/seed/contact-header/1920/600') center/cover no-repeat;
    color: white;
    text-align: center;
    margin-top: 70px;
    overflow: hidden;
}

/* 工具栏样式 */
.section-toolbar {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 70px;
    z-index: 100;
}

.toolbar-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    padding: 10px 0;
}

.toolbar-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    color: var(--text-color);
    font-size: 16px;
    cursor: pointer;
    border-radius: 20px;
    transition: all 0.3s ease;
    position: relative;
}

.toolbar-tab:hover {
    color: var(--primary-color);
    background-color: var(--light-color);
}

.toolbar-tab.active {
    color: var(--primary-color);
    font-weight: 600;
    background-color: var(--light-color);
}

.toolbar-tab.active::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 20%;
    width: 60%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* 内容区块基础样式 */
.content-section {
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.content-section.active {
    display: block;
    opacity: 1;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.page-header .container {
    position: relative;
    z-index: 2;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 2px 15px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.8s ease;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    max-width: 600px;
    margin: 0 auto;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.5);
    position: relative;
    z-index: 2;
    animation: fadeInUp 1s ease;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 公司简介样式 */
.company-intro {
    padding: 80px 0;
    background-color: var(--white);
}

.intro-content {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    align-items: center;
}

.intro-text {
    flex: 1;
    min-width: 300px;
    padding: 20px;
}

.intro-text h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.intro-text h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    transition: width 0.3s ease;
}

.intro-text:hover h3::after {
    width: 100px;
}

.intro-text p {
    margin-bottom: 25px;
    line-height: 1.8;
    color: var(--text-light);
    font-size: 16px;
    text-align: justify;
    text-indent: 2em;
    transition: color 0.3s ease, transform 0.3s ease;
}

.intro-text p:hover {
    color: var(--text-color);
    transform: translateX(5px);
}

.intro-image {
    flex: 1;
    min-width: 300px;
}

.intro-image img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* 愿景使命样式 */
.vision-mission,
.company-vision {
    padding: 80px 0;
    background-color: var(--light-color);
}

.vision-mission-items,
.vision-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.vision-mission-item,
.vision-item {
    background-color: var(--white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    text-align: center;
}

.vision-item .vision-icon {
    width: 80px;
    height: 80px;
    background-color: var(--light-color);
    color: var(--primary-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    margin: 0 auto 20px;
}

.vision-mission-item h3,
.vision-item h3 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.vision-mission-item p,
.vision-item p {
    line-height: 1.8;
    color: var(--text-light);
}

/* 核心价值观样式 */
.core-values {
    padding: 80px 0;
    background-color: var(--white);
    position: relative;
    overflow: hidden;
}

.core-values::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(248, 249, 250, 0.3) 0%, rgba(248, 249, 250, 0) 100%);
    z-index: 0;
}

.values-content {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.value-item {
    background: var(--white);
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.value-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.value-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.value-item:hover::before {
    transform: scaleX(1);
}

.value-item .value-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color-light), var(--primary-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--white);
    font-size: 2rem;
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.2);
    transition: all 0.3s ease;
}

.value-item:hover .value-icon {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.3);
}

.value-item h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    font-weight: 600;
    position: relative;
    padding-bottom: 10px;
}

.value-item h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 3px;
    background: var(--secondary-color);
    border-radius: 3px;
}

.value-item p {
    color: var(--text-light);
    line-height: 1.8;
    font-size: 1rem;
    margin: 0;
}

/* 发展历程样式 */
.history,
.development-history {
    padding: 80px 0;
    background-color: var(--light-color);
    position: relative;
    overflow: hidden;
}

.development-history::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 123, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    z-index: 0;
}

.history-timeline,
.timeline {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 20px 0;
    position: relative;
    z-index: 1;
}

.history-timeline::before,
.timeline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, var(--primary-color), var(--secondary-color));
    border-radius: 2px;
}

.history-item,
.timeline-item {
    position: relative;
    margin-bottom: 60px;
    padding: 0 60px;
    transition: all 0.3s ease;
}

.history-item::before,
.timeline-item::before {
    content: '';
    position: absolute;
    top: 25px;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--white);
    border: 4px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.3);
}

.history-item:hover::before,
.timeline-item:hover::before {
    transform: translateX(-50%) scale(1.2);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.4);
    border-color: var(--secondary-color);
}

.history-item:nth-child(odd),
.timeline-item:nth-child(odd) {
    text-align: right;
}

.history-item:nth-child(even),
.timeline-item:nth-child(even) {
    text-align: left;
}

.history-content,
.timeline-content {
    position: relative;
    padding: 25px;
    background-color: var(--white);
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
}

.history-item:nth-child(odd) .history-content,
.timeline-item:nth-child(odd) .timeline-content {
    margin-right: calc(50% + 20px);
    border-left-color: var(--primary-color);
}

.history-item:nth-child(even) .history-content,
.timeline-item:nth-child(even) .timeline-content {
    margin-left: calc(50% + 20px);
    border-right-color: var(--primary-color);
}

.history-item:hover .history-content,
.timeline-item:hover .timeline-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.12);
}

.history-year,
.timeline-date {
    position: absolute;
    top: 15px;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-color);
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    z-index: 1;
}

.history-item:nth-child(odd) .history-year,
.timeline-item:nth-child(odd) .timeline-date {
    right: calc(50% + 40px);
}

.history-item:nth-child(even) .history-year,
.timeline-item:nth-child(even) .timeline-date {
    left: calc(50% + 40px);
}

.history-content h3,
.timeline-content h3 {
    font-size: 1.4rem;
    color: var(--text-color);
    margin-bottom: 12px;
    font-weight: 600;
}

.history-content p,
.timeline-content p {
    color: var(--text-light);
    line-height: 1.7;
    font-size: 1rem;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .history-timeline::before,
    .timeline::before {
        left: 40px;
    }
    
    .history-item,
    .timeline-item {
        padding-left: 80px;
        padding-right: 20px;
        text-align: left !important;
    }
    
    .history-item::before,
    .timeline-item::before {
        left: 40px;
    }
    
    .history-item:nth-child(odd) .history-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .history-item:nth-child(even) .history-content,
    .timeline-item:nth-child(even) .timeline-content {
        margin-left: 0;
        margin-right: 0;
        border-left-color: var(--primary-color);
        border-right-color: transparent;
    }
    
    .history-year,
    .timeline-date {
        position: relative;
        top: auto;
        left: auto !important;
        right: auto !important;
        margin-bottom: 15px;
        display: inline-block;
    }
}

/* 团队样式 */
.team,
.team-intro {
    padding: 80px 0;
    background-color: var(--white);
}

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

.team-member {
    text-align: center;
    transition: transform 0.3s ease;
}

.team-member:hover {
    transform: translateY(-10px);
}

.team-image,
.member-image {
    margin-bottom: 20px;
}

.team-image img,
.member-image img {
    width: 100%;
    max-width: 200px;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.team-info h3,
.member-info h3 {
    font-size: 1.5rem;
    color: var(--text-color);
    margin-bottom: 5px;
}

.team-info p,
.member-title {
    color: var(--primary-color);
    margin-bottom: 10px;
    font-weight: 500;
}

.member-info p:last-child {
    color: var(--text-light);
    margin-top: 10px;
    font-weight: normal;
}

/* 合作伙伴样式 */
.partners {
    padding: 80px 0;
    background-color: var(--light-color);
}

.partner-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 40px;
}

.partner-logo img {
    width: 150px;
    height: auto;
    opacity: 0.7;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.partner-logo:hover img {
    opacity: 1;
    transform: scale(1.05);
}

/* 遮罩层 */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.overlay.active {
    opacity: 1;
    visibility: visible;
}

/* 成员企业样式 */
.member-companies {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.companies-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.company-item {
    background-color: white;
    padding: 30px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.company-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.company-logo {
    margin-bottom: 20px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.company-item h3 {
    font-size: 20px;
    margin-bottom: 10px;
    color: #333;
}

.company-item p {
    color: #666;
    font-size: 15px;
}

/* 讲师团队样式 */
.lecturer-team {
    padding: 80px 0;
    background-color: white;
}

.lecturers-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.lecturer-item {
    background-color: #f9f9f9;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.lecturer-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.lecturer-image {
    height: 280px;
    overflow: hidden;
}

.lecturer-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lecturer-info {
    padding: 25px;
    text-align: center;
}

.lecturer-info h3 {
    font-size: 20px;
    margin-bottom: 5px;
    color: #333;
}

.lecturer-title {
    font-size: 16px;
    color: #4a90e2;
    margin-bottom: 15px;
    font-weight: 500;
}

.lecturer-info p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 响应式设计 - 讲师团队 */
@media (max-width: 1200px) and (min-width: 1025px) {
    .lecturers-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 25px;
    }
}

@media (max-width: 1024px) and (min-width: 769px) {
    .lecturers-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .lecturers-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .lecturer-image {
        height: 240px;
    }
    
    .lecturer-info {
        padding: 20px;
    }
    
    .lecturer-info h3 {
        font-size: 18px;
    }
    
    .lecturer-title {
        font-size: 15px;
    }
    
    .lecturer-info p {
        font-size: 14px;
    }
}

/* 课程资源样式 */
.course-resources {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.course-item {
    background-color: white;
    padding: 35px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.course-icon {
    font-size: 40px;
    color: #4a90e2;
    margin-bottom: 20px;
}

.course-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #333;
}

.course-item p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* 国际合作样式 */
.international-cooperation {
    padding: 80px 0;
    background-color: white;
}

.cooperation-content {
    margin-top: 40px;
}

.cooperation-text {
    margin-bottom: 40px;
}

.cooperation-text p {
    font-size: 16px;
    line-height: 1.8;
    color: #666;
    margin-bottom: 20px;
}

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

.country-item {
    background-color: #f9f9f9;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.country-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.country-item i {
    font-size: 30px;
    color: #4a90e2;
    margin-bottom: 15px;
}

.country-item h4 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.country-item p {
    color: #666;
    font-size: 14px;
}