@charset "UTF-8";
/* =========================================================
   JLSR Infotech – Quality pages (shared stylesheet)
   Used by: quality-policy.html, quality-process.html, testing-techniques.html
   Loaded after style.css, about.css, technology.css, services.css
   (shared hero, glass tiles, buttons, CTA band, .mdi icons, .dot-bg).
   All three pages use the same .cq-* classes.
   ========================================================= */

.lg-qtool {
  width: 40px;
  height: 40px;
}

/* ---------- Accent palette (cards, stages, services) ---------- */
.c1 {
  --acc: #1f66d6;
  --acc-soft: #e3edff;
}

.c2 {
  --acc: #1fae86;
  --acc-soft: #e0f6ee;
}

.c3 {
  --acc: #6c5ce7;
  --acc-soft: #ece9fd;
}

.c4 {
  --acc: #ef8420;
  --acc-soft: #fdeedc;
}

.c5 {
  --acc: #14a9b8;
  --acc-soft: #dcf4f7;
}

.c6 {
  --acc: #e0467f;
  --acc-soft: #fde4ee;
}

/* ---------- Hero extras ---------- */
.cq-taglines {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.cq-taglines li {
  color: #e8edf6;
  font-size: var(--fs-16);
  font-weight: 500;
  line-height: 1.5;
}

.cq-taglines li:not(:last-child)::after {
  content: "|";
  margin: 0 14px;
  color: var(--cyan);
  font-weight: 400;
}

.cq-taglines.cq-flow li:not(:last-child)::after {
  content: "\2192";
  margin: 0 12px;
}

.cq-tiles .glass-link.is-current {
  background: rgba(255, 255, 255, .24);
  border-color: var(--cyan);
  box-shadow: 0 0 0 3px rgba(34, 211, 238, .25), 0 8px 24px rgba(0, 0, 0, .18);
}

/* ---------- Section ---------- */
.cq-section {
  position: relative;
  background:
    radial-gradient(circle at 0% 0%, rgba(30, 91, 216, .07), transparent 38%),
    radial-gradient(circle at 100% 100%, rgba(34, 211, 238, .08), transparent 40%),
    #fff;
}

.cq-eyebrow {
  color: var(--navy);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
  margin-bottom: 10px;
}

.cq-h2 {
  font-size: 34px;
  font-weight: 700;
  letter-spacing: -.4px;
  line-height: 1.2;
  margin: 0 0 20px;
}

.cq-h2-sm {
  font-size: 22px;
  margin-top: 44px;
}

.cq-bar {
  display: block;
  width: 46px;
  height: 4px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--navy), var(--cyan));
  margin: 0 0 24px;
}

.cq-lead {
  margin: 0;
  max-width: 560px;
  font-size: var(--fs-16);
  line-height: 1.9;
  color: #3d4757;
}

/* ---------- Intro (copy + illustration) ---------- */
.cq-intro {
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, .95fr);
  gap: 56px;
}

.cq-art {
  padding: 18px;
  border: 1px solid #e4e7ec;
  border-radius: var(--radius);
}

.cq-art svg {
  display: block;
  width: 100%;
  max-width: 500px;
  height: auto;
  margin: 0 auto;
}

.cq-body > .cq-h2:first-child {
  margin-bottom: 26px;
}

/* ---------- Card grid (pillars / services) ---------- */
.cq-grid {
 list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 16px;
}

.cq-card {
    grid-column: span 2;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: #f4f6f9;
    border: 1px solid #e5e7eb;
    border-radius: var(--radius);
    transition: .25s ease;
}

.cq-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
  border-color: var(--acc);
}

.cq-card-ico {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--acc);
  box-shadow: 0 0 0 6px var(--acc-soft);
  margin-bottom: 20px;
}

.cq-card-ico .mdi {
  width: 28px;
  height: 28px;
  color: #fff;
  fill: currentColor;
}

.cq-card h3 {
  font-size: var(--fs-16);
  font-weight: 600;
  line-height: 1.3;
  margin: 0 0 8px;
}

.cq-card p {
  margin: 0;
  color: #4a5568;
}

/* ---------- Stages (process) ---------- */
.cq-stages {
  list-style: none;
  margin: 0 0 40px;
  padding: 0;
  display: grid;
  gap: 14px;
    grid-template-columns: repeat(3, 1fr);
}

.cq-stage {
  display: flex;
  align-items: center;
  gap: 18px;
  padding: 20px 24px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 16px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
  transition: .25s ease;
}

.cq-stage:hover {
  transform: translateX(6px);
  box-shadow: var(--shadow);
  border-color: var(--acc);
}

.cq-stage-n {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--navy);
  color: #fff;
  font-weight: 700;
}

.cq-stage-ico {
  flex: 0 0 60px;
  width: 60px;
  height: 60px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: var(--acc-soft);
}

.cq-stage-ico .mdi {
  width: 30px;
  height: 30px;
  color: var(--acc);
}

.cq-stage h3 {
  font-size: var(--fs-16);
  font-weight: 700;
  color: var(--navy);
  margin: 0 0 4px;
}

.cq-stage p {
  margin: 0;
  line-height: 1.65;
  color: #4a5568;
}

/* ---------- Tools (testing) ---------- */
.cq-tools {
  list-style: none;
  margin: 0 0 40px;
  padding: 26px 20px 22px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
  background: #f1f6ff;
  border: 1px solid #d9e4f7;
  border-radius: 16px;
}

.cq-tool {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.cq-tool-tile {
  width: 68px;
  height: 68px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  background: #fff;
  border: 1px solid #d9e4f7;
  box-shadow: 0 4px 12px rgba(15, 35, 75, .06);
  margin-bottom: 12px;
  transition: .25s ease;
}

.cq-tool:hover .cq-tool-tile {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
}

.cq-tool-name {
  color: var(--heading);
  font-weight: 600;
  line-height: 1.3;
}

.cq-tool-sub {
  color: #5d6676;
  font-size: 13px;
  line-height: 1.3;
}

/* ---------- Banners ---------- */
.cq-banner {
    position: relative;
    display: flex;
    align-items: center;
    gap: 24px;
    padding: 16px;
    border-radius: 18px;
    overflow: hidden;
}

.cq-banner-navy {
  background:
    radial-gradient(circle, rgba(255, 255, 255, .08) 1.2px, transparent 1.2px) 0 0/20px 20px,
    linear-gradient(100deg, var(--navy-dark), var(--navy) 60%, #173a82);
}

.cq-banner-navy::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 3px;
  background: linear-gradient(90deg, var(--navy), var(--cyan) 55%, var(--navy));
}

.cq-banner-mint {
  background: linear-gradient(135deg, #e3f9f1, #f3fcf8);
  border: 1px solid #bfeadb;
}

.cq-banner-ico {
  flex: 0 0 64px;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, .12);
  border: 2px solid rgba(255, 255, 255, .4);
}

.cq-banner-ico .mdi {
  width: 34px;
  height: 34px;
  color: #fff;
}

.cq-banner-ico-green {
  background: #1fae86;
  border-color: #fff;
  box-shadow: 0 6px 16px rgba(31, 174, 134, .35);
}

.cq-banner-copy {
  flex: 1;
  min-width: 0;
  position: relative;
}

.cq-banner-copy h3 {
  font-size: 20px;
  font-weight: 600;
  margin: 0 0 8px;
}

.cq-banner-copy p {
  margin: 0;
  line-height: 1.7;
  max-width: 640px;
}

.cq-banner-navy .cq-banner-copy h3 {
  color: #fff;
}

.cq-banner-navy .cq-banner-copy p {
  color: #dce3f1;
}

.cq-banner-mint .cq-banner-copy h3 {
  color: var(--navy);
}

.cq-banner-mint .cq-banner-copy p {
  color: #3d4757;
}

.cq-note {
  position: relative;
  flex: 0 0 auto;
  font-family: "Caveat", "Segoe Script", "Bradley Hand", "Brush Script MT", cursive;
  font-size: 30px;
  font-weight: 500;
  line-height: 1.1;
  color: #fff;
  text-align: center;
  transform: rotate(-6deg);
  padding-right: 8px;
}

.cq-note::after {
  content: "";
  display: block;
  height: 2px;
  width: 92%;
  margin: 8px auto 0;
  background: #fff;
  border-radius: 2px;
  transform: rotate(-4deg);
}

.cq-chart {
  flex: 0 0 auto;
  width: 120px;
  height: auto;
}

/* ---------- Pager (prev / next quality page) ---------- */
.cq-pager {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.cq-pager-link {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 18px 22px;
  background: #fff;
  border: 1px solid #e4e7ec;
  border-radius: 14px;
  box-shadow: 0 3px 12px rgba(0, 0, 0, .04);
  color: var(--navy);
  font-size: var(--fs-16);
  font-weight: 600;
  text-decoration: none;
  transition: .25s ease;
}

.cq-pager-link small {
  display: block;
  color: #5d6676;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 2px;
}

.cq-pager-link:hover {
  transform: translateY(-3px);
  box-shadow: var(--shadow);
  border-color: var(--navy);
  color: var(--navy-dark);
}

.cq-pager-link .mdi {
  flex: none;
  width: 22px;
  height: 22px;
  color: var(--navy);
}

.cq-next {
  justify-content: flex-end;
  text-align: right;
}

.cq-pager-link:focus-visible {
  outline: 3px solid var(--cyan);
  outline-offset: 3px;
}

.cq-cta {
  margin-top: 40px;
}

/* ---------- Animations (subtle) ---------- */
@keyframes cqFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-6px);
  }
}

@keyframes cqDash {
  to {
    stroke-dashoffset: -22;
  }
}

@keyframes cqPulse {
  0% {
    transform: scale(.9);
    opacity: .7;
  }

  100% {
    transform: scale(1.3);
    opacity: 0;
  }
}

.cq-float {
  animation: cqFloat 6s ease-in-out infinite;
}

.cq-dash {
  animation: cqDash 1.6s linear infinite;
}

.cq-pulse {
  transform-box: fill-box;
  transform-origin: center;
  animation: cqPulse 3s ease-out infinite;
}

/* scroll reveal (progressive enhancement) */
.js .cq-card,
.js .cq-stage,
.js .cq-tool,
.js .cq-banner {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity .6s ease, transform .6s ease, box-shadow .25s ease, border-color .25s ease;
}

.js .cq-card.in,
.js .cq-stage.in,
.js .cq-tool.in,
.js .cq-banner.in {
  opacity: 1;
  transform: none;
}

.js .cq-card.in:hover {
  transform: translateY(-5px);
}

.js .cq-stage.in:hover {
  transform: translateX(6px);
}

@media (prefers-reduced-motion: reduce) {

  .cq-float,
  .cq-dash,
  .cq-pulse {
    animation: none !important;
  }

  .js .cq-card,
  .js .cq-stage,
  .js .cq-tool,
  .js .cq-banner {
    opacity: 1;
    transform: none;
    transition: none;
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 1199.98px) {
  .cq-intro {
    gap: 40px;
  }

  .cq-tools {
    grid-template-columns: repeat(5, 1fr);
    gap: 10px;
  }
}

@media (max-width: 991.98px) {
  .cq-intro {
    grid-template-columns: minmax(0, 1fr);
  }

  .cq-lead {
    max-width: none;
  }

  .cq-art {
    max-width: 560px;
    margin: 0 auto;
    width: 100%;
  }

  .cq-body {
    margin-top: 48px;
  }

  .cq-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .cq-tools {
    grid-template-columns: repeat(3, 1fr);
    row-gap: 22px;
  }
}

@media (max-width: 767.98px) {
  .cq-h2 {
    font-size: 28px;
  }

  .cq-h2-sm {
    font-size: 20px;
  }

  .cq-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 26px 22px;
    gap: 16px;
  }

  .cq-note {
    align-self: flex-end;
    font-size: 26px;
  }

  .cq-chart {
    align-self: flex-end;
    width: 96px;
  }

  .cq-stage {
    padding: 16px;
    gap: 14px;
    align-items: flex-start;
  }

  .cq-stage-ico {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
  }

  .cq-stage-ico .mdi {
    width: 26px;
    height: 26px;
  }

  .cq-pager {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 575.98px) {
  .cq-grid {
    grid-template-columns: 1fr;
  }

  .cq-tools {
    grid-template-columns: repeat(2, 1fr);
    padding: 22px 14px 18px;
  }

  .cq-taglines li {
    font-size: var(--fs-14);
  }

  .cq-taglines li:not(:last-child)::after {
    margin: 0 9px;
  }
}
