.load-hidden {
    visibility: hidden;
}

html {
    scroll-behavior: smooth;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scrollbar-width: thin;
    scrollbar-color: rgba(157, 0, 255, 0.581) #b806e934;
}

:root {
    --body-bg: #050015;
    --deep-blue: #0B0033;
    --aqua: aqua;
    --pink: #BC13FE;
    --soft-white: rgba(255, 255, 255, 0.78);
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.12);
    --font-main: 'Times New Roman', Times, serif;
    --font-alt: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #050015;
    background-image:
        radial-gradient(circle at 10% 10%, rgba(0, 255, 255, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 90% 10%, rgba(188, 19, 254, 0.2) 0%, transparent 40%),
        radial-gradient(circle at 50% 90%, rgba(0, 81, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 50%, rgba(255, 0, 128, 0.15) 0%, transparent 40%);
    background-attachment: fixed;
    position: relative;
    overflow-x: hidden;
    color: white;
    font-family: var(--font-main);
}

body::after {
    content: "";
    position: fixed;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center,
        rgba(0, 255, 255, 0.08) 0%,
        rgba(122, 92, 255, 0.08) 30%,
        transparent 60%
    );
    animation: crazyMesh 20s infinite alternate linear;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
}

@keyframes crazyMesh {
    0% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(5deg) scale(1.1); }
    100% { transform: rotate(-5deg) scale(1); }
}


::selection {
    background: rgba(0, 255, 255, 0.25);
    color: white;
}

.readmore-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 76px;
    padding: 12px 60px;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(5, 0, 21, 0.38);
    backdrop-filter: blur(16px) saturate(160%);
    -webkit-backdrop-filter: blur(16px) saturate(160%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-logo {
    color: white;
    font-family: var(--font-main);
    font-size: 28px;
    font-weight: 800;
    text-decoration: none;
    letter-spacing: 2px;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.6), 2px 2px 5px rgba(0, 0, 0, 1);
}

.readmore-nav {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
}

.readmore-nav a,
.back-home-btn {
    min-width: 80px;
    height: 36px;
    padding: 0 16px;
    border-radius: 999px;
    border: 1.5px solid rgba(255, 255, 255, 0.88);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-family: var(--font-main);
    font-size: 17px;
    text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
    transition: 0.3s ease;
}

.readmore-nav a:first-child,
.back-home-btn {
    color: var(--deep-blue);
    background: white;
    font-weight: 700;
}

.readmore-nav a:hover,
.back-home-btn:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.35), 0 0 20px rgba(188, 19, 254, 0.18);
    background: rgb(20, 38, 157);
    color: white;
}

main {
    width: 100%;
    overflow: visible;
}

.readmore-hero {
    min-height: 100vh;
    padding: 150px 60px 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-orb {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(85px);
    opacity: 0.35;
    pointer-events: none;
}

.hero-orb-one {
    left: 7%;
    top: 24%;
    background: aqua;
}

.hero-orb-two {
    right: 6%;
    bottom: 14%;
    background: #BC13FE;
}

.page-kicker {
    color: var(--aqua);
    font-family: var(--font-alt);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 4px;
    text-transform: uppercase;
    text-shadow: 0 0 14px rgba(0, 255, 255, 0.28);
    margin-bottom: 18px;
}

.readmore-hero h1 {
    width: min(1040px, 94vw);
    color: white;
    font-family: Impact, Haettenschweiler, 'Arial Narrow Bold', sans-serif;
    font-size: clamp(62px, 10vw, 150px);
    line-height: 0.88;
    letter-spacing: 5px;
    text-transform: uppercase;
    text-shadow: 0 0 22px rgba(0, 255, 255, 0.22), 0 0 45px rgba(188, 19, 254, 0.18);
}

.readmore-hero h1 span,
.section-heading h2 span {
    display: block;
    background: linear-gradient(90deg, #ffffff, #00eaff, #b28cff, #ffffff);
    background-size: 220%;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: textFlow 5s linear infinite;
}

@keyframes textFlow {
    from { background-position: 0%; }
    to { background-position: 220%; }
}

.hero-text {
    width: min(760px, 92vw);
    margin: 30px auto 0;
    color: var(--soft-white);
    font-size: 20px;
    line-height: 1.8;
    font-family: var(--font-main);
}

.hero-actions {
    margin-top: 38px;
    display: flex;
    justify-content: center;
    gap: 18px;
    flex-wrap: wrap;
}

.primary-glow-btn,
.secondary-glow-btn {
    min-width: 180px;
    height: 54px;
    border-radius: 999px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 18px;
    font-weight: 800;
    font-family: var(--font-main);
    transition: 0.3s ease;
}

.primary-glow-btn {
    color: #050015;
    background: linear-gradient(135deg, #ea00ff, #05a8e3);
    box-shadow: 0 0 28px rgba(0, 255, 255, 0.28);
}

.secondary-glow-btn {
    color: white;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.16);
    backdrop-filter: blur(10px);
}

.primary-glow-btn:hover,
.secondary-glow-btn:hover {
    transform: translateY(-6px);
    box-shadow: 0 0 24px rgba(0, 255, 255, 0.28), 0 0 34px rgba(188, 19, 254, 0.16);
}

.summary-grid {
    width: min(1380px, calc(100% - 120px));
    margin: 0 auto 120px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.summary-card,
.journey-item,
.next-step-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(14px) saturate(170%);
    -webkit-backdrop-filter: blur(14px) saturate(170%);
    border: 1px solid rgba(0, 255, 255, 0.16);
    border-radius: 28px;
    box-shadow:
        0 8px 32px rgba(0, 0, 0, 0.75),
        inset 0 0 25px rgba(0, 255, 255, 0.08),
        0 0 35px rgba(188, 19, 254, 0.12);
}

.summary-card {
    min-height: 260px;
    padding: 34px;
    position: relative;
    overflow: hidden;
    transition: 0.35s ease;
}

.summary-card::before,
.certificate-card::before,
.next-step-card::before {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    right: -40px;
    top: -40px;
    background: rgba(0, 255, 255, 0.13);
    border-radius: 50%;
    filter: blur(24px);
}

.summary-card span {
    color: aqua;
    font-size: 42px;
    font-weight: 900;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.45);
}

.summary-card h2 {
    color: white;
    font-family: var(--font-alt);
    font-size: 30px;
    margin: 22px 0 14px;
}

.summary-card p,
.journey-item p,
.next-step-card p,
.certificate-left p,
.certificate-intro-text {
    color: var(--soft-white);
    font-size: 17px;
    line-height: 1.7;
}

.summary-card:hover,
.certificate-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 255, 255, 0.55);
    box-shadow: 0 0 18px rgba(0, 255, 255, 0.25), 0 0 25px rgba(188, 19, 254, 0.22), inset 0 0 18px rgba(0, 255, 255, 0.12);
}

.journey-section,
.certificate-intro,
.next-step-section {
    width: min(1320px, calc(100% - 120px));
    margin: 0 auto 120px;
}

.section-heading {
    text-align: center;
    margin-bottom: 46px;
}

.section-heading p {
    color: var(--aqua);
    font-size: 15px;
    font-weight: 900;
    letter-spacing: 4px;
    margin-bottom: 12px;
    font-family: var(--font-alt);
}

.section-heading h2,
.certificate-left h2,
.next-step-card h2 {
    color: white;
    font-family: var(--font-alt);
    font-size: clamp(38px, 5vw, 62px);
    line-height: 1.05;
    text-shadow: 0 0 16px rgba(0, 255, 255, 0.14);
}

.journey-wrapper {
    position: relative;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

.journey-line {
    position: absolute;
    top: 28px;
    left: 10%;
    right: 10%;
    height: 2px;
    background: linear-gradient(90deg, transparent, aqua, #BC13FE, transparent);
    box-shadow: 0 0 16px rgba(0, 255, 255, 0.35);
}

.journey-item {
    position: relative;
    min-height: 250px;
    padding: 52px 28px 30px;
    transition: 0.35s ease;
}

.journey-dot {
    position: absolute;
    top: 18px;
    left: 28px;
    width: 20px;
    height: 20px;
    background: aqua;
    border-radius: 50%;
    box-shadow: 0 0 18px aqua;
}

.journey-item h3 {
    color: aqua;
    font-size: 27px;
    font-family: var(--font-alt);
    margin-bottom: 14px;
}

.certificate-intro {
    text-align: center;
    margin-bottom: 30px;
}

.certificate-intro-text {
    width: min(760px, 92vw);
    margin: -24px auto 0;
}

.certificate-scroll-section {
    position: relative;
    width: 100%;
    height: calc(100vh + var(--certificate-scroll-distance, 0px));
    min-height: 100vh;
    margin-bottom: clamp(70px, 8vw, 120px);
}

.certificate-sticky {
    position: sticky;
    top: 0;
    height: 100vh;
    min-height: 100vh;
    padding: 92px 60px 54px;
    display: grid;
    grid-template-columns: 0.82fr 1.18fr;
    align-items: center;
    gap: 52px;
    overflow: hidden;
}

.certificate-left {
    max-width: 540px;
    z-index: 2;
}

.certificate-left h2 {
    margin-bottom: 24px;
}

.certificate-progress-box {
    margin-top: 38px;
    padding: 22px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.055);
    border: 1px solid rgba(255, 255, 255, 0.12);
    box-shadow: inset 0 0 18px rgba(0, 255, 255, 0.08);
}

#certificateProgressText {
    display: block;
    color: aqua;
    font-size: 22px;
    font-weight: 900;
    margin-bottom: 14px;
}

.certificate-progress-track {
    width: 100%;
    height: 9px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    overflow: hidden;
}

.certificate-progress-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, aqua, #BC13FE);
    box-shadow: 0 0 14px rgba(0, 255, 255, 0.45);
    transition: width 0.1s linear;
}

.certificate-stage {
    position: relative;
    height: min(72vh, 640px);
    min-height: 560px;
    overflow: hidden;
    overscroll-behavior: contain;
    padding: 14px;
    border-radius: 34px;
    background: rgba(255, 255, 255, 0.035);
    border: 1px solid rgba(255, 255, 255, 0.10);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.55), inset 0 0 22px rgba(0, 255, 255, 0.06);
}

.certificate-stage::before,
.certificate-stage::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 120px;
    z-index: 5;
    pointer-events: none;
}

.certificate-stage::before {
    top: 0;
    background: linear-gradient(to bottom, rgba(5, 0, 21, 0.98), transparent);
}

.certificate-stage::after {
    bottom: 0;
    background: linear-gradient(to top, rgba(5, 0, 21, 0.98), transparent);
}

.certificate-track {
    display: flex;
    flex-direction: column;
    gap: 34px;
    padding: 20px;
    will-change: transform;
    transition: transform 0.08s linear;
}

.certificate-card {
    position: relative;
    min-height: 390px;
    padding: 28px;
    border-radius: 30px;
    overflow: hidden;
    background:
        radial-gradient(circle at 20% 15%, rgba(0, 255, 255, 0.18), transparent 28%),
        radial-gradient(circle at 88% 20%, rgba(188, 19, 254, 0.18), transparent 30%),
        linear-gradient(145deg, rgba(8, 18, 54, 0.96), rgba(22, 10, 62, 0.94));
    border: 1.5px solid rgba(130, 170, 255, 0.75);
    box-shadow:
        inset 0 2px 1px rgba(255, 255, 255, 0.18),
        inset 0 -12px 18px rgba(0, 0, 0, 0.28),
        0 0 18px rgba(0, 132, 255, 0.22),
        0 0 24px rgba(153, 0, 255, 0.18);
    transition: 0.35s ease;
}

.certificate-card::after {
    content: "ZA";
    position: absolute;
    right: 26px;
    bottom: 22px;
    width: 86px;
    height: 86px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(5, 0, 21, 0.95);
    font-size: 26px;
    font-weight: 900;
    background: linear-gradient(135deg, aqua, #BC13FE);
    box-shadow: 0 0 24px rgba(0, 255, 255, 0.35);
}

.cert-topbar{
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
}

.cert-topbar span{
    color: rgba(255, 255, 255, 0.64);
    font-size: 14px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.cert-body {
    position: relative;
    z-index: 2;
    padding: 34px 0 20px;
}

.cert-image-frame {
    width: 100%;
    height: 260px;
    border-radius: 22px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.cert-pic {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    display: block;
    padding: 10px;
}

.cert-small-title {
    color: aqua;
    font-size: 17px;
    font-weight: 800;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
}

.next-step-section {
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.next-step-card {
    width: min(920px, 100%);
    padding: 56px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.next-step-card h2 {
    margin-bottom: 22px;
}

.section-reveal {
    opacity: 0;
    transform: translateY(35px);
    transition: opacity 0.75s ease, transform 0.75s ease;
}

.section-reveal.show {
    opacity: 1;
    transform: translateY(0);
}

@media (max-width: 1180px) {
    .readmore-header {
        padding: 12px 28px;
    }

    .readmore-nav {
        gap: 9px;
    }

    .readmore-nav a {
        min-width: auto;
        padding: 0 12px;
        font-size: 15px;
    }

    .summary-grid,
    .journey-wrapper {
        grid-template-columns: 1fr;
    }

    .journey-line {
        display: none;
    }

    .certificate-sticky {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 96px 34px 44px;
    }

    .certificate-left {
        max-width: 100%;
        text-align: center;
    }

    .certificate-stage {
        height: 62vh;
        min-height: 520px;
    }
}

@media (max-width: 820px) {
    .readmore-header {
        height: auto;
        min-height: 78px;
        flex-wrap: wrap;
        gap: 12px;
        justify-content: center;
        padding: 14px 18px;
    }

    .brand-logo {
        width: 100%;
        text-align: center;
    }

    .readmore-nav {
        width: 100%;
        overflow-x: auto;
        justify-content: flex-start;
        padding-bottom: 4px;
    }

    .back-home-btn {
        display: none;
    }

    .readmore-hero {
        padding: 170px 22px 70px;
    }

    .hero-text {
        font-size: 17px;
    }

    .summary-grid,
    .journey-section,
    .certificate-intro,
    .next-step-section {
        width: min(100% - 34px, 720px);
        margin-bottom: 80px;
    }

    .summary-card,
    .journey-item,
    .next-step-card {
        padding: 26px;
    }

    .certificate-scroll-section {
        height: auto !important;
        min-height: auto !important;
        width: min(100% - 24px, 720px);
        margin: 0 auto 80px;
    }

    .certificate-sticky {
        position: relative;
        top: auto;
        min-height: auto;
        padding: 0;
        display: block;
        overflow: visible;
    }

    .certificate-left {
        margin-bottom: 28px;
    }

    .certificate-stage {
        height: auto;
        min-height: 0;
        overflow: visible;
        padding: 0;
        background: transparent;
        border: none;
        box-shadow: none;
    }

    .certificate-stage::before,
    .certificate-stage::after {
        display: none;
    }

    .certificate-track {
        transform: none !important;
        padding: 0;
    }

    .certificate-card {
        min-height: auto;
        padding: 24px;
    }

    .cert-body {
        padding: 44px 0 38px;
    }

    .cert-footer {
        align-items: flex-start;
        flex-direction: column;
    }

    .cert-footer strong {
        padding-right: 0;
    }

    .certificate-card::after {
        width: 64px;
        height: 64px;
        font-size: 20px;
    }
}

@media (max-width: 520px) {
    .readmore-nav a {
        height: 34px;
        font-size: 14px;
        padding: 0 11px;
    }

    .readmore-hero h1 {
        letter-spacing: 2px;
    }

    .page-kicker,
    .section-heading p {
        font-size: 12px;
        letter-spacing: 2.5px;
    }

    .primary-glow-btn,
    .secondary-glow-btn {
        width: 100%;
    }

    .cert-topbar {
        align-items: flex-start;
        flex-direction: column;
    }

    .cert-body h3 {
        font-size: 33px;
    }

    .certificate-progress-box {
        padding: 18px;
    }
}


/* =========================================================
   FINAL MOBILE FIXES - certificate overlap, loader, dots
   Paste kept at the end so it safely overrides older rules.
   ========================================================= */

.readmore-nav a,
.back-home-btn {
    flex: 0 0 auto;
    min-width: 80px;
    height: 36px;
    padding: 0 16px;
    line-height: 1;
}

@media (max-width: 820px) {
    .certificate-scroll-section {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        margin-bottom: clamp(70px, 10vw, 95px) !important;
    }

    .certificate-sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
        display: block !important;
    }

    .certificate-stage {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        overscroll-behavior: auto !important;
    }

    .certificate-track {
        transform: none !important;
        transition: none !important;
    }

    .next-step-section {
        position: relative;
        z-index: 1;
        margin-top: 0 !important;
    }

    .journey-item {
        padding: 86px 26px 30px !important;
    }

    .journey-dot {
        top: 28px !important;
        left: 28px !important;
        width: 20px !important;
        height: 20px !important;
        z-index: 3;
    }

    .journey-item h3,
    .journey-item p {
        position: relative;
        z-index: 2;
    }
}

@media (max-width: 520px) {
    .readmore-nav a,
    .back-home-btn {
        flex: 0 0 auto;
        min-width: 80px;
        height: 34px;
        padding: 0 11px;
    }

    .journey-item {
        padding: 82px 24px 28px !important;
    }

    .journey-dot {
        width: 18px !important;
        height: 18px !important;
    }
}

/* =========================================================
   CLEAN CERTIFICATE CARD DESIGN
   Only top header + certificate image
   ========================================================= */

.certificate-card {
    min-height: 470px;
    padding: 18px;
    border-radius: 30px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    overflow: hidden;
}

.certificate-card::after {
    display: none !important;
}

.certificate-card::before {
    display: none !important;
}

.cert-topbar {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 2;
    padding: 0 4px;
}

.cert-topbar span {
    color: rgba(255, 255, 255, 0.78);
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.4px;
    text-transform: uppercase;
}

.cert-body {
    flex: 1;
    width: 100%;
    padding: 0 !important;
    border-radius: 22px;
    overflow: hidden;
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cert-pic {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: contain;
    object-position: center;
    border-radius: inherit;
}

.cert-small-title,
.cert-issued,
.cert-skills,
.cert-footer {
    display: none !important;
}

/* =========================================================
   MOBILE CERTIFICATE COMPACT FIX
   Removes extra empty space around certificate images
   ========================================================= */

@media (max-width: 820px) {
    .certificate-track {
        gap: 22px !important;
    }

    .certificate-card {
        min-height: 0 !important;
        height: auto !important;
        padding: 12px !important;
        gap: 10px !important;
        border-radius: 22px !important;
    }

    .cert-topbar {
        flex-direction: row !important;
        justify-content: space-between !important;
        align-items: center !important;
        padding: 0 6px 2px !important;
    }

    .cert-topbar span {
        font-size: 11px !important;
        letter-spacing: 1.2px !important;
    }

    .cert-body {
        flex: 0 0 auto !important;
        width: 100% !important;
        height: auto !important;
        min-height: 0 !important;
        padding: 0 !important;
        border-radius: 16px !important;
    }

    .cert-pic {
        width: 100% !important;
        height: auto !important;
        display: block !important;
        object-fit: contain !important;
        border-radius: inherit !important;
    }
}

@media (max-width: 520px) {
    .certificate-card {
        padding: 10px !important;
        gap: 9px !important;
        border-radius: 20px !important;
    }

    .cert-body {
        border-radius: 14px !important;
    }

    .cert-topbar span {
        font-size: 10px !important;
    }
}


/* =========================================================
   FINAL LAPTOP FIX: certificate sticky + next step overlap
   Paste at the VERY END of readmore.css
   ========================================================= */

/* protect readmore headings from global style.css h2 rules */
.readmore-header h2,
.section-heading h2,
.certificate-left h2,
.next-step-card h2 {
    position: static !important;
    left: auto !important;
    right: auto !important;
    top: auto !important;
    bottom: auto !important;
    transform: none !important;
}

/* Desktop / normal laptop sticky fix */
@media (min-width: 1181px) {
    .certificate-scroll-section {
        position: relative !important;
        z-index: 2 !important;
        overflow: visible !important;

        height: calc(100vh + var(--certificate-scroll-distance, 0px)) !important;
        min-height: calc(100vh + 560px) !important;

        margin-bottom: clamp(110px, 10vh, 170px) !important;
    }

    .certificate-sticky {
        position: sticky !important;
        top: 0 !important;
        height: 100vh !important;
        min-height: 100vh !important;
        overflow: visible !important;
        z-index: 5 !important;
    }

    .certificate-left,
    .certificate-progress-box,
    .certificate-stage {
        position: relative !important;
        z-index: 6 !important;
    }

    .certificate-stage {
        overflow: hidden !important;
    }

    .next-step-section {
        position: relative !important;
        z-index: 1 !important;
        margin-top: 0 !important;
    }
}

/* Small laptops / large tablets: disable sticky clipping safely */
@media (min-width: 821px) and (max-width: 1180px) {
    .certificate-scroll-section {
        width: min(100% - 56px, 900px) !important;
        height: auto !important;
        min-height: auto !important;
        margin: 0 auto 120px !important;
        overflow: visible !important;
        position: relative !important;
        z-index: 2 !important;
    }

    .certificate-sticky {
        position: relative !important;
        top: auto !important;
        height: auto !important;
        min-height: auto !important;
        padding: 96px 34px 44px !important;
        display: grid !important;
        grid-template-columns: 1fr !important;
        gap: 30px !important;
        overflow: visible !important;
        z-index: 5 !important;
    }

    .certificate-stage {
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
        overscroll-behavior: auto !important;
        padding: 0 !important;
        background: transparent !important;
        border: none !important;
        box-shadow: none !important;
    }

    .certificate-stage::before,
    .certificate-stage::after {
        display: none !important;
    }

    .certificate-track {
        transform: none !important;
        transition: none !important;
        padding: 0 !important;
    }

    .certificate-card {
        min-height: 0 !important;
        height: auto !important;
    }

    .cert-body {
        flex: 0 0 auto !important;
        height: auto !important;
        min-height: 0 !important;
    }

    .cert-pic {
        height: auto !important;
    }

    .next-step-section {
        position: relative !important;
        z-index: 1 !important;
        margin-top: 0 !important;
    }
}