:root{
    --primary-colour: #10218b;
}
#features img{
    width: 50%;
    margin: auto;
}
#features > .container{
    text-align: center;
}
#features .section__caption{
    text-align: left;
}
#software .card-block__image{
    width: 30%;
    margin: auto;
}
@media screen and (min-width: 992px) {
    .eal-columns.left-wide .eal-col:last-child {
        width: 19%;
        margin-right: 175px;
    }
    #features img{
        width: 15%;
    }
    #software-list{
        column-gap: 50px;
        row-gap: 30px;
        grid-template-columns: repeat(2, 1fr);
    }
    #software .card-block{
        justify-items: center;
    }
}

@media screen and (min-width: 1200px) {
    #software-list{
        grid-template-columns: repeat(3, 1fr);
    }
    #software > .container{
        width: 65%;
        margin: auto;
    }
}

.printers .splide {
    visibility: visible !important; 
}

/*New Update*/

@media screen and (min-width: 992px) {
    .wide-caption .section__caption.EQ {
        position: unset;
        width: 50%;
    }
}

@media screen and (min-width: 992px) {
    .wide-caption .section__image.WC {
        width: 50%;
        height: unset;
    }
}

@media screen and (max-width: 991px) {
    .mobile-padding {
        padding: 30px 30px;
    }
}

#portfolio .row{
    gap: 30px;
}
#ESS .row {
    gap: 30px;
}
#EPS .row {
    gap: 30px;
}
#ISVs .row {
    gap: 30px;
}
#keymarkets .row{
    gap: 0;
}

@media screen and (min-width: 992px) {
    #portfolio .row-cols-xl-2>* {
        width: 50%;
    }
    #ESS .row-cols-xl-2>* {
        width: 50%;
    }
    #EPS .row-cols-xl-2>* {
        width: 50%;
    }
    #ISVs .row-cols-xl-2>* {
        width: 50%;
    }
    #portfolio .row{
        gap: unset;
    }
    #ESS .row{
        gap: unset;
    }
    #EPS .row{
        gap: unset;
    }
    #ISVs .row{
        gap: unset;
    }
}

#portfolio .eal-col{
    padding: 30px 30px 30px 30px;
    border: 1px solid #e5e5e5;
}
#ESS .eal-col{
    padding: 30px 30px 30px 30px;
    border: 1px solid #e5e5e5;
}
#EPS .eal-col{
    padding: 30px 30px 30px 30px;
    border: 1px solid #e5e5e5;
}
#ISVs .eal-col{
    padding: 30px 30px 30px 30px;
    border: 1px solid #e5e5e5;
}

@media screen and (min-width: 1990px) {
       #portfolio .eal-col{
        padding: 30px 30px 30px 30px;
      }
        #ESS .eal-col {
        padding: 30px 30px 30px 30px;
      }
        #EPS .eal-col {
        padding: 30px 30px 30px 30px;
      }
      #ISVs .eal-col {
        padding: 30px 30px 30px 30px;
      }
}

#keymarkets .eal-col{
        border: 10px solid white;
}


.icon-arrow {
    background-image: url("data:image/svg+xml,%3Csvg width='38' height='38' viewBox='0 0 38 38' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='18.8005' cy='18.7991' r='18.6667' transform='rotate(-90 18.8005 18.7991)' fill='white' fill-opacity='0.3'/%3E%3Cpath d='M18.8004 23.524L10.4004 15.124L11.9054 13.619L18.8004 20.549L25.6954 13.654L27.2004 15.159L18.8004 23.524Z' fill='white'/%3E%3C/svg%3E");
    display: inline-block;
    height: 38px;
    /* transition: ease 1s; */
    width: 38px;
    transition: transform 0.3s ease;
    z-index: 4;
    display: flex; 
    margin: 0 auto; 
    position: absolute; 
    bottom: 30px; 
    left: 0; 
    right: 0;
}

.KMCard1 {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
              url('/images/printers-for-business/business-inkjet-signpost_2024_bg-education.jpg') no-repeat center center / cover;
  min-height: 447px; 
}
.KMCard2 {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
              url('/images/printers-for-business/business-inkjet-signpost_2024_bg-healthcare.jpg') no-repeat center center / cover;
  min-height: 447px; 
}
.KMCard3 {
  position: relative;
  background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),
              url('/images/printers-for-business/business-inkjet-signpost_2024_bg-smallbusiness.jpg') no-repeat center center / cover;
  min-height: 447px; 
}

.KMCard1::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: black;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}
.KMCard2::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: black;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}
.KMCard3::after {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: black;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  z-index: 1;
}

.KMCard1:hover::after,
.KMCard1.active::after{
  opacity: 1;
}
.KMCard2:hover::after,
.KMCard2.active::after{
  opacity: 1;
}
.KMCard3:hover::after,
.KMCard3.active::after{
  opacity: 1;
}

.content {
  font-size: 40px; 
  position: absolute; 
  bottom: 80px; 
  left: 20px;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.KMCard1:hover .content,
.KMCard1.active .content {
  opacity: 0;
}
.KMCard2:hover .content,
.KMCard2.active .content {
  opacity: 0;
}
.KMCard3:hover .content,
.KMCard3.active .content {
  opacity: 0;
}

.hover-content {
  position: absolute;
  bottom: 0;
  padding: 20px;
  font-size: 40px;

  transform: translateY(100%);
  opacity: 0;
  pointer-events: none;

  z-index: 2;
  /* transition: bottom 0.2s ease, opacity 0.8s ease; */
  transition: opacity 0.5s ease-out, transform 0.5s ease-out;
}

.KMCard1:hover .hover-content,
.KMCard1.active .hover-content {
  bottom: 120px;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.KMCard2:hover .hover-content,
.KMCard2.active .hover-content {
  bottom: 150px;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}
.KMCard3:hover .hover-content,
.KMCard3.active .hover-content {
  bottom: 100px;
  transform: translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.KMCard1:hover .icon-arrow,
.KMCard1.active .icon-arrow {
  transform: rotate(-180deg);
}
.KMCard2:hover .icon-arrow,
.KMCard2.active .icon-arrow {
  transform: rotate(-180deg);
}
.KMCard3:hover .icon-arrow,
.KMCard3.active .icon-arrow {
  transform: rotate(-180deg);
}

@media screen and (max-width: 768px) {
    .icon-arrow {
        top: 45%;
        left: auto;
        bottom: auto;
        transform: translateY(50%) rotate(-90deg);;
        right: 20px;
    }


    .KMCard1:hover .icon-arrow,
    .KMCard1.active .icon-arrow {
        transform: translateY(50%) rotate(90deg);
    }
    .KMCard2:hover .icon-arrow,
    .KMCard2.active .icon-arrow {
        transform: translateY(50%) rotate(90deg);
    }
    .KMCard3:hover .icon-arrow,
    .KMCard3.active .icon-arrow {
        transform: translateY(50%) rotate(90deg);
    }

    .hover-content {
        padding: 40px;
    }
    .hover-content p{
        font-size: 15px !important;
    }
}