Why are paragraph styles not applied to Hindi text copy/pasted from a webpage?

I copied a hindi text from a site pasted it into the document. Then I applied Heading1 Style on it, but when I modify the style it doesn’t work.

I found the answer myself. Go to Tools-Options-Language. There turn on Complex text Layout(CTL). Then choose Hindi.
Now when you go to Paragraph Styles, the Font Page will be changed. Now you can adjust font size etc. It works.

Try removing the formatting from the pasted text, prior to applying a paragraph style, as HTML may include formatting that overrides a style.

I’ve already tried that. Thanks for the answer.