:root{
  --cream:#FFF9EE;
  --orange:#FF8C42;
  --yellow:#FFD23F;
  --sky:#4EA8DE;
  --green:#6BCB77;
  --pink:#FF6B9D;
  --ink:#3A2E2C;
  --red:#E84855;
}
*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--ink);
  font-family:'Nunito',sans-serif;
  overflow-x:hidden;
}
h1,h2,h3,.brand,.btn,.badge,.price{font-family:'Fredoka',sans-serif;}
a{text-decoration:none;color:inherit;}
svg.icon{width:1em;height:1em;stroke:currentColor;fill:none;stroke-width:2;stroke-linecap:round;stroke-linejoin:round;vertical-align:-0.15em;flex-shrink:0;}

/* ---------- ARABIC / RTL ---------- */
html[dir="rtl"] body,
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3,
html[dir="rtl"] .btn,
html[dir="rtl"] .badge,
html[dir="rtl"] .price,
html[dir="rtl"] input,
html[dir="rtl"] select,
html[dir="rtl"] textarea{
  font-family:'Tajawal',sans-serif;
}
html[dir="rtl"] .price-card ul li{padding:6px 28px 6px 0;}
html[dir="rtl"] .price-card ul li svg.icon{left:auto;right:0;}
html[dir="rtl"] .old-price{direction:ltr;display:inline-block;}
html[dir="rtl"] .price{direction:ltr;}
html[dir="rtl"] .eyebrow{transform:rotate(3deg);}

/* ---------- NAV ---------- */
header{
  position:sticky;top:0;z-index:50;
  background:rgba(255,249,238,.97);
  backdrop-filter:blur(6px);
  border-bottom:2px solid var(--orange);
  box-shadow:0 2px 10px rgba(58,46,44,.06);
}
.nav{
  max-width:1100px;margin:0 auto;padding:12px 20px;
  display:flex;align-items:center;justify-content:space-between;
  gap:14px;
}
.brand{
  font-size:1.35rem;font-weight:700;color:var(--orange);
  display:flex;align-items:center;gap:10px;
  min-width:0;flex-shrink:1;
}
.logo-badge{width:38px;height:38px;flex-shrink:0;box-shadow:0 3px 0 rgba(0,0,0,.12);border-radius:13px;}
.brand-text{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;min-width:0;}
.brand span.dot{color:var(--pink);}

nav.links{display:flex;align-items:center;gap:22px;font-weight:700;font-size:.95rem;}
nav.links a{padding:6px 4px;border-bottom:3px solid transparent;transition:.2s;}
nav.links a:hover{border-color:var(--yellow);color:var(--orange);}
.nav-cta-mobile{display:none;}

.nav-right{display:flex;align-items:center;gap:12px;flex-shrink:0;}

.lang-switch{display:flex;gap:5px;background:#fff1e4;padding:4px;border-radius:16px;}
.lang-btn{
  border:none;background:transparent;color:var(--orange);
  padding:5px 10px;border-radius:12px;font-weight:800;font-size:.76rem;
  cursor:pointer;font-family:'Nunito',sans-serif;letter-spacing:.02em;
  transition:.15s;
}
.lang-btn:hover{background:#ffe2c8;}
.lang-btn.active{background:var(--orange);color:white;}

.nav-cta{
  background:var(--green);color:white;padding:10px 20px;border-radius:30px;
  font-weight:700;box-shadow:0 4px 0 #4fae5c;white-space:nowrap;
}
.nav-cta:hover{transform:translateY(2px);box-shadow:0 2px 0 #4fae5c;}

.menu-toggle{
  display:none;align-items:center;justify-content:center;
  width:40px;height:40px;border-radius:11px;border:none;
  background:var(--orange);color:white;cursor:pointer;flex-shrink:0;
}
.menu-toggle svg.icon{width:19px;height:19px;stroke-width:2.6;}

/* ---------- HERO ---------- */
.hero{
  position:relative;
  max-width:1100px;margin:0 auto;
  padding:70px 20px 110px;
  display:flex;align-items:center;gap:40px;flex-wrap:wrap;
  overflow:hidden;
}
.hero-text{flex:1 1 420px;position:relative;z-index:3;}
.eyebrow{
  display:inline-flex;align-items:center;gap:8px;background:var(--yellow);color:var(--ink);
  padding:6px 16px;border-radius:20px;font-weight:700;font-size:.85rem;
  margin-bottom:16px;transform:rotate(-3deg);
  box-shadow:0 3px 0 #e0b400;
}
.eyebrow svg.icon{width:16px;height:16px;}
.hero h1{
  font-size:clamp(1.7rem, 4.6vw, 2.6rem);line-height:1.18;margin:0 0 18px;color:var(--ink);
}
.hero h1 .hl1{color:var(--orange);}
.hero h1 .hl2{color:var(--sky);}
.hero p.lead{font-size:1.05rem;line-height:1.6;max-width:520px;margin-bottom:26px;}
.hero-buttons{display:flex;gap:16px;flex-wrap:wrap;}
.btn{
  display:inline-flex;align-items:center;gap:8px;font-weight:700;padding:14px 28px;border-radius:40px;
  font-size:1.02rem;border:none;cursor:pointer;transition:transform .15s;
}
.btn-primary{background:var(--orange);color:white;box-shadow:0 5px 0 #c96a25;}
.btn-primary:hover{transform:translateY(3px);box-shadow:0 2px 0 #c96a25;}
.btn-secondary{background:white;color:var(--ink);border:3px solid var(--sky);box-shadow:0 5px 0 #3789bb;}
.btn-secondary:hover{transform:translateY(3px);box-shadow:0 2px 0 #3789bb;}

.hero-visual{
  flex:1 1 320px;position:relative;min-height:340px;z-index:2;
}
.block{
  position:absolute;width:78px;height:78px;border-radius:18px;
  display:flex;align-items:center;justify-content:center;
  font-size:2.1rem;font-weight:700;color:white;
  box-shadow:0 8px 0 rgba(0,0,0,.15);
  animation:bob 4s ease-in-out infinite;
}
.block.b1{background:var(--orange);top:10px;left:40px;animation-delay:0s;}
.block.b2{background:var(--sky);top:100px;left:180px;animation-delay:.6s;}
.block.b3{background:var(--pink);top:210px;left:20px;animation-delay:1.1s;}
.block.b4{background:var(--green);top:190px;left:230px;animation-delay:1.7s;}
.block.b5{background:var(--yellow);color:var(--ink);top:60px;left:250px;animation-delay:.3s;box-shadow:0 8px 0 rgba(0,0,0,.1);}
.block svg.icon{width:34px;height:34px;stroke-width:2.4;}
@keyframes bob{
  0%,100%{transform:translateY(0) rotate(0deg);}
  50%{transform:translateY(-16px) rotate(6deg);}
}
.star-deco{position:absolute;color:var(--yellow);opacity:.9;animation:twinkle 2.4s ease-in-out infinite;}
.star-deco svg.icon{width:22px;height:22px;fill:currentColor;stroke:none;}
@keyframes twinkle{0%,100%{opacity:.25;transform:scale(.8);}50%{opacity:1;transform:scale(1.15);}}

.wave{display:block;width:100%;line-height:0;margin-top:-6px;}

/* ---------- SECTION GENERIC ---------- */
section{padding:70px 20px;}
.section-inner{max-width:1100px;margin:0 auto;}
.section-title{text-align:center;margin-bottom:10px;font-size:clamp(1.6rem, 4vw, 2.1rem);}
.section-sub{text-align:center;color:#6b5a56;max-width:560px;margin:0 auto 46px;font-size:1.02rem;}

/* ---------- ABOUT ---------- */
.about{background:white;}
.about-wrap{display:flex;gap:44px;align-items:center;flex-wrap:wrap;}
.avatar{
  flex:0 0 200px;width:200px;height:200px;border-radius:50%;
  background:linear-gradient(135deg,var(--sky),var(--green));
  display:flex;align-items:center;justify-content:center;
  font-size:4.2rem;color:white;font-family:'Fredoka';font-weight:700;
  box-shadow:0 10px 0 rgba(0,0,0,.08);
  border:6px solid var(--yellow);
  margin:0 auto;
}
.about-content{flex:1 1 400px;}
.about-content h3{color:var(--orange);font-size:1.6rem;margin-bottom:6px;}
.about-tag{color:var(--sky);font-weight:700;margin-bottom:14px;display:block;}
.about-content p{line-height:1.7;font-size:1.02rem;}
.tags{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px;}
.tag{display:inline-flex;align-items:center;gap:8px;background:var(--cream);border:2px solid var(--yellow);padding:6px 14px;border-radius:20px;font-weight:700;font-size:.88rem;}
.tag svg.icon{width:16px;height:16px;color:var(--orange);}

/* ---------- COURSES ---------- */
.courses{background:var(--cream);}
.cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(230px,1fr));gap:26px;}
.card{
  background:white;border-radius:22px;padding:28px 24px;text-align:center;
  box-shadow:0 8px 0 rgba(0,0,0,.06);border:3px solid transparent;
  transition:transform .2s, border-color .2s;
}
.card:hover{transform:translateY(-6px);border-color:var(--yellow);}
.card .icon-circle{
  width:64px;height:64px;border-radius:50%;margin:0 auto 16px;
  display:flex;align-items:center;justify-content:center;color:white;
}
.card .icon-circle svg.icon{width:30px;height:30px;}
.card:nth-child(1) .icon-circle{background:var(--orange);}
.card:nth-child(2) .icon-circle{background:var(--sky);}
.card:nth-child(3) .icon-circle{background:var(--green);}
.card:nth-child(4) .icon-circle{background:var(--pink);}
.card h4{margin:0 0 8px;font-size:1.15rem;font-family:'Fredoka';}
.card p{color:#6b5a56;font-size:.94rem;line-height:1.5;margin:0;}

/* ---------- PRICING ---------- */
.pricing{background:white;}
.price-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(250px,1fr));gap:26px;}
.price-cards-4{grid-template-columns:repeat(auto-fit,minmax(220px,1fr));}
@media (min-width:1000px){
  .price-cards-4{grid-template-columns:repeat(4,1fr);}
}
.price-card{
  position:relative;border-radius:24px;padding:34px 26px;background:var(--cream);
  border:3px solid #f1e4c8;text-align:center;
  transition:transform .2s;
}
.price-card:hover{transform:translateY(-6px);}
.price-card.featured{
  background:linear-gradient(160deg,#fff, #fff6df);
  border:3px solid var(--yellow);
}
@media (min-width:1000px){
  .price-card.featured{transform:scale(1.05);}
  .price-card.featured:hover{transform:scale(1.05) translateY(-6px);}
}
.badge{
  position:absolute;top:-14px;left:50%;transform:translateX(-50%);
  background:var(--red);color:white;padding:6px 18px;border-radius:20px;
  font-size:.85rem;font-weight:700;box-shadow:0 3px 0 #a9222c;
  display:inline-flex;align-items:center;gap:6px;white-space:nowrap;
}
.badge svg.icon{width:14px;height:14px;}
.price-card h4{font-size:1.2rem;margin:10px 0 4px;}
.price-card .desc{color:#6b5a56;font-size:.9rem;margin-bottom:18px;min-height:40px;}
.old-price{color:var(--red);text-decoration:line-through;font-size:1.1rem;font-weight:700;opacity:.85;}
.price{font-size:2.2rem;color:var(--orange);font-weight:700;margin:2px 0 4px;}
.price small{font-size:1rem;color:var(--ink);font-family:'Nunito';}
.save{color:var(--green);font-weight:800;font-size:.88rem;margin-bottom:16px;display:block;}
.price-from{margin-bottom:18px;}
.from-label{display:block;font-size:.82rem;color:#6b5a56;font-weight:700;margin-bottom:2px;}

/* ---------- REVIEWS ---------- */
.reviews{background:var(--cream);}
.review-cards{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:24px;}
.review-card{
  background:white;border-radius:22px;padding:26px 24px;
  box-shadow:0 8px 0 rgba(0,0,0,.05);border:3px solid transparent;
}
.stars{display:flex;gap:3px;color:var(--yellow);margin-bottom:14px;}
.stars svg.icon{width:18px;height:18px;}
.review-text{font-size:.98rem;line-height:1.6;color:var(--ink);margin:0 0 14px;font-style:italic;}
.review-author{font-weight:700;font-size:.88rem;color:var(--orange);margin:0;}

/* ---------- LEVEL PAGE ---------- */
.level-hero{
  background:linear-gradient(160deg,var(--yellow) 0%, var(--orange) 100%);
  color:white;padding:50px 20px 60px;text-align:center;
}
.level-back{
  display:inline-flex;align-items:center;gap:6px;color:white;font-weight:700;
  background:rgba(255,255,255,.2);padding:8px 16px;border-radius:20px;font-size:.9rem;
  margin-bottom:22px;transition:.15s;
}
.level-back:hover{background:rgba(255,255,255,.32);}
html[dir="rtl"] .level-back svg.icon{transform:scaleX(-1);}
.level-hero h1{font-size:clamp(1.8rem,5vw,2.4rem);margin:0 0 10px;}
.level-subtitle{font-weight:700;font-size:1.05rem;opacity:.95;margin:0 0 14px;}
.level-desc{max-width:560px;margin:0 auto;line-height:1.6;opacity:.95;}

.price-cards-3{grid-template-columns:repeat(auto-fit,minmax(240px,1fr));}
@media (min-width:900px){
  .price-cards-3{grid-template-columns:repeat(3,1fr);}
}

.level-cta{background:var(--cream);text-align:center;}
.level-cta-btn-wrap{display:flex;justify-content:center;}

/* ---------- WHATSAPP FLOATING BUTTON ---------- */
.whatsapp-float{
  position:fixed;bottom:22px;right:22px;z-index:70;
  width:58px;height:58px;border-radius:50%;
  background:#25D366;color:white;
  display:flex;align-items:center;justify-content:center;
  box-shadow:0 6px 16px rgba(0,0,0,.25);
  transition:transform .2s;
}
.whatsapp-float:hover{transform:scale(1.08);}
.whatsapp-float svg.icon{width:30px;height:30px;}
html[dir="rtl"] .whatsapp-float{right:auto;left:22px;}

.contact-phone{
  display:flex;align-items:center;justify-content:center;gap:10px;
  margin-top:22px;font-weight:700;color:white;flex-wrap:wrap;
}
.contact-phone a{
  display:inline-flex;align-items:center;gap:8px;
  background:rgba(255,255,255,.18);padding:9px 18px;border-radius:24px;
  transition:.15s;
}
.contact-phone a:hover{background:rgba(255,255,255,.3);}
.contact-phone svg.icon{width:17px;height:17px;}
.page-hero{
  background:linear-gradient(160deg,var(--yellow) 0%, var(--orange) 100%);
  color:white;padding:50px 20px 60px;text-align:center;
}
.page-hero h1{font-size:clamp(1.8rem,5vw,2.4rem);margin:0 0 10px;}
.page-hero p{max-width:560px;margin:0 auto;opacity:.95;line-height:1.6;}

/* ---------- ABOUT PAGE ---------- */
.about-page-hero{background:white;padding-top:60px;}
.about-page-hero .eyebrow{
  background:var(--yellow);transform:none;margin-bottom:14px;
}
.about-page-hero h1{font-size:clamp(1.7rem,4.5vw,2.3rem);color:var(--ink);margin:0 0 10px;}
.avatar-lg{flex:0 0 220px;width:220px;height:220px;font-size:4.6rem;}
.about-link{margin-top:8px;}

/* ---------- CERTIFICATES ---------- */
.certs{background:var(--cream);}
.cert-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(200px,1fr));gap:24px;}
.cert-card{margin:0;background:white;border-radius:20px;padding:14px;box-shadow:0 8px 0 rgba(0,0,0,.05);border:3px solid transparent;transition:.2s;}
.cert-card:hover{transform:translateY(-6px);border-color:var(--yellow);}
.cert-image-placeholder{
  aspect-ratio:4/3;border-radius:14px;
  background:repeating-linear-gradient(135deg, #fff6df, #fff6df 10px, #fdf0d0 10px, #fdf0d0 20px);
  border:2px dashed var(--orange);
  display:flex;flex-direction:column;align-items:center;justify-content:center;
  gap:8px;color:var(--orange);text-align:center;padding:10px;
}
.cert-image-placeholder svg.icon{width:34px;height:34px;stroke-width:1.6;}
.cert-image-placeholder span{font-size:.8rem;font-weight:700;max-width:140px;}
.cert-card figcaption{text-align:center;font-weight:700;margin-top:10px;font-size:.95rem;color:var(--ink);}
.cert-card img{width:100%;aspect-ratio:4/3;object-fit:cover;border-radius:14px;display:block;}

.price-card ul{list-style:none;padding:0;margin:0 0 22px;text-align:left;font-size:.9rem;}
.price-card ul li{padding:6px 0 6px 28px;position:relative;}
.price-card ul li svg.icon{position:absolute;left:0;top:9px;width:16px;height:16px;color:var(--green);stroke-width:3;}
.price-card .btn{width:100%;justify-content:center;}

.promo-note-wrap{text-align:center;}
.promo-note{
  display:inline-flex;align-items:center;gap:8px;text-align:center;margin-top:36px;font-weight:700;color:var(--sky);
  background:#eaf6ff;padding:10px 20px;border-radius:16px;
}
.promo-note svg.icon{width:18px;height:18px;}

/* ---------- FORM ---------- */
.contact{background:var(--sky);position:relative;overflow:hidden;color:white;}
.contact .section-title, .contact .section-sub{color:white;}
.contact .section-sub{color:#eaf6ff;}
.form-box{
  max-width:640px;margin:0 auto;background:white;border-radius:26px;padding:38px 34px;
  box-shadow:0 14px 0 rgba(0,0,0,.08);color:var(--ink);
}
.form-row{display:flex;gap:16px;flex-wrap:wrap;margin-bottom:16px;}
.form-group{flex:1 1 220px;display:flex;flex-direction:column;}
.form-group.full{flex:1 1 100%;}
label{font-weight:700;margin-bottom:6px;font-size:.92rem;}
input,select,textarea{
  padding:13px 14px;border:2px solid #eee0c2;border-radius:12px;font-family:'Nunito';
  font-size:1rem;background:var(--cream);width:100%;
}
input:focus,select:focus,textarea:focus{outline:3px solid var(--yellow);border-color:var(--orange);}
textarea{resize:vertical;min-height:90px;}
.form-submit{
  width:100%;margin-top:10px;background:var(--green);color:white;border:none;
  padding:16px;border-radius:30px;font-family:'Fredoka';font-weight:700;font-size:1.08rem;
  cursor:pointer;box-shadow:0 5px 0 #4fae5c;transition:transform .15s;
  display:flex;align-items:center;justify-content:center;gap:10px;
}
.form-submit:hover{transform:translateY(3px);box-shadow:0 2px 0 #4fae5c;}
.form-note{font-size:.82rem;color:#8a7a75;text-align:center;margin-top:14px;}
.form-success{display:none;align-items:center;justify-content:center;gap:8px;text-align:center;font-weight:700;color:var(--green);margin-top:14px;}
.form-success svg.icon{width:18px;height:18px;}

/* ---------- FOOTER ---------- */
footer{
  background:var(--ink);color:#f3ead9;padding:36px 20px;text-align:center;
}
footer .brand{color:var(--yellow);justify-content:center;margin-bottom:10px;}
footer .logo-badge{width:38px;height:38px;}
footer .foot-links{display:flex;justify-content:center;gap:20px;margin-bottom:14px;font-weight:700;flex-wrap:wrap;}
footer small{opacity:.7;}

/* =========================================================
   RESPONSIVE / MOBILE
   ========================================================= */
@media (max-width: 860px){
  nav.links{
    position:fixed;top:0;right:0;
    height:100vh;width:min(78vw, 300px);
    background:white;
    flex-direction:column;align-items:flex-start;
    justify-content:flex-start;
    gap:6px;
    padding:90px 26px 26px;
    box-shadow:-8px 0 24px rgba(0,0,0,.12);
    transform:translateX(100%);
    transition:transform .25s ease;
    z-index:60;
  }
  html[dir="rtl"] nav.links{right:auto;left:0;transform:translateX(-100%);box-shadow:8px 0 24px rgba(0,0,0,.12);}
  nav.links.open{transform:translateX(0);}
  nav.links a{width:100%;padding:12px 6px;font-size:1.05rem;border-bottom:1px solid #f1e4c8;}
  .nav-cta-desktop{display:none;}
  .nav-cta-mobile{display:block;margin-top:14px;text-align:center;}
  .menu-toggle{display:flex;}

  .menu-close{
    display:flex;align-items:center;justify-content:center;
    position:absolute;top:20px;right:20px;
    width:38px;height:38px;border-radius:10px;border:none;
    background:var(--cream);color:var(--ink);cursor:pointer;
  }
  html[dir="rtl"] .menu-close{right:auto;left:20px;}
  .menu-close svg.icon{width:18px;height:18px;stroke-width:2.4;}

  .nav-overlay{
    position:fixed;inset:0;background:rgba(58,46,44,.35);
    opacity:0;pointer-events:none;transition:opacity .25s ease;z-index:55;
  }
  .nav-overlay.open{opacity:1;pointer-events:auto;}
}

@media (min-width:861px){
  .menu-close{display:none;}
}

@media (min-width: 861px){
  nav.links.open{}
}

@media (max-width: 640px){
  .hero{padding:44px 18px 70px;flex-direction:column;text-align:center;}
  .hero-text{text-align:center;}
  .hero p.lead{margin-left:auto;margin-right:auto;}
  .hero-buttons{justify-content:center;}
  .hero-visual{min-height:220px;width:100%;max-width:340px;transform:scale(.82);margin-top:-10px;}
  section{padding:52px 16px;}
  .section-sub{margin-bottom:32px;}
  .about-wrap{flex-direction:column;text-align:center;}
  .about-content{text-align:center;}
  .tags{justify-content:center;}
  .price-card.featured{transform:none;order:-1;}
  .price-card.featured:hover{transform:translateY(-6px);}
  .form-box{padding:28px 20px;}
  .btn{width:100%;justify-content:center;}
  .hero-buttons{flex-direction:column;}
  .brand{font-size:1.15rem;}
  .brand-text{max-width:44vw;}
  .logo-badge{width:32px;height:32px;}
  .lang-switch{gap:4px;}
  .lang-btn{padding:5px 9px;font-size:.72rem;}
}

@media (max-width:380px){
  .hero-visual{transform:scale(.68);}
}

@media (prefers-reduced-motion: reduce){
  .block,.star-deco{animation:none;}
  nav.links{transition:none;}
}
