/* start services styles */
.parent {
  margin-block: 3rem;
  .row {
    align-items: center;
    gap: 3rem 7rem;
  }
  & .info_box {
    h1 {
      color: #081245;
      font-family: Exo;
      font-size: 2.25rem;
      font-style: normal;
      font-weight: 800;
      line-height: normal;
      max-width: 30.625rem;
      margin: 1rem 0 1.88rem;
    }
    span {
      color: fe02c5;
      font-family: Exo;
      font-size: 1rem;
      font-style: normal;
      font-weight: 600;
      line-height: normal;
    }
    p {
      color: #555;
      font-family: Archivo;
      font-size: 1.125rem;
      font-style: normal;
      font-weight: 400;
      line-height: 1.875rem; /* 166.667% */
      margin: 1.88rem 0 2.5rem;
    }
  }
  ul {
    gap: 2rem;
    flex-wrap: wrap;
    & li {
      align-items: center;
      &:not(:last-child) {
        padding-inline-end: 2rem;
        border-inline-end: 1px solid #e1e1e1;
      }

      & .img_holder {
        position: relative;
        & img {
          width: 6.875rem;
          height: 6.9375rem;
          flex-shrink: 0;
          aspect-ratio: 110/111;
        }
        span {
          position: absolute;
          color: #fff;
          font-family: Exo;
          font-size: 3rem;
          font-style: normal;
          font-weight: 400;
          line-height: 2.5rem; /* 83.333% */
          top: 50%;
          inset-inline-start: 50%;
          transform: translate(-50%, -50%);
        }
      }
      h5 {
        color: #555;
        font-family: Archivo;
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 166.667% */
      }
    }
  }
  .bnr {
    width: fit-content;
    position: relative;
    & .obj {
      position: absolute;
      inset-inline-start: 0;
      bottom: 0;
      width: 6.125rem;
      height: 5.0625rem;
      flex-shrink: 0;
      z-index: -1;
      aspect-ratio: 98/81;
      inset-inline-start: -3rem;
      bottom: -2.5rem;
    }
    & .ptrn {
      width: 14.4375rem;
      height: 14.5rem;
      flex-shrink: 0;
      aspect-ratio: 231/232;
      position: absolute;
      inset-inline-end: -1rem;
      z-index: -1;
      top: -1rem;
    }

    & .bg {
      margin: auto;
      display: inline-block;
    }
  }
}
.parent_cards {
  margin-block: 3.1rem;
  .serv_card {
    display: flex;
    width: 100%;
    padding: 1.875rem;
    align-items: center;
    gap: 0.625rem;
    background: #f5f5f5;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: 0.4s ease-out;
    cursor: pointer;
    &:hover {
      background: var(--primary_color);
      h4,
      p {
        color: white !important;
      }
      .btn-style-one {
        /* background: linear-gradient(
          47deg,
          #fb0 19.72%,
          #ff851a 71.09%
        ) !important; */
        transition: 0.4s ease-out;
      }
    }
    & .circle {
      position: absolute;
      inset-inline-end: -50%;
      top: -32%;
    }
    & .lines {
      position: absolute;
      inset-inline-start: -3rem;
      bottom: -3rem;
      transform: rotate(90deg);
    }
    & .box-content {
      .pen {
        font-size: 50px;
        color: var(--secondary_color);
        object-fit: cover;
      }
      h4 {
        color: var(--primary_color);
        font-family: Exo;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
        margin: 3rem 0 0;
      }

      p {
        color: #555;
        font-family: Archivo;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 187.5% */
        margin: 0.94rem 0 1.88rem;
      }
    }
  }

  .serv_card_two {
    /* background: center url(/images/resource/counts-img.jpg); */
    background-size: cover;
    display: flex;
    width: 100%;
    padding: 1.875rem;
    align-items: center;
    gap: 0.625rem;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: 0.3s ease-out;

    &:hover {
      a {
        background: linear-gradient(90deg, var(--primary_color) 0%, var(--primary_color) 100%);
        transition: 0.3s ease-out;
      }
      .nib {
        /* transition: 0.3s ease-out; */
        /* transform: rotate(90deg); */
        background-color: white;
        color: var(--secondary_color);
      }
      .sch {
        top: 0 !important;
      }
    }
    &::before {
      content: "";
      position: absolute;
      background: linear-gradient(
          180deg,
        var(--secondary_color) 0%,
        var(--secondary_color) 100%
        ),
        url(<path-to-image>) lightgray 50% / cover no-repeat;
      inset: 0;
      width: 100%;
      height: 100%;
      opacity: 0.5;
      z-index: 1;
    }
    .sch {
      transition: 0.3s ease-out;
      position: absolute;
      inset-inline-end: 1.6rem;
      top: -3rem;
      z-index: 2;
      width: 8.3125rem;
      height: 3.02913rem;
      transform: rotate(-90deg);
    }
    .nib {
      font-size: 1.9rem;
      color: white;
      width: fit-content;
      display: flex;
      transition: 0.3s ease-out;
      padding: 2rem;
      align-items: center;
      gap: 0.625rem;
      border-radius: 9.84375rem;
      /* border: 10px solid var(--secondary_color); */
      background: rgba(255, 255, 255, 0.2);
      box-shadow: 4px 4px 0px 0px var(--primary_color) inset;
    }
    & .box-content {
      z-index: 2;
      h4 {
        color: var(--primary_color);
        font-family: Exo;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
        margin: 3rem 0 0;
      }

      p {
        color: #f5f5f5;
        font-family: Archivo;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 187.5% */
        margin: 0.94rem 0 1.88rem;
      }
    }
    a {
      background: linear-gradient(
        90deg,
        rgba(255, 133, 26, 0) 0%,
        rgba(255, 187, 0, 0) 100%
      );

      transition: 0.3s ease-out;
      width: 100%;
      padding: 0.8rem 0;
      color: #fff;
      text-align: center;
      font-family: Archivo;
      font-size: 1rem;
      font-style: normal;
      font-weight: 700;
      line-height: 1.875rem; /* 187.5% */
      display: flex;
      justify-content: center;
      i {
        padding-inline: 0.5rem;
      }
    }
  }
}

.type-2,
.serv_card_v3 {
    display: flex;
    padding: 2.5rem;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    gap: 0.625rem;
    flex: 1;
    height: 24rem;
    border-radius: 0.625rem;
    background: linear-gradient(0deg, #fff 0%, #fff 100%),
        lightgray 50% / cover no-repeat;
    box-shadow: 0px 0px 15px 0px rgba(0, 0, 0, 0.1);
    position: relative;

    &::before {
        position: absolute;
        content: "";
        background-color: #fff;
        transition: 0.3s ease-in-out;
        width: 100%;
        height: 100%;
        inset: 0;
        z-index: 0;
    }

    &:hover {
        &::before {
            background-color: #002a5cb2;
        }

        .pen {
            transform: rotateY(180deg);
        }

        p,
        a,
        h3 {
            color: white;
        }
    }

    p,
    h3,
    a,
    i {
        z-index: 2;
    }

    i {
        color: var(--primary_color);
    }

    .pen {
        font-size: 3.32em;
        margin-bottom: 1.88rem;
        transition: 0.35s ease-in-out;
        display: block;
    }

    h3 {
        color: var(--secondary_color);
        text-align: center;
        font-family: Exo;
        font-size: 1.5rem;
        font-style: normal;
        font-weight: 800;
        line-height: normal;
        text-transform: uppercase;
    }

    p {
        color: #555;
        text-align: center;
        font-family: Archivo;
        font-size: 1rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem;
        /* 187.5% */
    }

    a {
        color: var(--secondary_color);
        text-align: center;
        font-family: Archivo;
        font-size: 0.875rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem;
        /* 214.286% */
        display: flex;
        align-items: center;
        gap: 1rem;
    }
}
.type-2 {
    transition: 0.3s ease-in-out;

    p,
    a,
    h3 {
        color: white;
    }

    &::before {
        background-color: #002a5cb2;
    }

    &:hover {
        transition: 0.3s ease-in-out;

        p {
            color: #555 !important;
        }

        h3,
        a {
            color: var(--secondary_color) !important;
        }

        &::before {
            background: linear-gradient(0deg, #fff 0%, #fff 100%),
                lightgray 50% / cover no-repeat;
        }
    }
}

.result {
  background: center url(/images/background/2.jpg);
  background-size: cover;
  padding: 2.8125rem 7.5rem;
  align-content: center;
  margin-bottom: 4rem;
  ul {
    gap: 2rem;
    flex-wrap: wrap;
    & li {
      align-items: center;
      &:not(:last-child) {
        padding-inline-end: 2rem;
        border-inline-end: 1px solid #e1e1e1;
      }

      & .img_holder {
        position: relative;
        & img {
          width: 6.875rem;
          height: 6.9375rem;
          flex-shrink: 0;
          aspect-ratio: 110/111;
        }
        span {
          position: absolute;
          color: #fff;
          font-family: Exo;
          font-size: 3rem;
          font-style: normal;
          font-weight: 400;
          line-height: 2.5rem; /* 83.333% */
          top: 50%;
          inset-inline-start: 50%;
          transform: translate(-50%, -50%);
        }
      }
      h5 {
        color: #fff;
        font-family: Archivo;
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 166.667% */
      }
    }
  }
}
/* end services styles */

/*start sevices details  */
.serv_info {
  .bnr {
    width: 722px;
    height: 481px;
    object-fit: cover;
  }
  h1 {
    color: #081245;
    font-family: Exo;
    font-size: 2.25rem;
    font-style: normal;
    font-weight: 800;
    line-height: normal;
    max-width: 30rem;
    margin: 3rem 0 0;
  }
  p {
    color: #555;
    font-family: Archivo;
    font-size: 1.125rem;
    font-style: normal;
    font-weight: 400;
    line-height: 1.875rem; /* 166.667% */
    margin: 1.88rem 0 3rem;
  }
  ul {
    margin-bottom: 3rem;
    li {
      margin-bottom: 0.94rem;
      padding: 0.9rem 0;
      i {
        color: fe02c5;
        font-size: 1.5rem;
      }
      h6 {
        color: #555;
        font-family: Archivo;
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 166.667% */
      }
    }
  }
  .bnr-2 {
    height: 21.8125rem;
    width: 22rem;
    object-fit: cover;
  }
}
.body {
  padding-top: 3rem;
  border: 1px solid #f5f5f5;
  margin-bottom: 1.5rem;
  h2 {
    color: var(--secondary_color);
    font-family: Exo;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
    text-align: center;
    margin-bottom: 1rem;
  }
  img {
    display: block;
    margin: auto;
  }
  ul {
    margin-top: 1.5rem;
    li {
      border-bottom: 1px solid #f5f5f5;
      padding: 1rem 2rem;
      gap: 0.625rem;
      position: relative;
      overflow: hidden;
      transition: all 0.3s ease-out;
      cursor: pointer;
      background: none;
      &:hover {
        i,
        p {
          color: white;
        }
        -webkit-transition: background 200ms ease;
        -o-transition: background 200ms ease;
        transition: background 200ms ease;
        background: linear-gradient(90deg, var(--secondary_color) 0%, var(--secondary_color) 21.6%);
        img {
          opacity: 1;
        }
      }
      img {
        transition: 0.3s ease-out;
        opacity: 0;
        position: absolute;
      }
      .obj {
        inset-inline-end: -5rem;
        bottom: -2.18988rem;
      }
      .circle {
        inset-inline-start: -7.125rem;
        bottom: -5.6875rem;
      }
      i {
        z-index: 2;
        color: var(--primary_color);
        font-size: 1.3rem;
      }
      p {
        z-index: 2;
        color: #555;
        font-family: Archivo;
        font-size: 1.125rem;
        font-style: normal;
        font-weight: 400;
        line-height: 1.875rem; /* 166.667% */
      }
    }
  }
}
.footer {
  display: flex;
  padding: 3rem 0rem;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  align-self: stretch;
  justify-content: center;
  p {
    color: var(--primary_color);
    text-align: center;
    font-family: Exo;
    font-size: 1rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
  h5 {
    color: var(--secondary_color);
    font-family: Exo;
    font-size: 1.5rem;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
  }
  .btn-style-two {
    width: 75%;
    i {
      padding-inline: 0.5rem;
    }
  }
}
/*emd sevices details  */
