function cardClicked(event, url) {
    // Don't navigate if the click was on a button or link
    if (event.target.closest('.clickable-button') || event.target.closest('.clickable-link')) {
        return;
    }

    // Navigate to the provider detail page
    window.location.href = url;
}