/* CERT */
#certifications {
  background: var(--surface);
}

.cert-card {
  background: var(--card);
  border: 1px solid rgba(0, 81, 255, 0.25); 
  border-radius: 2px;
  padding: 30px;
  display: flex;
  align-items: flex-start;
  gap: 22px;
  max-width: 700px;
  position: relative;
  box-shadow:
    0 0 0 1px rgba(0, 140, 255, 0.15),
    0 0 30px rgba(0, 140, 255, 0.05);
  transition: 
    transform 0.25s ease,
    border-color 0.25s ease,
    box-shadow 0.25s ease;
}

.cert-card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 140, 255, 0.35);
  box-shadow: 0 0 24px rgba(0, 94, 255, 0.08);
}

/* Icon */
.cert-ico {
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 50%;
  background: var(--accent-dim);
  border: 1px solid rgba(0, 85, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;

  box-shadow: 0 0 12px rgba(0, 94, 255, 0.1);
}

.cert-ico svg {
  width: 20px;
  height: 20px;
  fill: var(--accent);
}

/* Text */
.cert-yr {
  font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--accent);
  font-weight: 600;
  margin-bottom: 4px;
}

.cert-name {
  font-family: "Playfair Display", serif;
  font-size: 20px;
  color: var(--text);
  margin-bottom: 3px;
}

.cert-org {
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 10px;
}

.cert-desc {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.75;
  margin-bottom: 12px;
}

/* Badge */
.cert-badge {
  margin-top: 1.2rem;
  display: flex;
  justify-content: flex-start; 
}

/* control badge size */
.cert-badge-img {
  width: 80px;  
  max-width: 100%;
  height: auto;
  border-radius: 10px;
  transition: all 0.3s ease;
}

/* hover */
.cert-badge-img:hover {
  transform: scale(1.05);
}