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

# Meta keywords & SEO titles
$content = $content -replace '(?i)Bangalore airport', 'Kilambakkam Bus Terminus'
$content = $content -replace '(?i)North Bangalore', 'South Chennai'
$content = $content -replace '(?i)Shriram apartments Bangalore', 'Shriram apartments Chennai'
$content = $content -replace '(?i)Near Bangalore Airport', 'Near Kilambakkam Bus Terminus'
$content = $content -replace '(?i)Kempegowda International\s*Airport \(BLR Airport\)', 'Kilambakkam Bus Terminus'
$content = $content -replace '(?i)Kempegowda\s*International Airport', 'Kilambakkam Bus Terminus'
$content = $content -replace '(?i)Kempegowda', 'Kilambakkam'
$content = $content -replace '(?i)Opposite KRN Complex', 'Nellikuppam Road, Perumattunallur'
$content = $content -replace '(?i)KRN Complex', 'Perumattunallur'
$content = $content -replace '(?i)North Chennai', 'South Chennai'
$content = $content -replace '(?i)GST Road \(NH-207\)', 'Nellikuppam Road'
$content = $content -replace '(?i)NH-207', 'GST Road'
$content = $content -replace '(?i)Airport Lifestyle', 'Premium Township Lifestyle'
$content = $content -replace '(?i)Airport Corridor', 'GST Road Corridor'
$content = $content -replace '(?i)airport-corridor', 'GST-corridor'
$content = $content -replace '(?i)excellent connectivity to the airport', 'excellent connectivity to the bus terminus'

# Address Footer specific
$content = $content -replace 'North<br>', 'South Chennai<br>'

# Clean up duplicate 'Chennai' just in case it became South Chennai, Chennai
$content = $content -replace '(?i)South Chennai, Chennai', 'South Chennai'

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