:root{--ink:#101828;--muted:#667085;--line:#e8ecf2;--brand:#2563eb;--bg:#f7f9fc}
*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--ink);font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif}
.cert-page{max-width:1180px;margin:auto;padding:60px 24px 90px}.hero{display:flex;justify-content:space-between;align-items:end;gap:30px;padding:20px 0 45px}.eyebrow{display:inline-flex;gap:7px;align-items:center;color:var(--brand);font-size:12px;font-weight:800;letter-spacing:.12em}.hero h1{font-size:clamp(38px,5vw,64px);line-height:1.02;letter-spacing:-.045em;margin:15px 0}.hero h1 span{color:var(--brand)}.hero p{max-width:650px;color:var(--muted);font-size:17px;line-height:1.7;margin:0}.hero-stat{min-width:145px;padding:24px;border:1px solid var(--line);background:#fff;border-radius:20px;box-shadow:0 12px 35px #10182808}.hero-stat strong{display:block;font-size:42px;line-height:1}.hero-stat span{color:var(--muted);font-size:13px}
.toolbar{display:flex;justify-content:space-between;gap:20px;align-items:center;margin-bottom:24px}.filters{display:flex;gap:7px;flex-wrap:wrap}.filter{border:1px solid var(--line);background:#fff;color:#475467;padding:9px 15px;border-radius:999px;font-weight:600;font-size:13px;cursor:pointer}.filter.active,.filter:hover{background:var(--brand);border-color:var(--brand);color:#fff}.search{display:flex;align-items:center;gap:9px;background:#fff;border:1px solid var(--line);border-radius:11px;padding:0 13px;width:260px}.search input{border:0;outline:0;width:100%;padding:11px 0;font-size:14px}
.cert-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.cert-card{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;min-height:360px;display:flex;flex-direction:column;transition:.2s ease;box-shadow:0 8px 25px #10182806}.cert-card:hover{transform:translateY(-4px);box-shadow:0 18px 40px #10182812;border-color:#d8e0ed}.card-top{display:flex;justify-content:space-between;align-items:start;margin-bottom:22px}.issuer-logo{width:54px;height:54px;border-radius:14px;background:#eef4ff;display:grid;place-items:center;overflow:hidden;color:var(--brand);font-size:24px}.issuer-logo img{width:100%;height:100%;object-fit:contain}.verified{font-size:11px;color:#087443;background:#ecfdf3;border-radius:999px;padding:6px 9px;font-weight:700}.cert-card h2{font-size:20px;line-height:1.3;margin:0 0 8px}.issuer{font-size:13px;color:var(--muted);margin:0 0 18px}.meta{display:flex;flex-direction:column;gap:7px;color:#667085;font-size:12px}.skills{display:flex;flex-wrap:wrap;gap:6px;margin:18px 0}.skills span{background:#f2f4f7;color:#475467;border-radius:6px;padding:5px 8px;font-size:11px;font-weight:600}.card-actions{display:flex;gap:10px;margin-top:auto;align-items:center}.btn-primary{border:0;background:var(--ink);color:#fff;border-radius:9px;padding:10px 13px;font-weight:700;font-size:12px;cursor:pointer}.btn-primary:hover{background:var(--brand)}.btn-link{font-size:12px;font-weight:700;color:var(--brand);text-decoration:none}.empty{text-align:center;padding:70px;color:var(--muted)}.modal-backdrop-custom{position:fixed;inset:0;background:#101828aa;backdrop-filter:blur(6px);display:none;align-items:center;justify-content:center;padding:20px;z-index:1000}.modal-backdrop-custom.show{display:flex}.certificate-modal{position:relative;width:min(1000px,96vw);max-height:92vh;overflow:auto;background:#fff;border-radius:22px;padding:18px;display:grid;grid-template-columns:1.35fr .65fr;gap:20px}.modal-close{position:absolute;right:16px;top:16px;width:38px;height:38px;border:0;border-radius:50%;background:#fff;box-shadow:0 5px 20px #0002;z-index:2}.preview{background:#f3f5f8;min-height:550px;border-radius:15px;display:grid;place-items:center;overflow:hidden}.preview img{max-width:100%;max-height:80vh;object-fit:contain}.preview iframe{width:100%;height:75vh;border:0}.modal-info{padding:45px 20px 20px}.modal-info h2{font-size:30px;margin:12px 0 8px}.modal-info p{color:var(--muted)}#modalMeta{font-size:13px;line-height:2;color:#475467}
@media(max-width:900px){.cert-grid{grid-template-columns:repeat(2,1fr)}.certificate-modal{grid-template-columns:1fr}.preview{min-height:300px}.modal-info{padding:10px 10px 25px}}
@media(max-width:650px){.cert-page{padding:35px 16px 60px}.hero{align-items:start;flex-direction:column}.hero-stat{width:100%}.toolbar{align-items:stretch;flex-direction:column}.search{width:100%}.cert-grid{grid-template-columns:1fr}.cert-card{min-height:330px}}

/* =========================================
   PROFESSIONAL PORTFOLIO NAVBAR
========================================= */

:root {
    --nav-bg: rgba(255, 255, 255, 0.94);
    --nav-border: #eaecf0;
    --nav-text: #344054;
    --nav-muted: #667085;
    --nav-primary: #2563eb;
    --nav-primary-light: #eff6ff;
    --nav-shadow: 0 8px 30px rgba(16, 24, 40, 0.07);
}

.portfolio-navbar {
    height: 76px;
    background: var(--nav-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid rgba(234, 236, 240, .85);
    box-shadow: var(--nav-shadow);
    z-index: 1050;
}

.navbar-inner {
    height: 76px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


/* =========================================
   BRAND
========================================= */

.portfolio-brand {
    display: flex;
    align-items: center;
    gap: 11px;
    text-decoration: none;
    color: #101828;
    min-width: max-content;
}

.brand-icon {
    width: 42px;
    height: 42px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 19px;
    background: linear-gradient(135deg, #2563eb, #4f46e5);
    box-shadow: 0 6px 16px rgba(37, 99, 235, .25);
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1.15;
}

.brand-text strong {
    font-size: 15px;
    font-weight: 750;
    letter-spacing: -.01em;
}

.brand-text span {
    margin-top: 4px;
    color: var(--nav-muted);
    font-size: 11px;
    font-weight: 500;
}


/* =========================================
   DESKTOP NAVIGATION
========================================= */

.desktop-navigation {
    display: flex;
    align-items: center;
    gap: 5px;
    margin-left: auto;
}

.nav-item-btn,
.nav-link-custom {
    height: 44px;
    border: 0;
    background: transparent;
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0 13px;
    border-radius: 10px;
    color: var(--nav-text);
    text-decoration: none;
    font-size: 13px;
    font-weight: 650;
    transition: all .2s ease;
}

.nav-item-btn {
    cursor: pointer;
}

.nav-item-btn:hover,
.nav-link-custom:hover {
    color: var(--nav-primary);
    background: var(--nav-primary-light);
}

.nav-item-icon {
    width: 30px;
    height: 30px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    background: #f2f4f7;
    color: #475467;
    transition: .2s ease;
}

.nav-item-btn:hover .nav-item-icon,
.nav-link-custom:hover .nav-item-icon {
    background: #dbeafe;
    color: var(--nav-primary);
}

.dropdown-arrow {
    font-size: 10px;
    margin-left: 2px;
    transition: transform .2s ease;
}

.nav-item-btn[aria-expanded="true"] .dropdown-arrow {
    transform: rotate(180deg);
}


/* =========================================
   DROPDOWN
========================================= */

.project-dropdown {
    width: 365px;
    padding: 9px;
    margin-top: 10px !important;
    border: 1px solid var(--nav-border);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(16, 24, 40, .14);
    animation: dropdownShow .16s ease;
}

@keyframes dropdownShow {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-heading {
    padding: 10px 12px 13px;
}

.dropdown-heading span {
    display: block;
    color: var(--nav-primary);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .12em;
}

.dropdown-heading small {
    display: block;
    margin-top: 4px;
    color: var(--nav-muted);
    font-size: 11px;
}

.project-item {
    display: flex !important;
    align-items: center;
    gap: 11px;
    padding: 9px !important;
    border-radius: 10px;
    transition: .18s ease;
}

.project-item:hover {
    background: #f8fafc;
    transform: translateX(2px);
}

.project-icon-nav {
    width: 38px;
    height: 38px;
    flex: 0 0 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    background: #eff6ff;
    color: #2563eb;
    font-size: 16px;
}

.youtube-bg {
    background: #fff1f2;
    color: #dc2626;
}

.resume-bg {
    background: #f5f3ff;
    color: #7c3aed;
}

.project-info {
    display: flex;
    flex-direction: column;
    flex: 1;
    min-width: 0;
}

.project-info strong {
    color: #344054;
    font-size: 12px;
    font-weight: 700;
}

.project-info small {
    margin-top: 2px;
    color: #98a2b3;
    font-size: 10px;
}

.project-item > .bi-arrow-up-right {
    color: #98a2b3;
    font-size: 11px;
    opacity: 0;
    transition: .18s ease;
}

.project-item:hover > .bi-arrow-up-right {
    opacity: 1;
    color: var(--nav-primary);
}


/* =========================================
   MOBILE
========================================= */

.mobile-actions {
    display: none;
    align-items: center;
    gap: 5px;
}

.mobile-icon-btn {
    width: 42px;
    height: 42px;
    border: 1px solid #eaecf0;
    background: #fff;
    color: #475467;
    border-radius: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    transition: .2s ease;
}

.mobile-icon-btn:hover {
    color: var(--nav-primary);
    background: var(--nav-primary-light);
    border-color: #bfdbfe;
}

.mobile-project-menu {
    width: min(350px, calc(100vw - 25px));
    max-height: calc(100vh - 95px);
    overflow-y: auto;
    margin-top: 10px !important;
    padding: 8px;
    border: 1px solid var(--nav-border);
    border-radius: 16px;
    box-shadow: 0 20px 55px rgba(16, 24, 40, .16);
}

.mobile-project-menu .dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px;
    border-radius: 10px;
}

.mobile-project-menu .dropdown-item:hover {
    background: #f8fafc;
}

.mobile-project-menu .dropdown-item > span:last-child {
    display: flex;
    flex-direction: column;
}

.mobile-project-menu .dropdown-item strong {
    font-size: 12px;
}

.mobile-project-menu .dropdown-item small {
    color: #98a2b3;
    font-size: 10px;
    margin-top: 2px;
}

.mobile-menu-title {
    padding: 9px 10px 6px;
    color: #98a2b3;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.menu-icon {
    width: 37px;
    height: 37px;
    flex: 0 0 37px;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #eff6ff;
    color: #2563eb;
}

.menu-icon.certification {
    background: #ecfdf3;
    color: #059669;
}

.menu-icon.news {
    background: #fff7ed;
    color: #ea580c;
}

.menu-icon.youtube {
    background: #fff1f2;
    color: #dc2626;
}

.menu-icon.resume {
    background: #f5f3ff;
    color: #7c3aed;
}

.menu-divider {
    height: 1px;
    background: #eaecf0;
    margin: 7px 5px;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 991.98px) {

    .portfolio-navbar {
        height: 68px;
    }

    .navbar-inner {
        height: 68px;
    }

    .desktop-navigation {
        display: none;
    }

    .mobile-actions {
        display: flex;
    }

    .brand-icon {
        width: 39px;
        height: 39px;
        border-radius: 11px;
    }

    .brand-text strong {
        font-size: 14px;
    }

    .brand-text span {
        font-size: 10px;
    }
}


@media (max-width: 480px) {

    .portfolio-navbar .container {
        padding-left: 13px;
        padding-right: 13px;
    }

    .brand-text span {
        display: none;
    }

    .brand-text strong {
        font-size: 13px;
    }

    .mobile-icon-btn {
        width: 39px;
        height: 39px;
    }

    .mobile-project-menu {
        width: calc(100vw - 20px);
    }
}
/*navbar close*/