       &lt;li class=&quot;nav-item&quot;&gt;
            &lt;a class=&quot;nav-link fw-normal&quot; href=&quot;#item-3-2&quot;&gt;Item 3-2&lt;/a&gt;
          &lt;/li&gt;
        &lt;/ul&gt;
      &lt;/nav&gt;
    &lt;/div&gt;
  &lt;/div&gt;

  &lt;!-- Scrollable container with anchors --&gt;
  &lt;div class=&quot;col-md-9 pt-4 pt-md-0&quot;&gt;
    &lt;div class=&quot;overflow-auto pe-2 px-md-3&quot; data-bs-spy=&quot;scroll&quot; data-bs-target=&quot;#scrollspyNestedNav&quot;  data-bs-root-margin=&quot;0p