/* Certification Styles */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 2rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.03);
  border-radius: 0.75rem;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3), 0 0 0 1px var(--primary-color-light);
}

.cert-image {
  height: 180px;
  overflow: hidden;
  background: #1a1a1a;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cert-image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.5s ease;
  pointer-events: auto;
}

.cert-body {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.cert-title {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

.cert-meta {
  font-size: 0.9rem;
  color: var(--text-lighter);
  margin-bottom: 1rem;
}

.cert-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
}

.badge-chip {
  background: rgba(212, 175, 55, 0.15);
  color: var(--primary-color);
  padding: 0.25rem 0.75rem;
  border-radius: 1rem;
  font-size: 0.8rem;
  font-weight: 500;
}

.cert-actions {
  margin-top: auto;
}

.cert-actions .btn {
  width: 100%;
  text-align: center;
  background: var(--primary-color);
  color: var(--background-dark);
  padding: 0.6rem 1rem;
  border-radius: 0.5rem;
  font-weight: 600;
  transition: background 0.3s ease;
}

.cert-actions .btn:hover {
  background: var(--primary-color-light);
}

.loading {
  text-align: center;
  padding: 2rem;
  color: var(--text-lighter);
}

.error {
  text-align: center;
  padding: 2rem;
  color: #ff6b6b;
}