/* =====================================================================
   LESSON COLLECTION — premium, modern EdTech/SaaS-style template.
   Gradients, soft glassmorphism, modern cards, smooth micro-
   interactions — built on the site's own green/gold/navy palette so
   it stays on-brand while feeling like a premium learning platform.
   ===================================================================== */

.mt-lc-page{
  --lc-green:   #0E9A6E;
  --lc-green-2: #16C79A;
  --lc-gold:    #C8902A;
  --lc-navy:    #16283A;
  --lc-ink:     #1E2B23;
  --lc-ink-soft:#5B6B62;
  --lc-cream:   #F6FBF8;
  --lc-line:    #E3EFE8;
  font-family:'Nunito',sans-serif;
  color:var(--lc-ink);
  background:#fff;
  overflow-x:hidden;
}
.mt-lc-page h1,.mt-lc-page h2,.mt-lc-page h3{
  font-family:'Poppins',sans-serif; font-weight:800; margin:0;
}
.mt-lc-wrap{ max-width:1120px; margin:0 auto; padding:0 24px; }
.mt-lc-wrap-narrow{ max-width:780px; }

/* ---------------- FADE-IN (paired with lesson-collection.js) ---------------- */
.mt-lc-fade{ opacity:0; transform:translateY(18px); transition:opacity .6s ease, transform .6s ease; }
.mt-lc-fade.mt-lc-in{ opacity:1; transform:translateY(0); }
@media (prefers-reduced-motion:reduce){
  .mt-lc-fade{ opacity:1; transform:none; transition:none; }
}

/* ---------------- HERO ---------------- */
.mt-lc-hero{
  position:relative; overflow:hidden;
  background:linear-gradient(150deg,var(--lc-navy) 0%,#1D3A2E 55%,#123B2C 100%);
  padding:90px 0 76px; text-align:center;
}
.mt-lc-hero-glow{ position:absolute; border-radius:50%; filter:blur(6px); opacity:.55; pointer-events:none; }
.mt-lc-hero-glow-1{ width:380px; height:380px; background:radial-gradient(circle,var(--lc-green-2),transparent 70%); top:-140px; right:-80px; }
.mt-lc-hero-glow-2{ width:300px; height:300px; background:radial-gradient(circle,var(--lc-gold),transparent 70%); bottom:-120px; left:-60px; }

.mt-lc-hero-inner{ position:relative; z-index:1; max-width:760px; margin:0 auto; }
.mt-lc-badge{
  display:inline-block; font-weight:800; font-size:.76rem; letter-spacing:1.6px; text-transform:uppercase;
  color:#CFF7E6; background:rgba(255,255,255,.1); border:1px solid rgba(255,255,255,.18);
  padding:8px 18px; border-radius:999px; margin-bottom:20px;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}
.mt-lc-hero h1{
  color:#fff; font-size:clamp(2.1rem,4.6vw,3.2rem); line-height:1.15; margin-bottom:18px;
}
.mt-lc-hero-sub{
  color:#C9DBD1; font-size:1.08rem; font-weight:600; line-height:1.6;
  max-width:58ch; margin:0 auto 30px;
}
.mt-lc-stats{ display:flex; justify-content:center; gap:14px; flex-wrap:wrap; }
.mt-lc-stat{
  font-weight:800; font-size:.88rem; color:#fff;
  background:rgba(255,255,255,.08); border:1px solid rgba(255,255,255,.18);
  padding:10px 20px; border-radius:999px;
  backdrop-filter:blur(6px); -webkit-backdrop-filter:blur(6px);
}

/* ---------------- QUICK NAV ---------------- */
.mt-lc-quicknav{
  background:#fff; border-bottom:1px solid var(--lc-line);
  position:sticky; top:0; z-index:20;
  box-shadow:0 4px 16px rgba(20,40,30,.05);
}
.mt-lc-quicknav-row{
  display:flex; gap:8px; overflow-x:auto; padding:14px 24px;
  -ms-overflow-style:none; scrollbar-width:none;
}
.mt-lc-quicknav-row::-webkit-scrollbar{ display:none; }
.mt-lc-quicknav-row a{
  flex-shrink:0; font-weight:800; font-size:.86rem; color:var(--lc-navy);
  background:var(--lc-cream); padding:9px 18px; border-radius:999px;
  text-decoration:none !important; transition:background .16s ease, color .16s ease;
}
.mt-lc-quicknav-row a:hover{ background:var(--lc-green); color:#fff !important; }

/* ---------------- SECTIONS ---------------- */
.mt-lc-section{ padding:64px 0; }
.mt-lc-section-alt{ background:var(--lc-cream); }
.mt-lc-section-title{
  font-size:clamp(1.6rem,3vw,2.1rem); text-align:center; margin-bottom:40px;
  color:var(--lc-navy);
}

/* ---------------- LESSON CARDS ---------------- */
.mt-lc-card-grid{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(240px,1fr)); gap:20px;
}
.mt-lc-card{
  display:block; background:#fff; border:1px solid var(--lc-line); border-radius:20px;
  padding:26px 24px; text-decoration:none !important; color:inherit !important;
  box-shadow:0 6px 18px rgba(20,40,30,.06);
  transition:transform .22s ease, box-shadow .22s ease, border-color .22s ease;
  will-change:transform;
}
.mt-lc-card:hover{
  transform:translateY(-6px); border-color:var(--lc-green-2);
  box-shadow:0 18px 36px rgba(14,154,110,.16);
}
.mt-lc-card-icon{
  display:flex; align-items:center; justify-content:center;
  width:52px; height:52px; border-radius:16px; font-size:1.5rem;
  background:linear-gradient(135deg,var(--lc-green-2)22,var(--lc-gold)22);
  margin-bottom:16px;
}
.mt-lc-card h3{ font-size:1.05rem; color:var(--lc-navy); margin-bottom:8px; }
.mt-lc-card p{ font-size:.88rem; color:var(--lc-ink-soft); font-weight:600; margin:0 0 16px; line-height:1.5; }
.mt-lc-card-cta{
  display:inline-flex; align-items:center; gap:6px; font-weight:800; font-size:.86rem;
  color:var(--lc-green);
}
.mt-lc-card-cta span{ transition:transform .18s ease; }
.mt-lc-card:hover .mt-lc-card-cta span{ transform:translateX(4px); }

/* ---------------- WHY STUDY THIS ---------------- */
.mt-lc-why-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:22px; }
.mt-lc-why-card{ text-align:center; padding:10px; }
.mt-lc-why-icon{
  display:flex; align-items:center; justify-content:center; margin:0 auto 16px;
  width:64px; height:64px; border-radius:50%; font-size:1.8rem;
  background:#fff; box-shadow:0 8px 20px rgba(20,40,30,.08);
}
.mt-lc-why-card h3{ font-size:1.02rem; color:var(--lc-navy); margin-bottom:8px; }
.mt-lc-why-card p{ font-size:.88rem; color:var(--lc-ink-soft); font-weight:600; line-height:1.55; margin:0; }

/* ---------------- STUDY TIPS ---------------- */
.mt-lc-tips-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(260px,1fr)); gap:18px; }
.mt-lc-tip{
  display:flex; gap:16px; align-items:flex-start;
  background:#fff; border:1px solid var(--lc-line); border-radius:16px; padding:20px;
}
.mt-lc-tip-num{
  flex-shrink:0; width:32px; height:32px; border-radius:50%;
  background:linear-gradient(135deg,var(--lc-green),var(--lc-green-2)); color:#fff;
  font-weight:800; font-size:.86rem; display:flex; align-items:center; justify-content:center;
}
.mt-lc-tip p{ margin:0; font-weight:600; font-size:.92rem; color:var(--lc-ink); line-height:1.55; }

/* ---------------- FAQ ---------------- */
.mt-lc-faq-list{ display:flex; flex-direction:column; gap:12px; }
.mt-lc-faq-item{
  background:#fff; border:1px solid var(--lc-line); border-radius:16px; overflow:hidden;
}
.mt-lc-faq-q{
  width:100%; display:flex; align-items:center; justify-content:space-between; gap:16px;
  background:none; border:0; cursor:pointer; text-align:left;
  padding:18px 22px; font-family:'Nunito',sans-serif; font-weight:800; font-size:.98rem;
  color:var(--lc-navy);
}
.mt-lc-faq-plus{
  flex-shrink:0; font-size:1.3rem; color:var(--lc-green); font-weight:400;
  transition:transform .25s ease;
}
.mt-lc-faq-item.mt-lc-open .mt-lc-faq-plus{ transform:rotate(45deg); }
.mt-lc-faq-a{
  max-height:0; overflow:hidden; transition:max-height .3s ease, padding .3s ease;
  padding:0 22px;
}
.mt-lc-faq-item.mt-lc-open .mt-lc-faq-a{ max-height:400px; padding:0 22px 20px; }
.mt-lc-faq-a p{ margin:0; color:var(--lc-ink-soft); font-weight:600; font-size:.92rem; line-height:1.6; }

/* ---------------- CTA ---------------- */
.mt-lc-cta{
  background:linear-gradient(135deg,var(--lc-green) 0%,var(--lc-green-2) 100%);
  padding:64px 0; text-align:center;
}
.mt-lc-cta h2{ color:#fff; font-size:clamp(1.6rem,3vw,2.1rem); margin-bottom:12px; }
.mt-lc-cta p{ color:#EAFBF3; font-weight:600; font-size:1.02rem; max-width:52ch; margin:0 auto 26px; }
.mt-lc-cta-btn{
  display:inline-block; background:#fff; color:var(--lc-green-deep,#0A7A56) !important;
  font-weight:800; padding:15px 32px; border-radius:999px; text-decoration:none !important;
  box-shadow:0 12px 28px rgba(0,0,0,.18);
  transition:transform .18s ease, box-shadow .18s ease;
}
.mt-lc-cta-btn:hover{ transform:translateY(-3px); box-shadow:0 16px 34px rgba(0,0,0,.24); }

/* ---------------- RESPONSIVE ---------------- */
@media (max-width:640px){
  .mt-lc-hero{ padding:64px 0 50px; }
  .mt-lc-section{ padding:48px 0; }
  .mt-lc-card-grid{ grid-template-columns:1fr 1fr; gap:14px; }
  .mt-lc-card{ padding:20px 16px; }
}
@media (max-width:420px){
  .mt-lc-card-grid{ grid-template-columns:1fr; }
}
