.society {
    padding-bottom: 120px;
}

.society-img-box {
    width: 160px;
    text-align: center;
    height: 160px;
    transition: transform 0.3s ease-in-out;
    margin-bottom: 20px;
    margin: auto; /* Centering box */
}

.society-img-box img {
    border-radius: 10px;
    transition: all 0.3s ease-in-out;
    width: 100%;
    height: 100%;
    object-fit: cover;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.society-img-box img:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.society-img-box-inner-content .society-title {
    color: #30373f;
    margin:10px 0;
    font-weight: 600;
    text-align: center;
    font-size:18px;
    line-height:1.3
}

/* Responsive Breakpoints */
@media (max-width: 767px) {
    .society-img-box {
        width: 100%;
        height: 180px; /* Keep height consistent */
    }

    .society-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* Adjust font size for smaller screens */
    .society-img-box-inner-content .society-title {
        font-size: 16px;
    }
}

@media (max-width: 991px) {
    .society-img-box {
        width: 150px;
        height: 150px;
    }

    .society-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}

@media (min-width: 992px) {
    .society-img-box {
        width: 160px;
        height: 160px;
    }

    .society-img-box img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }
}
