/* ═══════════════════════════════════════════════════════════════════
   course-new-sections.css
   New sections: Key Benefits · Fun & Interactive · Class Modes + Who Can Join
   Import this file alongside course-pricing.css
   ═══════════════════════════════════════════════════════════════════ */

/* ─── shared ─────────────────────────────────────────────────────── */
:root {
  --card-r: 18px;   /* only this — rest already defined in course-pricing.css */
}

/* ══════════════════════════════════════════════════════════════════
   SECTION A — KEY BENEFITS
══════════════════════════════════════════════════════════════════ */
.cb-benefits {
  position: relative;
  padding: 96px 0 80px;
  background: linear-gradient(160deg, #f0fff4 0%, #e8f5e9 50%, #f9fbe7 100%);
  overflow: hidden;
}

/* decorative blobs */
.cbb-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: .35;
  pointer-events: none;
}
.cbb-blob-1 {
  width: 420px; height: 420px;
  background: #a8edab;
  top: -100px; left: -120px;
}
.cbb-blob-2 {
  width: 320px; height: 320px;
  background: #ffe8a3;
  bottom: -80px; right: -80px;
}

/* grid — 4 cols on desktop, 2 on tablet, 1 on mobile */
.cbb-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 52px;
}
@media (max-width: 1000px) { .cbb-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 680px)  { .cbb-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 400px)  { .cbb-grid { grid-template-columns: 1fr; } }

/* each benefit card */
.cbb-card {
  background: #fff;
  border-radius: var(--card-r);
  padding: 32px 20px 28px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(56,176,0,.10);
  border: 1.5px solid rgba(56,176,0,.12);
  transition: transform .28s ease, box-shadow .28s ease;
  cursor: default;
}
.cbb-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: 0 12px 36px rgba(56,176,0,.18);
}

/* icon circle */
.cbb-icon-wrap {
  position: relative;
  width: 72px; height: 72px;
  margin: 0 auto 18px;
}
.cbb-icon {
  position: relative;
  z-index: 1;
  font-size: 36px;
  line-height: 72px;
  display: block;
}
.cbb-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, #d4f5d4 0%, #fff9c4 100%);
  z-index: 0;
  transition: transform .3s ease;
}
.cbb-card:hover .cbb-icon-ring {
  transform: scale(1.15) rotate(15deg);
}

.cbb-title {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a3a1a;
  margin: 0;
  line-height: 1.45;
}

/* delay helpers (reuse existing reveal system) */
.cbb-card.d1 { transition-delay: .05s; }
.cbb-card.d2 { transition-delay: .10s; }
.cbb-card.d3 { transition-delay: .15s; }
.cbb-card.d4 { transition-delay: .20s; }
.cbb-card.d5 { transition-delay: .25s; }
.cbb-card.d6 { transition-delay: .30s; }


/* ══════════════════════════════════════════════════════════════════
   SECTION B — FUN & INTERACTIVE ACTIVITIES
══════════════════════════════════════════════════════════════════ */
.ca-activities {
  position: relative;
  padding: 80px 0 96px;
  background: #fff;
  overflow: hidden;
}

/* wavy top / bottom dividers */
.caa-wave-top,
.caa-wave-bottom {
  position: absolute;
  left: 0; right: 0;
  height: 60px;
  background: linear-gradient(160deg, #f0fff4, #e8f5e9);
  clip-path: ellipse(55% 100% at 50% 0%);
}
.caa-wave-top    { top: 0; }
.caa-wave-bottom {
  bottom: 0;
  clip-path: ellipse(55% 100% at 50% 100%);
  background: linear-gradient(160deg, #fef9f0, #fff3e0);
}

/* activity strip — horizontal scroll on mobile */
.caa-strip {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 20px;
  margin-top: 52px;
}
@media (max-width: 1100px) { .caa-strip { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px)  { .caa-strip { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 380px)  { .caa-strip { grid-template-columns: 1fr; } }

/* each activity card */
.caa-card {
  background: #fff;
  border-radius: var(--card-r);
  padding: 0 0 22px;
  text-align: center;
  border: 1.5px solid #e8f5e9;
  overflow: hidden;
  transition: transform .28s ease, box-shadow .28s ease;
  box-shadow: 0 3px 14px rgba(0,0,0,.06);
}
.caa-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 14px 40px rgba(56,176,0,.14);
}

/* coloured top area per card — cycling palette */
.caa-card:nth-child(1) .caa-img-wrap { background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%); }
.caa-card:nth-child(2) .caa-img-wrap { background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%); }
.caa-card:nth-child(3) .caa-img-wrap { background: linear-gradient(135deg, #fddb92 0%, #d1fdff 100%); }
.caa-card:nth-child(4) .caa-img-wrap { background: linear-gradient(135deg, #a18cd1 0%, #fbc2eb 100%); }
.caa-card:nth-child(5) .caa-img-wrap { background: linear-gradient(135deg, #84fab0 0%, #8fd3f4 100%); }

.caa-img-wrap {
  height: 110px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}
.caa-emoji-scene {
  font-size: 52px;
  filter: drop-shadow(0 4px 6px rgba(0,0,0,.15));
  transition: transform .3s ease;
}
.caa-card:hover .caa-emoji-scene {
  transform: scale(1.18) rotate(-4deg);
}

.caa-body { padding: 0 14px; }

.caa-title {
  font-family: 'Nunito', sans-serif;
  font-size: 14px;
  font-weight: 800;
  color: var(--dark);
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.caa-desc {
  font-family: 'Nunito', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: #4a6a4a;
  margin: 0;
  line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════════════
   SECTION C — CLASS MODES + WHO CAN JOIN
══════════════════════════════════════════════════════════════════ */
.cm-section {
  padding: 80px 0 80px;
  background: linear-gradient(160deg, #fef9f0 0%, #fff3e0 100%);
}

.cm-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 0; /* section already has padding-top */
}
@media (max-width: 700px) {
  .cm-row { grid-template-columns: 1fr; }
}

/* shared card shell */
.cm-box {
  background: #fff;
  border-radius: var(--card-r);
  padding: 32px 30px 28px;
  box-shadow: 0 4px 24px rgba(0,0,0,.07);
  border: 1.5px solid #f0ebe0;
}

/* header */
.cm-box-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 22px;
  padding-bottom: 16px;
  border-bottom: 2px dashed #e8e0d0;
}
.cm-box-icon {
  font-size: 28px;
}
.cm-box-header h3 {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  font-size: 20px;
  font-weight: 800;
  color: var(--dark);
  margin: 0;
}

/* ── Class Modes list ─────────────────────────────────────────── */
.cm-modes-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cm-mode-item {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fffe;
  border-radius: 12px;
  padding: 12px 16px;
  border: 1.5px solid #e0f5f0;
  transition: background .2s, transform .2s;
}
.cm-mode-item:hover {
  background: #e6fff7;
  transform: translateX(4px);
}
.cm-mode-dot {
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--green);
  flex-shrink: 0;
  box-shadow: 0 0 0 3px rgba(56,176,0,.2);
}
.cm-mode-icon {
  font-size: 22px;
}
.cm-mode-label {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a3a1a;
}

/* ── Who Can Join list ────────────────────────────────────────── */
.cm-who { background: linear-gradient(145deg, #fff 60%, #fff8ee 100%); }

.cm-who-list {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cm-who-list li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 12px 16px;
  background: #fffbf0;
  border-radius: 12px;
  border: 1.5px solid #fcedc4;
  transition: background .2s, transform .2s;
}
.cm-who-list li:hover {
  background: #fff3cc;
  transform: translateX(4px);
}
.cm-check {
  width: 26px; height: 26px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 1px;
}
.cm-who-list li span:last-child {
  font-family: 'Nunito', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #1a3a1a;
  line-height: 1.5;
}


/* ══════════════════════════════════════════════════════════════════
   REVEAL animation (shared with rest of site — only add if not already
   defined in style.css; otherwise remove this block)
══════════════════════════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity .55s ease, transform .55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: none;
}
.reveal.d1 { transition-delay: .06s; }
.reveal.d2 { transition-delay: .12s; }
.reveal.d3 { transition-delay: .18s; }
.reveal.d4 { transition-delay: .24s; }
.reveal.d5 { transition-delay: .30s; }
.reveal.d6 { transition-delay: .36s; }