 :root{
      --bg: #f6f7fb;
      --card: #ffffff;
      --text: #0f172a;
      --muted: #64748b;
      --border: rgba(15, 23, 42, .08);
      --shadow: 0 18px 50px rgba(2, 6, 23, .10);
      --shadow2: 0 10px 25px rgba(2, 6, 23, .08);

      --primary: #14b8a6;
      --primary2:#22c55e;
      --dark: #0b1220;
      --accent:#f59e0b;

      --radius: 18px;
      --radius2: 14px;
      --max: 1200px;
    }

    *{ box-sizing: border-box; }
    html,body{ height:100%; }
    body{
      margin:0;
      font-family: "Hind Siliguri", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
      background: radial-gradient(1200px 600px at 80% -10%, rgba(20,184,166,.20), transparent 60%),
                  radial-gradient(900px 500px at 10% 0%, rgba(34,197,94,.15), transparent 55%),
                  var(--bg);
      color:var(--text);
      line-height: 1.55;
    }
    a{ color: inherit; text-decoration:none; }
    img{ max-width:100%; display:block; }

    .container{ width:min(var(--max), 92%); margin:0 auto; }

    /* Header / Nav */
    .header{
      position: sticky;
      top:0;
      z-index:50;
      backdrop-filter: blur(10px);
      background: rgba(246,247,251,.72);
      border-bottom: 1px solid var(--border);
    }
    .nav{
      display:flex;
      align-items:center;
      justify-content:space-between;
      padding: 14px 0;
      gap: 12px;
    }
    .brand{
      display:flex; align-items:center; gap:10px;
      font-weight:800;
      letter-spacing:.2px;
    }
    .logo{
      width:38px;height:38px;border-radius:12px;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      display:grid; place-items:center;
      color:#fff;
      box-shadow: 0 10px 20px rgba(20,184,166,.25);
      font-weight:900;
    }
    .menu{
      display:flex; gap:18px; align-items:center;
      color: var(--muted);
      font-weight:600;
    }
    .menu a{
      padding:8px 10px;
      border-radius: 12px;
    }
    .menu a:hover{ background: rgba(15,23,42,.04); color: var(--text); }
    .nav-actions{ display:flex; align-items:center; gap:10px; }
    .btn{
      border: 1px solid var(--border);
      background: #fff;
      padding: 10px 14px;
      border-radius: 14px;
      font-weight: 700;
      cursor:pointer;
      display:inline-flex; align-items:center; gap:8px;
      box-shadow: 0 6px 16px rgba(2,6,23,.06);
    }
    .btn:hover{ transform: translateY(-1px); transition:.18s ease; }
    .btn.primary{
      border: none;
      color:#fff;
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      box-shadow: 0 16px 32px rgba(20,184,166,.25);
    }
    .btn.ghost{
      background: transparent;
      box-shadow: none;
    }

    /* Hero */
    .hero{
      padding: 34px 0 18px;
    }
    .hero-wrap{
      display:grid;
      grid-template-columns: 2.15fr 2.5fr;
      gap: 18px;
      align-items: stretch;
    }
    .hero-card{
      border-radius: 24px;
      overflow:hidden;
      box-shadow: var(--shadow);
      border: 1px solid var(--border);
      background:
        radial-gradient(900px 400px at 20% 10%, rgba(20,184,166,.18), transparent 60%),
        linear-gradient(135deg, #0b1220, #0f172a 55%, #0b1220);
      color: #fff;
      position: relative;
      min-height: 360px;
      display:grid;
      grid-template-columns: 1fr 1fr;
    }
    .hero-left{
      padding: 36px 34px;
      display:flex;
      flex-direction:column;
      justify-content:center;
      gap: 14px;
    }
    .pill{
      display:inline-flex; align-items:center; gap:10px;
      padding: 8px 12px;
      border-radius: 999px;
      background: rgba(255,255,255,.08);
      border: 1px solid rgba(255,255,255,.16);
      color: rgba(255,255,255,.85);
      width: fit-content;
      font-weight: 700;
      font-size: 14px;
    }
    .hero h1{
      margin:0;
      font-size: clamp(28px, 3.2vw, 44px);
      line-height: 1.15;
      letter-spacing: .2px;
    }
    .hero p{
      margin:0;
      color: rgba(255,255,255,.75);
      max-width: 52ch;
      font-size: 16px;
    }
    .hero-actions{ display:flex; gap:12px; flex-wrap:wrap; margin-top: 6px; }
    .tiny{
      margin-top: 8px;
      color: rgba(255,255,255,.65);
      font-size: 14px;
      display:flex; gap:14px; flex-wrap:wrap;
    }
    .tiny span{
      display:inline-flex; align-items:center; gap:8px;
      background: rgba(255,255,255,.06);
      border: 1px solid rgba(255,255,255,.12);
      padding: 6px 10px;
      border-radius: 999px;
    }

    .hero-right{
      position: relative;
      display:flex;
      align-items:flex-end;
      justify-content:center;
      padding: 0 18px 18px;
    }
    .hero-img{
      width: 100%;
      height: 100%;
      min-height: 360px;
      object-fit: cover;
      opacity:.92;
      filter: contrast(1.02) saturate(1.05);
    }
    .hero-img-wrap{
      position:absolute;
      inset:0;
      background: url("https://images.unsplash.com/photo-1522202176988-66273c2fd55f?q=80&w=1600&auto=format&fit=crop") center/cover no-repeat;
      clip-path: polygon(12% 0, 100% 0, 100% 100%, 0 100%);
      opacity: .95;
    }
    .hero-glass{
      position: relative;
      width: 92%;
      max-width: 360px;
      margin-left: auto;
      background: rgba(255,255,255,.10);
      border: 1px solid rgba(255,255,255,.18);
      border-radius: 18px;
      padding: 14px;
      backdrop-filter: blur(10px);
      box-shadow: 0 18px 50px rgba(0,0,0,.25);
    }
    .hero-glass h4{
      margin:0 0 6px;
      font-size: 16px;
      letter-spacing:.2px;
    }
    .hero-glass p{
      margin:0;
      color: rgba(255,255,255,.75);
      font-size: 14px;
    }
    .bar{
      height: 10px;
      width: 100%;
      border-radius: 999px;
      background: rgba(255,255,255,.12);
      margin-top: 10px;
      overflow:hidden;
      border: 1px solid rgba(255,255,255,.16);
    }
    .bar > span{
      display:block;
      height: 100%;
      width: 72%;
      background: linear-gradient(90deg, var(--primary), var(--primary2));
      border-radius: 999px;
    }
    

    /* Right column cards */
    .side{
      display:flex;
      flex-direction:column;
      gap: 14px;
    }
    .side-card{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 22px;
      box-shadow: var(--shadow2);
      padding: 18px;
    }
    .side-top{
      display:flex;
      justify-content:space-between;
      align-items:flex-start;
      gap: 12px;
    }
    .side-title{
      font-weight: 800;
      font-size: 18px;
      margin:0;
    }
    .tabs{
      display:flex; flex-wrap:wrap; gap:8px;
      margin-top: 10px;
    }
    .chip{
      font-weight:700;
      font-size: 13px;
      padding: 8px 10px;
      border-radius: 999px;
      border: 1px solid var(--border);
      color: var(--muted);
      background: rgba(15,23,42,.02);
    }
    .chip.active{
      background: rgba(20,184,166,.10);
      border-color: rgba(20,184,166,.25);
      color: #0b3a35;
    }

    .course-mini{
      display:grid;
      grid-template-columns: 80px 1fr;
      gap: 12px;
      margin-top: 14px;
      padding: 12px;
      border-radius: 18px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, #fff, #fbfcff);
    }
    .thumb{
      width: 80px; height: 66px;
      border-radius: 14px;
      background: #e2e8f0;
      overflow:hidden;
    }
    .thumb img{ width:100%; height:100%; object-fit:cover; }
    .meta{
      display:flex; flex-direction:column; gap:4px;
      min-width:0;
    }
    .meta b{ font-size: 15px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }
    .meta span{ font-size: 13px; color: var(--muted); }
    .row{
      display:flex; gap: 10px; flex-wrap:wrap;
      margin-top: 8px;
    }
    .tag{
      font-size: 12px;
      padding: 6px 10px;
      border-radius: 999px;
      border: 1px solid var(--border);
      background: rgba(15,23,42,.02);
      color: var(--muted);
      font-weight: 700;
    }

    /* Stats strip */
    .stats{
      margin-top: 14px;
      border-radius: 22px;
      background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(34,197,94,.12));
      border: 1px solid rgba(20,184,166,.18);
      padding: 16px;
      display:grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 10px;
    }
    .stat{
      background: rgba(255,255,255,.75);
      border: 1px solid rgba(15,23,42,.06);
      border-radius: 18px;
      padding: 14px;
      text-align:center;
      box-shadow: 0 8px 16px rgba(2,6,23,.06);
    }
    .stat b{ display:block; font-size: 18px; }
    .stat small{ color: var(--muted); font-weight: 700; }

    /* Sections */
    section{ padding: 34px 0; }
    .section-head{
      display:flex;
      justify-content:space-between;
      align-items:flex-end;
      gap: 12px;
      margin-bottom: 16px;
    }
    .section-head h2{
      margin:0;
      font-size: clamp(22px, 2.2vw, 32px);
      line-height: 1.2;
    }
    .section-head p{
      margin:0;
      color: var(--muted);
      max-width: 60ch;
      font-weight: 600;
    }

    /* Categories */
    .grid-6{
      display:grid;
      grid-template-columns: repeat(6, 1fr);
      gap: 12px;
    }
    .cat{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 14px;
      box-shadow: 0 10px 25px rgba(2,6,23,.06);
      min-height: 92px;
      display:flex;
      flex-direction:column;
      justify-content:space-between;
      gap: 8px;
    }
    .icon{
      width: 38px; height: 38px;
      border-radius: 14px;
      background: linear-gradient(135deg, rgba(20,184,166,.18), rgba(34,197,94,.16));
      border: 1px solid rgba(20,184,166,.22);
      display:grid; place-items:center;
      font-weight: 900;
      color:#0b3a35;
    }
    .cat b{ font-size: 15px; }
    .cat small{ color: var(--muted); font-weight: 700; }

    /* Cards grid */
    .grid-3{
      display:grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 14px;
    }
    .card{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 22px;
      overflow:hidden;
      box-shadow: var(--shadow2);
      display:flex;
      flex-direction:column;
    }
    .card-media{
      height: 170px;
      background: #e2e8f0;
      position: relative;
      overflow:hidden;
    }
    .card-media img{ width:100%; height:100%; object-fit:cover; }
    .badge{
      position:absolute;
      top: 12px; left: 12px;
      background: rgba(255,255,255,.92);
      border: 1px solid rgba(15,23,42,.10);
      padding: 6px 10px;
      border-radius: 999px;
      font-weight: 900;
      font-size: 12px;
    }
    .card-body{
      padding: 14px 14px 16px;
      display:flex;
      flex-direction:column;
      gap: 10px;
    }
    .card-title{
      margin:0;
      font-size: 17px;
      line-height: 1.25;
    }
    .card-sub{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap: 10px;
      color: var(--muted);
      font-weight: 700;
      font-size: 13px;
    }
    .rating{
      display:inline-flex; align-items:center; gap:6px;
      background: rgba(245,158,11,.12);
      border: 1px solid rgba(245,158,11,.25);
      color:#7a4a00;
      padding: 6px 10px;
      border-radius: 999px;
      font-weight: 900;
      width: fit-content;
    }
    .card-actions{
      display:flex;
      justify-content:space-between;
      align-items:center;
      gap: 10px;
      margin-top: 4px;
    }
    .price{
      font-weight: 1000;
      font-size: 18px;
    }
    .price del{
      color: var(--muted);
      font-weight: 700;
      margin-left: 6px;
      font-size: 14px;
    }

    /* Why choose */
    .why{
      display:grid;
      grid-template-columns: 1.05fr .95fr;
      gap: 14px;
      align-items: stretch;
    }
    .why-left{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 18px;
      box-shadow: var(--shadow2);
      position: relative;
      overflow:hidden;
    }
    .why-left:before{
      content:"";
      position:absolute;
      inset:-120px -120px auto auto;
      width: 260px; height: 260px;
      background: radial-gradient(circle, rgba(20,184,166,.30), transparent 65%);
      transform: rotate(12deg);
    }
    .why-list{
      margin-top: 12px;
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 12px;
    }
    .why-item{
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 14px;
      background: linear-gradient(180deg, #fff, #fbfcff);
      min-height: 100px;
    }
    .why-item b{ display:block; margin-top: 8px; }
    .why-item p{ margin:6px 0 0; color: var(--muted); font-weight: 600; font-size: 13px; }

    .why-right{
      background: linear-gradient(135deg, rgba(20,184,166,.14), rgba(34,197,94,.12));
      border: 1px solid rgba(20,184,166,.18);
      border-radius: 24px;
      padding: 18px;
      box-shadow: var(--shadow2);
      display:flex;
      flex-direction:column;
      gap: 12px;
    }
    .event{
      display:grid;
      grid-template-columns: 70px 1fr auto;
      gap: 12px;
      align-items:center;
      background: rgba(255,255,255,.78);
      border: 1px solid rgba(15,23,42,.06);
      border-radius: 18px;
      padding: 12px;
    }
    .datebox{
      width: 70px;
      border-radius: 16px;
      background: #fff;
      border: 1px solid rgba(15,23,42,.08);
      padding: 10px;
      text-align:center;
      box-shadow: 0 8px 16px rgba(2,6,23,.06);
      font-weight: 900;
    }
    .datebox small{ display:block; color: var(--muted); font-weight: 900; margin-top: -2px; }
    .event b{ display:block; }
    .event span{ color: var(--muted); font-weight: 700; font-size: 13px; }

    /* Instructors */
    .instructor{
      display:flex;
      gap: 12px;
      align-items:center;
      padding: 14px;
      border-radius: 22px;
      border: 1px solid var(--border);
      background: linear-gradient(180deg, #fff, #fbfcff);
      box-shadow: 0 10px 25px rgba(2,6,23,.06);
    }
    .avatar{
      width: 56px; height: 56px;
      border-radius: 18px;
      background:#e2e8f0;
      overflow:hidden;
      border: 1px solid rgba(15,23,42,.08);
    }
    .avatar img{ width:100%; height:100%; object-fit:cover; }
    .inst-meta b{ display:block; }
    .inst-meta small{ color: var(--muted); font-weight: 800; }

    /* Pricing */
    .pricing{
      display:grid;
      grid-template-columns: 1fr 1fr 1fr;
      gap: 14px;
    }
    .plan{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 24px;
      padding: 18px;
      box-shadow: var(--shadow2);
      position: relative;
      overflow:hidden;
      display:flex;
      flex-direction:column;
      gap: 12px;
    }
    .plan.featured{
      border-color: rgba(20,184,166,.35);
      background: linear-gradient(180deg, rgba(20,184,166,.10), #fff 40%);
      box-shadow: 0 22px 55px rgba(20,184,166,.18);
    }
    .plan .top{
      display:flex; justify-content:space-between; align-items:flex-start; gap:10px;
    }
    .plan h3{ margin:0; }
    .plan .money{
      font-size: 34px;
      font-weight: 1000;
      line-height: 1;
    }
    .plan .money small{ font-size: 14px; color: var(--muted); font-weight: 900; }
    .plan ul{
      margin: 0;
      padding-left: 18px;
      color: var(--muted);
      font-weight: 700;
    }
    .plan li{ margin: 8px 0; }
    .ribbon{
      position:absolute;
      top: 14px;
      right:-42px;
      transform: rotate(18deg);
      background: linear-gradient(135deg, var(--primary), var(--primary2));
      color:#fff;
      font-weight: 1000;
      padding: 8px 60px;
      border-radius: 999px;
      box-shadow: 0 18px 40px rgba(20,184,166,.30);
      font-size: 12px;
    }

    /* FAQ */
    .faq{
      display:grid;
      grid-template-columns: 1fr 1fr;
      gap: 14px;
    }
    details{
      background: var(--card);
      border: 1px solid var(--border);
      border-radius: 18px;
      padding: 14px;
      box-shadow: 0 10px 25px rgba(2,6,23,.06);
    }
    summary{
      cursor:pointer;
      font-weight: 900;
      list-style: none;
    }
    summary::-webkit-details-marker{ display:none; }
    details p{
      margin: 10px 0 0;
      color: var(--muted);
      font-weight: 650;
    }

    /* Footer */
    .footer{
      padding: 26px 0 36px;
      border-top: 1px solid var(--border);
      background: rgba(255,255,255,.45);
      backdrop-filter: blur(8px);
    }
    .foot{
      display:grid;
      grid-template-columns: 1.2fr .8fr .8fr .8fr;
      gap: 14px;
      align-items:start;
    }
    .foot h4{ margin:0 0 10px; }
    .foot a{ color: var(--muted); font-weight: 800; display:block; padding: 6px 0; }
    .foot a:hover{ color: var(--text); }

    /* Mobile */
    @media (max-width: 980px){
      .hero-wrap{ grid-template-columns: 1fr; }
      .hero-card{ grid-template-columns: 1fr; min-height: 420px; }
      .hero-right{ display:none; }
      .stats{ grid-template-columns: repeat(2,1fr); }
      .grid-6{ grid-template-columns: repeat(2,1fr); }
      .grid-3{ grid-template-columns: 1fr; }
      .why{ grid-template-columns: 1fr; }
      .pricing{ grid-template-columns: 1fr; }
      .faq{ grid-template-columns: 1fr; }
      .menu{ display:none; }
      .nav-actions{ display:none; }
      .foot{ grid-template-columns: 1fr 1fr; }
    }

  
/* Popup */
#loginPopup {
    display: none;
    position: fixed;
    top:0; left:0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.6);
    justify-content: center;
    align-items: center;
    z-index: 999;
}
#loginPopup .popup-content {
    background: #fff;
    padding: 25px;
    border-radius: 12px;
    width: 320px;
}
#loginPopup input {
    width: 90%;
    padding: 10px;
    margin: 10px 0;
    font-size: 16px;
}
#loginPopup button {
    width: 95%;
    padding: 6px;
    font-size: 10px;
    margin-top: 10px;
    cursor: pointer;
    border:none;
    border-radius: 6px;
    background:#0d6efd;
}
#loginPopup button:hover { background:#0b5ed7; }

.login-switch{
  display:flex;
  gap:10px;
  margin: 10px 0 12px;
}
.sw-btn{
  flex:1;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #e5e7eb;
  background:#fff;
  font-weight:800;
  cursor:pointer;
}
.sw-btn.active{
  background:#0d6efd;
  color:#fff;
  border-color:#0d6efd;
}
.hint{
  margin:10px 0 0;
  font-size:12px;
  color:#64748b;
  font-weight:700;
}
.popup-close{
  background:blue !important;
  margin-top:12px;
}
.popup-close:hover{
  background:#ddd !important;
}

 
  [x-cloak]{display:none!important;}

  .drawer-root{
    position: fixed;
    inset: 0;
    z-index: 2147483647; /* ✅ সর্বোচ্চ, উপরে ভাসবে */
  }

  .drawer-overlay{
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.55);
  }

  .drawer-panel{
    position: fixed;          /* ✅ viewport এ fixed */
    top: 14px;
    right: 14px;
    bottom: 14px;
    width: min(520px, 72vw);
    max-width: 92vw;
    background: #fff;
    border-radius: 26px;
    box-shadow: -20px 0 45px rgba(0,0,0,.28);
    overflow: hidden;
    display: flex;
    flex-direction: column;
  }

  .drawer-header{
    padding: 16px 18px;
    background: #f2f3ff;
    border-bottom: 1px solid rgba(0,0,0,.08);
    display:flex; justify-content:space-between; align-items:center;
  }

  .drawer-title{font-weight:900; font-size:20px; display:flex; gap:10px; align-items:center;}
  .cap{width:34px;height:34px;border-radius:12px;display:grid;place-items:center;background:rgba(99,102,241,.12);}
  .drawer-close{width:38px;height:38px;border-radius:12px;border:1px solid rgba(0,0,0,.12);background:#fff;cursor:pointer;font-size:20px;}
  .drawer-body{padding:18px; overflow:auto; display:flex; flex-direction:column; gap:10px;}
  .drawer-link{padding:12px 14px; border-radius:14px; font-weight:800; display:block;}
  .drawer-link:hover{background:rgba(0,0,0,.04);}


/* ✅ Mobile header menu (phone only) */
.mhead{
  display:none;               /* flex row */
  gap:10px;
  justify-content:flex-start; /* scrollable left to right */
  width:100%;
  overflow-x:auto;            /* horizontal scroll */
  overflow-y:hidden;
  padding: 10px 0;
  white-space:nowrap;         /* prevent wrapping */
  -webkit-overflow-scrolling: touch; /* smooth scroll on iOS */
 
}


/* Links / buttons inside .mhead */
.mhead a, .mhead button{
  flex: 0 0 auto;             /* prevent shrinking */
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  padding:5px 7px;
  border-radius:999px;
  background:#f1f5f9;
  color:#0f172a;
  font-weight:600;
  font-size:10px;
  text-decoration:none;
  border:none;
  cursor:pointer;
}

@media (max-width: 980px){
  .mhead{ display:flex; }
}



.mhead a:active{ transform: scale(.98); }

/* ☰ button mobile এ একটু ছোট */
@media (max-width: 980px){
  .btn.ghost{
    padding: 10px 12px;
    border-radius: 14px;
  }
}