:root {
  --navy-950: #04060d;
  --navy-900: #11141a;
  --navy-800: #161b22;
  --teal-500: #00a0b3;
  --teal-400: #17c3c3;
  --ink-900: #0f172a;
  --gray-600: #4b5563;
  --gray-400: #94a3b8;
  --gray-200: #e2e8f0;
  --gray-100: #f1f5f9;
  --white: #ffffff;
  --font-family: "Open Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --radius-xl: 20px;
  --radius-lg: 14px;
  --radius-pill: 9999px;
}

* {
  box-sizing: border-box;
}

.section.academic-journey {
  font-family: var(--font-family);
  background-color: var(--white);
  color: var(--ink-900);
  padding: 80px 0;
}

/* 1. Header Typography */
.academic-journey .eyebrow {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--teal-500);
  margin: 0 0 12px 0;
}

.academic-journey .aj-title {
  font-size: 40px; /* Requested 40px */
  font-weight: 500;
  line-height: 1.2;
  color: var(--ink-900);
  margin: 0 0 16px 0;
  letter-spacing: -0.02em;
}

.academic-journey .aj-explore-title {
  font-size: 24px;
}

.academic-journey .body-text {
  font-size: 16px; /* Requested 16px */
  line-height: 1.6;
  color: var(--gray-600);
  margin: 0 0 44px 0;
}

/* 2. Stat Cards Grid (Only 3 cards shown in your updated HTML) */
.aj-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  margin-bottom: 48px;
  
}

.aj-stat {
    background: transparent;
    border-radius: 20px;
    padding: 24px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
    border-radius: 32px;
outline: 10px solid rgba(181, 181, 181, 0.10);
background: linear-gradient(0deg, #F6F6F6 0%, #FFF 100%);
box-shadow: 0 94px 70px -60px rgba(0, 0, 0, 0.10);
}

/* Hide 4th stat box if it has no content */
.aj-stat:empty,
.aj-stat-value:empty + .aj-stat-label:empty {
  display: none;
}

.aj-stat-value {
  display: block;
  font-size: 32px;
  font-weight: 500;
  color: var(--ink-900);
  line-height: 1.1;
  margin-bottom: 8px;
}

.aj-stat-label {
  display: block;
  font-size: 16px; /* Requested 16px */
  font-weight: 500;
  color: var(--gray-600);
}

/* 3. Section Interstitial Heading */
.aj-explore-title {
  font-size: 32px; /* Requested 32px */
  font-weight: 500;
  color: var(--ink-900);
  margin: 0 0 24px 0;
  letter-spacing: -0.01em;
}

/* 4. Pill / Tab Segmented Controller */
.aj-rail-region {
  margin-bottom: 32px;
}

.aj-rail {
  display: flex;
  align-items: center;
  background: #f8fafc;
  border: 1px solid var(--gray-200);
  border-radius: 15px;
  padding: 6px;
  gap: 6px;
  overflow-x: auto;
  scrollbar-width: none;
}

.aj-rail::-webkit-scrollbar {
  display: none;
}

.aj-step {
  flex: 1 1 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  background: transparent;
  border: none;
  border-radius: 15px;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.aj-step .journey-row,
.aj-step .journey-num,
.aj-step .journey-line {
  display: none; /* Hides dotted circle indicators to match screenshot design */
}

.aj-step-label {
  font-size: 15px;
  font-weight: 600;
  color: var(--gray-600);
  transition: color 0.2s ease;
}

.aj-step:hover .aj-step-label {
  color: var(--ink-900);
}

.aj-step.is-active {
  background: var(--navy-900);
}

.aj-step.is-active .aj-step-label {
  color: var(--white);
}

.aj-immersion-tag {
  display: none; /* Hide subtitle tag from old design */
}

/* 5. Main Dark Content Card */
.aj-panel {
  position: relative;
  background: url("../images/Curriculum-Background.png") center / cover no-repeat;
  border-radius: var(--radius-xl);
  padding: 48px;
  color: var(--white);
  box-shadow: 0 20px 35px -10px rgba(15, 23, 42, 0.35);
  overflow: hidden;
}

.aj-ghost {
  display: none; /* Clean presentation matching screenshot */
}

.aj-panel-top {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 48px;
}

.aj-panel-top h3 {
  font-size: 32px; /* Requested 32px */
  font-weight: 500;
  color: var(--white);
  margin: 0;
}

.aj-weeks-container {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.aj-weeks-label {
  font-size: 14px;
  color: var(--gray-400);
  margin-top: 6px;
}

.aj-weeks {
  font-size: 16px; /* Requested 16px */
  font-weight: 500;
  color: var(--white);
}

/* Courses Pill Chips */
.aj-chips-label {
  display: block;
  font-size: 14px;
  font-weight: 500;
  color: var(--gray-400);
  margin-bottom: 12px;
}

.aj-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 32px;
}

.aj-chips span {
  font-size: 13.5px;
  font-weight: 500;
  color: #cbd5e1;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-pill);
  padding: 8px 16px;
  backdrop-filter: blur(4px);
}

/* Outcome / Bullet List */
.aj-outcome {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 24px;
}

.aj-outcome-label {
  display: block;
  font-size: 16px; /* Requested 16px */
  font-weight: 600;
  color: var(--white);
  margin-bottom: 12px;
}

.aj-outcome-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.aj-outcome-list li {
  position: relative;
  padding-left: 20px;
  font-size: 16px; /* Requested 16px */
  line-height: 1.55;
  color: #e2e8f0;
}

.aj-outcome-list li::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 9px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #94a3b8;
}

/* Hide unused bottom bar elements to match screenshot card */
.aj-body,
.aj-hook,
.aj-panel-nav,
.aj-closing {
  display: none;
}

/* Fade animation */
.aj-panel[data-fade="in"] .aj-panel-inner {
  animation: ajFadeUp 0.3s ease both;
}

@keyframes ajFadeUp {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 6. Mobile Responsiveness */
@media (max-width: 900px) {
  .aj-stats {
    grid-template-columns: 1fr;
  }

  .aj-panel {
    padding: 32px 24px;
  }

  .academic-journey .aj-title {
    font-size: 32px;
   
  }

  .academic-journey .aj-explore-title {
    font-size: 24px;
  }

  .aj-explore-title,
  .aj-panel-top h3 {
    font-size: 26px;
  }
}
