.cp-hero {
    position: relative;
    overflow: hidden;
    border-radius: 1.75rem;
    background: linear-gradient(135deg, #0d6efd 0%, #0b5ed7 35%, #0a4275 100%);
    color: #fff;
    padding: 3.5rem 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 1rem 2rem rgba(13, 110, 253, 0.15);
  }

  .cp-hero::before,
  .cp-hero::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    z-index: 0;
  }

  .cp-hero::before {
    width: 220px;
    height: 220px;
    top: -70px;
    right: -40px;
  }

  .cp-hero::after {
    width: 140px;
    height: 140px;
    bottom: -30px;
    left: -20px;
  }

  .cp-hero-content {
    position: relative;
    z-index: 1;
    max-width: 850px;
  }

  .cp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.16);
    border-radius: 999px;
    padding: 0.5rem 0.9rem;
    font-size: 0.92rem;
    font-weight: 600;
    margin-bottom: 1rem;
  }

  .cp-section-heading {
    margin-bottom: 1.5rem;
  }

  .cp-section-heading h2 {
    font-weight: 700;
    margin-bottom: 0.35rem;
  }

  .cp-section-heading p {
    color: #6c757d;
    margin-bottom: 0;
  }

  .program-card {
    display: flex;
    flex-direction: column;
    border: 1px solid #e9ecef;
    border-radius: 1.25rem;
    overflow: hidden;
    height: 100%;
    background: #fff;
    box-shadow: 0 0.5rem 1.2rem rgba(0,0,0,0.05);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .program-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 1rem 2rem rgba(0,0,0,0.08);
  }

  .program-card-header {
    background: linear-gradient(180deg, #f8fbff 0%, #f1f6ff 100%);
    padding: 1.25rem 1.25rem 1rem;
    border-bottom: 1px solid #eef2f6;
  }

  .program-meta-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.85rem;
  }

  .program-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.35rem 0.7rem;
    font-size: 0.82rem;
    border-radius: 999px;
    background: #eaf2ff;
    color: #0b5ed7;
    font-weight: 600;
  }

  .program-title {
    margin: 0;
    font-size: 1.2rem;
    font-weight: 700;
    color: #212529;
  }

  .program-department {
    color: #6c757d;
    margin-top: 0.35rem;
    margin-bottom: 0;
    font-size: 0.95rem;
  }

  .program-card-body {
    flex: 1 1 auto;
    padding: 1.25rem;
  }

  .program-summary {
    color: #495057;
    margin-bottom: 1rem;
  }

  .courses-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.85rem;
  }

  .course-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 0;
  }

  .course-list li {
    border: 1px solid #edf1f5;
    border-radius: 0.9rem;
    margin-bottom: 0.75rem;
    background: #fcfdff;
  }

  .course-list-item[hidden] {
    display: none;
  }

  .course-link {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    text-decoration: none;
    color: inherit;
    padding: 0.9rem 1rem;
  }

  .course-link:hover {
    background: #f7fbff;
  }

  .course-main {
    min-width: 0;
  }

  .course-code {
    display: inline-block;
    font-size: 0.8rem;
    font-weight: 700;
    color: #0b5ed7;
    background: #eaf2ff;
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
    margin-bottom: 0.45rem;
  }

  .course-title {
    font-weight: 600;
    color: #212529;
    margin-bottom: 0.15rem;
  }

  .course-meta {
    font-size: 0.9rem;
    color: #6c757d;
  }

  .course-arrow {
    display: flex;
    align-items: center;
    color: #0b5ed7;
    font-size: 1.05rem;
    flex-shrink: 0;
  }

  .course-toggle-button {
    position: relative;
    isolation: isolate;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    width: 100%;
    min-height: 46px;
    margin-top: 0.1rem;
    border: 1px solid rgba(13, 110, 253, 0.2);
    border-radius: 999px;
    background:
      linear-gradient(135deg, rgba(13, 110, 253, 0.1), rgba(32, 201, 151, 0.08)),
      #ffffff;
    color: #0a4275;
    font-weight: 750;
    box-shadow: 0 0.55rem 1.2rem rgba(13, 110, 253, 0.1);
    overflow: hidden;
    transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
  }

  .course-toggle-button::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(135deg, #0d6efd, #0a4275);
    opacity: 0;
    transition: opacity 180ms ease;
  }

  .course-toggle-button:hover,
  .course-toggle-button:focus {
    border-color: rgba(13, 110, 253, 0.45);
    color: #ffffff;
    box-shadow: 0 0.85rem 1.5rem rgba(13, 110, 253, 0.18);
    transform: translateY(-2px);
  }

  .course-toggle-button:hover::before,
  .course-toggle-button:focus::before {
    opacity: 1;
  }

  .course-toggle-button:active {
    box-shadow: 0 0.35rem 0.8rem rgba(13, 110, 253, 0.14);
    transform: translateY(0);
  }

  .course-toggle-button:focus-visible {
    outline: 3px solid rgba(13, 110, 253, 0.28);
    outline-offset: 3px;
  }

  .course-toggle-count {
    display: inline-grid;
    place-items: center;
    min-width: 2rem;
    min-height: 1.65rem;
    border-radius: 999px;
    background: #0d6efd;
    color: #ffffff;
    font-size: 0.82rem;
    line-height: 1;
    transition: background-color 180ms ease, color 180ms ease;
  }

  .course-toggle-button:hover .course-toggle-count,
  .course-toggle-button:focus .course-toggle-count {
    background: rgba(255, 255, 255, 0.18);
  }

  .course-toggle-icon {
    transition: transform 180ms ease;
  }

  .course-toggle-button[aria-expanded="true"] .course-toggle-icon {
    transform: rotate(180deg);
  }

  .program-card-footer {
    margin-top: auto;
    padding: 1rem 1.25rem 1.25rem;
    border-top: 1px solid #f1f3f5;
    background: #fff;
  }

  .program-action-link {
    text-decoration: none;
    font-weight: 600;
  }

  .empty-state {
    border: 1px dashed #ced4da;
    border-radius: 1rem;
    background: #f8f9fa;
    padding: 1rem;
    color: #6c757d;
  }

  .info-note {
    border-left: 4px solid #0d6efd;
    background: #f8fbff;
    padding: 1rem 1rem 1rem 1.1rem;
    border-radius: 0.75rem;
    color: #495057;
    margin-bottom: 2rem;
  }
