I am really struggling with weight loss.

I know I need to lose weight. I have a nice hourglass figure, so I can carry my weight well to an extent, but I really do need to lose ideally 25 kg.

I am struggling with how. When I went to the gym, I didn't lose a lot of weight. I am trying to cut out most of the unhealthy food out of my diet and eat fewer meals and snacks every day, but I still seem to be having trouble.