/* ══════════════════════════════════════════════════════════════════
   testimonials.css
   Page-specific stylesheet for testimonials.php — loaded the same way
   about.css is loaded for about.php (each page ships its own CSS).

   SECTION 1 below is copied verbatim from about.css so the banner,
   quick-facts block, FAQ accordion, sticky Google Ad slot and stats
   row render pixel-identical to the About page. Do not fork these
   rules per-page — if the About page's design changes, copy the same
   block here again to keep them in sync.

   SECTION 2 is new, testimonials-only styling: filter tabs, the
   testimonial card grid, and the CTA strip. These reuse the same
   design tokens (var(--saffron), var(--text), var(--muted), etc.)
   that are already defined globally, same as about.css does.
   ══════════════════════════════════════════════════════════════════ */


/* ════════════════════════════════════════════════════════════════
   SECTION 1 — shared components, copied from about.css
   ════════════════════════════════════════════════════════════════ */

/* ── Hero banner ── */
.js-pro-banner {
  width: 100%;
  box-sizing: border-box;
  padding-top: calc(var(--header-h, 75px) + var(--topbar-h, 38px) + 50px);
  padding-bottom: 60px;
  padding-left: 20px;
  padding-right: 20px;
  background:
    linear-gradient(180deg, rgba(10, 22, 40, 0.78) 0%, rgba(10, 22, 40, 0.94) 100%),
    linear-gradient(125deg, rgba(255, 107, 0, 0.35) 0%, rgba(10, 22, 40, 0.2) 60%),
    url('https://picsum.photos/1600/600?grayscale') center center / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.js-pro-banner-content { max-width: 760px; width: 100%; margin: 0 auto; }

.js-pro-badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255, 107, 0, 0.18);
  border: 1px solid rgba(255, 107, 0, 0.45);
  color: #ff8433; font-size: 11px; font-weight: 700;
  text-transform: uppercase; letter-spacing: 1px;
  padding: 5px 14px; border-radius: 50px; margin-bottom: 14px;
  backdrop-filter: blur(4px);
}

.js-pro-crumb {
  font-size: 13px; font-weight: 600; color: rgba(255, 255, 255, 0.65);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  margin-bottom: 12px;
}
.js-pro-crumb a { color: rgba(255, 255, 255, 0.65); text-decoration: none; transition: color 0.2s ease; }
.js-pro-crumb a:hover { color: #ff8433; }
.js-pro-crumb i { font-size: 9px; color: rgba(255, 255, 255, 0.35); }
.js-pro-crumb span { color: #ffffff; }

.js-pro-title {
  font-family: 'Sora', sans-serif;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800; color: #ffffff; letter-spacing: -0.5px;
  margin: 0 0 10px 0; line-height: 1.2;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}
.js-pro-desc {
  font-size: 15px; color: rgba(255, 255, 255, 0.85); line-height: 1.6;
  margin: 0 auto; max-width: 620px;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

/* ── Content — two-column layout: text column + sticky ad column ── */
.about-content { background: var(--bg); padding: 64px 0; }
.about-content-inner {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 56px;
  align-items: start;
  margin-bottom: 56px;
}

.about-eyebrow {
  font-size: 12px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--saffron); margin-bottom: 10px;
}
.about-heading {
  font-family: 'Sora', sans-serif;
  font-size: clamp(24px, 3vw, 32px); font-weight: 800;
  color: var(--text); letter-spacing: -0.6px; margin-bottom: 18px;
}
.about-subheading {
  font-family: 'Sora', sans-serif;
  font-size: 17px; font-weight: 700;
  color: var(--text); margin: 26px 0 10px;
}
.about-text h3.about-subheading:first-of-type { margin-top: 6px; }
.about-text p { font-size: 15px; line-height: 1.85; color: var(--muted); margin-bottom: 16px; }
.about-text p:last-child { margin-bottom: 0; }
.about-text strong { color: var(--text); }

/* ── Quick Facts ── */
.about-quickfacts {
  background: var(--light); border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; margin-bottom: 28px;
}
.about-quickfacts-title {
  display: flex; align-items: center; gap: 8px;
  font-size: 13.5px; font-weight: 700; color: var(--text); margin-bottom: 14px;
}
.about-quickfacts-title i { color: var(--saffron); }
.about-quickfacts-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.about-quickfacts-item {
  display: flex; align-items: flex-start; gap: 10px;
  background: white; border: 1px solid var(--border); border-radius: 11px;
  padding: 12px 13px;
}
.about-quickfacts-item--wide { grid-column: 1 / -1; }
.about-quickfacts-ico {
  width: 30px; height: 30px; border-radius: 9px; flex-shrink: 0;
  background: var(--saffron-glow); color: var(--saffron);
  display: flex; align-items: center; justify-content: center; font-size: 13px;
}
.about-quickfacts-content { min-width: 0; }
.about-quickfacts-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--muted); margin-bottom: 3px;
}
.about-quickfacts-value { font-size: 13.5px; font-weight: 700; color: var(--text); line-height: 1.4; }

/* ── FAQ accordion ── */
.about-faq { margin-top: 36px; }
.about-faq-item {
  background: #ffffff; border: 1px solid #e2e8f0; border-radius: 10px;
  margin-bottom: 10px; overflow: hidden;
}
.about-faq-item:last-child { border-bottom: none; }
.about-faq-q {
  width: 100%; padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  border: none; background: transparent;
  font-size: 14px; font-weight: 600; color: #1e293b; cursor: pointer; text-align: left;
}
.about-faq-q:hover { color: var(--saffron); }
.about-faq-icon {
  flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%;
  background: var(--saffron-glow); color: var(--saffron);
  display: flex; align-items: center; justify-content: center;
  font-size: 11px; transition: transform 0.2s, background 0.2s, color 0.2s;
}
.about-faq-item.open .about-faq-icon,
.about-faq-item.active .about-faq-icon { background: var(--saffron); color: white; }
.about-faq-a { max-height: 0; overflow: hidden; transition: max-height 0.3s ease; padding: 0 18px; }
.about-faq-a p { font-size: 13.5px; font-weight: 300; color: var(--muted); line-height: 1.75; padding: 0 2px 16px; }

/* ── Sticky Google Ad slot ── */
.about-ad-slot { position: sticky; top: calc(var(--header-scroll-h) + 40px); }
.about-ad-label {
  font-size: 10.5px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--muted); margin-bottom: 8px; text-align: center;
}
.about-ad-box {
  width: 100%; min-height: 600px;
  background: white; border: 1.5px dashed var(--border); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--muted); font-size: 13px; font-weight: 600;
  box-shadow: var(--shadow);
}

/* ── Full-width stats row ── */
.about-stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px;
  background: white; border: 1px solid var(--border); border-radius: 16px;
  padding: 28px; box-shadow: var(--shadow);
}
.about-stat { text-align: center; }
.about-stat-num { font-family: 'Sora', sans-serif; font-size: 28px; font-weight: 800; color: var(--saffron); }
.about-stat-label { font-size: 13px; color: var(--muted); margin-top: 3px; }


/* ════════════════════════════════════════════════════════════════
   SECTION 2 — testimonials-only additions (filters, cards, CTA)
   ════════════════════════════════════════════════════════════════ */

/* Filter tabs */
.tst-filters { display: flex; gap: 8px; margin-bottom: 22px; flex-wrap: wrap; }
.tst-filter-btn {
  font-family: 'DM Sans', sans-serif;
  font-size: 13.5px; font-weight: 600;
  padding: 8px 16px; border-radius: 999px;
  border: 1px solid var(--border); background: white; color: var(--muted);
  cursor: pointer; transition: border-color .15s ease, color .15s ease, background .15s ease;
}
.tst-filter-btn:hover { border-color: var(--saffron); color: var(--text); }
.tst-filter-btn.is-active { background: var(--saffron); border-color: var(--saffron); color: white; }

/* Testimonial card grid */
.tst-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; margin-bottom: 28px; }
.tst-card {
  background: white; border: 1px solid var(--border); border-radius: 14px;
  padding: 20px; display: flex; flex-direction: column;
  box-shadow: var(--shadow);
  transition: transform .15s ease;
}
.tst-card:hover { transform: translateY(-2px); }
.tst-card-quote-icon { color: var(--saffron); font-size: 16px; opacity: .55; margin-bottom: 8px; }
.tst-card-quote { font-size: 14px; line-height: 1.65; color: var(--text); margin: 0 0 14px; flex: 1; }
.tst-card-tag {
  display: inline-block; align-self: flex-start;
  font-size: 11.5px; font-weight: 700; color: var(--saffron);
  background: var(--saffron-glow); padding: 4px 10px; border-radius: 999px; margin-bottom: 14px;
}
.tst-card-person { display: flex; align-items: center; gap: 11px; }
.tst-card-avatar {
  width: 36px; height: 36px; flex: none; border-radius: 50%;
  background: var(--text); color: #fff;
  font-family: 'Sora', sans-serif; font-weight: 700; font-size: 14px;
  display: flex; align-items: center; justify-content: center;
}
.tst-card-person-info { flex: 1; min-width: 0; }
.tst-card-name { font-family: 'Sora', sans-serif; font-weight: 700; font-size: 13.5px; color: var(--text); }
.tst-card-role { font-size: 11.5px; color: var(--muted); }
.tst-card-badge { font-size: 10.5px; font-weight: 700; padding: 4px 9px; border-radius: 6px; white-space: nowrap; }
.tst-card-badge--seeker { background: #E9F5EF; color: #2E7D5B; }
.tst-card-badge--employer { background: #EAF1FB; color: #2A5CAA; }

.tst-empty { text-align: center; padding: 40px 20px; color: var(--muted); }
.tst-empty i { font-size: 24px; margin-bottom: 8px; display: block; }

/* CTA strip */
.tst-cta {
  display: flex; align-items: center; justify-content: space-between; gap: 20px;
  background: var(--text); border-radius: 16px; padding: 24px 26px; margin-bottom: 8px;
}
.tst-cta-text h3 { font-family: 'Sora', sans-serif; color: #fff; font-size: 17.5px; margin: 0 0 4px; }
.tst-cta-text p { font-size: 13px; color: #C9C9C9; margin: 0; }
.tst-cta-btn {
  flex: none; background: var(--saffron); color: #fff;
  font-weight: 700; font-size: 13.5px; padding: 11px 20px; border-radius: 10px;
  text-decoration: none; white-space: nowrap; transition: filter .15s ease;
}
.tst-cta-btn:hover { filter: brightness(1.08); }


/* ════════════════════════════════════════════════════════════════
   RESPONSIVE — same breakpoints/behaviour as about.css
   ════════════════════════════════════════════════════════════════ */
@media (max-width: 900px) {
  .about-content-inner { grid-template-columns: 1fr; gap: 32px; }
  .about-ad-slot { position: static; }
  .about-ad-box { min-height: 250px; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .tst-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
  .about-content { padding: 40px 0; }
  .about-stats-row { grid-template-columns: repeat(2, 1fr); gap: 16px; padding: 20px; }
  .about-stat-num { font-size: 22px; }
  .about-stat-label { font-size: 11.5px; }
  .about-quickfacts-grid { grid-template-columns: 1fr; }
  .tst-cta { flex-direction: column; align-items: flex-start; }
  .tst-cta-btn { width: 100%; text-align: center; }
}

@media (prefers-reduced-motion: reduce) {
  .tst-card, .tst-cta-btn, .about-faq-a, .about-faq-icon { transition: none; }
}