/* Certifications 2-Column Layout */
.certifications-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 20px 0;
  align-items: start;
}

/* Responsive design for certifications */
@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* Certification Summary - Hidden by default, expand on hover */
.certification-summary {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  margin: 0;
  color: #f5f7fb;
  line-height: 1.6;
  padding-top: 0;
  padding-bottom: 0;
}

.award:hover .certification-summary {
  max-height: 1000px; /* sufficiently large to show full content */
  opacity: 1;
  margin: 8px 0;
  padding-top: 0;
  padding-bottom: 8px;
}

/* Certification Details - Hidden by default, expand on hover */
.certification-details {
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease, margin 0.4s ease, padding 0.4s ease;
  margin: 0;
  padding-top: 0;
  padding-bottom: 0;
}

.award:hover .certification-details {
  max-height: 1000px; /* sufficiently large to show full content */
  opacity: 1;
  margin: 8px 0;
  padding-top: 0;
  padding-bottom: 8px;
}

.certification-details p {
  margin: 4px 0;
  color: #f5f7fb;
  line-height: 1.6;
}

.certification-details p strong {
  color: #ffffff;
}
