.test-banner {
  position: relative;
  overflow: hidden;
}

.test-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    135deg,
    rgba(11, 31, 59, 0.86),
    rgba(31, 164, 169, 0.72)
  );
  z-index: 1;
}

.test-banner .banner-vertical-center-work {
  position: relative;
  z-index: 2;
}

.test-page-section {
  background: linear-gradient(180deg, #f8fafc 0%, #ffffff 28%, #ffffff 100%);
}

.test-stat-card {
  border: 0;
  border-radius: 20px;
  padding: 24px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.06);
  text-align: center;
  height: 100%;
}

.test-stat-card strong {
  display: block;
  font-size: 1.9rem;
  color: #0b1f3b;
  line-height: 1;
  margin-bottom: 8px;
}

.test-stat-card span {
  color: #6c7a89;
  font-size: 0.95rem;
}

.test-filter-box {
  background: #fff;
  border-radius: 22px;
  padding: 22px 24px;
  box-shadow: 0 12px 30px rgba(18, 38, 63, 0.06);
}

.test-filter-pills .btn {
  border-radius: 999px;
  padding: 0.65rem 1.1rem;
}

.test-project-card {
  border: 0;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(18, 38, 63, 0.08);
  transition: all 0.3s ease;
  background: #fff;
  height: 100%;
}

.test-project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 48px rgba(18, 38, 63, 0.12);
}

.test-project-cover {
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cover-primary {
  background: linear-gradient(135deg, #66b2ff, #2563eb);
}

.cover-success {
  background: linear-gradient(135deg, #77e4b7, #17a673);
}

.cover-warning {
  background: linear-gradient(135deg, #ffb56b, #ff8c42);
}

.cover-danger {
  background: linear-gradient(135deg, #ff9f9f, #e74c3c);
}

.cover-purple {
  background: linear-gradient(135deg, #8f7cff, #624bff);
}

.cover-pink {
  background: linear-gradient(135deg, #ff9bc9, #ff6fa8);
}

.cover-dark {
  background: linear-gradient(135deg, #4a5568, #1f2937);
}

.test-project-icon {
  width: 74px;
  height: 74px;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  backdrop-filter: blur(6px);
}

.test-project-body {
  padding: 24px;
}

.test-project-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: #1f2d3d;
  margin-bottom: 10px;
}

.test-project-desc {
  color: #667383;
  line-height: 1.7;
  min-height: 78px;
}

.test-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: 18px 0 22px;
}

.test-soft-badge {
  border-radius: 999px;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
}

.test-note-box {
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fbff, #eef5ff);
  border: 1px solid rgba(13, 110, 253, 0.08);
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.05);
  padding: 28px;
}

.test-info-card {
  border: 0;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 12px 28px rgba(18, 38, 63, 0.05);
  padding: 24px;
  height: 100%;
}

@media (max-width: 991.98px) {
  .test-project-desc {
    min-height: auto;
  }
}
