.service-page .service-areas-section {
  padding-top: 0;
}

.service-areas-section {
  position: relative;
  padding-top: 100px;

  .section-title {
    max-width: 1000px;
    margin: 0 auto 45px;

    .small-header-line {
      display: inline-flex;

      &::before,
      &::after {
        background-color: var(--theme);
      }
    }

    p {
      color: #333;
      text-align: center;
      font-family: Inter;
      font-size: 18px;
      font-style: italic;
      font-weight: 400;
      line-height: 26px;
      padding: 0 100px;
    }
  }

  .service-areas-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    column-gap: 26px;
    /* margin-left: -13px;
    margin-right: -13px; */
    margin-bottom: 25px;

    .service-area-grid {
      /* max-width: 20%;
      flex: 0 0 20%; */
      position: relative;
      padding: 35px 30px;
      background: var(--white);
      text-align: center;
      min-height: 250px;
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      margin: 0 0 21px;
      width: calc(20% - 21px);

      &::before {
        content: "";
        position: absolute;
        inset: 0;
        padding: 1px;
        background:
          linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 2px) calc(100% - 2px) no-repeat,
          linear-gradient(90deg, #989491 0%, #fbfbfb 49%, #989491 100%);
        border-radius: 0px;
        padding: 15px;
        box-sizing: border-box;
        -webkit-mask:
          linear-gradient(#fff 0 0) content-box,
          linear-gradient(#fff 0 0);
        -webkit-mask-composite: xor;
        mask-composite: exclude;
        pointer-events: none;
      }

      & .icon-service {
        position: relative;
        display: inline-flex;
        justify-content: center;
        margin: 0 auto 20px;
        z-index: 1;
        align-items: center;
        width: 77px;
        height: 77px;

        &::after {
          position: absolute;
          content: "";
          background: linear-gradient(90deg,
              #e5e4e3 0%,
              #fbfbfb 50%,
              #e5e4e3 100%);
          width: 77px;
          height: 77px;
          border-radius: 100%;
          left: 0;
          z-index: -1;
          top: 0;
        }

        & img {
          object-fit: contain;
          aspect-ratio: 1 / 1;
        }

      }
    }

    .service-area-title {
      word-break: break-word;
      font-size: 18px;
      font-weight: 500;
      text-transform: capitalize;
    }
  }
}

.service-page .service-areas-section .service-areas-list .service-area-grid {
  background: linear-gradient(90deg, #f3f3f3 0%, #fff 50%, #f3f3f3 100%);
  position: relative;

  &::before {
    display: none;
  }
}

.service-page .service-areas-section .service-areas-list .service-area-grid::after {
  content: "";
  position: absolute;
  inset: 0;
  border: 1px solid #7a1c3d;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
  box-sizing: border-box;
}

.service-page .service-areas-section .service-areas-list .service-area-grid:hover::after {
  opacity: 1;
}

.service-page .service-areas-section .service-areas-list {
  margin-bottom: 60px;
}

.service-list-block {
  .header-section {
    max-width: 796px;
    margin: 0 auto 40px;

    p {
      font-style: italic;
    }
  }

  & .service-areas-list {
    .service-area-title {
      color: #333;
      text-align: center;
      font-family: Inter;
      font-size: 18px;
      font-style: normal;
      font-weight: 500;
      max-width: 56%;
    }
  }

  .right-bottom-shape {
    bottom: -33%;
    z-index: -1;
  }
}

.service-page .service-areas-section .service-areas-list .service-area-grid:hover .service-area-title {
  color: var(--theme);
}

.client-section {
  position: relative;
  z-index: 1;
}

/* .service-detail-page .why-choose-section .choose-content-block .small-header-line:after {
  display: none;
} */

.service-detail-page .why-choose-section .choose-content-block .heading-50 {
  margin-bottom: 48px;
}

/* .service-detail-page .why-choose-section .why-choose-wrapper {
  display: inline-block;
  align-items: unset;
}

.service-detail-page .why-choose-section .why-choose-wrapper li {
  position: relative;
  width: 100%;
  padding: 0;
  margin-bottom: 48px;
  text-align: unset;
  display: flex;
  gap: 34px;
}

.service-detail-page .why-choose-section .why-choose-wrapper li .choose-icon {
  min-width: 56px;
}

.service-detail-page .why-choose-section .why-choose-wrapper li .choose-title {
  text-align: left;
  margin-bottom: 6px;
}

.service-detail-page .why-choose-section .why-choose-wrapperli p {
  position: relative;
  width: 100%;
  padding: 0;
  margin-bottom: 48px;
  text-align: unset;
}

.service-detail-page .why-choose-section .choose-content-block .why-choose-col p {
  text-align: left;
}

.service-detail-page .why-choose-section .choose-content-block .why-choose-wrapper li::before,
.service-detail-page .why-choose-section .choose-content-block .why-choose-wrapper li::after {
  display: none;
} */

/* ------------- Information Pack -------------- */
.information-packs {
  padding: 30px;
  background: #fff;
  text-decoration: none;
  transition:
    transform 0.3s ease,
    border-color 0.3s ease,
    box-shadow 0.3s ease;
  position: relative;
  border-radius: 0;
  overflow: hidden;
}

.information-packs .resource-card {
  display: flex;
  justify-content: space-between;
}

.information-packs .resource-card:not(:last-child) {
  border-bottom: 1px solid #ddd;
  padding-bottom: 12px;
  margin-bottom: 12px;
}

.information-packs::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  background:
    linear-gradient(#ffffff, #ffffff) 50% 50% / calc(100% - 2px) calc(100% - 2px) no-repeat,
    linear-gradient(90deg, #989491 0%, #fbfbfb 49%, #989491 100%);
  border-radius: 0;
  box-sizing: border-box;
  -webkit-mask:
    linear-gradient(#fff 0 0) content-box,
    linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  pointer-events: none;
}

.resource-card .title {
  color: var(--secondary);
  font-family: Inter;
  font-size: clamp(16px,
      16px + (18 - 16) * ((100vw - 575px) / (1920 - 575)),
      18px);
  font-style: normal;
  font-weight: 600;
  line-height: 1.4;
  width: 100%;
  max-width: calc(100% - 100px);
  position: relative;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
}

.resource-card .resource-arrow {
  position: relative;
}

.resource-card .resource-arrow:after {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  right: 0;
  width: 15px;
  height: 15px;
  background: url(../images/svg/top-right-arrow.svg) no-repeat;
  margin-block: auto;
  transition: all 0.5s ease-in-out;
  -webkit-transition: all 0.5s ease-in-out;
  -ms-transition: all 0.5s ease-in-out;
}

.why-choose-section h2 {
  font-size: clamp(26px,
      26px + (50 - 26) * ((100vw - 575px) / (1920 - 575)),
      50px);
}

.service-detail-page .inpage-left-content p {
  /*text-align: justify;*/
}

@media (max-width: 1599.98px) {
  .service-areas-section {
    & .service-areas-list {
      .service-area-grid {
        .service-area-title {
          max-width: 100%;
        }
      }
    }
  }
}

@media (max-width: 1439.98px) {
  .service-areas-section {
    & .service-areas-list {
      .service-area-grid {
        padding: 50px 25px;
        width: calc(25% - 20px);

        .service-area-title {
          max-width: 100%;
        }
      }
    }
  }
}

@media (max-width: 1199.98px) {
  .service-areas-section {
    & .service-areas-list {
      column-gap: 20px;
      margin-left: -10px;
      margin-right: -10px;

      .service-area-grid {
        padding: 40px 20px;
        margin: 0 0 20px;
        min-height: auto;
      }
    }
  }
}

@media (max-width: 991.98px) {
  .service-areas-section {
    & .service-areas-list {
      margin-bottom: 5px;

      .service-area-grid {
        padding: 30px 15px;
        width: calc(33.33% - 20px);
      }
    }
  }

  .service-areas-section {
    padding-top: 40px;
  }

  .service-areas-section {
    & .section-title {
      margin: 0 auto 30px;

      p {
        padding: 0;
        font-size: 16px;
      }
    }
  }

  .service-list-block {
    & .service-areas-list {
      .service-area-title {
        font-size: 16px;
      }
    }
  }
}

@media (max-width: 767.98px) {
  .service-areas-section {
    & .service-areas-list {
      margin-bottom: 5px;

      .service-area-grid {
        padding: 20px 15px;
        width: calc(50% - 10px);

        & .icon-service {
          width: 60px;
          height: 60px;

          &::after {
            width: 60px;
            height: 60px;
          }
        }
      }
    }
  }
}

@media (max-width: 576.98px) {
  .service-areas-section {
    & .service-areas-list {
      margin-bottom: 5px;
      column-gap: 10px;
      margin-left: -5px;
      margin-right: -5px;

      .service-area-grid {
        padding: 15px;
        width: calc(50% - 10px);
        margin: 0 0 10px;

        & .icon-service {
          width: 50px;
          height: 50px;

          &::after {
            width: 50px;
            height: 50px;
          }
        }
      }

      .service-area-title {
        font-size: 14px;
        line-height: 1.3;
      }
    }
  }
}