/* ══════════════════════════════════════
   CERTIFICATES SECTION
══════════════════════════════════════ */
.certs {
  background: #04101f;
  padding: 100px 0;
  position: relative;
  overflow: hidden;
}

.certs::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 60% 40% at 20% 50%, rgba(29,124,199,0.07) 0%, transparent 70%),
    radial-gradient(ellipse 50% 40% at 80% 50%, rgba(93,216,255,0.05) 0%, transparent 70%);
  pointer-events: none;
}

.certs__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.certs__header {
  text-align: center;
  margin-bottom: 60px;
}

.certs__heading {
  font-size: clamp(1.8rem, 3.5vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  margin: 12px 0 16px;
  line-height: 1.2;
}

.certs__heading span {
  color: #5dd8ff;
}

.certs__sub {
  color: rgba(255,255,255,0.5);
  font-size: 0.95rem;
  max-width: 520px;
  margin: 0 auto;
}

/* Grid */
.certs__grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* Card */
.cert-card {
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(29,124,199,0.18);
  transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  aspect-ratio: 4 / 3;
}

.cert-card:hover {
  transform: translateY(-5px);
  border-color: rgba(93,216,255,0.45);
  box-shadow: 0 12px 36px rgba(29,124,199,0.25);
}

.cert-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.cert-card:hover .cert-card__img {
  transform: scale(1.05);
}

/* Responsive */
@media (max-width: 1024px) {
  .certs__grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 700px) {
  .certs__grid { grid-template-columns: repeat(2, 1fr); }
  .cert-card__img-wrap { height: 130px; }
}

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