I see, in that case, you can use the col- classes for extra small devices (col-6), and set a fixed width for the cards using CSS to ensure that they don't take up more than one-third of the container width. Here's an example:
HTML:
<div class="row center-block mt-2">
<div class="col-sm-4 col-6 position-relative">
<div class="card card-styling text-bg-light mb-2">
<div class="card-body">
<span class="card-title fs-5"><strong>121.09 Cr</strong></span>
<p class="card-text">Total Population</p>
</div>
</div>
</div>
<div class="col-sm-4 col-6 position-relative">
<div class="card card-styling text-bg-light mb-2">
<div class="card-body">
<span class="card-title fs-5"><strong>62.33 Cr</strong></span>
<p class="card-text">Male Population</p>
</div>
</div>
</div>
<div class="col-sm-4 col-6 position-relative">
<div class="card card-styling text-bg-light mb-2">
<div class="card-body">
<span class="card-title fs-5"><strong>58.76 Cr</strong></span>
<p class="card-text">Female Population</p>
</div>
</div>
</div>
</div>
CSS:
.card-styling {
width: 100%;
max-width: 31%; /* 100% / 3 - 2% margin */
}
@media (max-width: 575.98px) {
.card-styling {
max-width: 47%; /* 100% / 2 - 2% margin */
}
}
In this example, the card-styling class is added to the cards, and a fixed width is set to 31% for extra small screens and below. On screens smaller than 576px wide, the width is changed to 47% to allow the cards to stack vertically. You can adjust the width percentages as needed.