How do I change the link color into this Bootstrap 4 card without affecting the link color of other cards on the same HTML page?
/* I've tried this but it affects all cards on the HTML page: */
.card a:link {
color: white;
}
.card a:visited {
color: white;
}
.card a:hover {
color: white;
text-decoration: none;
}
.card a:active {
color: white;
}
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@4.6.1/dist/css/bootstrap.min.css" integrity="sha384-zCbKRCUGaJDkqS1kPbPd7TveP5iyJE0EjAuZQTgFLD2ylzuqKfdKlfG/eSrtxUkn" crossorigin="anonymous">
<div class="col-md-6">
<div class="card py-4 card-container">
<a href="#">
<div class="card-body">
<i class="fa-light fa-book-open my-4" style="font-size: 36px"></i><br/>
<p class="card-text text-center">CODE SAMPLES</p>
</div>
</a>
</div>
</div>