.program-card {
  background: #ffffff;
  border: 1px solid #e5e7eb;
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.3s cubic-bezier(0.32, 0.72, 0, 1);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  flex-direction: column;
  animation: card-enter 0.4s ease-out both;
}

.program-card:nth-child(1) { animation-delay: 0.02s; }
.program-card:nth-child(2) { animation-delay: 0.06s; }
.program-card:nth-child(3) { animation-delay: 0.10s; }
.program-card:nth-child(4) { animation-delay: 0.14s; }
.program-card:nth-child(5) { animation-delay: 0.18s; }
.program-card:nth-child(6) { animation-delay: 0.22s; }
.program-card:nth-child(7) { animation-delay: 0.26s; }
.program-card:nth-child(8) { animation-delay: 0.30s; }
.program-card:nth-child(9) { animation-delay: 0.34s; }
.program-card:nth-child(10) { animation-delay: 0.38s; }

@keyframes card-enter {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.program-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06), 0 2px 6px rgba(0, 0, 0, 0.04);
  border-color: #d1d5db;
}

.rc-card-header {
  padding: var(--space-lg);
  border-bottom: 1px solid #f3f4f6;
  background: #ffffff;
}

.rc-program-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 700;
  color: #111827;
  margin-bottom: var(--space-xs);
  line-height: 1.3;
  letter-spacing: -0.01em;
}

.rc-university-name {
  font-size: 0.85rem;
  color: #6b7280;
  font-weight: 500;
}

.rc-card-body {
  padding: var(--space-lg);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  gap: var(--space-md);
}

.rc-scores {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-sm);
  padding: var(--space-md);
  background: #f9fafb;
  border-radius: var(--radius-md);
  border: 1px solid #f3f4f6;
}

.rc-score-item {
  text-align: center;
}

.rc-score-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #6b7280;
  margin-bottom: var(--space-xs);
  font-weight: 600;
}

.rc-score-value {
  font-size: 1.1rem;
  font-weight: 700;
  color: #111827;
  font-family: var(--font-heading);
}

.rc-score-value.qualified {
  color: #059669;
}

.rc-score-value.not-qualified {
  color: #dc2626;
}

.rc-card-footer {
  padding: var(--space-md) var(--space-lg);
  border-top: 1px solid #f3f4f6;
  background: #ffffff;
}

.rc-action-btn {
  width: 100%;
  padding: 0.65rem 1rem;
  background: var(--primary);
  border: 1px solid var(--primary);
  border-radius: var(--radius-md);
  color: #ffffff;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.32, 0.72, 0, 1);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-xs);
}

.rc-action-btn:hover {
  background: #072b40;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(11, 57, 84, 0.2);
  color: #ffffff;
  text-decoration: none;
}

@media (min-width: 640px) {
  .rc-scores {
    grid-template-columns: 1fr 1fr;
  }
}

@media (min-width: 768px) {
  .rc-card-header {
    padding: var(--space-lg) var(--space-xl);
  }

  .rc-card-body {
    padding: var(--space-lg) var(--space-xl);
  }

  .rc-card-footer {
    padding: var(--space-md) var(--space-xl);
  }
}

.rc-qualification-status {
  position: absolute;
  top: var(--space-md);
  right: var(--space-md);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.rc-qualification-status.qualified {
  background: #22c55e;
}

.rc-qualification-status.not-qualified {
  background: #ef4444;
}

.program-card:focus-within {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

.rc-action-btn:focus {
  outline: 2px solid var(--secondary);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
  .program-card {
    animation: none;
  }

  .program-card,
  .rc-action-btn {
    transition: none;
  }

  .program-card:hover {
    transform: none;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.04);
  }
}
