I am so scared. Please help me out!

This is my first post here and I wish had something positive to add here but guess not.

I’m 22(M) and for the majority of my life, I’ve been restricted to date because I come from a very conservative family. So, naturally I don’t have any experience with women. Only women I’ve interacted with are my sister, cousins and girls who think of me as their brother in college or schools.

Anyways, I’ve not told this to anybody in my family or even my closest friends. But, on Monday something happened.

There is this girl who works at a company just close to me. And she’s breathtakingly beautiful and looked so kind and adorable. She’s 24 and I figured I asked my friend Viraj (not real name) who works at the company to just find out if she’s in a relationship or not (she doesn’t know that he’s my friend) since I didn’t want to interfere with someone’s who already in a relationship. Viraj confirmed that she’s single.

Few days later, as my lunch break was at the end, I introduced myself (It took all the courage I had, but played it cool). She at first took it well and said her name is Meera (not real name). And before she had to go, I told her that she look nice in the dress (they had a company event or something). She looked offended/confused and slightly scoffed at me and didn’t say anything. It was so awkward. So, I went back to my office and completed my work. 3 days later, This Monday… I was on my lunch break outside, drinking a cold drink and someone tapped my shoulder and I looked back to find 4-5 guys. All suddenly grabbing my shoulder and collar/arms. They kept saying I harassed a girl. “Ladki ko chhedta hain C(the Hindi C word)”, I remember being so confused and didn’t have the time to react and they started abusing me and 2 of them slapped and punched me. My nose started bleeding, lip was swollen and the shopkeeper broke up the fight and I ran away. There were few people gathering. My bag was at the office, I didn’t care for it. Just ran and took a taxi home. Called office, thankfully HR is my brother’s childhood best friend so, he understood.

For the past 2 days, I’ve been having panic attacks. I’ve been crying. I haven’t done a video call to my parents otherwise they’ll know. I’m shit scared going to work. Took days off and currently recovering. I’ve never even thought about approaching a woman let alone complimenting her. It took me years just to talk to someone. I wanted to tell her face-to-face that I’m sorry if I indirectly made her uncomfortable. What should I do??

Everyone, did I do something wrong? How could I approach this differently? Please help me out. And to ladies, how would you like a guy to approach you or compliment you? I mean I know everyone reacts differently but I certainly didn’t expect calling someone looking nice would end up with swollen lip, and injured nose…