/* business.css */
main {
    font-family: "Open Sans", sans-serif;
    font-size: 16px;
    line-height: 1.5;
}

 /* 页面横幅 */
.page-banner {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;   
}

.page-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.page-banner:hover img {
    transform: scale(1.02);
}

.page-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.1));
}

.banner-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    z-index: 1;
    max-width: 800px;
    width: 90%;
}

.banner-content h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;    
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.3);   
}

.banner-content p {
    font-size: 1.4rem;   
    opacity: 0.95;    
}

/* 全局样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;    
}

.business {
    display: flex;
    gap: 30px;
    padding: 20px 0;
}

/* 左侧业务导航样式 */
.business-nav {
    flex: 0 0 250px;
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.business-nav h3 {
    color: #004a8d;
    border-bottom: 2px solid #EA3200;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.nav-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-list li {
    margin: 8px 0;
}

.nav-list a {
    display: block;
    padding: 12px;
    color: #333;
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s;
}

.nav-list a:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.nav-list a.active {
    background: #004a8d;
    color: white;
}

/**右侧内容样式**/
.business-content {
    flex: 1;
}



/* 响应式设计 */
@media (max-width: 768px) {
    .business {
        flex-direction: column;
    }

    .business-nav {
        flex: none;
    }

    
}

/* 教育培训页面样式 */
.education-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid #eee;
}

.section-title {
    font-size: 24px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #EA3200;
}

/* 教育媒体部分 */
.education-media {
    margin-bottom: 30px;
}

.media-gallery {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.media-item {
    width: 18%;
    text-align: center;
    margin-bottom: 15px;
}

.media-item img {
    width: 100%;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 4px;
    transition: transform 0.3s;
}

.media-item img:hover {
    transform: scale(1.05);
}

.media-item p {
    margin-top: 8px;
    font-size: 14px;
    color: #555;
}

.media-intro {
    line-height: 1.8;
    color: #666;
    padding: 0 10px;
}

/* 知识服务平台部分 */
.knowledge-platform {
    display: flex;
    align-items: center;
    background: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
}

.platform-content {
    flex: 1;
    padding-right: 30px;
}

.platform-content h3 {
    font-size: 20px;
    color: #0066cc;
    margin-bottom: 15px;
}

.platform-content ul {
    margin: 15px 0;
    padding-left: 20px;
}

.platform-content li {
    margin-bottom: 8px;
    color: #555;
}

.platform-content li i {
    color: #0066cc;
    margin-right: 8px;
}

.platform-btn {
    display: inline-block;
    background: #0066cc;
    color: white;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    margin-top: 10px;
    transition: background 0.3s;
}

.platform-btn:hover {
    background: #0055aa;
}

.platform-image {
    width: 40%;
}

.platform-image img {
    width: 100%;
    border-radius: 6px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* 线下培训课程部分 */
.training-courses {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.course-card {
    width: calc(33.333% - 14px);
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s, box-shadow 0.3s;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.15);
}

.course-image {
    position: relative;
    height: 180px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-card:hover .course-image img {
    transform: scale(1.1);
}

.course-info {
    padding: 15px;
}

.course-info h3 {
    font-size: 18px;
    margin-bottom: 10px;
    color: #333;
}

.course-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 15px;   
    overflow: hidden;
}


/* 响应式设计 */
@media (max-width: 992px) {
    .course-card {
        width: calc(50% - 10px);
    }
    
    .knowledge-platform {
        flex-direction: column;
    }
    
    .platform-content, .platform-image {
        width: 100%;
    }
    
    .platform-content {
        padding-right: 0;
        margin-bottom: 20px;
    }
}

@media (max-width: 768px) {
    
    .page-banner {
        height: 200px;
    }

    .banner-content h1 {
        font-size: 2.5rem;
    }

    .banner-content p {
        font-size: 1.2rem;
    }

    .media-item {
        width: 30%;
    }
    
    .course-card {
        width: 100%;
    }
}

@media (max-width: 576px) {
    .media-item {
        width: 48%;
    }
}