My implementation of accordion collapse in Bootstrap 4 is functional, but lacks smoothness. Can anyone offer suggestions on how to improve this? I have attempted to nest divs inside each other, but it has not yielded the desired outcome. Below is the code snippet. Thank you!
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/css/bootstrap.min.css">
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.4.1/jquery.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.16.0/umd/popper.min.js"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.4.1/js/bootstrap.min.js"></script>
<section>
<div class="container-fluid bg-light ">
<div id="accordion">
<div class="text-center pt-5 pb-4 mt-5 pt-4">
<h2 id="price">Our prices</h2>
<p> Lorem ipsum dolor, sit amet consectetur adipisicing.</p>
</div>
<div id="myGroup" class="d-flex align-items-center pt-4 justify-content-center flex-md-row flex-wrap">
<div class="d-flex flex-column col-md-4 col-lg-3 ">
<a href="#classy" data-toggle="collapse" aria-controls="classy" id="button" class="btn btn-outline-warning btn-lg mb-3" aria-expanded="true">Classy</a>
<a href="#casual" data-toggle="collapse" aria-controls="casual" id="button" class="btn btn-outline-warning btn-lg mb-3 collapsed" aria-expanded="false">Casual</a>
<a href="#jackets" data-toggle="collapse" aria-controls="jackets" id="button" class="btn btn-outline-warning btn-lg mb-3 collapsed" aria-expanded="false">Jacket</a>
</div>
<div id="classy" class="collapse show card col-md-4 col-lg-3 px-0 ml-4 my-5 " data-parent="#accordion">
<ul class="list-group list-group-flush cards" id="cards">
<li class="list-group-item">Suit</li>
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
</div>
<div id="casual" class="collapse card col-md-4 col-lg-3 px-0 ml-4 my-5" data-parent="#accordion">
<ul class="list-group list-group-flush cards" id="cards">
<li class="list-group-item">farmerki...........</li>
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
</div>
<div id="jackets" class="collapse card col-md-4 col-lg-3 px-0 ml-4 my-5" data-parent="#accordion">
<ul class="list-group list-group-flush cards" id="cards">
<li class="list-group-item">jakna...........</li>
<li class="list-group-item">Cras justo odio</li>
<li class="list-group-item">Dapibus ac facilisis in</li>
<li class="list-group-item">Vestibulum at eros</li>
</ul>
</div>
</div>
</div>
</div>
</section>