/* Headings */
.heading {
  font-weight: bold;
  margin: 20px 0 10px;
  color: #333;
}
.heading.center {
  text-align: center;
}



/* Feature block */
.feature {
  padding: 15px;
  margin-bottom: 20px;
  margin-top: 30px;
}
.feature p {
  margin: 0 0 10px;
  line-height: 1.6;
  color: #555;
}

.feature .heading {
  margin-top: 0;      /* remove extra top space */
  padding-top: 0;
}

/* App block */
.app {
  padding: 15px;
  margin-bottom: 20px;
  text-align: center;
}
.app a {
  display: inline-block;
  margin: 5px;
}
.app img {
  height: 40px;
  width: auto;
  transition: transform 0.2s;
}
.app img:hover {
  transform: scale(1.05);
}

/* Certificate block */
.cert {
  display: flex;
  flex-wrap: nowrap;          /* keep in one row */
  gap: 15px;
  justify-content: flex-start;/* align left */
  align-items: center;
  overflow-x: auto;           /* scroll if too many */
  margin-bottom: 20px;
}
.cert-item img.spec {
  max-width: 100px;
  max-height: 80px;
  object-fit: contain;
}
@media (max-width: 768px) {
  .cert {
    flex-wrap: wrap;          /* allow wrapping */
  }
  .cert-item {
    flex: 0 1 45%;            /* 2 per row */
  }
}

.cert-section .heading {
  margin-top: 0px;
  margin-bottom: 20px;

}

/* Certificate section box (moved from feature/app) */
.cert-section {
  padding: 15px;
  background: #f9f9f9;
  border: 1px solid #eee;
  border-radius: 4px;
  margin-bottom: 20px;
}



.related {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 20px;
  justify-items: center;   
  align-items: center;
  margin-top: 20px;
}

.related a {
  display: block;
  text-align: center;
}

.related img {
  width: 150px !important;
  height: 150px !important;
  object-fit: contain;
  padding: 5px;
  background: #fff;
  transition: transform 0.2s;
}

.related img:hover {
  transform: scale(1.05);
}
