/* screen - our-services-page-root */

.group-container {
  width: 100%;
}

.our-services-page-root {
  padding-bottom: 4em;
  align-items: center;
  background-color: var(--neutral100);
  border: 1px none;
  display: flex;
  flex-direction: column;
}

.our-services-page-root .overlap-group4 {
  background-image: url(../img/services-banner.png);
  background-position: 50% 50%;
  background-size: cover;
  height: 263px;
  position: relative;
  width: 100%;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.our-services-page-root .rectangle-164 {
  background: linear-gradient(180deg,
      rgb(255, 155.13, 155.13) 0%,
      rgba(77.76, 77.76, 77.76, 0) 100%);
  height: 263px;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: -1;
}

.our-services-page-root .title {
  left: 489px;
  letter-spacing: 0;
  line-height: normal;
  text-align: center;
  top: 78px;
}

.paragraph-title {
  text-align: left;
  top: 120px;
  font-weight: 700;
  font-size: xx-large;
  color: var(--meliteh-red-semitransparent);
}

.paragraph-title2 {
  text-align: left;
  top: 120px;
  font-weight: 700;
  font-size: xx-large;
  color: var(--meliteh-red-semitransparent);
}

.service-cards-list {
  align-items: flex-start;
  display: flex;
  gap: 1em;
  margin-bottom: 24px;
  flex-wrap: wrap;
  justify-content: center;
}

.service-card {
  background-color: var(--neutral100);
  height: 284px;
  position: relative;
  width: 302px;
  display: flex;
  flex-direction: column;
  cursor: pointer;
}

.recruiment-service-wrapper {
  display: flex;
  flex-direction: column;
  padding-left: 5%;
  padding-right: 5%;
}

.our-services-page-root .rectangle-16 {
  background-color: var(--neutral100);
  border: 1px solid;
  border-color: var(--meliteh-grey);
  border-radius: 20px;
  cursor: pointer;
  height: 284px;
  left: -1px;
  position: absolute;
  top: -1px;
  width: 302px;
}

.our-services-page-root .service-card-image {
  height: 204px;
  border-radius: 20px 20px 0 0;
  overflow: hidden;
}

.service-card-text {
  text-align: center;
  vertical-align: middle;
  display: flex;
  justify-content: center;
  align-items: center;
  flex: 1;
  border: 1px solid;
  border-top: none;
  border-radius: 0 0 20px 20px;
  border-color: var(--meliteh-grey);
  padding: 12px;
  line-height: 24px;
  font-family: "Inter", sans-serif;
  font-size: var(--font-size-m);
  font-weight: 700;
}

.sectioning-line {
  height: 1px;
  margin-top: 24px;
  object-fit: cover;
  width: 100%;
}

[data-selected-service="RECRUITMENT"] .service-card[data-service="RECRUITMENT"],
[data-selected-service="BG_CHECK"] .service-card[data-service="BG_CHECK"],
[data-selected-service="PAYROLL"] .service-card[data-service="PAYROLL"],
[data-selected-service="CONSULTING"] .service-card[data-service="CONSULTING"] {
  cursor: default;
}

[data-selected-service="RECRUITMENT"] .service-card[data-service="RECRUITMENT"] .service-card-text,
[data-selected-service="BG_CHECK"] .service-card[data-service="BG_CHECK"] .service-card-text,
[data-selected-service="PAYROLL"] .service-card[data-service="PAYROLL"] .service-card-text,
[data-selected-service="CONSULTING"] .service-card[data-service="CONSULTING"] .service-card-text {
  background-color: #d20027;
  border-color: #d20027;
  color: white;
  transition: unset;
}

.service-card:hover .service-card-text {
  background-color: #fff5ee;
}

.service-description {
  display: none;
}

[data-selected-service="RECRUITMENT"] .service-description[data-service="RECRUITMENT"],
[data-selected-service="BG_CHECK"] .service-description[data-service="BG_CHECK"],
[data-selected-service="PAYROLL"] .service-description[data-service="PAYROLL"],
[data-selected-service="CONSULTING"] .service-description[data-service="CONSULTING"] {
  display: unset;
}

.service-description p,
.recruiment-service-intro {
  max-width: 1280px;
  letter-spacing: 0;
  line-height: 28px;
}

.service-description ol {
  line-height: 28px;
  max-width: 1280px;
}

.w-row {
  display: flex;
  padding-top: 16px;
}

.service-description strong {
  color: rgb(210, 0, 39);
}

.service-description .list strong {
  font-weight: normal;
}

.contact-us-text {
  display: flex;
  padding: 0 16px;
}

.contact-us-text a {
  color: rgb(210, 0, 39)
}

.image-process {
  padding-top: 16px;
}

@media (max-width: 500px) {
  .service-cards-list {
    margin-top: 5%;
  }

  .montserrat-bold-white-70px {
    font-size: var(--font-size-xxl-mobile);
  }

  .montserrat-bold-monza-70px {
    font-size: var(--font-size-xxl-mobile);
  }

  .w-row {
    flex-direction: column;
  }

  .service-description p,
  .recruiment-service-intro {
    padding-left: 10%;
    padding-right: 10%;
    line-height: 20px;
  }

  .paragraph-title2 {
    line-height: 36px;
    padding-left: 10%;
    padding-right: 10%;
  }

  .description,
  .list-item {
    font-size: 12px;
  }

  .description {
    padding-left: 10%;
    padding-right: 10%;
  }

  .service-cards-list {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
    flex-direction: column;
  }

  .service-card {
    height: auto;
  }

  .service-card-text {
    border-radius: 8px;
    border-top-style: solid;
    border-top-width: 1px;
  }

  .service-card-image {
    overflow: hidden;
    display: none;
  }

  ol,
  ul {
    padding-left: 15%;
    padding-right: 10%;
  }

  .contact-us-text,
  .contact-us-text a {
    font-size: 12px;
  }
}

/* @media (max-width: 500px) {
  [data-selected-service="RECRUITMENT"]
    .service-card[data-service="RECRUITMENT"],
  [data-selected-service="BG_CHECK"]
    .service-card[data-service="BG_CHECK"],
  [data-selected-service="PAYROLL"] .service-card[data-service="PAYROLL"],
  [data-selected-service="CONSULTING"]
    .service-card[data-service="CONSULTING"]:after {
    content: url("../img/polygon-4-2.svg");
    height: 16px;
    width: 36px;
    position: absolute;
    bottom: -12px;
    left: 0;
    right: 0;
    margin-left: auto;
    margin-right: auto;
  }
} */