
.certifications-section {
  padding: 60px 20px;
  background-color: #ffffff;
  text-align: center;
}

.certifications-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 60px;
  max-width: 1200px;
  margin: 0 auto;
}

.cert-card {
  width: 140px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.cert-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

.img-wrapper {
  width: 80px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  overflow: hidden;
}

.img-wrapper img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.cert-card:hover img {
  transform: scale(1.08);
}

.cert-card p {
  font-size: 0.95rem;
  font-weight: 600;
  color: #2b3e3e;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Fade-in Animation */
.fade-in-up {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in-up.visible {
  opacity: 1;
  transform: translateY(0);
}

@media (max-width: 768px) {
  .certifications-container {
    gap: 40px;
  }

  .cert-card {
    width: 100px;
  }

  .img-wrapper {
    width: 60px;
    height: 60px;
  }

  .cert-card p {
    font-size: 0.85rem;
  }
}
