.card-head {
  position: relative;

  padding-right: 66px; /* room for right icon */
}

.card-head h3 {
  margin: 0;
}

.card-icon {
  position: absolute;

  right: 0;

  top: 50%;

  transform: translateY(-50%);

  width: 48px;

  height: 48px;

  display: inline-flex;

  align-items: center;

  justify-content: center;

  border-radius: 50%;

  background: var(--bg-offwhite);

  box-shadow: 0 6px 18px rgba(8, 17, 26, 0.06);

  border: 1px solid rgba(0, 0, 0, 0.06);
}

.card-icon img {
  height: auto;
}

/* .ai-solutions .card-body p {
  margin-bottom: 24px;
} */

.card-body ul li {
  margin-bottom: 7px;
}

.arrow-list li {
  position: relative;

  padding-left: 36px;

  list-style: none;
}

.arrow-list li::before {
  content: "";

  position: absolute;

  left: 10px;

  top: 7px;

  width: 16px;

  height: 16px;

  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16' fill='none'><path d='M12.3606 3.63895C12.4543 3.7327 12.507 3.85999 12.507 3.99251V9.71565C12.5067 9.99151 12.283 10.2155 12.0071 10.2156C11.7311 10.2156 11.5074 9.99156 11.5071 9.71565V5.19956L4.34699 12.3597C4.15181 12.5548 3.83514 12.5547 3.63988 12.3597C3.44464 12.1645 3.44468 11.8479 3.63988 11.6526L10.8 4.49245H6.28394C6.00793 4.49237 5.78411 4.2685 5.78399 3.99251C5.78399 3.71641 6.00786 3.49264 6.28394 3.49256H12.0071L12.1051 3.50223C12.2012 3.52147 12.2904 3.56869 12.3606 3.63895Z' fill='%23292D32'/></svg>")
    no-repeat center center;

  background-size: contain;
}

.solution-cards .card {
  padding: 24px;
}

.card.ai-style {
  padding: 32px 32px 58px 32px !important;
  min-height: 266px !important;
}

/* .page-id-4895 .solution-cards .card {
  padding: 32px 32px 58px 32px !important;
} */

.stacked-cards .card-head  h3 {
  line-height: 40px;
}

/* .page-id-5032 .solution-cards .card {
  min-height: 266px;
} */

.solution-cards .card-body {
  padding: 0 !important;
}

@media (max-width: 767.98px) {
  .card-body ul li:last-child {
    margin-bottom: 0;
  }
  .ai-solutions .card-body p {
    margin-bottom: 0px;
  }
}

@media (min-width: 768px) {
  /* .card-body ul li:nth-last-child(-n + 2) {
    margin-bottom: 0;
  } */
  .card-body ul li:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 991.98px) {
  .solution-cards.scroll-services {
    display: flex;

    flex-wrap: nowrap;

    overflow-x: auto;

    gap: 12px;

    scroll-snap-type: x proximity;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    padding: 2px;
  }

  .solution-cards.scroll-services::-webkit-scrollbar {
    display: none;
  }

  .solution-cards.scroll-services > [class*="col-"] {
    flex: 0 0 88%;
    scroll-snap-align: start;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 10px;
  }
 
  .solution-cards.scroll-services-m {
    display: flex;

    flex-wrap: nowrap;

    overflow-x: auto;

    scroll-snap-type: x proximity;

    -webkit-overflow-scrolling: touch;

    scrollbar-width: none;
    padding: 2px;
  }

  .solution-cards.scroll-services-m::-webkit-scrollbar {
    display: none;
  }

  .solution-cards.scroll-services-m > [class*="col-"] {
    flex: 0 0 90%;
    scroll-snap-align: start;
    padding-right: 0;
    padding-left: 0;
    padding-bottom: 10px;
  }
 
  
  .solution-cards .card {
    min-width: 100%;
  }
  .h-md-200 {
    height: 250px;
    object-fit: cover;
  }
  .stacked-cards {
        padding-top: 248px;
  }
  .first-img-card {
    padding: 0px !important;
  }
  .first-img-card .card-body{
    padding: 18px 0px !important;
  }

  /* .card h3 {
  font-size: 28px !important;
} */
}
