.home .section.services {
  margin-top: 30px;
}

.home .section.services .section__header {
  gap: 12px;
}

.home .section.services .nav.blueSix {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 18px;
}

.home .section.services .carousel-wrapper {
  position: relative;
}

.service-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  border: 2px solid transparent;
}

.service-card:hover {
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.12);
  transform: translateY(-2px);
}

.service-card.vip {
  border-color: #ff4c00;
}

.service-card__image {
  position: relative;
  height: 220px;
  overflow: hidden;
  background: #f3f5f8;
}

.service-card__image .owl-carousel,
.service-card__image .owl-carousel .owl-stage-outer,
.service-card__image .owl-carousel .owl-stage,
.service-card__image .owl-carousel .owl-item,
.service-card__image .owl-carousel .owl-item > a {
  height: 100%;
}

.service-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.service-card__logo {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 80px !important;
  height: 40px !important;
  object-fit: contain !important;
  border-radius: 6px;
  background: #fff;
  padding: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  z-index: 2;
}

.service-card__fav {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 3;
  opacity: 0.7;
}

.service-card__fav:hover {
  opacity: 1;
}

.service-card .vip-badge {
  position: absolute;
  z-index: 2;
  left: 12px;
  bottom: 12px;
  padding: 5px 8px;
  border-radius: 4px;
  background: #ff4c00;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  line-height: 1;
}

.service-card__views {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 12px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  font-size: 12px;
}

.service-card__body {
  position: relative;
  display: flex;
  flex-direction: column;
  flex: 1 1 auto;
  padding: 16px 16px 52px;
  overflow: hidden;
}

.service-card__title {
  margin-bottom: 12px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
  color: #1e1f32;
  cursor: pointer;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 2.8em;
}

.service-card__info {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
  color: #1e1f32;
}

.service-card__meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 14px;
}

.service-card__meta .meta-item {
  white-space: nowrap;
}

.service-card__meta .bold {
  font-weight: 700;
}

.service-card__description {
  color: #4b5166;
  font-size: 14px;
  line-height: 1.45;
  min-height: 4.35em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.service-card__footer {
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: 5;
  display: flex;
  width: 100%;
  height: 52px;
  background: #fff;
  transform: translateY(100%);
  transition: transform 0.3s ease;
}

.service-card__body:hover .service-card__footer {
  transform: translateY(0);
}

.service-card .apply-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  border: 0;
  border-radius: 0;
  background: linear-gradient(90deg, #186be4 0%, #0f4fb0 100%);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
}

.service-card .apply-button:hover {
  color: #fff;
  text-decoration: none;
  filter: brightness(1.05);
}

.home .section.services .service-carousel .owl-item {
  padding: 0 8px;
}

.home .section.services .service-carousel .owl-stage {
  display: flex;
}

.home .section.services .service-carousel .owl-item > .service-card {
  height: 100%;
}

@media (max-width: 991px) {
  .service-card__body {
    padding-bottom: 16px;
  }

  .service-card__footer {
    position: static;
    transform: none;
    height: auto;
    margin-top: 14px;
  }

  .service-card .apply-button {
    min-height: 44px;
    border-radius: 8px;
  }
}
