 :root {
        --oct-magenta: #96147C;
        --oct-purple: #6a11cb;
        --oct-pink: #e052a0;
    }

    .seamless-border-heading {
        position: relative;
        display: inline-block;
        font-family: 'Bricolage Grotesque', sans-serif;
        font-weight: 800;
        font-size: 3rem;
        padding-bottom: 25px;
        color: #000;
    }

    /* --- Border Window (Mask) --- */
    .oct-border-mask {
        position: absolute;
        bottom: 0;
        left: 0;
        width: 150px; /* Visible area width */
        height: 4px;
        overflow: hidden; /* Bahar wala set nazar nahi aayega */
        mask-image: linear-gradient(to right, black 80%, transparent 100%); /* Halka sa edge fade */
    }

    /* --- The Moving Strip --- */
    .oct-border-strip {
        display: flex;
        align-items: center;
        width: max-content; /* Content ke hisab se width */
        animation: seamlessMarch 4s linear infinite;
    }

    /* --- Pattern Component --- */
    .oct-pattern-set {
        display: flex;
        align-items: center;
        flex-shrink: 0;
        padding-right: 20px; /* Gap before the next set repeats */
    }

    .main-line {
        width: 80px;
        height: 4px;
        border-radius: 10px;
        background: linear-gradient(to right, var(--oct-pink), var(--oct-magenta), var(--oct-purple));
        flex-shrink: 0;
    }

    .small-dash {
        width: 15px;
        height: 4px;
        background-color: var(--oct-purple);
        border-radius: 10px;
        margin-left: 10px;
        opacity: 0.7;
        flex-shrink: 0;
    }

    .tiny-dash {
        width: 8px;
        height: 4px;
        background-color: var(--oct-purple);
        border-radius: 10px;
        margin-left: 10px;
        opacity: 0.4;
        flex-shrink: 0;
    }

    /* --- Animation Reset Logic --- 
       Pehle Set ki width (80+10+15+10+8+20 = 143px approx) move hone par reset hoga.
    */
    @keyframes seamlessMarch {
        0% { transform: translateX(0); }
        100% { transform: translateX(-50%); } /* Exactly half move hone par loop repeat hoga */
    }
    @media (max-width: 768px) {
    .seamless-border-heading {
        display: block;      /* full width le lega */
        text-align: left;    /* text left ho jayega */
        margin-left: 0;
    }
}
