:root {
      --ink:    #0d0d0d;
      --cream:  #f5f0e8;
      --gold:   #e8a020;
      --gold-d: #c4831a;
      --card-bg:#ffffff;
      --radius: 16px;
      --shadow: 0 8px 40px rgba(0,0,0,.10);
    }

   

    /* ── Section wrapper ───────────────────────────── */
    .courses-section {
      padding: 80px 0 100px;
    }

    .section-eyebrow {
      font-family: 'DM Sans', sans-serif;
      font-weight: 600;
      font-size: .75rem;
      letter-spacing: .18em;
      text-transform: uppercase;
      color: var(--gold-d);
    }

    .section-title {
      font-family: 'Playfair Display', serif;
      font-size: clamp(2rem, 4vw, 3rem);
      font-weight: 900;
      line-height: 1.15;
      color: var(--ink);
    }

    .section-title span {
      color: var(--gold);
    }

    /* ── Course Card ───────────────────────────────── */
    .course-card {
      background: var(--card-bg);
      border-radius: var(--radius);
      box-shadow: var(--shadow);
      overflow: hidden;
      transition: transform .35s cubic-bezier(.22,1,.36,1), box-shadow .35s ease;
    }

    .course-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 20px 60px rgba(0,0,0,.14);
    }

    /* ── Thumbnail / Play area ─────────────────────── */
    .thumb-wrap {
      position: relative;
      overflow: hidden;
      aspect-ratio: 16/9;
      cursor: pointer;
    }

    .thumb-wrap img {
      width: 100%;
      height: 100%;
      object-fit: cover;
      transition: transform .5s ease, filter .5s ease;
    }

    .thumb-wrap:hover img {
      transform: scale(1.05);
      filter: brightness(.7);
    }

    .thumb-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(to top, rgba(0,0,0,.55) 0%, transparent 60%);
      transition: background .35s ease;
    }

    .thumb-wrap:hover .thumb-overlay {
      background: linear-gradient(to top, rgba(0,0,0,.7) 0%, rgba(0,0,0,.2) 100%);
    }

    .play-btn {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%) scale(1);
      width: 72px;
      height: 72px;
      border-radius: 50%;
      background: var(--gold);
      border: none;
      display: flex;
      align-items: center;
      justify-content: center;
      transition: transform .3s cubic-bezier(.22,1,.36,1), background .25s ease, box-shadow .25s ease;
      box-shadow: 0 0 0 0 rgba(232,160,32,.55);
    }

    .play-btn svg {
      width: 26px;
      height: 26px;
      fill: #fff;
      margin-left: 4px;
    }

    .thumb-wrap:hover .play-btn {
      transform: translate(-50%, -50%) scale(1.15);
      background: var(--gold-d);
      box-shadow: 0 0 0 14px rgba(232,160,32,.18);
    }

    .thumb-badge {
      position: absolute;
      top: 14px;
      left: 14px;
      background: var(--gold);
      color: #fff;
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .06em;
      padding: 4px 12px;
      border-radius: 99px;
      text-transform: uppercase;
    }

    /* ── Card body ─────────────────────────────────── */
    .card-body-inner {
      padding: 28px 28px 32px;
    }

    .course-heading {
      font-family: 'Playfair Display', serif;
      font-size: 1.35rem;
      font-weight: 700;
      line-height: 1.3;
      margin-bottom: 18px;
      color: var(--ink);
    }

    /* ── Offer bullets ─────────────────────────────── */
    .offers-list {
      list-style: none;
      padding: 0;
      margin: 0 0 22px;
      display: flex;
      flex-direction: column;
      gap: 10px;
    }

    .offers-list li {
      display: flex;
      align-items: flex-start;
      gap: 10px;
      font-size: .9rem;
      color: #444;
      line-height: 1.45;
    }

    .offer-icon {
      flex-shrink: 0;
      width: 20px;
      height: 20px;
      border-radius: 50%;
      background: #fff7e6;
      border: 2px solid var(--gold);
      display: flex;
      align-items: center;
      justify-content: center;
      margin-top: 1px;
    }

    .offer-icon svg {
      width: 10px;
      height: 10px;
      stroke: var(--gold-d);
      stroke-width: 3;
      fill: none;
    }

    /* ── Divider ───────────────────────────────────── */
    .card-divider {
      height: 1px;
      background: linear-gradient(to right, #e0d8cc, transparent);
      margin-bottom: 22px;
    }

    /* ── Course name + Explore ─────────────────────── */
    .course-footer {
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 12px;
      flex-wrap: wrap;
    }

    .course-name-label {
      font-size: .72rem;
      font-weight: 600;
      letter-spacing: .1em;
      text-transform: uppercase;
      color: #888;
      margin-bottom: 2px;
    }

    .course-name {
      font-family: 'Playfair Display', serif;
      font-size: 1rem;
      font-weight: 700;
      color: var(--ink);
    }

    .explore-btn {
      display: inline-flex;
      align-items: center;
      gap: 8px;
      background: var(--ink);
      color: #fff;
      font-family: 'DM Sans', sans-serif;
      font-size: .85rem;
      font-weight: 600;
      padding: 10px 22px;
      border-radius: 99px;
      border: none;
      cursor: pointer;
      text-decoration: none;
      transition: background .25s ease, transform .2s ease, box-shadow .25s ease;
      white-space: nowrap;
    }

    .explore-btn svg {
      width: 14px;
      height: 14px;
      stroke: currentColor;
      stroke-width: 2.5;
      fill: none;
      transition: transform .25s ease;
    }

    .explore-btn:hover {
      background: var(--gold-d);
      transform: translateY(-1px);
      box-shadow: 0 6px 24px rgba(196,131,26,.35);
    }

    .explore-btn:hover svg {
      transform: translateX(3px);
    }

    /* ── YouTube Modal ─────────────────────────────── */
    .yt-modal-backdrop {
      position: fixed;
      inset: 0;
      background: rgba(0,0,0,.85);
      z-index: 9000;
      display: flex;
      align-items: center;
      justify-content: center;
      padding: 20px;
      opacity: 0;
      pointer-events: none;
      transition: opacity .35s ease;
    }

    .yt-modal-backdrop.active {
      opacity: 1;
      pointer-events: all;
    }

    .yt-modal-inner {
      position: relative;
      width: 100%;
      max-width: 860px;
      border-radius: 14px;
      overflow: hidden;
      box-shadow: 0 40px 120px rgba(0,0,0,.7);
      transform: scale(.92) translateY(20px);
      transition: transform .4s cubic-bezier(.22,1,.36,1);
    }

    .yt-modal-backdrop.active .yt-modal-inner {
      transform: scale(1) translateY(0);
    }

    .yt-modal-inner iframe {
      display: block;
      width: 100%;
      aspect-ratio: 16/9;
      border: none;
    }

    .yt-close {
      position: absolute;
      top: -14px;
      right: -14px;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background: #fff;
      border: none;
      cursor: pointer;
      display: flex;
      align-items: center;
      justify-content: center;
      box-shadow: 0 4px 16px rgba(0,0,0,.3);
      transition: background .2s, transform .2s;
      z-index: 10;
    }

    .yt-close:hover {
      background: var(--gold);
      transform: rotate(90deg) scale(1.1);
    }

    .yt-close svg {
      width: 16px;
      height: 16px;
      stroke: var(--ink);
      stroke-width: 2.5;
      fill: none;
      pointer-events: none;
    }