Struggling to achieve perfect center alignment of an HTML element using the Bootstrap grid framework. Here's the current code:
<div id="rentals" class="container pb-4">
<div class="row pt-5 mt-5 mb-4">
<div class="col text-center appear-animation" data-appear-animation="fadeInUpShorter">
<h2 class="font-weight-bold mb-1">Container Rentals</h2>
<p>Here are the containers we rent</p>
</div>
</div>
<div class="pricing-table mb-4">
<div class="col-md-4"></div>
<div class="col-md-4">
<div class="plan">
<div class="plan-header">
<h3>Short Term (6-12 Months)</h3>
</div>
<div class="plan-price">
<span class="price"><span class="price-unit">$</span>99</span>
<label class="price-label">per month</label>
<label class="price-label">Minimum 6 months contract upfront</label>
<label class="price-label">Additional delivery cost (charged for round trip) upfront</label>
</div>
<div class="plan-features">
<ul>
<li>20’ Standard Shipping Container</li>
<li>One Trip Condition</li>
<li>14 Gauge Steel Walls</li>
<li>Wood Floors</li>
<li>Lockable Cargo Double Doors</li>
</ul>
</div>
<div class="plan-footer">
<a href="#" class="btn btn-dark btn-modern btn-outline py-2 px-4">Apply Now</a>
</div>
</div>
</div>
<div class="col-md-4">
<div class="plan">
<div class="plan-header">
<h3>Long Term (12+ Months)</h3>
</div>
<div class="plan-price">
<span class="price"><span class="price-unit">$</span>89</span>
<label class="price-label">per month</label>
<label class="price-label">Minimum 12 months contract upfront</label>
<label class="price-label">Additional delivery cost (charged for round trip) upfront</label>
</div>
<div class="plan-features">
<ul>
<li>20’ Standard Shipping Container</li>
<li>One Trip Condition</li>
<li>14 Gauge Steel Walls</li>
<li>Wood Floors</li>
<li>Lockable Cargo Double Doors</li>
</ul>
</div>
<div class="plan-footer">
<a href="#" class="btn btn-dark btn-modern btn-outline py-2 px-4">Apply Now</a>
</div>
</div>
</div>
<div class="col-md-4"></div>
</div>
</div>
The current layout is depicted below:
https://i.sstatic.net/h8D2t.png
In this illustration, you'll notice that the first box is centered perfectly while the second one is not. How can I achieve proper centering using the Bootstrap grid system?