/* ================================ 
   CERTIFICATIONS PAGE — FINAL DESIGN
================================ */

/* ===== BASE ===== */
.certifications-page {
  background: #0d0d0d;
  color: #eaeaea;
  font-family: 'Poppins', sans-serif;
  padding: 100px 10% 90px;
  min-height: 100vh;
}

/* ===============================
   NAVBAR — Logo Left / Menu Center
=============================== */
.navbar {
  width: 100%;
  padding: 18px 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: fixed;
  top: 0;
  left: 0;
  background: transparent;
  z-index: 1000;
}

/* LOGO (top-left corner) */
.logo {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
}

.logo a {
  font-family: var(--font-mono);
  font-weight: 700;
  color: #fff;
  font-size: 1.4rem;
  text-decoration: none;
  letter-spacing: 1px;
}

.logo span {
  color: var(--accent-color);
}

/* NAV LINKS CENTERED */
.nav-links {
  list-style: none;
  display: flex;
  gap: 35px;
  justify-content: center;
  align-items: center;
}

.nav-links a {
  color: #aaa;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: 0.3s;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-color);
}

/* Hire Me Button */
.nav-links .btn {
  border: 1px solid var(--accent-color);
  border-radius: 25px;
  padding: 8px 20px;
  color: var(--accent-color);
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-links .btn:hover {
  background: var(--accent-color);
  color: var(--bg-color);
}

/* Hide on desktop */
.menu-icon {
  display: none;
}


/* ===== TITLES ===== */
.section-title {
  text-align: center;
  font-size: 2.6rem;
  color: var(--accent-color);
  font-family: 'Space Mono', monospace;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.section-subtitle {
  text-align: center;
  color: #b5b5b5;
  font-size: 1rem;
  margin-bottom: 50px;
  font-family: 'Space Mono', monospace;
}

/* ===== FILTER BUTTONS ===== */
.cert-filters {
  display: flex;
  justify-content: center;
  gap: 18px;
  margin-bottom: 55px;
  flex-wrap: wrap;
}

.cert-filter {
  background: transparent;
  border: 1px solid #1e1e1e;
  color: #aaa;
  font-family: 'Space Mono', monospace;
  padding: 10px 28px;
  border-radius: 25px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cert-filter:hover {
  border-color: var(--accent-color);
  color: var(--accent-color);
}

.cert-filter.active {
  background: var(--accent-color);
  color: #000;
  font-weight: 700;
  box-shadow: 0 0 20px #00ff8840;
}

/* ===== GRID ===== */
.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 25px;
  justify-items: center;
  transition: max-height 0.6s ease, opacity 0.5s ease;
  overflow: hidden;
  max-height: 1500px;
}

.cert-grid.expanded {
  max-height: 5000px;
}

/* ===== CARD ===== */
.cert-card {
  position: relative;
  background: #131313;
  border: 1px solid #1a1a1a;
  border-radius: 12px;
  width: 100%;
  padding: 22px 20px;
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: all 0.35s ease;
  box-shadow: none;
  min-height: 100px;
}

.cert-card:hover {
  border-color: var(--accent-color);
  box-shadow: 0 0 25px #00ff8830;
  transform: translateY(-4px);
}

.cert-card .icon {
  font-size: 1.4rem;
  color: var(--accent-color);
  margin-top: 2px;
  min-width: 28px;
}

.cert-card .text h3 {
  font-size: 0.95rem;
  font-weight: 600;
  color: #fff;
  margin-bottom: 6px;
  line-height: 1.4;
}

.cert-card .text p {
  color: #9a9a9a;
  font-size: 0.83rem;
  line-height: 1.3;
}

/* ===== FEATURED BADGE ===== */
.cert-card.featured::after {
  content: "★";
  color: var(--accent-color);
  font-size: 0.85rem;
  position: absolute;
  top: 10px;
  right: 14px;
  opacity: 0.85;
}

/* ===== SHOW MORE BUTTON ===== */
.cert-actions {
  text-align: center;
  margin-top: 60px;
}

.cert-toggle {
  background: transparent;
  border: 1px solid var(--accent-color);
  color: var(--accent-color);
  padding: 12px 28px;
  border-radius: 25px;
  font-weight: 600;
  font-family: 'Space Mono', monospace;
  cursor: pointer;
  transition: all 0.3s ease;
}

.cert-toggle:hover {
  background: var(--accent-color);
  color: #000;
  box-shadow: 0 0 20px #00ff8850;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid #1a1a1a;
  text-align: center;
  padding: 22px 0;
  color: #888;
  font-size: 0.8rem;
  margin-top: 60px;
}

