:root {
  --alfain-primary-color: #004FD6;
  --btn-text-color: white;
  --pg-font-size: 16px;
  --heading-font-weight: bolder;
  --btn-two-hover-bachground-color: white;
  --alfain-secondary-color: #0000cc;
  --text-dark-color: #696969;
  --on-hover-card-inner-color: #f3f6fa;
  --web-development-sub-text-color: #081b3e;
}

/*media query*/

.web-development {
  padding-top: 0px;
  padding-bottom: 0px;
  min-height: 600px;
  display: flex;
  align-items: flex-start;
  flex-direction: column;
  justify-content: center;
}

.web-development-wrap {
  background-image: url('assets/images/web-dev-main-bg.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
.dev-ops-design-wrap {
  background-image: url('assets/images/dev_ops-main-img.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
.mobile-development-wrap{
  background-image: url('assets/images/mobile-development.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
.ui-ux-design-wrap{
  background-image: url('assets/images/ui-ux-design.jpg');
  background-repeat: no-repeat;
  background-size: cover;
}
.iot-design-wrap{
  background-image: url('assets/images/iot-image-main.jpg');
  background-repeat: no-repeat;
  background-size: cover;

}

.card-image-bottom .image-bottom{
  margin-top: 46px;
}
p.product-new-dis.mobile-discription {
  min-height: 110px;
}
.image-box-left{
  margin-bottom: 0px;
}
.image-box-left img {
  width: 100%;
  border-radius: 8px;
  height: 200px;
}
h2.inner-heading2-new-bold.new-two-column {
  font-size: 28px;
  line-height: 38px;
}
h2.inner-heading2-new-bold.mbile-services{
  min-height: 82px;
}

/*overview*/
.overview-card-3 {
  margin-top: 20px;
  width: 300px;
  background: 
  linear-gradient(
      rgba(0, 0, 0, 0.5), /* Gradient color with opacity */
      rgba(0, 0, 0, 0.5) /* Gradient color with opacity */
  ),
  url('assets/images/UIUX.svg');
  color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
  min-height: 200px;
}
.overview-card-1 {
  /* background-color: #f3f6fa; */
  width: 300px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5),
      /* Gradient color with opacity */
      rgba(0, 0, 0, 0.5)
      /* Gradient color with opacity */
    ),
    url('assets/images/telehealthdoctor.jpg');
  color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.overview-card-2 {
  /* background-color: #f3f6fa; */
  width: 300px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5),
      /* Gradient color with opacity */
      rgba(0, 0, 0, 0.5)
      /* Gradient color with opacity */
    ),
    url('assets/images/bpmeasurement.jpg');
  color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.overview-card-4 {
  /* background-color: #f3f6fa; */
  width: 300px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5),
      /* Gradient color with opacity */
      rgba(0, 0, 0, 0.5)
      /* Gradient color with opacity */
    ),
    url('assets/images/appointmentreminder.jpg');
  color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}

.overview-card-5 {
  margin-top: 20px;
  width: 300px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.5),
      /* Gradient color with opacity */
      rgba(0, 0, 0, 0.5)
      /* Gradient color with opacity */
    ),
    url('assets/images/datamining.svg');
  color: #ffffff;
  background-size: cover;
  background-repeat: no-repeat;
  min-height: 200px;
  padding: 20px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  border-radius: 4px;
}


@media (max-width: 575px) {
  .card-outer .card-main {
    max-width: 80%;
  }

  .hp-card-inner {
    margin: 0px 40px;
  }

  .devops-cycle-outer .cycle-background {
    background-image: none;
    background-color: var(--web-development-sub-text-color);
  }

  .devops-cycle-outer .devops-development-cycle-mobile-view {
    display: block;
  }

  .devops-cycle-outer .cycle-background {
    display: none;
  }

  .counter-inner .counterheading {
    font-size: 80px;
  }
}

@media screen and (min-width: 576px) and (max-width: 767px) {
  icon-wireframing .card-outer .card-main {
    max-width: 60%;
  }

  .hp-card-inner {
    margin: 0px 50px;
  }

  .devops-card-2 {
    float: left;
  }

  .devops-process-cycle-second-row .devops-card-3 {
    float: right !important;
  }

  .devops-process-cycle-thirs-row .devops-card-3 {
    float: right !important;
  }

  .fist-second-section-combine .container-inner {
    max-width: 100%;
  }

  .development-cycle .development-cycle-container-inner.pb-5 {
    max-width: 100%;
  }

  .cardtwo-discription-section .cardtwo-discription {
    padding: 0px 60px;
  }

  .padding-top-on-monile {
    padding-top: 40px;
  }

  .cycle-background .devops-process-cycle-first-row {
    padding-top: 0px;
  }

  .cycle-background .devops-process-cycle-second-row {
    margin-top: 0px;
  }

  .cycle-background .devops-process-cycle-thirs-row {
    margin-top: 0px;
  }

  .devops-process-cycle-second-row .devops-card-main-left {
    float: none;
  }

  .devops-process-cycle-second-row .devops-card-main-right {
    float: left;
  }

  .cardtwo-discription-section .devops-card-discription {
    display: none;
  }

  .devops-cycle-outer .cycle-background {
    background-image: url("assets/svg/Devops-process-background-mobile-v.svg");
    background-size: 100% 95%;
  }
}

@media screen and (min-width: 768px) and (max-width: 991px) {
  .card-outer .card-main {
    max-width: 80%;
  }

  .fist-second-section-combine .container-inner {
    max-width: 100%;
  }

  .development-cycle .development-cycle-container-inner.pb-5 {
    max-width: 100%;
  }

  .cardtwo-discription-section .cardtwo-discription {
    padding: 0px 40px;
  }

  .padding-top-on-monile {
    padding-top: 40px;
  }

  .cycle-background .devops-process-cycle-first-row {
    padding-top: 0px;
  }

  .cycle-background .devops-process-cycle-second-row {
    margin-top: 0px;
  }

  .cycle-background .devops-process-cycle-thirs-row {
    margin-top: 0px;
  }

  .devops-process-cycle-second-row .devops-card-main-left {
    float: none;
  }

  .devops-process-cycle-second-row .devops-card-main-right {
    float: none;
  }

  .cardtwo-discription-section .devops-card-discription {
    display: none;
  }

  .devops-cycle-outer .cycle-background {
    background-image: url("assets/svg/Devops-process-background-mobile-v.svg");
    background-size: 100% 94%;
  }
}

/* Media query end*/
@media screen and (min-width: 992px) and (max-width: 1199px) {
  .cycle-background .devops-process-cycle-first-row {
    padding-top: 0px;
  }

  .cycle-background .devops-process-cycle-thirs-row {
    margin-top: -20px;
  }

  .cycle-background .devops-process-cycle-second-row {
    margin-top: -20px;
  }

  .card-outer .card-main {
    max-width: 80%;
  }

  .cardtwo-discription-section .cardtwo-discription {
    padding: 0px 60px;
  }
}

@media screen and (min-width: 1200px) and (max-width: 1400px) {
  .card-outer .card-main {
    min-height: 330px;
  }

  .cycle-background .devops-process-cycle-thirs-row {
    margin-top: 0px;
  }
}

/*media quries*/
/*main hero section of main page*/
.digital-solutions {
  color: var(--alfain-primary-color);
  padding-left: 10px;
}

/*main hero section of main page end*/
/*Main  page our services css*/
.hp-section-heading-section {
  display: flex;
  text-align: center;
}

.hp-section-heading-section-inner {
  max-width: 83%;
}

.hp-secrion-two-heading {
  font-family: "Lato-Heavy";
  font-size: 40px;
  line-height: 1.6;
}

.hp-card {
  border: 1px solid #d3d9e6;
  padding: 15px 15px 15px 15px;
  height: 350px;
  background: #eaf2fb;
  /* background: rgb(255,255,255);
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(239,245,251,1) 100%); */
  background-position: right bottom;
  border-radius: 10px;
}

.hp-card:hover {
  background-position: left bottom;
  /* background: linear-gradient(to right, var(--alfain-primary-color) 50%, rgba(255,255,255,1) 50%); */
  background: linear-gradient(to right,
      var(--alfain-primary-color) 50%,
      #eaf2fb 50%);
  background-size: 200% 100%;
}

.hp-card:hover svg path {
  fill: white;
}

.hp-card:hover svg {
  width: 70px;
  height: 70px;

}

.hp-card-icon-section {
  min-height: 80px;
  margin-bottom: 10px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.onhover-heading-span {
  margin-top: 40px;
}

.on-hover-text-section {
  display: none;
}

.hp-card-onhover-heading {
  display: none;
  font-size: 15px;
  color: white;
  margin: 20px 0px;
  font-weight: 900;
}

.on-hover-text {
  font-size: 15px;
  color: white;
  text-align: justify;
}

.hp-card:hover .on-hover-text-section {
  display: block;
}

.hp-card:hover .hp-card-onhover-heading {
  display: block;
}

.hp-card:hover .hp-card-heading-section {
  display: none;
}

.hp-card:hover .hp-card-discription-section {
  display: none;
}

.hp-card:hover hr {
  display: none;
}

.hp-card:hover .hp-card-icon-section {
  margin-bottom: 4px;
}

.hp-card-heading {
  font-size: 20px;
  font-family: 'PTSerif-Bold';
  text-align: center;
}

.hp-card-discription {
  font-size: 15px;
  color: #212529;
  max-width: 90%;
}

/*Main  page our services css end*/
/*main hero section of webdevelopment page css*/
.herosection-letcol-top-heading {
  font-size: 18px;
  color: var(--alfain-primary-color);
  text-transform: uppercase;
  font-family: 'Poppins-SemiBold';
}

.web-hero-secrion-heading {
  font-family: 'PTSerif-Bold';
  font-size: 38px;
}

.web-hero-secrion-heading:lang(ar) {
  font-family: "Amiri", serif;
  font-size: 38px;
}

.main-section-anchor-tag {
  text-decoration: none;
  background-color: white;
  color: var(--alfain-primary-color);
  padding: 8px 12px 8px 12px;
  border: 1px solid var(--alfain-primary-color);
  border-radius: 5px;
  display: flex;
  max-width: 230px;
  font-family: 'Poppins-Regular';
}

.main-section-anchor-tag:hover {
  background-color: var(--alfain-primary-color);
  color: white;
}

.main-section-btn {
  display: inline !important;
}

.web-hero-section-dis {
  font-size: 16px;
  color: var(--web-development-sub-text-color);
  font-family: 'Poppins-Light';
}

.web-hero-section-dis:lang(ar) {
  font-family: "Amiri", serif;
}

.east {
  margin-left: 20px;
}

/*main hero section of webdevelopment page css end*/

/*overview section css*/
.fist-second-section-combine {
  /*background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(239,245,251,1) 50%, rgba(255,255,255,1) 100%);*/
  background: linear-gradient(180deg,
      rgba(255, 255, 255, 1) 0%,
      rgba(239, 245, 251, 1) 100%);
}

.wireframing-icon {
  display: inline-block;
  width: 55px;
  height: 47px;
  background-size: cover;
}

.card-main:hover .card-icon-section .icon-wireframing {
  background-image: url(../assets/svg/multiplebox-white.svg);
}

.icon-wireframing {
  background-image: url(../assets/svg/multiplebox-blue.svg);
}

.card-outer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.container-inner {
  max-width: 83%;
  width: 100%;
  margin: 0px auto;
}

.tech-stack-wrap {
  background-color: rgba(0, 79, 214, 0.05);
  padding: 32px 24px;
  border-radius: 16px;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.card-main {
  text-align: center;
  border: 1px solid #e1e4ea;
  padding: 20px 19px 20px 20px;
  border-radius: 8px;
  min-height: 320px;
  background: #FFF1F4;
}

.card-discription {
  color: #081b3e;
  font-size: 15px;
}

/*First type card type*/
.card-main:hover {
  background-color: var(--alfain-primary-color);
}

.card-main:hover .card-icon-section svg path {
  fill: #f3f6fa;
}

.card-main:hover .card-icon-section svg text {
  fill: #f3f6fa;
}

.card-main:hover .card-icon-section .Wireframing path {
  fill: var(--alfain-primary-color);
}

.card-main:hover .card-icon-section .Wireframing Line {
  stroke: #f3f6fa;
}

.card-main:hover .card-icon-section svg g line {
  fill: #f3f6fa;
}

.card-main:hover .card-icon-section-two svg g circle {
  fill: #f3f6fa;
  stroke: #f3f6fa;
}

.card-main:hover .card-icon-section-two svg rect {
  stroke: #f3f6fa;
}

.card-main:hover .card-icon-section-two svg line {
  stroke: #f3f6fa;
  fill: #f3f6fa;
}

.card-main:hover .card-icon-section-two svg path {
  stroke: #f3f6fa;
  fill: var(--alfain-primary-color);
}

.card-main:hover .card-icon-section-two .first-g circle {
  stroke: #f3f6fa;
  fill: var(--alfain-primary-color);
}

.card-main:hover .card-icon-section-three svg path {
  fill: none !important;
}

.card-main:hover .card-icon-section .uiux-first-icon path {
  stroke: #f3f6fa;
  fill: var(--alfain-primary-color);
}

.card-main:hover .card-icon-section .uiux-first-icon line {
  stroke: #f3f6fa;
}

.card-main:hover .card-icon-section .uiux-first-icon ellipse {
  fill: #f3f6fa;
}

.card-main:hover .card-icon-section .uiux-first-icon circle {
  fill: #f3f6fa;
}

.card-main:hover .card-icon-section .Wireframing .main-g .second-card-two-g path {
  stroke: white;
}

.card-main:hover .card-icon-section .Wireframing .main-g .inner-g-three path {
  stroke: white;
}

.card-main:hover .card-heading-section .card-heading {
  color: var(--on-hover-card-inner-color);
}

.card-main:hover .card-discription-section p {
  color: var(--on-hover-card-inner-color);
}

/*first type card end*/
/*second type card*/
.card-icon-section

/*second type card*/
.card-icon-section-two {
  padding: 0px 10px;
}

.card-icon-section-three {
  padding: 0px 10px;
}

.card-heading-section {
  padding: 0px 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 60px;
}

.bpo-card-heading-section {
  display: block !important;
  width: 100%;
}

.card-heading {
  font-size: 18px;
  font-family: 'Poppins-Bold';
}

.card-discription-section {
  font-size: 14px;
  /* font-family: 'Lato-Regular'; */
}

/*overview section css end */

/*TECH STACK SECTION CSS*/
.tech-stack-heading {
  font-size: 32px;
  font-family: 'PTSerif-Bold';
}

.tech-stack-logos-parent .tech-stack-logos ul {
  list-style: none;
  padding: 0;
  display: block;
  justify-content: center;
}

.tech-stack-logos ul li {
  display: inline;
  padding: 0px 10px 0px 0px;
}

.tech-logo {
  margin-top: 10px;
  height: 50px;
}

/*TECK STACK SECTION CSS*
 /*Development cycle section css*/
.development-cycle-container-inner.pb-5 {
  max-width: 95%;
  width: 100%;
  margin: 0px auto;
}

.cardtwo-main {
  margin: 35px 20px 25px 20px;
}

.cardtwo-inner {
  text-align: center;
}

.cardtwo-icon {
  display: flex;
  justify-content: center;
  align-items: center;
}

.cardtwo-heading {
  font-size: 20px;
  font-family: 'PTSerif-Bold';
}

.cardtwo-discription {
  padding: 0px 52px;
  font-size: 14px;
  line-height: 18px;
  color: var(--web-development-sub-text-color);
  font-family: 'Poppins-Light';
}

/*Devops development-cycle-*/
.process-development-cycle-container-inner {
  max-width: 83%;
  width: 100%;
  margin: 0px auto;
}

.cycle-background {
  background-image: url("assets/images/devops-development-cycle-background.jpg");
  background-size: 100%;
  background-repeat: no-repeat;
}

.devops-development-cycle-mobile-view {
  display: none;
}

.devops-development-cycle-mobile-view img {
  width: 100%;
}

.devops-card-main-center {
  width: 150px;
  text-align: center;
  margin: 0px auto;
}

.card-icon-section {
  min-height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.devops-card-discription {
  color: var(--web-development-sub-text-color);
  font-size: 15px;
  font-family: "Lato-Regular";
}

.devops-card-icon.mb-4 {
  display: flex;
  justify-content: center;
  align-items: center;
}

.devops-card-main-left {
  width: 150px;
  text-align: center;
  margin: 0px auto;
  float: left;
}

.devops-card-main-right {
  width: 150px;
  margin: 0px auto;
  float: right;
  text-align: center;
}

.devops-process-cycle-first-row {
  padding-top: 10px;
}

.devops-process-cycle-second-row {
  margin-top: 10px;
}

.devops-process-cycle-thirs-row {
  margin-top: 55px;
}

/*ciccular progress bar*/
.circle-wrap {
  width: 100px;
  height: 100px;
  background: #eaeef2;
  border-radius: 50%;
}

.circle-wrap .circle .mask,
.circle-wrap .circle .fill {
  width: 100px;
  height: 100px;
  position: absolute;
  border-radius: 50%;
}

.circle-wrap .circle .mask {
  clip: rect(0px, 100px, 100px, 50px);
}

.circle-wrap .inside-circle {
  width: 89px;
  height: 89px;
  border-radius: 50%;
  background: #f5f7f9;
  line-height: 90px;
  text-align: center;
  margin-top: 5px;
  margin-left: 5px;
  color: #337ABE;
  position: absolute;
  z-index: 100;
  font-weight: 700;
  font-size: 2em;
}

.circle-wrap .inside-circle:lang(ar) {
  width: 89px;
  height: 89px;
  border-radius: 50%;
  background: #f5f7f9;
  line-height: 90px;
  text-align: center;
  margin-top: 5px;
  margin-right: 5px;
  color: #337ABE;
  position: absolute;
  z-index: 100;
  font-weight: 700;
  font-size: 2em;
}

/* 1ST progress bar */
.mask .fill {
  clip: rect(0px, 50px, 100px, 0px);
  background-color: #0d54ce;
}

.mask.full,
.circle .fill {
  animation: fill ease-in-out 1s;
  transform: rotate(25deg);
}

@keyframes fill {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(25deg);
  }
}

/* PLAN Progress Bar */
.mask .fillone {
  background-color: #0d54ce;
}

.mask.fullone,
.circle .fillone {
  animation: fillone ease-in-out 2s;
  transform: rotate(50deg);
}

@keyframes fillone {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(50deg);
  }
}

/*CODE Card progress bar*/
.mask .filltwo {
  background-color: #0da8ce;
}

.mask.fulltwo,
.circle .filltwo {
  animation: filltwo ease-in 3s;
  transform: rotate(75deg);
}

@keyframes filltwo {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(75deg);
  }
}

/*CODE Card progress bar*/

/*3rd card/Test Card progress bar*/
.mask .fillthree {
  background-color: #970dce;
}

.mask.fullthree,
.circle .fillthree {
  animation: fillthree ease-in 4s;
  transform: rotate(100deg);
}

@keyframes fillthree {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(100deg);
  }
}

/*3rd card/Test Card progress bar*/

/*4th card*/
.mask .fillfour {
  background-color: #22687a;
}

.mask.fullfour,
.circle .fillfour {
  animation: fillfour ease-in 5s;
  transform: rotate(120deg);
}

@keyframes fillfour {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(120deg);
  }
}

/*4th card end*/
/*5th card*/
.mask .fillfive {
  background-color: #0dceb0 !important;
}

.mask.fullfive,
.circle .fillfive {
  animation: fillfive ease-in-out 6s;
  transform: rotate(145deg);
}

@keyframes fillfive {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(145deg);
  }
}

/*5th card end*/
/*5th card*/
.mask .fillsix {
  background-color: #33cc80 !important;
}

.mask.fullsix,
.circle .fillsix {
  animation: fillsix ease-in-out 7s;
  transform: rotate(180deg);
}

@keyframes fillsix {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(180deg);
  }
}

/*5th card end*/
/*circuler progress bar end*/
/*Development cycle section css end*/
/*case studes section css*/
.case-studies {
  padding-bottom: 50px;
}

.case-studies-page-jumbotron {
  border-radius: 10px;
}

.featured-card-cs {
  padding: 25px 20px 25px 20px;
}

.btn-3 {
  color: var(--alfain-primary-color);
  border-color: var(--alfain-primary-color);
}

.btn-3:hover {
  background-color: var(--alfain-primary-color);
}

/*case studes section css end*/
/*check-out-services-section css*/
.check-out-card {
  text-align: center;
  display: flex;
  justify-content: center;
}

.check-out-card-inner {
  padding: 20px 10px;
}

.more-service-card-link {
  text-decoration: none;
  color: inherit;
}

/*check-out-services-section css end*/

/* counter section*/
.counter-section {
  padding: 30px 0px;
}

.counter-outer {
  display: flex;
  justify-content: center;
  align-items: center;
}

.counter-inner {
  text-align: center;
}

.plus {
  margin: 0px 5px;
}

.counterheading {
  font-size: 120px;
  color: #337ABE;
  font-weight: bold;
}

.counter-sub-heading {
  font-size: 18px;
  font-weight: bold;
}

/* counter section*/

/* hp-card-icon-section Muddasir Balouch changings */
@keyframes rotateIcon {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.hp-card:hover .icon-svg svg {
  animation: rotateIcon 1s ease-in-out forwards;
  /* Adjust duration and timing function */
}