/* Page styles for pages/programs.html (moved out of the HTML <style> block) */

.programs-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 4rem;
}
@media (min-width: 900px) {
  .programs-layout {
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
  }
}

/* Category sidebar */
.cat-panel {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem;
  position: sticky;
  top: calc(var(--header-height) + 1.5rem);
}
.cat-panel h3 {
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--color-gray-400);
  margin-bottom: 0.75rem;
  padding: 0 0.5rem;
}
.cat-list {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.cat-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.85rem;
  border-radius: var(--radius-md);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-gray-600);
  cursor: pointer;
  border: none;
  background: transparent;
  text-align: left;
  width: 100%;
  transition: all 0.3s var(--ease-apple);
  border-left: 3px solid transparent;
}
.cat-item:hover {
  background: var(--color-white);
  color: var(--color-black);
}
.cat-item.active {
  background: var(--color-white);
  color: var(--color-accent);
  border-left-color: var(--color-accent);
  box-shadow: var(--shadow-sm);
}
.cat-item svg {
  width: 14px;
  height: 14px;
  opacity: 0.4;
  transition: transform 0.3s ease, opacity 0.3s ease;
}
.cat-item.active svg {
  opacity: 1;
  color: var(--color-accent);
  transform: translateX(2px);
}

/* Content panels */
.topic-panel {
  display: none;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.45s var(--ease-apple), transform 0.45s var(--ease-apple);
}
.topic-panel.active {
  display: block;
  animation: panelIn 0.5s var(--ease-apple) forwards;
}
@keyframes panelIn {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: translateY(0); }
}

.topic-header {
  margin-bottom: 1.75rem;
}
.topic-header h1 {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  margin-bottom: 0.5rem;
}
.topic-header p {
  font-size: 1.05rem;
  max-width: 36rem;
  margin: 0;
}

/* Unique card styles per topic */
.topic-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .topic-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1100px) {
  .topic-grid.cols-3 { grid-template-columns: repeat(3, 1fr); }
}

.t-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  overflow: hidden;
  transition: all 0.4s var(--ease-apple);
  display: flex;
  flex-direction: column;
}
.t-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}
.t-card .visual {
  height: 140px;
  background: var(--color-gray-100);
  position: relative;
}
.t-card .body {
  padding: 1.25rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.t-card h3 {
  font-size: 1.05rem;
  margin-bottom: 0.4rem;
}
.t-meta {
  font-size: 0.85rem;
  color: var(--color-gray-600);
  margin-bottom: 1rem;
}

/* Topic-specific accent treatments */
[data-topic="cyber"] .t-card { border-top: 3px solid #ffd400; }
[data-topic="leadership"] .t-card { border-top: 3px solid var(--color-accent); }
[data-topic="ai"] .t-card { border-top: 3px solid #ffd400; }
[data-topic="sales"] .t-card { border-top: 3px solid #ffd400; }
[data-topic="comms"] .t-card { border-top: 3px solid #ffd400; }
[data-topic="pm"] .t-card { border-top: 3px solid #ffd400; }

.topic-banner {
  border-radius: var(--radius-xl);
  padding: 1.5rem 1.75rem;
  margin-bottom: 1.75rem;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  flex-wrap: wrap;
}
[data-topic="cyber"] .topic-banner { background: rgba(255, 212, 0, 0.08); }
[data-topic="leadership"] .topic-banner { background: var(--color-accent-soft); }
[data-topic="ai"] .topic-banner { background: rgba(255, 212, 0, 0.08); }
[data-topic="sales"] .topic-banner { background: rgba(255, 212, 0, 0.08); }
[data-topic="comms"] .topic-banner { background: rgba(255, 212, 0, 0.08); }
[data-topic="pm"] .topic-banner { background: rgba(255, 212, 0, 0.08); }

.mobile-cat-select {
  display: block;
  margin-bottom: 1.5rem;
}
@media (min-width: 900px) {
  .mobile-cat-select { display: none; }
}
  
/* Learning Journey */
.journey-track {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}
@media (min-width: 700px) {
  .journey-track {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
  }
}
.journey-step { text-align: center; }
.journey-num {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1.5px solid var(--color-accent);
  color: var(--color-accent);
  font-size: 0.8rem;
  font-weight: 600;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  background: var(--color-white);
}
.journey-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 1.25rem 1rem;
  transition: all 0.4s var(--ease-apple);
  height: 100%;
}
.journey-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}
.journey-icon {
  width: 40px; height: 40px;
  border-radius: 10px;
  background: var(--color-accent-soft);
  color: var(--color-accent);
  font-weight: 650;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto 0.75rem;
  font-size: 0.9rem;
}
.journey-card h4 { font-size: 0.95rem; margin-bottom: 0.35rem; }
.journey-card p { font-size: 0.8rem; margin: 0; color: var(--color-gray-600); }

/* Advantage */
.advantage-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}
@media (min-width: 900px) {
  .advantage-grid { grid-template-columns: 1fr 1.1fr; gap: 3rem; align-items: center; }
}
.advantage-list { display: flex; flex-direction: column; gap: 1.25rem; }
.advantage-item {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1rem;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  background: var(--color-white);
  transition: all 0.35s var(--ease-apple);
}
.advantage-item:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.adv-icon {
  width: 36px; height: 36px;
  border-radius: 8px;
  background: var(--color-accent);
  color: #ffffff;
  font-size: 0.75rem;
  font-weight: 650;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.advantage-item h4 { font-size: 1rem; margin-bottom: 0.25rem; }
.advantage-item p { font-size: 0.875rem; margin: 0; color: var(--color-gray-600); }
.advantage-bottom {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}
@media (min-width: 700px) {
  .advantage-bottom { grid-template-columns: repeat(3, 1fr); }
}
.adv-chip {
  background: var(--color-gray-50);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
}
.adv-chip strong { display: block; margin-bottom: 0.35rem; font-size: 0.95rem; }
.adv-chip span { font-size: 0.85rem; color: var(--color-gray-600); }

/* Outcomes */
.outcome-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
}
@media (min-width: 700px) {
  .outcome-grid { grid-template-columns: repeat(4, 1fr); }
}
.outcome-card {
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: all 0.35s var(--ease-apple);
}
.outcome-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.outcome-val {
  font-size: 1.75rem;
  font-weight: 650;
  letter-spacing: -0.03em;
  color: var(--color-accent);
}
.outcome-label { font-size: 0.8rem; color: var(--color-gray-600); margin-top: 0.35rem; }
.partner-bar {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1.5rem 2rem;
  margin-top: 1.75rem;
  padding: 1.25rem;
  background: var(--color-white);
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-xl);
}
.partner-bar span {
  font-weight: 650;
  font-size: 0.95rem;
  letter-spacing: -0.02em;
  color: var(--color-gray-400);
}

/* Recognition dark section */
.recog-section {
  background: #0a0a0a;
  color: #ffffff;
}
.recog-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2rem;
}
@media (min-width: 700px) {
  .recog-cards { grid-template-columns: repeat(2, 1fr); }
}
@media (min-width: 1000px) {
  .recog-cards { grid-template-columns: repeat(4, 1fr); }
}
.recog-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-xl);
  padding: 1.5rem;
  transition: all 0.35s var(--ease-apple);
}
.recog-card:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateY(-3px);
}
.recog-badge {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(255, 212, 0, 0.35);
  color: #ffd400;
  margin-bottom: 0.75rem;
}
.recog-card h4 { color: #ffffff; font-size: 1rem; margin-bottom: 0.4rem; }
.recog-card p { color: rgba(255, 255, 255, 0.65); font-size: 0.85rem; margin: 0; }
.recog-stats {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  flex-wrap: wrap;
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255, 255, 255, 0.08);
}
.recog-stats div { text-align: center; }
.recog-stats strong {
  display: block;
  font-size: 1.5rem;
  font-weight: 650;
  color: #ffffff;
}
.recog-stats span {
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
