A family of Microsoft word processing software products for creating web, email, and print documents.
Footers are tied to Sections, not pages (other than the First Page Header or Footer, which is tied to the first page of a Section.
Page 25 may be the start of a Section in your document.