:root{
  --chalk-green: #1F3A2E;
  --chalk-green-dark: #16281F;
  --chalk-green-light: #2B4E3C;
  --chalk-cream: #F2EFE3;
  --chalk-yellow: #E8C468;
  --pen-red: #D6472A;
  --paper: #FBF6EA;
  --paper-line: #E3DCC8;
  --ink: #2A2A22;
  --ink-soft: #6b6a5e;
  --whatsapp: #25D366;
}
*{ margin:0; padding:0; box-sizing:border-box; }
html{ scroll-behavior:smooth; }
body{
  font-family:'Poppins', sans-serif;
  background: var(--paper);
  color: var(--ink);
  -webkit-font-smoothing:antialiased;
}
body.lang-ar{ font-family:'Cairo', sans-serif; }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3{ font-family:'Cairo', sans-serif; }
body.rtl{ direction: rtl; }
a{ color:inherit; text-decoration:none; }
img{ max-width:100%; display:block; }
ul{ list-style:none; }
.wrap{ max-width:1100px; margin:0 auto; padding:0 32px; }
@media (max-width:640px){ .wrap{ padding:0 20px; } }

/* ---------- NAV ---------- */
.site-nav{
  background: var(--chalk-green-dark);
  position:sticky; top:0; z-index:100;
}
.nav-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:16px 0; gap:20px;
}
.logo{
  font-family:'Lora', serif; font-weight:700; font-size:21px; color: var(--chalk-cream);
  white-space:nowrap;
}
.logo.logo-img{ display:inline-flex; align-items:center; }
.logo.logo-img img{ height:44px; width:auto; display:block; }
.footer-grid .logo.logo-img img{ height:52px; }
.logo .dot-academy{ color: var(--chalk-yellow); font-weight:500; font-size:16px; }
.nav-links{ display:flex; align-items:center; gap:28px; }
.nav-links a{
  font-size:14.5px; font-weight:500; color: rgba(242,239,227,0.8);
  transition: color .15s ease;
}
.nav-links a:hover, .nav-links a.active{ color: var(--chalk-yellow); }
.nav-right{ display:flex; align-items:center; gap:14px; }
.lang-group{ display:flex; gap:6px; }
.lang-btn{
  padding:5px 12px; border-radius:100px; font-size:12px; font-weight:600;
  background:transparent; color: rgba(242,239,227,0.55); border:1.5px solid rgba(242,239,227,0.25);
  cursor:pointer; transition:all .15s ease; font-family: inherit;
}
.lang-btn.active{ background: var(--chalk-yellow); color: var(--chalk-green-dark); border-color: var(--chalk-yellow); }
.nav-cta{
  display:inline-flex; align-items:center; gap:8px;
  background: var(--whatsapp); color:white; font-weight:600; font-size:13.5px;
  padding:9px 16px; border-radius:100px; white-space:nowrap;
}
.nav-toggle{ display:none; background:none; border:none; cursor:pointer; }
.nav-toggle svg{ stroke: var(--chalk-cream); }
@media (max-width:920px){
  .nav-links{
    position:absolute; top:100%; left:0; right:0;
    background: var(--chalk-green-dark);
    flex-direction:column; align-items:flex-start;
    padding:20px 32px; gap:16px;
    display:none;
  }
  .nav-links.open{ display:flex; }
  .nav-toggle{ display:block; }
  .nav-right{ gap:10px; }
  .nav-cta span{ display:none; }
}

/* ---------- PAGE HERO (inner pages) ---------- */
.page-hero{
  background: radial-gradient(1100px 600px at 15% -20%, var(--chalk-green-light), var(--chalk-green) 60%);
  color: var(--chalk-cream);
  padding: 64px 0 76px 0;
  text-align:center;
}
.page-hero .kicker{
  font-size:13px; letter-spacing:2px; text-transform:uppercase; color: var(--chalk-yellow); font-weight:600; margin-bottom:14px;
}
body.lang-ar .page-hero .kicker{ letter-spacing:0; }
.page-hero h1{ font-family:'Lora', serif; font-weight:700; font-size:clamp(30px,4vw,44px); margin-bottom:16px; }
.page-hero p{ max-width:620px; margin:0 auto; font-size:16.5px; opacity:0.85; line-height:1.6; font-weight:300; }

/* ---------- BUTTONS ---------- */
.btn{
  display:inline-flex; align-items:center; gap:10px;
  padding:15px 26px; border-radius:100px; font-weight:600; font-size:16px;
  cursor:pointer; border:none; transition: transform .15s ease, box-shadow .15s ease;
  font-family: inherit;
}
.btn:hover{ transform: translateY(-2px); }
.btn-primary{ background: var(--whatsapp); color:white; box-shadow:0 10px 24px rgba(37,211,102,0.35); }
.btn-ghost{ background: rgba(242,239,227,0.1); color: var(--chalk-cream); border:1.5px solid rgba(242,239,227,0.4); }
.btn-outline-dark{ background:transparent; color: var(--chalk-green); border:1.5px solid var(--chalk-green); }

/* ---------- SECTION HEADINGS ---------- */
section{ padding:76px 0; }
.section-head{ text-align:center; max-width:660px; margin:0 auto 44px auto; }
.section-head .kicker{
  font-size:13px; letter-spacing:2px; text-transform:uppercase; color: var(--pen-red); font-weight:600; margin-bottom:12px;
}
body.lang-ar .section-head .kicker{ letter-spacing:0; }
.section-head h2{ font-family:'Lora', serif; font-weight:700; font-size:clamp(26px,3.4vw,36px); color: var(--chalk-green); }
.section-head p{ margin-top:14px; color: var(--ink-soft); font-size:16px; line-height:1.6; }

/* ---------- CREDENTIAL STRIP ---------- */
.creds{ background: var(--chalk-green-dark); padding:20px 0; }
.creds-row{
  display:flex; flex-wrap:wrap; gap:14px 28px; justify-content:center;
  font-size:14.5px; color: var(--chalk-cream); opacity:0.92;
}
.creds-row .dot{ opacity:0.5; }

/* ---------- GENERIC CARD GRID ---------- */
.grid-4{ display:grid; grid-template-columns:repeat(4,1fr); gap:22px; }
.grid-3{ display:grid; grid-template-columns:repeat(3,1fr); gap:24px; }
.grid-2{ display:grid; grid-template-columns:repeat(2,1fr); gap:24px; }
@media (max-width:900px){ .grid-4{ grid-template-columns:repeat(2,1fr);} .grid-3{ grid-template-columns:1fr 1fr;} }
@media (max-width:600px){ .grid-4, .grid-3, .grid-2{ grid-template-columns:1fr; } }

.card{
  background:white; border:1.5px solid var(--paper-line); border-radius:16px;
  padding:30px 24px; transition: transform .18s ease, box-shadow .18s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:0 16px 30px rgba(31,58,46,0.1); }
.card .icon{
  width:56px; height:56px; margin-bottom:16px;
  display:flex; align-items:center; justify-content:center;
  background: var(--chalk-cream); border-radius:50%;
}
.card.center{ text-align:center; }
.card.center .icon{ margin:0 auto 16px auto; }
.card h3{ font-size:18px; font-weight:600; margin-bottom:8px; color:var(--chalk-green); }
.card p{ font-size:14.5px; color:var(--ink-soft); line-height:1.6; }
.card .card-cta{ margin-top:16px; display:inline-block; font-size:13.5px; font-weight:600; color: var(--pen-red); }

/* ---------- TIMELINE (About page) ---------- */
.timeline{ position:relative; max-width:720px; margin:0 auto; padding-left:32px; }
body.rtl .timeline{ padding-left:0; padding-right:32px; }
.timeline::before{
  content:""; position:absolute; left:6px; top:6px; bottom:6px; width:2px; background: var(--paper-line);
}
body.rtl .timeline::before{ left:auto; right:6px; }
.tl-item{ position:relative; padding-bottom:36px; }
.tl-item:last-child{ padding-bottom:0; }
.tl-item::before{
  content:""; position:absolute; left:-32px; top:4px; width:14px; height:14px; border-radius:50%;
  background: var(--chalk-yellow); border:3px solid var(--chalk-green);
}
body.rtl .tl-item::before{ left:auto; right:-32px; }
.tl-item .tl-date{ font-size:13px; color: var(--pen-red); font-weight:600; margin-bottom:4px; }
.tl-item h4{ font-size:17px; color: var(--chalk-green); margin-bottom:6px; }
.tl-item p{ font-size:14.5px; color: var(--ink-soft); line-height:1.6; }

/* ---------- FOUNDER / ABOUT INTRO ---------- */
.about-intro{ display:grid; grid-template-columns: 0.8fr 1.2fr; gap:50px; align-items:center; }
@media (max-width:860px){ .about-intro{ grid-template-columns:1fr; text-align:center; } }
.about-photo{
  width:220px; height:220px; border-radius:50%; overflow:hidden; margin:0 auto;
  border:6px solid var(--chalk-yellow); box-shadow:0 20px 40px rgba(0,0,0,0.15);
}
.about-photo img{ width:100%; height:100%; object-fit:cover; }
.about-intro .quote{ font-family:'Lora', serif; font-style:italic; font-size:20px; color: var(--chalk-green); line-height:1.6; margin-bottom:18px; }
.about-intro p{ color: var(--ink-soft); font-size:15.5px; line-height:1.75; margin-bottom:14px; }

/* ---------- STEPS ---------- */
.steps{ display:flex; gap:24px; counter-reset: step; }
@media (max-width:800px){ .steps{ flex-direction:column; } }
.step{ flex:1; text-align:center; position:relative; }
.step .num{
  width:44px; height:44px; border-radius:50%; background: var(--chalk-green); color: var(--chalk-cream);
  display:flex; align-items:center; justify-content:center; font-family:'Lora',serif; font-weight:700; font-size:18px;
  margin:0 auto 16px auto;
}
.step h4{ font-size:16.5px; color: var(--chalk-green); margin-bottom:8px; }
.step p{ font-size:14px; color: var(--ink-soft); line-height:1.6; }

/* ---------- PRICING (interactive) ---------- */
.pricing-section{ background: var(--chalk-green); color: var(--chalk-cream); }
.pricing-section .section-head h2{ color: var(--chalk-cream); }
.pricing-section .section-head .kicker{ color: var(--chalk-yellow); }
.pricing-section .section-head p{ color: rgba(242,239,227,0.75); }
.locale-banner{
  max-width:560px; margin:0 auto 32px auto; background: rgba(242,239,227,0.08);
  border:1.5px dashed rgba(242,239,227,0.35); border-radius:12px; padding:14px 20px;
  text-align:center; font-size:14px; color: rgba(242,239,227,0.85);
  display:flex; align-items:center; justify-content:center; gap:10px; flex-wrap:wrap;
}
.locale-banner b{ color: var(--chalk-yellow); }
.locale-banner .redo{ text-decoration:underline; cursor:pointer; font-weight:600; color:var(--chalk-cream); }
.tabs{ display:flex; justify-content:center; gap:10px; margin-bottom:36px; flex-wrap:wrap; }
.tab{
  padding:10px 22px; border-radius:100px; cursor:pointer; font-size:15px; font-weight:600;
  border:1.5px solid rgba(242,239,227,0.35); background:transparent; color: rgba(242,239,227,0.75);
  transition: all .15s ease; font-family: inherit;
}
.tab.active{ background: var(--chalk-yellow); color: var(--chalk-green-dark); border-color: var(--chalk-yellow); }
.price-card{
  max-width:640px; margin:0 auto; background: var(--paper); color: var(--ink);
  border-radius:18px; padding:12px 8px; box-shadow:0 30px 60px rgba(0,0,0,0.35);
}
.price-row{ display:flex; justify-content:space-between; align-items:center; padding:20px 34px; border-bottom:1.5px solid var(--paper-line); gap:16px; }
.price-row:last-child{ border-bottom:none; }
.price-row .label{ font-size:16px; }
.price-row .label .sub{ display:block; font-size:13px; color:var(--ink-soft); font-weight:300; margin-top:2px; }
.price-row .val{ font-family:'Lora', serif; font-weight:700; font-size:24px; color: var(--pen-red); white-space:nowrap; }
body.lang-ar .price-row .val{ font-family:'Cairo', sans-serif; }
.stamp-banner{
  display:flex; justify-content:center; margin:32px auto 0 auto; width:fit-content;
}

/* ---------- FAQ ---------- */
.faq-item{ border-bottom:1.5px solid var(--paper-line); padding:20px 0; }
.faq-item summary{
  cursor:pointer; font-weight:600; font-size:16px; color: var(--chalk-green);
  display:flex; justify-content:space-between; align-items:center; list-style:none;
}
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:"+"; font-size:22px; color: var(--pen-red); font-weight:400; }
.faq-item[open] summary::after{ content:"−"; }
.faq-item p{ margin-top:12px; color: var(--ink-soft); font-size:14.5px; line-height:1.7; }

/* ---------- CONTACT ---------- */
.contact-box{
  max-width:560px; margin:0 auto; background:white; border:1.5px solid var(--paper-line);
  border-radius:20px; padding:48px 40px; text-align:center;
}
.contact-box h3{ font-family:'Lora', serif; font-size:26px; color:var(--chalk-green); margin-bottom:10px; }
.contact-box p{ color:var(--ink-soft); margin-bottom:28px; font-size:15px; }
.format-tags{ display:flex; justify-content:center; gap:12px; margin-top:26px; flex-wrap:wrap; }
.format-tag{ font-size:13px; padding:8px 16px; border-radius:100px; background: var(--chalk-cream); color: var(--chalk-green); font-weight:500; }

.contact-methods{ display:flex; gap:20px; justify-content:center; margin-top:40px; flex-wrap:wrap; }
.contact-method{
  background:white; border:1.5px solid var(--paper-line); border-radius:16px; padding:26px 28px;
  text-align:center; width:220px;
}
.contact-method .icon{ width:48px; height:48px; margin:0 auto 12px auto; display:flex; align-items:center; justify-content:center; background: var(--chalk-cream); border-radius:50%; }
.contact-method h4{ font-size:15.5px; color: var(--chalk-green); margin-bottom:6px; }
.contact-method p{ font-size:13.5px; color: var(--ink-soft); }

/* ---------- FOOTER ---------- */
footer.site-footer{ background: var(--chalk-green-dark); color: rgba(242,239,227,0.75); padding:50px 0 26px 0; }
.footer-grid{ display:grid; grid-template-columns: 1.4fr 1fr 1fr; gap:40px; margin-bottom:36px; }
@media (max-width:700px){ .footer-grid{ grid-template-columns:1fr; gap:28px; text-align:center; } }
.footer-grid .logo{ margin-bottom:10px; }
.footer-grid p{ font-size:14px; line-height:1.7; opacity:0.8; max-width:280px; }
@media (max-width:700px){ .footer-grid p{ max-width:none; margin:0 auto; } }
.footer-col h5{ font-size:13px; letter-spacing:1.5px; text-transform:uppercase; color: var(--chalk-yellow); margin-bottom:14px; font-weight:600; }
.footer-col ul li{ margin-bottom:10px; font-size:14px; }
.footer-col ul li a:hover{ color: var(--chalk-yellow); }
.footer-bottom{ text-align:center; font-size:13px; opacity:0.55; border-top:1px solid rgba(242,239,227,0.12); padding-top:22px; }
