.ServiceCard {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.03);
  display: flex;
  flex-direction: column;
}

.ServiceCard .ServiceCard_image {
  position: relative;
  height: 120px;
  width: 100%;
}

.ServiceCard .ServiceCard_image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ServiceCard .ServiceCard_rating {
  position: absolute;
  bottom: 8px;
  left: 8px;
  background: rgba(255, 255, 255, 0.9);
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  color: #0f172a;
  display: flex;
  align-items: center;
  gap: 4px;
}

.ServiceCard .ServiceCard_rating svg {
  color: #eab308;
}

/* Common Bookmark Button Position inside Card */
.ServiceCard .ServiceCard_bookmark_position {
  position: absolute;
  top: 8px;
  right: 8px;
  z-index: 2;
}

.ServiceCard .ServiceCard_body {
  padding: 10px;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.ServiceCard .ServiceCard_body h3 {
  font-size: 14px;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
  line-clamp: 1; 
  -webkit-box-orient: vertical;
}

.ServiceCard .ServiceCard_location {
  font-size: 11px;
  color: #64748b;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 1; /* number of lines to show */
  line-clamp: 1; 
  -webkit-box-orient: vertical;
}

.ServiceCard .ServiceCard_actions {
  display: flex;
  gap: 8px;
  margin-top: 6px;
}

.ServiceCard .ServiceCard_actions button {
  flex: 1;
  padding: 6px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.ServiceCard .ServiceCard_actions button.btn_call {
  border: 1px solid #1e3a8a;
  background: #ffffff;
  color: #1e3a8a;
}

.ServiceCard .ServiceCard_actions button.btn_call:hover {
  background: #f8fafc;
}

.ServiceCard .ServiceCard_actions button.btn_inquire {
  border: none;
  background: #ea580c;
  color: #ffffff;
}

.ServiceCard .ServiceCard_actions button.btn_inquire:hover {
  background: #c2410c;
}

/* =========================================
   Responsive Breakpoints with Range Media Queries
   ========================================= */

@media (min-width: 381px) and (max-width: 576px) {
  .ServiceCard .ServiceCard_image {
    height: 110px;
  }

  .ServiceCard .ServiceCard_body h3 {
    font-size: 13px;
  }

  .ServiceCard .ServiceCard_actions button {
    padding: 5px;
    font-size: 11px;
  }
}

@media (min-width: 0px) and (max-width: 380px) {
  .ServiceCard .ServiceCard_image {
    height: 100px;
  }

  .ServiceCard .ServiceCard_bookmark_position {
    top: 6px;
    right: 6px;
  }

  .ServiceCard .ServiceCard_body h3 {
    font-size: 12px;
  }

  .ServiceCard .ServiceCard_actions {
    gap: 4px;
  }

  .ServiceCard .ServiceCard_actions button {
    padding: 4px;
    font-size: 10px;
  }
}