; and (2) that projects funded under the grant program accomplish 1 or more of the purposes described in section 3(d). (d) Cost sharing (1) Federal share (A) In general Except as provided in subparagraph (B), the Federal share of the cost of a project funded under the grant program shall not exceed 75 percent of the total cost of the project, as determined by the Secretary. (B) Environmental Justice communities (i) In general Subject to clause (ii), the Federal share of the cost of a project funded under the grant program that serves an environmental justice community shall be 90 percent of the total cost of the project, as determined by the Secretary. (ii) Waiver The Secretary may increase the Federal share under clause (i) to 100 percent of the total cost of the project if the Secretary determines that the grant recipient is unable to pay, or would experience significant financial hardship if required to pay, the non-Federal share. (2) Non-Federal share The non-Federal share of the cost of a project funded under the grant program may be provided in cash or in the form of an in-kind contribution of services, materials, or land value. (e) Administration (1) In general The Secretary may enter into an agreement to manage the grant program with the Foundation or a similar organization that offers grant management services. (2) Funding If the Secretary enters into an agreement under paragraph (1), the Foundation or similar organization selected shall— (A) for each fiscal year in which the grant program is carried out, receive amounts made available to carry out this section for that fiscal year in an advance payment of the entire amounts on October 1 of that fiscal year, or as soon as practicable thereafter; (B) invest and reinvest those amounts for the benefit of the grant program