/* General */
body {
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, sans-serif;
}

/* ================= HERO BANNER ================= */
/* Badge count on button */
.badge-count {
  position: absolute;
  top: -8px;
  right: -10px;
  background: #dc3545;
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  padding: 3px 7px;
  border-radius: 50px;
  line-height: 1;
}


.hero-banner {
  position: relative;
  width: 100%;
  min-height: 260px;
  background: linear-gradient(
      120deg,
      #1a237e,
      #283593,
      #0d47a1
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: url("assets/img/banner-pattern.png") repeat;
  opacity: 0.08;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-logo {
  max-width: 520px;
  width: 90%;
  height: auto;
  margin-bottom: 16px;
}

.hero-help {
  font-size: 15px;
  color: #e3f2fd;
}

.hero-help a {
  color: #90caf9;
  text-decoration: none;
  font-weight: 600;
}

.hero-help a:hover {
  text-decoration: underline;
}

/* Mobile */
@media (max-width: 576px) {
  .hero-banner {
    min-height: 220px;
  }
  .hero-logo {
    max-width: 360px;
  }
}


/* Buttons */
.button {
  background: linear-gradient(135deg, #0047ab, #007bff);
  color: #fff;
  padding: 8px 18px;
  border-radius: 6px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s ease;
}

.button:hover {
  background: linear-gradient(135deg, #003a8c, #0056b3);
  color: #fff;
}

/* Record cards (from record.php) */
/* Center wrapper */
.certificate-wrapper {
  display: flex;
  justify-content: center;
}

/* Card */
.record-card {
  width: 100%;
  max-width: 720px;
  background: #ffffff;
  border-radius: 14px;
  padding: 22px;
  margin-bottom: 20px;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06);
  border: 1px solid #e9ecef;
}

/* Name */
.record-name {
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 6px;
}

/* Role */
.record-role {
  font-size: 14px;
  color: #6c757d;
  margin-bottom: 14px;
}

/* Buttons */
.certificate-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
}

/* Mobile */
@media (max-width: 576px) {
  .certificate-buttons a {
    width: 100%;
  }
}

