/* ==========================================================================
   DYNAMIC CSS VARIABLES (NUD SPECIFIC THEME)
   ========================================================================== */
:root {
  --font-main: 'Plus Jakarta Sans', system-ui, sans-serif;
  
  /* Scholar Naija Base Colors + NUD Theme (Health/Vibrant) */
  --primary-color: #047857; /* Deep Health Green */
  --primary-light: #d1fae5;
  --accent-color: #f59e0b;  /* Nutrition/Energy Orange */
  
  --bg-color: #f8fafc;
  --surface-color: #ffffff;
  --text-dark: #0f172a;
  --text-muted: #64748b;
  --border-color: #e2e8f0;
  
  --radius-sm: 8px;
  --radius-md: 16px;
  --radius-lg: 24px;
  
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.1);
  --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.05);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: var(--font-main);
  background-color: var(--bg-color);
  color: var(--text-dark);
  line-height: 1.7;
}

.app-layout {
  display: flex;
  min-height: 100vh;
}

/* ==========================================================================
   SIDEBAR
   ========================================================================== */
.app-sidebar {
  width: 280px;
  background: var(--surface-color);
  border-right: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  position: fixed;
  height: 100vh;
  z-index: 50;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 3rem;
}

.brand-logo {
  background: var(--primary-light);
  width: 48px;
  height: 48px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
}

.brand-name {
  font-weight: 800;
  font-size: 1.25rem;
}
.brand-name span { color: var(--primary-color); }
.brand-tagline { font-size: 0.75rem; color: var(--text-muted); }

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.menu-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 600;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.menu-item:hover {
  background: var(--primary-light);
  color: var(--primary-color);
  transform: translateX(5px);
}

/* ==========================================================================
   MAIN CONTENT
   ========================================================================== */
.app-main {
  margin-left: 280px;
  flex: 1;
  padding: 2rem 3vw;
  max-width: 1100px;
}

/* HERO SECTION */
.hero-header-card {
  background: linear-gradient(120deg, #064e3b 0%, var(--primary-color) 100%);
  color: white;
  padding: 4rem 3rem;
  border-radius: var(--radius-lg);
  margin-bottom: 2rem;
  box-shadow: var(--shadow-md);
  position: relative;
  overflow: hidden;
}

.hero-badge-track {
  display: inline-block;
  background: rgba(255,255,255,0.2);
  padding: 0.5rem 1rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 1.5rem;
}

.page-main-title {
  font-size: clamp(2rem, 4vw, 3rem);
  line-height: 1.1;
  font-weight: 800;
  margin-bottom: 1rem;
}

.page-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  max-width: 700px;
}

/* QUICK NAV */
.quick-nav-strip {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  padding-bottom: 1rem;
  margin-bottom: 2rem;
}

.quick-nav-strip::-webkit-scrollbar { display: none; }

.pill-nav-link {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  border-radius: 50px;
  text-decoration: none;
  color: var(--text-dark);
  font-weight: 600;
  white-space: nowrap;
  transition: var(--transition);
}

.pill-nav-link:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
  box-shadow: var(--shadow-sm);
}

/* CONTENT PANELS */
.content-panel-block {
  background: var(--surface-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 3rem;
  margin-bottom: 3rem;
  box-shadow: var(--shadow-sm);
}

.panel-header-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.panel-index-tag {
  background: var(--primary-light);
  color: var(--primary-color);
  width: 48px;
  height: 48px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.2rem;
}

.content-panel-block h2 {
  font-size: 1.8rem;
  font-weight: 800;
}

.panel-narrative {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 2rem;
}

/* GRIDS & LISTS */
.info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
}

.info-card {
  background: var(--bg-color);
  padding: 2rem;
  border-radius: var(--radius-sm);
  border-left: 4px solid var(--primary-color);
}

.course-list-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.dynamic-list {
  list-style: none;
}

.dynamic-list li {
  padding: 1rem 0;
  border-bottom: 1px dashed var(--border-color);
  color: var(--text-muted);
}
.dynamic-list li strong {
  color: var(--text-dark);
  display: block;
  font-size: 1.1rem;
}

.career-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
}

.career-card {
  text-align: center;
  padding: 2.5rem 1.5rem;
  background: var(--bg-color);
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  transition: var(--transition);
}

.career-card:hover {
  background: var(--surface-color);
  border-color: var(--primary-color);
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}

.career-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
}

/* ==========================================================================
   ADVERTISEMENT WRAPPERS (Designed to blend yet stand out for clicks)
   ========================================================================== */
.ad-container-wrapper {
  background: var(--bg-color);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 1.5rem;
  margin: 2.5rem 0;
  position: relative;
  text-align: center;
  overflow: hidden;
}

.ad-badge-tag {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 0.65rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* ==========================================================================
   FOOTER & RESPONSIVE DESIGN
   ========================================================================== */
.app-footer {
  text-align: center;
  padding: 2rem 0;
  color: var(--text-muted);
  border-top: 1px solid var(--border-color);
  margin-top: 4rem;
}

@media (max-width: 992px) {
  .app-sidebar { display: none; }
  .app-main { margin-left: 0; padding: 1.5rem; }
  .content-panel-block { padding: 2rem; }
}