.service-category-container {
  margin-bottom: 250px;
}
.service-category-container .service-category-header {
  margin-bottom: 3.125rem; /* 50px */
}

.service-category-container h2 {
  font-weight: 500;
  text-align: center;
  font-size: 35px;
  margin: 0;
}

.category-card {
  border-radius: 1.875rem; /* 30px */
  text-align: center;
  padding: 20px;
  transition: all 0.3s ease;
  border: 1px solid #d8d8d8;
  height: 260px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 3.125rem; /* 50px */
  cursor: pointer;
  text-decoration: none;
}
.lawyer-category-card {
  border: 1px solid transparent;
  border-radius: 1.25rem; /* 20px */
  height: 260px;
  padding: 20px 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem; /* 20px */
  cursor: pointer;
}

.category-card:hover {
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
  border-color: rgba(0, 0, 0, 0.75);
}

.category-img {
  height: 90px;
  object-fit: contain;
}

.category-title {
  font-weight: 500;
  font-size: 1.25rem; /* 20px */
  margin: 0;
  color: #1d1d1d;
}
.lawyer-category-card img {
  height: 70px;
  object-fit: contain;
}
.lawyer-category-card h4 {
  font-weight: 500;
  font-size: 1.25rem; /* 20px */
  margin: 0;
  margin-top: 10px;
  color: #1d1d1d;
}
.lawyer-category-card p {
  font-size: 1rem; /* 16px */
  margin: 0;
  color: #727272;
}
.lawyer-category-wrapper {
  margin-inline: auto;
  padding: 0;
}
#nav-lawyer .download-qanun-text {
  font-size: 1.25rem; /* 20px */
  font-weight: 500;
  color: #2d2d2d;
  text-align: center;
  margin-block: 2rem 1.25rem;
}
#nav-lawyer .download-qanun-text a {
  color: #317bb5;
  text-decoration: none;
}
#nav-lawyer .download-qanun-text a:hover {
  text-decoration: underline;
}
#nav-lawyer .download-app-buttons img {
  height: 60px;
  object-fit: contain;
}
#nav-lawyer .download-app-buttons a {
  border-radius: 1rem;
}
#nav-lawyer .download-app-buttons a:hover {
  box-shadow: 2px 6px 6px 0px rgba(0, 0, 0, 0.15);
  transform: scale(1.05);
}
.download-app-buttons a:active {
  box-shadow: 2px 8px 8px 0px rgba(0, 0, 0, 0.15);
  transform: scale(1);
}

.see-all {
  width: 180px; /* 180px */
}

.see-all a {
  height: 50px;
  text-decoration: none;
  color: #484848;
  font-weight: 500;
  font-size: 1.25rem; /* 20px */
  border: 1px solid #bfbfbf;
  padding: 14px 24px;
  border-radius: 50px;
  gap: 1rem;
  transition: all 0.2s ease-in;
}
.see-all a svg {
  margin-right: 10px;
  transition: all 0.2s ease-in;
}
.see-all a:hover {
  background-color: #f1fffe;
  border-color: #138483;
}
.see-all a:hover svg {
  margin-right: 0px;
}

/* category tabs */
.nav-tabs {
  border: 1px solid #e5e5e5;
  padding: 5px;
  border-radius: 50px;
  overflow: hidden;
}
.nav-tabs .nav-link {
  border: none;
  padding: 5px;
  padding-right: 1.25rem;
  border-radius: 50px;
  overflow: hidden;
  color: #3a3a3a;
}
.nav-tabs .nav-link.active {
  border: none;
  padding: 5px;
  padding-right: 1.25rem;
  border-radius: 50px;
  overflow: hidden;
  background-color: #353535;
  color: #d4d4d4;
}
.nav-tabs .nav-link img {
  width: 40px;
  height: 40px;
  object-fit: cover;
}

/* responsive */
@media (min-width: 1200px) {
  .col-xl-5 {
    flex: 0 0 20%;
    max-width: 20%;
  }
}
@media (max-width: 576px) {
  .service-category-container {
    margin-bottom: 150px;
  }
  .category-img {
    height: 70px;
  }
  .category-card {
    height: 220px;
    gap: 2rem;
  }
  .service-category-container h2 {
    font-size: 1.5625rem;
  }
  .service-category-container .service-category-header {
    margin-bottom: 2rem; /* 32px */
    flex-direction: column;
    gap: 1.25rem;
  }
  .lawyer-category-card {
    height: 260px;
    padding: 20px 30px;
    gap: 1rem; /* 20px */
  }
  #nav-lawyer .download-app-buttons a img {
    height: auto;
  }
  .see-all {
    width: 160px;
  }
  .see-all a {
    font-size: 1rem;
  }
  .see-all a svg {
    margin-right: 0px;
    height: 1rem;
  }
  .nav-tabs {
    width: 100%;
  }
}
@media (max-width: 400px) {
  .nav-tabs {
    gap: 4px !important;
  }
  .nav-tabs .nav-link {
    padding-right: 0.5rem;
    gap: 0.5rem !important;
  }
  .nav-tabs .nav-link.active {
    padding-right: 0.5rem;
  }
  .nav-tabs .nav-link img {
    width: 35px;
    height: 35px;
  }
}
