$content = [System.IO.File]::ReadAllText("index.html", [System.Text.Encoding]::UTF8)

# 1. Badge
$content = $content -replace 'Phase 1 – Ready to Occupy &nbsp;\|&nbsp; Phase 2 – Pre-Launch', 'Fully RERA Registered &nbsp;|&nbsp; Ready to Move In'

# 2. H1
$content = $content -replace 'Shriram<br>\s*Shriram Shankari', 'Shriram Shankari<br>'

# 3. Tagline
$content = $content -replace '"Minutes From The World, Miles From The Stress"', '"A Classy Gated Community with Lake-Facing Homes"'

# 4. Intro
$content = $content -replace 'An 36-acre integrated township by Shriram Properties Limited in Guduvanchery, South Chennai —\s*just minutes from Kilambakkam Bus Terminus\. 1,000\+ thoughtfully designed apartments with 70%\s*open space, 2 grand clubhouses, and 50\+ lifestyle amenities\.', 'Welcome to a picture-perfect lifestyle in the residential heart of Guduvanchery. An expansive 36-acre township offering extra-spacious 2 & 3 BHK lake-facing apartments with 70% open space, 50+ amenities, and a vibrant community of 1000+ families.'

# 5. Info Boxes
$content = $content -replace '1, 2 &amp; 3 BHK', '2 &amp; 3 BHK'

# 6. RERA Box
$content = $content -replace 'Phase 1: PRM/KA/RERA/1250/303/PR/171023/001749<br>\s*Phase 2: PRM/KA/RERA/1250/303/PR/280225/007529', 'Fully RERA Registered under TN RERA'

# 7. Hero Image
$content = $content -replace 'Shriram Shankari \(Codename The View\) Entrance\.jpg', 'The-view-Slider-banner.webp'

# 8. Dropdown form options in the hero form
$content = $content -replace '<option>1 BHK – 658 Sq\.ft</option>', '<option>2 BHK – 955 to 1,100 Sq.ft</option>'
$content = $content -replace '<option>2 BHK – 997 to 1180 Sq\.ft</option>', '<option>2.5 BHK – 1,100 Sq.ft</option>'
$content = $content -replace '<option>3 BHK – 1270 to 1498 Sq\.ft</option>', '<option>3 BHK – 1,180 to 1,490 Sq.ft</option>'


[System.IO.File]::WriteAllText("index.html", $content, [System.Text.Encoding]::UTF8)
