Melissa Joan Hart looks more stunning than ever!

The 40-year-old actress flaunted her impressive, 40-pound weight loss in two 4th of July-themed swimsuits in a new Nutrisystem photoshoot — and she looks absolutely amazing in the pics!

melissa joan hart nutrisystem
Nutrisystem

“I remember a few years ago after having [my youngest son], Tucker, I just wasn’t feeling like my best self. And I certainly couldn’t imagine sharing swimsuit photos so freely! I needed to make a change. That’s when I started Nutrisystem. Since then, everything has been different. I eat healthier, I make smarter choices and I love my body again. It’s the most amazing feeling in the world,” the proud mom-of-three in a statement.

RELATED: Melissa Joan Hart Gets Candid About Parenting — See What She Surprisingly Revealed!

“I recently turned 40. And I have to say 40 is better than 20. You have a little bit of wisdom, more self-confidence and a little bit of I don’t give a crap,” Melissa added.