/* ---- Home page supplementary styles ---- */
.hero-home {
  background: #0d1b2a;
  position: relative;
  overflow: hidden;
  text-align: left;
  padding: 6rem 0 5rem;
}
.hero-grid-bg {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0,180,216,.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0,180,216,.06) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
  z-index: 1;
}
.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url('/images/hero-bg.jpg');
  background-size: cover;
  background-position: center;
  opacity: 0.18;
  z-index: 0;
}
.hero-inner { position: relative; z-index: 2; }

/* Problem section hero image */
.problem-hero-image {
  margin-bottom: 1.5rem;
  border-radius: 12px;
  overflow: hidden;
}
.problem-hero-image img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
}

/* AI+AEC image */
.ai-aec-image {
  margin-bottom: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
}
.ai-aec-image img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

/* Firms image */
.firms-cta-image {
  margin-bottom: 1.25rem;
  border-radius: 12px;
  overflow: hidden;
}
.firms-cta-image img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  display: block;
  border-radius: 12px;
  opacity: 0.85;
}
.hero-content { max-width: 760px; }
.hero-eyebrow {
  display: inline-block;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #00b4d8;
  background: rgba(0,180,216,.12);
  border: 1px solid rgba(0,180,216,.25);
  padding: .25rem .75rem;
  border-radius: 100px;
  margin-bottom: 1.25rem;
}
.hero-home h1 {
  font-size: clamp(1.9rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.15;
  color: #fff;
  margin-bottom: 1.25rem;
}
.hero-home .hero-sub {
  font-size: 1.15rem;
  color: rgba(255,255,255,.72);
  max-width: 620px;
  margin-bottom: 2rem;
  line-height: 1.7;
}
.btn-outline-white {
  color: #fff !important;
  border-color: rgba(255,255,255,.45) !important;
  background: transparent !important;
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.1) !important;
}

/* Stats bar */
.stats-bar {
  background: #1a3a5c;
  padding: 0;
}
.stats-bar-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.07);
}
.stats-bar-item {
  padding: 2rem 1.5rem;
  border-right: 1px solid rgba(255,255,255,.07);
  text-align: center;
}
.stats-bar-item:last-child { border-right: none; }
.stats-bar-number {
  display: block;
  font-size: clamp(1.6rem, 2.5vw, 2.25rem);
  font-weight: 800;
  color: #00b4d8;
  line-height: 1;
  margin-bottom: .5rem;
}
.stats-bar-label {
  display: block;
  font-size: .8rem;
  color: rgba(255,255,255,.55);
  line-height: 1.5;
}
.stats-bar-label em { font-style: normal; color: rgba(255,255,255,.35); }

/* Section label */
.section-label {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #00b4d8;
  margin-bottom: .75rem;
}
.section-label-light {
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(0,180,216,.8);
  margin-bottom: .75rem;
}
.section-title-left {
  font-size: clamp(1.5rem, 3vw, 2.25rem);
  font-weight: 700;
  margin-bottom: 2rem;
  line-height: 1.2;
}

/* Problem section */
.problem-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.problem-body p { margin-bottom: 1rem; line-height: 1.75; color: #374151; }
.problem-lead { font-size: 1.05rem; font-weight: 500; color: #1a3a5c; }
.problem-stats { display: flex; flex-direction: column; gap: 1rem; }
.problem-stat-card {
  background: #0d1b2a;
  border-radius: 10px;
  padding: 1.5rem;
  color: #fff;
}
.problem-stat-number {
  font-size: 1.9rem;
  font-weight: 800;
  color: #00b4d8;
  line-height: 1;
  margin-bottom: .5rem;
}
.problem-stat-text { font-size: .85rem; color: rgba(255,255,255,.65); line-height: 1.5; }

/* What we do */
.what-we-do-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: .5rem;
}
.wwd-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.wwd-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.wwd-icon-train  { background: rgba(26,86,219,.1); color: #1a56db; }
.wwd-icon-certify { background: rgba(46,204,113,.12); color: #27ae60; }
.wwd-icon-place  { background: rgba(0,180,216,.1); color: #00b4d8; }
.wwd-card h3 { font-size: 1.15rem; font-weight: 700; margin-bottom: .75rem; color: #0d1b2a; }
.wwd-card p { font-size: .9rem; color: #4b5563; line-height: 1.7; }

/* AI + AEC */
.ai-aec-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr;
  gap: 3.5rem;
  align-items: start;
}
.ai-aec-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2rem);
  font-weight: 700;
  margin-bottom: 1.25rem;
  line-height: 1.2;
  color: #0d1b2a;
}
.ai-aec-body p { margin-bottom: 1rem; line-height: 1.75; color: #374151; }
.pull-quote {
  background: #0d1b2a;
  border-left: 4px solid #00b4d8;
  border-radius: 0 10px 10px 0;
  padding: 1.75rem;
  margin: 0 0 1.5rem;
  font-family: Georgia, 'Times New Roman', serif;
}
.pull-quote p {
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,.85);
  line-height: 1.65;
  margin-bottom: .75rem;
}
.pull-quote cite {
  font-size: .8rem;
  font-style: normal;
  color: rgba(255,255,255,.45);
  font-family: 'Inter', sans-serif;
}
.ai-timeline { display: flex; flex-direction: column; gap: .75rem; }
.ai-timeline-item {
  display: flex;
  gap: .75rem;
  align-items: flex-start;
  padding: .75rem 1rem;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
}
.ai-timeline-date {
  font-size: .72rem;
  font-weight: 700;
  color: #00b4d8;
  white-space: nowrap;
  padding-top: .05rem;
  min-width: 60px;
}
.ai-timeline-event { font-size: .85rem; color: #374151; line-height: 1.4; }

/* For Firms section */
.section-dark {
  background: #0d1b2a;
  color: #fff;
}
.section-dark .section-title { color: #fff; }
.firms-cta-inner {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 3.5rem;
  align-items: center;
}
.firms-cta-body h2 {
  font-size: clamp(1.5rem, 2.5vw, 2.25rem);
  font-weight: 700;
  color: #fff;
  margin-bottom: 1.25rem;
  line-height: 1.2;
}
.firms-cta-body p { color: rgba(255,255,255,.7); line-height: 1.75; margin-bottom: 1rem; }
.firms-cta-stats { display: flex; flex-direction: column; gap: 1.25rem; }
.firms-stat {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px;
  padding: 1.5rem;
}
.firms-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #2ecc71;
  line-height: 1;
  margin-bottom: .5rem;
}
.firms-stat-label { font-size: .85rem; color: rgba(255,255,255,.55); line-height: 1.5; }

/* Responsive */
@media (max-width: 900px) {
  .stats-bar-inner { grid-template-columns: repeat(2, 1fr); }
  .stats-bar-item { border-right: 1px solid rgba(255,255,255,.07); }
  .stats-bar-item:nth-child(2n) { border-right: none; }
  .problem-grid,
  .ai-aec-grid,
  .firms-cta-inner { grid-template-columns: 1fr; gap: 2rem; }
  .what-we-do-grid { grid-template-columns: 1fr; }
}
@media (max-width: 600px) {
  .stats-bar-inner { grid-template-columns: 1fr; }
  .stats-bar-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); }
}

/* ---- Industry context / stats-based authority (replaces fabricated testimonials) ---- */
.industry-proof-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  margin-bottom: 2rem;
}
.industry-stat-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 1.75rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: .35rem;
}
.industry-stat-number {
  font-size: 2.25rem;
  font-weight: 800;
  color: #1a3a5c;
  line-height: 1;
}
.industry-stat-desc {
  font-size: .9rem;
  color: #374151;
  line-height: 1.5;
}
.industry-stat-source {
  font-size: .72rem;
  color: #9ca3af;
  margin-top: .25rem;
}
.industry-proof-statement {
  background: #f0f5ff;
  border-left: 4px solid #1a56db;
  border-radius: 0 10px 10px 0;
  padding: 1.25rem 1.5rem;
  font-size: 1rem;
  color: #1a3a5c;
  font-weight: 500;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}
.industry-proof-note {
  font-size: .82rem;
  color: #9ca3af;
  text-align: center;
}
.industry-proof-note a {
  color: #1a56db;
}
@media (max-width: 720px) {
  .industry-proof-stats-grid { grid-template-columns: 1fr; }
}

/* ---- Authority Bar ---- */
.authority-bar {
  background: #fff;
  border-top: 1px solid #e2e8f0;
  border-bottom: 1px solid #e2e8f0;
  padding: .75rem 0;
}
.authority-bar-inner {
  display: flex;
  flex-wrap: wrap;
  gap: .5rem 1.25rem;
  align-items: center;
  justify-content: center;
}
.authority-pill {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  font-size: .82rem;
  color: #374151;
  padding: .35rem .85rem;
  background: #f0f5ff;
  border: 1px solid #dbeafe;
  border-radius: 100px;
  white-space: nowrap;
  line-height: 1.4;
}
.authority-pill svg { color: #1a56db; flex-shrink: 0; }
.authority-pill strong { color: #0d1b2a; }

/* ---- Standards Trust Bar ---- */
.standards-trust-bar {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  padding: .6rem 0;
}
.standards-trust-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: .5rem 1rem;
}
.standards-trust-label {
  font-size: .72rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: .06em;
  white-space: nowrap;
}
.standards-badges {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
  align-items: center;
}
.std-badge {
  display: inline-block;
  font-size: .72rem;
  font-weight: 700;
  color: #1a3a5c;
  background: #e8f0fe;
  border: 1px solid #c7d9f7;
  border-radius: 4px;
  padding: .18rem .55rem;
  letter-spacing: .03em;
  line-height: 1.5;
}
.standards-trust-note {
  font-size: .72rem;
  color: #9ca3af;
  margin-left: auto;
  font-style: italic;
}

/* ---- How It Works ---- */
.how-it-works-section { background: #f8fafc; }
.hiw-toggle-wrap {
  display: inline-flex;
  background: #e2e8f0;
  border-radius: 8px;
  padding: 3px;
  margin-bottom: 2.5rem;
  gap: 2px;
}
.hiw-tab {
  padding: .5rem 1.5rem;
  font-size: .9rem;
  font-weight: 600;
  color: #4b5563;
  background: transparent;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  transition: background .15s, color .15s;
  line-height: 1.4;
}
.hiw-tab:hover { color: #0d1b2a; }
.hiw-tab-active {
  background: #fff;
  color: #0d1b2a;
  box-shadow: 0 1px 3px rgba(0,0,0,.1);
}
.hiw-panel { padding-bottom: .5rem; }
.hiw-panel-hidden { display: none; }
.hiw-steps {
  display: flex;
  flex-direction: column;
  max-width: 680px;
  margin-bottom: 2rem;
}
.hiw-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding: 1rem 0;
}
.hiw-step-num {
  width: 40px;
  height: 40px;
  min-width: 40px;
  border-radius: 50%;
  background: #0d1b2a;
  color: #fff;
  font-size: 1rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.hiw-step-body h4 {
  font-size: 1rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: .35rem;
}
.hiw-step-body p {
  font-size: .9rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}
.hiw-step-connector {
  width: 2px;
  height: 20px;
  background: #e2e8f0;
  margin-left: 19px;
}
.hiw-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* ---- Authority Model ---- */
.authority-model-intro {
  font-size: 1rem;
  color: #374151;
  line-height: 1.75;
  max-width: 780px;
  margin-bottom: 2rem;
}
.authority-model-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.authority-model-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
  display: flex;
  flex-direction: column;
  gap: .75rem;
}
.authority-model-card-ours {
  border-color: #1a56db;
  background: #f0f5ff;
}
.amcard-icon {
  width: 48px;
  height: 48px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(26,86,219,.1);
  color: #1a56db;
  flex-shrink: 0;
}
.authority-model-card-ours .amcard-icon {
  background: rgba(26,86,219,.18);
}
.authority-model-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: #0d1b2a;
  margin: 0;
}
.authority-model-card p {
  font-size: .875rem;
  color: #4b5563;
  line-height: 1.65;
  margin: 0;
}
.amcard-tag {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  color: #1a56db;
  background: rgba(26,86,219,.08);
  border-radius: 100px;
  padding: .18rem .65rem;
  margin-top: auto;
  align-self: flex-start;
}

/* ---- Recent Graduates (cert cards) ---- */
.certs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
  margin-top: .5rem;
}
.cert-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.05);
}
.cert-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  border-radius: 100px;
  margin-bottom: .75rem;
  background: rgba(0,180,216,.12);
  color: #0077b6;
}
.cert-badge.level-Foundation { background: rgba(46,204,113,.12); color: #27ae60; }
.cert-badge.level-Associate  { background: rgba(0,180,216,.12);  color: #0077b6; }
.cert-badge.level-Professional { background: rgba(26,86,219,.12); color: #1a56db; }
.cert-card h4 { font-size: .95rem; font-weight: 700; color: #0d1b2a; margin-bottom: .25rem; }
.cert-card p  { font-size: .85rem; color: #4b5563; margin-bottom: .25rem; }
.cert-meta    { color: #9ca3af !important; font-size: .8rem !important; }
.cert-link {
  display: inline-block;
  margin-top: .5rem;
  font-size: .8rem;
  font-weight: 600;
  color: #1a56db;
  text-decoration: none;
}
.cert-link:hover { text-decoration: underline; }

/* ---- Responsive additions ---- */
@media (max-width: 900px) {
  .authority-model-grid { grid-template-columns: 1fr; }
}
@media (max-width: 720px) {
  .authority-bar-inner { justify-content: flex-start; }
  .standards-trust-inner { flex-direction: column; align-items: flex-start; }
  .standards-trust-note { margin-left: 0; }
}

/* ---- Research highlight section ---- */
.research-topics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}
.research-topic-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 1.5rem;
}
.research-topic-icon {
  width: 40px;
  height: 40px;
  background: #dbeafe;
  color: #1a56db;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: .9rem;
}
.research-topic-card h4 {
  font-size: .95rem;
  font-weight: 700;
  color: #0d1b2a;
  margin-bottom: .4rem;
}
.research-topic-card p {
  font-size: .83rem;
  color: #4b5563;
  line-height: 1.6;
  margin: 0;
}
/* Research card in What We Do */
.wwd-icon-research { background: rgba(249,115,22,.1); color: #f97316; }
@media (max-width: 900px) {
  .research-topics-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .research-topics-grid { grid-template-columns: 1fr; }
}
