.similar_tools {
  text-align: left;
  padding: 20px;
  background-color: #f7f9fc;
  border-radius: 8px;
  margin-top: 20px;
}

.tools_container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  margin-top: 20px;
}

.tool_card {
  background-color: #fff;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  flex: 1 1 calc(33.333% - 20px); /* Default: 3 cards per row */
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.tool_icon img {
  height: 40px;
  margin-bottom: 20px;
}

.tool_card h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.tool_card p {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 20px;
  flex-grow: 1;
}

.tool_footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tool_footer a {
  color: #007bff;
  text-decoration: none;
}

.tool_footer .heart_icon {
  font-size: 18px;
  color: #d3d3d3;
  cursor: pointer;
}

.similar_tools > div {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.similar_tools h4 {
  margin: 0;
  font-size: 20px;
}

.see_all {
  text-align: right;
  margin: 0;
}

.see_all a {
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
  .tool_card {
    flex: 1 1 calc(50% - 20px); /* 2 cards per row */
  }
}

@media (max-width: 768px) {
  .tool_card {
    flex: 1 1 calc(100% - 20px); /* 1 card per row */
  }

  .similar_tools > div {
    flex-direction: column;
    align-items: flex-start;
  }

  .see_all {
    text-align: left;
    margin-top: 10px;
  }
}
