/* 教育培训页面专用样式 */

/* 新闻列表样式 - 仿照图2样式 */
.news-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: all 0.3s ease;
}

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

.news-item:hover {
    background-color: #f8f9fa;
    margin: 0 -20px;
    padding: 15px 20px;
    border-radius: 8px;
    cursor: pointer;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.news-item .news-text {
    flex: 1;
    color: #2d3748;
    font-size: 14px;
    line-height: 1.5;
    font-weight: 500;
}

/* 日期框样式 - 蓝色渐变背景 */
.news-item .date-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 8px;
    color: white;
    text-align: center;
    flex-shrink: 0;
}

.date-number {
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 2px;
}

.date-month {
    font-size: 10px;
    font-weight: 500;
    opacity: 0.9;
}

/* 头部功能区粘性定位 */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* 主要内容区域 */
.main-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* 通用部分样式 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding: 25px 30px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    border-radius: 8px;
    color: white;
}

.section-header h2 {
    font-size: 24px;
    color: white;
    margin: 0;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header h2::before {
    content: '■';
    color: white;
    font-size: 20px;
}

.section-header p {
    color: white;
    font-size: 14px;
    font-style: italic;
    opacity: 0.9;
    margin: 0;
}

.more-link {
    color: #1e3a8a;
    text-decoration: none;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.more-link:hover {
    color: #3b82f6;
    transform: translateX(5px);
}

.enter-website-btn {
    background: #ff6b35;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.enter-website-btn:hover {
    background: #e55a2b;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

/* 教育培训业务介绍部分 */
.business-intro-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.business-intro-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.business-intro-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* 视频播放器样式 */
.video-section {
    display: flex;
    flex-direction: column;
}

.video-player {
    background: #000;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.video-thumbnail {
    position: relative;
    width: 100%;
    height: 225px;
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: white;
    transform: translate(-50%, -50%) scale(1.1);
}

.play-button i {
    font-size: 20px;
    color: #1e3a8a;
    margin-left: 3px;
}

.video-controls {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px 20px;
    background: #1a1a1a;
    color: white;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background-color 0.3s ease;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.time-display {
    font-size: 14px;
    color: #ccc;
    margin-left: auto;
}

/* 服务列表样式 */
.services-list {
    background: #1e3a8a;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 58, 138, 0.3);
}

.services-header {
    background: #1e3a8a;
    padding: 20px;
    text-align: center;
}

.services-header h3 {
    color: white;
    margin: 0;
    font-size: 18px;
    font-weight: 600;
}

.services-content {
    background: white;
    padding: 25px;
}

.services-list-items {
    list-style: none;
    padding: 0;
    margin: 0 0 20px 0;
    counter-reset: item;
}

.services-list-items li {
    counter-increment: item;
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
    line-height: 1.6;
    color: #4a5568;
}

.services-list-items li::before {
    content: counter(item);
    position: absolute;
    left: 0;
    top: 0;
    background: #1e3a8a;
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.see-more-btn {
    display: inline-block;
    background: #1e3a8a;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.see-more-btn:hover {
    background: #3b82f6;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

/* 最新培训信息部分 */
.training-info-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.training-info-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.training-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.training-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px 0;
    border-bottom: 1px solid #f1f5f9;
    transition: background-color 0.3s ease;
}

.training-item:hover {
    background-color: #f8fafc;
    margin: 0 -40px;
    padding: 15px 40px;
}

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

.training-item.highlight {
    background-color: #fef2f2;
    border-left: 4px solid #dc2626;
    margin: 0 -40px;
    padding: 15px 40px;
}

.training-item.highlight .training-content {
    color: #dc2626;
    font-weight: 600;
}

.training-date {
    color: #718096;
    font-size: 14px;
    flex-shrink: 0;
    min-width: 100px;
}

.training-content {
    flex: 1;
    color: #2d3748;
    font-size: 14px;
    line-height: 1.5;
}

/* 科普小课堂部分 */
.science-classroom-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.science-classroom-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.classroom-videos {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 30px;
}

.video-card {
    background: #f8fafc;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(30, 58, 138, 0.15);
}

.video-card .video-thumbnail {
    position: relative;
    width: 100%;
    height: 120px;
    overflow: hidden;
}

.video-card .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .play-overlay {
    opacity: 1;
}

.play-overlay i {
    color: white;
    font-size: 14px;
    margin-left: 2px;
}

.episode-number {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #1e3a8a;
    color: white;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 600;
}

.video-info {
    padding: 15px;
}

.video-info h4 {
    font-size: 14px;
    color: #2d3748;
    margin: 0 0 10px 0;
    line-height: 1.4;
    font-weight: 600;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #718096;
}

.episode {
    background: #e2e8f0;
    padding: 2px 8px;
    border-radius: 10px;
}

/* 远程教育部分 */
.remote-education-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.remote-education-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.remote-education-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    margin-top: 30px;
}

.education-videos {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.education-video {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.education-video .video-thumbnail {
    position: relative;
    width: 200px;
    height: 120px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.education-video .video-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.education-video .play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.education-video:hover .play-overlay {
    opacity: 1;
}

.education-video .play-overlay i {
    color: white;
    font-size: 18px;
    margin-left: 3px;
}

.education-video .video-info {
    flex: 1;
    padding: 0;
}

.video-date {
    color: #718096;
    font-size: 12px;
    margin-bottom: 8px;
}

.education-video .video-info h4 {
    font-size: 14px;
    color: #2d3748;
    margin: 0;
    line-height: 1.4;
    font-weight: 600;
}

/* 联系我们样式 */
.contact-info {
    background: #f8fafc;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #1e3a8a;
}

.contact-info h3 {
    color: #1e3a8a;
    margin: 0 0 20px 0;
    font-size: 18px;
    font-weight: 700;
}

.contact-details p {
    margin: 0 0 10px 0;
    font-size: 14px;
    color: #4a5568;
    line-height: 1.5;
}

.contact-details p:last-child {
    margin-bottom: 0;
}

/* 定制化培训部分 */
.customized-training-section {
    background: white;
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.customized-training-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #1e3a8a, #3b82f6);
}

.customized-training-content {
    margin-top: 30px;
}

.training-description {
    margin-bottom: 40px;
}

.training-description p {
    font-size: 16px;
    color: #4a5568;
    line-height: 1.6;
    margin: 0;
}

.training-process h3 {
    color: #1e3a8a;
    margin: 0 0 30px 0;
    font-size: 20px;
    font-weight: 700;
}

.process-steps {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    min-width: 120px;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #1e3a8a, #3b82f6);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
}

.step-content {
    font-size: 12px;
    color: #4a5568;
    text-align: center;
    line-height: 1.4;
    font-weight: 500;
}

.process-arrow {
    color: #1e3a8a;
    font-size: 16px;
    margin: 0 5px;
}

/* 返回顶部按钮 */
.scroll-to-top {
    position: fixed;
    bottom: 80px;
    right: 30px;
    background: #1e3a8a;
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(30, 58, 138, 0.3);
    transition: all 0.3s ease;
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.scroll-to-top:hover {
    background: #3b82f6;
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(30, 58, 138, 0.4);
}

.scroll-to-top i {
    font-size: 1.1rem;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .business-intro-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .classroom-videos {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .remote-education-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .process-steps {
        justify-content: center;
    }
}

/* 新闻列表响应式设计 */
@media (max-width: 768px) {
    .news-item {
        padding: 12px 0;
    }
    
    .news-item:hover {
        margin: 0 -15px;
        padding: 12px 15px;
    }
    
    .news-item .news-text {
        font-size: 13px;
    }
    
    .news-item .date-box {
        min-width: 50px;
        height: 50px;
    }
    
    .date-number {
        font-size: 16px;
    }
    
    .date-month {
        font-size: 9px;
    }
}

@media (max-width: 480px) {
    .news-item {
        padding: 10px 0;
        gap: 10px;
    }
    
    .news-item:hover {
        margin: 0 -10px;
        padding: 10px 10px;
    }
    
    .news-item .date-box {
        min-width: 45px;
        height: 45px;
    }
    
    .date-number {
        font-size: 14px;
    }
    
    .date-month {
        font-size: 8px;
    }
}

@media (max-width: 768px) {
    .main-content {
        padding: 20px 15px;
    }
    
    .business-intro-section,
    .training-info-section,
    .science-classroom-section,
    .remote-education-section,
    .customized-training-section {
        padding: 25px 20px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        padding: 20px 25px;
    }
    
    .section-header h2 {
        font-size: 20px;
    }
    
    .section-header p {
        font-size: 13px;
    }
    
    .enter-website-btn {
        padding: 8px 16px;
        font-size: 14px;
    }
    
    .video-thumbnail {
        height: 180px;
    }
    
    .services-content {
        padding: 20px;
    }
    
    .services-list-items li {
        font-size: 14px;
        margin-bottom: 12px;
    }
    
    .training-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .training-date {
        min-width: auto;
    }
    
    .classroom-videos {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .education-video {
        flex-direction: column;
        gap: 10px;
    }
    
    .education-video .video-thumbnail {
        width: 100%;
        height: 150px;
    }
    
    .process-steps {
        flex-direction: column;
        align-items: center;
    }
    
    .process-arrow {
        transform: rotate(90deg);
        margin: 10px 0;
    }
    
    .scroll-to-top {
        bottom: 70px;
        right: 20px;
        width: 45px;
        height: 45px;
    }
}

@media (max-width: 480px) {
    .main-content {
        padding: 15px 10px;
    }
    
    .business-intro-section,
    .training-info-section,
    .science-classroom-section,
    .remote-education-section,
    .customized-training-section {
        padding: 20px 15px;
    }
    
    .section-header h2 {
        font-size: 18px;
    }
    
    .enter-website-btn {
        padding: 6px 12px;
        font-size: 12px;
    }
    
    .video-thumbnail {
        height: 150px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
    
    .play-button i {
        font-size: 16px;
    }
    
    .services-content {
        padding: 15px;
    }
    
    .services-list-items li {
        font-size: 13px;
        margin-bottom: 10px;
    }
    
    .training-content {
        font-size: 13px;
    }
    
    .video-info h4 {
        font-size: 13px;
    }
    
    .education-video .video-thumbnail {
        height: 120px;
    }
    
    .contact-info {
        padding: 20px;
    }
    
    .contact-details p {
        font-size: 13px;
    }
    
    .training-description p {
        font-size: 14px;
    }
    
    .step-content {
        font-size: 11px;
    }
}

/* 页脚样式 - 强制移除联系我们区域的白色框框 */
.fixed-footer .footer-left {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
}

.fixed-footer .contact-info {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    margin: 0 !important;
}

.fixed-footer .contact-info p {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
    padding: 0 !important;
    margin: 8px 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

/* 确保所有可能的白色背景都被移除 */
.fixed-footer .footer-left *,
.fixed-footer .contact-info *,
.fixed-footer .contact-info p * {
    background: transparent !important;
    background-color: transparent !important;
    background-image: none !important;
}
