/* ═══════════════════════════════════════════════════════════
   QA ABOUT SECTION
   Reusable two-column section: image left + content right.
   Use .qa-about--reverse to flip columns.
   Use .qa-about--mint for mint-green background.
═══════════════════════════════════════════════════════════ */

:root {
  --qa-green:   #0d3d1a;
  --qa-green-m: #1a5c2a;
  --qa-gold:    #c9a227;
  --qa-mint:    #f0ffe8;
  --qa-muted:   #666;
}

.qa-about {
  padding: 90px 24px;
  background: #fff;
  overflow: hidden;
  position: relative;
}

/* First about section gets extra top padding to clear the overlapping stats bar */
.qa-stats-bar + .qa-about,
.qa-stats-bar ~ .qa-about:first-of-type {
  padding-top: 134px;
}

.qa-about--mint { background: var(--qa-mint); }

/* subtle top border accent */
.qa-about + .qa-about {
  border-top: 1px solid rgba(0,0,0,.08);
}

.qa-about-inner {
  max-width: 1160px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 72px;
  align-items: center;
}

/* Reverse layout — image on right */
.qa-about--reverse .qa-about-media  { order: 2; }
.qa-about--reverse .qa-about-content { order: 1; }


/* ── IMAGE / MEDIA COLUMN ─────────────────────────────────── */
.qa-about-media {
  position: relative;
}

.qa-about-img-wrap {
  position: relative;
  border-radius: 20px;
  overflow: visible;
}

.qa-about-img {
  width: 100%;
  height: 480px;
  object-fit: cover;
  display: block;
  border-radius: 20px;
  position: relative;
  z-index: 1;
}

/* Green frame offset */
.qa-about-img-frame {
  position: absolute;
  inset: 0;
  border-radius: 20px;
  border: 3px solid var(--qa-green);
  transform: translate(12px, 12px);
  z-index: 0;
  opacity: .18;
}

/* Gold square accent */
.qa-about-img-accent {
  position: absolute;
  bottom: -16px;
  right: -16px;
  width: 88px;
  height: 88px;
  background: var(--qa-gold);
  border-radius: 14px;
  z-index: 0;
  opacity: .85;
}

/* Stat / experience badge */
.qa-about-badge {
  position: absolute;
  bottom: 28px;
  left: -24px;
  z-index: 3;
  background: var(--qa-green);
  border-radius: 16px;
  padding: 20px 26px;
  text-align: center;
  min-width: 140px;
  box-shadow: 0 12px 40px rgba(0,0,0,.28);
}

.qa-about-badge-num {
  display: block;
  font-size: 42px;
  font-weight: 900;
  color: var(--qa-gold);
  line-height: 1;
  letter-spacing: -1px;
}

.qa-about-badge-num sup {
  font-size: 22px;
  vertical-align: super;
  font-weight: 700;
}

.qa-about-badge-label {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255,255,255,.82);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 6px;
  line-height: 1.4;
}

/* Vertical decorative bars */
.qa-about-bars {
  position: absolute;
  right: -28px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.qa-about-bar {
  display: block;
  width: 7px;
  border-radius: 4px;
}

.qa-about-bar--1 { height: 88px; background: var(--qa-green); }
.qa-about-bar--2 { height: 52px; background: var(--qa-gold); }


/* ── CONTENT COLUMN ───────────────────────────────────────── */

/* Eyebrow tag */
.qa-about-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  color: var(--qa-gold);
  margin-bottom: 18px;
}

.qa-about-eyebrow::before,
.qa-about-eyebrow::after {
  content: '';
  display: inline-block;
  width: 22px;
  height: 2px;
  background: var(--qa-gold);
  border-radius: 1px;
  flex-shrink: 0;
}

/* Heading */
.qa-about-heading {
  font-size: clamp(26px, 3vw, 42px);
  font-weight: 900;
  line-height: 1.12;
  color: var(--qa-green);
  margin: 0 0 22px;
  letter-spacing: -.5px;
}

.qa-about-heading em,
.qa-about-heading .qa-hl {
  font-style: normal;
  color: var(--qa-gold);
}

.qa-about-heading strong {
  color: var(--qa-green-m);
}

/* Description */
.qa-about-desc {
  margin-bottom: 36px;
}

.qa-about-desc p {
  font-size: 15.5px;
  line-height: 1.85;
  color: var(--qa-muted);
  margin: 0 0 16px;
}

.qa-about-desc p:last-child { margin: 0; }

/* Highlight links in description */
.qa-about-desc a {
  color: var(--qa-green);
  font-weight: 600;
  text-decoration: underline;
  text-decoration-color: var(--qa-gold);
  text-underline-offset: 3px;
}

/* Optional stats row */
.qa-about-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 36px;
  padding: 20px 0;
  border-top: 1px solid rgba(0,0,0,.08);
  border-bottom: 1px solid rgba(0,0,0,.08);
}

.qa-about-stat {
  text-align: center;
}

.qa-about-stat-num {
  display: block;
  font-size: 28px;
  font-weight: 900;
  color: var(--qa-green);
  letter-spacing: -.5px;
  line-height: 1;
}

.qa-about-stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--qa-muted);
  text-transform: uppercase;
  letter-spacing: .8px;
  margin-top: 4px;
}

/* Buttons */
.qa-about-btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.qa-about-btn-primary,
.qa-about-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 700;
  font-family: inherit;
  letter-spacing: .3px;
  text-decoration: none;
  transition: background .2s, color .2s, transform .2s, box-shadow .2s;
  cursor: pointer;
  line-height: 1;
  appearance: none;
  -webkit-appearance: none;
}

.qa-about-btn-primary {
  background: var(--qa-green);
  color: #fff;
  box-shadow: 0 4px 18px rgba(13,61,26,.25);
  border: 2px solid var(--qa-green);
}

.qa-about-btn-primary:hover {
  background: var(--qa-green-m);
  border-color: var(--qa-green-m);
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(13,61,26,.35);
  color: #fff !important;
  text-decoration: none !important;
}

.qa-about-btn-secondary {
  background: transparent;
  color: var(--qa-green);
  border: 2px solid var(--qa-green);
}

.qa-about-btn-secondary:hover {
  background: var(--qa-green);
  color: #fff;
  transform: translateY(-2px);
  text-decoration: none;
}

.qa-about-btn-primary svg,
.qa-about-btn-secondary svg {
  flex-shrink: 0;
  transition: transform .2s;
}

.qa-about-btn-primary:hover svg,
.qa-about-btn-secondary:hover svg {
  transform: translateX(3px);
}


/* ═══════════════════════════════════════════════════════════
   SCROLL ANIMATIONS — Intersection Observer
   Elements start invisible; JS adds .qa-anim-in when in view.
═══════════════════════════════════════════════════════════ */

@media (prefers-reduced-motion: no-preference) {
  [data-qa-anim] {
    opacity: 0;
    transition: opacity .65s cubic-bezier(.22,.61,.36,1),
                transform .65s cubic-bezier(.22,.61,.36,1);
  }

  [data-qa-anim="from-left"]   { transform: translateX(-52px); }
  [data-qa-anim="from-right"]  { transform: translateX(52px); }
  [data-qa-anim="from-bottom"] { transform: translateY(36px); }
  [data-qa-anim="pop"]         { transform: scale(.78); }

  [data-qa-anim].qa-anim-in {
    opacity: 1;
    transform: none;
  }
}

/* Reduced-motion: skip animation, always show */
@media (prefers-reduced-motion: reduce) {
  [data-qa-anim] { opacity: 1; transform: none; }
}


/* ═══════════════════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════════════════ */

@media (max-width: 960px) {
  .qa-about-inner {
    grid-template-columns: 1fr;
    gap: 44px;
  }

  /* Always show image first on mobile */
  .qa-about-media  { order: 1 !important; }
  .qa-about-content { order: 2 !important; }

  .qa-about-media {
    max-width: 520px;
    margin: 0 auto;
    width: 100%;
  }

  .qa-about-img { height: 340px; }

  .qa-about-bars { display: none; }
}

@media (max-width: 680px) {
  .qa-about { padding: 64px 20px; }

  .qa-about-img { height: 270px; }

  .qa-about-badge {
    left: 12px;
    bottom: 12px;
    padding: 14px 18px;
    min-width: 118px;
  }

  .qa-about-badge-num { font-size: 34px; }
}

@media (max-width: 420px) {
  .qa-about-btns {
    flex-direction: column;
    align-items: stretch;
  }

  .qa-about-btn-primary,
  .qa-about-btn-secondary {
    justify-content: center;
  }

  .qa-about-stats {
    flex-wrap: nowrap;
    justify-content: space-between;
    gap: 8px;
  }

  .qa-about-stat-num  { font-size: 22px; }
  .qa-about-stat-label { font-size: 10px; }
}
