/*
Theme Name: BestQuranTeachers
Theme URI: https://bestquranteachers.online
Author: BestQuranTeachers Academy
Author URI: https://bestquranteachers.online
Description: Premium mobile-first website theme for BestQuranTeachers.online — Online Quran Academy for Muslim families in USA & Canada. Includes all pages: Home, About, Curriculum, Teachers, Blog, FAQ with full mobile app-style navigation.
Version: 1.0.0
Requires at least: 5.8
Tested up to: 6.5
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: bestquranteachers
Tags: one-page, mobile-first, islamic, education, custom-menu, full-width-template
*/

/* ══════════════════════════════════════════
   DESIGN SYSTEM — Mobile-First Premium Islamic
   ══════════════════════════════════════════ */
:root {
  --green:       #0a6b5f;
  --green-d:     #074d44;
  --green-l:     #e8f5f2;
  --green-m:     #c2e4de;
  --gold:        #b8860b;
  --gold-l:      #fdf6e3;
  --gold-bright: #d4a017;
  --ink:         #0d1f1c;
  --ink-soft:    #2c4440;
  --muted:       #5a7570;
  --line:        #d6eae7;
  --bg:          #f8fdfb;
  --white:       #ffffff;
  --r:           14px;
  --r-lg:        22px;
  --shadow-s:    0 2px 12px rgba(10,107,95,.10);
  --shadow-m:    0 6px 28px rgba(10,107,95,.13);
  --shadow-l:    0 16px 56px rgba(10,107,95,.18);
}

*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth;-webkit-text-size-adjust:100%}
body{
  font-family:'Plus Jakarta Sans',sans-serif;
  background:var(--bg);color:var(--ink);
  line-height:1.65;overflow-x:hidden;
}
img{max-width:100%;display:block}
a{text-decoration:none;color:inherit}

/* ── TYPE ── */
.display{font-family:'Cormorant Garamond',serif;line-height:1.1}
.arabic{font-family:'Amiri',serif}

/* ── UTILS ── */
.container{width:100%;max-width:1100px;margin:0 auto;padding:0 20px}
.sr-only{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0,0,0,0)}

/* ══════════════════════════════════════════
   BOTTOM NAV — Mobile App Style
   ══════════════════════════════════════════ */
.bottom-nav{
  position:fixed;bottom:0;left:0;right:0;z-index:1000;
  background:var(--white);
  border-top:1px solid var(--line);
  display:flex;
  box-shadow:0 -4px 24px rgba(10,107,95,.10);
  padding-bottom:env(safe-area-inset-bottom);
}
.bn-item{
  flex:1;display:flex;flex-direction:column;align-items:center;
  justify-content:center;gap:3px;padding:10px 4px 8px;
  border:none;background:none;cursor:pointer;
  font-family:'Plus Jakarta Sans',sans-serif;
  font-size:10px;font-weight:600;color:var(--muted);
  letter-spacing:.3px;transition:color .2s;
  -webkit-tap-highlight-color:transparent;
}
.bn-item.active{color:var(--green)}
.bn-item svg{width:22px;height:22px;transition:transform .2s}
.bn-item.active svg{transform:scale(1.12)}
.bn-icon-trial{
  width:48px;height:48px;background:var(--green);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  margin-top:-18px;box-shadow:0 4px 16px rgba(10,107,95,.4);
  border:3px solid var(--white);
}
.bn-icon-trial svg{width:22px;height:22px;color:white}
.bn-item.trial-btn span{margin-top:4px}

/* ── TOP BAR ── */
.topbar{
  position:fixed;top:0;left:0;right:0;z-index:999;
  background:rgba(255,255,255,.96);
  backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);
  border-bottom:1px solid var(--line);
  height:60px;
  display:flex;align-items:center;justify-content:space-between;
  padding:0 18px;
  transition:box-shadow .3s;
}
.topbar.scrolled{box-shadow:var(--shadow-s)}
.logo{display:flex;align-items:center;gap:10px}
.logo-mark{
  width:38px;height:38px;background:var(--green);
  border-radius:10px;display:flex;align-items:center;justify-content:center;
  font-family:'Amiri',serif;font-size:20px;color:white;font-weight:700;
  flex-shrink:0;
}
.logo-text{line-height:1.15}
.logo-text .l1{font-family:'Cormorant Garamond',serif;font-size:16px;font-weight:700;color:var(--ink)}
.logo-text .l2{font-size:10px;color:var(--green);font-weight:600;letter-spacing:.5px}
.topbar-cta{
  background:var(--green);color:white;
  padding:8px 16px;border-radius:50px;
  font-size:12px;font-weight:700;
  white-space:nowrap;
  box-shadow:0 3px 12px rgba(10,107,95,.3);
}

/* ══════════════════════════════════════════
   PAGE SYSTEM
   ══════════════════════════════════════════ */
.page{display:none;padding-top:60px;padding-bottom:80px;min-height:100vh}
.page.active{display:block}

/* ══════════════════════════════════════════
   HERO
   ══════════════════════════════════════════ */
.hero{
  background:linear-gradient(160deg,#062e28 0%,#0a6b5f 55%,#0d8f7f 100%);
  padding:44px 20px 52px;
  position:relative;overflow:hidden;
}
.hero::before{
  content:'';position:absolute;inset:0;
  background:url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M50 50c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10s-10-4.477-10-10 4.477-10 10-10zM10 10c0-5.523 4.477-10 10-10s10 4.477 10 10-4.477 10-10 10c0 5.523-4.477 10-10 10S0 25.523 0 20s4.477-10 10-10z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-arabic{
  font-family:'Amiri',serif;font-size:28px;color:rgba(255,255,255,.25);
  text-align:center;margin-bottom:20px;letter-spacing:4px;
}
.hero-badge{
  display:inline-flex;align-items:center;gap:7px;
  background:rgba(255,255,255,.12);border:1px solid rgba(255,255,255,.2);
  border-radius:50px;padding:5px 14px 5px 8px;
  font-size:12px;color:rgba(255,255,255,.9);font-weight:600;
  margin-bottom:18px;
}
.pulse-dot{width:8px;height:8px;background:#4ade80;border-radius:50%;animation:pulse 2s infinite}
@keyframes pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.7;transform:scale(1.3)}}

.hero h1{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(34px,8vw,52px);
  color:white;line-height:1.12;
  margin-bottom:16px;
}
.hero h1 em{color:#7edfd4;font-style:normal}
.hero-sub{
  font-size:15px;color:rgba(255,255,255,.78);
  line-height:1.75;margin-bottom:28px;max-width:480px;
}
.hero-btns{display:flex;flex-direction:column;gap:12px;margin-bottom:36px}
.btn-hero-primary{
  background:white;color:var(--green);
  padding:16px 24px;border-radius:var(--r);
  font-size:15px;font-weight:700;
  display:flex;align-items:center;justify-content:center;gap:8px;
  box-shadow:0 4px 20px rgba(0,0,0,.15);
  border:none;cursor:pointer;width:100%;
  font-family:'Plus Jakarta Sans',sans-serif;
  transition:transform .2s,box-shadow .2s;
  -webkit-tap-highlight-color:transparent;
}
.btn-hero-primary:active{transform:scale(.98)}
.btn-hero-secondary{
  background:rgba(255,255,255,.12);color:white;
  padding:15px 24px;border-radius:var(--r);
  font-size:15px;font-weight:600;
  display:flex;align-items:center;justify-content:center;gap:8px;
  border:1.5px solid rgba(255,255,255,.3);
  cursor:pointer;width:100%;
  font-family:'Plus Jakarta Sans',sans-serif;
  transition:background .2s;
  -webkit-tap-highlight-color:transparent;
}
.btn-hero-secondary:active{background:rgba(255,255,255,.2)}

/* Stats row */
.hero-stats{
  display:grid;grid-template-columns:repeat(3,1fr);
  gap:1px;background:rgba(255,255,255,.15);
  border-radius:var(--r);overflow:hidden;
}
.hero-stat{
  background:rgba(255,255,255,.08);
  padding:14px 8px;text-align:center;
}
.hero-stat .num{
  font-family:'Cormorant Garamond',serif;
  font-size:26px;font-weight:700;color:white;line-height:1;
}
.hero-stat .lbl{font-size:10px;color:rgba(255,255,255,.65);margin-top:3px;font-weight:600}

/* ── TRUST STRIP ── */
.trust-strip{
  background:var(--ink);
  padding:18px 20px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  scrollbar-width:none;
}
.trust-strip::-webkit-scrollbar{display:none}
.trust-inner{
  display:flex;gap:24px;width:max-content;
  align-items:center;
}
.trust-item{
  display:flex;align-items:center;gap:8px;
  white-space:nowrap;color:rgba(255,255,255,.8);
  font-size:12px;font-weight:600;
}
.trust-item .ti{font-size:16px}
.trust-dot{width:4px;height:4px;background:rgba(255,255,255,.3);border-radius:50%;flex-shrink:0}

/* ══════════════════════════════════════════
   SECTIONS
   ══════════════════════════════════════════ */
section{padding:48px 20px}
.sec-label{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--green-l);border:1px solid var(--green-m);
  border-radius:50px;padding:5px 14px;
  font-size:11px;font-weight:700;color:var(--green);
  letter-spacing:1.2px;text-transform:uppercase;
  margin-bottom:14px;
}
.sec-title{
  font-family:'Cormorant Garamond',serif;
  font-size:clamp(26px,6vw,40px);
  color:var(--ink);line-height:1.15;margin-bottom:12px;
}
.sec-sub{font-size:15px;color:var(--muted);line-height:1.75;margin-bottom:32px}

/* ── GREEN BUTTONS ── */
.btn-green{
  background:var(--green);color:white;
  padding:15px 24px;border-radius:var(--r);
  font-size:15px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:none;cursor:pointer;width:100%;
  font-family:'Plus Jakarta Sans',sans-serif;
  box-shadow:var(--shadow-s);
  transition:background .2s,transform .15s;
  -webkit-tap-highlight-color:transparent;
}
.btn-green:active{transform:scale(.98);background:var(--green-d)}
.btn-outline{
  background:transparent;color:var(--green);
  padding:14px 24px;border-radius:var(--r);
  font-size:15px;font-weight:700;
  display:inline-flex;align-items:center;justify-content:center;gap:8px;
  border:2px solid var(--green);cursor:pointer;width:100%;
  font-family:'Plus Jakarta Sans',sans-serif;
  transition:background .2s;
  -webkit-tap-highlight-color:transparent;
}
.btn-outline:active{background:var(--green-l)}

/* ── CARD ── */
.card{
  background:white;border-radius:var(--r-lg);
  border:1px solid var(--line);
  overflow:hidden;
  box-shadow:var(--shadow-s);
}

/* ══════════════════════════════════════════
   WHY US — ICON CARDS
   ══════════════════════════════════════════ */
.why-grid{display:flex;flex-direction:column;gap:14px;margin-bottom:32px}
.why-card{
  background:white;border-radius:var(--r);
  border:1px solid var(--line);
  padding:20px;
  display:flex;align-items:flex-start;gap:16px;
  box-shadow:var(--shadow-s);
  transition:transform .2s,box-shadow .2s;
}
.why-card:active{transform:scale(.99)}
.why-icon{
  width:48px;height:48px;border-radius:12px;
  background:var(--green-l);
  display:flex;align-items:center;justify-content:center;
  font-size:22px;flex-shrink:0;
}
.why-card h3{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:5px}
.why-card p{font-size:13px;color:var(--muted);line-height:1.6}

/* ══════════════════════════════════════════
   PAIN/SOLUTION
   ══════════════════════════════════════════ */
.compare-tabs{display:flex;gap:0;background:var(--line);border-radius:var(--r);padding:4px;margin-bottom:20px}
.compare-tab{
  flex:1;padding:10px 8px;border-radius:10px;
  text-align:center;font-size:13px;font-weight:700;
  border:none;background:none;cursor:pointer;
  transition:all .2s;color:var(--muted);
  font-family:'Plus Jakarta Sans',sans-serif;
}
.compare-tab.active{background:white;color:var(--green);box-shadow:var(--shadow-s)}
.compare-list{display:none;flex-direction:column;gap:10px}
.compare-list.active{display:flex}
.compare-item{
  display:flex;align-items:flex-start;gap:12px;
  background:white;border-radius:var(--r);
  padding:14px 16px;border:1px solid var(--line);
}
.compare-icon{width:24px;height:24px;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:12px;flex-shrink:0;margin-top:1px;font-weight:700}
.compare-icon.x{background:#fee2e2;color:#dc2626}
.compare-icon.check{background:#dcfce7;color:#16a34a}
.compare-item p{font-size:14px;color:var(--ink-soft);line-height:1.55}

/* ══════════════════════════════════════════
   CURRICULUM — TIMELINE
   ══════════════════════════════════════════ */
.curr-timeline{position:relative;padding-left:28px}
.curr-timeline::before{
  content:'';position:absolute;left:10px;top:0;bottom:0;
  width:2px;background:linear-gradient(to bottom,var(--green),var(--gold-bright));
}
.curr-step{position:relative;margin-bottom:28px}
.curr-step:last-child{margin-bottom:0}
.curr-dot{
  position:absolute;left:-28px;top:0;
  width:22px;height:22px;border-radius:50%;
  background:var(--green);border:3px solid white;
  box-shadow:0 0 0 2px var(--green);
  display:flex;align-items:center;justify-content:center;
  font-size:10px;font-weight:800;color:white;
}
.curr-dot.gold{background:var(--gold-bright);box-shadow:0 0 0 2px var(--gold-bright)}
.curr-card{
  background:white;border-radius:var(--r);
  border:1px solid var(--line);
  padding:18px 16px;
  box-shadow:var(--shadow-s);
}
.curr-stage{font-size:10px;font-weight:700;color:var(--green);letter-spacing:1.2px;text-transform:uppercase;margin-bottom:6px}
.curr-card h3{font-size:16px;font-weight:700;color:var(--ink);margin-bottom:8px}
.curr-card p{font-size:13px;color:var(--muted);line-height:1.65;margin-bottom:12px}
.curr-tags{display:flex;flex-wrap:wrap;gap:6px}
.curr-tag{
  background:var(--green-l);border:1px solid var(--green-m);
  border-radius:50px;padding:3px 10px;
  font-size:11px;color:var(--green);font-weight:600;
}
.milestone{
  display:inline-flex;align-items:center;gap:6px;
  background:var(--green);color:white;
  border-radius:50px;padding:5px 12px;
  font-size:11px;font-weight:700;margin-top:10px;
}

/* ══════════════════════════════════════════
   TEACHERS
   ══════════════════════════════════════════ */
.teacher-scroll{
  display:flex;gap:14px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding-bottom:8px;margin:-4px -20px;padding-left:20px;padding-right:20px;
  scrollbar-width:none;
}
.teacher-scroll::-webkit-scrollbar{display:none}
.teacher-card{
  background:white;border-radius:var(--r-lg);
  border:1px solid var(--line);
  min-width:240px;max-width:260px;
  overflow:hidden;box-shadow:var(--shadow-s);flex-shrink:0;
}
.teacher-photo{
  height:140px;
  display:flex;align-items:center;justify-content:center;
  font-size:56px;position:relative;
}
.tc-p1{background:linear-gradient(135deg,#e8f5f2,#c2e4de)}
.tc-p2{background:linear-gradient(135deg,#e8eef5,#c9d8e8)}
.tc-p3{background:linear-gradient(135deg,#fdf6e3,#f5e0a8)}
.female-badge{
  position:absolute;top:10px;right:10px;
  background:var(--gold-bright);color:white;
  border-radius:50px;padding:3px 9px;font-size:10px;font-weight:700;
}
.teacher-body{padding:16px}
.teacher-body h3{font-size:15px;font-weight:700;color:var(--ink);margin-bottom:3px}
.teacher-role{font-size:11px;color:var(--green);font-weight:700;margin-bottom:10px;letter-spacing:.3px}
.teacher-body p{font-size:12px;color:var(--muted);line-height:1.6;margin-bottom:12px}
.teacher-tags{display:flex;flex-wrap:wrap;gap:5px}
.teacher-tag{background:var(--bg);border:1px solid var(--line);border-radius:50px;padding:2px 8px;font-size:10px;color:var(--muted)}

/* Screening steps */
.screen-steps{display:flex;flex-direction:column;gap:12px;margin-top:24px}
.screen-step{
  display:flex;gap:14px;align-items:flex-start;
  background:white;border-radius:var(--r);
  padding:16px;border:1px solid var(--line);
}
.screen-num{
  width:32px;height:32px;background:var(--green-l);
  border-radius:8px;display:flex;align-items:center;justify-content:center;
  font-weight:800;font-size:13px;color:var(--green);flex-shrink:0;
}
.screen-step h4{font-size:14px;font-weight:700;color:var(--ink);margin-bottom:4px}
.screen-step p{font-size:12px;color:var(--muted);line-height:1.55}

/* Female guarantee box */
.female-box{
  background:linear-gradient(135deg,var(--green),var(--green-d));
  border-radius:var(--r-lg);padding:28px 20px;
  text-align:center;margin-top:28px;
}
.female-box h3{font-family:'Cormorant Garamond',serif;font-size:24px;color:white;margin-bottom:10px}
.female-box p{font-size:14px;color:rgba(255,255,255,.82);line-height:1.7;margin-bottom:20px}
.btn-white{
  background:white;color:var(--green);
  padding:13px 24px;border-radius:var(--r);
  font-size:14px;font-weight:700;
  display:inline-flex;align-items:center;gap:8px;
  border:none;cursor:pointer;
  font-family:'Plus Jakarta Sans',sans-serif;
  -webkit-tap-highlight-color:transparent;
}

/* ══════════════════════════════════════════
   TESTIMONIALS
   ══════════════════════════════════════════ */
#page-home .testimonials-section{background:var(--ink);padding:48px 20px}
.testi-scroll{
  display:flex;gap:14px;
  overflow-x:auto;-webkit-overflow-scrolling:touch;
  padding-bottom:8px;margin:0 -20px;padding-left:20px;padding-right:20px;
  scrollbar-width:none;
}
.testi-scroll::-webkit-scrollbar{display:none}
.testi-card{
  background:rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:var(--r-lg);padding:22px;
  min-width:280px;max-width:300px;flex-shrink:0;
}
.testi-stars{color:var(--gold-bright);font-size:14px;letter-spacing:2px;margin-bottom:12px}
.testi-text{font-size:14px;color:rgba(255,255,255,.82);line-height:1.75;font-style:italic;margin-bottom:16px}
.testi-author{display:flex;align-items:center;gap:10px}
.testi-av{width:36px;height:36px;background:var(--green);border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:14px;font-weight:700;color:white;flex-shrink:0}
.testi-name{font-size:13px;font-weight:700;color:white}
.testi-loc{font-size:11px;color:rgba(255,255,255,.45)}

/* ══════════════════════════════════════════
   FREE TRIAL FORM
   ══════════════════════════════════════════ */
.trial-section{background:var(--green);padding:48px 20px}
.trial-section .sec-label{background:rgba(255,255,255,.15);color:white;border-color:rgba(255,255,255,.2)}
.trial-section .sec-title{color:white}
.trial-section .sec-sub{color:rgba(255,255,255,.78)}
.trial-perks{display:flex;flex-direction:column;gap:10px;margin-bottom:28px}
.trial-perk{
  display:flex;align-items:center;gap:10px;
  font-size:13px;color:rgba(255,255,255,.9);
}
.trial-perk::before{
  content:'✓';width:22px;height:22px;background:rgba(255,255,255,.15);
  border-radius:50%;display:flex;align-items:center;justify-content:center;
  font-size:11px;font-weight:800;flex-shrink:0;
}
.form-box{
  background:white;border-radius:var(--r-lg);
  padding:24px 20px;box-shadow:var(--shadow-l);
}
.form-box h3{font-size:18px;font-weight:700;color:var(--ink);margin-bottom:20px}
.form-group{margin-bottom:14px}
.form-group label{display:block;font-size:12px;font-weight:700;color:var(--ink-soft);margin-bottom:6px;letter-spacing:.3px}
.form-group input,.form-group select{
  width:100%;padding:13px 14px;
  border:1.5px solid var(--line);border-radius:var(--r);
  font-family:'Plus Jakarta Sans',sans-serif;
  font-size:14px;color:var(--ink);background:var(--bg);
  -webkit-appearance:none;appearance:none;outline:none;
  transition:border-color .2s,background .2s;
}
.form-group input:focus,.form-group select:focus{
  border-color:var(--green);background:white;
}
.form-note{font-size:11px;color:var(--muted);text-align:center;margin-top:12px;line-height:1.5}
#form-success{
  display:none;text-align:center;padding:20px;
}
#form-success .check{font-size:48px;margin-bottom:12px}
#form-success h4{font-size:18px;font-weight:700;color:var(--green);margin-bottom:8px}
#form-success p{font-size:14px;color:var(--muted)}

/* ══════════════════════════════════════════
   FAQ
   ══════════════════════════════════════════ */
.faq-list{display:flex;flex-direction:column;gap:10px}
.faq-item{background:white;border-radius:var(--r);border:1px solid var(--line);overflow:hidden}
.faq-q{
  width:100%;padding:16px 18px;
  display:flex;justify-content:space-between;align-items:center;
  font-size:14px;font-weight:700;color:var(--ink);
  text-align:left;background:none;border:none;cursor:pointer;
  font-family:'Plus Jakarta Sans',sans-serif;
  gap:12px;-webkit-tap-highlight-color:transparent;
}
.faq-arrow{
  width:24px;height:24px;background:var(--green-l);border-radius:50%;
  display:flex;align-items:center;justify-content:center;
  flex-shrink:0;transition:transform .3s,background .2s;
  font-size:14px;color:var(--green);
}
.faq-q.open .faq-arrow{transform:rotate(45deg);background:var(--green);color:white}
.faq-a{
  display:none;padding:0 18px 16px;
  font-size:13px;color:var(--muted);line-height:1.75;
}
.faq-a.open{display:block}

/* ══════════════════════════════════════════
   ABOUT
   ══════════════════════════════════════════ */
.about-hero{
  background:linear-gradient(135deg,#062e28,#0a6b5f);
  padding:44px 20px;text-align:center;
}
.about-arabic{font-family:'Amiri',serif;font-size:36px;color:rgba(255,255,255,.2);margin-bottom:12px}
.about-hero h1{font-family:'Cormorant Garamond',serif;font-size:30px;color:white;margin-bottom:12px;line-height:1.2}
.about-hero p{font-size:14px;color:rgba(255,255,255,.75);line-height:1.75}
.story-card{
  background:white;border-radius:var(--r-lg);
  padding:24px 20px;margin:24px 20px;
  border:1px solid var(--line);box-shadow:var(--shadow-s);
}
.story-card h2{font-family:'Cormorant Garamond',serif;font-size:24px;color:var(--ink);margin-bottom:14px}
.story-card p{font-size:14px;color:var(--muted);line-height:1.8;margin-bottom:14px}
.story-card p:last-child{margin-bottom:0}
.values-grid{display:grid;grid-template-columns:1fr 1fr;gap:12px;padding:0 20px;margin-bottom:24px}
.value-card{
  background:white;border-radius:var(--r);
  padding:16px 14px;border:1px solid var(--line);
}
.value-icon{font-size:22px;margin-bottom:8px}
.value-card h4{font-size:13px;font-weight:700;color:var(--ink);margin-bottom:4px}
.value-card p{font-size:11px;color:var(--muted);line-height:1.5}
.mission-box{
  background:var(--green-l);border:1px solid var(--green-m);
  border-radius:var(--r-lg);padding:28px 20px;
  margin:0 20px 24px;text-align:center;
}
.mission-box h2{font-family:'Cormorant Garamond',serif;font-size:22px;color:var(--ink);margin-bottom:14px}
.mission-box p{font-family:'Cormorant Garamond',serif;font-size:18px;color:var(--green);line-height:1.65;font-style:italic}

/* ══════════════════════════════════════════
   BLOG
   ══════════════════════════════════════════ */
.blog-grid{display:flex;flex-direction:column;gap:14px}
.blog-card{
  background:white;border-radius:var(--r-lg);
  border:1px solid var(--line);overflow:hidden;
  box-shadow:var(--shadow-s);
  display:flex;flex-direction:column;
}
.blog-thumb{
  height:120px;display:flex;align-items:center;justify-content:center;font-size:44px;
}
.bt1{background:linear-gradient(135deg,#e8f5f2,#c2e4de)}
.bt2{background:linear-gradient(135deg,#fdf6e3,#f0dea0)}
.bt3{background:linear-gradient(135deg,#e8eef8,#c9d8f0)}
.blog-body{padding:18px 16px}
.blog-cat{font-size:10px;font-weight:700;color:var(--green);letter-spacing:1.5px;text-transform:uppercase;margin-bottom:8px}
.blog-body h3{font-size:15px;font-weight:700;color:var(--ink);line-height:1.4;margin-bottom:8px}
.blog-body p{font-size:13px;color:var(--muted);line-height:1.6;margin-bottom:14px}
.blog-read{
  display:inline-flex;align-items:center;gap:6px;
  font-size:13px;font-weight:700;color:var(--green);
  background:var(--green-l);border:1px solid var(--green-m);
  border-radius:50px;padding:7px 16px;
  cursor:pointer;border-bottom:none;
  -webkit-tap-highlight-color:transparent;
}

/* Resources box */
.resources-box{
  background:linear-gradient(135deg,var(--gold-l),#fef9ec);
  border:1px solid #e8d5a0;border-radius:var(--r-lg);
  padding:28px 20px;margin-top:24px;text-align:center;
}
.resources-box h3{font-family:'Cormorant Garamond',serif;font-size:24px;color:var(--ink);margin-bottom:10px}
.resources-box p{font-size:14px;color:var(--muted);margin-bottom:20px;line-height:1.65}
.pdf-btns{display:flex;flex-direction:column;gap:10px}
.btn-gold{
  background:var(--gold);color:white;
  padding:14px 20px;border-radius:var(--r);
  font-size:14px;font-weight:700;
  display:flex;align-items:center;justify-content:center;gap:8px;
  border:none;cursor:pointer;width:100%;
  font-family:'Plus Jakarta Sans',sans-serif;
  -webkit-tap-highlight-color:transparent;
}
.btn-gold-outline{
  background:transparent;color:var(--gold);
  padding:13px 20px;border-radius:var(--r);
  font-size:14px;font-weight:700;
  display:flex;align-items:center;justify-content:center;gap:8px;
  border:2px solid var(--gold);cursor:pointer;width:100%;
  font-family:'Plus Jakarta Sans',sans-serif;
  -webkit-tap-highlight-color:transparent;
}

/* ══════════════════════════════════════════
   ARTICLE MODAL
   ══════════════════════════════════════════ */
#articleModal{
  display:none;position:fixed;inset:0;z-index:2000;
  background:rgba(13,31,28,.85);
  overflow-y:auto;-webkit-overflow-scrolling:touch;
}
.article-inner{
  background:white;min-height:100vh;
  max-width:680px;margin:0 auto;
}
.article-header{
  background:linear-gradient(135deg,var(--green),var(--green-d));
  padding:20px 20px 24px;
  position:sticky;top:0;z-index:10;
}
.article-back{
  display:flex;align-items:center;gap:8px;
  color:rgba(255,255,255,.8);font-size:13px;font-weight:600;
  background:rgba(255,255,255,.12);border:none;
  border-radius:50px;padding:7px 14px;
  cursor:pointer;font-family:'Plus Jakarta Sans',sans-serif;
  margin-bottom:16px;-webkit-tap-highlight-color:transparent;
}
.article-cat{font-size:11px;font-weight:700;color:rgba(255,255,255,.7);letter-spacing:1.2px;text-transform:uppercase;margin-bottom:8px}
.article-header h1{font-family:'Cormorant Garamond',serif;font-size:clamp(22px,5vw,30px);color:white;line-height:1.2}
.article-body{padding:28px 20px;font-size:15px;color:var(--ink-soft);line-height:1.85}
.article-body h3{font-family:'Cormorant Garamond',serif;font-size:22px;color:var(--ink);margin:28px 0 10px}
.article-body p{margin-bottom:16px}
.article-body strong{color:var(--green);font-weight:700}
.article-body em{color:var(--ink);font-style:italic}
.article-cta{padding:20px;border-top:1px solid var(--line)}

/* ══════════════════════════════════════════
   FOOTER
   ══════════════════════════════════════════ */
footer{
  background:var(--ink);
  padding:40px 20px 20px;
}
.footer-logo{display:flex;align-items:center;gap:10px;margin-bottom:14px}
.footer-logo .logo-mark{background:var(--green-d)}
.footer-logo .l1{color:white}
.footer-logo .l2{color:rgba(255,255,255,.5)}
footer>div>p{font-size:13px;color:rgba(255,255,255,.55);line-height:1.7;margin-bottom:24px;max-width:340px}
.footer-links{display:grid;grid-template-columns:1fr 1fr;gap:24px;margin-bottom:32px}
.footer-col h4{font-size:12px;font-weight:700;color:rgba(255,255,255,.4);letter-spacing:1.2px;text-transform:uppercase;margin-bottom:12px}
.footer-col a{display:block;font-size:13px;color:rgba(255,255,255,.65);margin-bottom:10px;transition:color .2s;cursor:pointer}
.footer-col a:hover{color:white}
.footer-bottom{
  border-top:1px solid rgba(255,255,255,.08);
  padding-top:20px;
  font-size:11px;color:rgba(255,255,255,.35);
  line-height:1.7;
}

/* ══════════════════════════════════════════
   DESKTOP ENHANCEMENTS
   ══════════════════════════════════════════ */
@media(min-width:768px){
  .bottom-nav{display:none}
  .topbar{height:70px;padding:0 40px}
  .topbar-cta{padding:10px 22px;font-size:13px}
  .logo-text .l1{font-size:18px}
  .logo-mark{width:42px;height:42px}

  /* Desktop top nav links */
  .desktop-nav{display:flex;align-items:center;gap:28px}
  .desktop-nav a{font-size:14px;font-weight:600;color:var(--ink-soft);cursor:pointer;transition:color .2s;position:relative}
  .desktop-nav a:hover{color:var(--green)}
  .desktop-nav a::after{content:'';position:absolute;bottom:-3px;left:0;right:0;height:2px;background:var(--green);transform:scaleX(0);transition:transform .2s}
  .desktop-nav a:hover::after,.desktop-nav a.active::after{transform:scaleX(1)}
  .desktop-nav a.active{color:var(--green)}

  .page{padding-top:70px;padding-bottom:0}
  section{padding:72px 40px}
  .container{padding:0 40px}

  /* Hero desktop */
  .hero{padding:80px 40px 80px;display:grid;grid-template-columns:1fr 1fr;gap:60px;align-items:center}
  .hero-left{}
  .hero-btns{flex-direction:row}
  .btn-hero-primary,.btn-hero-secondary{width:auto;padding:15px 28px}
  .hero-right{display:block}
  .hero-stats{margin-top:0}
  .hero-arabic{text-align:left}

  /* Grids */
  .why-grid{display:grid;grid-template-columns:1fr 1fr;gap:16px}
  .blog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:16px}
  .values-grid{grid-template-columns:repeat(3,1fr)}
  .pdf-btns{flex-direction:row}
  .btn-gold,.btn-gold-outline{width:auto}

  /* Teacher scroll → grid on desktop */
  .teacher-scroll{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible;margin:0;padding:0}
  .teacher-card{min-width:auto;max-width:none}

  /* Testi scroll → grid */
  .testi-scroll{display:grid;grid-template-columns:repeat(3,1fr);overflow:visible;margin:0;padding:0}
  .testi-card{min-width:auto;max-width:none}

  /* Trial form side by side */
  .trial-inner{display:grid;grid-template-columns:1fr 1fr;gap:48px;align-items:start;max-width:960px;margin:0 auto}

  .article-inner{border-radius:0}

  footer{padding:60px 40px 32px}
  .footer-links{grid-template-columns:repeat(4,1fr);gap:32px}
  .footer-links>*{grid-column:span 1}
}

@media(min-width:1024px){
  .blog-grid{grid-template-columns:repeat(3,1fr)}
  .why-grid{grid-template-columns:repeat(3,1fr)}
}

/* Desktop nav show/hide */
.desktop-nav{display:none}
@media(min-width:768px){.desktop-nav{display:flex}}

/* ══════════════════════════════════════════
   ANIMATIONS
   ══════════════════════════════════════════ */
.fade-up{opacity:0;transform:translateY(24px);transition:opacity .6s ease,transform .6s ease}
.fade-up.visible{opacity:1;transform:translateY(0)}

/* Scroll indicator */
.scroll-hint{
  display:flex;align-items:center;gap:6px;
  font-size:11px;color:rgba(255,255,255,.5);
  margin-top:8px;
}
.scroll-hint-arrow{animation:scrollRight 1.5s infinite}
@keyframes scrollRight{0%,100%{transform:translateX(0)}50%{transform:translateX(5px)}}