:root {
  --brand: #0c7cc1;
  --brand-dark: #08639a;
  --accent: #a8d641;
  --accent-2: #c3e83f;
  --text: #102030;
  --muted: #5b6b7a;
  --panel: #f5f7f8;
  --white: #fff;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--text); background: #fff; }
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 24px)); margin: 0 auto; }
.btn { display: inline-block; padding: 11px 24px; background: var(--brand); color: #fff; text-transform: uppercase; font-size: 12px; font-weight: 700; border-radius: 2px; }
.btn--pill { border-radius: 999px; background: rgba(180,180,180,.9); }
.btn--small { padding: 9px 16px; font-size: 11px; }

.topbar { background: #fff; padding: 14px 0; }
.topbar__inner { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.site-brand img { width: 190px; height: auto; }
.topbar__contact { display: flex; gap: 18px; font-size: 14px; color: var(--brand-dark); flex-wrap: wrap; justify-content: flex-end; }

.mainnav { background: var(--brand); position: relative; z-index: 20; }
.mainnav__inner { display: flex; align-items: center; }
.nav-toggle { display: none; }
.mainnav__menu { display: flex; align-items: stretch; gap: 0; width: 100%; }
.mainnav__menu > a, .nav-item > a { color: #fff; padding: 11px 14px; display: flex; align-items: center; font-size: 14px; font-weight: 700; }
.mainnav__menu > a.is-current { position: relative; }
.mainnav__menu > a.is-current::before { content: ''; position: absolute; left: 18px; top: 0; width: 72px; height: 4px; background: rgba(255,255,255,.7); }
.nav-item { position: relative; }
.dropdown-panel { display: none; position: absolute; top: 100%; left: 0; background: var(--brand); color: #fff; min-width: 280px; box-shadow: 0 12px 30px rgba(0,0,0,.15); }
.nav-item:hover .dropdown-panel, .nav-item.is-open .dropdown-panel { display: block; }
.dropdown-panel__grid { display: grid; gap: 0; }
.columns-1 { min-width: 320px; }
.columns-3 { min-width: 980px; grid-template-columns: repeat(3, 1fr); }
.dropdown-panel__column { border-left: 1px solid rgba(255,255,255,.35); }
.dropdown-panel__column:first-child { border-left: 0; }
.dropdown-panel__column h3 { margin: 0; padding: 22px 26px 12px; font-size: 22px; font-weight: 500; }
.dropdown-panel__column ul { list-style: none; padding: 0 0 16px; margin: 0; }
.dropdown-panel__column li a { display: block; padding: 12px 26px; border-top: 1px solid rgba(255,255,255,.3); font-size: 16px; }
.dropdown-panel__column li a:hover { background: rgba(255,255,255,.08); }

.hero-slider { position: relative; height: 430px; overflow: hidden; background: #dfe7ea; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .5s ease; }
.hero-slide.is-active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide__overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,255,255,.78), rgba(255,255,255,.22), rgba(255,255,255,0)); }
.hero-slide__content { position: absolute; inset: 0; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.hero-slide__content h1 { max-width: 460px; font-family: Georgia, 'Times New Roman', serif; font-size: clamp(36px, 4vw, 64px); margin: 0; line-height: 1.05; color: #000; }
.slider-dots { position: absolute; left: 16px; bottom: 14px; display: flex; gap: 8px; z-index: 5; }
.slider-dots button { width: 12px; height: 12px; border: 0; border-radius: 50%; background: rgba(12,124,193,.35); }
.slider-dots button.is-active { background: var(--brand); }

.intro-panel { background: var(--panel); clip-path: polygon(0 0, 100% 0, 100% 88%, 50% 100%, 0 88%); padding: 34px 0 58px; }
.intro-panel h2, .certifications h2, .qualifications h2 { text-align: center; color: var(--brand); font-size: 30px; margin: 0 0 24px; }
.intro-panel p { color: #23333f; line-height: 1.5; font-size: 14px; }
.section-cta { display: flex; justify-content: center; margin-top: 20px; }

.certifications, .qualifications { padding: 48px 0; }
.card-grid { display: grid; gap: 24px; }
.card-grid--3 { grid-template-columns: repeat(3, 1fr); }
.info-card, .qual-card { text-align: center; }
.info-card h3, .qual-card h3 { color: var(--brand); margin: 16px 0 8px; }
.info-card p, .qual-card p { font-size: 13px; line-height: 1.55; color: #20313d; min-height: 90px; }

.partner-strip { background: #fff; padding: 0 0 34px; }
.partner-strip__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 2px; }
.partner-tile { min-height: 92px; background: linear-gradient(90deg, var(--accent-2), var(--accent)); color: #fff; display: flex; align-items: center; justify-content: center; gap: 16px; font-size: 22px; font-weight: 700; padding: 14px; }
.partner-tile img { width: 18px; height: 18px; opacity: .85; }

.media-band { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; padding: 24px 0 44px; }
.media-placeholder { min-height: 250px; background: linear-gradient(135deg, #0f2230, #1d5f76); color: #fff; display: grid; place-items: center; font-size: 24px; }
.media-band__quote { background: #f8f8f8; padding: 24px; display: flex; flex-direction: column; justify-content: center; }
.media-band__quote blockquote { margin: 0; color: #66707a; font-size: 14px; line-height: 1.8; letter-spacing: .08em; }
.quote-author { text-align: center; color: #4b6278; margin-top: 16px; }

.site-footer { background: #3a3939; color: #fff; padding: 26px 0 18px; }
.footer__inner { display: grid; grid-template-columns: 1.5fr 1fr auto; gap: 20px; align-items: start; }
.footer__links { display: flex; flex-wrap: wrap; gap: 10px 14px; justify-content: center; font-size: 13px; }
.footer__social { display: flex; gap: 10px; justify-content: flex-end; }
.footer__social a { width: 30px; height: 30px; border-radius: 50%; background: #1c1c1c; display: grid; place-items: center; }

.content-area { padding: 40px 0; }

.search-certificate-shell {
  background: linear-gradient(180deg, #eef1f6 0%, #f7f8fb 100%);
  overflow: hidden;
}
.search-certificate-shell #wpadminbar { display: none !important; }
.search-certificate-page {
  min-height: 100vh;
  height: 100vh;
  overflow: hidden;
  display: grid;
  place-items: center;
  padding: 10px 12px;
}
.search-certificate-card {
  width: min(1860px, 100%);
  height: 100%;
  min-height: calc(100vh - 24px);
  background: #fff;
  padding: clamp(14px, 3vw, 36px);
  display: flex;
  flex-direction: column;
  align-items: center;
  box-sizing: border-box;
}
.search-certificate-logo {
  width: clamp(92px, 10vw, 170px);
  margin-top: clamp(5px, 2.5vh, 28px);
}
.search-certificate-card h1 {
  margin: 12px 0 20px;
  font-size: clamp(22px, 2vw, 34px);
  color: #687d98;
  font-weight: 700;
  text-align: center;
}
.search-certificate-form {
  width: min(100%, 760px);
  align-self: flex-start;
}
.search-certificate-form label {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(15px, 1.2vw, 22px);
  font-weight: 700;
  color: #24364c;
}
.search-certificate-form__row {
  display: flex;
  gap: 18px;
  align-items: center;
  flex-wrap: wrap;
}
.search-certificate-form input {
  flex: 1 1 440px;
  min-width: 0;
  height: 50px;
  border: 1px solid #d6dfee;
  padding: 0 16px;
  font-size: 16px;
  outline: none;
}
.search-certificate-form button {
  flex: 0 0 auto;
  height: 42px;
  padding: 0 18px;
  border: 0;
  border-radius: 3px;
  background: #4da2ee;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
}
.search-results {
  width: 100%;
  margin-top: 30px;
}
.search-results__table-wrap {
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior-x: contain;
}
.search-results__table {
  width: 100%;
  min-width: 1120px;
  border-collapse: collapse;
  border: 1px solid #edf0f4;
  color: #5f7087;
}
.search-results__table th,
.search-results__table td {
  border-right: 1px solid #edf0f4;
  border-bottom: 1px solid #edf0f4;
  padding: 10px 10px;
  text-align: left;
  font-size: 14px;
  white-space: nowrap;
}
.search-results__table th {
  font-size: 15px;
  font-weight: 700;
  color: #5e6e82;
  background: #fbfcfd;
}
.search-results__table td {
  background: #fff;
}
.search-results__table td:first-child,
.search-results__table th:first-child { width: 220px; }
.search-results__table td:nth-child(4),
.search-results__table th:nth-child(4) { min-width: 340px; }
.search-results__table td:last-child,
.search-results__table th:last-child { border-right: 0; }
.search-results__table tr:last-child td { border-bottom: 0; }
.search-results__table .is-empty td {
  text-align: center;
  font-size: 18px;
  padding: 15px 12px;
  color: #667892;
}
.search-results__table .is-empty td,
.search-results__table .is-empty:hover td {
  background: #fff;
}
.certificate-verify {
  width: min(100%, 760px);
  margin-top: 15px;
}
.certificate-verify label {
  display: block;
  margin-bottom: 8px;
  font-size: clamp(15px, 1.2vw, 22px);
  font-weight: 700;
  color: #24364c;
}
.certificate-verify__row {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  align-items: center;
}
.certificate-verify input {
  flex: 1 1 280px;
  min-width: 0;
  height: 46px;
  border: 1px solid #d6dfee;
  padding: 0 16px;
  font-size: 15px;
}
.certificate-verify button {
  height: 42px;
  padding: 0 20px;
  border: 0;
  border-radius: 3px;
  background: #4da2ee;
  color: #fff;
  font-size: 15px;
  cursor: pointer;
}
.certificate-verify__message {
  margin: 14px 0 0;
  font-size: 15px;
}
.certificate-verify__message.success { color: #0a7a0a; }
.certificate-verify__message.error { color: #b00020; }

.track-certificate-page { padding: 44px 0 70px; }
.track-certificate-layout {
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr) 240px;
  gap: 56px;
  align-items: start;
}
.track-sidebar {
  background: #f5f5f5;
  padding: 38px 16px 26px;
}
.track-sidebar__title {
  background: var(--brand);
  color: #fff;
  font-size: 21px;
  padding: 14px 16px;
  margin-bottom: 18px;
}
.track-sidebar__nav a {
  display: block;
  padding: 15px 4px 15px 6px;
  border-bottom: 1px solid #ddd;
  color: var(--brand);
  font-size: 17px;
}
.track-sidebar__nav .chev {
  display: inline-block;
  margin-right: 10px;
}
.track-content h1 {
  font-size: clamp(28px, 3vw, 42px);
  margin: 10px 0 12px;
  color: #2b2b2b;
}
.track-content h1::after {
  content: '';
  display: block;
  height: 2px;
  background: var(--brand);
  margin-top: 16px;
}
.track-lead,
.track-content p,
.track-content li {
  font-size: 18px;
  line-height: 1.7;
  color: #111;
}
.track-content h2 {
  font-size: 22px;
  margin: 30px 0 6px;
}
.track-content ul {
  padding-left: 26px;
  margin: 18px 0 28px;
}
.track-actions {
  display: flex;
  gap: 28px;
  flex-wrap: wrap;
  margin: 26px 0 24px;
}
.track-btn {
  min-width: 382px;
  text-align: center;
  border-radius: 999px;
  padding: 16px 28px;
  font-size: 18px;
  font-weight: 700;
}
.track-help { max-width: 980px; }

@media (max-width: 1024px) {
  .card-grid--3, .partner-strip__grid, .media-band, .footer__inner, .track-certificate-layout { grid-template-columns: 1fr; }
  .columns-3 { min-width: 100%; grid-template-columns: 1fr; }
  .hero-slide__content h1 { font-size: 34px; }
  .track-btn { min-width: 0; width: 100%; }
  .search-certificate-page,
  .search-certificate-card { min-height: auto; height: auto; }
  .search-results { margin-top: 28px; }
  .search-results__table-wrap {
    border: 1px solid #edf0f4;
    border-radius: 2px;
    background: #fff;
  }
  .certificate-verify { width: 100%; margin-top: 16px; }
}

@media (max-width: 768px) {
  .topbar__inner { flex-direction: column; align-items: center; text-align: center; }
  .topbar__contact { justify-content: center; font-size: 13px; }
  .mainnav__inner { flex-direction: column; align-items: stretch; }
  .nav-toggle { display: block; background: rgba(255,255,255,.15); color: #fff; border: 0; padding: 12px 14px; font-size: 16px; text-align: left; }
  .mainnav__menu { display: none; flex-direction: column; background: var(--brand); }
  .mainnav__menu.is-open { display: flex; }
  .mainnav__menu > a, .nav-item > a { width: 100%; padding: 14px 16px; border-top: 1px solid rgba(255,255,255,.15); }
  .dropdown-panel { position: static; box-shadow: none; }
  .dropdown-panel__column h3 { padding: 16px 18px 10px; font-size: 18px; }
  .dropdown-panel__column li a { padding: 10px 18px; font-size: 14px; }
  .hero-slider { height: 320px; }
  .intro-panel { clip-path: none; }
  .hero-slide__overlay { background: linear-gradient(90deg, rgba(255,255,255,.9), rgba(255,255,255,.5)); }
  .hero-slide__content { padding: 0 10px; }
  .hero-slide__content h1 { max-width: 260px; font-size: 28px; }
  .btn { padding: 10px 18px; }
  .track-certificate-page { padding: 24px 0 48px; }
  .track-sidebar { padding: 22px 12px 16px; }
  .track-sidebar__title { font-size: 18px; }
  .track-sidebar__nav a { font-size: 15px; padding: 12px 4px; }
  .track-content h1 { font-size: 28px; }
  .track-lead,
  .track-content p,
  .track-content li { font-size: 16px; }
  .track-btn { font-size: 16px; padding: 14px 20px; }
  .search-certificate-page { padding: 12px; }
  .search-certificate-card {
    width: 100%;
    min-height: calc(100vh - 24px);
    padding: 18px 16px 28px;
  }
  .search-certificate-logo {
    width: 120px;
    margin-top: 18px;
  }
  .search-certificate-card h1 {
    margin: 22px 0 34px;
    font-size: 28px;
  }
  .search-certificate-form {
    width: 100%;
    align-self: stretch;
  }
  .search-certificate-form label {
    font-size: 18px;
  }
  .search-certificate-form__row {
    gap: 14px;
  }
  .search-certificate-form input {
    height: 52px;
    flex-basis: 100%;
  }
  .search-certificate-form button {
    width: 100%;
    height: 46px;
    font-size: 16px;
  }
  .search-results { margin-top: 22px; }
  .search-results__table-wrap {
    max-width: 100%;
    overflow-x: auto;
    padding-bottom: 4px;
  }
  .search-results__table { min-width: 1040px; }
  .search-results__table th,
  .search-results__table td {
    font-size: 13px;
    padding: 10px 8px;
  }
  .search-results__table th:first-child,
  .search-results__table td:first-child {
    width: 180px;
  }
  .search-results__table td:nth-child(4),
  .search-results__table th:nth-child(4) {
    min-width: 300px;
  }
  .search-results__table .is-empty td {
    font-size: 16px;
    padding: 16px 10px;
  }
  .certificate-verify__row { gap: 10px; }
  .certificate-verify input { height: 44px; }
  .certificate-verify button { width: 100%; height: 42px; }
}
