/* =====================================================
   Edzorb Law · "Pick the programme" courses section
   Mobile first (phone design up to 425px)
   ===================================================== */

.courses {
  padding: 40px 0 44px;
  background: #e0f1fc;
  scroll-margin-top: 62px;
}

.course-list {
  display: grid;
  gap: 14px;
  margin: 20px 0 0;
  padding: 0;
  list-style: none;
}

/* one programme = one tappable card */
.course-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px 14px 14px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform .2s, box-shadow .2s;
}

.course-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-card);
}

/* ---------- Icon tile ---------- */
.course-icon {
  position: relative;          /* the tilted tag is placed against this */
  flex: 0 0 72px;
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  border-radius: 20px;
}

.course-icon img {
  width: 48px;
  height: 48px;
  object-fit: contain;
}

/* the four pastel washes from the Edzorb site */
/* .course-icon-peach { background: linear-gradient(180deg, #FFF3F0 0%, #F9E1DD 100%); } */
.course-icon-peach { background: #ffe9d6; }
/* .course-icon-lilac { background: linear-gradient(180deg, #FFF3FF 0%, #FAE0FF 100%); } */
.course-icon-lilac { background: #f0e5ff; }
/* .course-icon-sky   { background: linear-gradient(180deg, #E6F3FC 0%, #99DAFF 100%); } */
.course-icon-sky   { background: #E4F1FF; }
/* .course-icon-mint  { background: linear-gradient(180deg, #EAF8F5 0%, #BAE5DD 100%); } */
.course-icon-mint  { background: #DDF6E9; }

/* small tilted "Most popular" tag, top-left of the icon */
.course-tag {
  position: absolute;
  top: 0px;
  left: -25px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--amber);
  box-shadow: 0 4px 10px -4px rgba(1, 50, 78, .5);
  color: var(--navy);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
  white-space: nowrap;
  transform: rotate(-20deg);
  transform-origin: left bottom;
  pointer-events: none;
}

/* ---------- Text ---------- */
.course-info {
  flex: 1;
  min-width: 0;
}

.course-name {
  font-size: 18px;
  line-height: 1.25;
  color: var(--navy);
}

.course-meta {
  display: block;
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted);
}

/* ---------- Round arrow ---------- */
.course-arrow {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--navy);
  font-size: 18px;
  transition: background .2s, color .2s;
}

.course-card:hover .course-arrow {
  background: var(--navy);
  color: #fff;
}

/* ---------- Compare button (full width) ---------- */
.course-compare {
  width: 100%;
  margin-top: 16px;
  background: #fff;
  color: var(--navy);
}

/* very small phones */
@media (max-width: 360px) {
  .course-card {
    gap: 10px;
    padding: 12px;
  }

  .course-icon {
    flex-basis: 64px;
    width: 64px;
    height: 64px;
  }

  .course-name {
    font-size: 17px;
  }
}

/* ---------- Tablet and desktop (601px and up): two columns ---------- */
@media (min-width: 601px) {
  .courses {
    padding: 56px 0 60px;
    background: #fff;
  }

  .course-list {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-top: 26px;
  }

  .course-compare {
    width: auto;
    margin-top: 22px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .course-card,
  .course-arrow {
    transition: none;
  }

  .course-card:hover {
    transform: none;
  }
}


.course-arrow {
  flex: 0 0 36px;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--sky-light);
  color: var(--navy);
  transition: background .2s, color .2s, transform .2s;
}

.course-arrow svg {
  width: 20px;
  height: 20px;
}

.course-card:hover .course-arrow {
  transform: translateX(3px);
}



/* ========================================= */






/* ==================================== */
/* ==========================================================
   .cs-section  (niche wala slider section) : COMPLETE CSS
   Purane .cs-section wale poore CSS ko hata kar ye paste karo.

   Pehle section (.courses) se match kiya hua:
   - card title : 18px, line-height 1.25, weight/font site ka heading wala (inherit)
   - meta/list  : 14px, line-height 1.4, muted colour
   - tag / chip : 10px, weight 900, uppercase, letter-spacing .04em
   - buttons    : 15px, weight 700 (mobile 14px, 360px par 12px)
   - CTA colours: hero wale (gradient + outline)
   ========================================================== */

.cs-section {
  --blue: #0a93e0;
  --leaf: #5fcf8f;
  --red: #e1323f;
  --sky: #d4e7f5;
  --ink: #1f3b4f;
  --ink-soft: #4f6a7d;
  --card: #fff;
  --line: #d6e5f0;
  --surface: #f4f9fd;
  padding: 32px 0;
  font-family: inherit;               /* pehle section jaisa site font */
  color: var(--ink);
  box-sizing: border-box;
}

.cs-section * { box-sizing: border-box; }

/* ---------- heading ---------- */
.cs-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 0 16px;
  margin-bottom: 20px;
}

.cs-eyebrow {
  font-size: .75rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--blue);
}

.cs-head h2 {
  font-size: 1.5rem;
  line-height: 1.2;
  margin: 2px 0 0;
  color: var(--ink);
}

.cs-brush {
  position: relative;
  display: inline-block;
  z-index: 0;
  padding: 2px 14px;
  color: var(--ink);
}

.cs-brush::before {
  content: "";
  position: absolute;
  inset: -6px -4px;
  background: url("assets/15-blue-brush-stroke.png") center/100% 100% no-repeat;
  z-index: -1;
}

.cs-all {
  font-weight: 600;
  font-size: .95rem;
  white-space: nowrap;
  color: #7950F5;
  text-decoration: none;
}

/* ---------- slider track ---------- */
.cs-track {
  position: relative;
  display: flex;
  gap: 14px;
  overflow-x: auto;
  padding: 4px 16px 10px;
  scroll-snap-type: x mandatory;
  scroll-padding-left: 16px;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.cs-track::-webkit-scrollbar { display: none; }

/* ---------- card ---------- */
.cs-card {
  flex: 0 0 86%;
  scroll-snap-align: start;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 18px;
  background: var(--card);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 10%),
              0 2px 5px rgba(0, 65, 102, .06),
              3px 3px 0 rgb(0 0 0 / 8%);
  border-radius: 14px;
  min-width: 0;
}

/* chip = .course-tag jaisa (10px / 900) */
.cs-chip {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--sky);
  color: var(--navy, #01324e);
  font-size: 10px;
  font-weight: 900;
  line-height: 1.3;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.cs-chip-red {
  background: var(--red);
  color: #fff;
}

.cs-top {
  display: flex;
  align-items: center;
  gap: 12px;
}

.cs-top img {
  width: 56px;
  height: 52px;
  object-fit: contain;
  flex: none;
}

/* title = .course-name jaisa (18px, font-weight/family inherit) */
.cs-top h3 {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  color: var(--navy, #01324e);
}

/* meta = .course-meta jaisa (14px) */
.cs-meta {
  font-size: 14px;
  line-height: 1.4;
  color: var(--muted, var(--ink-soft));
}

/* list items bhi 14px */
.cs-card ul {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 14px;
  line-height: 1.4;
}

.cs-card li {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.cs-card li::before {
  content: "";
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 2px;
  border-radius: 50%;
  background: var(--leaf) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M4 8.2l2.4 2.4L12 5' fill='none' stroke='white' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center/100% no-repeat;
}

.cs-card li.cs-more { color: var(--ink-soft); }

/* price */
.cs-price {
  display: flex;
  align-items: baseline;
  gap: 6px;
  flex-wrap: wrap;
}

.cs-price b {
  font-size: 1.5rem;
  font-weight: 900;
  color: var(--navy, #01324e);
}

.cs-price span {
  font-size: 14px;
  color: var(--muted, var(--ink-soft));
}

.cs-price-tbd {
  font-size: 14px;
  color: var(--muted, var(--ink-soft));
  background: var(--surface);
  border-radius: 10px;
  padding: 8px 10px;
}

/* ---------- CTAs ---------- */
.cs-actions {
  display: flex;
  gap: 8px;
  margin-top: auto;
}

.cs-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border: 2px solid transparent;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.cs-btn:hover { transform: translateY(-1px); }

/* 1st CTA : hero ka "Free Resources" (btn-outline) */
.cs-btn-ghost {
  background: #fff;
  background-image: none;
  background-clip: border-box;
  border: 2px solid #dbe8f2;
  color: #0b5fa8;
  -webkit-text-fill-color: #0b5fa8;
  box-shadow: none;
}

.cs-btn-ghost:hover { border-color: #e8b931; }

/* 2nd CTA : hero ka "Enroll Now" (btn-gradient) */
.cs-btn-primary {
  background: linear-gradient(180deg, #14a0ec, #0a7fcf);
  border: 2px solid transparent;
  color: #fff;
  -webkit-text-fill-color: #fff;
  box-shadow: 0 14px 28px -14px rgba(10, 127, 207, .95),
              inset 0 1px 0 rgba(255, 255, 255, .25);
}

/* ---------- dots ---------- */
.cs-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 6px;
}

.cs-dots span {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: var(--line);
  transition: all .3s;
}

.cs-dots span.on {
  width: 22px;
  background: #7950F5;
}

/* ---------- responsive ---------- */
@media (max-width: 480px) {
  .cs-btn { font-size: 14px; }
}

@media (max-width: 360px) {
  .cs-btn { font-size: 12px; padding: 9px 8px; }
}

/* tablet / desktop: 3 cards ek saath */
@media (min-width: 900px) {
  .cs-card { flex: 0 0 calc((100% - 28px) / 3); }
  .cs-dots { display: none; }
}

@media (prefers-reduced-motion: reduce) {
  .cs-btn { transition: none; }
}



/* ==========================================================
   PREMIUM+ 7.0 PLAN CARDS  (credit-card style)
   Do variation: .pc-section--navy (sab blue) aur
   .pc-section--pearl (sab white). Prefix: pc-
   ========================================================== */

.pc-section { padding: 48px 0 56px; }
.pc-section--navy  { background: linear-gradient(180deg, #f4f9fd, #e6eff8); }
.pc-section--pearl { background: linear-gradient(180deg, #e3ebf4, #d6e2ef); }

.pc-head { text-align: center; margin-bottom: 28px; }
.pc-head .section-title { margin-bottom: 8px; }
.pc-head .section-lede  { margin: 0 auto; }

.pc-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 16px;
  list-style: none;
}
@media (min-width: 700px) {
  .pc-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
}

/* ---------- card shell ---------- */
.pc-card {
  position: relative;
  display: block;
  aspect-ratio: 1.586 / 1;
  container-type: inline-size;
  border-radius: 24px;
  border-radius: 4.3cqw;
  overflow: hidden;
  isolation: isolate;
  text-decoration: none;
  font-family: "Poppins", "Segoe UI", system-ui, sans-serif;
  transition: transform .25s ease, box-shadow .25s ease;
}
.pc-card:hover { transform: translateY(-4px); }
.pc-card:focus-visible { outline: 3px solid #e8b931; outline-offset: 4px; }

.pc-card > * { position: absolute; }

/* ---------- logo chip ---------- */
.pc-logo {
  left: 5%; top: 7%;
  width: 17%;
  padding: 1.1cqw 1.8cqw;
  background: #fff;
  border-radius: 1.6cqw;
  box-shadow: 0 .4cqw 1.4cqw rgba(0,0,0,.15);
  line-height: 0;
}
.pc-logo img { display: block; width: 100%; height: auto; }

/* ---------- 7.0 ---------- */
.pc-version {
  right: 5.5%; top: 3%;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 56px;
  font-size: 23cqw;
  line-height: 1;
  letter-spacing: -.02em;
  background: linear-gradient(170deg, #f6dc8f 0%, #d9a634 38%, #fbe7a4 55%, #b88418 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 .5cqw .8cqw rgba(0,0,0,.25));
}

/* ---------- EMV chip + contactless ---------- */
.pc-chip {
  left: 5.5%; top: 33%;
  width: 10.6%; height: 8.4cqw;
  border-radius: 1.4cqw;
  background:
    linear-gradient(90deg, transparent 32%, rgba(120,80,0,.35) 32% 33.2%, transparent 33.2% 66.8%, rgba(120,80,0,.35) 66.8% 68%, transparent 68%),
    linear-gradient(180deg, transparent 46%, rgba(120,80,0,.35) 46% 54%, transparent 54%),
    linear-gradient(135deg, #f4d77f, #c99524 55%, #efd078);
  box-shadow: inset 0 0 0 .25cqw rgba(255,255,255,.35), 0 .6cqw 1.2cqw rgba(0,0,0,.25);
}
.pc-wave {
  left: 19%; top: 34.5%;
  font-size: 12px;
  font-size: 4.6cqw;
  letter-spacing: -.1em;
  line-height: 1;
}

/* ---------- crown hologram ---------- */
.pc-holo {
  right: 6%; top: 41%;
  width: 7.4cqw; height: 7.4cqw;
  border-radius: 50%;
  display: grid; place-items: center;
  background: conic-gradient(from 20deg, #f9d9e8, #cfe9ff, #d9f7d2, #fff2b8, #f9d9e8);
  box-shadow: 0 0 0 .3cqw rgba(255,255,255,.55), 0 .5cqw 1cqw rgba(0,0,0,.25);
}
.pc-holo img { width: 58%; height: auto; display: block; }

/* ---------- "Premium+" ---------- */
.pc-title {
  left: 5.5%; top: 47.5%;
  margin: 0;
  font-family: "Playfair Display", Georgia, "Times New Roman", serif;
  font-weight: 700;
  font-size: 34px;
  font-size: 11.6cqw;
  line-height: 1.05;
  letter-spacing: -.01em;
}
.pc-title sup {
  font-family: "Poppins", sans-serif;
  font-weight: 400;
  font-size: .42em;
  vertical-align: top;
  position: relative;
  top: .15em;
  margin-left: .08em;
  color: #d9a634;
}

/* ---------- perks row ---------- */
.pc-perks {
  left: 5.5%; top: 68.5%;
  display: flex; flex-wrap: wrap; gap: .6em 2.4em;
  margin: 0; padding: 0;
  font-size: 9px;
  font-size: max(9px, 2.1cqw);
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  white-space: nowrap;
}
.pc-perks b { color: #e3b84a; font-weight: 700; }

/* ---------- valid for ---------- */
.pc-valid { left: 5.5%; bottom: 7%; margin: 0; }
.pc-valid small {
  display: block;
  font-size: 8px;
  font-size: max(8px, 1.8cqw);
  font-weight: 500;
  letter-spacing: .1em;
  text-transform: uppercase;
  opacity: .75;
  margin-bottom: .5cqw;
}
.pc-valid strong {
  display: block;
  font-size: 14px;
  font-size: max(14px, 3.9cqw);
  font-weight: 700;
  letter-spacing: .02em;
  text-transform: uppercase;
}

/* ---------- badge ---------- */
.pc-badge {
  right: 5%; bottom: 7%;
  padding: 1.7cqw 3.4cqw;
  border-radius: 1cqw;
  font-size: 8px;
  font-size: max(8px, 1.9cqw);
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  white-space: nowrap;
}

/* ==================== NAVY (sab blue) ==================== */
.pc-card--navy {
  color: #fff;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.10) 46%, rgba(255,255,255,0) 60%),
    repeating-radial-gradient(circle at 78% 20%, rgba(255,255,255,.045) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #0a2a5e 0%, #123b80 48%, #0a2455 100%);
  border: 1px solid rgba(255,255,255,.18);
  box-shadow: 0 18px 34px -16px rgba(5, 30, 70, .65), inset 0 0 0 1px rgba(0,0,0,.25);
}
.pc-card--navy:hover { box-shadow: 0 24px 40px -16px rgba(5, 30, 70, .75), inset 0 0 0 1px rgba(0,0,0,.25); }
.pc-card--navy .pc-wave  { color: rgba(232, 190, 90, .75); }
.pc-card--navy .pc-title { color: #fff; }
.pc-card--navy .pc-perks { color: rgba(255,255,255,.88); }
.pc-card--navy .pc-valid { color: #fff; }
.pc-card--navy .pc-badge { background: #fff; color: #0a2455; }

/* ==================== PEARL (sab white) ==================== */
.pc-card--pearl {
  color: #0c2350;
  background:
    linear-gradient(115deg, rgba(255,255,255,0) 30%, rgba(255,255,255,.9) 46%, rgba(255,255,255,0) 60%),
    repeating-radial-gradient(circle at 78% 20%, rgba(15,37,72,.035) 0 1px, transparent 1px 7px),
    linear-gradient(135deg, #ffffff 0%, #eef2f8 55%, #e7edf5 100%);
  border: 1.5px solid #e6d29a;
  box-shadow: 0 16px 30px -18px rgba(20, 50, 90, .45);
}
.pc-card--pearl:hover { box-shadow: 0 22px 36px -18px rgba(20, 50, 90, .55); }
.pc-card--pearl .pc-wave  { color: rgba(185, 138, 0, .7); }
.pc-card--pearl .pc-title { color: #0c2350; }
.pc-card--pearl .pc-perks { color: #5b6f86; }
.pc-card--pearl .pc-perks b { color: #c28f1a; }
.pc-card--pearl .pc-valid { color: #0c2350; }
.pc-card--pearl .pc-badge { background: #0c2350; color: #fff; }

@media (prefers-reduced-motion: reduce) {
  .pc-card { transition: none; }
  .pc-card:hover { transform: none; }
}