/* filename: css/certificates.css */

.certificates-container-paragraph {
  max-width: 1400px;
  margin: 2em auto;
  padding: 5em 20px;
  text-align: center; /* Center align section content */
}

.certificates-container__main-title {
  font-size: 27px;
  font-weight: 600;
  color: #4B4C57;
  margin-top: 0;
  margin-bottom: 1.5em !important;
  font-family: Poppins;
  line-height:100%;
}

.certificates-container__items-grid .field__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center; /* Center items horizontally */
  gap: 2rem; /* Optional: add spacing between items */
}

.certificates-container__items-grid .field__item {
  display: flex;
  flex-direction: column;
  align-items: center; /* Center content horizontally */
  justify-content: center; /* Optional: vertical centering if needed */
  text-align: center;
}

.certificate-item-paragraph {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.certificate-item__image {
  margin-bottom: 1em;
  width: 100px; /* Adjust size */
  height: 100px; /* Adjust size */
  display: flex;
  align-items: center;
  justify-content: center;
}

.certificate-item__image img {
  display: block;
  max-width: 100%;
  max-height: 100%;
  width: auto; /* Let image scale within circle */
  height: auto; /* Let image scale within circle */
  object-fit: contain; /* Or 'cover' if you want it to fill */
}

.certificate-item__title {
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  font-family: Poppins;
}

.certificate-item__link {
  color: #005AC8; /* Blue link color */
  text-decoration: none;
  transition: color 0.2s ease;
  font-size: 20px;
  font-weight: 600;
  line-height: 26px;
  font-family: Poppins;
}

.certificate-item__link:hover,
.certificate-item__link:focus {
  color: #003d80; /* Darker blue on hover */
  text-decoration: underline;
}

/* Style for title when it's not a link (fallback) */
.certificate-item__text {
  color: #343a40; /* Standard text color */
}
