/* AahaMath Theme */
:root{--aaha-primary:#1e40af;--aaha-accent:#f59e0b;--aaha-dark:#0f172a;}
body{font-family:'Poppins','Segoe UI',sans-serif;color:#1f2937;background:#fff}
a{color:var(--aaha-primary);text-decoration:none}a:hover{text-decoration:underline}
.btn-primary{background:var(--aaha-primary);border-color:var(--aaha-primary)}
.btn-primary:hover{background:#1e3a8a;border-color:#1e3a8a}
.text-primary{color:var(--aaha-primary)!important}
.aaha-header{background:#fff;box-shadow:0 2px 12px rgba(0,0,0,.05);position:sticky;top:0;z-index:100}
.aaha-nav a{margin:0 12px;font-weight:500;color:#374151}
.aaha-nav a:hover{color:var(--aaha-primary)}
.aaha-avatar{width:36px;height:36px;border-radius:50%;object-fit:cover}
.aaha-hero .hero-slide{min-height:500px;background-size:cover;background-position:center;display:flex;align-items:center;position:relative}
.aaha-hero .hero-slide::before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(15,23,42,.7),rgba(15,23,42,.3))}
.hero-content{position:relative;color:#fff;max-width:640px}
.hero-content h1{font-size:2.75rem;font-weight:700}
.feat-card{padding:20px;background:#fff;border-radius:12px;box-shadow:0 2px 10px rgba(0,0,0,.04)}
.course-card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 4px 16px rgba(0,0,0,.06);transition:.2s}
.course-card:hover{transform:translateY(-4px);box-shadow:0 8px 24px rgba(0,0,0,.1)}
.course-img{width:100%;height:200px;object-fit:cover}
.aaha-cta{background:linear-gradient(135deg,var(--aaha-primary),#3b82f6)}
.aaha-footer{background:var(--aaha-dark);color:#cbd5e1}
.aaha-footer a{color:#cbd5e1}.aaha-footer h6{color:#fff}
.course-hero{background-size:cover;background-position:center;background-color:#0f172a;position:relative}
.course-hero::before{content:"";position:absolute;inset:0;background:rgba(15,23,42,.75)}
.course-hero .container{position:relative}
.video-wrap{position:relative;padding-top:56.25%;background:#000;border-radius:10px;overflow:hidden}
.video-wrap video,.video-wrap iframe{position:absolute;inset:0;width:100%;height:100%}
.aaha-watermark{position:absolute;top:10px;right:14px;color:rgba(255,255,255,.55);font-size:12px;pointer-events:none;text-shadow:0 1px 2px rgba(0,0,0,.6);z-index:5}
.pdf-wm{color:rgba(30,64,175,.35);top:auto;bottom:16px;right:20px}
.img-wm{color:rgba(255,255,255,.7);bottom:6px;right:8px;top:auto;font-size:11px}
.aaha-protected,.img-protect img{user-select:none;-webkit-user-select:none}
.ex-card:hover{background:#f8fafc}
@media(max-width:768px){.hero-content h1{font-size:1.8rem}.aaha-hero .hero-slide{min-height:360px}}


   /* ================= FAQ ================= */
.faq-wrap{max-width:760px;}
.faq-item{
  border-bottom:1.5px solid var(--line);padding:22px 0;
}
.faq-q{
  display:flex;justify-content:space-between;align-items:center;cursor:pointer;gap:20px;
}
.faq-q h4{font-size:16.5px;font-weight:700;}
.faq-q .plus{
  width:32px;height:32px;border-radius:9px;background:var(--paper-dim);flex-shrink:0;
  display:flex;align-items:center;justify-content:center;transition:transform .3s ease, background .3s ease;
}
.faq-item.active .faq-q .plus{transform:rotate(45deg);background:var(--marigold);color:#fff;}
.faq-a{
  max-height:0;overflow:hidden;transition:max-height .35s ease;
}
.faq-item.active .faq-a{max-height:220px;}
.faq-a p{padding-top:14px;font-size:14.5px;color:var(--slate);max-width:620px;}
