/* Navigation matching main site */
.cert-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  margin-bottom: 2rem;
}

.cert-header h1 {
  margin: 0;
  font-size: 2rem;
  font-family: 'Times New Roman', Times, serif;
  color: rgb(119, 205, 219);
}

.cert-nav {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.cert-nav a {
  color: lightgray;
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.3s ease;
  font-weight: 500;
}

.cert-nav a:hover {
  color: white;
}

.cert-nav a.active {
  color: rgb(119, 205, 219);
}

.certifications-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

.page-title {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 3rem;
  margin-top: 2rem;
  font-family: 'Times New Roman', Times, serif;
  font-weight: bold;
  color: rgb(119, 205, 219);
  letter-spacing: 2px;
}

.certifications-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.cert-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 15px;
  padding: 1.5rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.cert-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.3);
}

.cert-image {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  margin-bottom: 1rem;
  background: rgba(255, 255, 255, 0.05);
  max-height: 400px;
}

.cert-company {
  font-size: 1.5rem;
  font-weight: 600;
  color: white;
  margin-bottom: 0.5rem;
}

.cert-details {
  margin: 1rem 0;
}

.cert-detail-item {
  display: flex;
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.cert-label {
  font-weight: 600;
  color: #6b7280;
  min-width: 120px;
}

.cert-value {
  color: lightgray;
}

.cert-skills {
  margin-top: 1rem;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.skill-tag {
  background: rgba(59, 130, 246, 0.2);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: #93c5fd;
  padding: 0.25rem 0.75rem;
  border-radius: 15px;
  font-size: 0.85rem;
}

@media (max-width: 768px) {
  .certifications-grid {
    grid-template-columns: 1fr;
  }

  .page-title {
    font-size: 2rem;
  }

  .cert-nav {
    flex-direction: column;
    gap: 0.5rem;
  }

  .cert-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }
}
