/* ==============================
Certifications Styles 
============================== */

#certifications-container {
  max-width: 1200px;
  margin: 60px auto 0;
  padding: 0 20px;
}

#certifications-header {
  grid-column: 1 / span 12;
  text-align: center;
  margin-bottom: 40px;
  font-size: clamp(2rem, 5vw, 3rem);
}

.certifications-grid {
  grid-column: 1 / span 12;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
}

.certification-link {
  text-decoration: none;
  color: inherit;
}

.certification {
  background-color: var(--color-card);
  border-radius: var(--border-radius);
  overflow: hidden;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 100%;
  max-width: 420px;
  text-align: center;
  flex: 0 1 380px;
}

.certification:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.certification-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: contain;
  border-radius: var(--border-radius);
}

/* ==============================
Responsiveness
============================== */

@media (max-width: 768px) {
  #certifications-container {
    padding: 0 10px;
  }

  .certifications-grid {
    gap: 30px;
  }

  .certification {
    flex: 1 1 100%;
    max-width: none;
  }
}
