/* Basic Css */
.client-sec,
.portal-sec,
.process-flow,
.portal-service-sec,
.web-portal-paragraph {
  .sec-title {
    margin-bottom: 30px;
    max-width: 800px;
    margin: auto;
  }

  .sec-title .title-badge {
    position: relative;
    font-weight: 500;
    font-size: 16px;
    line-height: 26px;
    color: #6b61fc;
    margin-bottom: 20px;
    text-transform: capitalize;
    border-radius: 30px;
    padding: 3px 20px;
    display: inline-block;
    margin-top: 0;
    z-index: 1;
  }

  .sec-title .title-badge::after {
    content: "";
    position: absolute;
    inset: 0;
    background: #6b61fc;
    opacity: 0.1;
    border-radius: 30px;
    z-index: -1;
  }

  .sec-title h2 {
    font-size: calc(1rem + 1vw);
    font-weight: 600;
  }

  .sec-title p {
    color: #494949;
  }

  .sec-title .head-line {
    height: 2px;
    width: 50px;
    background: #ff9c1a;
    display: inline-block;
  }

}

/* Banner Css */
.web-banner-sec {
  z-index: 3;
  overflow: hidden;
}

.web-banner-sec::after {
  position: absolute;
  content: "";
  top: 0;
  left: 0;
  background: url(../img/web-portal/hero.svg) no-repeat;
  height: 100%;
  width: 100%;
  z-index: -1;
  opacity: 0.1;
}

.web-banner-sec .banner-text .heading-badge {
  position: relative;
  font-weight: 500;
  font-size: 16px;
  line-height: 26px;
  color: #6b61fc;
  margin-bottom: 30px;
  text-transform: capitalize;
  border-radius: 30px;
  padding: 3px 20px;
  display: inline-block;
  margin-top: 0;
}

.web-banner-sec .banner-text .heading-badge::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #6b61fc;
  opacity: 0.1;
  border-radius: 30px;
  z-index: -1;
}

.web-banner-sec .banner-text {
  padding: calc(3rem + 2vw) 0;
}

.web-banner-sec .banner-text .title {
  font-weight: 600;
  margin-bottom: 15px;
}

.web-banner-sec .banner-text .text {
  color: #5c6574;
  font-weight: 500;
  margin-bottom: 30px;
}

.web-banner-sec .banner-text .btn-gredient {
  border-color: #4526b1;
  background: linear-gradient(135deg, #4526b1 0%, #5435be 45%, #7153d9 66%);
}

.web-banner-sec .banner-text .btn-gredient:hover {
  background: linear-gradient(15deg, #4526b1 0%, #5435be 45%, #7153d9 66%);
  transform: translateY(-5px);
  box-shadow: 0px 5px 10px #7053d9 75;
  transition: all 0.3s ease-in-out;
}

/* Client Css */
.client-sec .trusted-partners .trustedSwiper {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.client-sec .trusted-partners .trustedSwiper .swiper-slide {
  margin-bottom: 20px;
  transition: all 0.3s ease-in-out;
  filter: grayscale(100%);
}

.client-sec .trusted-partners .trustedSwiper .swiper-slide:hover {
  filter: grayscale(0);
  transition: all 0.3s ease-in-out;
}

.client-sec .trusted-partners .trustedSwiper .swiper-slide img {
  height: 90px;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
}

/* Portal Sec Css */
.portal-sec {
  background: #f6f1fd;
}

.portal-sec .box-item {
  padding: 30px;
  background-color: #fff;
  box-shadow: 0px 0px 25px #5535be41;
  border-radius: 10px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  text-align: center;
  transition: 0.5s all ease;
  height: 100%;
}

.portal-sec .box-item::before {
  width: 110px;
  height: 110px;
  position: absolute;
  left: -60px;
  top: -60px;
  content: "";
  background-color: #5435be;
  border-radius: 50%;
  opacity: 0.04;
  z-index: -1;
  transition: 0.5s all ease;
}

.portal-sec .box-item::after {
  width: 110px;
  height: 110px;
  position: absolute;
  right: -60px;
  bottom: -60px;
  content: "";
  background-color: #5435be;
  border-radius: 50%;
  opacity: 0.04;
  z-index: -1;
  transition: 0.5s all ease;
}

.portal-sec .box-item:hover {
  background-color: #6847d4;
  transform: translatey(-5px);
}

.portal-sec .box-item:hover::after {
  background-color: #fff;
  opacity: 0.1;
  width: 500%;
  height: 500%;
}

.portal-sec .box-item .icon {
  width: 100px;
  height: 100px;
  line-height: 0;
  display: flex;
  position: relative;
  z-index: 1;
  align-items: center;
  justify-content: center;
  margin: 0px auto 30px;
}

.portal-sec .box-item .icon::after {
  transition: 0.5s all ease;
  width: 100px;
  height: 100px;
  background-color: #fff;
  border-radius: 50%;
  transform: translateX(-50%) translateY(-50%) scale(0.1);
  position: absolute;
  left: 50%;
  content: "";
  z-index: -1;
  top: 50%;
  opacity: 0;
}

.portal-sec .box-item:hover .icon::after {
  transform: translateX(-50%) translateY(-50%) scale(1);
  opacity: 1;
}

.portal-sec .box-item .icon img {
  transition: all 0.3s 0.3s ease-in-out;
}

.portal-sec .box-item:hover .icon img {
  transform: scale(0.8);
  transition: all 0.3s 0.3s ease-in-out;
}

.portal-sec .box-item h4 {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
  transition: all 0.6s;
  text-transform: capitalize;
}

.portal-sec .box-item p {
  transition: all 0.6s;
  color: #494949;
  font-size: 16px;
}

.portal-sec .box-item:hover h4 {
  color: white;
  transition: all 0.6s;
}

.portal-sec .box-item:hover p {
  color: white;
  transition: all 0.6s;
}

/* Process flow Css */
.process-flow .cards::before {
  position: absolute;
  content: "";
  left: 130px;
  top: 37px;
  width: calc(100% - 273px);
  height: 1px;
  background-color: #9995;
  z-index: -1;
}

.process-flow .cards .process-card {
  position: relative;
  text-align: center;
}

.process-card.active .num {
  transition: all 0.3s ease-in-out;
  text-shadow: -4px 5px 3px rgba(0, 0, 0, 0.473);
  -webkit-text-fill-color: #6b61fc !important;
  color: #6b61fc !important;
}

.process-flow .cards .process-card .num {
  position: relative;
  font-size: 60px;
  font-weight: bold;
  width: 75px;
  height: 75px;
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin-bottom: 10px;
  color: #cdc9ff;
  -webkit-text-fill-color: transparent;
  -webkit-text-stroke: 1px;
  background-color: #fff;
  z-index: 10;
  transition: all 0.3s ease-in-out;
}

.process-flow .cards .process-card .num::after {
  content: "Step";
  top: -20px;
  left: -20px;
  font-size: 20px;
  position: absolute;
  -webkit-text-fill-color: rgb(212, 212, 212);
  color: rgb(230, 230, 230);
  z-index: -1;
  text-shadow: none;
}

.process-flow .cards .process-card h4 {
  font-size: 20px;
  font-weight: 600;
}

.process-flow .cards .process-card .text {
  font-size: 16px;
  color: #666;
  line-height: 1.5;
  margin-top: 15px;
}

.process-flow .cards .row .col-lg-3:nth-of-type(even) .process-card {
  padding-top: 120px;
}

.process-flow .cards .row .col-lg-3:nth-of-type(even) .process-card::after {
  position: absolute;
  content: "";
  left: 50%;
  top: 37px;
  width: 1px;
  height: 73px;
  background-color: #9995;
}

@media screen and (max-width: 991px) {
  .process-flow .row .col-lg-3 .process-card {
    padding-top: 120px;
  }

  .process-flow .row .col-lg-3 .process-card::after {
    position: absolute;
    content: "";
    left: 50%;
    top: 37px;
    width: 1px;
    height: 73px;
    background-color: #9995;
  }

  .process-flow .row .col-lg-3:first-of-type .process-card {
    padding-top: 0;
  }

  .process-flow .row .col-lg-3:first-of-type .process-card::after {
    display: none;
  }
}

/* Portal Service Css */
.portal-service-sec {
  background: linear-gradient(135deg, #4526b1 0%, #5435be 45%, #7153d9 66%);
  position: relative;
  z-index: 3;

  &::after {
    position: absolute;
    content: "";
    top: 0;
    left: 0;
    background: url(../img/web-portal/hero.svg) no-repeat;
    background-size: 100% auto;
    height: 100%;
    width: 100%;
    z-index: -1;
    opacity: 0.3;
    mix-blend-mode: overlay;
    filter: invert(1);
  }

  &::before {
    position: absolute;
    content: "";
    background-color: white;
    width: 100%;
    left: 0;
    bottom: 0;
    z-index: -1;
    height: 50%;
  }

  .sec-title {
    .title-badge {
      color: white;
    }

    .title-badge::after {
      background-color: white;
    }
  }

  .service-item {
    background-color: #fff;
    border: 10px;
    box-shadow: 0px 0px 15px rgba(115, 56, 226, 0.3);
    position: relative;
    padding: 25px;
    border-radius: 10px;
    width: 100%;
    height: 100%;
    margin-top: 30px;
  }

  .service-icon {
    width: 90px;
    height: 90px;
    line-height: 90px;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-color: #fff;
    border-radius: 10px;
    box-shadow: 0px 0px 40px rgba(121, 56, 226, 0.3);
    margin-right: 30px;
    position: absolute;
    top: -30px;
    overflow: hidden;
  }

  h4 {
    text-align: end;
    font-size: 25px;
    font-weight: 600;
  }

  .service-content {
    padding-top: 30px;

    .btn-gredient {
      position: absolute;
      bottom: 20px;
      right: 25px;
    }

    h5 {
      font-size: 18px;
      color: #4526b1;
      margin-bottom: 30px;
    }

    ul li {
      display: flex;
      align-items: stretch;
      gap: 10px;
      margin-bottom: 20px;
      color: #494949;

      .icon {
        margin-top: 3px;
        height: 20px;
        width: 20px;
        min-width: 20px;
        display: inline-block;
        background: #6b61fc;
        color: white;
        font-size: 12px;
        display: flex;
        align-items: center;
        justify-content: center;
        border-radius: 50%;
      }

      a {
        color: #6b61fc;
      }
    }
  }

  .stat-row {
    margin-top: calc(0.4rem + 2.5vh);
  }

  .stat-card {
    background: rgb(255, 255, 255);
    box-shadow: 0 0px 15px rgba(127, 24, 223, 0.295);
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: between;
    position: relative;

    &::after {
      content: "";
      position: absolute;
      top: 10px;
      left: 10px;
      width: calc(100% - 20px);
      height: calc(100% - 20px);
      border: 1px dashed #6b61fc;
      border-radius: 5px;
    }

    .icon {
      width: 50px;
    }

    h4 {
      font-size: 35px;
      font-weight: 700;
      margin-bottom: 0;
      color: #6847d4;
    }

    p {
      margin-bottom: 0;
      text-align: end;
    }
  }
}

@media (max-width: 991px) {
  .portal-service-sec::before {
    height: 70%;
  }
}

@media (max-width: 500px) {
  .service-item .heading {
    margin-top: 50px;
    text-align: center;
  }

  .btn-gredient {
    margin: auto;
    width: calc(100% - 50px);
  }
}

/* CTA Css */
.web-cta-sec {
  background: linear-gradient(135deg, #4526b1 0%, #5435be 45%, #7153d9 66%);

  .btn-gredient {
    background: white !important;
    color: #4526b1 !important;

    &:hover {
      transform: translatey(-5px);
    }
  }
}