// Function to set the height of headings within a specific row
function setHeadingHeight(rowId) {
// Get all heading elements inside the specified row
const headings = document.querySelectorAll(.${rowId} .mints-name);

// Find the maximum height among all heading elements in this row
let maxHeight = 0;
headings.forEach(heading => {
const height = heading.getBoundingClientRect().height;
maxHeight = Math.max(maxHeight, height);
});

// Set the height of all heading elements in this row to the maximum height
headings.forEach(heading => {
heading.style.height = ${maxHeight}px;
});
}

// Call the function for each row
setHeadingHeight('owl-stage');
setHeadingHeight('projects-carousel');
// Call for other rows as needed