@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+Arabic:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');
:root{--navy:#102b46;--navy2:#173e5d;--gold:#d8ad62;--ink:#182b3c;--muted:#667789;--paper:#f6f8fa;--line:#e3e9ef}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:#fff;color:var(--ink);font-family:"Noto Sans Arabic",Inter,Arial,sans-serif;line-height:1.7}
.topbar{height:82px;padding:0 max(6%,calc((100% - 1180px)/2));display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--line);background:#fff;position:sticky;top:0;z-index:10}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--navy)}.brand-mark{width:43px;height:43px;background:var(--navy);color:var(--gold);display:grid;place-items:center;border-radius:12px;font-family:Inter,sans-serif;font-weight:800;letter-spacing:-1px}.brand strong,.brand small{display:block;line-height:1.25}.brand strong{font-size:15px}.brand small{font-family:Inter,sans-serif;font-size:11px;color:var(--muted);letter-spacing:.5px}
.desktop-nav{display:flex;gap:32px}.desktop-nav a{color:#45596b;text-decoration:none;font-size:14px}.desktop-nav a:hover{color:#b1843d}
select,input,button{font:inherit}.topbar select,.search-row select{border:1px solid var(--line);background:#fff;padding:9px 12px;border-radius:9px;color:var(--ink)}
.hero{min-height:460px;background:linear-gradient(115deg,#0d263e,#1b4868);color:white;padding:72px max(8%,calc((100% - 1100px)/2));display:flex;align-items:center;justify-content:space-between;overflow:hidden;position:relative}.hero:after{content:"";position:absolute;width:420px;height:420px;border:1px solid #ffffff15;border-radius:50%;inset-inline-end:5%;top:-170px}
.hero-content{max-width:560px;position:relative;z-index:1}.eyebrow{color:#c89b52;font-size:12px;font-weight:700;letter-spacing:.4px}.hero h1{font-size:clamp(34px,5vw,55px);line-height:1.35;margin:14px 0;color:#fff}.hero p{color:#d2dce5;max-width:470px;margin:0 0 27px;font-size:16px}.primary-btn{display:inline-flex;align-items:center;justify-content:center;background:var(--gold);color:#142b40;border:0;border-radius:9px;padding:12px 23px;text-decoration:none;font-weight:700;cursor:pointer}.primary-btn:hover{background:#e6c17e}.hero-art{width:280px;height:260px;position:relative;margin-inline-end:55px;flex-shrink:0}.book{position:absolute;width:145px;height:190px;border-radius:5px 12px 12px 5px;box-shadow:12px 14px 25px #07182780;top:34px;left:60px}.book-back{background:#b68b4d;transform:rotate(-17deg) translate(-23px,5px)}.book-mid{background:#e8e1d1;transform:rotate(11deg) translate(19px,0)}.book-front{background:linear-gradient(140deg,#f4eee1,#d9c8a8);transform:rotate(-3deg);color:#19364e;display:flex;flex-direction:column;align-items:center;justify-content:center;border-inline-start:8px solid #c7a66d}.book-front span{font:700 10px Inter;letter-spacing:2px}.book-front b{font:800 50px Inter;margin-top:20px;color:#b58b4e}.glow{position:absolute;width:260px;height:60px;background:#d8ad6240;filter:blur(35px);bottom:0}
.stats{max-width:1000px;margin:-1px auto 0;display:grid;grid-template-columns:repeat(3,1fr);background:#fff;box-shadow:0 12px 35px #18334d12;border-radius:0 0 14px 14px;padding:22px 5%}.stats div{text-align:center;border-inline-end:1px solid var(--line)}.stats div:last-child{border:0}.stats strong,.stats span{display:block}.stats strong{font:800 25px Inter;color:var(--navy)}.stats span{font-size:12px;color:var(--muted)}
.section{max-width:1100px;margin:85px auto;padding:0 24px}.section-heading{display:flex;align-items:end;justify-content:space-between;gap:20px}.section h2,.upload-section h2,.about h2{font-size:27px;color:var(--navy);margin:5px 0 20px}.section-note{font-size:12px;color:var(--muted);padding-bottom:24px}.search-row{display:flex;gap:12px;margin:25px 0}.search-row input{flex:1;min-width:0;border:1px solid var(--line);border-radius:9px;padding:12px 15px;outline:none}.search-row input:focus{border-color:#b68b4d}.book-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:16px}.empty-card{grid-column:1/-1;text-align:center;padding:44px 20px;border:1px dashed #cbd6df;border-radius:13px;background:#fbfcfd}.empty-icon{font-size:32px;color:#b68b4d}.empty-card h3{margin:8px 0 3px;color:var(--navy)}.empty-card p{margin:0;color:var(--muted);font-size:13px}
.upload-section{background:var(--paper);padding:55px max(8%,calc((100% - 1050px)/2));display:grid;grid-template-columns:1fr 360px;align-items:center;gap:55px}.upload-section p,.about p,.courses>p{color:var(--muted);font-size:14px}.upload-card{background:#fff;padding:22px;border:1px solid var(--line);border-radius:14px;box-shadow:0 8px 25px #18334d0b}.upload-drop{border:1px dashed #b9c7d3;border-radius:10px;min-height:120px;display:flex;flex-direction:column;align-items:center;justify-content:center;cursor:pointer;color:var(--navy)}.upload-icon{font-size:25px;color:#b68b4d}.upload-drop small,.file-status,.demo-warning{font-size:11px;color:var(--muted)}.file-status{text-align:center;min-height:20px}.full{width:100%}.demo-warning{display:block;margin-top:12px;text-align:center;line-height:1.6}.courses{text-align:center}.courses>p{max-width:560px;margin:0 auto 25px}.course-placeholder{border:1px solid var(--line);background:#fbfcfd;border-radius:12px;padding:25px;display:flex;flex-direction:column;align-items:center;color:var(--navy);gap:8px}.course-placeholder span{color:#bd914f;font-size:25px}.about{background:#102b46;color:white;padding:48px max(8%,calc((100% - 1050px)/2));display:flex;gap:25px;align-items:center}.about-symbol{width:74px;height:74px;flex-shrink:0;border:1px solid #d8ad62;border-radius:18px;display:grid;place-items:center;color:#d8ad62;font:800 25px Inter}.about h2{color:white;margin-bottom:8px}.about p{color:#c8d5df;margin:0;max-width:730px}footer{padding:20px 7%;display:flex;justify-content:space-between;gap:12px;color:#748393;font-size:11px}
body[dir="ltr"] .hero-art{margin-inline-start:55px;margin-inline-end:0}body[dir="ltr"] .book{left:60px}
@media(max-width:760px){.topbar{height:70px;padding:0 17px}.desktop-nav{display:none}.brand-mark{width:39px;height:39px}.hero{padding:55px 24px;min-height:390px}.hero-art{display:none}.hero h1{font-size:37px}.stats{margin:0 14px;padding:17px 4%}.section{margin:58px auto;padding:0 18px}.section-heading{display:block}.section-note{display:block;padding:0}.search-row{flex-direction:column}.book-grid{grid-template-columns:1fr}.upload-section{padding:42px 20px;grid-template-columns:1fr;gap:20px}.upload-card{max-width:100%}.about{padding:38px 22px;align-items:flex-start}.about-symbol{width:55px;height:55px;font-size:18px}footer{padding:18px;flex-direction:column;text-align:center}}
