/* Tamkeen landing — design from tamkeen-website.html (IBM Plex Sans Arabic, ink #26303A, yellow #FBB227,
   blue #1CA1D1, green #89C76F, pastel panels, flat surfaces). Icons: bootstrap-icons font. */
:root{
  --ink:#26303A;--ink-2:#3E474E;--text:#4A545B;--muted:#5A646B;--line:#E3E7EA;--line-2:#D5DADE;--surface:#F5F7F8;
  --yellow:#FBB227;--yellow-soft:#FFF3DA;--yellow-ink:#6E4A00;
  --blue:#1CA1D1;--blue-ink:#0B6E93;--blue-soft:#E3F4FA;--blue-tile:#BFE5F3;
  --green:#89C76F;--green-ink:#3E7A2A;--green-soft:#EDF6E8;--green-tile:#CDE8C1;
}
body.tk-landing{margin:0;background:#fff;color:var(--ink);-webkit-font-smoothing:antialiased}
body.tk-landing main{display:block}
.tk-wrap{max-width:1240px;margin:0 auto;padding-inline:max(24px,env(safe-area-inset-left,0px))}
.tk-landing h1,.tk-landing h2,.tk-landing h3,.tk-landing h4,.tk-landing p,.tk-landing ul,.tk-landing ol{margin:0}
.tk-landing ul,.tk-landing ol{padding:0;list-style:none}
.tk-landing a{color:var(--blue-ink)}
.tk-landing section[id]{scroll-margin-top:96px}
.tk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap}

/* labels: small coloured squares + text (from the source design) */
.tk-label{display:flex;align-items:center;gap:10px;font-weight:600;font-size:14px;letter-spacing:.02em;color:var(--muted)}
.tk-sq{display:inline-block;width:10px;height:10px;border-radius:3px;background:var(--yellow)}
.tk-sq.tk-blue{background:var(--blue)}.tk-sq.tk-green{background:var(--green)}

/* buttons */
.tk-actions{display:flex;flex-wrap:wrap;gap:12px}
.tk-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:52px;padding:0 26px;border-radius:14px;font-weight:600;font-size:16px;
  text-decoration:none!important;border:1.5px solid transparent;transition:background-color .15s ease,border-color .15s ease,color .15s ease}
.tk-btn-yellow{background:var(--yellow);color:var(--ink)!important}
.tk-btn-yellow:hover{background:#F3A50E}
.tk-btn-outline{background:#fff;color:var(--ink)!important;border-color:var(--ink)}
.tk-btn-outline:hover{background:var(--surface)}
.tk-btn-ink{background:var(--ink);color:#fff!important}
.tk-btn-ink:hover{background:#3A4651}
.tk-btn-white{background:#fff;color:var(--ink)!important;border-color:var(--line-2)}
.tk-btn-white:hover{border-color:var(--ink)}
.tk-btn-sm{min-height:42px;padding:0 16px;font-size:14px;border-radius:12px;white-space:nowrap}
.tk-btn i{font-size:17px}
.tk-landing a:focus-visible,.tk-landing button:focus-visible{outline:3px solid var(--blue);outline-offset:2px}

/* ---------- hero ---------- */
.tk-hero{background:#fff}
.tk-hero-grid{display:flex;flex-wrap:wrap;align-items:center;gap:48px;padding-block:72px 64px}
.tk-hero-copy{flex:999 1 480px;min-width:0;display:flex;flex-direction:column;gap:22px}
.tk-hero h1{font-weight:700;font-size:clamp(40px,5.4vw,72px);line-height:1.15;color:var(--ink);text-wrap:balance}
.tk-word{white-space:nowrap}
.tk-dot{color:var(--yellow);margin-inline:.1em}
.tk-lead{font-size:20px;line-height:1.85;color:var(--text);max-width:34em}
.tk-strong{font-weight:600;font-size:18px;line-height:1.7;color:var(--ink)}
.tk-hero .tk-actions{padding-top:6px}
.tk-textlinks{display:flex;flex-wrap:wrap;gap:8px 24px;font-size:15px;font-weight:600}
.tk-textlinks a{color:var(--blue-ink)!important;text-decoration:underline;text-underline-offset:5px;text-decoration-color:rgba(11,110,147,.35);display:inline-flex;gap:8px;align-items:center}
.tk-textlinks a:hover{color:var(--ink)!important;text-decoration-color:var(--ink)}
.tk-mosaic{flex:1 1 460px;min-width:0;max-width:540px;margin-inline:auto;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:180px 180px 132px;gap:14px}
.tk-tile{border-radius:26px;padding:24px;display:flex;flex-direction:column;justify-content:space-between;gap:16px;color:var(--ink)!important;text-decoration:none!important;
  transition:filter .15s ease}
.tk-tile:hover{filter:brightness(.97)}
.tk-tile-tall{grid-row:1/3}
.tk-tile-wide{grid-column:1/-1;flex-direction:row;align-items:center;justify-content:flex-start;gap:18px}
.tk-tile-yellow{background:var(--yellow)}.tk-tile-blue{background:var(--blue-tile)}.tk-tile-green{background:var(--green-tile)}
.tk-tile-ink{background:var(--ink);color:#fff!important}
.tk-tile-icon{width:56px;height:56px;flex:0 0 56px;border-radius:16px;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:26px;color:var(--ink)}
.tk-tile-yellow .tk-tile-icon{background:rgba(255,255,255,.55)}
.tk-tile-ink .tk-tile-icon{background:rgba(255,255,255,.12);color:#fff}
.tk-tile-copy{display:flex;flex-direction:column;gap:4px}
.tk-tile-copy strong{font-weight:700;font-size:22px}
.tk-tile-copy span{display:flex;align-items:center;justify-content:space-between;gap:8px;font-size:15px;color:var(--ink-2)}
.tk-tile-ink .tk-tile-copy span{color:#D5DADE}
.tk-tile-wide .tk-tile-copy{flex:1}

/* ---------- sections ---------- */
.tk-sec{padding-block:88px}
.tk-bg-blue{background:var(--blue-soft)}.tk-bg-grey{background:var(--surface)}
.tk-head{display:flex;flex-direction:column;gap:12px;margin-bottom:36px;max-width:760px}
.tk-head h2,.tk-split-copy h2{font-weight:700;font-size:clamp(30px,3.4vw,44px);line-height:1.25;color:var(--ink);text-wrap:balance}
.tk-head > p:last-child,.tk-sub{font-size:18px;line-height:1.8;color:var(--text)}
.tk-icon{width:48px;height:48px;flex:0 0 48px;border-radius:14px;background:#fff;display:inline-flex;align-items:center;justify-content:center;font-size:22px;color:var(--ink)}
.tk-yellow-soft{background:var(--yellow-soft)}.tk-blue-soft{background:var(--blue-soft)}.tk-green-soft{background:var(--green-soft)}.tk-sand-soft{background:var(--surface)}
.tk-area-lead{font-weight:600;font-size:16px;line-height:1.6;color:var(--ink)}

/* four areas */
.tk-areas{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:18px}
.tk-area{border-radius:22px;padding:26px;display:flex;flex-direction:column;gap:12px}
.tk-area h3{font-weight:700;font-size:22px;color:var(--ink)}
.tk-area > p:not(.tk-area-lead){font-size:15px;line-height:1.85;color:var(--text)}
.tk-tags{display:flex;flex-wrap:wrap;gap:6px;margin-top:4px!important}
.tk-tags li{background:#fff;border-radius:999px;padding:4px 10px;font-size:13px;font-weight:500;color:var(--ink-2)}
.tk-more{margin-top:auto;padding-top:8px;font-weight:600;font-size:15px;color:var(--ink)!important;text-decoration:none!important;display:inline-flex;align-items:center;gap:8px}
.tk-more:hover{text-decoration:underline!important;text-underline-offset:5px}

/* split layouts */
.tk-split{display:flex;flex-wrap:wrap;align-items:center;gap:48px}
.tk-split-copy{flex:1 1 420px;min-width:0;display:flex;flex-direction:column;gap:16px}
.tk-split-copy .tk-actions{padding-top:8px}

/* virtual classroom illustration */
.tk-class{flex:1 1 440px;min-width:0;max-width:560px;margin-inline:auto;background:#fff;border:1px solid var(--line);border-radius:24px;padding:18px}
.tk-class-head{display:flex;justify-content:space-between;align-items:center;font-weight:600;font-size:14px;color:var(--ink);padding-bottom:14px}
.tk-class-head small{background:var(--surface);border-radius:999px;padding:4px 10px;font-size:12px;color:var(--muted)}
.tk-class-body{display:grid;grid-template-columns:1fr 128px;gap:12px}
.tk-board{background:var(--ink);color:#fff;border-radius:16px;padding:22px;min-height:180px;display:flex;flex-direction:column;gap:10px}
.tk-board i{font-size:26px;color:var(--yellow)}
.tk-board span{display:block;height:8px;border-radius:6px;background:rgba(255,255,255,.22)}
.tk-board span:nth-of-type(2){width:80%}.tk-board span:nth-of-type(3){width:60%}
.tk-person{background:var(--blue-tile);border-radius:16px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:6px;font-size:13px;color:var(--ink)}
.tk-person i{font-size:34px}
.tk-class-controls{display:flex;justify-content:center;gap:10px;padding-top:14px}
.tk-class-controls i{width:40px;height:40px;border-radius:12px;background:var(--surface);display:grid;place-items:center;color:var(--ink);font-size:17px}

/* benefits: list, not cards */
.tk-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:0 40px}
.tk-benefit{display:flex;gap:16px;align-items:flex-start;padding:24px 0;border-top:1px solid var(--line)}
.tk-benefit h3{font-weight:700;font-size:18px;margin-bottom:4px!important;color:var(--ink)}
.tk-benefit p{font-size:15px;line-height:1.8;color:var(--text)}

/* yellow band */
.tk-band{background:var(--yellow)}
.tk-band-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:20px 40px;padding-block:44px}
.tk-band-title{font-weight:700;font-size:clamp(22px,2.4vw,30px);line-height:1.4;color:var(--ink);max-width:28em}

/* development */
.tk-dev{display:grid;grid-template-columns:minmax(0,1.15fr) minmax(0,1fr);gap:22px;align-items:start}
.tk-hub{border-radius:24px;padding:30px;display:flex;flex-direction:column;gap:12px}
.tk-hub h3{font-weight:700;font-size:26px;color:var(--ink)}
.tk-hub > p:not(.tk-area-lead):not(.tk-note){font-size:15px;line-height:1.85;color:var(--text)}
.tk-cycle{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px;margin-top:8px!important}
.tk-cycle li{background:#fff;border-radius:14px;padding:12px;display:flex;align-items:center;gap:8px;font-size:14px;font-weight:600;color:var(--ink)}
.tk-cycle i{color:var(--green-ink);font-size:16px}
.tk-num{display:inline-grid;place-items:center;min-width:24px;height:24px;border-radius:8px;background:var(--ink);color:#fff;font-size:12px;font-weight:700;font-variant-numeric:tabular-nums}
.tk-note{display:flex;gap:10px;align-items:flex-start;margin-top:6px!important;font-size:14px;color:var(--green-ink)}
.tk-note b{display:block;color:var(--ink);font-weight:600}
.tk-note i{font-size:18px;margin-top:2px}
.tk-tools{display:flex;flex-direction:column;gap:12px}
.tk-tools li{display:flex;gap:16px;align-items:flex-start;padding:20px;border:1px solid var(--line);border-radius:20px;background:#fff}
.tk-tools h4{font-weight:700;font-size:17px;margin:0 0 4px;color:var(--ink)}
.tk-tools p{font-size:14.5px;line-height:1.8;color:var(--text)}

/* AI steps (a real sequence) */
.tk-steps{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px}
.tk-steps li{background:#fff;border:1px solid var(--line);border-radius:20px;padding:22px;display:flex;flex-direction:column;gap:10px}
.tk-steps h3{font-weight:700;font-size:18px;color:var(--ink)}
.tk-steps p{font-size:14.5px;line-height:1.8;color:var(--text)}

/* school levels sample */
.tk-checks{display:flex;flex-direction:column;gap:10px;margin-top:4px!important}
.tk-checks li{display:flex;gap:10px;align-items:center;font-size:16px;color:var(--ink)}
.tk-checks i{color:var(--green-ink);font-size:18px}
.tk-sample{flex:1 1 440px;min-width:0;max-width:560px;margin:0 auto;border:1px solid var(--line);border-radius:24px;padding:22px;background:#fff}
.tk-sample-stats{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.tk-sample-stats div{background:var(--surface);border-radius:16px;padding:14px}
.tk-sample-stats small{display:block;font-size:13px;color:var(--muted)}
.tk-sample-stats strong{font-size:26px;font-weight:700;color:var(--ink);font-variant-numeric:tabular-nums}
.tk-sample-rows{display:flex;flex-direction:column;gap:12px;margin-top:18px!important}
.tk-sample-rows li{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:12px;align-items:center;font-size:14px;color:var(--ink)}
.tk-bar{height:8px;border-radius:6px;background:var(--surface);overflow:hidden}
.tk-bar i{display:block;height:100%;border-radius:6px;background:var(--blue)}
.tk-sample-rows li:nth-child(2) .tk-bar i{background:var(--green)}.tk-sample-rows li:nth-child(3) .tk-bar i{background:var(--yellow)}.tk-sample-rows li:nth-child(4) .tk-bar i{background:var(--ink-2)}
.tk-sample-rows b{font-variant-numeric:tabular-nums}
.tk-sample figcaption{margin-top:16px;font-size:13px;color:var(--muted)}

/* research */
.tk-rcards{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.tk-rcard{background:#fff;border-radius:22px;padding:24px;display:flex;flex-direction:column;gap:10px}
.tk-rcard h3{font-weight:700;font-size:18px;color:var(--ink)}
.tk-rcard p{font-size:14.5px;line-height:1.8;color:var(--text)}
.tk-flow{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:10px;margin-top:28px!important;color:var(--muted)}
.tk-flow span{background:#fff;border-radius:999px;padding:6px 14px;font-size:14px;font-weight:600;color:var(--ink)}
.tk-center{text-align:center;margin-top:28px!important}

/* pricing table */
.tk-table{background:#fff;border:1px solid var(--line);border-radius:20px;overflow:hidden}
.tk-table table{width:100%;border-collapse:collapse;font-size:15px}
.tk-table caption{caption-side:top;text-align:start;padding:18px 22px 6px;font-size:14px;color:var(--muted)}
.tk-table th,.tk-table td{padding:16px 22px;text-align:start;border-bottom:1px solid #EEF0F2;vertical-align:middle}
.tk-table thead th{font-size:13px;font-weight:600;color:var(--muted);background:#fff}
.tk-table tbody tr:last-child > *{border-bottom:0}
.tk-table tbody th{display:flex;flex-direction:column;align-items:flex-start;gap:6px}
.tk-table tbody th strong{font-size:18px;font-weight:700;color:var(--ink);letter-spacing:.02em}
.tk-table td{font-variant-numeric:tabular-nums;color:var(--ink);font-weight:500}
.tk-pill{border-radius:999px;padding:4px 10px;font-size:12px;font-weight:600;color:var(--yellow-ink)}
.tk-pill.tk-blue-soft{color:var(--blue-ink)}.tk-pill.tk-green-soft{color:var(--green-ink)}.tk-pill.tk-sand-soft{color:var(--ink-2)}
.tk-fee{font-weight:700!important}

/* closing */
.tk-final{background:var(--ink);color:#fff}
.tk-final-inner{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:28px 48px;padding-block:80px}
.tk-final h2{font-weight:700;font-size:clamp(30px,3.4vw,44px);line-height:1.25;color:#fff;margin:12px 0!important}
.tk-final p{font-size:18px;line-height:1.8;color:#C9D0D5;max-width:40em}
.tk-final .tk-label{color:#C9D0D5}
.tk-final-cta{display:flex;flex-direction:column;align-items:flex-start;gap:10px}
.tk-final-cta small{font-size:14px;color:#AEB7BE}

/* featured courses in this design */
.tk-landing .qdf-section{background:#fff;border:0;padding:88px 0;font-family:inherit}
.tk-landing .qdf-container{max-width:1240px;padding-inline:24px;width:auto}
.tk-landing .qdf-badge{background:var(--yellow-soft);color:var(--yellow-ink)}
.tk-landing .qdf-title{font-size:clamp(30px,3.4vw,44px);font-weight:700;color:var(--ink)}
.tk-landing .qdf-text{font-size:18px;color:var(--text)}
.tk-landing .qdf-card{border-radius:22px;box-shadow:none;border-color:var(--line)}
.tk-landing .qdf-card:hover{transform:none;box-shadow:none;border-color:var(--ink)}
.tk-landing .qdf-buy{background:var(--ink)}
.tk-landing .qdf-price{color:var(--yellow-ink)}
.tk-landing .qdf-all{border-color:var(--line-2);color:var(--ink)!important;border-radius:14px}

/* ---------- responsive ---------- */
@media (max-width:1100px){
  .tk-areas,.tk-rcards{grid-template-columns:repeat(2,minmax(0,1fr))}
  .tk-steps{grid-template-columns:repeat(3,minmax(0,1fr))}
  .tk-dev{grid-template-columns:1fr}
}
@media (max-width:820px){
  .tk-benefits{grid-template-columns:1fr}
  .tk-steps{grid-template-columns:1fr 1fr}
  .tk-table thead{display:none}
  .tk-table table,.tk-table tbody,.tk-table tr,.tk-table th,.tk-table td{display:block;width:100%}
  .tk-table tr{padding:16px 18px;border-bottom:1px solid #EEF0F2}
  .tk-table th,.tk-table td{border:0;padding:4px 0}
  .tk-table td[data-label]{display:flex;justify-content:space-between;gap:12px}
  .tk-table td[data-label]::before{content:attr(data-label);color:var(--muted);font-weight:500}
  .tk-table td:last-child{padding-top:12px}
  .tk-table .tk-btn{width:100%}
}
@media (max-width:575px){
  .tk-wrap{padding-inline:16px}
  .tk-hero-grid{padding-block:44px 48px;gap:36px}
  .tk-sec{padding-block:64px}
  .tk-lead{font-size:18px}
  .tk-areas,.tk-rcards,.tk-steps{grid-template-columns:1fr}
  .tk-cycle{grid-template-columns:1fr 1fr}
  .tk-mosaic{grid-template-rows:150px 150px 112px}
  .tk-tile{padding:18px;border-radius:22px}
  .tk-tile-copy strong{font-size:19px}
  .tk-class-body{grid-template-columns:1fr}
  .tk-actions .tk-btn{flex:1 1 100%}
  .tk-sample-rows li{grid-template-columns:1fr auto;}
  .tk-sample-rows .tk-bar{grid-column:1/-1;grid-row:2}
}
@media (prefers-reduced-motion:reduce){.tk-landing *{transition:none!important}}
.tk-steps .tk-num{align-self:flex-start;min-width:30px;height:30px;border-radius:9px;font-size:13px}
.tk-landing footer.qd-footer.tk-chrome{border-top:1px solid rgba(255,255,255,.12)!important}
.tk-mosaic{grid-template-rows:minmax(180px,auto) minmax(180px,auto) minmax(120px,auto)}
.tk-tile-copy strong{font-size:21px;line-height:1.3}
@media (max-width:575px){
  .tk-mosaic{grid-template-columns:1fr 1fr;grid-template-rows:none;grid-auto-rows:auto}
  .tk-tile{min-height:150px}
  .tk-tile-tall{grid-row:auto;grid-column:1/-1;min-height:0;flex-direction:row;align-items:center;justify-content:flex-start;gap:16px}
  .tk-tile-tall .tk-tile-copy,.tk-tile-wide .tk-tile-copy{flex:1}
  .tk-tile-icon{width:48px;height:48px;flex-basis:48px;font-size:22px}
  .tk-tile-copy span{font-size:14px}
}
