.page-header {
  padding-left: 1rem;
  padding-right: 1rem;
}

.page-header h1 {
  font-size: 2rem;
  color: #66d9c4;
  margin-bottom: 1rem;
}


/* Certifications Section */
.cert-section {
  padding: 4rem 1rem;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.cert-section h2 {
  font-size: 2rem;
  color: #343740;
  margin-bottom: 2rem;
  text-align: center;
}

.cert-group-title {
  font-size: 1.5rem;
  margin-top: 3rem;
  margin-bottom: 1rem;
  color: #bf7973;
  border-bottom: 1px solid #e0e0e021;
  padding-bottom: 0.5rem;
  text-align: left;
}

.cert-layout {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

.cert-card.featured {
  flex: 0 0 360px;
  max-width: 360px;
  border: 2px solid #66d9c4;
}

.cert-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
  gap: 1.5rem;
  flex: 1;
}

.cert-card {
  background-color: #fff;
  border-radius: 0.5rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  padding: 1rem;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.cert-card img {
  width: 100%;
  height: auto;
  border-radius: 0.25rem;
  margin-bottom: 0.75rem;
}

.cert-card h3 {
  font-size: 1rem;
  margin-bottom: 0.5rem;
  color: #343740;
  font-weight: 600;
  line-height: 1.3;
}

.cert-card p.cert-org {
  font-size: 0.875rem;
  color: #777;
}

.cert-card.small {
  width: 100%;
  height: 100%;
}

.cert-card.small h3 {
  font-size: 0.9rem;
}

.cert-card.small p.cert-org {
  font-size: 0.75rem;
}

.cert-card.placeholder img {
  opacity: 0.6;
}

.cert-card.dashed-box {
  border: 2px dashed #ccc;
  background-color: #fafafa;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 2rem 1rem;
  height: 100%;
}

.cert-card.dashed-box h3 {
  color: #aaa;
  font-style: italic;
}

/* Skills Section */
.skills-section {
  padding: 4rem 1rem;
}

.skills-section h2 {
  text-align: center;
  color: #343740;
  font-size: 2rem;
  margin-bottom: 2rem;
}

.skill-category {
  margin-bottom: 2rem;
  max-width: 100%;
}

.skill-category h3 {
  font-size: 1.25rem;
  color: #bf7973;
  margin-bottom: 0.75rem;
  text-align: left;
}

.skill-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.skill-badge {
  background-color: #343740;
  color: #d1d5db;
  border: 2px solid #66d9c4;
  padding: 0.5rem 1rem;
  border-radius: 1rem;
  font-size: 0.9rem;
  white-space: nowrap;
}

.cert-list {
  list-style: none;
  padding: 0;
  margin: 1rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.cert-item {
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.cert-status {
  display: inline-block;
  width: 1.25rem;
  height: 1.25rem;
  line-height: 1.25rem;
  font-weight: bold;
  text-align: center;
  border-radius: 50%;
  font-size: 1.1rem;
}

.cert-item.complete .cert-status {
  color: #66d9c4;
}

.cert-item.pending .cert-status {
  border: 2px dashed #bbb;
  color: #bbb;
}

/* Fade-in Animation */
@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.cert-card,
.cert-item {
  opacity: 0;
  animation: fadeInUp 0.6s ease forwards;
}

/* Slight stagger effect */
.cert-card:nth-child(1),
.cert-item:nth-child(1) { animation-delay: 0.1s; }
.cert-card:nth-child(2),
.cert-item:nth-child(2) { animation-delay: 0.2s; }
.cert-card:nth-child(3),
.cert-item:nth-child(3) { animation-delay: 0.3s; }
.cert-card:nth-child(4),
.cert-item:nth-child(4) { animation-delay: 0.4s; }
.cert-card:nth-child(5),
.cert-item:nth-child(5) { animation-delay: 0.5s; }
.cert-card:nth-child(6),
.cert-item:nth-child(6) { animation-delay: 0.6s; }
.cert-card:nth-child(7),
.cert-item:nth-child(7) { animation-delay: 0.6s; }
.cert-card:nth-child(8),
.cert-item:nth-child(8) { animation-delay: 0.6s; }

.cert-group-title {
  animation: fadeInUp 0.6s ease forwards;
  animation-delay: 0.1s;
  opacity: 0;
}












@media (min-width: 768px) {
  .cert-section h2,
  .skills-section h2 {
    text-align: left;
  }

  .skills-section .container {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    align-items: flex-start;
    text-align: left;
  }
}
