.image-gallery-section {
    max-width: 1100px;
    margin: 0 auto;
    padding: 30px 20px;
    text-align: center;
    font-family: Arial, sans-serif;
}

.image-gallery-section h2 {
    font-size: 28px;
    color: #222;
    margin-bottom: 30px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr); /* Ek line mein exact 4 images */
    gap: 20px; /* Images ke beech ka gap */
}

.img-card {
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.img-card:hover {
    transform: translateY(-5px); /* Hover karne par halka upar hoga */
}

.img-card img {
    width: 100%;
    height: 280px; /* Height zyada rakhi hai */
    object-fit: cover;
    display: block;
}

.img-card p {
    padding: 12px 10px;
    margin: 0;
    font-size: 15px;
    font-weight: bold;
    color: #444;
    background-color: #fafafa;
}

@media screen and (max-width: 1024px) {
    .image-gallery-section {
        max-width: 100%;
        padding: 20px 15px;
    }

    .image-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }

    .img-card img {
        height: 240px;
    }
}


@media screen and (max-width: 600px) {
    .image-gallery-section h2 {
        font-size: 24px;
        margin-bottom: 20px;
    }

    .image-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .img-card img {
        height: 350px;
    }

    .img-card p {
        font-size: 14px;
    }
}