/* QMS Learning shared styles — used by index.html and all pathway pages */
:root {
  --navy-deep: #0a1628;
  --navy: #162040;
  --navy-mid: #1e293b;
  --slate-700: #334155;
  --slate-500: #64748b;
  --slate-400: #94a3b8;
  --slate-300: #cbd5e1;
  --slate-200: #e2e8f0;
  --slate-100: #f1f5f9;
  --green: #22c55e;
  --green-dark: #16a34a;
  --green-light: #f0fdf4;
  --amber: #f59e0b;
  --red: #ef4444;
  --white: #ffffff;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--navy-mid);
  line-height: 1.6;
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 880px; margin: 0 auto; padding: 0 24px; }

/* Nav */
header.nav {
  position: sticky; top: 0; z-index: 50;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--slate-200);
}
.nav-inner { display: flex; align-items: center; justify-content: space-between; padding: 16px 24px; max-width: 1200px; margin: 0 auto; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 700; color: var(--navy); text-decoration: none; font-size: 18px; }
.logo-tile { width: 32px; height: 32px; background: var(--green); color: white; display: flex; align-items: center; justify-content: center; border-radius: 6px; font-weight: 800; font-size: 16px; }
.nav-links { display: flex; gap: 28px; align-items: center; }
.nav-links a { color: var(--slate-700); text-decoration: none; font-size: 15px; font-weight: 500; transition: color 0.15s; }
.nav-links a:hover { color: var(--navy); }

/* Buttons */
.btn-primary { background: var(--green); color: white; padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; display: inline-block; transition: background 0.15s, transform 0.1s; border: none; cursor: pointer; }
.btn-primary:hover { background: var(--green-dark); }
.btn-primary:active { transform: scale(0.98); }
.btn-primary.lg { padding: 16px 32px; font-size: 16px; }
.btn-secondary { color: var(--navy); background: transparent; border: 1.5px solid var(--slate-300); padding: 12px 22px; border-radius: 8px; text-decoration: none; font-weight: 600; font-size: 15px; display: inline-block; transition: border-color 0.15s; }
.btn-secondary:hover { border-color: var(--navy); }
.btn-secondary.lg { padding: 16px 32px; font-size: 16px; }
.btn-on-dark { color: white; border-color: rgba(255,255,255,0.3); }
.btn-on-dark:hover { border-color: white; }

/* Hero */
.hero { background: linear-gradient(180deg, var(--navy-deep) 0%, var(--navy) 100%); color: white; padding: 96px 0 80px; text-align: center; }
.hero h1 { font-size: 56px; font-weight: 800; line-height: 1.08; max-width: 900px; margin: 0 auto 24px; letter-spacing: -0.025em; }
.hero .sub { font-size: 20px; max-width: 780px; margin: 0 auto 40px; color: var(--slate-300); line-height: 1.5; }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.hero-eyebrow { display: inline-block; background: rgba(34, 197, 94, 0.12); color: var(--green); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 24px; border: 1px solid rgba(34, 197, 94, 0.3); }

/* Trust strip */
.trust { padding: 48px 0; background: var(--slate-100); }
.trust-label { text-align: center; font-size: 12px; text-transform: uppercase; letter-spacing: 0.12em; color: var(--slate-500); font-weight: 700; margin-bottom: 24px; }
.trust-logos { display: flex; justify-content: center; gap: 48px; flex-wrap: wrap; align-items: center; }
.trust-name { font-size: 17px; font-weight: 700; color: var(--slate-700); }

/* Section */
section.block { padding: 96px 0; }
section.block.tight { padding: 72px 0; }
section.block h2 { font-size: 40px; font-weight: 800; color: var(--navy); margin-bottom: 16px; line-height: 1.15; letter-spacing: -0.015em; }
section.block .lead { font-size: 18px; color: var(--slate-700); max-width: 720px; margin-bottom: 48px; line-height: 1.55; }
section.block.center { text-align: center; }
section.block.center .lead { margin-left: auto; margin-right: auto; }
section.block.bg-light { background: var(--slate-100); }

.eyebrow { display: inline-block; background: var(--green-light); color: var(--green-dark); padding: 6px 14px; border-radius: 999px; font-size: 13px; font-weight: 600; letter-spacing: 0.02em; margin-bottom: 16px; }
.eyebrow-dark { background: rgba(34, 197, 94, 0.15); color: var(--green); }

/* Two col */
.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.col-card { background: white; border: 1px solid var(--slate-200); border-radius: 12px; padding: 32px; }
.col-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 16px; }
.col-card p { color: var(--slate-700); margin-bottom: 12px; }
.col-card.green-accent { border-color: var(--green); background: var(--green-light); }
.col-card.green-accent h3 { color: var(--green-dark); }

/* Compare table */
.compare-table { width: 100%; border-collapse: collapse; margin-top: 16px; background: white; border-radius: 12px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.05); border: 1px solid var(--slate-200); }
.compare-table th, .compare-table td { padding: 16px 20px; text-align: left; border-bottom: 1px solid var(--slate-100); font-size: 15px; vertical-align: top; }
.compare-table th { background: var(--navy); color: white; font-weight: 600; }
.compare-table th.highlight { background: var(--green); }
.compare-table tr:last-child td { border-bottom: none; }
.compare-table td.highlight { background: var(--green-light); color: var(--navy); font-weight: 500; }
.compare-table td:first-child { font-weight: 600; color: var(--navy); }

/* Pathways grid */
.pathways-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 24px; margin-top: 40px; }
.pathway-card { background: white; border-radius: 12px; padding: 32px; border: 1px solid var(--slate-200); display: flex; flex-direction: column; transition: transform 0.15s, box-shadow 0.15s, border-color 0.15s; text-align: left; text-decoration: none; color: inherit; }
.pathway-card:hover { transform: translateY(-3px); box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08); border-color: var(--green); }
.pathway-status { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; padding: 5px 11px; border-radius: 999px; display: inline-block; margin-bottom: 16px; align-self: flex-start; }
.status-available { background: #dcfce7; color: var(--green-dark); }
.status-expanding { background: #fef3c7; color: #92400e; }
.status-pilot { background: #dbeafe; color: #1e40af; }
.pathway-card h3 { font-size: 22px; font-weight: 700; color: var(--navy); margin-bottom: 12px; line-height: 1.3; }
.pathway-card .pathway-desc { color: var(--slate-700); margin-bottom: 20px; flex-grow: 1; font-size: 15px; line-height: 1.55; }
.pathway-card .includes { font-size: 13px; color: var(--slate-500); margin-bottom: 20px; line-height: 1.5; padding-top: 16px; border-top: 1px solid var(--slate-100); }
.pathway-card .includes strong { color: var(--navy); display: block; margin-bottom: 6px; font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; }
.pathway-card .arrow { color: var(--green-dark); font-weight: 600; font-size: 15px; }

/* Workbench section (dark) */
.dark-section { background: var(--navy); color: white; padding: 96px 0; }
.dark-section h2 { color: white; }
.dark-section .lead { color: var(--slate-300); }
.feature-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; margin-top: 40px; }
.feature { padding: 28px; background: rgba(255,255,255,0.04); border-radius: 12px; border: 1px solid rgba(255,255,255,0.1); }
.feature .feature-num { font-size: 13px; color: var(--green); font-weight: 700; letter-spacing: 0.05em; margin-bottom: 12px; display: block; }
.feature h3 { font-size: 19px; font-weight: 700; margin-bottom: 12px; color: white; }
.feature p { color: var(--slate-300); font-size: 15px; line-height: 1.6; }

/* Outcomes list */
.outcomes-list { background: white; border: 1px solid var(--slate-200); border-radius: 12px; padding: 8px; margin-top: 32px; }
.outcome-row { padding: 20px 24px; border-bottom: 1px solid var(--slate-100); display: flex; gap: 16px; align-items: flex-start; }
.outcome-row:last-child { border-bottom: none; }
.outcome-icon { flex-shrink: 0; width: 32px; height: 32px; border-radius: 8px; background: var(--green-light); color: var(--green-dark); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 16px; }
.outcome-text strong { display: block; color: var(--navy); margin-bottom: 4px; font-size: 16px; }
.outcome-text span { color: var(--slate-700); font-size: 15px; }

/* Course list (inside pathway pages) */
.course-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 20px; margin-top: 40px; }
.course-item { background: white; border: 1px solid var(--slate-200); border-radius: 10px; padding: 24px; }
.course-item .course-status { font-size: 11px; text-transform: uppercase; letter-spacing: 0.08em; font-weight: 700; color: var(--green-dark); margin-bottom: 8px; }
.course-item .course-status.coming { color: var(--amber); }
.course-item .course-status.pilot { color: #1e40af; }
.course-item h4 { font-size: 17px; font-weight: 700; color: var(--navy); margin-bottom: 8px; }
.course-item p { font-size: 14px; color: var(--slate-700); line-height: 1.55; }

/* Testimonials */
.testimonial-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; margin-top: 32px; }
.testimonial { background: white; border: 1px solid var(--slate-200); border-radius: 12px; padding: 28px; }
.testimonial .quote { color: var(--slate-700); margin-bottom: 16px; font-size: 16px; line-height: 1.6; }
.testimonial .quote::before { content: '"'; color: var(--green); font-size: 36px; line-height: 0; margin-right: 4px; vertical-align: -8px; font-weight: 800; }
.testimonial .who { font-weight: 700; color: var(--navy); font-size: 14px; }
.testimonial .role { color: var(--slate-500); font-size: 13px; }

/* Pilot offer */
.pilot { background: linear-gradient(135deg, var(--green) 0%, var(--green-dark) 100%); color: white; padding: 80px 0; text-align: center; }
.pilot h2 { color: white; font-size: 36px; margin-bottom: 16px; line-height: 1.2; }
.pilot p { font-size: 18px; max-width: 720px; margin: 0 auto 32px; color: rgba(255,255,255,0.95); line-height: 1.55; }
.pilot .btn-primary { background: white; color: var(--green-dark); }
.pilot .btn-primary:hover { background: var(--slate-100); }

/* Final CTA */
.final-cta { background: var(--navy-deep); color: white; padding: 96px 0; text-align: center; }
.final-cta h2 { color: white; }
.final-cta .lead { color: var(--slate-300); margin: 0 auto 32px; }
.final-cta .small { color: var(--slate-500); font-size: 14px; margin-top: 24px; }

/* FAQ */
.faq-list { margin-top: 40px; }
.faq-item { background: white; border: 1px solid var(--slate-200); border-radius: 10px; margin-bottom: 12px; overflow: hidden; }
.faq-item summary { padding: 20px 24px; cursor: pointer; font-weight: 600; color: var(--navy); font-size: 16px; list-style: none; display: flex; justify-content: space-between; align-items: center; }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; font-size: 24px; color: var(--slate-500); font-weight: 400; transition: transform 0.15s; }
.faq-item[open] summary::after { content: '−'; }
.faq-item .faq-body { padding: 0 24px 20px; color: var(--slate-700); font-size: 15px; line-height: 1.6; }

/* Footer */
footer { background: var(--navy-deep); color: var(--slate-300); padding: 56px 0 24px; border-top: 1px solid rgba(255,255,255,0.08); font-size: 14px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 32px; }
footer h4 { color: white; font-size: 13px; text-transform: uppercase; letter-spacing: 0.08em; margin-bottom: 16px; font-weight: 700; }
footer a { color: var(--slate-300); text-decoration: none; display: block; margin-bottom: 10px; transition: color 0.15s; font-size: 14px; }
footer a:hover { color: white; }
footer .footer-tagline { color: var(--slate-400); margin-top: 12px; line-height: 1.6; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.1); padding-top: 24px; text-align: center; color: var(--slate-500); font-size: 13px; }

/* Pathway-page hero accent (each pathway gets its own subtle color) */
.hero.pathway-aerospace { background: linear-gradient(180deg, #0a1628 0%, #1e3a5f 100%); }
.hero.pathway-ehs { background: linear-gradient(180deg, #0a1628 0%, #1f3a2e 100%); }
.hero.pathway-cmmc { background: linear-gradient(180deg, #0a1628 0%, #1f1a3a 100%); }
.hero.pathway-medical { background: linear-gradient(180deg, #0a1628 0%, #2a1a3a 100%); }
.hero.pathway-iso9001 { background: linear-gradient(180deg, #0a1628 0%, #1e2e3a 100%); }

/* Responsive */
@media (max-width: 900px) {
  .hero h1 { font-size: 38px; }
  .hero .sub { font-size: 17px; }
  section.block h2 { font-size: 30px; }
  .two-col { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}
@media (max-width: 640px) {
  .hero { padding: 64px 0 56px; }
  .hero h1 { font-size: 30px; }
  section.block { padding: 64px 0; }
  .nav-links a:not(.btn-primary) { display: none; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }
  .trust-logos { gap: 24px; }
  .trust-name { font-size: 14px; }
}
