:root{--purple:#6736e5;--purple2:#8b5cf6;--navy:#111827;--text:#20233a;--muted:#697386;--mint:#20c7a9;--soft:#f7f5ff;--border:#e9e7f2;--shadow:0 14px 40px rgba(44,35,95,.10)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;font-family:'Alexandria','Tajawal',sans-serif;color:var(--text);background:#fff;line-height:1.75}a{text-decoration:none;color:inherit}img{max-width:100%;height:auto}.container{width:min(1180px,calc(100% - 40px));margin:auto}.site-header{position:sticky;top:0;z-index:100;background:rgba(255,255,255,.95);backdrop-filter:blur(12px);border-bottom:1px solid rgba(232,230,242,.8);transition:.25s}.site-header.scrolled{box-shadow:0 10px 30px rgba(23,20,52,.08)}.header-inner{height:82px;display:flex;align-items:center;gap:30px}.brand{display:flex;align-items:center;gap:10px;margin-left:auto}.brand-mark{width:47px;height:47px;border-radius:16px;background:linear-gradient(145deg,var(--purple),#9b74ff);color:white;display:grid;place-items:center;box-shadow:0 9px 24px rgba(103,54,229,.25);transform:rotate(4deg)}.brand-mark span{font-size:25px;font-weight:800;transform:rotate(-4deg)}.brand-copy{display:flex;flex-direction:column;line-height:1.25}.brand-copy strong{font-size:21px}.brand-copy small{color:var(--muted);font-size:10px}.main-nav ul{list-style:none;display:flex;gap:28px;margin:0;padding:0}.main-nav a{font-size:14px;font-weight:600;position:relative}.main-nav a:hover,.main-nav .current-menu-item>a{color:var(--purple)}.main-nav .current-menu-item>a:after{content:"";position:absolute;right:0;left:0;bottom:-14px;height:3px;border-radius:3px;background:var(--purple)}.header-actions{display:flex;gap:10px}.icon-btn,.outline-btn{border:1px solid #dcd9ea;border-radius:10px;padding:10px 16px;background:#fff;font-weight:600}.primary-btn{display:inline-flex;align-items:center;justify-content:center;gap:12px;padding:13px 25px;border-radius:10px;color:#fff;background:linear-gradient(135deg,var(--purple),#7748ee);font-weight:700;box-shadow:0 10px 24px rgba(103,54,229,.24)}.primary-btn.small{padding:10px 18px;font-size:14px}.menu-toggle{display:none;border:0;background:none;font-size:28px}.hero{background:radial-gradient(circle at 20% 40%,#e9ddff 0,transparent 36%),linear-gradient(120deg,#faf9ff,#f3efff);overflow:hidden}.hero-grid{min-height:510px;display:grid;grid-template-columns:1fr 1.05fr;align-items:center;gap:55px}.hero-copy h1{font-size:58px;line-height:1.25;margin:12px 0 18px;color:#10152d}.hero-copy h1 span{color:var(--purple)}.hero-copy p{font-size:18px;color:var(--muted);max-width:570px}.eyebrow,.section-kicker{display:inline-block;color:var(--purple);font-size:13px;font-weight:700;background:#eee8ff;padding:7px 12px;border-radius:999px}.hero-actions{display:flex;gap:14px;margin-top:28px}.outline-btn{display:inline-flex;align-items:center;gap:10px}.outline-btn i{width:26px;height:26px;border:1px solid var(--purple);color:var(--purple);border-radius:50%;display:grid;place-items:center;font-style:normal;font-size:10px}.hero-visual{position:relative;height:500px;display:grid;place-items:end center}.hero-image{width:100%;height:100%;display:flex;align-items:end;justify-content:center}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:center;border-radius:0 0 0 80px;mix-blend-mode:multiply}.float-card{position:absolute;background:rgba(255,255,255,.94);border:1px solid rgba(255,255,255,.8);border-radius:16px;box-shadow:var(--shadow);padding:15px 17px;display:flex;gap:10px;align-items:center}.float-card small{display:block;color:var(--muted);font-size:10px}.float-card strong{font-size:13px}.rating{right:0;bottom:75px;display:block}.certificate{left:10px;top:70px}.avatars{display:flex;margin-top:9px}.avatars span,.avatars b{width:24px;height:24px;border-radius:50%;background:#a78bfa;border:2px solid #fff;margin-left:-7px}.avatars span:nth-child(2){background:#34d399}.avatars span:nth-child(3){background:#f59e0b}.avatars b{display:grid;place-items:center;background:var(--purple);color:white;font-size:12px}.search-strip{padding:22px 0;background:white}.search-row{display:flex;align-items:center;justify-content:center;gap:45px}.search-row h3{margin:0;font-size:16px}.search-row p{margin:0;color:var(--muted);font-size:11px}.course-search{width:min(620px,100%);height:52px;display:flex;border:1px solid var(--border);border-radius:12px;box-shadow:0 8px 24px rgba(30,20,80,.07);overflow:hidden}.course-search input{flex:1;border:0;padding:0 18px;font-family:inherit;outline:0}.course-search select{border:0;border-right:1px solid var(--border);padding:0 15px;background:white;color:var(--muted)}.course-search button{width:55px;border:0;background:var(--purple);color:white;font-size:25px}.stats{padding:0 0 35px}.stats-grid{display:grid;grid-template-columns:repeat(4,1fr);background:#fff;border:1px solid var(--border);border-radius:15px;box-shadow:var(--shadow);padding:18px 0}.stats-grid>div{display:grid;grid-template-columns:50px 1fr;grid-template-rows:auto auto;align-items:center;padding:4px 36px;border-left:1px solid var(--border)}.stats-grid>div:last-child{border:0}.stats-grid span{grid-row:1/3;width:48px;height:48px;border-radius:50%;background:#f0eaff;display:grid;place-items:center;font-size:22px}.stats-grid strong{font-size:20px;color:var(--purple)}.stats-grid small{color:var(--muted)}.section{padding:80px 0}.section-heading{display:flex;align-items:end;justify-content:space-between;margin-bottom:28px}.section-heading h2,.why-title h2{font-size:36px;line-height:1.35;margin:12px 0 0}.section-heading>a{color:var(--purple);font-size:14px}.filters{display:flex;gap:12px;margin-bottom:25px}.filters button{border:1px solid var(--border);padding:9px 20px;border-radius:999px;background:#fff;font-family:inherit}.filters .active{background:var(--purple);color:#fff;border-color:var(--purple)}.course-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:20px}.course-card{border:1px solid var(--border);border-radius:15px;background:#fff;overflow:hidden;box-shadow:0 7px 20px rgba(21,18,55,.05);transition:.25s}.course-card:hover{transform:translateY(-7px);box-shadow:var(--shadow)}.course-thumb{height:170px;display:block;position:relative;overflow:hidden;background:#eee}.course-thumb img{width:100%;height:100%;object-fit:cover;transition:.35s}.course-card:hover .course-thumb img{transform:scale(1.05)}.course-thumb span{position:absolute;right:10px;top:10px;padding:3px 9px;background:var(--mint);color:#fff;border-radius:999px;font-size:9px}.course-thumb b{position:absolute;left:12px;top:9px;color:#fff;font-size:24px;text-shadow:0 2px 8px #000}.course-body{padding:17px}.course-rating{font-size:11px;color:#5a5f72}.course-body h3{font-size:16px;line-height:1.5;margin:8px 0}.course-body p{font-size:12px;color:var(--muted);min-height:44px}.course-meta{border-top:1px solid var(--border);padding-top:12px;display:flex;justify-content:space-between}.course-meta span{color:var(--purple);font-weight:800}.course-meta small{color:var(--muted)}.why{background:#fcfbff}.why-grid{display:grid;grid-template-columns:260px 1fr;gap:60px;align-items:center}.feature-grid{display:grid;grid-template-columns:repeat(5,1fr);gap:15px}.feature-grid article{text-align:center;padding:10px 14px;border-left:1px solid var(--border)}.feature-grid article:last-child{border:0}.feature-grid i{font-style:normal;width:48px;height:48px;border-radius:16px;background:#eee9ff;color:var(--purple);display:grid;place-items:center;margin:auto;font-size:22px}.feature-grid h3{font-size:13px}.feature-grid p{font-size:10px;color:var(--muted)}.testimonial-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.testimonial-grid article{border:1px solid var(--border);border-radius:15px;padding:25px;background:#fff;box-shadow:0 8px 25px rgba(20,18,60,.04)}blockquote{margin:0 0 20px;font-size:15px;font-weight:600}.testimonial-grid article>div{display:grid;grid-template-columns:40px 1fr;align-items:center}.testimonial-grid small{grid-column:2;color:#f59e0b}.person{width:38px;height:38px;border-radius:50%;background:linear-gradient(135deg,#c4b5fd,#5b21b6);grid-row:1/3}.p2{background:linear-gradient(135deg,#99f6e4,#0f766e)}.p3{background:linear-gradient(135deg,#fde68a,#c2410c)}.cta{padding:0 0 70px}.cta-box{min-height:155px;border-radius:20px;background-size:cover;background-position:center;display:grid;place-items:center;text-align:center;color:#fff;overflow:hidden;position:relative}.cta-box:before{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(103,54,229,.85),rgba(13,190,172,.72))}.cta-box>div{position:relative}.cta-box h2{font-size:28px;margin:0}.cta-box p{margin:5px 0 15px}.white-btn{display:inline-block;background:#fff;color:var(--purple);padding:10px 20px;border-radius:999px;font-weight:700;font-size:13px}.site-footer{border-top:1px solid var(--border);background:#fff}.footer-grid{display:grid;grid-template-columns:1.3fr 1fr 1fr 1.2fr;gap:55px;padding:55px 0}.footer-grid>div{display:flex;flex-direction:column;align-items:flex-start}.footer-grid h4{margin:0 0 15px}.footer-grid a,.footer-grid p{color:var(--muted);font-size:12px;margin:4px 0}.footer-brand{display:flex;align-items:center;gap:12px;font-size:18px}.footer-brand .brand-mark{width:42px;height:42px}.socials{display:flex;gap:8px;margin-top:12px}.socials a{width:28px;height:28px;border-radius:50%;background:var(--purple);color:#fff;display:grid;place-items:center}.newsletter{display:flex;border:1px solid var(--border);border-radius:8px;overflow:hidden;width:100%;margin-top:12px}.newsletter input{border:0;outline:0;padding:10px;min-width:0;flex:1;font-family:inherit}.newsletter button{width:42px;border:0;background:var(--purple);color:#fff}.copyright{text-align:center;background:#07133f;color:#fff;padding:10px;font-size:11px}.page-hero{padding:90px 0 55px;background:linear-gradient(135deg,#f9f7ff,#eee8ff);text-align:center}.page-hero h1{font-size:46px;margin:10px 0}.page-hero p{color:var(--muted)}.content-card{max-width:900px;background:#fff;border:1px solid var(--border);border-radius:20px;padding:40px;box-shadow:var(--shadow)}.single-layout{display:grid;grid-template-columns:1fr 320px;gap:30px;align-items:start}.single-image{border-radius:16px;margin-bottom:25px}.course-aside{position:sticky;top:110px;border:1px solid var(--border);border-radius:18px;padding:24px;box-shadow:var(--shadow)}.course-aside .primary-btn{width:100%}.posts-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:25px}.post-card{border:1px solid var(--border);border-radius:16px;overflow:hidden}.post-card img{width:100%;height:200px;object-fit:cover}.post-card>div{padding:20px}.reveal{opacity:0;transform:translateY(18px);transition:.6s}.reveal.visible{opacity:1;transform:none}
@media(max-width:1000px){.main-nav{position:fixed;top:82px;right:20px;left:20px;background:white;border:1px solid var(--border);border-radius:16px;padding:20px;box-shadow:var(--shadow);display:none}.main-nav.open{display:block}.main-nav ul{flex-direction:column}.menu-toggle{display:block}.header-actions{display:none}.hero-grid{grid-template-columns:1fr}.hero-copy{text-align:center;padding-top:60px}.hero-copy p{margin-inline:auto}.hero-actions{justify-content:center}.hero-visual{height:420px}.course-grid{grid-template-columns:repeat(2,1fr)}.feature-grid{grid-template-columns:repeat(3,1fr)}.why-grid{grid-template-columns:1fr}.why-title{text-align:center}.footer-grid{grid-template-columns:repeat(2,1fr)}.posts-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:650px){.container{width:min(100% - 24px,1180px)}.header-inner{height:70px}.brand-copy small{display:none}.brand-copy strong{font-size:17px}.brand-mark{width:40px;height:40px}.hero-grid{min-height:auto}.hero-copy h1{font-size:38px}.hero-copy p{font-size:15px}.hero-actions{flex-direction:column}.hero-visual{height:330px}.certificate{top:30px}.search-row{flex-direction:column;align-items:stretch}.course-search select{display:none}.stats-grid{grid-template-columns:repeat(2,1fr)}.stats-grid>div{border-left:0;border-bottom:1px solid var(--border);padding:12px}.section{padding:55px 0}.section-heading{align-items:flex-start}.section-heading h2,.why-title h2{font-size:29px}.course-grid,.testimonial-grid,.posts-grid{grid-template-columns:1fr}.feature-grid{grid-template-columns:repeat(2,1fr)}.filters{overflow:auto}.footer-grid{grid-template-columns:1fr}.single-layout{grid-template-columns:1fr}.page-hero h1{font-size:34px}}
