.services-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
  background-color: #fff;
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}
.services-title {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 24px;
  color: #2c3e50;
  border-bottom: 2px solid #3498db;
  padding-bottom: 15px;
  font-family: "Rubik", sans-serif;
  letter-spacing: 2px;
}
.services-description {
  font-family: "Raleway", sans-serif;
  font-size: 16px;
  color: #34495e;
  text-align: justify;
  line-height: 1.6;
}
.services-description a {
  display: inline-block;
  text-decoration: none;
  color: #3498db;
  transition: color 0.3s ease;
}

.services-description a::after {
  content: "";
  display: block;
  position: relative;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 1px;
  background-color: #3498db;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}
.services-description a:hover::after {
  transform: scaleX(1);
}

.services-list {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  background-color: #f8f9fa;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}
.services-list-item {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  width: 100%;
  gap: 20px;
  padding: 20px;
  border-bottom: 1px solid #e9ecef;
}
.services-list-item:last-child {
  border-bottom: none;
}
.services-list-item-text {
  display: flex;
  flex-direction: column;
  flex: 3;
  gap: 10px;
}
.services-list-item-name {
  font-family: "Raleway", sans-serif;
  font-size: 18px;
  color: #2c3e50;
  font-weight: bold;
}
.services-list-item-description {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  color: #34495e;
  text-align: justify;
  line-height: 1.4;
}
.services-list-item-price {
  flex: 1;
  font-family: "Rubik", sans-serif;
  text-align: end;
  font-size: 16px;
  color: #3498db;
  font-weight: bold;
}
.services-list-item-name.cabinet-cost-title {
  font-size: 22px;
  color: #2c3e50;
  padding: 20px 0;
  border-top: 1px solid #e9ecef;
  width: 100%;
  text-align: center;
}
.cabinet-cost-cards {
  display: flex;
  flex-direction: row;
  /* align-items: center; */
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}
.cabinet-cost-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  background-color: #f8f9fa;
  gap: 15px;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  width: 280px;
  /* height: 300px; */
}
.cabinet-cost-card:hover {
  background-color: #e9ecef;
  transition: background-color 0.3s ease;
}
.cabinet-cost-card:nth-child(2) {
  width: 290px;
  /* height: 340px; */
}
.cabinet-cost-card-title {
  font-family: "Rubik", sans-serif;
  font-size: 20px;
  color: #2c3e50;
}
.cabinet-cost-card-description {
  font-family: "Roboto", sans-serif;
  font-size: 14px;
  color: #34495e;
  text-align: justify;
  line-height: 1.4;
  text-align: center;
  width: 100%;
  padding-bottom: 10px;
  border-bottom: 1px solid #e9ecef;
}
.cabinet-cost-card-price {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 5px;
  font-family: "Rubik", sans-serif;
  font-size: 18px;
}
.total-price {
  font-size: 14px;
  color: #3498db;
  text-decoration: line-through;
}
.sale-price {
  color: #e74c3c;
  font-weight: bold;
}
.cabinet-cost-card-list {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 10px;
}
.cabinet-cost-card-list-item {
  font-family: "Raleway", sans-serif;
  font-size: 14px;
  text-align: justify;
  color: #34495e;
  line-height: 1.4;
  list-style-type: circle;
  padding-left: 5px;
}

@media (max-width: 768px) {
  .services-list-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }
  .services-list-item-price {
    text-align: left;
  }
}
