/* Flexbox fixes to make boxes equal height */
@media screen and (min-width: 737px) {
    .row {
        display: flex;
        flex-wrap: wrap;
    }

    .row>* {
        display: flex;
        /* Makes the column a flex container too */
        flex-direction: column;
    }

    .box {
        flex-grow: 1;
        /* Makes the box fill the column height */
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        /* Aligns content to top */
        height: 100%;
        /* Ensures it takes full height of parent */
        background-color: rgba(255, 255, 255, 0.4);
        /* Slight background to show boxes */
        border: 1px solid rgba(0, 0, 0, 0.1);
    }

    /* Ensure box content stretches if needed, or stays at top */
    .box> :last-child {
        margin-bottom: 0;
    }
}

/* Nadi Kandams Equal Height Fixes */
.img-services {
    display: flex !important;
    /* Move from inline-flex to flex */
    flex-wrap: wrap;
    align-items: stretch;
    /* Stretch items to same height */
    margin-bottom: 2em;
    width: 100%;
}

.images-new {
    display: flex;
    /* Make content inside flex for button alignment if needed */
    flex-direction: column;
    justify-content: flex-start;
    flex: 1;
    /* Grow to take equal width */
    height: auto;
    /* Allow height to stretch */
    margin-right: 2em;
    /* Keep existing margin */
    /* Remove width: 100% since flex handles it, or keep it if calc is used */
    width: auto;
}

/* Remove margin from last item to align perfectly */
.images-new:last-child {
    margin-right: 0;
}

/* Mobile Adjustments for Nadi Kandams */
@media (max-width: 767px) {
    .img-services {
        display: block !important;
    }

    .images-new {
        width: 100%;
        margin-right: 0;
        margin-bottom: 2em;
    }
}