/* =========================================================
   APA Certification — apa-certification.css
   Colors:
   --green   : #0a5c36
   --blue    : #1a3a6b
   --gray    : #858585
   --gold    : #d4af37
========================================================= */


:root {
  --green: #0a5c36;
  --blue: #1a3a6b;
  --gray: #858585;
  --gold: #d4af37;
  --gold-dark: #b8912a;
  --authenticity-bg: #c9a227; /* background for "Authenticity Premium" pill/box */
  --cream: #f4f1e6;
  --light-green-bg: #eef5f0;
  --text-dark: #1c2b2a;
}

* {
  box-sizing: border-box;
}

body.apa-page {
  margin: 0;
  font-family: "Segoe UI", Arial, Helvetica, sans-serif;
  color: var(--text-dark);
  background: #ffffff;
}

.apa-wrapper {
  max-width: 1180px;
  margin: 0 auto;
  padding: 40px 24px 80px;
}

/* ---------- Section Heading (09 ...) ---------- */
.apa-section-header {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
}

.apa-badge {
  background: var(--gold);
  color: var(--text-dark);
  font-weight: 800;
  font-size: 20px;
  padding: 6px 14px;
  border-radius: 6px;
  display: inline-block;
}

.apa-section-header h1 {
  font-size: 30px;
  color: var(--green);
  margin: 0;
  font-weight: 700;
}

.apa-divider {
  border: none;
  border-top: 3px solid var(--gold);
  margin: 0 0 32px;
}

/* ---------- Hero Section (focal gradient) ---------- */
.apa-hero {
  border-radius: 10px;
  padding: 30px 21px;
  /* background: radial-gradient(ellipse at top left, var(--green) 0%, var(--blue) 100%); */
  background: radial-gradient(circle at bottom right, var(--blue)0%, var(--green) 55%);
  color: #ffffff;
  margin-bottom: 48px;
}

.apa-hero-top {
  display: flex;
  justify-content: space-between;
  gap: 32px;
  flex-wrap: wrap;
  margin-bottom: 24px;
}

.apa-hero-title h2 {
  color: var(--gold);
  font-size: 20px;
  margin: 0 0 8px;
  font-weight: 700;
}

.apa-hero-title p {
  margin: 0;
  font-size: 15px;
  color: #e9ede9;
  max-width: 520px;
}

.apa-hero-note {
  font-style: italic;
  font-size: 12px;
  color: #d7ddd7;
  max-width: 380px;
  text-align: right;
}

/* ---------- Flow row (Traditional Compliance -> ... -> Long-Term Value) ---------- */
.apa-flow {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 24px;
}

.apa-flow-step {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 5px 5px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  flex: 1 1 150px;
}

.apa-flow-step.is-highlight {
  background: var(--authenticity-bg);
  border-color: var(--authenticity-bg);
  color: #24240a;
}

.apa-flow-arrow {
  color: #d7ddd7;
  font-size: 18px;
  flex: 0 0 auto;
}

/* ---------- Stats row ---------- */
.apa-stats {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.apa-stat {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  padding: 14px 14px;
  flex: 1 1 220px;
  font-size: 12px;
  color: #e9ede9;
}

.apa-stat strong {
  color: var(--gold);
  font-size: 18px;
  margin-right: 6px;
}

.apa-stat .sigma {
  color: var(--gold);
  font-size: 18px;
  font-weight: 700;
  margin-right: 6px;
}

.apa-dashboard-link {
  margin-left: auto;
  color: var(--gold);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease, letter-spacing 0.2s ease;
}

.apa-dashboard-link:hover {
  color: #ffe9a8;
  /* letter-spacing: 0.5px; */
  text-decoration: underline;
}

/* ---------- Pathway heading ---------- */
.apa-pathway-heading {
  font-size: 20px;
  color: var(--green);
  font-weight: 700;
  margin: 0 0 28px;
}

/* ---------- Timeline (5 steps) ---------- */
.apa-timeline {
  position: relative;
  padding-left: 8px;
}

.apa-timeline-item {
  position: relative;
  display: flex;
  gap: 20px;
  padding-bottom: 34px;
}

.apa-timeline-item:last-child {
  padding-bottom: 0;
}

.apa-timeline-connector {
  position: absolute;
  left: 20px;
  top: 44px;
  bottom: 0;
  width: 2px;
  background: var(--gold);
}

.apa-timeline-item:last-child .apa-timeline-connector {
  display: none;
}

.apa-step-number {
  flex: 0 0 auto;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  /* background: radial-gradient(ellipse at top left, var(--green) 0%, var(--blue) 100%); */
  background: radial-gradient(ellipse at bottom, var(--green) 0%, var(--blue) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 16px;
  z-index: 1;
}

.apa-timeline-item.is-final .apa-step-number {
  background: var(--gold);
  color: var(--text-dark);
}

.apa-step-content h3 {
  margin: 4px 0 6px;
  color: var(--blue);
  font-size: 17px;
  font-weight: 700;
}

.apa-step-content p {
  margin: 0;
  color: var(--gray);
  font-size: 14.5px;
  line-height: 1.5;
}

/* ---------- Certificate award criteria box ---------- */
.apa-criteria-box {
  background: var(--light-green-bg);
  border-left: 4px solid var(--gold);
  border-radius: 4px;
  padding: 20px 24px;
  margin: 36px 0 28px;
}

.apa-criteria-box h4 {
  color: var(--green);
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 700;
}

.apa-criteria-box p {
  margin: 0;
  color: var(--text-dark);
  font-size: 14px;
  line-height: 1.6;
}

/* ---------- CTA buttons ---------- */
.apa-cta-row {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.apa-btn {
  display: inline-block;
  padding: 14px 22px;
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease, transform 0.15s ease;
  cursor: pointer;
  border: 2px solid transparent;
}

.apa-btn-primary {
  background: var(--green);
  color: #ffffff;
  border-color: var(--green);
}

.apa-btn-primary:hover {
  background: #61ce70;
  /* border-color: #084a2b; */
  border:none;
  color: #ffffff;
  /* box-shadow: 0 4px 14px rgba(10, 92, 54, 0.35);
  transform: translateY(-1px); */
}

.apa-btn-outline {
  background: transparent;
  color: var(--green);
  border-color: var(--green);
}

.apa-btn-outline:hover {
  background: var(--green);
  color: #ffffff;
  box-shadow: 0 4px 14px rgba(10, 92, 54, 0.2);
  transform: translateY(-1px);
}

/* ---------- Responsive ---------- */
@media (max-width: 720px) {
  .apa-hero {
    padding: 24px 20px;
  }

  .apa-hero-top {
    flex-direction: column;
  }

  .apa-hero-note {
    text-align: left;
  }

  .apa-flow-step {
    flex: 1 1 100%;
  }

  .apa-flow-arrow {
    display: none;
  }

  .apa-dashboard-link {
    margin-left: 0;
    width: 100%;
  }
}
