// Mount each component into its own root
function mount(id, Comp) {
  const el = document.getElementById(id);
  if (el) ReactDOM.createRoot(el).render(<Comp/>);
}
mount("hero-root", window.Hero);
mount("marquee-root", window.Marquee);
mount("services-root", window.Services);
mount("work-root", window.Work);
mount("manifesto-root", window.Manifesto);
mount("team-root", window.Team);
mount("process-root", window.Process);
mount("clients-root", window.Clients);
mount("testimonials-root", window.Testimonials);
mount("notes-root", window.Notes);
mount("careers-root", window.Careers);
mount("contact-root", window.Contact);
mount("footer-root", window.Footer);
