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

# Replace the Elevation.webp with Shankari-Elevation-2.webp in the hero section only
$content = $content -replace '(<div class="hero-media"[^>]*>\s*<img src=")imgs/Elevation\.webp"', '$1Shankari-Elevation-2.webp"'

[System.IO.File]::WriteAllText("index.html", $content, [System.Text.Encoding]::UTF8)
Write-Host "Updated hero background to Shankari-Elevation-2.webp"
