/* 页面头部 - 培训服务专用背景 */
.page-header {
    background:
            linear-gradient(rgba(10, 25, 60, 0.9), rgba(5, 15, 35, 0.95)),
            url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="200" height="200" viewBox="0 0 200 200"><defs><pattern id="trainingPattern" width="50" height="50" patternUnits="userSpaceOnUse"><path d="M25,0 L50,25 L25,50 L0,25 Z" fill="none" stroke="%234285f4" stroke-width="2"/><circle cx="25" cy="25" r="10" fill="none" stroke="%2334a853" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="%230f1b3d"/><rect width="100%" height="100%" fill="url(%23trainingPattern)"/><circle cx="150" cy="50" r="30" fill="none" stroke="%23fbbc05" stroke-width="1" stroke-dasharray="5,5"/><circle cx="50" cy="150" r="40" fill="none" stroke="%23ea4335" stroke-width="1" stroke-dasharray="3,3"/></svg>');
    background-size: cover;
    color: white;
    padding: 150px 0 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 70px;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
            radial-gradient(circle at 10% 20%, rgba(66, 133, 244, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 90% 80%, rgba(52, 168, 83, 0.4) 0%, transparent 40%),
            radial-gradient(circle at 50% 50%, rgba(251, 188, 5, 0.3) 0%, transparent 50%);
    z-index: 0;
}

.page-header-content {
    position: relative;
    z-index: 1;
}
.training-section {
    height: 21rem;
}
.todo {
    font-size: xxx-large;
    margin-top: 8rem;
    display: flex;
    justify-content: center;
    align-items: center;
}
.page-header h1 {
    font-size: 3.5rem;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
    opacity: 0.9;
}

.grid-2col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin: 48px 0;
}

.info-card {
    font-size: 0.8rem;
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.02);
    border: 1px solid #edf2f7;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: #163a5c;
    border-left: 6px solid #1d72b8;
    padding-left: 16px;
}

.info-card p {
    color: #334155;
    margin-bottom: 16px;
}

.train-audience {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-top: 24px;
}

.audience-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.audience-icon {
    width: 44px;
    height: 44px;
    background: #eef6ff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1d72b8;
    font-size: 1.4rem;
    flex-shrink: 0;
}

.audience-content h4 {
    font-weight: 700;
    font-size: 1.1rem;
    margin-bottom: 4px;
    color: #0f2b42;
}

.audience-content p {
    margin: 0;
    font-size: 17px;
    position: relative;
    padding-left: 20px;
    line-height: 1.6;
    color: #4a5568;
}
.audience-content p::before {
    content: "•";
    color: #2b6cb0; /* 蓝色 */
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* 官方认证模块 */
.cert-showcase {
    background: #ffffff;
    border-radius: 28px;
    padding: 2.5rem;
    /*margin: 40px 0;*/
    border: 1px solid #e9edf4;
    justify-content: space-between;
    align-items: center;
}

.cert-left h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #0b2a41;
    margin-bottom: 8px;
}

.cert-left .badge {
    background: #1d72b8;
    color: white;
    padding: 6px 20px;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-block;
    margin: 16px 0 8px;
}

.cert-left p {
    color: #334155;
    max-width: 400px;
}

.partner-logo {
    display: flex;
    gap: 48px;
    color: #64748b;
    font-weight: 500;
}

.partner-logo span {
    font-size: 1.2rem;
    background: #f1f5f9;
    padding: 12px 24px;
    border-radius: 60px;
}

/* 核心培训课程 — 重点突出四个类别 + 证书样例 */
.core-courses {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2.5rem;
    background: #f0f6fd;
}

.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: #0b2a41;
}

.section-sub {
    color: #475569;
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.certificate-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 30px 0 50px;
}

.cert-item {
    background: white;
    border-radius: 20px;
    padding: 24px 16px 20px 16px;
    box-shadow: 0 12px 24px -8px rgba(0,34,64,0.08);
    border: 1px solid #eef2f6;
    transition: 0.2s;
    text-align: center;
}

.cert-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 30px -8px rgba(0, 80, 150, 0.15);
}

.cert-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(145deg, #e6f0fc, #d4e4fa);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 18px;
    font-size: 2.3rem;
    color: #0b3b5c;
}

.cert-item h4 {
    font-weight: 700;
    font-size: 1.35rem;
    margin-bottom: 6px;
    color: #0f2b42;
}

.cert-item .cert-sub {
    color: #4b6584;
    font-size: 0.9rem;
    margin-bottom: 20px;
    border-bottom: 1px dashed #cbd5e1;
    padding-bottom: 16px;
}

.cert-sample {
    background: #f8fafd;
    border-radius: 12px;
    padding: 14px 6px;
    border: 1px solid #dde7f0;
    margin: 16px 0 8px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #1e3a5f;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    flex-wrap: wrap;
}

.cert-sample i {
    color: #ffb74d;
    font-size: 1.2rem;
}

.sample-thumb {
    background: white;
    border-radius: 8px;
    padding: 10px 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.04);
    display: inline-block;
    font-size: 0.75rem;
    border: 1px solid #cdddec;
    color: #2c3e50;
}

.sample-thumb strong {
    color: #1d72b8;
}

/* 培训收益 (grid 4) */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    margin: 48px 0;
}

.benefit-card {
    background: white;
    padding: 28px 20px;
    border-radius: 20px;
    border: 1px solid #ecf3fa;
}

.benefit-card i {
    font-size: 2rem;
    color: #1d72b8;
    margin-bottom: 16px;
}

.benefit-card h5 {
    font-weight: 700;
    margin-bottom: 12px;
    font-size: 1.1rem;
}

.benefit-card p {
    color: #475569;
    font-size: 0.9rem;
}

/* 培训报名 & 往期展示 */
.enroll-row {
    margin: 20px 0;
}

.enroll-box {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #e2e8f0;
}

.enroll-box h3 {
    font-size: 1.6rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.enroll-box p {
    color: #475569;
    margin: 20px 0;
}

.btn-primary {
    background: #1d72b8;
    color: white;
    border: none;
    padding: 14px 36px;
    border-radius: 60px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.2s;
    display: inline-block;
    text-decoration: none;
}

.btn-primary:hover {
    background: #0b5a9c;
}

.past-highlight {
    background: white;
    border-radius: 24px;
    padding: 32px;
    border: 1px solid #e2e8f0;
    text-align: center;
}

.past-highlight img {
    background: #d9e9fa;
    width: 100%;
    border-radius: 16px;
    height: 140px;
    object-fit: cover;
    margin: 16px 0;
}

.past-highlight i {
    color: #f5b342;
}

/* 学员心声 */
.testimonial {
    background: #163a5c;
    color: white;
    border-radius: 32px;
    padding: 40px;
    margin: 48px 0;
}

.testimonial p {
    font-size: 1.2rem;
    font-weight: 400;
    line-height: 1.6;
    max-width: 900px;
    margin-bottom: 16px;
}

.testimonial i {
    color: #ffb85c;
    margin-right: 6px;
}

/* 友情链接 +  footer */
.footer-links {
    background: white;
    padding: 40px 0 20px;
    border-top: 1px solid #dfe7f0;
    margin-top: 40px;
}

.friend-links {
    display: flex;
    flex-wrap: wrap;
    gap: 40px;
    font-size: 0.95rem;
    margin-bottom: 40px;
}

.friend-links a {
    color: #2c3e50;
    text-decoration: none;
    border-right: 1px solid #bdc9d9;
    padding-right: 20px;
}

.footer-contact {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    color: #334155;
    font-size: 0.9rem;
}

.copy {
    border-top: 1px solid #e2e8f0;
    margin-top: 30px;
    padding-top: 24px;
    text-align: center;
    color: #5f6c80;
}

hr {
    opacity: 0.2;
}

/* 响应式 */
@media (max-width: 1000px) {
    .certificate-showcase, .benefits-grid, .grid-2col, .enroll-row {
        grid-template-columns: 1fr 1fr;
    }
}
@media (max-width: 700px) {
    .certificate-showcase, .benefits-grid, .grid-2col, .enroll-row {
        grid-template-columns: 1fr;
    }
    .nav-links {
        margin-top: 16px;
    }
}
/* 新增大类: 培训类型 + 证书样例 (核心修改) */
.cert-showcase {
    background: #ffffff;
    padding: 2.5rem;
    border-bottom: 1px solid #e2eaf2;
}

.section-label {
    display: inline-block;
    background: #163a5c;
    color: white;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.2rem 1rem;
    border-radius: 30px;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
}

.cert-showcase h2 {
    width: 100%;
    font-size: 2rem;
    font-weight: 700;
    color: #0c2944;
}

.cert-showcase .sub {
    color: #3c5775;
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* 四种新类型卡片 (突出显示) */
.training-type-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.type-card {
    flex: 1 1 180px;
    background: linear-gradient(145deg, #f0f5fb, #ffffff);
    border-radius: 28px;
    padding: 1.5rem 0.8rem;
    text-align: center;
    border: 2px solid transparent;
    box-shadow: 0 10px 20px -8px rgba(0,65,130,0.15);
    transition: all 0.2s;
    position: relative;
}

.type-card.accent {
    /*border-color: #2a7de1;
    background: #edf4fe;*/
}

.type-card .type-icon {
    font-size: 2.5rem;
    color: #1f4e87;
    margin-bottom: 0.5rem;
}

.type-card h3 {
    font-size: 1.3rem;
    font-weight: 700;
    color: #0b2b48;
}

.type-card p {
    font-size: 0.85rem;
    color: #3c5d7e;
    margin-top: 0.4rem;
    font-weight: 500;
}

.cert-badge-small {
    margin-top: 0.8rem;
    background: #ffeaca;
    color: #a66000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 0.3rem 0.8rem;
    border-radius: 40px;
    display: inline-block;
}

/* 证书样例 — 四张图片 (重新设计网格) */
.cert-sample-grid {
    margin-top: 2rem;
}

.cert-sample-grid h3 {
    font-size: 1.5rem;
    color: #112f4b;
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.cert-sample-grid h3 i {
    color: #cf9b4b;
}

.cert-pictures {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.8rem;
}

.cert-card {
    background: #f5f9ff;
    border-radius: 24px;
    padding: 1rem 1rem 1.5rem;
    box-shadow: 0 12px 25px -15px #163a5c66;
    transition: transform 0.15s;
    border: 1px solid white;
}

.cert-card:hover {
    transform: translateY(-6px);
    border-color: #b5d0f0;
}

.cert-img-placeholder {
    /*background: linear-gradient(145deg, #ffffff, #e5edf8);
    height: 160px;
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #2e4e77;
    font-weight: 500;
    border: 2px dashed #a0bcdb;
    border-style: dashed solid;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 5px #cdddec;*/
    display: flex;
    flex-direction: column;
    margin-bottom: 1rem;
    box-shadow: inset 0 2px 5px #cdddec;
}

.cert-img-placeholder i {
    font-size: 3rem;
    color: #3f6ca0;
    margin-bottom: 6px;
}

.cert-img-placeholder span {
    background: white;
    padding: 0.2rem 1rem;
    border-radius: 40px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1b4982;
    border: 1px solid #adc7e6;
}

.cert-card p {
    font-weight: 600;
    color: #113355;
    font-size: 1rem;
    text-align: center;
    margin-top: 0.5rem;
}

.cert-card .issuer {
    font-size: 0.75rem;
    color: #5c6f87;
    text-align: center;
}

/* 收益 + 报名 (与原结构融合) */
.benefits-enroll {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
    padding: 2.5rem;
    background: #f0f6fd;
}

.left-benefits {
    flex: 2 1 300px;
}

.left-benefits h3 {
    font-size: 1.8rem;
    font-weight: 650;
    color: #0f2e48;
    margin-bottom: 1.2rem;
}

.badge-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    margin: 1rem 0 1.5rem;
}

.badge-list span {
    background: white;
    padding: 0.3rem 1.2rem;
    border-radius: 40px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #1b4b77;
    box-shadow: 0 3px 6px #cdddec;
}

.benefit-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem 2rem;
    margin-top: 1.5rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.benefit-item i {
    color: #1f6dc7;
    background: white;
    border-radius: 50%;
    padding: 0.4rem;
}

.right-enroll {
    flex: 1 1 240px;
    background: white;
    border-radius: 28px;
    padding: 2rem 1.8rem;
    box-shadow: 0 10px 20px #d9e2ef;
    text-align: center;
}

.right-enroll h4 {
    font-size: 1.7rem;
    color: #132e46;
}

.enroll-btn {
    background: #1f5e9e;
    color: white;
    border: none;
    border-radius: 40px;
    padding: 0.9rem 2rem;
    font-size: 1.1rem;
    font-weight: 600;
    width: 100%;
    margin: 1.2rem 0;
    cursor: pointer;
    transition: 0.15s;
}

.enroll-btn:hover {
    background: #0b3b66;
}

.enroll-note {
    font-size: 0.85rem;
    color: #48637c;
}

/* 往期培训 + 学员心声 */
.past-events {
    padding: 2.5rem;
    background: white;
}

.past-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.past-header h2 {
    font-size: 1.8rem;
    color: #122f48;
}

.testimonial {
    background: #eef4fa;
    border-radius: 36px;
    padding: 2rem;
    margin: 2rem 0 1rem;
    font-style: italic;
    color: #1a3149;
    font-size: 1rem;
    line-height: 1.6;
}

.testimonial i {
    color: #2a6cb0;
    margin-right: 6px;
}
.training-grid-wq {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    display: grid;
}
.training-aspect-square {
    border-radius: 0.5rem;
    overflow: hidden;
    aspect-ratio: 3 / 2;
}
.training-w-full {
    transition-duration: 700ms;
    transition-property: transform;
    transition-timing-function:cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: cover;
    width: 100%;
    height: 100%;
    max-width: 100%;
    display: block;
    vertical-align: middle;
}
