/* Research consultancy card content.
 * The original LearnPress grid, card shell, hover overlay, and breakpoints
 * remain untouched; these rules only present the replacement service icons.
 */

.trm-service-thumb {
  display: flex !important;
  min-height: 220px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 78% 18%, rgba(102, 104, 255, 0.34), transparent 34%),
    linear-gradient(145deg, #0b0d2e 0%, #20276a 58%, #4b4de7 100%);
}

.trm-service-icon {
  position: relative;
  z-index: 1;
  width: 112px;
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 30px;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  box-shadow: 0 20px 45px rgba(4, 5, 24, 0.28);
  backdrop-filter: blur(10px);
  transition: transform 1.5s cubic-bezier(0, 0, 0.2, 1);
}

.trm-service-icon::after {
  content: "";
  position: absolute;
  width: 34px;
  height: 34px;
  right: -10px;
  bottom: -10px;
  border-radius: 50%;
  background: #ffb606;
  box-shadow: 0 8px 22px rgba(255, 182, 6, 0.38);
}

.trm-service-icon i {
  font-size: 48px;
  line-height: 1;
}

.course-style-1:hover .trm-service-icon {
  transform: scale3d(1.1, 1.1, 1.1);
}

.course-style-1 .course-price .trm-service-badge {
  color: inherit;
  font-size: 10px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  white-space: nowrap;
}

.course-style-1 .course-meta .trm-service-meta {
  white-space: nowrap;
}

@media (max-width: 767px) {
  .trm-service-thumb {
    min-height: 190px;
  }

  .trm-service-icon {
    width: 96px;
    height: 96px;
    border-radius: 26px;
  }

  .trm-service-icon i {
    font-size: 42px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .trm-service-icon {
    transition: none;
  }
}
