/* Certifications section background gradient */
.certifications {
  background: linear-gradient(135deg, #4d3414f5 0%, #89540a 100%);
}

/* Certifications List Styling */
.cert-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  justify-items: center;
  align-items: stretch;
}

/* Certification Card Styling */
.cert-card {
  background: linear-gradient(135deg, #23243a 0%, #8d8173 100%);
  color: #fff;
  border-radius: 1.2rem;
  box-shadow: 0 4px 24px rgba(66, 1, 119, 0.2);
  padding: 1.5rem 1rem;
  min-width: 220px;
  max-width: 260px;
  font-size: 1rem; /* Reduced font size for a more compact look */
  font-family: 'Nunito', sans-serif;
  font-weight: 600;
  margin-bottom: 2rem;
}

.cert-card a {
  color: #ffd900;
  font-size: 1rem; /* Reduced font size of the 'View Certificate' link */
  text-decoration: underline;
  word-break: break-all;
}

.cert-card a:hover {
  color: #23243a;
  background: #ffd900;
  border-radius: 0.3em;
  text-decoration: none;
  padding: 0.1em 0.4em;
}

/* Centered Title Styling */
.certifications-title {
  text-align: center;
  color: #fff;
  font-size: 2.8rem;
  font-weight: 800;
  margin: 2rem 0 2.5rem 0;
  padding: 1.2rem 0;
  padding-top: 2.5rem; /* Added padding above the title */
  background: linear-gradient(135deg, #4d3414f5 0%, #89540a 100%);
  border-radius: 1rem;
  font-family: 'Poppins', sans-serif;
}

/* Style .heading inside .certifications section */
.certifications .heading {
  text-align: center;
  color: #ffd900;
  font-family: 'Poppins', sans-serif;
  font-size: 2.4rem;
  font-weight: 700;
  margin-bottom: 2rem;
}
