  /* =========================================================
     COAL CITY — ACADEMIC PROGRAMMES SECTION
     All styles scoped under .cc-ap-section to avoid conflicts
  ========================================================= */

  .cc-ap-section {
    background: #07122b;
    padding: 90px 0 0;
    font-family: 'Inter', sans-serif;
    overflow: hidden;
  }

  /* --- Heading Block --- */
  .cc-ap-eyebrow {
    color: #FFD700;
    font-size: 11.5px;
    font-weight: 600;
    letter-spacing: 3.5px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 14px;
  }

  .cc-ap-heading {
    font-family: 'Playfair Display', serif;
    font-size: clamp(26px, 4vw, 42px);
    font-weight: 700;
    color: #ffffff;
    text-align: center;
    line-height: 1.25;
    margin-bottom: 14px;
  }

  .cc-ap-subtitle {
    color: rgba(255, 255, 255, 0.62);
    font-size: 15px;
    text-align: center;
    margin-bottom: 26px;
  }

  .cc-ap-rule {
    width: 54px;
    height: 3px;
    background: #FFD700;
    border-radius: 2px;
    margin: 0 auto 64px;
  }

  /* --- Card Grid --- */
  .cc-ap-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  @media (max-width: 900px) {
    .cc-ap-grid {
      grid-template-columns: repeat(2, 1fr);
    }
  }

  @media (max-width: 580px) {
    .cc-ap-section {
      padding: 60px 0 0;
    }
    .cc-ap-grid {
      grid-template-columns: 1fr;
    }
    .cc-ap-rule {
      margin-bottom: 44px;
    }
  }

  /* --- Individual Card --- */
  .cc-ap-card {
    background: #0d1f4a;
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 16px;
    padding: 32px 26px 28px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;

    /* Initial hidden state for scroll animation */
    opacity: 0;
    transform: translateY(36px);
    will-change: transform, opacity;
  }

  .cc-ap-card:hover {
    transform: translateY(-6px) !important;
    border-color: rgba(255, 215, 0, 0.45);
    box-shadow:
      0 8px 32px rgba(255, 215, 0, 0.08),
      0 2px 16px rgba(0, 0, 0, 0.35);
  }

  /* Animated visible state — desktop/tablet fade-up */
  .cc-ap-card.cc-visible {
    opacity: 1;
    transform: translateY(0);
    transition:
      opacity 0.55s cubic-bezier(0.22, 0.68, 0, 1.2),
      transform 0.55s cubic-bezier(0.22, 0.68, 0, 1.2),
      box-shadow 0.3s ease,
      border-color 0.3s ease;
  }

  /* Mobile: slide from left (default) */
  @media (max-width: 580px) {
    .cc-ap-card {
      transform: translateX(-52px);
      opacity: 0;
    }

    /* Alternate cards slide from right */
    .cc-ap-card.cc-from-right {
      transform: translateX(52px);
    }

    .cc-ap-card.cc-visible {
      transform: translateX(0) !important;
    }
  }

  /* Small mobile (≤380px) — reduce slide distance */
  @media (max-width: 380px) {
    .cc-ap-card,
    .cc-ap-card.cc-from-right {
      transform: translateX(0) translateY(28px);
    }
    .cc-ap-card.cc-visible {
      transform: translateY(0) !important;
    }
  }

  /* --- Icon Badge --- */
  .cc-ap-icon-badge {
    width: 62px;
    height: 62px;
    border-radius: 50%;
    background: rgba(255, 215, 0, 0.08);
    border: 1px solid rgba(255, 215, 0, 0.22);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-shrink: 0;
  }

  .cc-ap-icon-badge i {
    font-size: 26px;
    color: #FFD700;
  }

  /* --- Card Content --- */
  .cc-ap-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 10px;
    line-height: 1.2;
  }

  .cc-ap-pill {
    display: inline-block;
    padding: 4px 13px;
    border: 1px solid #FFD700;
    border-radius: 20px;
    background: transparent;
    color: #FFD700;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.4px;
    margin-bottom: 18px;
  }

  .cc-ap-bullets {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    display: flex;
    flex-direction: column;
    gap: 9px;
    flex: 1;
  }

  .cc-ap-bullets li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    color: rgba(255, 255, 255, 0.66);
    font-size: 13.5px;
    line-height: 1.55;
  }

  .cc-ap-bullets li::before {
    content: '';
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #FFD700;
    margin-top: 7px;
    flex-shrink: 0;
  }

  .cc-ap-learn {
    color: #FFD700;
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
    letter-spacing: 0.3px;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s ease;
    align-self: flex-start;
  }

  .cc-ap-learn:hover {
    border-color: #FFD700;
    color: #FFD700;
  }

  /* --- CTA Strip --- */
  .cc-ap-cta-strip {
    background: #0d1f4a;
    border-top: 1px solid rgba(255, 215, 0, 0.12);
    margin-top: 64px;
    padding: 46px 24px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
  }

  .cc-ap-cta-text {
    color: #ffffff;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
  }

  .cc-ap-cta-btn {
    background: #FFD700;
    color: #07122b;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 700;
    padding: 13px 30px;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    letter-spacing: 0.3px;
    text-decoration: none;
    display: inline-block;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
  }

  .cc-ap-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(255, 215, 0, 0.28);
    color: #07122b;
    text-decoration: none;
  }

  /* --- Accessibility --- */
  .cc-sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
  }
