
.card-img-sq {
    width: 100%;
    padding-bottom: 100%;
    position: relative;
    overflow: hidden;
    border-radius: 8px;
}
.card-img-sq img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}
.card-img-sq:hover img {
    transform: scale(1.05);
}
.card-img-sq a {
    display: block;
    width: 100%;
    height: 100%;
}
/* Bootstrap-like responsive grid classes if not already available */
@media (max-width: 575.98px) {
    .col-xs-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 576px) {
    .col-sm-6 { flex: 0 0 50%; max-width: 50%; }
}
@media (min-width: 768px) {
    .col-md-4 { flex: 0 0 33.333333%; max-width: 33.333333%; }
}
@media (min-width: 992px) {
    .col-lg-2 { flex: 0 0 16.666667%; max-width: 16.666667%; }
}
.row {
    display: flex;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
}
.col, .col-xs-6, .col-sm-6, .col-md-4, .col-lg-2 {
    position: relative;
    width: 100%;
    padding-right: 15px;
    padding-left: 15px;
}
.justify-content-center {
    justify-content: center !important;
}
.text-center {
    text-align: center !important;
}
.pt-5 {
    padding-top: 3rem !important;
}
.mt-3 {
    margin-top: 1rem !important;
}
.mb-3 {
    margin-bottom: 1rem !important;
}
.pb-0 {
    padding-bottom: 0 !important;
}
.mb-0 {
    margin-bottom: 0 !important;
}
