.services-section {
padding: 20px 0;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  grid-auto-rows: 400px;
  grid-auto-rows: auto;
}

.services-card {
  background: #D6EDFF;
  border-radius: 16px;
  padding: 54px 30px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  overflow: hidden;
  text-decoration: none;
  color: #000;
}

.image-card {
  background: #fff;
  border-radius: 16px;
  padding: 0 !important;
}

.image-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  border-radius: 16px;
}

.card-title::after {
  content: ":";
  margin-left: 4px;
}

.card-title {
  text-transform: uppercase;
  position: relative;
  display: inline-block;
  padding-bottom: 60px;
  margin: 0;
}

.card-icon {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 90px;
  height: 90px;
}

.card-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.card-list {
  list-style: disc inside;
  margin: 0 0 20px;
  padding: 0;
  flex-grow: 1;
  overflow-y: auto;
}

.card-list li {
margin-bottom: 6px;
}

.service-page-card__arrow{
  position: absolute;
  bottom: 30px;
  right: 30px;
  width: 30px;
  height: 30px;
  object-fit: contain;
  pointer-events: none;
  transition: rotate 0.3s ease;
}
.services-card:hover .service-page-card__arrow {
  rotate: 45deg;
}


@media (max-width: 768px) {
  .services-grid {
      grid-template-columns: 1fr;
      grid-auto-rows: minmax(290px, auto);
  }
  .services-card {
    padding: 30px 20px;
  }
  .card-title{
    padding-bottom: 40px;
  }
  .card-list {
    list-style: disc inside;
    margin: 0 0 20px;
    padding: 0;
    flex-grow: 1;
    overflow-y: auto;
  }
  .card-icon {
    top: 0px;
    right: 0px;
    width: 80px;
    height: 80px;
  }
  .card-link {
    bottom: 20px;
    right: 20px;
  }

  .services-card,
  .image-card {
    height: auto;
  }
}