.services-section {
  width: 90%;
  padding-top: 2rem;
  margin: 100px auto;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 30px 20px;
  margin-top: 60px;
}
#bookServices {
  display: block;
  margin: auto;
  width: fit-content;
  border-radius: 30px;
  background: var(--gold);
  padding: 10px 20px;
  font-family: var(--font-2);
  font-weight: 600;
}
.service-card {
  background-color: var(--bg-main-1);
  border-radius: 0.75rem;
  transition-property: all;
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
  transition-duration: 150ms;
}
[data-theme="light"] .service-card {
  border: 1px solid var(--gold);
}
.service-card:hover {
  box-shadow: 0 0 0 0px #ffffff57, 0 0 0 calc(1px + 0px) rgb(202, 161, 76),
    0 1px 2px 0 rgba(0, 0, 0, 0.03);
  transform: translate(0, -0.125rem) rotate(0) skewX(0) skewY(0) scaleX(1)
    scaleY(1);
}

.service-media {
  overflow: hidden;
  border-top-left-radius: 0.75rem;
  border-top-right-radius: 0.75rem;
  /* position: relative;
  top: -25px; */
}

.service-image {
  width: 70px;
  height: 7rem;
  object-fit: contain;
  margin: auto;
}

.service-content {
  padding: 0px 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.service-description {
  font-family: var(--font-2);
  color: var(--text-muted);
  font-size: 0.875rem;
  line-height: 1.25rem;
  margin-bottom: 1rem;
}

.services-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.services-title {
  border-bottom: 2px solid var(--gold);
  padding-bottom: 5px;
  font-family: var(--font-2);
  font-size: 1.25rem;
  line-height: 1.75rem;
  font-weight: 600;
  color: var(--text-main);
}

.service-name {
  font-family: var(--font-1);
  color: var(--text-main);
  font-size: var(--fs-6);
  line-height: 1.75rem;
  font-weight: 700;
  margin-bottom: 1rem;
  text-align: center;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1rem;
}

.service-tag {
  font-family: var(--font-2);
  padding: 10px;
  font-size: var(--fs-3);
  line-height: 1rem;
  border-radius: 9999px;
  color: var(--text-muted);
  background-color: var(--bg-main-3);
}

@media (max-width: 992px) {
  .doctor-media img {
    height: 210px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
  #bookServices {
    margin-top: 50px;
  }
}

@media (max-width: 480px) {
  .service-image {
    width: 50px;
  }
  .service-card {
    padding-bottom: 12px;
  }
  .service-name {
    font-weight: 500;
    font-size: var(--fs-4);
    text-align: center;
    margin-bottom: 0;
  }
  .service-image {
    height: 5rem;
  }
  .service-tag {
    display: none;
    font-size: var(--fs-1);
  }
  .services-section {
    padding-top: 0rem;
    margin: 60px auto;
  }
  .doctor-media img {
    height: 200px;
  }

  .services-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  #ioa9pb {
    padding-left: 0.5rem;
    padding-right: 0.5rem;
  }
}

/* No services message */
.no-services {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
}

.no-services p {
  font-family: var(--font-2);
  font-size: 1.1rem;
  color: var(--text-muted);
  margin: 0;
}

/* Service tag links */
.service-tag a {
  color: var(--text-main);
  text-decoration: none;
  transition: color 0.2s ease;
}

.service-tag a:hover {
  color: var(--gold);
}
