/* =========================================================
   PROGRAM PELATIHAN - MEDNUS
========================================================= */

.pelatihan-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: 20px;
    padding-right: 20px;
}


/* =========================================================
   HERO
========================================================= */

.pelatihan-hero {
    position: relative;
    min-height: 460px;
    display: flex;
    align-items: center;
    overflow: hidden;
    background:
        linear-gradient(
            135deg,
            #082f70 0%,
            #0d6efd 55%,
            #38bdf8 100%
        );
}

.pelatihan-hero::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    top: -230px;
    right: -120px;
    background: rgba(255,255,255,.08);
}

.pelatihan-hero::after {
    content: "";
    position: absolute;
    width: 330px;
    height: 330px;
    border-radius: 50%;
    left: -140px;
    bottom: -200px;
    background: rgba(255,255,255,.06);
}

.pelatihan-hero-decoration {
    position: absolute;
    width: 180px;
    height: 180px;
    right: 23%;
    bottom: -100px;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 35px;
    transform: rotate(30deg);
}

.pelatihan-hero-content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    color: #fff;
}

.pelatihan-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 9px 16px;
    margin-bottom: 22px;
    border: 1px solid rgba(255,255,255,.25);
    border-radius: 50px;
    background: rgba(255,255,255,.10);
    backdrop-filter: blur(8px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .9px;
}

.pelatihan-hero-content h1 {
    margin: 0;
    font-size: clamp(39px, 5vw, 62px);
    line-height: 1.13;
    font-weight: 800;
    letter-spacing: -1.5px;
}

.pelatihan-hero-content h1 span {
    display: block;
    color: #dff6ff;
}

.pelatihan-hero-content p {
    max-width: 700px;
    margin: 22px 0 0;
    color: rgba(255,255,255,.88);
    font-size: 16px;
    line-height: 1.85;
}

.pelatihan-hero-line {
    width: 75px;
    height: 4px;
    margin-top: 27px;
    border-radius: 10px;
    background: #fff;
}


/* =========================================================
   INTRO
========================================================= */

.pelatihan-intro {
    padding: 90px 0;
    background: #fff;
}

.pelatihan-intro-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 70px;
    align-items: center;
}

.pelatihan-section-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 12px;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pelatihan-intro-content h2,
.pelatihan-section-heading h2 {
    margin: 0;
    color: #102a43;
    font-size: clamp(30px, 4vw, 42px);
    line-height: 1.22;
    font-weight: 800;
    letter-spacing: -.7px;
}

.pelatihan-intro-content p {
    margin: 20px 0 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.9;
}

.pelatihan-intro-features {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.pelatihan-feature {
    display: flex;
    gap: 17px;
    padding: 22px;
    border: 1px solid #e7edf4;
    border-radius: 17px;
    background: #fff;
    transition: all .3s ease;
}

.pelatihan-feature:hover {
    transform: translateX(5px);
    border-color: #d6e7ff;
    box-shadow: 0 12px 30px rgba(15,23,42,.07);
}

.pelatihan-feature-icon {
    flex: 0 0 52px;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #eaf3ff;
    color: #0d6efd;
    font-size: 21px;
}

.pelatihan-feature h3 {
    margin: 0 0 6px;
    color: #102a43;
    font-size: 16px;
    font-weight: 700;
}

.pelatihan-feature p {
    margin: 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.65;
}


/* =========================================================
   PROGRAM SECTION
========================================================= */

.pelatihan-program {
    padding: 90px 0 100px;
    background: #f8fafc;
}

.pelatihan-section-heading {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
}

.pelatihan-section-heading p {
    margin: 16px auto 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.8;
}

.pelatihan-program-count {
    display: table;
    margin: 25px auto 35px;
    padding: 8px 15px;
    border-radius: 50px;
    background: #eaf3ff;
    color: #0d6efd;
    font-size: 12px;
    font-weight: 600;
}

.pelatihan-program-count i {
    margin-right: 5px;
}


/* =========================================================
   PROGRAM GRID
========================================================= */

.pelatihan-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pelatihan-card {
    overflow: hidden;
    background: #fff;
    border: 1px solid #e5ebf2;
    border-radius: 20px;
    box-shadow: 0 8px 25px rgba(15,23,42,.04);
    transition:
        transform .3s ease,
        box-shadow .3s ease;
}

.pelatihan-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 18px 40px rgba(15,23,42,.10);
}


/* =========================================================
   CARD IMAGE
========================================================= */

.pelatihan-card-image {
    position: relative;
    width: 100%;
    height: 230px;
    overflow: hidden;
    background: #eaf0f6;
}

.pelatihan-card-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: transform .5s ease;
}

.pelatihan-card:hover .pelatihan-card-image img {
    transform: scale(1.06);
}

.pelatihan-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 55px;
}

.pelatihan-card-overlay {
    position: absolute;
    left: 15px;
    top: 15px;
}

.pelatihan-card-overlay span {
    display: inline-flex;
    padding: 7px 12px;
    border-radius: 50px;
    background: rgba(255,255,255,.94);
    color: #0d6efd;
    font-size: 10px;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(0,0,0,.10);
}


/* =========================================================
   CARD BODY
========================================================= */

.pelatihan-card-body {
    padding: 23px;
}

.pelatihan-card-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 12px;
}

.pelatihan-card-number,
.pelatihan-duration {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #94a3b8;
    font-size: 10px;
    font-weight: 600;
}

.pelatihan-card-number i,
.pelatihan-duration i {
    color: #0d6efd;
}

.pelatihan-card-body h3 {
    display: -webkit-box;
    overflow: hidden;
    margin: 0;
    color: #102a43;
    font-size: 19px;
    font-weight: 700;
    line-height: 1.45;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pelatihan-card-body p {
    display: -webkit-box;
    overflow: hidden;
    min-height: 47px;
    margin: 12px 0 20px;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.pelatihan-card-body p.pelatihan-no-description {
    color: #94a3b8;
}

.pelatihan-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding-top: 17px;
    border-top: 1px solid #edf1f5;
}

.pelatihan-card-footer > span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #16a34a;
    font-size: 10px;
    font-weight: 600;
}

.pelatihan-card-footer > span i {
    font-size: 12px;
}

.pelatihan-card-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #0d6efd;
    text-decoration: none;
    font-size: 12px;
    font-weight: 700;
    transition: gap .25s ease;
}

.pelatihan-card-link:hover {
    gap: 11px;
}


/* =========================================================
   EMPTY
========================================================= */

.pelatihan-empty {
    max-width: 650px;
    margin: 20px auto 0;
    padding: 65px 25px;
    text-align: center;
    border: 1px solid #e5ebf2;
    border-radius: 22px;
    background: #fff;
}

.pelatihan-empty-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    border-radius: 22px;
    background: #eaf3ff;
    color: #0d6efd;
    font-size: 30px;
}

.pelatihan-empty h3 {
    margin: 0;
    color: #102a43;
    font-size: 22px;
    font-weight: 700;
}

.pelatihan-empty p {
    max-width: 470px;
    margin: 10px auto 0;
    color: #64748b;
    font-size: 13px;
    line-height: 1.75;
}


/* =========================================================
   FLOW
========================================================= */

.pelatihan-flow {
    padding: 90px 0;
    background: #fff;
}

.pelatihan-flow-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.pelatihan-flow-item {
    position: relative;
    padding: 25px;
    border: 1px solid #e5ebf2;
    border-radius: 18px;
    background: #fff;
    transition: all .3s ease;
}

.pelatihan-flow-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(15,23,42,.07);
}

.pelatihan-flow-number {
    margin-bottom: 20px;
    color: #0d6efd;
    font-size: 27px;
    font-weight: 800;
    letter-spacing: -1px;
}

.pelatihan-flow-item h3 {
    margin: 0 0 8px;
    color: #102a43;
    font-size: 16px;
    font-weight: 700;
}

.pelatihan-flow-item p {
    margin: 0;
    color: #64748b;
    font-size: 12px;
    line-height: 1.7;
}


/* =========================================================
   CTA
========================================================= */

.pelatihan-cta {
    padding: 0 0 90px;
    background: #fff;
}

.pelatihan-cta-box {
    position: relative;
    display: flex;
    align-items: center;
    gap: 23px;
    padding: 38px 42px;
    overflow: hidden;
    border-radius: 24px;
    background:
        linear-gradient(
            135deg,
            #0b3d91,
            #0d6efd
        );
    color: #fff;
}

.pelatihan-cta-box::after {
    content: "";
    position: absolute;
    width: 300px;
    height: 300px;
    top: -160px;
    right: -80px;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}

.pelatihan-cta-icon {
    position: relative;
    z-index: 2;
    flex: 0 0 65px;
    width: 65px;
    height: 65px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(255,255,255,.13);
    font-size: 28px;
}

.pelatihan-cta-content {
    position: relative;
    z-index: 2;
    flex: 1;
}

.pelatihan-cta-content span {
    display: block;
    margin-bottom: 5px;
    color: #cceeff;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
}

.pelatihan-cta-content h2 {
    margin: 0;
    font-size: 27px;
    font-weight: 700;
}

.pelatihan-cta-content p {
    margin: 8px 0 0;
    color: rgba(255,255,255,.82);
    font-size: 13px;
}

.pelatihan-cta-button {
    position: relative;
    z-index: 2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-width: 175px;
    padding: 14px 20px;
    border-radius: 12px;
    background: #fff;
    color: #0d6efd;
    text-decoration: none;
    font-size: 13px;
    font-weight: 700;
    transition: all .3s ease;
}

.pelatihan-cta-button:hover {
    transform: translateY(-3px);
    color: #084298;
    box-shadow: 0 10px 25px rgba(0,0,0,.15);
}


/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1050px) {

    .pelatihan-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pelatihan-flow-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


@media (max-width: 800px) {

    .pelatihan-intro-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .pelatihan-cta-box {
        align-items: flex-start;
        flex-direction: column;
    }

    .pelatihan-cta-button {
        width: 100%;
    }

}


@media (max-width: 650px) {

    .pelatihan-hero {
        min-height: 400px;
    }

    .pelatihan-intro,
    .pelatihan-program,
    .pelatihan-flow {
        padding: 65px 0;
    }

    .pelatihan-grid {
        grid-template-columns: 1fr;
    }

    .pelatihan-flow-grid {
        grid-template-columns: 1fr;
    }

    .pelatihan-card-image {
        height: 225px;
    }

}


@media (max-width: 480px) {

    .pelatihan-container {
        padding-left: 15px;
        padding-right: 15px;
    }

    .pelatihan-hero-content h1 {
        font-size: 38px;
    }

    .pelatihan-hero-content p {
        font-size: 14px;
    }

    .pelatihan-intro-content h2,
    .pelatihan-section-heading h2 {
        font-size: 30px;
    }

    .pelatihan-card-body {
        padding: 20px;
    }

    .pelatihan-card-top {
        align-items: flex-start;
        flex-direction: column;
        gap: 6px;
    }

    .pelatihan-cta {
        padding-bottom: 65px;
    }

    .pelatihan-cta-box {
        padding: 30px 25px;
    }

    .pelatihan-cta-content h2 {
        font-size: 23px;
    }

}