 <style>
    /* ----- RESET & GLOBAL STYLES ----- */
    * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
    }

    body {
      background-color: #FAF6F3;
      font-family: system-ui, -apple-system, 'Segoe UI', 'Noto Sans Sinhala', 'Roboto', 'Helvetica Neue', sans-serif;
      line-height: 1.5;
      color: #1A2C3E;
    }

    /* smooth scrolling & focus accessibility */
    html {
      scroll-behavior: smooth;
    }

    a, button, .course-card {
      transition: all 0.2s ease;
    }

    a:focus-visible, .course-card:focus-visible {
      outline: 3px solid #2c7da0;
      outline-offset: 2px;
      border-radius: 1.5rem;
    }

    /* ----- MAIN CONTAINER ----- */
    .lc-courses-page {
      max-width: 1280px;
      margin: 0 auto;
      padding: 2rem 1.5rem 4rem;
    }

    /* ----- HERO SECTION (no eyebrow text) ----- */
    .lc-courses-hero {
      background: linear-gradient(135deg, #FDF8F4 0%, #F4EDE8 100%);
      border-radius: 2rem;
      padding: 2rem 2rem 2.5rem;
      margin-bottom: 3.5rem;
      text-align: center;
      box-shadow: 0 8px 20px rgba(0, 0, 0, 0.02), 0 2px 4px rgba(0, 0, 0, 0.02);
      border: 1px solid rgba(255, 255, 255, 0.6);
    }

    /* Hero image: 80% of site width on all devices */
    .hero-logo {
      width: 80%;
      max-width: none;
      height: auto;
      margin: 0.5rem auto 1rem;
      display: block;
    }

    .lc-hero-content p {
      font-size: 1.15rem;
      max-width: 620px;
      margin: 1.5rem auto 0;
      color: #2C3E50;
    }

    .lc-hero-content p .si,
    .lc-hero-content p .en {
      display: inline-block;
    }

    .lc-hero-content p .en {
      color: #5A6E7A;
      font-weight: 450;
      margin-left: 0.5rem;
    }

    /* section header */
    .section-head {
      margin-bottom: 2rem;
      text-align: center;
    }

    .section-head h2 {
      font-size: 2rem;
      font-weight: 600;
      color: #1E2F3A;
      letter-spacing: -0.01em;
      border-left: 5px solid #E08E4A;
      display: inline-block;
      padding-left: 1rem;
      background: linear-gradient(to right, #1E2F3A, #3E5C6E);
      background-clip: text;
      -webkit-background-clip: text;
      color: transparent;
    }

    .section-head h2 span {
      background: none;
      background-clip: unset;
      -webkit-background-clip: unset;
    }

    .section-head h2 .en {
      font-weight: 500;
      color: #6F7E8F;
      margin-left: 0.5rem;
      font-size: 1.7rem;
    }

    /* ----- COURSES GRID (single card centered) ----- */
    .courses-grid {
      display: flex;
      justify-content: center;
      align-items: center;
      margin-top: 1rem;
    }

    /* ----- COURSE CARD STYLES (single, wider on desktop) ----- */
    .course-card {
      display: flex;
      flex-direction: column;
      background: #FFFFFF;
      border-radius: 1.75rem;
      padding: 2rem 2rem 1.75rem;
      text-decoration: none;
      color: inherit;
      box-shadow: 0 10px 20px -5px rgba(0, 0, 0, 0.05), 0 2px 6px rgba(0, 0, 0, 0.02);
      transition: transform 0.2s cubic-bezier(0.2, 0, 0, 1), box-shadow 0.25s ease;
      border: 1px solid #F0E9E4;
      will-change: transform;
      max-width: 560px;
      width: 100%;
    }

    .course-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 24px 36px -12px rgba(0, 0, 0, 0.15), 0 4px 12px rgba(0, 0, 0, 0.05);
      border-color: #EADBCE;
    }

    .course-card-featured {
      background: linear-gradient(145deg, #FFFFFF, #FEFAF7);
      border-left: 6px solid #E08E4A;
      box-shadow: 0 18px 28px -12px rgba(0, 0, 0, 0.12);
    }

    .course-card-featured:hover {
      border-left-width: 8px;
      border-left-color: #C26B2C;
    }

    .course-icon {
      width: 80px;
      height: 80px;
      display: flex;
      align-items: center;
      justify-content: center;
      border-radius: 48px;
      font-size: 2.5rem;
      font-weight: 600;
      margin-bottom: 1.5rem;
      background: #F4EFEA;
      transition: transform 0.2s ease;
    }

    .course-card:hover .course-icon {
      transform: scale(1.02);
    }

    .course-icon-blue {
      background: #EFF6FF;
      color: #1E4A76;
      box-shadow: inset 0 0 0 1px rgba(30, 74, 118, 0.1);
    }

    .course-card-body h3 {
      font-size: 1.8rem;
      font-weight: 700;
      margin-bottom: 0.75rem;
      letter-spacing: -0.2px;
      display: flex;
      flex-wrap: wrap;
      gap: 0.25rem 0.6rem;
      align-items: baseline;
    }

    .course-card-body h3 .si {
      color: #1C2E3E;
    }

    .course-card-body h3 .en {
      font-size: 1.4rem;
      font-weight: 500;
      color: #5D7182;
    }

    .course-card-body p {
      color: #4F6272;
      margin-bottom: 1rem;
      line-height: 1.5;
      font-size: 1rem;
    }

    .course-card-body p .si,
    .course-card-body p .en {
      display: inline;
    }

    .course-card-body p .en {
      color: #6D808F;
      margin-left: 0.3rem;
    }

    /* meta row: arrow only (removed lesson count) */
    .course-meta {
      display: flex;
      justify-content: flex-end;
      align-items: center;
      margin-top: 1rem;
      padding-top: 0.75rem;
      border-top: 2px dotted #EDE3DB;
    }

    .course-arrow {
      font-size: 2rem;
      font-weight: 400;
      line-height: 1;
      transition: transform 0.2s ease;
      color: #C26B2C;
    }

    .course-card:hover .course-arrow {
      transform: translateX(5px);
    }

    .course-card-featured .course-meta {
      border-top-color: #F0DFD2;
    }

    /* responsive adjustments */
    @media (max-width: 780px) {
      .lc-courses-page {
        padding: 1.5rem 1rem 3rem;
      }

      .lc-courses-hero {
        padding: 1.5rem 1rem 2rem;
        border-radius: 1.75rem;
      }

      .hero-logo {
        width: 80%;
      }

      .lc-hero-content p {
        font-size: 1rem;
      }

      .section-head h2 {
        font-size: 1.7rem;
      }

      .section-head h2 .en {
        font-size: 1.4rem;
      }

      .course-card {
        padding: 1.5rem;
        max-width: 100%;
      }

      .course-card-body h3 {
        font-size: 1.5rem;
      }

      .course-card-body h3 .en {
        font-size: 1.2rem;
      }

      .course-icon {
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
      }
    }

    @media (max-width: 540px) {
      .lc-courses-hero {
        padding: 1.25rem 1rem 1.75rem;
      }

      .hero-logo {
        width: 80%;
      }

      .lc-hero-content p .en {
        display: block;
        margin-left: 0;
        margin-top: 0.2rem;
      }

      .course-card {
        padding: 1.25rem;
      }

      .course-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
      }
    }

    /* Sinhala font support */
    .si {
      font-family: 'Noto Sans Sinhala', 'Segoe UI', system-ui, sans-serif;
      font-weight: 500;
    }

    /* animation */
    .course-card {
      animation: cardAppear 0.4s ease backwards;
    }

    @keyframes cardAppear {
      from {
        opacity: 0;
        transform: translateY(16px);
      }
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

    .course-card:focus-visible {
      outline: 3px solid #2c7da0;
      outline-offset: 3px;
      transform: translateY(-2px);
    }
  </style>