.all-service {
  display: grid;
  grid-template-columns: repeat(3, minmax(0px, 1fr));
  grid-template-rows: fit-content(100%) fit-content(100%);
  gap: 25px;
  height: 730px;
  width: 1320px;
  margin: 7.5% auto 2.5% auto;
}

.service-card {
  height: 350px;
  position: relative;
  border-radius: 25px;
  width: 400px;
  border: 5px solid var(--sec);
}

/* Service Title */
.service-title {
  position: absolute;
  display: flex;
  flex-direction: row;
  gap: 25px;
  align-items: center;
  left: 20px;
  padding: 0;
  top: 15px;
}

.service-icon {
  background: #4c0000;
  overflow: hidden;
  position: relative;
  border-radius: 15px;
  flex-shrink: 0;
  width: 75px;
  height: 75px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-content {
  display: flex;
  flex-direction: column;
  text-align: left;
  text-transform: capitalize;
  width: 250px;
}

.service-name {
  font-weight: 700;
  font-size: 24px;
  color: var(--sec);
}

.service-price {
  font-weight: 400;
  font-size: 16px;
  color: #ff5555;
}

/* Service Caption */
.service-caption {
  position: absolute;
  top: 100px;
  left: 5%;
  width: 360px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: left;
}

.service-description {
  font-weight: 400;
  font-size: 16px;
  color: var(--sec);
}

.service-features {
  font-weight: 400;
  font-size: 16px;
  color: var(--sec);
}

.service-features li {
  margin-bottom: 20px;
  margin-left: 24px;
  line-height: normal;
}

/* Service Button */
.service-button {
  position: absolute;
  top: 300px;
  left: 4%;
  width: 360px;
  height: 30px;
  background: var(--prm);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.service-button p {
  font-weight: 800;
  font-size: 20px;
  color: var(--sec);
  text-align: left;
}

/* ================= Responsive ================= */
/* Mobile (max 768px) -> 1 kolom */
@media (max-width: 768px) {
  .all-service {
    grid-template-columns: 1fr;
    gap: 20px;
    width: 100%;
    height: auto;
    margin-top: 25%; /* sebelumnya 15% atau 7.5% */
    margin-bottom: 10%;
    padding: 0 15px;
  }

  .service-card {
    width: 90%;
    height: auto;
    padding: 20px 15px;
  }

  .service-title {
    position: relative;
    top: 0;
    left: 0;
    margin-bottom: 15px;
  }

  .service-caption {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    margin-bottom: 15px;
  }

  .service-description,
  .service-features {
    font-size: 14px;
  }

  .service-button {
    position: relative;
    top: 0;
    left: 0;
    width: 100%;
    height: 40px;
  }

  .service-button p {
    font-size: 16px;
  }
}
