.cert-logo{
    width:75px;
    height:75px;
    border-radius:8px;
    object-fit:contain;
}
.bc-code {
    font-family: Arial, sans-serif;
    font-size: 1.0rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    padding: 2px 7px;
    border-radius: 4px;
    margin-right: 6px;
    vertical-align: middle;
  }
  .bc-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--text-primary);
    display: inline;
    padding-left: 7px;
  }
  .bc-code-arch { background: rgba(59,130,246,0.15); color: var(--blue-light); padding-left: 10px 10px;}
  .bc-code-clf  { background: rgba(20,184,166,0.15); color: var(--teal);  }
  .bc-code-found   { background: rgba(245, 159, 11, 0.279); color: var(--accent); }
  
  .bc-badge {
    font-size: 0.95rem;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 100px;
    flex-shrink: 0;
  }

  .badge-assoc  { background: rgba(39, 120, 250, 0.707); color: var(--blue-light); border: 1px solid rgba(24, 107, 239, 0.466); }
  .badge-found  { background: rgba(245,158,11,0.12); color: var(--accent); border: 1px solid rgba(245,158,11,0.25); }
  .badge-spec   { background: rgba(20,184,166,0.12); color: var(--teal); border: 1px solid rgba(20,184,166,0.25); }
  .badge-comm  { background: rgba(231, 84, 21, 0.707); color: var(--blue-light); border: 1px solid rgba(240, 19, 19, 0.466); }

  .bc-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 4px;
  }
  .bc-meta span {
    font-size: 0.96rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .bc-meta svg { width: 13px; height: 13px; }

  /* This functions are upcoming module */
  .bc-comming {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-top: 4px;
  }
  .bc-comming span {
    font-size: 0.96rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .mod-soon-tag{
    font-size: 1.25rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 4px;
  }
  .bc-comming svg { width: 13px; height: 13px; }

  .module-group {
    border-bottom: 1px solid var(--border);
  }
  .module-group:last-child { border-bottom: none; }

  .module-group-header {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.85rem 1.5rem;
    background: rgba(255,255,255,0.02);
    position: sticky;
    top: 70px;
    z-index: 10;
  }
  .module-group-header .mod-num {
    font-family: Arial, sans-serif;
    font-size: 0.80rem;
    font-weight: 600;
    color: var(--text-primary);
    background: var(--surface-hover);
    padding: 2px 7px;
    border-radius: 4px;
    border: 1px solid var(--border);
    flex-shrink: 0;
  }
  .module-group-header .mod-name {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 0.01em;
  }
  .module-group-header .mod-count {
    margin-left: auto;
    font-size: 0.95rem;
    color: var(--text-muted);
  }

  .module-links { list-style: none; }
    .module-links a {
      display: flex;
      align-items: center;
      gap: 10px;
      padding: 0.55rem 1.5rem 0.55rem 3rem;
      color: var(--text-secondary);
      text-decoration: none;
      font-size: 0.82rem;
      transition: all 0.15s;
      border-left: 2px solid transparent;
    }
    .module-links a:hover {
      color: var(--text-primary);
      background: var(--surface);
      border-left-color: var(--blue);
      padding-left: calc(3rem - 2px);
    }
    .module-links a.no-link {
      color: var(--text-muted);
      cursor: default;
      pointer-events: none;
    }
    .module-links a.no-link:hover { background: none; }
    .module-links .link-num {
      font-family: Arial, sans-serif;
      font-size: 0.80rem;
      color: var(--text-muted);
      min-width: 38px;
    }
    .module-links .play-icon {
      width: 14px; height: 14px;
      color: var(--text-muted);
      flex-shrink: 0;
      margin-left: auto;
      opacity: 0;
      transition: opacity 0.15s;
    }
    .module-links a:hover .play-icon { opacity: 5; color: var(--blue-light); }
    .module-links .soon-tag {
      font-size: 0.62rem;
      padding: 1px 6px;
      border-radius: 3px;
      background: rgba(100,116,139,0.2);
      color: var(--text-muted);
      border: 1px solid var(--border);
      margin-left: auto;
      flex-shrink: 0;
    }

    /* note inside module list */
    .module-note {
      margin: 0.25rem 1.5rem 0.25rem 3rem;
      padding: 0.5rem 0.75rem;
      background: rgba(245,158,11,0.07);
      border-left: 2px solid rgba(245,158,11,0.4);
      border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
      font-size: 0.75rem;
      color: var(--text-muted);
    }
    .module-note strong { color: var(--accent); }

    .bootcamp-header {
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 16px 20px;
        cursor: pointer;
      }
      
      .bootcamp-header-left {
        display: flex;
        align-items: center;
        gap: 16px;
      }
      
      .bootcamp-badge {
        width: 64px;
        height: 64px;
        object-fit: contain;
        flex-shrink: 0;
      }
      
      .bootcamp-info {
        display: flex;
        flex-direction: column;
        gap: 6px;
      }
      
      .bootcamp-title-row {
        display: flex;
        align-items: center;
        gap: 10px;
      }
      
      .bootcamp-title {
        font-size: 1.1rem;
        font-weight: 700;
        color: #ffffff;
      }
      
      .bootcamp-meta {
        display: flex;
        gap: 20px;
        font-size: 0.85rem;
        color: #a0aec0;
      }

      /* ── Exam Code Pills ── */
.exam-code {
    font-size: 0.78rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 6px;
    white-space: nowrap;
  }
  .exam-code-associate { background: #1a3a6b; color: #60a5fa; border: 1px solid #3b82f6; }
  .exam-code-ai        { background: #0f3d2e; color: #34d399; border: 1px solid #10b981; }
  .exam-code-clf       { background: #3d2a00; color: #fbbf24; border: 1px solid #f59e0b; }
  
  /* ── Level Badges ── */
  .bootcamp-header-right {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
  }
  
  .level-badge {
    font-size: 0.82rem;
    font-weight: 700;
    padding: 6px 16px;
    border-radius: 20px;
    white-space: nowrap;
  }
  .level-associate    { background: #2563eb; color: #ffffff; }
  .level-foundational { background: #92400e; color: #fde68a; }
  
  /* ── Module Sections (expanded content) ── */
  .module-section {
    border-top: 1px solid #2d3748;
    padding: 0 16px;
  }
  
  .module-section-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0 8px;
    border-bottom: 1px solid #2d3748;
  }
  
  .module-label {
    font-size: 0.75rem;
    font-weight: 700;
    padding: 3px 10px;
    border: 1px solid #4a5568;
    border-radius: 6px;
    color: #a0aec0;
    white-space: nowrap;
  }
  
  .module-section-title {
    flex: 1;
    font-size: 1rem;
    font-weight: 600;
    color: #e2e8f0;
  }
  
  .module-video-count {
    font-size: 0.85rem;
    color: #718096;
    white-space: nowrap;
  }
  
  /* ── Lesson List ── */
  .module-list {
    list-style: none;
    padding: 0;
    margin: 0;
  }
  
  .module-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 10px 8px;
    border-bottom: 1px solid #1e2535;
    border-left: 3px solid transparent;
  }
  
  .module-item:hover {
    background: #1e2a3a;
    border-left-color: #3b82f6;
  }
  
  .lesson-num {
    font-size: 0.82rem;
    color: #4a5568;
    width: 30px;
    flex-shrink: 0;
    text-align: right;
  }
  
  .module-item a {
    color: #cbd5e0;
    text-decoration: none;
    font-size: 0.92rem;
  }
  
  .module-item a:hover {
    color: #90cdf4;
  }

  .header-inner {
    max-width: 1150px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    height: 100px;
  }

  .logo-link { flex-shrink: 0; display: flex; align-items: center; }
  .logo-link img {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 1.5px solid var(--border-hover);
    transition: border-color 0.2s;
  }
  .logo-link:hover img { border-color: var(--accent); }

  .header-titles {
    flex: 1;
    min-width: 0;
  }
  .header-titles h1 {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    letter-spacing: -0.01em;
  }
  .header-titles p {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 1px;
  }

  /* nav */
  nav { margin-left: auto; flex-shrink: 0; }
  .nav-list { list-style: none; display: flex; gap: 0.5rem; align-items: center; }

  .dropdown { position: relative; }
  .dropdown > a {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    padding: 0.4rem 0.85rem;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    transition: all 0.2s;
    white-space: nowrap;
  }
  .dropdown > a:hover {
    color: var(--text-primary);
    border-color: var(--border-hover);
    background: var(--surface);
  }
  .dropdown > a svg { transition: transform 0.2s; }
  .dropdown:hover > a svg { transform: rotate(180deg); }

  .dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: var(--navy-light);
    border: 1px solid var(--border-hover);
    border-radius: var(--radius);
    padding: 6px;
    min-width: 240px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
  }
  .dropdown:hover .dropdown-menu { display: block; }
  .dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 0.55rem 0.75rem;
    border-radius: var(--radius-sm);
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 500;
    transition: all 0.15s;
  }
  .dropdown-menu a:hover {
    background: var(--surface-hover);
    color: var(--text-primary);
  }
  .dropdown-menu .cert-badge {
    font-family: Arial, sans-serif;
    font-size: 0.68rem;
    padding: 2px 6px;
    border-radius: 4px;
    background: rgba(245,158,11,0.15);
    color: var(--accent);
    border: 1px solid rgba(245,158,11,0.25);
    flex-shrink: 0;
  }

  /* ── HERO ── */
  .hero {
    max-width: 1150px;
    margin: 0 auto;
    padding: 3.5rem 2rem 2.5rem;
    display: grid;
    grid-template-columns: 1fr auto;
    align-items: start;
    gap: 2rem;
  }
  .hero-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(245,158,11,0.1);
    border: 1px solid rgba(240, 155, 9, 0.844);
    color: var(--accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 100px;
    margin-bottom: 1rem;
  }
  .hero-eyebrow span { width: 6px; height: 6px; border-radius: 50%; background: var(--accent); }
  .hero h2 {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 700;
    line-height: 1.25;
    letter-spacing: -0.03em;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
  }
  .hero h2 em {
    font-style: normal;
    background: linear-gradient(90deg, #f59e0b, #f97316);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
  }
  .hero p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    max-width: 520px;
  }

  .hero-stats {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-end;
  }
  .stat-pill {
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 100px;
    padding: 0.5rem 1rem;
    white-space: nowrap;
  }
  .stat-pill .num { font-size: 1.1rem; font-weight: 700; color: var(--text-primary); }
  .stat-pill .lbl { font-size: 0.85rem; color: var(--text-secondary); }
  .stat-pill .dot { width: 8px; height: 8px; border-radius: 50%; }
  .dot-amber { background: var(--accent); }
  .dot-blue  { background: var(--blue); }
  .dot-teal  { background: var(--teal); }

  .section-label {
    font-size: 0.90rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--text-primary);
    margin-bottom: 1rem;
  }

  /* ── BOOTCAMP CARD ── */
  .bootcamp {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 1rem;
    overflow: hidden;
    transition: border-color 0.2s;
  }
  .bootcamp:hover { border-color: var(--border-hover); }
  .bootcamp.open { border-color: rgba(59,130,246,0.3); }

  .bootcamp-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    cursor: pointer;
    user-select: none;
    transition: background 0.15s;
  }
  .bootcamp-header:hover { background: var(--surface-hover); }

  .bc-icon {
    width: 42px; height: 42px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
  }
  .bc-icon svg { width: 22px; height: 22px; }
  .bc-icon-arch { background: rgba(59,130,246,0.15); }
  .bc-icon-arch svg { color: var(--blue-light); }
  .bc-icon-ai   { background: rgba(20,184,166,0.15); }
  .bc-icon-ai   svg { color: var(--teal); }
  .bc-icon-clf  { background: rgba(245,158,11,0.15); }
  .bc-icon-clf  svg { color: var(--accent); }

  .bc-info { flex: 1; min-width: 0; padding-left: 5px;}


  .bc-chevron {
    width: 18px; height: 18px;
    color: var(--text-muted);
    transition: transform 0.3s ease, color 0.2s;
    flex-shrink: 0;
  }
  .bootcamp.open .bc-chevron { transform: rotate(180deg); color: var(--text-secondary); }

  /* ── MODULE LIST ── */
  .bootcamp-content {
    display: none;
    border-top: 1px solid var(--border);
    padding: 0;
  }
  .bootcamp.open .bootcamp-content { display: block; }

  .footer-inner {
    max-width: 1150px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
  }
  footer p { font-size: 0.95rem; color: var(--text); }
  .footer-links { display: flex; gap: 1.5rem; }
  .footer-links a {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-decoration: none;
    transition: color 0.2s;
  }
  .footer-links a:hover { color: var(--text-secondary); }
  .page-header{
    font-size: 1.25rem;
    font-family: Arial, sans-serif;
  }

  /* Chevron rotation */
.dropdown-chevron {
    transition: transform 0.2s ease;
    flex-shrink: 0;
  }
  
  .dropdown-toggle.open .dropdown-chevron {
    transform: rotate(180deg);
  }
  
  /* Hide menu by default; show when .open is on the <li> */
  .dropdown .dropdown-menu {
    display: none;
  }
  
  .dropdown.open .dropdown-menu {
    display: block;
  }

  /* Update from Exam domain to module mapping*/
  .domain-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #a0aec0;
  margin-bottom: 6px;
}

.module-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* ── Domain Group (collapsible) ── */
.domain-group {
  border-top: 1px solid #2d3748;
}

.domain-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  cursor: pointer;
  background: #1a2235;
  user-select: none;
}

.domain-header:hover {
  background: #1e2a3a;
}

.domain-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}

.domain-label {
  font-size: 1.18rem;
  font-weight: 800;
  padding: 3px 10px;
  border: 1px solid #4a5568;
  border-radius: 6px;
  color: #edf0f4;
  white-space: nowrap;
}

.domain-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #e2e8f0;
}

.domain-header-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.domain-count {
  font-size: 0.85rem;
  color: #718096;
}

.domain-chevron {
  transition: transform 0.25s ease;
  color: #718096;
}

.domain-header.open .domain-chevron {
  transform: rotate(180deg);
}

/* Domain content hidden by default */
.domain-content {
  display: none;
}

.domain-content.open {
  display: block;
}

/* ── Module group header inside domain ── */
.module-group-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 16px;
  border-top: 1px solid #2d3748;
  border-bottom: 1px solid #2d3748;
  background: #161f2e;
}

.module-header-left {
  display: flex;
  align-items: center;
  gap: 10px;
}