you can add a parameter with a new rewrite rule like that :
add_action("init", function () {
add_rewrite_tag("%countryName%", "([^&]+)");
add_rewrite_rule(
"^company/([^/]*)/country/([^/]*)/?"
, 'index.php?company=$matches[1]&countryName=$matches[2]'
, "top"
);
});
After adding this code, flush the rewrite rules of WordPress.
Then you can use URL like http://example.com/company/company-abc/country/UK
And then in the template, you retrieve the parameter with get_query_var("countryName", NULL)