/* 
 * Scroll Fix for Anchor Links
 * This CSS adds space above sections when scrolling to them via anchor links
 */

html {
  scroll-padding-top: 120px; /* Adds padding to all anchor navigation */
  scroll-behavior: smooth; /* Makes scrolling smooth */
}

/* Apply scroll margin to section elements with IDs */
div[id].section-column {
  scroll-margin-top: 120px; /* Creates space above the section when scrolled to */
}

/* For older browsers that don't support scroll-margin */
div[id].section-column {
  padding-top: 40px;
  margin-top: -40px;
} 