/* 增强版特色项目页面样式 */

/* ========== 返回顶部按钮 ========== */
.back-to-top {
    position: fixed;
    bottom: 40px;
    right: 40px;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #003d7a, #0066b3);
    color: white;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(0, 61, 122, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: all 0.3s ease;
    z-index: 9999;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 61, 122, 0.6);
    background: linear-gradient(135deg, #0066b3, #003d7a);
}

.back-to-top:active {
    transform: translateY(-2px);
}

.back-to-top svg {
    width: 24px;
    height: 24px;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 45px;
        height: 45px;
    }

    .back-to-top svg {
        width: 20px;
        height: 20px;
    }
}

/* ========== 在线咨询按钮 ========== */
.online-consult {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9998;
}

.consult-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 20px 15px;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    box-shadow: -2px 2px 15px rgba(16, 185, 129, 0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: -2px 2px 15px rgba(16, 185, 129, 0.4);
    }
    50% {
        box-shadow: -4px 4px 25px rgba(16, 185, 129, 0.6);
    }
}

.consult-btn:hover {
    padding-right: 20px;
    animation: none;
    box-shadow: -4px 4px 25px rgba(16, 185, 129, 0.7);
}

.consult-text {
    writing-mode: vertical-rl;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 2px;
}

.consult-panel {
    position: absolute;
    right: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(20px);
    width: 320px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.consult-panel.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(-50%) translateX(0);
}

.panel-header {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    padding: 20px;
    border-radius: 12px 12px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.close-btn {
    background: none;
    border: none;
    color: white;
    font-size: 28px;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.panel-body {
    padding: 25px;
    text-align: center;
}

.qrcode-box {
    width: 200px;
    height: 200px;
    margin: 0 auto 20px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    background: white;
}

.qrcode-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.qrcode-tip {
    font-size: 14px;
    color: #059669;
    line-height: 1.8;
    margin: 0 0 20px 0;
    font-weight: 500;
}

.contact-info {
    background: linear-gradient(135deg, #f0fdf4, #ffffff);
    padding: 15px;
    border-radius: 8px;
    border-left: 3px solid #10b981;
}

.contact-info p {
    margin: 8px 0;
    font-size: 13px;
    color: #374151;
    line-height: 1.6;
}

/* 移动端适配 */
@media (max-width: 768px) {
    .online-consult {
        right: 0;
        top: auto;
        bottom: 80px;
        transform: none;
    }

    .consult-btn {
        border-radius: 8px 0 0 8px;
        padding: 15px 12px;
    }

    .consult-text {
        font-size: 12px;
    }

    .consult-panel {
        width: 280px;
        right: 100%;
        top: 50%;
        transform: translateY(-50%) translateX(20px);
    }

    .consult-panel.active {
        transform: translateY(-50%) translateX(0);
    }

    .qrcode-box {
        width: 180px;
        height: 180px;
    }
}

.page-header.enhanced {
    position: relative;
    background: linear-gradient(135deg, #003d7a 0%, #005a9c 100%);
    padding: 80px 20px;
    overflow: hidden;
}

.page-header .header-overlay {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: url('../images/header-bg.jpg') center/cover;
    opacity: 0.15;
}

.page-header .header-content {
    position: relative;
    z-index: 1;
    text-align: center;
    color: white;
}

.header-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-top: 40px;
}

.header-stats .stat {
    text-align: center;
}

.header-stats .count {
    font-size: 48px;
    font-weight: bold;
}

.header-stats small {
    font-size: 14px;
    opacity: 0.9;
}

/* 快速导航 */
.feature-nav { background: linear-gradient(180deg, #f8f9fa 0%, #fff 100%); padding: 50px 20px; }
.nav-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 25px; max-width: 1200px; margin: 0 auto; }
.nav-card {
    display: flex; flex-direction: column; align-items: center;
    padding: 30px 20px; background: white; border-radius: 16px;
    text-decoration: none; box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: all 0.3s ease; position: relative; overflow: hidden;
}
.nav-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 4px; }
.nav-card.enterprise::before { background: linear-gradient(90deg, #003d7a, #0066b3); }
.nav-card.military::before { background: linear-gradient(90deg, #8b0000, #dc143c); }
.nav-card.credit::before { background: linear-gradient(90deg, #b8860b, #daa520); }
.nav-card.international::before { background: linear-gradient(90deg, #2e7d32, #43a047); }
.nav-card.bank::before { background: linear-gradient(90deg, #1565c0, #42a5f5); }
.nav-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); }
.nav-icon { font-size: 48px; margin-bottom: 15px; }
.nav-title { font-size: 16px; font-weight: 600; color: #333; margin-bottom: 10px; text-align: center; }
.nav-tag { font-size: 12px; padding: 4px 12px; border-radius: 20px; background: #f8f9fa; color: #666; }

/* 板块通用样式 */
.feature-section { margin-bottom: 60px; background: white; border-radius: 20px; padding: 40px; box-shadow: 0 4px 25px rgba(0,0,0,0.06); scroll-margin-top: 140px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 2px solid #dee2e6; }
.section-header h2 { display: flex; align-items: center; gap: 15px; font-size: 28px; color: #003d7a; margin: 0; }
.section-header .header-icon { font-size: 36px; }
.section-badge { padding: 8px 20px; border-radius: 25px; font-size: 14px; font-weight: 500; }
.badge-blue { background: linear-gradient(135deg, #003d7a, #0066b3); color: white; }
.badge-red { background: linear-gradient(135deg, #8b0000, #dc143c); color: white; }
.section-intro { font-size: 16px; line-height: 1.8; color: #333; margin-bottom: 30px; padding: 20px; background: #f8f9fa; border-radius: 12px; border-left: 4px solid #003d7a; }

/* ========== 可展开卡片 ========== */
.expandable-cards { display: flex; flex-direction: column; gap: 20px; }
.expand-card { background: #fff; border: 1px solid #e0e0e0; border-radius: 16px; overflow: hidden; transition: all 0.3s ease; }
.expand-card:hover { box-shadow: 0 8px 30px rgba(0,0,0,0.1); }
.expand-card.expanded { border-color: #003d7a; }

.card-header { display: flex; justify-content: space-between; align-items: center; padding: 20px 25px; cursor: pointer; background: linear-gradient(to right, #fafbfc, #fff); }
.card-header:hover { background: linear-gradient(to right, #f0f4f8, #fafbfc); }
.card-left { display: flex; align-items: center; gap: 20px; }
.partner-logo { width: 60px; height: 60px; border-radius: 12px; background: linear-gradient(135deg, #003d7a, #0066b3); color: white; display: flex; align-items: center; justify-content: center; font-weight: bold; font-size: 18px; }
.partner-info h3 { margin: 0 0 5px 0; font-size: 18px; color: #333; }
.project-name { font-size: 14px; color: #666; }
.card-right { display: flex; align-items: center; gap: 25px; }
.mini-stats { display: flex; gap: 20px; font-size: 13px; color: #666; }
.mini-stats strong { color: #003d7a; }
.expand-icon { font-size: 14px; color: #999; transition: transform 0.3s ease; }
.expand-card.expanded .expand-icon { transform: rotate(180deg); }

.card-body { max-height: 0; overflow: hidden; transition: max-height 0.4s ease; padding: 0 25px; }
.expand-card.expanded .card-body { padding: 25px; border-top: 1px solid #eee; }

/* 详情统计 */
.detail-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; margin-bottom: 25px; }
.stat-box { text-align: center; padding: 20px 15px; background: linear-gradient(135deg, #f8f9fa, #fff); border-radius: 12px; border: 1px solid #e8e8e8; }
.stat-num { display: block; font-size: 28px; font-weight: bold; color: #003d7a; }
.stat-label { font-size: 12px; color: #666; margin-top: 5px; }

/* 详情区块 */
.detail-section { margin-top: 25px; }
.detail-section h4 { font-size: 16px; color: #333; margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px dashed #ddd; }

/* ========== 图片画廊 ========== */
.photo-gallery { display: grid; grid-template-columns: repeat(4, 1fr); gap: 15px; }
.photo-item { position: relative; border-radius: 12px; overflow: hidden; cursor: pointer; aspect-ratio: 4/3; }
.photo-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; }
.photo-item:hover img { transform: scale(1.1); }
.photo-caption { position: absolute; bottom: 0; left: 0; right: 0; padding: 8px; background: linear-gradient(transparent, rgba(0,0,0,0.7)); color: white; font-size: 12px; text-align: center; }

/* ========== 灯箱 ========== */
.lightbox { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.9); z-index: 9999; justify-content: center; align-items: center; flex-direction: column; }
.lightbox.active { display: flex; }
.lightbox img { max-width: 90%; max-height: 80%; border-radius: 8px; }
.lightbox p { color: white; margin-top: 15px; font-size: 16px; }
.close-btn { position: absolute; top: 20px; right: 30px; font-size: 40px; color: white; cursor: pointer; }

/* ========== 新闻列表 ========== */
.news-list-mini { list-style: none; padding: 0; margin: 0; }
.news-list-mini li { display: flex; align-items: center; gap: 15px; padding: 12px 0; border-bottom: 1px solid #f0f0f0; }
.news-list-mini li:last-child { border-bottom: none; }
.news-list-mini .date { font-size: 12px; color: #999; background: #f5f5f5; padding: 4px 10px; border-radius: 4px; }
.news-list-mini a { color: #333; text-decoration: none; font-size: 14px; transition: color 0.2s; }
.news-list-mini a:hover { color: #003d7a; }

/* ========== 学员评价 ========== */
.testimonial-box {
    background: linear-gradient(135deg, #ffffff, #f8fafc);
    padding: 30px 35px;
    border-radius: 16px;
    border-left: 5px solid #003d7a;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 61, 122, 0.08);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.testimonial-box:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(0, 61, 122, 0.15);
}
.testimonial-box::before {
    content: '"';
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 72px;
    color: rgba(0, 61, 122, 0.08);
    font-family: Georgia, serif;
    line-height: 1;
    font-weight: bold;
}
.testimonial-box p {
    font-size: 16px;
    line-height: 2;
    color: #334155;
    margin: 0 0 20px 0;
    padding-left: 40px;
    font-style: normal;
    letter-spacing: 0.3px;
    text-align: justify;
}
.testimonial-author {
    text-align: right;
    font-size: 15px;
    color: #64748b;
    font-weight: 500;
    padding-right: 10px;
    font-style: italic;
}

/* ========== 军魂助学主题 ========== */
.military-theme { background: linear-gradient(135deg, #fff5f5, #fff); }
.military-theme .section-header h2 { color: #8b0000; }

.honor-wall { display: flex; flex-wrap: wrap; gap: 15px; margin-bottom: 30px; }
.honor-item { padding: 12px 20px; background: linear-gradient(135deg, #fff, #fff5f5); border: 1px solid #f0d0d0; border-radius: 8px; font-size: 14px; color: #8b0000; }

.data-dashboard { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; margin-bottom: 30px; }
.dash-item { text-align: center; padding: 25px 15px; background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(139,0,0,0.1); }
.dash-num { font-size: 36px; font-weight: bold; color: #8b0000; }

/* ========== 轮播组件 ========== */
.testimonial-carousel { position: relative; overflow: hidden; }
.carousel-track { position: relative; }
.carousel-item { display: none; animation: fadeIn 0.5s ease; }
.carousel-item.active { display: block; }
@keyframes fadeIn { from { opacity: 0; transform: translateX(20px); } to { opacity: 1; transform: translateX(0); } }

.student-card { display: flex; align-items: center; gap: 20px; padding: 25px; background: white; border-radius: 12px; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.student-avatar { width: 70px; height: 70px; border-radius: 50%; background: linear-gradient(135deg, #8b0000, #dc143c); display: flex; align-items: center; justify-content: center; font-size: 32px; }
.student-info h5 { margin: 0 0 10px 0; font-size: 16px; color: #333; }
.student-info p { margin: 0; font-size: 14px; color: #666; line-height: 1.6; font-style: italic; }

.carousel-dots { display: flex; justify-content: center; gap: 10px; margin-top: 20px; }
.dot { width: 10px; height: 10px; border-radius: 50%; background: #ddd; cursor: pointer; transition: all 0.3s; }
.dot.active { background: #8b0000; transform: scale(1.2); }

.military-cta { text-align: center; padding: 40px; background: linear-gradient(135deg, #8b0000, #dc143c); border-radius: 16px; color: white; margin-top: 30px; }
.military-cta h3 { margin: 0 0 10px 0; font-size: 24px; }
.military-cta p { margin: 0 0 20px 0; opacity: 0.9; }

/* ========== 流程动画 ========== */
.flow-animation { display: flex; align-items: center; justify-content: center; gap: 10px; padding: 40px 20px; background: linear-gradient(135deg, #f8f9fa, #fff); border-radius: 16px; margin-bottom: 30px; flex-wrap: wrap; }
.flow-step { text-align: center; padding: 20px; opacity: 1; transform: translateY(0); transition: all 0.5s ease; }
.flow-step.animate-in { opacity: 1; transform: translateY(0); }
.flow-step:nth-child(1) { transition-delay: 0s; }
.flow-step:nth-child(3) { transition-delay: 0.2s; }
.flow-step:nth-child(5) { transition-delay: 0.4s; }
.flow-step:nth-child(7) { transition-delay: 0.6s; }
.flow-step:nth-child(9) { transition-delay: 0.8s; }
.step-icon { font-size: 40px; margin-bottom: 10px; }
.step-title { font-size: 16px; font-weight: 600; color: #003d7a; }
.step-desc { font-size: 12px; color: #666; margin-top: 5px; }
.flow-arrow { font-size: 24px; color: #003d7a; }
.flow-arrow.animated { animation: arrowPulse 1.5s infinite; }
@keyframes arrowPulse { 0%, 100% { opacity: 0.5; } 50% { opacity: 1; } }

/* ========== 案例卡片 ========== */
.case-cards { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
.case-card { background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 15px rgba(0,0,0,0.08); }
.case-header { padding: 15px 20px; background: linear-gradient(135deg, #003d7a, #0066b3); color: white; font-weight: 600; }
.case-body { padding: 20px; }
.case-body p { margin: 0; font-size: 14px; line-height: 1.8; color: #555; }

/* ========== 证书展示 ========== */
.cert-showcase { display: grid; grid-template-columns: repeat(3, 1fr); gap: 25px; margin-bottom: 30px; }
.cert-card { background: white; border-radius: 16px; padding: 30px; text-align: center; box-shadow: 0 4px 20px rgba(0,0,0,0.08); cursor: pointer; transition: all 0.3s ease; border: 2px solid transparent; }
.cert-card:hover { transform: translateY(-8px); box-shadow: 0 12px 35px rgba(0,0,0,0.15); border-color: #003d7a; }
.cert-logo { width: 80px; height: 80px; margin: 0 auto 20px; border-radius: 50%; background: linear-gradient(135deg, #003d7a, #0066b3); color: white; display: flex; align-items: center; justify-content: center; font-size: 20px; font-weight: bold; }
.cert-card h4 { margin: 0 0 15px 0; font-size: 18px; color: #333; }
.cert-stats { display: flex; justify-content: center; gap: 20px; font-size: 13px; color: #666; margin-bottom: 15px; }
.cert-stats strong { color: #003d7a; }
.view-detail { font-size: 13px; color: #003d7a; }

/* ========== 弹窗 ========== */
.modal-overlay { display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.6); z-index: 9999; justify-content: center; align-items: center; }
.modal-overlay.active { display: flex; }
.modal-content { background: white; border-radius: 20px; padding: 40px; max-width: 500px; width: 90%; position: relative; animation: modalIn 0.3s ease; }
@keyframes modalIn { from { opacity: 0; transform: scale(0.9); } to { opacity: 1; transform: scale(1); } }
.modal-close { position: absolute; top: 15px; right: 20px; font-size: 28px; color: #999; cursor: pointer; }
.modal-close:hover { color: #333; }
.cert-detail h3 { margin: 0 0 15px 0; font-size: 24px; color: #003d7a; text-align: center; }
.cert-desc { text-align: center; color: #666; margin-bottom: 20px; }
.cert-features { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 25px; }
.feature-tag { padding: 6px 15px; background: #f0f4f8; border-radius: 20px; font-size: 13px; color: #003d7a; }
.cert-modal-stats { display: flex; justify-content: center; gap: 40px; margin-bottom: 25px; text-align: center; }
.cert-modal-stats strong { font-size: 28px; color: #003d7a; }

/* ========== 按钮样式 ========== */
.btn-cta { display: inline-block; padding: 14px 35px; background: linear-gradient(135deg, #003d7a, #0066b3); color: white; text-decoration: none; border-radius: 30px; font-weight: 500; transition: all 0.3s ease; border: none; cursor: pointer; }
.btn-cta:hover { transform: translateY(-3px); box-shadow: 0 8px 25px rgba(0,61,122,0.3); }
.section-cta { text-align: center; margin-top: 30px; }

/* ========== 响应式设计 ========== */
@media (max-width: 1024px) {
    .nav-cards { grid-template-columns: repeat(2, 1fr); }
    .detail-stats, .data-dashboard { grid-template-columns: repeat(2, 1fr); }
    .cert-showcase { grid-template-columns: repeat(2, 1fr); }
    .photo-gallery { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    /* 特色项目正文内所有内联多列grid在手机端改单列，避免文字挤成竖排 */
    .page-content [style*="grid-template-columns: repeat(2"] { grid-template-columns: 1fr !important; }
    .page-content [style*="grid-template-columns: repeat(3"] { grid-template-columns: 1fr !important; }
    .header-stats { flex-direction: column; gap: 20px; }
    .header-stats .count { font-size: 36px; }
    .nav-cards { grid-template-columns: repeat(2, 1fr) !important; gap: 15px !important; }
    .nav-card { padding: 20px 12px; }
    /* 第5张(学分银行)独占一行做整宽特色卡，横排图标+文字，避免半宽居中显得孤立 */
    .nav-card:nth-child(5) { grid-column: 1 / -1; display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 16px; padding: 18px 20px; }
    .nav-card:nth-child(5) .nav-icon { font-size: 40px; margin-bottom: 0; }
    .nav-card:nth-child(5) .nav-title { font-size: 16px; }
    .nav-icon { font-size: 36px; margin-bottom: 10px; }
    .nav-title { font-size: 14px; }
    .nav-tag { font-size: 11px; }
    .card-header { flex-direction: column; align-items: flex-start; gap: 15px; }
    .card-right { width: 100%; justify-content: space-between; }
    .detail-stats, .data-dashboard { grid-template-columns: 1fr 1fr; }
    .cert-showcase, .case-cards { grid-template-columns: 1fr; }
    .photo-gallery { grid-template-columns: repeat(2, 1fr); }
    .flow-animation { flex-direction: column; }
    .flow-arrow { transform: rotate(90deg); }
    .student-card { flex-direction: column; text-align: center; }
    /* 正文引言收缩，手机端更精致 */
    .section-intro { font-size: 14.5px; line-height: 1.7; padding: 14px; margin-bottom: 18px; }
    /* 内联卡片 padding 收缩 */
    .page-content [style*="padding: 25px"] { padding: 16px !important; }
    .page-content [style*="padding: 30px"] { padding: 16px !important; }
    .result-num { font-size: 40px; }
}

/* 横屏适配：导航卡片3列，第5张缩回1/3宽度，不占满行 */
@media (max-width: 926px) and (orientation: landscape) {
    .nav-cards { grid-template-columns: repeat(3, 1fr) !important; gap: 12px !important; }
    .nav-card { padding: 18px 10px; }
    .nav-card:nth-child(5) { grid-column: auto; flex-direction: column; padding: 18px 10px; }
    .nav-card:nth-child(5) .nav-icon { font-size: 36px; margin-bottom: 10px; }
    .nav-card:nth-child(5) .nav-title { font-size: 14px; }
    .nav-icon { font-size: 34px; margin-bottom: 8px; }
    .nav-title { font-size: 13px; }
    .nav-tag { font-size: 10px; }
}

/* ========== 学分计算器 ========== */
.credit-calculator { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; padding: 30px; background: linear-gradient(135deg, #f8f9fa, #fff); border-radius: 16px; }
.calc-form { display: flex; flex-direction: column; gap: 20px; }
.calc-row { display: flex; justify-content: space-between; align-items: center; }
.calc-row label { font-size: 14px; color: #333; }
.calc-row input { width: 80px; padding: 10px 15px; border: 2px solid #e0e0e0; border-radius: 8px; font-size: 16px; text-align: center; transition: border-color 0.3s; }
.calc-row input:focus { outline: none; border-color: #003d7a; }
.btn-calc { padding: 14px 30px; background: linear-gradient(135deg, #003d7a, #0066b3); color: white; border: none; border-radius: 8px; font-size: 16px; cursor: pointer; transition: all 0.3s; }
.btn-calc:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(0,61,122,0.3); }
.calc-result { display: flex; flex-direction: column; justify-content: center; align-items: center; background: white; border-radius: 16px; padding: 30px; box-shadow: 0 4px 20px rgba(0,0,0,0.08); transition: all 0.3s; }
.calc-result.highlight { transform: scale(1.05); box-shadow: 0 8px 30px rgba(0,61,122,0.2); }
.result-num { font-size: 60px; font-weight: bold; color: #003d7a; }
.result-label { font-size: 16px; color: #666; margin-top: 10px; }
.result-tip { font-size: 12px; color: #999; margin-top: 15px; }

@media (max-width: 768px) {
    .credit-calculator { grid-template-columns: 1fr; }
}

/* ========== 可点击数据卡片样式 ========== */
.stat-clickable {
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 20px;
    border-radius: 12px;
}

.stat-clickable:hover {
    transform: translateY(-5px) scale(1.05);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.click-hint {
    font-size: 11px;
    margin-top: 8px;
    opacity: 0;
    transition: opacity 0.3s ease;
    color: rgba(255, 255, 255, 0.9);
}

.stat-clickable:hover .click-hint {
    opacity: 1;
}

/* ========== 数据详情模态框样式 ========== */
.stat-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.stat-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.stat-modal-content {
    background: white;
    border-radius: 20px;
    max-width: 900px;
    width: 90%;
    max-height: 85vh;
    overflow-y: auto;
    position: relative;
    animation: slideUp 0.4s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

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

.stat-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.stat-modal-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

#statModalBody {
    padding: 40px;
}

/* 模态框标题样式 */
.modal-title {
    font-size: 32px;
    color: #003d7a;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 3px solid #003d7a;
    display: flex;
    align-items: center;
    gap: 15px;
}

.modal-title-icon {
    font-size: 40px;
}

/* 时间线样式 */
.timeline {
    position: relative;
    padding: 20px 0;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 45px;
    top: 0;
    bottom: 0;
    width: 4px;
    background: linear-gradient(180deg, #003d7a 0%, #0066b3 50%, #003d7a 100%);
    border-radius: 2px;
}

.timeline-item {
    position: relative;
    padding-left: 120px;
    margin-bottom: 50px;
    animation: fadeInLeft 0.6s ease forwards;
    opacity: 0;
}

.timeline-item:nth-child(1) { animation-delay: 0.1s; }
.timeline-item:nth-child(2) { animation-delay: 0.2s; }
.timeline-item:nth-child(3) { animation-delay: 0.3s; }
.timeline-item:nth-child(4) { animation-delay: 0.4s; }
.timeline-item:nth-child(5) { animation-delay: 0.5s; }
.timeline-item:nth-child(6) { animation-delay: 0.6s; }
.timeline-item:nth-child(7) { animation-delay: 0.7s; }
.timeline-item:nth-child(8) { animation-delay: 0.8s; }
.timeline-item:nth-child(9) { animation-delay: 0.9s; }

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.timeline-year {
    position: absolute;
    left: 0;
    top: 5px;
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, #003d7a, #0066b3);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 13px;
    line-height: 1.3;
    text-align: center;
    padding: 10px;
    box-shadow: 0 6px 20px rgba(0, 61, 122, 0.4);
    z-index: 1;
    border: 4px solid white;
}

.timeline-content {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid #003d7a;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.timeline-content::before {
    content: '';
    position: absolute;
    left: -15px;
    top: 30px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #003d7a;
}

.timeline-content:hover {
    transform: translateX(8px);
    box-shadow: 0 8px 30px rgba(0, 61, 122, 0.2);
    border-left-color: #0066b3;
}

.timeline-content h3 {
    color: #003d7a;
    font-size: 20px;
    margin: 0 0 12px 0;
    font-weight: 600;
}

.timeline-content p {
    color: #666;
    font-size: 15px;
    line-height: 1.8;
    margin: 0;
}

/* 课程网格样式 */
.course-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.course-category {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.course-category:nth-child(1) { animation-delay: 0.1s; }
.course-category:nth-child(2) { animation-delay: 0.2s; }
.course-category:nth-child(3) { animation-delay: 0.3s; }
.course-category:nth-child(4) { animation-delay: 0.4s; }
.course-category:nth-child(5) { animation-delay: 0.5s; }
.course-category:nth-child(6) { animation-delay: 0.6s; }

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

.course-category:hover {
    border-color: #003d7a;
    box-shadow: 0 8px 25px rgba(0, 61, 122, 0.15);
    transform: translateY(-5px);
}

.course-category-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-bottom: 15px;
    border-bottom: 2px solid #f0f0f0;
}

.course-icon {
    font-size: 32px;
}

.course-category h3 {
    color: #003d7a;
    font-size: 18px;
    margin: 0;
}

.course-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.course-list li {
    padding: 10px 0;
    color: #666;
    font-size: 14px;
    border-bottom: 1px dashed #e8e8e8;
    display: flex;
    align-items: center;
    gap: 8px;
}

.course-list li:last-child {
    border-bottom: none;
}

.course-list li::before {
    content: '▸';
    color: #003d7a;
    font-weight: bold;
}

/* 合作领域卡片样式 */
.cooperation-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.cooperation-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    animation: zoomIn 0.5s ease forwards;
    opacity: 0;
}

.cooperation-card:nth-child(1) { animation-delay: 0.1s; }
.cooperation-card:nth-child(2) { animation-delay: 0.2s; }
.cooperation-card:nth-child(3) { animation-delay: 0.3s; }
.cooperation-card:nth-child(4) { animation-delay: 0.4s; }
.cooperation-card:nth-child(5) { animation-delay: 0.5s; }
.cooperation-card:nth-child(6) { animation-delay: 0.6s; }
.cooperation-card:nth-child(7) { animation-delay: 0.7s; }
.cooperation-card:nth-child(8) { animation-delay: 0.8s; }

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.cooperation-card:hover {
    border-color: #003d7a;
    box-shadow: 0 8px 25px rgba(0, 61, 122, 0.15);
    transform: translateY(-5px);
}

.cooperation-icon {
    font-size: 48px;
    margin-bottom: 15px;
}

.cooperation-card h3 {
    color: #003d7a;
    font-size: 16px;
    margin: 0 0 10px 0;
}

.cooperation-card p {
    color: #666;
    font-size: 13px;
    line-height: 1.6;
    margin: 0;
}

/* 合作案例卡片样式 */
.cooperation-case-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 2px solid #e0e0e0;
    transition: all 0.3s ease;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.cooperation-case-card:nth-child(1) { animation-delay: 0.2s; }
.cooperation-case-card:nth-child(2) { animation-delay: 0.3s; }
.cooperation-case-card:nth-child(3) { animation-delay: 0.4s; }

.cooperation-case-card:hover {
    border-color: #003d7a;
    box-shadow: 0 10px 30px rgba(0, 61, 122, 0.2);
    transform: translateY(-8px);
}

.cooperation-case-placeholder {
    border-style: dashed;
    background: linear-gradient(135deg, #fafafa 0%, #ffffff 100%);
}

.cooperation-case-placeholder:hover {
    border-color: #ccc;
    transform: translateY(-3px);
}

.case-header {
    background: linear-gradient(135deg, #003d7a 0%, #0066b3 100%);
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.case-logo {
    width: 60px;
    height: 60px;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    flex-shrink: 0;
}

.case-info {
    flex: 1;
}

.case-info h4 {
    color: white;
    font-size: 18px;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.case-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.case-body {
    padding: 25px;
}

.case-item {
    display: flex;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px dashed #e8e8e8;
}

.case-item:last-of-type {
    border-bottom: none;
    margin-bottom: 15px;
}

.case-label {
    font-size: 14px;
    color: #003d7a;
    font-weight: 600;
    min-width: 85px;
}

.case-value {
    font-size: 14px;
    color: #666;
    flex: 1;
}

.case-desc {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 15px;
    border-radius: 10px;
    border-left: 3px solid #003d7a;
    font-size: 14px;
    color: #666;
    line-height: 1.8;
    margin: 15px 0 0 0;
}

/* 满意度展示样式 */
.satisfaction-display {
    text-align: center;
    padding: 40px;
}

.satisfaction-circle {
    width: 200px;
    height: 200px;
    margin: 30px auto;
    border-radius: 50%;
    background: linear-gradient(135deg, #003d7a, #0066b3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 10px 40px rgba(0, 61, 122, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 10px 40px rgba(0, 61, 122, 0.3);
    }
    50% {
        transform: scale(1.05);
        box-shadow: 0 15px 50px rgba(0, 61, 122, 0.4);
    }
}

.satisfaction-number {
    font-size: 72px;
    font-weight: bold;
}

.satisfaction-label {
    font-size: 18px;
    margin-top: 10px;
}

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

.satisfaction-feature {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    padding: 25px;
    border-radius: 15px;
    border: 2px solid #e0e0e0;
    animation: fadeInUp 0.6s ease forwards;
    opacity: 0;
}

.satisfaction-feature:nth-child(1) { animation-delay: 0.2s; }
.satisfaction-feature:nth-child(2) { animation-delay: 0.3s; }
.satisfaction-feature:nth-child(3) { animation-delay: 0.4s; }

.satisfaction-feature h4 {
    color: #003d7a;
    font-size: 16px;
    margin: 0 0 10px 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.satisfaction-feature p {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
}

/* ========== 联系电话模态框样式 ========== */
.contact-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease;
}

.contact-modal.active {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-modal-content {
    background: white;
    border-radius: 25px;
    max-width: 500px;
    width: 90%;
    position: relative;
    animation: bounceIn 0.5s ease;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.contact-modal-close {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 32px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 1;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.contact-modal-close:hover {
    background: #f0f0f0;
    color: #333;
    transform: rotate(90deg);
}

.contact-modal-body {
    padding: 50px 40px 40px;
    text-align: center;
}

.contact-icon {
    font-size: 80px;
    margin-bottom: 20px;
    animation: ring 2s ease-in-out infinite;
}

@keyframes ring {
    0%, 100% {
        transform: rotate(0deg);
    }
    10%, 30% {
        transform: rotate(-15deg);
    }
    20%, 40% {
        transform: rotate(15deg);
    }
}

.contact-title {
    color: #003d7a;
    font-size: 32px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.contact-subtitle {
    color: #666;
    font-size: 16px;
    margin: 0 0 35px 0;
}

.contact-info-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 25px;
    border: 2px solid #e0e0e0;
}

.contact-teacher {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 25px;
    padding-bottom: 25px;
    border-bottom: 2px dashed #e0e0e0;
}

.teacher-avatar {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #003d7a, #0066b3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.3);
}

.teacher-info {
    text-align: left;
}

.teacher-name {
    font-size: 22px;
    color: #003d7a;
    font-weight: 600;
    margin-bottom: 5px;
}

.teacher-role {
    font-size: 14px;
    color: #999;
}

.contact-phone-display {
    text-align: center;
}

.phone-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 10px;
}

.phone-number {
    font-size: 36px;
    color: #003d7a;
    font-weight: bold;
    margin-bottom: 20px;
    letter-spacing: 2px;
    font-family: 'Arial', sans-serif;
}

.phone-call-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #003d7a, #0066b3);
    color: white;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-size: 18px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 61, 122, 0.3);
}

.phone-call-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 61, 122, 0.4);
}

.phone-call-btn .phone-icon {
    font-size: 24px;
}

.contact-tips {
    background: linear-gradient(135deg, #e3f2fd 0%, #ffffff 100%);
    border-radius: 15px;
    padding: 20px;
    border-left: 4px solid #003d7a;
}

.contact-tips p {
    font-size: 14px;
    color: #666;
    margin: 8px 0;
    line-height: 1.6;
}

/* 国际证书咨询模态框特殊样式 */
.cert-selection-hint {
    background: linear-gradient(135deg, #f0f4f8 0%, #ffffff 100%);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 25px;
    text-align: center;
    border: 2px dashed #1e3a8a;
}

.cert-selection-hint p {
    font-size: 15px;
    color: #333;
    margin: 0 0 15px 0;
    font-weight: 500;
}

.cert-badges {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.cert-badge {
    display: inline-block;
    padding: 10px 25px;
    color: white;
    border-radius: 25px;
    font-size: 16px;
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.cert-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .stat-modal-content {
        width: 95%;
        max-height: 90vh;
    }

    #statModalBody {
        padding: 25px 20px;
    }

    .modal-title {
        font-size: 20px;
        flex-direction: column;
        text-align: center;
    }

    .timeline::before {
        left: 35px;
    }

    .timeline-item {
        padding-left: 95px;
        margin-bottom: 40px;
    }

    .timeline-year {
        width: 70px;
        height: 70px;
        font-size: 11px;
        padding: 8px;
        border: 3px solid white;
    }

    .course-grid {
        grid-template-columns: 1fr;
    }

    .cooperation-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .satisfaction-features {
        grid-template-columns: 1fr;
    }

    .contact-modal-content {
        width: 95%;
        max-width: 400px;
    }

    .contact-modal-body {
        padding: 40px 25px 30px;
    }

    .contact-icon {
        font-size: 60px;
    }

    .contact-title {
        font-size: 24px;
    }

    .contact-subtitle {
        font-size: 14px;
    }

    .contact-info-box {
        padding: 20px;
    }

    .teacher-avatar {
        width: 60px;
        height: 60px;
        font-size: 32px;
    }

    .teacher-name {
        font-size: 18px;
    }

    .phone-number {
        font-size: 28px;
    }

    .phone-call-btn {
        padding: 12px 30px;
        font-size: 16px;
    }

    /* 页脚响应式 */
    .footer-content {
        grid-template-columns: 1fr !important;
        gap: 40px !important;
        padding: 40px 20px 30px !important;
    }

    .footer-section h3 {
        font-size: 18px !important;
        margin-bottom: 20px !important;
    }

    .footer-section p {
        font-size: 14px !important;
    }

    .footer-section p span {
        display: block !important;
        width: auto !important;
        margin-bottom: 5px;
    }

    .footer-section p strong {
        display: block;
        margin-bottom: 12px;
    }

    /* 学员评价轮播移动端 */
    .testimonials-section {
        padding: 40px 15px;
    }

    .testimonials-title {
        font-size: 24px;
    }

    .testimonials-subtitle {
        font-size: 14px;
    }

    .testimonial-card {
        min-width: 100%;
        flex-direction: column;
        text-align: center;
        padding: 25px;
    }

    .testimonial-avatar {
        font-size: 40px;
    }

    .testimonial-text {
        font-size: 13px;
    }

    .testimonial-author strong {
        font-size: 14px;
    }

    .testimonial-author span {
        font-size: 12px;
    }

    .testimonials-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }

    /* 返回顶部按钮移动端 */
    .back-to-top {
        bottom: 20px;
        right: 20px;
        width: 52px;
        height: 52px;
    }

    .back-to-top span {
        font-size: 22px !important;
    }
}

/* ========== 页脚链接悬停效果 ========== */
.footer-bottom a:hover {
    color: #003d7a !important;
}

/* ========== 招生专业表格：手机端列宽优化，短内容不再被挤成两行 ========== */
@media (max-width: 768px) {
    .major-table {
        table-layout: fixed !important;
        font-size: 14px !important;
    }
    .major-table th,
    .major-table td {
        padding: 11px 6px !important;
    }
    /* 专业名称列占主要宽度，可换行；后两列收窄且整词不断行 */
    .major-table th:nth-child(1),
    .major-table td:nth-child(1) {
        width: 46% !important;
    }
    .major-table th:nth-child(2),
    .major-table td:nth-child(2) {
        width: 30% !important;
        white-space: nowrap !important;
    }
    .major-table th:nth-child(3),
    .major-table td:nth-child(3) {
        width: 24% !important;
        white-space: nowrap !important;
    }
}
