.enterprise-banner {
    background-image: url('../images/enterprise/enterprise_banner.jpg');
}

.training-ways {
    padding: 60px 0;
}
.training-ways .section-head {
    text-align: center;
    margin-bottom: 48px;
}

.training-ways .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.training-ways .section-subtitle {
    font-size: 16px;
    color: #666;
}
.ways-grid {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.way-card {
    height: 100%;
    background: #fff;
    border-radius: 10px;
    overflow: hidden;
    /* box-shadow: 0 4px 16px rgba(1, 100, 255, 0.08); */
    transition: transform .3s, box-shadow .3s;
}

.way-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 12px rgba(1, 100, 255, 0.18);
}
.way-media {
    margin: 0;
    overflow: hidden;
}

.way-media img {
    width: 100%;
    height: auto;
    aspect-ratio: 20 / 10;
    object-fit: cover;
    display: block;
}

.way-title {
    font-size: 18px;
    font-weight: 500;
    color: #222;
    text-align: center;
    padding: 18px 12px 20px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
@media (max-width: 1024px) {
    .training-ways {
        padding: 70px 0;
    }

    .ways-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .training-ways .section-title {
        font-size: 28px;
    }
}
@media (max-width: 768px) {
    .training-ways {
        padding: 52px 0;
    }

    .training-ways .section-head {
        margin-bottom: 32px;
    }

    .training-ways .section-title {
        font-size: 24px;
    }

    .training-ways .section-subtitle {
        font-size: 14px;
    }

    .ways-grid {
        gap: 16px;
    }

    .way-title {
        font-size: 16px;
        padding: 14px 10px 16px;
    }
}
@media (max-width: 480px) {
    .training-ways {
        padding: 40px 0;
    }

    .ways-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .way-title {
        font-size: 15px;
    }
}

/* ==================== 企业培训课程 ==================== */
.enterprise-courses {
    padding: 90px 0;
    background: #fff;
}

.enterprise-courses .section-head {
    text-align: center;
    margin-bottom: 36px;
}

.enterprise-courses .section-title {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.enterprise-courses .section-subtitle {
    font-size: 16px;
    color: #666;
}
.courses-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
    margin-bottom: 42px;
}

.tab-btn {
    padding: 12px 28px;
    font-size: 16px;
    font-weight: 500;
    color: #555;
    background: #f2f6ff;
    border: none;
    border-radius: 24px;
    cursor: pointer;
    transition: all .3s;
}

.tab-btn:hover,
.tab-btn:focus {
    color: #006aed;
    background: #e6f0ff;
}

.tab-btn.active {
    color: #fff;
    background: #006aed;
}
.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.course-cards {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    margin-bottom: 28px;
}

.course-card {
    background: #fff;
    border: 1px solid #eef2fa;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 4px 16px rgba(1, 100, 255, 0.05);
    transition: transform .3s, box-shadow .3s;
}

.course-card article {
    display: grid;
    grid-template-columns: 44px 1fr;
    grid-template-rows: auto 1fr auto;
    column-gap: 10px;
    height: 100%;
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 28px rgba(1, 100, 255, 0.12);
}
.course-icon {
    grid-column: 1;
    grid-row: 1;
    width: 34px;
    height: 34px;
    margin-bottom: 0;
}

.course-icon img {
    width: 100%;
    height: 100%;
    display: block;
}

.course-title {
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    font-size: 22px;
    font-weight: 500;
    color: #000;
    margin-bottom: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.course-desc {
    grid-column: 1 / -1;
    grid-row: 2;
    font-size: 16px;
    color: #666;
    line-height: 1.7;
    margin-top: 16px;
    margin-bottom: 22px;
}

.course-actions {
    grid-column: 1 / -1;
    grid-row: 3;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 18px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    transition: all .25s;
}

.btn-primary {
    color: #fff;
    background: #006aed;
}

.btn-primary:hover {
    background: #006aed;
}

.btn-outline {
    color: #006aed;
    background: #fff;
    border: 1px solid #006aed;
}

.btn-outline:hover {
    background: #f2f6ff;
}

.load-more {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin: 0 auto;
    padding: 10px 22px;
    font-size: 15px;
    font-weight: 500;
    color: #ff6b00;
    background: #fff5eb;
    border: 1px solid #ff6b00;
    border-radius: 24px;
    cursor: pointer;
    transition: all .25s;
}

.load-more svg {
    stroke: #ff6b00;
}

@media (max-width: 1024px) {
    .enterprise-courses {
        padding: 70px 0;
    }

    .enterprise-courses .section-title {
        font-size: 28px;
    }

    .course-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .course-card {
        padding: 22px;
    }
}

@media (max-width: 768px) {
    .enterprise-courses {
        padding: 52px 0;
    }

    .enterprise-courses .section-head {
        margin-bottom: 26px;
    }

    .enterprise-courses .section-title {
        font-size: 24px;
    }

    .courses-tabs {
        gap: 10px;
        margin-bottom: 28px;
    }

    .tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .course-cards {
        grid-template-columns: 1fr;
        gap: 16px;
        margin-bottom: 22px;
    }

    .course-card {
        padding: 20px;
    }

    .course-title {
        font-size: 17px;
    }

    .course-desc {
        font-size: 13px;
        margin-bottom: 18px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 12px;
    }
}

@media (max-width: 480px) {
    .tab-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .course-actions {
        gap: 8px;
    }

    .load-more {
        font-size: 14px;
        padding: 8px 18px;
    }
}

/* 企业培训案例 */


.enterprise-cases {
    padding: 60px 0;
    background: #006aed url("../images/enterprise/course_bg.jpg") no-repeat center / cover;
}

.enterprise-cases .section-head {
    text-align: center;
    margin-bottom: 34px;
}

.enterprise-cases .section-title {
    font-size: 34px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.enterprise-cases .section-subtitle {
    font-size: 16px;
    color: rgba(255, 255, 255, .9);
}
.case-panels{
    max-width: 1300px;
    margin: 0 auto;
}
.cases-tabs {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 36px;
    margin-bottom: 36px;
}

.cases-tabs .tab-btn {
    padding: 12px 36px;
    font-size: 16px;
    color: #fff;
    border-radius: 24px;
    background: none;
}

.cases-tabs .tab-btn:hover,
.cases-tabs .tab-btn:focus {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
}

.cases-tabs .tab-btn.active {
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .35);
}

.case-panel {
    display: none;
}

.case-panel.active {
    display: block;
}

.case-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 28px;
    align-items: stretch;
    min-height: 360px;
    padding: 28px;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .12);
}

.case-feature-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
}

.case-feature-title {
    font-size: 24px;
    font-weight: 500;
    color: #000;
    line-height: 1.4;
    margin-bottom: 18px;
}

.case-feature-desc {
    font-size: 15px;
    color: #666;
    line-height: 1.85;
    margin-bottom: 22px;
}

.case-feature-info .btn {
    padding: 13px 34px;
    font-size: 15px;
    border-radius: 26px;
}

.case-feature-media {
    margin: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #eef3fb;
    height: 100%;
    min-height: 300px;
}

.case-feature-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

@media (max-width: 1024px) {
    .enterprise-cases {
        padding: 70px 0;
    }

    .enterprise-cases .section-title {
        font-size: 28px;
    }

    .case-feature {
        grid-template-columns: 1fr 1fr;
        gap: 24px;
        padding: 24px;
    }

    .case-feature-title {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .enterprise-cases {
        padding: 52px 0;
    }

    .enterprise-cases .section-head {
        margin-bottom: 26px;
    }

    .enterprise-cases .section-title {
        font-size: 24px;
    }

    .cases-tabs {
        gap: 10px;
        margin-bottom: 26px;
    }

    .cases-tabs .tab-btn {
        padding: 10px 18px;
        font-size: 14px;
    }

    .case-feature {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px;
        min-height: 0;
    }

    .case-feature-media {
        order: -1;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 9;
    }

    .case-feature-title {
        font-size: 20px;
        margin-bottom: 14px;
    }

    .case-feature-desc {
        font-size: 14px;
        line-height: 1.8;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .cases-tabs .tab-btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .case-feature {
        padding: 20px;
    }

    .case-feature-info .btn {
        padding: 11px 26px;
        font-size: 14px;
    }
}

/* ==================== 企业培训服务流程 ==================== */
.process-flow {
    padding: 90px 0;
    background: #fff;
}

.process-flow .section-head {
    text-align: center;
    margin-bottom: 48px;
}

.process-flow .section-title {
    font-size: 34px;
    font-weight: 700;
    color: #222;
    margin-bottom: 14px;
}

.process-flow .section-subtitle {
    font-size: 16px;
    color: #666;
}

.process-wrapper {
    display: flex;
    flex-direction: column;
    gap: 48px;
    background-image: url("../images/enterprise/process_left.png"),
        url("../images/enterprise/process_right.png");
    background-repeat: no-repeat, no-repeat;
    background-position: left center, right center;
    background-size: auto 86%, auto 86%;
    background-origin: border-box, border-box;
}

.process-steps {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
    width: 100%;
    max-width: 1080px;
    margin: 0 auto;
}

.process-step {
    position: relative;
    padding: 0 12px 32px;
    text-align: left;
    background: transparent;
    border-radius: 0;
    border-left: none;
}

.process-step::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #0164ff;
    box-shadow: 0 0 0 5px rgba(1, 100, 255, .10);
}

.bottom-steps .process-step {
    padding: 32px 12px 0;
}

.bottom-steps .process-step::after {
    top: 0;
    bottom: auto;
}

.step-title {
    font-size: 22px;
    font-weight: 500;
    color: #2154ee;
    margin-bottom: 8px;
    line-height: 1.4;
}

.step-num {
    display: inline-block;
    color: #2154ee;
    margin-right: 8px;
    font-weight: 700;
}

.step-desc {
    font-size: 15px;
    color: #000;
    line-height: 1.7;
}

.process-core {
    display: grid;
    grid-template-columns: 1fr 2.2fr 1fr;
    gap: 24px;
    align-items: center;
}

.process-side {
    text-align: center;
}

.process-icon {
    width: 96px;
    height: 96px;
    margin: 0 auto 14px;
}

.process-icon svg,
.process-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.side-title {
    font-size: 22px;
    font-weight: 500;
    color: #006aed;
    line-height: 1.5;
}

.process-center {
    margin: 0;
}

.process-center img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 1024px) {
    .process-flow {
        padding: 70px 0;
    }

    .process-flow .section-title {
        font-size: 28px;
    }

    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .process-core {
        grid-template-columns: 1fr 2fr 1fr;
        gap: 18px;
    }

    .process-wrapper {
        background-size: 150px auto, 150px auto;
    }

    .process-icon {
        width: 56px;
        height: 56px;
    }

    .side-title {
        font-size: 16px;
    }
}

@media (max-width: 768px) {
    .process-flow {
        padding: 52px 0;
    }

    .process-flow .section-head {
        margin-bottom: 30px;
    }

    .process-flow .section-title {
        font-size: 24px;
    }

    .process-wrapper {
        gap: 24px;
        background-image: none;
    }

    .process-steps {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .process-step {
        padding: 14px 0;
    }

    .process-step::after {
        display: none;
    }

    .process-core {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .process-center {
        order: -1;
        margin-bottom: 6px;
    }

    .process-side {
        display: flex;
        align-items: center;
        gap: 12px;
        text-align: left;
    }

    .process-icon {
        width: 48px;
        height: 48px;
        margin: 0;
        flex-shrink: 0;
    }
}

@media (max-width: 480px) {
    .step-title {
        font-size: 16px;
    }

    .step-desc {
        font-size: 13px;
    }

    .process-side {
        flex-direction: column;
        text-align: center;
    }

    .process-icon {
        margin: 0 auto 10px;
    }
}

