/* =====================================================
   CERT PAGE
===================================================== */

.cert-page {
  max-width: 1300px;
  width: 92%;
  margin: auto;
  padding-top: 140px;
  padding-bottom: 100px;
  text-align: center;
}

.page-title {
  font-size: 48px;
  color: #38bdf8;
}

.page-subtitle {
  color: #9ca3af;
  margin-bottom: 40px;
}

/* FILTER BUTTONS */

.cert-filters {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-bottom: 60px;
  flex-wrap: wrap;
}

.filter-btn {
  padding: 8px 20px;
  border-radius: 30px;
  border: none;
  background: rgba(255,255,255,0.05);
  color: #e5e7eb;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background: #38bdf8;
  color: #000;
}

/* CERT GRID */

.cert-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.cert-card {
  padding: 35px;
  border-radius: 20px;
  text-align: left;
  transition: 0.3s ease;

  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08);
}

.cert-card h3 {
  margin-bottom: 8px;
  color: #38bdf8;
}

.cert-card p {
  color: #94a3b8;
  margin-bottom: 20px;
}

.cert-btn {
  display: inline-block;
  padding: 8px 18px;
  border-radius: 10px;
  background: #38bdf8;
  color: #000;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s ease;
}

.cert-btn:hover {
  background: #0ea5e9;
}

/* Hover Glow */

.cert-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 0 30px rgba(56,189,248,0.3);
}

/* Responsive */

@media (max-width: 1100px) {
  .cert-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .cert-grid {
    grid-template-columns: 1fr;
  }
}