/* Ensure all team cards have the same height */
.team-style-one-item {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 20px;
    box-sizing: border-box;
    border: 1px solid #eee;
    border-radius: 10px;
    transition: all 0.3s ease;
}

/* Uniform card wrapper */
.team-style-one {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 15px;
}

/* Make sure each card column has consistent height */
.row > .col-xl-3 {
    display: flex;
}

/* Make images consistent */
.team-style-one-item .thumb {
    width: 100%;
    padding-top: 100%; /* Makes it square */
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    margin-bottom: 15px;
}

.team-style-one-item .thumb img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills the space while maintaining aspect ratio */
}

/* Optional: Match height of info area */
.team-style-one-item .info {
    min-height: 100px; /* Adjust based on how tall you want text area */
}

