/* ================= Main Container ================= */

.container {
    width: 91%;
    margin-left: 5%;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(90%, 1fr));
    margin-top: 20px;
}

/* ================= Card ================= */

.card {
    background: #fff;
    border-radius: 12px;
    padding-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    margin: 20px;
    overflow: hidden;
}

.card p {
    margin: 3px 12px;
    font-size: 17px;
    line-height: 1.4;
    margin-bottom: 25px;
}

/* ================= Images Grid ================= */
.images {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

/* Image fix */
.card img {
    width: 100%;
    height: 220px;        /* 🔥 Same height for all */
    object-fit: cover;    /* Crop करून fit करेल */
    border-radius: 12px;
    display: block;
}

/* Tablet */
@media (max-width: 992px) {
    .images {
        grid-template-columns: repeat(2, 1fr);
    }

    .card img {
        height: 200px;
    }
}

/* Mobile */
@media (max-width: 768px) {
    .images {
        grid-template-columns: 1fr;
    }

    .card img {
        height: auto;   /* Mobile ला full image */
    }
}