main {
  background: #ffffff;
}

.cert-container {
  width: min(1200px, calc(100% - 40px));
  margin: 0 auto;
}

.cert-hero {
  position: relative;
  min-height: 500px;
  display: flex;
  align-items: center;
  background: url("../../images/led-display-certifications.jpg") center / cover no-repeat;
  overflow: hidden;
}

.cert-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(24, 40, 140, 0.9) 0%, rgba(24, 40, 140, 0.68) 35%, rgba(24, 40, 140, 0.18) 70%, rgba(24, 40, 140, 0) 100%);
}

.cert-hero-content {
  position: relative;
  z-index: 1;
  color: #ffffff;
}

.cert-hero-content h1 {
  margin: 0;
  font-size: 50px;
  font-weight: 600;
  line-height: 1.1;
}

.cert-hero-content p {
  margin: 18px 0 0;
  font-size: 30px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.95);
}

.cert-intro {
  padding: 58px 0;
  background: #ffffff;
}

.cert-intro h2 {
  margin: 0;
  text-align: center;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.25;
  color: #111827;
}

.cert-intro-text {
  margin: 18px auto 0;
  max-width: 980px;
}

.cert-intro-text p {
  margin: 12px 0 0;
  font-size: 16px;
  line-height: 1.75;
  color: #4b5563;
}

.cert-list {
  padding: 58px 0 64px;
  background: #f6f6f6;
}

.cert-list h2 {
  margin: 0;
  font-size: 33px;
  font-weight: 500;
  line-height: 1.25;
  color: #111827;
}

.cert-grid {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.cert-card {
  text-align: center;
}

.cert-card-media {
  margin: 0;
  background: #ffffff;
  padding: 10px;
}

.cert-card-media img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: cover;
}

.cert-card h3 {
  margin: 10px 0 0;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.4;
  color: #111827;
}

@media (max-width: 1024px) {
  .cert-container {
    width: min(1200px, calc(100% - 32px));
  }

  .cert-hero {
    min-height: 360px;
  }

  .cert-hero-content h1 {
    font-size: 44px;
  }

  .cert-intro,
  .cert-list {
    padding: 44px 0;
  }

  .cert-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .cert-container {
    width: min(1200px, calc(100% - 24px));
  }

  .cert-hero {
    min-height: 280px;
  }

  .cert-hero-content h1 {
    font-size: 34px;
  }

  .cert-intro h2,
  .cert-list h2 {
    font-size: 26px;
  }

  .cert-intro-text p {
    font-size: 14px;
  }

  .cert-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
