/* =====================================================
   RESET
===================================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


:root {

    --primary: #2563eb;
    --primary-dark: #1d4ed8;

    --secondary: #7c3aed;

    --dark: #0f172a;
    --dark-2: #1e293b;

    --text: #475569;
    --muted: #64748b;

    --light: #f8fafc;
    --border: #e2e8f0;

    --white: #ffffff;

    --success: #16a34a;

    --radius: 14px;

    --shadow:
        0 10px 30px rgba(15, 23, 42, .08);

}


html {
    scroll-behavior: smooth;
}


body {

    font-family:
        Inter,
        ui-sans-serif,
        system-ui,
        -apple-system,
        BlinkMacSystemFont,
        "Segoe UI",
        sans-serif;

    color: var(--dark);

    background: var(--white);

    line-height: 1.6;

}


a {
    text-decoration: none;
    color: inherit;
}


img {
    max-width: 100%;
    display: block;
}


button {
    font-family: inherit;
}


.container {

    width: min(1180px,
            calc(100% - 40px));

    margin: auto;

}


/* =====================================================
   BUTTON
===================================================== */

.btn {

    display: inline-flex;

    align-items: center;

    justify-content: center;

    gap: 10px;

    padding: 12px 22px;

    border-radius: 9px;

    font-size: 14px;

    font-weight: 700;

    transition: .25s ease;

}


.btn-primary {

    color: white;

    background:
        linear-gradient(135deg,
            var(--primary),
            #3b82f6);

    box-shadow:
        0 8px 20px rgba(37, 99, 235, .2);

}


.btn-primary:hover {

    transform: translateY(-2px);

    box-shadow:
        0 12px 25px rgba(37, 99, 235, .3);

}


.btn-outline {

    border: 1px solid var(--border);

    color: var(--dark);

    background: white;

}


.btn-outline:hover {

    border-color: var(--primary);

    color: var(--primary);

}


.btn-white {

    background: white;

    color: var(--primary);

}


.btn-transparent {

    border:
        1px solid rgba(255, 255, 255, .35);

    color: white;

}


.btn-small {

    padding: 9px 17px;

}


.btn-large {

    padding: 14px 25px;

}


/* =====================================================
   NAVBAR
===================================================== */

.navbar {

    position: sticky;

    top: 0;

    z-index: 1000;

    background:
        rgba(255, 255, 255, .95);

    backdrop-filter:
        blur(15px);

    border-bottom:
        1px solid var(--border);

}


.navbar-container {

    height: 76px;

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.brand {

    display: flex;

    align-items: center;

    gap: 10px;

}


.brand-icon {

    width: 42px;

    height: 42px;

    border-radius: 10px;

    display: grid;

    place-items: center;

    color: white;

    font-size: 13px;

    font-weight: 800;

    background:
        linear-gradient(135deg,
            #2563eb,
            #7c3aed);

}


.brand-text strong {

    display: block;

    font-size: 16px;

    line-height: 1.1;

}


.brand-text span {

    display: block;

    margin-top: 2px;

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

    letter-spacing: 2px;

}


.desktop-menu {

    display: flex;

    align-items: center;

    gap: 27px;

}


.desktop-menu a {

    color: #475569;

    font-size: 13px;

    font-weight: 600;

    transition: .2s;

}


.desktop-menu a:hover,
.desktop-menu a.active {

    color: var(--primary);

}


.navbar-actions {

    display: flex;

    align-items: center;

    gap: 18px;

}


.login-link {

    font-size: 13px;

    font-weight: 700;

}


.mobile-menu-button {

    display: none;

    border: 0;

    background: transparent;

    cursor: pointer;

}


.mobile-menu-button span {

    display: block;

    width: 25px;

    height: 2px;

    background: var(--dark);

    margin: 5px 0;

}


.mobile-menu {

    display: none;

}


/* =====================================================
   HERO
===================================================== */

.hero {

    position: relative;

    overflow: hidden;

    min-height: 640px;

    background:
        linear-gradient(135deg,
            #eff6ff 0%,
            #ffffff 50%,
            #f5f3ff 100%);

}


.hero::before {

    content: "";

    position: absolute;

    width: 500px;

    height: 500px;

    border-radius: 50%;

    background:
        rgba(37, 99, 235, .08);

    top: -200px;

    right: -150px;

}


.hero-container {

    min-height: 640px;

    display: grid;

    grid-template-columns:
        1.05fr .95fr;

    gap: 60px;

    align-items: center;

}


.hero-content {

    position: relative;

    z-index: 2;

}


.hero-badge {

    display: inline-flex;

    align-items: center;

    gap: 8px;

    padding: 7px 13px;

    border-radius: 30px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: .5px;

    margin-bottom: 20px;

}


.badge-dot {

    width: 7px;

    height: 7px;

    border-radius: 50%;

    background: var(--primary);

}


.hero h1 {

    max-width: 680px;

    font-size:
        clamp(42px, 5vw, 68px);

    line-height: 1.08;

    letter-spacing: -2.5px;

}


.hero h1 span {

    display: block;

    color: var(--primary);

}


.hero-content>p {

    max-width: 610px;

    color: var(--text);

    font-size: 16px;

    margin-top: 23px;

}


.hero-actions {

    display: flex;

    gap: 13px;

    margin-top: 30px;

}


.hero-trust {

    display: flex;

    gap: 35px;

    margin-top: 40px;

}


.trust-item strong {

    display: block;

    font-size: 21px;

}


.trust-item span {

    color: var(--muted);

    font-size: 11px;

}


.hero-visual {

    min-height: 470px;

    position: relative;

    display: flex;

    align-items: center;

    justify-content: center;

}


.hero-card-main {

    position: relative;

    z-index: 2;

    width: 360px;

    padding: 30px;

    border-radius: 20px;

    background: white;

    border: 1px solid var(--border);

    box-shadow:
        0 25px 60px rgba(15, 23, 42, .12);

    transform:
        rotate(2deg);

}


.hero-card-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

}


.course-icon {

    width: 58px;

    height: 58px;

    border-radius: 14px;

    display: grid;

    place-items: center;

    background:
        linear-gradient(135deg,
            #2563eb,
            #7c3aed);

    color: white;

    font-weight: 800;

}


.course-label {

    color: var(--primary);

    background: #eff6ff;

    padding: 5px 10px;

    border-radius: 20px;

    font-size: 9px;

    font-weight: 800;

}


.hero-card-main h3 {

    margin-top: 25px;

    font-size: 22px;

}


.hero-card-main p {

    color: var(--text);

    font-size: 13px;

    margin-top: 8px;

}


.progress {

    height: 7px;

    margin-top: 25px;

    border-radius: 10px;

    background: #e2e8f0;

    overflow: hidden;

}


.progress-bar {



    background: var(--primary);

}


.course-meta {

    display: flex;

    justify-content: space-between;

    margin-top: 15px;

    color: var(--muted);

    font-size: 11px;

}


.floating-card {

    position: absolute;

    z-index: 3;

    display: flex;

    align-items: center;

    gap: 10px;

    padding: 13px;

    border-radius: 12px;

    background: white;

    box-shadow:
        0 15px 40px rgba(15, 23, 42, .12);

    border: 1px solid var(--border);

}


.floating-card-one {

    left: 10px;

    bottom: 90px;

}


.floating-card-two {

    right: 0;

    top: 80px;

}


.floating-icon {

    width: 34px;

    height: 34px;

    display: grid;

    place-items: center;

    border-radius: 8px;

    background: #eff6ff;

    color: var(--primary);

    font-weight: 800;

}


.floating-card strong {

    display: block;

    font-size: 12px;

}


.floating-card small {

    display: block;

    color: var(--muted);

    font-size: 9px;

}


/* =====================================================
   STATISTICS
===================================================== */

.statistics {

    background: var(--dark);

    color: white;

}


.statistics-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

}


.stat-item {

    text-align: center;

    padding: 30px 15px;

    border-right:
        1px solid rgba(255, 255, 255, .1);

}


.stat-item:last-child {

    border-right: 0;

}


.stat-item strong {

    display: block;

    font-size: 27px;

}


.stat-item span {

    color: #94a3b8;

    font-size: 11px;

}


/* =====================================================
   SECTION
===================================================== */

.section {

    padding: 90px 0;

}


.section-heading {

    display: flex;

    justify-content: space-between;

    align-items: end;

    gap: 30px;

    margin-bottom: 40px;

}


.section-label {

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1.2px;

}


.section-heading h2,
.advantages-content h2 {

    margin-top: 8px;

    font-size: 36px;

    line-height: 1.2;

    letter-spacing: -.8px;

}


.section-heading p {

    margin-top: 8px;

    color: var(--text);

    font-size: 14px;

}


.view-all {

    color: var(--primary);

    font-size: 13px;

    font-weight: 700;

    white-space: nowrap;

}


/* =====================================================
   CATEGORIES
===================================================== */

.categories-section {

    background: white;

}


.category-grid {

    display: grid;

    grid-template-columns:
        repeat(6, 1fr);

    gap: 15px;

}


.category-card {

    padding: 25px 15px;

    text-align: center;

    border:
        1px solid var(--border);

    border-radius: 13px;

    transition: .25s;

}


.category-card:hover {

    transform:
        translateY(-5px);

    border-color:
        rgba(37, 99, 235, .3);

    box-shadow: var(--shadow);

}


.category-icon {

    width: 55px;

    height: 55px;

    margin:
        0 auto 15px;

    display: grid;

    place-items: center;

    border-radius: 12px;

    color: var(--primary);

    background: #eff6ff;

    font-size: 13px;

    font-weight: 800;

}


.category-card h3 {

    font-size: 13px;

    line-height: 1.4;

}


.category-card p {

    margin-top: 5px;

    color: var(--muted);

    font-size: 10px;

}


/* =====================================================
   TRAINING
===================================================== */

.training-section {

    background: var(--light);

}


.course-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 23px;

}


.course-card {

    overflow: hidden;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 15px;

    transition: .25s;

}

/* GAMBAR FULL DI ATAS */
.course-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.course-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Jika tidak ada gambar */
.course-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
}

.course-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 40px rgba(15, 23, 42, .08);

}


.course-image {

    height: 210px;

    position: relative;

    display: grid;

    place-items: center;

    overflow: hidden;

}


.course-image::before {

    content: "";

    position: absolute;

    width: 200px;

    height: 200px;

    border-radius: 50%;

    border:
        1px solid rgba(255, 255, 255, .2);

}


.course-image-blue {

    background:
        linear-gradient(135deg,
            #1d4ed8,
            #2563eb);

}


.course-image-purple {

    background:
        linear-gradient(135deg,
            #6d28d9,
            #9333ea);

}


.course-image-green {

    background:
        linear-gradient(135deg,
            #047857,
            #10b981);

}


.course-category {

    position: absolute;

    top: 15px;

    left: 15px;

    z-index: 2;

    padding: 5px 9px;

    border-radius: 20px;

    color: white;

    background:
        rgba(255, 255, 255, .16);

    backdrop-filter:
        blur(5px);

    font-size: 8px;

    font-weight: 800;

}


.course-image-icon {

    position: relative;

    z-index: 2;

    color: white;

    font-size: 45px;

    font-weight: 800;

}


.course-body {

    padding: 22px;

}


.course-rating {

    color: #f59e0b;

    font-size: 11px;

    font-weight: 800;

}


.course-rating span {

    color: var(--muted);

    margin-left: 5px;

    font-weight: 500;

}


.course-body h3 {

    margin-top: 10px;

    font-size: 17px;

    line-height: 1.4;

}


.course-body>p {

    margin-top: 8px;

    color: var(--text);

    font-size: 12px;

}


.course-info {

    display: flex;

    gap: 15px;

    margin-top: 18px;

    padding-top: 15px;

    border-top:
        1px solid var(--border);

    color: var(--muted);

    font-size: 10px;

}


.course-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    margin-top: 18px;

}


.course-footer small {

    display: block;

    color: var(--muted);

    font-size: 9px;

}


.course-footer strong {

    display: block;

    margin-top: 2px;

    font-size: 17px;

}


.course-button {

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    background: var(--primary);

    color: white;

    font-size: 20px;

}


/* =====================================================
   PRODUCTS
===================================================== */

.products-section {

    background: white;

}


.product-grid {

    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;

}

.product-card {
    border:
        1px solid var(--border);
    overflow: hidden;
    border-radius: 16px;
    background: #fff;
}

/* GAMBAR FULL DI ATAS */
.product-image {
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.product-image img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
}

/* Jika tidak ada gambar */
.product-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    color: #9ca3af;
}

/* CATEGORY + TYPE DI BAWAH GAMBAR */
.product-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 18px 0;
}

.product-category,
.product-type {
    display: inline-flex;
    align-items: center;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.product-category {
    background: #eef2ff;
    color: #4f46e5;
}

.product-type {
    background: #f3f4f6;
    color: #4b5563;
}

/* BODY */
.product-body {
    padding: 14px 18px 18px;
}

.product-body h3 {
    margin: 0 0 8px;
    font-size: 15px;

    line-height: 1.4;
}

.product-body p {

    line-height: 1.6;
    margin-top: 8px;
    color: var(--text);
    font-size: 11px;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.product-card:hover {

    transform:
        translateY(-5px);

    box-shadow: var(--shadow);

}

/* =====================================================
   ADVANTAGES
===================================================== */

.advantages-section {

    background: var(--light);

}


.advantages-container {

    display: grid;

    grid-template-columns:
        1fr 1fr;

    gap: 80px;

    align-items: center;

}


.advantages-content>p {

    max-width: 560px;

    margin-top: 18px;

    color: var(--text);

}


.advantage-list {

    margin-top: 30px;

}


.advantage-item {

    display: flex;

    gap: 15px;

    margin-bottom: 20px;

}


.advantage-icon {

    flex-shrink: 0;

    width: 38px;

    height: 38px;

    display: grid;

    place-items: center;

    border-radius: 9px;

    color: var(--primary);

    background: #dbeafe;

    font-weight: 800;

}


.advantage-item h3 {

    font-size: 14px;

}


.advantage-item p {

    margin-top: 3px;

    color: var(--text);

    font-size: 11px;

}


.advantages-visual {

    position: relative;

}


.learning-card {

    padding: 30px;

    border-radius: 20px;

    background: white;

    box-shadow:
        0 20px 50px rgba(15, 23, 42, .1);

    border:
        1px solid var(--border);

}


.learning-header {

    display: flex;

    justify-content: space-between;

    align-items: center;

}


.learning-header span {

    color: var(--muted);

    font-size: 10px;

    font-weight: 700;

}


.learning-header strong {

    color: var(--primary);

}


.learning-card .learning-progress {
    height: 7px;
    margin-top: 15px;
    background: #e2e8f0;
    border-radius: 999px;
    overflow: hidden;
}

.learning-card .learning-progress>div {
    width: 75%;
    height: 100%;
    background: var(--primary);
    border-radius: 999px;
}


.learning-course {

    display: flex;

    align-items: center;

    gap: 13px;

    padding: 18px 0;

    border-bottom:
        1px solid var(--border);

}


.learning-course:last-child {

    border-bottom: 0;

}


.learning-icon {

    width: 43px;

    height: 43px;

    display: grid;

    place-items: center;

    border-radius: 10px;

    background: #eff6ff;

    color: var(--primary);

    font-size: 11px;

    font-weight: 800;

}


.learning-course strong {

    display: block;

    font-size: 12px;

}


.learning-course span {

    display: block;

    margin-top: 3px;

    color: var(--muted);

    font-size: 10px;

}


/* =====================================================
   BLOG
===================================================== */

.blog-section {

    background: white;

}


.blog-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 22px;

}


.blog-card {

    overflow: hidden;

    border:
        1px solid var(--border);

    border-radius: 14px;

    background: white;

}


.blog-image {

    height: 190px;

    display: grid;

    place-items: center;

    color: white;

    background:
        linear-gradient(135deg,
            #2563eb,
            #06b6d4);

    font-size: 35px;

    font-weight: 800;

}


.blog-image-purple {

    background:
        linear-gradient(135deg,
            #7c3aed,
            #ec4899);

}


.blog-image-green {

    background:
        linear-gradient(135deg,
            #059669,
            #14b8a6);

}


.blog-body {

    padding: 22px;

}


.blog-body>span {

    color: var(--primary);

    font-size: 9px;

    font-weight: 800;

}


.blog-body h3 {

    margin-top: 8px;

    font-size: 16px;

    line-height: 1.4;

}


.blog-body p {

    margin-top: 8px;

    color: var(--text);

    font-size: 11px;

}


.blog-body a {

    display: inline-block;

    margin-top: 15px;

    color: var(--primary);

    font-size: 11px;

    font-weight: 700;

}


/* =====================================================
   CTA
===================================================== */

.cta-section {

    padding: 75px 0;

    color: white;

    background:
        linear-gradient(135deg,
            #1d4ed8,
            #4f46e5);

}


.cta-container {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 40px;

}


.cta-section .section-label {

    color: #bfdbfe;

}


.cta-section h2 {

    max-width: 650px;

    margin-top: 8px;

    font-size: 38px;

    line-height: 1.2;

}


.cta-section p {

    margin-top: 12px;

    color: #dbeafe;

}


.cta-actions {

    display: flex;

    gap: 12px;

}


/* =====================================================
   FOOTER
===================================================== */

.footer {

    padding-top: 70px;

    color: white;

    background: #020617;

}


.footer-grid {

    display: grid;

    grid-template-columns:
        2fr 1fr 1fr 1fr;

    gap: 50px;

    padding-bottom: 50px;

}


.footer-about p {

    max-width: 350px;

    margin-top: 18px;

    color: #94a3b8;

    font-size: 12px;

}


.footer-column h3 {

    margin-bottom: 18px;

    font-size: 13px;

}


.footer-column>a {

    display: block;

    margin-bottom: 10px;

    color: #94a3b8;

    font-size: 11px;

    transition: .2s;

}


.footer-column>a:hover {

    color: white;

}


.social-links {

    display: flex;

    gap: 8px;

    margin-top: 20px;

}


.social-links a {

    width: 32px;

    height: 32px;

    display: grid;

    place-items: center;

    border-radius: 7px;

    background: #1e293b;

    color: #cbd5e1;

    font-size: 11px;

    font-weight: 700;

}


.footer-bottom {

    display: flex;

    align-items: center;

    justify-content: space-between;

    padding: 20px 0;

    border-top:
        1px solid #1e293b;

    color: #64748b;

    font-size: 10px;

}


/* =====================================================
   RESPONSIVE TABLET
===================================================== */

@media (max-width: 1000px) {

    .desktop-menu {

        gap: 15px;

    }


    .desktop-menu a {

        font-size: 11px;

    }


    .category-grid {

        grid-template-columns:
            repeat(3, 1fr);

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }

}


/* =====================================================
   RESPONSIVE MOBILE
===================================================== */

@media (max-width: 768px) {

    .container {

        width:
            calc(100% - 30px);

    }


    .desktop-menu,
    .navbar-actions {

        display: none;

    }


    .mobile-menu-button {

        display: block;

    }


    .mobile-menu {

        padding: 20px 15px;

        background: white;

        border-top:
            1px solid var(--border);

    }


    .mobile-menu.show {

        display: block;

    }


    .mobile-menu a {

        display: block;

        padding: 11px 0;

        color: var(--text);

        font-size: 13px;

        font-weight: 600;

    }


    .hero {

        min-height: auto;

    }


    .hero-container {

        min-height: auto;

        padding:
            70px 0;

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .hero h1 {

        font-size: 43px;

        letter-spacing: -1.5px;

    }


    .hero-actions {

        flex-direction: column;

    }


    .hero-trust {

        gap: 20px;

    }


    .hero-visual {

        min-height: 400px;

    }


    .hero-card-main {

        width:
            min(350px, 90%);

    }


    .floating-card-one {

        left: 0;

        bottom: 40px;

    }


    .floating-card-two {

        right: 0;

        top: 30px;

    }


    .statistics-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .stat-item {

        border-bottom:
            1px solid rgba(255, 255, 255, .1);

    }


    .section {

        padding: 65px 0;

    }


    .section-heading {

        display: block;

    }


    .section-heading h2,
    .advantages-content h2 {

        font-size: 29px;

    }


    .view-all {

        display: inline-block;

        margin-top: 15px;

    }


    .category-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .course-grid,
    .blog-grid {

        grid-template-columns: 1fr;

    }


    .product-grid {

        grid-template-columns:
            repeat(2, 1fr);

    }


    .advantages-container {

        grid-template-columns: 1fr;

        gap: 40px;

    }


    .cta-container {

        display: block;

    }


    .cta-section h2 {

        font-size: 30px;

    }


    .cta-actions {

        margin-top: 25px;

        flex-direction: column;

    }


    .footer-grid {

        grid-template-columns:
            1fr 1fr;

    }


    .footer-bottom {

        display: block;

    }


    .footer-bottom p+p {

        margin-top: 7px;

    }

}


/* =====================================================
   SMALL MOBILE
===================================================== */

@media (max-width: 480px) {
    .bnsp-card {

        flex-direction: column;

    }


    .bnsp-date {

        width: 100%;

        height: 85px;

        flex-direction: row;

        gap: 8px;

    }


    .bnsp-date strong {

        font-size: 28px;

    }


    .bnsp-date span {

        font-size: 10px;

    }


    .bnsp-footer {

        align-items: flex-start;

        flex-direction: column;

    }


    .bnsp-footer .btn {

        width: 100%;

    }

    .hero h1 {

        font-size: 37px;

    }


    .category-grid {

        grid-template-columns: 1fr 1fr;

    }


    .product-grid {

        grid-template-columns: 1fr;

    }


    .hero-card-main {

        padding: 23px;

    }


    .footer-grid {

        grid-template-columns: 1fr;

    }

}

/* =====================================================
   BNSP CERTIFICATION
===================================================== */

.bnsp-section {

    background:
        linear-gradient(180deg,
            #f8fafc 0%,
            #ffffff 100%);

}


.bnsp-grid {

    display: grid;

    grid-template-columns:
        repeat(3, 1fr);

    gap: 20px;

}


.bnsp-card {

    display: flex;

    overflow: hidden;

    background: white;

    border:
        1px solid var(--border);

    border-radius: 15px;

    transition: .25s ease;

}


.bnsp-card:hover {

    transform:
        translateY(-5px);

    box-shadow:
        0 15px 40px rgba(15, 23, 42, .09);

}


.bnsp-date {

    flex-shrink: 0;

    width: 82px;

    padding: 20px 10px;

    display: flex;

    flex-direction: column;

    align-items: center;

    justify-content: center;

    color: white;

    background:
        linear-gradient(180deg,
            #1d4ed8,
            #4338ca);

}


.bnsp-date span {

    font-size: 11px;

    font-weight: 800;

    letter-spacing: 1px;

}


.bnsp-date strong {

    margin: 3px 0;

    font-size: 32px;

    line-height: 1;

}


.bnsp-date small {

    font-size: 10px;

    opacity: .8;

}


.bnsp-content {

    flex: 1;

    padding: 20px;

}


.bnsp-top {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 8px;

}


.bnsp-badge {

    padding: 4px 8px;

    border-radius: 5px;

    color: #1d4ed8;

    background: #dbeafe;

    font-size: 9px;

    font-weight: 800;

}


.bnsp-status {

    font-size: 9px;

    font-weight: 700;

}


.bnsp-status.open {

    color: #16a34a;

}


.bnsp-status.limited {

    color: #ea580c;

}


.bnsp-content h3 {

    margin-top: 13px;

    font-size: 16px;

    line-height: 1.4;

}


.bnsp-content>p {

    margin-top: 7px;

    color: var(--text);

    font-size: 11px;

    line-height: 1.6;

}


.bnsp-info {

    display: flex;

    flex-direction: column;

    gap: 6px;

    margin-top: 15px;

    padding-top: 13px;

    border-top:
        1px solid var(--border);

}


.bnsp-info span {

    color: var(--muted);

    font-size: 10px;

}


.bnsp-footer {

    display: flex;

    align-items: center;

    justify-content: space-between;

    gap: 15px;

    margin-top: 18px;

}


.bnsp-footer small {

    display: block;

    color: var(--muted);

    font-size: 9px;

}


.bnsp-footer strong {

    display: block;

    margin-top: 2px;

    color: var(--dark);

    font-size: 15px;

}

.bnsp-success-section,
.bnsp-list-section,
.bnsp-detail-section {
    padding: 80px 0;
    background: #f8fafc;
}

.bnsp-success-card {
    max-width: 760px;
    margin: auto;
    padding: 45px;
    background: #fff;
    border-radius: 20px;
    text-align: center;
}

.success-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #dcfce7;
    color: #16a34a;
    font-size: 32px;
    font-weight: 700;
}

.success-label,
.page-header span {
    color: #2563eb;
    font-size: 13px;
    font-weight: 700;
}

.bnsp-success-card h1,
.page-header h1 {
    margin: 10px 0;
}

.registration-number {
    margin: 30px 0;
    padding: 20px;
    border-radius: 12px;
    background: #f1f5f9;
}

.registration-number span,
.registration-summary span,
.registration-card-meta span,
.detail-row span {
    display: block;
    margin-bottom: 5px;
    color: #64748b;
    font-size: 13px;
}

.registration-number strong {
    font-size: 24px;
    letter-spacing: 1px;
}

.registration-summary {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    text-align: left;
}

.success-actions {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 30px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 13px 22px;
    border-radius: 8px;
    background: #e2e8f0;
    color: #334155;
    text-decoration: none;
    font-weight: 600;
}

.page-header {
    margin-bottom: 35px;
}

.registration-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.registration-card {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    padding: 25px;
    background: #fff;
    border-radius: 16px;
}

.training-label {
    color: #2563eb;
    font-size: 12px;
    font-weight: 700;
}

.registration-card h2 {
    margin: 8px 0;
}

.registration-card p {
    margin: 0;
    color: #64748b;
}

.registration-card-meta {
    display: flex;
    align-items: center;
    gap: 30px;
}

.status {
    display: inline-flex;
    padding: 5px 10px;
    border-radius: 999px;
    font-size: 12px;
}

.status-pending {
    background: #fef3c7;
    color: #92400e;
}

.status-confirmed {
    background: #dbeafe;
    color: #1d4ed8;
}

.status-paid {
    background: #dcfce7;
    color: #166534;
}

.status-cancelled {
    background: #fee2e2;
    color: #991b1b;
}

.status-completed {
    background: #e0e7ff;
    color: #3730a3;
}

.empty-state {
    padding: 60px 30px;
    text-align: center;
    background: #fff;
    border-radius: 16px;
}

.detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
}

.detail-card {
    padding: 30px;
    background: #fff;
    border-radius: 16px;
}

.detail-row {
    padding: 16px 0;
    border-bottom: 1px solid #e5e7eb;
}

.status-timeline {
    margin: 30px 0;
}

.timeline-item {
    display: flex;
    gap: 15px;
    position: relative;
    padding-bottom: 25px;
    opacity: .45;
}

.timeline-item.active {
    opacity: 1;
}

.timeline-item>span {
    width: 35px;
    height: 35px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #e2e8f0;
}

.timeline-item.active>span {
    background: #2563eb;
    color: white;
}

.timeline-item strong {
    display: block;
}

.timeline-item small {
    color: #64748b;
}

.btn-block {
    width: 100%;
}

@media (max-width: 768px) {

    .registration-card {
        flex-direction: column;
        align-items: flex-start;
    }

    .registration-card-meta {
        width: 100%;
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .registration-summary,
    .detail-grid {
        grid-template-columns: 1fr;
    }

    .success-actions {
        flex-direction: column;
    }

}

/* {{-- navbar dropdown */
.nav-dropdown {
    position: relative;
    display: inline-block;
}

.nav-dropdown-toggle {
    background: none;
    border: none;
    cursor: pointer;
    font: inherit;
    color: inherit;
    padding: 10px 15px;
}

.nav-dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    min-width: 200px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    padding: 8px 0;
    display: none;
    z-index: 1000;
}

.nav-dropdown-menu a {
    display: block;
    padding: 10px 16px;
    color: #333;
    text-decoration: none;
    white-space: nowrap;
}

.nav-dropdown-menu a:hover {
    background: #f5f5f5;
}

.nav-dropdown:hover .nav-dropdown-menu {
    display: block;
}

/* Payment */

.payment-table {
    margin-bottom: 0;
    border-collapse: separate;
    border-spacing: 0;
}

.payment-table thead th {
    background: #f8f9fa;
    color: #6c757d;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .4px;
    padding: 14px 16px;
    border-bottom: 1px solid #e9ecef;
    white-space: nowrap;
}

.payment-table tbody td {
    padding: 16px;
    border-bottom: 1px solid #f1f3f5;
}

.payment-table tbody tr:last-child td {
    border-bottom: none;
}

.payment-table tbody tr:hover {
    background: #fafbfc;
}


/* Participant */

.participant-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.participant-avatar {
    width: 40px;
    height: 40px;
    min-width: 40px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #eef2ff;
    color: #4f46e5;

    font-size: 14px;
    font-weight: 700;
}

.participant-name {
    color: #212529;
    font-weight: 600;
}

.participant-email {
    margin-top: 2px;
    color: #8a8f98;
    font-size: 12px;
}


/* Training */

.training-name {
    max-width: 250px;
    font-size: 14px;
    font-weight: 500;
}


/* Amount */

.payment-amount {
    color: #212529;
    white-space: nowrap;
}


/* Proof */

.btn-proof {
    display: inline-flex;
    align-items: center;

    padding: 6px 10px;

    background: #f1f5f9;
    color: #475569;

    border-radius: 6px;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

.btn-proof:hover {
    background: #e2e8f0;
    color: #1e293b;
}


/* Status */

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 6px 10px;

    border-radius: 20px;

    font-size: 12px;
    font-weight: 600;
    white-space: nowrap;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
}

.status-pending {
    background: #fff8e1;
    color: #a16207;
}

.status-pending .status-dot {
    background: #f59e0b;
}

.status-confirmed {
    background: #ecfdf3;
    color: #15803d;
}

.status-confirmed .status-dot {
    background: #22c55e;
}

.status-rejected {
    background: #fef2f2;
    color: #dc2626;
}

.status-rejected .status-dot {
    background: #ef4444;
}


/* Action */

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 6px;
}

.action-buttons form {
    margin: 0;
}

.btn-action {
    width: 34px;
    height: 34px;

    display: inline-flex;
    align-items: center;
    justify-content: center;

    border: none;
    border-radius: 7px;

    font-size: 15px;
    font-weight: 700;

    cursor: pointer;

    transition: .2s ease;
}

.btn-confirm {
    background: #ecfdf3;
    color: #16a34a;
}

.btn-confirm:hover {
    background: #16a34a;
    color: #fff;
}

.btn-reject {
    background: #fef2f2;
    color: #dc2626;
}

.btn-reject:hover {
    background: #dc2626;
    color: #fff;
}


/* Empty */

.empty-state {
    padding: 20px;
}

.empty-icon {
    font-size: 36px;
    margin-bottom: 10px;
}

.empty-title {
    font-weight: 600;
    color: #343a40;
}

.empty-text {
    color: #8a8f98;
    font-size: 13px;
}

/* payment member */
.payment-method {
    display: flex;
    align-items: center;
    gap: 10px;

    padding: 15px;

    border: 1px solid #dee2e6;
    border-radius: 10px;

    cursor: pointer;

    transition: all .2s ease;
}

.payment-method:hover {
    border-color: #0d6efd;
    background: #f8faff;
}

.payment-method input {
    accent-color: #0d6efd;
}

.payment-method span {
    display: flex;
    align-items: center;
    gap: 8px;

    font-size: 14px;
}

/* course */
.course-detail-thumbnail {
    width: 100%;
    height: 380px;
    overflow: hidden;
    border-radius: 16px;
    background: #f1f3f5;
}

.course-detail-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.course-thumbnail-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    align-items: center;
    justify-content: center;

    color: #6c757d;
    font-size: 30px;
    font-weight: 700;
}

.course-title {
    font-size: 36px;
    line-height: 1.2;
    font-weight: 700;
    color: #212529;
}

.course-description {
    color: #6c757d;
    line-height: 1.8;
}


/* Curriculum */

.module-card {
    margin-bottom: 15px;

    border: 1px solid #e9ecef;
    border-radius: 12px;

    overflow: hidden;
}

.module-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    padding: 16px 18px;

    background: #f8f9fa;
}

.module-number {
    margin-bottom: 4px;

    color: #6c757d;

    font-size: 11px;
    font-weight: 600;

    text-transform: uppercase;
}

.module-count {
    color: #6c757d;
    font-size: 12px;
}

.lesson-list {
    padding: 5px 0;
}

.lesson-item {
    display: flex;
    align-items: center;

    gap: 12px;

    padding: 12px 18px;

    border-top: 1px solid #f1f3f5;
}

.lesson-icon {
    width: 30px;
    height: 30px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 6px;

    background: #eef2ff;
    color: #4f46e5;

    font-size: 11px;
    font-weight: 700;
}

.lesson-title {
    flex: 1;

    font-size: 14px;
    color: #343a40;
}

.lesson-lock {
    font-size: 12px;
}


/* Buy Card */

.course-buy-card {
    position: sticky;
    top: 30px;

    padding: 25px;

    border: 1px solid #e9ecef;
    border-radius: 16px;

    background: #fff;

    box-shadow:
        0 10px 30px rgba(0, 0, 0, .06);
}

.course-price {
    margin-bottom: 20px;

    color: #212529;

    font-size: 28px;
    font-weight: 700;
}

.course-features {
    color: #6c757d;

    font-size: 14px;
    line-height: 2;
}

.course-payment-method {
    position: relative;

    display: flex;
    align-items: center;

    gap: 10px;

    height: 100%;

    padding: 15px;

    border: 1px solid #dee2e6;
    border-radius: 10px;

    cursor: pointer;

    transition: .2s ease;
}

.course-payment-method:hover {
    border-color: #0d6efd;
    background: #f8faff;
}

.course-payment-method input {
    accent-color: #0d6efd;
}

.course-payment-method>div {
    display: flex;
    flex-direction: column;
}

.course-payment-method strong {
    font-size: 14px;
}

.course-payment-method small {
    margin-top: 3px;

    color: #8a8f98;

    font-size: 11px;
}

.payment-icon {
    margin-bottom: 5px;

    font-size: 22px;
}

/* my-course */
/* =====================================================
   TRAINING SAYA - COMPACT CARD
===================================================== */

.my-courses-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 18px;
}


/* CARD */

.my-course-card {
    width: 100%;
    height: 100%;

    overflow: hidden;

    background: #fff;

    border: 1px solid #e5e7eb;
    border-radius: 10px;

    box-shadow: 0 2px 6px rgba(0, 0, 0, .05);

    transition: .2s ease;
}

.my-course-card:hover {
    transform: translateY(-2px);

    box-shadow: 0 6px 15px rgba(0, 0, 0, .08);
}


/* IMAGE */

.my-course-image {
    position: relative;

    width: 100%;
    height: 115px;

    overflow: hidden;

    background: #f1f3f5;
}

.my-course-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* STATUS */

.course-status {
    position: absolute;

    top: 7px;
    right: 7px;
}

.course-status .badge {
    padding: 4px 6px;

    font-size: 9px;

    border-radius: 4px;
}


/* BODY */

.my-course-body {
    padding: 11px;
}


/* TITLE */

.my-course-title {
    display: -webkit-box;

    height: 38px;

    margin: 0 0 5px;

    overflow: hidden;

    color: #212529;

    font-size: 13px;
    line-height: 19px;
    font-weight: 600;

    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}


/* PRICE */

.my-course-price {
    min-height: 18px;

    margin-bottom: 9px;

    color: #6c757d;

    font-size: 11px;
}


/* ACTION */

.my-course-action {
    margin-top: 5px;
}

.my-course-action .btn {
    min-height: 29px;

    padding: 4px 8px;

    font-size: 11px;
    font-weight: 500;

    border-radius: 5px;
}


/* =====================================================
   RESPONSIVE
===================================================== */

@media (max-width: 1100px) {

    .my-courses-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

}


@media (max-width: 768px) {

    .my-courses-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
    }

}


@media (max-width: 480px) {

    .my-courses-grid {
        grid-template-columns: 1fr;
    }

}

/* =====================================================
   COURSE LEARNING
===================================================== */

.learning-page {
    min-height: calc(100vh - 70px);
    background: #f8f9fa;
}

/* HEADER */
.learning-header {
    padding: 18px 25px;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.learning-header .container-fluid>.d-flex {
    gap: 30px;
}

.learning-back {
    display: inline-block;
    margin-bottom: 6px;
    color: #6c757d;
    font-size: 13px;
    text-decoration: none;
    transition: color .2s ease;
}

.learning-back:hover {
    color: var(--primary);
}

.learning-title {
    margin: 0;
    color: #212529;
    font-size: 20px;
    line-height: 1.35;
    font-weight: 600;
}

/* REAL COURSE PROGRESS */
.learning-page .learning-progress {
    flex-shrink: 0;
    min-width: 230px;
}

.learning-page .learning-progress .progress {
    width: 180px !important;
    height: 8px !important;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background: #e9ecef;
    border-radius: 999px;
}

.learning-page .learning-progress .progress-bar {
    display: block;
    height: 100% !important;
    margin: 0;
    padding: 0;
    background: var(--primary);
    border-radius: 999px;
    transition: width .4s ease;
}

/* MAIN */
.learning-container {
    display: flex;
    width: 100%;
    min-height: calc(100vh - 145px);
}

/* SIDEBAR */
.learning-sidebar {
    width: 330px;
    min-width: 330px;
    flex-shrink: 0;
    overflow-y: auto;
    background: #ffffff;
    border-right: 1px solid #e9ecef;
}

.learning-sidebar-header {
    padding: 20px;
    background: #ffffff;
    border-bottom: 1px solid #e9ecef;
}

.learning-sidebar-header .small {
    font-size: 11px;
}

.learning-sidebar-header strong {
    display: block;
    margin-top: 5px;
    color: #212529;
    font-size: 15px;
}

.learning-sidebar-header .mt-2 {
    margin-top: 8px !important;
    color: #6c757d;
    font-size: 12px;
}

/* MODULE */
.learning-module {
    border-bottom: 1px solid #e9ecef;
}

.learning-module-header {
    padding: 15px 18px;
    background: #f8f9fa;
    border-bottom: 1px solid #eef0f2;
}

.learning-module-header span {
    display: block;
    margin-bottom: 4px;
    color: #6c757d;
    font-size: 10px;
    font-weight: 500;
    letter-spacing: .5px;
    text-transform: uppercase;
}

.learning-module-header strong {
    display: block;
    color: #212529;
    font-size: 14px;
    line-height: 1.4;
}

/* LESSON */
.learning-lesson {
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 12px 18px;
    color: #343a40;
    font-size: 13px;
    line-height: 1.4;
    text-decoration: none;
    border-top: 1px solid #f1f3f5;
    transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.learning-lesson:hover {
    background: #f8f9fa;
    color: var(--primary);
}

.learning-lesson.active {
    padding-left: 15px;
    background: #eef4ff;
    color: var(--primary);
    font-weight: 600;
    border-left: 3px solid var(--primary);
}

.learning-lesson.active:hover {
    background: #eef4ff;
}

.lesson-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    min-width: 22px;
    height: 22px;
    flex-shrink: 0;
    text-align: center;
    font-weight: 700;
}

.lesson-completed {
    color: #198754;
}

.lesson-uncompleted {
    color: #adb5bd;
}

.lesson-name {
    flex: 1;
    min-width: 0;
}

/* CONTENT */
.learning-content {
    flex: 1;
    min-width: 0;
    padding: 35px;
    overflow-y: auto;
}

.lesson-content {
    width: 100%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 30px;
    background: #ffffff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, .04);
}

.lesson-type {
    display: inline-flex;
    align-items: center;
    margin-bottom: 10px;
    padding: 5px 10px;
    background: #eef2ff;
    color: #4f46e5;
    border-radius: 5px;
    font-size: 11px;
    font-weight: 600;
}

.lesson-heading {
    margin: 0 0 25px;
    color: #212529;
    font-size: 28px;
    line-height: 1.3;
    font-weight: 700;
}

/* VIDEO */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    margin-bottom: 25px;
    overflow: hidden;
    background: #000000;
    border-radius: 10px;
}

.video-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

/* TEXT */
.lesson-text {
    padding: 10px 0;
    color: #343a40;
    font-size: 16px;
    line-height: 1.8;
}

/* PDF */
.pdf-container {
    width: 100%;
    height: 700px;
    margin-bottom: 25px;
    overflow: hidden;
}

.pdf-container iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

/* ACTION */
.lesson-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid #e9ecef;
}

.lesson-actions>div:last-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

/* EMPTY */
.lesson-empty {
    padding: 60px 20px;
    text-align: center;
    color: #6c757d;
}

.lesson-empty h4 {
    margin-bottom: 8px;
    color: #343a40;
}

/* RESPONSIVE */
@media (max-width: 992px) {
    .learning-sidebar {
        width: 280px;
        min-width: 280px;
    }

    .learning-content {
        padding: 25px;
    }

    .lesson-content {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .learning-header {
        padding: 15px;
    }

    .learning-header .container-fluid>.d-flex {
        flex-direction: column;
        align-items: flex-start !important;
        gap: 15px;
    }

    .learning-title {
        font-size: 18px;
    }

    .learning-page .learning-progress {
        width: 100%;
        min-width: 0;
    }

    .learning-page .learning-progress .progress {
        width: 100% !important;
        max-width: 300px;
    }

    .learning-container {
        flex-direction: column;
    }

    .learning-sidebar {
        width: 100%;
        min-width: 100%;
        max-height: none;
        border-right: 0;
        border-bottom: 1px solid #e9ecef;
    }

    .learning-content {
        padding: 15px;
    }

    .lesson-content {
        padding: 20px;
        border-radius: 10px;
    }

    .lesson-heading {
        font-size: 22px;
    }

    .lesson-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .lesson-actions>div {
        width: 100%;
    }

    .lesson-actions>div:last-child {
        justify-content: flex-end;
    }
}

@media (max-width: 480px) {
    .learning-header {
        padding: 14px;
    }

    .learning-title {
        font-size: 17px;
    }

    .learning-content {
        padding: 10px;
    }

    .lesson-content {
        padding: 16px;
        border-radius: 8px;
    }

    .lesson-heading {
        font-size: 20px;
    }

    .lesson-text {
        font-size: 15px;
    }

    .pdf-container {
        height: 500px;
    }

    .lesson-actions>div:last-child {
        flex-direction: column;
        align-items: stretch;
    }

    .lesson-actions .btn {
        width: 100%;
    }
}