Every proof seems to go above my head as I'm not thorough with calculus or what is being talked about in this similar question in which the author proves it using complicated terms. As a result I tried proving it on my own.
I think it has to do with triangle inequality. Can we say that any curve joint to the two points other than the straight line as sides of a polygon? Can we say that the sum of the sides of that polygon will always be more than the straight line because of triangle inequality theorem? If we can say that, it is proved much more simply than any other proof I have seen yet.
This is the correct idea, but there's still a lot of leg work to be done to explain why it is the 'shortest distance.' This is because the triangle inequality essentially only deals with straight lines to begin with - the quantities involved in it are norms of vectors, and vectors are essentially straight lines. This means that the triangle inequality proves that among all paths given by straight lines, the single straight line going straight from one point to the other is the best. But how do you know there isn't a really wild and wiggly curve connecting the two points? How do you define the distance along such a curve?
However, analysis furnishes us with tools to improve this proof, that you can look into. For example, if the curve connecting the two points is sufficiently nice (the term 'bounded variation', comes to mind, for example), then one can show that approximating a curve by straight lines more and more finely, and taking the limit, your proof will generalize. There are upgraded versions of the triangle inequality that deal also with integrals, which are also just called the triangle inequality.
Another approach analysis can give us to generalize this idea is in calculus of variations. On this site, there is a linked thread here which discusses this, using the Euler-Lagrange equations.