/* project.php — one project's page (same colours and fonts as the main site) */
:root{--bg:#f6f7fb;--bg2:#fff;--card:#fff;--text:#0d1022;--muted:#5b6078;--line:rgba(13,16,34,.09);--brand:#6d4aff;--brand2:#00c2ff;--ok:#16c172;--star:#f5b301;
  --grad:linear-gradient(120deg,#6d4aff,#00c2ff);--shadow:0 20px 60px -24px rgba(40,30,120,.3);color-scheme:light}
:root[data-theme="dark"]{--bg:#06070f;--bg2:#0b0d1a;--card:#11132a;--text:#eef0ff;--muted:#9aa0c3;--line:rgba(255,255,255,.08);--brand:#8b6bff;--brand2:#22d3ff;--shadow:0 30px 80px -24px rgba(0,0,0,.7);color-scheme:dark}
*{box-sizing:border-box;margin:0;padding:0}
body{font-family:"Inter","Cairo",system-ui,sans-serif;background:var(--bg);color:var(--text);line-height:1.7;overflow-x:hidden;
  background-image:radial-gradient(800px 420px at 90% -10%,color-mix(in srgb,var(--brand) 18%,transparent),transparent 70%),radial-gradient(700px 400px at -10% 30%,color-mix(in srgb,var(--brand2) 12%,transparent),transparent 70%);background-repeat:no-repeat}
html[lang="ar"] body{font-family:"Cairo","Inter",system-ui,sans-serif}
[hidden]{display:none!important}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%}
button{font:inherit;color:inherit;background:none;border:0;cursor:pointer}
.wrap{width:min(1180px,100% - 32px);margin-inline:auto}
.muted{color:var(--muted)}

.nav{position:sticky;top:0;z-index:20;background:color-mix(in srgb,var(--bg) 82%,transparent);backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.nav-in{display:flex;align-items:center;justify-content:space-between;gap:12px;height:64px}
.logo{display:flex;align-items:center;gap:10px;font-weight:800;font-size:1.05rem}
.logo img{width:34px;height:34px;border-radius:9px}
.nav nav{display:flex;align-items:center;gap:6px;font-weight:600;font-size:.92rem}
.nav nav a,.nav nav button{padding:8px 12px;border-radius:999px;color:var(--muted)}
.nav nav a:hover,.nav nav button:hover{background:var(--line);color:var(--text)}

main section{margin-top:56px}
.hero{display:grid;grid-template-columns:1fr 1.15fr;gap:48px;align-items:center;margin-top:40px!important}
.crumbs{font-size:.85rem;color:var(--muted);margin-bottom:14px}
.crumbs a:hover{color:var(--brand)}
.chip{display:inline-block;padding:6px 14px;border-radius:999px;background:color-mix(in srgb,var(--brand) 14%,transparent);color:var(--brand);font-weight:700;font-size:.85rem;margin-bottom:14px}
h1{font-size:clamp(2rem,4vw,3.1rem);line-height:1.2;font-weight:800;margin-bottom:14px}
.lead{font-size:1.08rem;color:var(--muted);margin-bottom:18px}
.rating{display:inline-flex;align-items:center;gap:6px;margin-bottom:18px;font-size:.95rem;color:var(--muted)}
.rating b{color:var(--text)}
.stars{color:var(--star);letter-spacing:2px}
.meta{display:grid;grid-template-columns:repeat(auto-fit,minmax(130px,1fr));gap:10px;margin-bottom:22px}
.meta div{background:var(--card);border:1px solid var(--line);border-radius:16px;padding:12px 14px;font-weight:700;font-size:.95rem}
.meta small{display:block;color:var(--muted);font-weight:600;font-size:.78rem}
.acts{display:flex;flex-wrap:wrap;gap:10px}
.btn{display:inline-flex;align-items:center;gap:8px;padding:12px 22px;border-radius:999px;font-weight:700;font-size:.95rem;border:1px solid var(--line);background:var(--card);transition:transform .2s,box-shadow .2s}
.btn:hover{transform:translateY(-2px);box-shadow:var(--shadow)}
.btn.primary{background:var(--grad);color:#fff;border:0}
.btn.wa{background:#15803d;color:#fff;border:0}

.browser{display:block;border-radius:16px;overflow:hidden;background:var(--card);border:1px solid var(--line);box-shadow:var(--shadow)}
.browser .chrome{display:flex;align-items:center;gap:6px;height:34px;padding:0 14px;background:color-mix(in srgb,var(--text) 6%,var(--card));direction:ltr}
.browser .chrome i{width:10px;height:10px;border-radius:50%;background:#ff5f57}.browser .chrome i:nth-child(2){background:#febc2e}.browser .chrome i:nth-child(3){background:#28c840}
.browser .chrome span{margin-inline-start:10px;font:600 12px Inter,sans-serif;color:var(--muted);overflow:hidden;white-space:nowrap;text-overflow:ellipsis}
.browser img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}

.h{font-size:1.5rem;font-weight:800;margin-bottom:18px;display:flex;align-items:center;gap:12px}
.h::before{content:"";width:26px;height:4px;border-radius:4px;background:var(--grad)}
.h-row{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin-bottom:18px}
.h-row .h{margin:0}
.card{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:24px}
.two{display:grid;grid-template-columns:1fr 1fr;gap:18px}
.two h2{font-size:1.15rem;margin-bottom:8px}
.two p{color:var(--muted)}
.card.hl{border-color:color-mix(in srgb,var(--ok) 40%,transparent);background:color-mix(in srgb,var(--ok) 6%,var(--card))}
.feats{list-style:none;display:grid;grid-template-columns:repeat(auto-fill,minmax(320px,1fr));gap:12px}
.feats li{display:flex;gap:14px;align-items:flex-start;background:var(--card);border:1px solid var(--line);border-radius:16px;padding:16px 18px}
.feats .n{flex-shrink:0;width:38px;height:38px;border-radius:12px;display:grid;place-items:center;background:var(--grad);color:#fff;font:800 .9rem Inter,sans-serif}
.feats b{display:block;font-weight:700;line-height:1.5}.feats b.one{font-weight:600}
.feats p{color:var(--muted);font-size:.92rem;margin-top:2px}
.sub{margin:-8px 0 16px}
.nums{display:grid;grid-template-columns:repeat(4,1fr);gap:12px;margin-top:40px!important}
.nums div{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px;text-align:center}
.nums b{display:block;font:800 1.9rem Inter,Cairo,sans-serif;background:var(--grad);-webkit-background-clip:text;background-clip:text;color:transparent;direction:ltr}
.nums span{color:var(--muted);font-weight:600;font-size:.9rem}
.about{display:flex;flex-direction:column;gap:12px;font-size:1.05rem;line-height:1.9}
.techs{display:grid;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));gap:12px}
.tech{padding:16px 18px}
.tech b{display:inline-block;font:800 1rem Inter,Cairo,sans-serif;padding:4px 12px;border-radius:10px;background:color-mix(in srgb,var(--brand) 14%,transparent);color:color-mix(in srgb,var(--brand) 68%,var(--text));margin-bottom:8px}
.tech p{color:var(--muted);font-size:.92rem}
.steps{display:grid;grid-template-columns:repeat(5,1fr);gap:12px;counter-reset:s}
.step{background:var(--card);border:1px solid var(--line);border-radius:18px;padding:18px;position:relative}
.step span{width:34px;height:34px;border-radius:50%;border:2px solid var(--brand);color:var(--brand);display:grid;place-items:center;font-weight:800;margin-bottom:10px}
.step b{display:block;margin-bottom:4px}.step p{color:var(--muted);font-size:.9rem}
.rev-form{margin-top:22px;display:flex;flex-direction:column;gap:14px;max-width:760px}
.rev-form h3{font-size:1.25rem}
.rev-form label{display:flex;flex-direction:column;gap:6px;font-weight:600;font-size:.9rem;color:var(--muted)}
.rev-form input:not([type=checkbox]):not([type=file]),.rev-form textarea{font:inherit;color:var(--text);background:var(--bg);border:1px solid var(--line);border-radius:12px;padding:11px 14px;outline:none;width:100%}
.rev-form input:focus,.rev-form textarea:focus{border-color:var(--brand)}
.rev-form .row{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.rev-form .consent{flex-direction:row;align-items:center;gap:8px;color:var(--text);font-weight:500}
.rev-form .btn.primary{align-self:flex-start}
.stars-in{display:flex;gap:4px;direction:ltr;justify-content:flex-end}
html[dir="ltr"] .stars-in{justify-content:flex-start}
.stars-in button{font-size:2rem;line-height:1;color:color-mix(in srgb,var(--muted) 40%,transparent)}
.stars-in button.on{color:var(--star)}
.r-add{display:flex;flex-direction:column;gap:8px}
.r-add .btn{align-self:flex-start;padding:8px 18px}
.r-thumbs{display:flex;gap:8px;flex-wrap:wrap}
.r-thumbs span{position:relative}.r-thumbs img{width:72px;height:72px;object-fit:cover;border-radius:10px}
.r-thumbs button{position:absolute;top:-6px;inset-inline-end:-6px;width:22px;height:22px;border-radius:50%;background:#ef4565;color:#fff;font-size:.7rem}
.rev-form{position:relative}
.rev-form input.hp{position:absolute;top:0;inset-inline-start:0;width:1px;height:1px;padding:0;border:0;overflow:hidden;clip-path:inset(50%);opacity:0;pointer-events:none}
.msg{font-weight:600;color:#ef4565;min-height:1.2em}.msg.ok{color:var(--ok)}
.stack{display:flex;flex-wrap:wrap;gap:10px}
.stack span{padding:9px 16px;border-radius:12px;background:var(--card);border:1px solid var(--line);font:700 .9rem Inter,Cairo,sans-serif;direction:ltr}
.gallery{display:grid;grid-template-columns:repeat(auto-fill,minmax(280px,1fr));gap:14px}
.gallery a{border-radius:14px;overflow:hidden;border:1px solid var(--line);background:var(--card);transition:transform .2s}
.gallery a:hover{transform:translateY(-3px)}
.gallery img{width:100%;aspect-ratio:16/10;object-fit:cover;object-position:top}
.reviews{display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.review{display:flex;flex-direction:column;gap:12px;margin:0}
.review blockquote{line-height:1.8}
.review figcaption{display:flex;align-items:center;gap:10px;margin-top:auto}
.review figcaption small{display:block;color:var(--muted);font-size:.82rem}
.av{width:40px;height:40px;border-radius:50%;background:var(--grad);color:#fff;display:grid;place-items:center;font-weight:800;flex-shrink:0}
.r-photos{display:flex;gap:8px;flex-wrap:wrap}
.r-photos img{width:72px;height:72px;object-fit:cover;border-radius:10px}
.cta{display:flex;align-items:center;justify-content:space-between;gap:20px;flex-wrap:wrap;background:linear-gradient(120deg,color-mix(in srgb,var(--brand) 16%,var(--card)),color-mix(in srgb,var(--brand2) 12%,var(--card)))}
.cta h2{font-size:1.5rem}.cta p{color:var(--muted)}
.others{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:16px}
.other{padding:0;overflow:hidden;display:flex;flex-direction:column;transition:transform .2s}
.other:hover{transform:translateY(-3px)}
.other img{aspect-ratio:16/10;object-fit:cover;object-position:top;width:100%}
.other b{padding:14px 16px 0}.other small{padding:0 16px 14px;color:var(--muted)}
.logo .name{display:flex;flex-direction:column;line-height:1.2}
.logo .name small{font-size:.72rem;font-weight:600;color:var(--muted)}
/* footer, like the home page's: who I am, links, contact, payment methods */
.site-foot{margin-top:70px;border-top:1px solid var(--line);background:color-mix(in srgb,var(--card) 55%,transparent)}
.foot-grid{display:grid;grid-template-columns:1.6fr 1fr 1fr;gap:34px;padding:42px 0 30px}
.foot-grid h3,.foot-grid h4{font-size:1rem;margin-bottom:12px}
.foot-grid ul{list-style:none;display:flex;flex-direction:column;gap:8px;font-size:.92rem;color:var(--muted)}
.foot-grid ul a:hover{color:var(--brand)}
.foot-about{display:flex;flex-direction:column;gap:10px}
.foot-about .logo img{width:40px;height:40px}
.foot-title{font-weight:700}
.foot-about .muted{font-size:.9rem;line-height:1.8}
.avail{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;font-size:.82rem;font-weight:700;color:var(--ok);background:color-mix(in srgb,var(--ok) 12%,transparent);padding:5px 12px;border-radius:999px}
.avail i{width:8px;height:8px;border-radius:50%;background:var(--ok);box-shadow:0 0 0 4px color-mix(in srgb,var(--ok) 25%,transparent)}
.foot-pay{display:flex;flex-wrap:wrap;align-items:center;gap:8px;padding:16px 0;border-top:1px solid var(--line);font-size:.88rem;color:var(--muted)}
.foot-pay b{padding:5px 12px;border-radius:10px;background:var(--card);border:1px solid var(--line);color:var(--text);font-size:.85rem}
.foot-bottom{border-top:1px solid var(--line);font-size:.85rem;color:var(--muted)}
.foot-bottom .wrap{display:flex;justify-content:space-between;align-items:center;gap:12px;padding:18px 0}
.foot-bottom a{width:34px;height:34px;border-radius:50%;border:1px solid var(--line);display:grid;place-items:center}

.lb{position:fixed;inset:0;z-index:50;background:rgba(0,0,0,.9);display:grid;place-items:center;padding:16px}
.lb img{max-width:100%;max-height:88vh;border-radius:10px}
.lb button{position:absolute;color:#fff;font-size:2rem;width:48px;height:48px;border-radius:50%;background:rgba(255,255,255,.12)}
.lb-x{top:16px;inset-inline-end:16px;font-size:1.2rem!important}
.lb-p{left:12px;top:50%;transform:translateY(-50%)}.lb-n{right:12px;top:50%;transform:translateY(-50%)}
.wa-float{position:fixed;bottom:18px;inset-inline-end:18px;width:56px;height:56px;border-radius:50%;background:#25d366;display:grid;place-items:center;font-size:1.6rem;box-shadow:0 10px 30px -8px rgba(37,211,102,.7);z-index:30}

@media (max-width:860px){
  .hero{grid-template-columns:1fr;gap:28px}
  .two{grid-template-columns:1fr}
  .feats{grid-template-columns:1fr}
  .nums{grid-template-columns:1fr 1fr}
  .steps{grid-template-columns:1fr 1fr}
  .rev-form .row{grid-template-columns:1fr}
  .nav nav a:first-child{display:none}
  main section{margin-top:40px}
  .foot-grid{grid-template-columns:1fr 1fr}.foot-about{grid-column:1/-1}
  .foot-bottom .wrap{padding-bottom:84px}
}
.r-reply{margin-top:4px;padding:10px 12px;border-radius:12px;background:color-mix(in srgb,var(--brand) 8%,transparent);border-inline-start:3px solid var(--brand);font-size:.9rem}
.r-reply b{display:block;font-size:.8rem;color:color-mix(in srgb,var(--brand) 68%,var(--text));margin-bottom:2px}
.r-reply p{line-height:1.7;color:var(--muted)}

/* bottom bar: the social icons in the middle, and the privacy / terms / support links */
.foot-bottom .foot-legal a{width:auto;height:auto;border:0;border-radius:0;display:inline;color:var(--muted)}
.foot-bottom .foot-legal a:hover{color:var(--brand)}
.legal{max-width:860px;padding-top:28px;padding-bottom:20px}
.legal-tabs{display:flex;flex-wrap:wrap;gap:8px;margin-bottom:22px}
.legal-tabs a{padding:8px 16px;border-radius:99px;border:1px solid var(--line);background:var(--card);font-weight:700;font-size:.9rem;color:var(--muted)}
.legal-tabs a.on{background:color-mix(in srgb,var(--brand) 78%,#000);border-color:transparent;color:#fff}
.legal h1{font-size:clamp(1.7rem,4vw,2.4rem);margin-bottom:14px}
.legal-body{background:var(--card);border:1px solid var(--line);border-radius:20px;padding:26px 28px;line-height:1.95}
.legal-body h2{font-size:1.15rem;margin:22px 0 8px}.legal-body h2:first-child{margin-top:0}
.legal-body p{color:var(--muted);margin:8px 0}
.legal-body ul{margin:6px 0;padding-inline-start:22px;color:var(--muted)}
.legal-body li{margin:4px 0}
.legal-cta{display:flex;flex-wrap:wrap;align-items:center;gap:10px;margin-top:22px}
.legal-cta b{margin-inline-end:6px}
@media (max-width:640px){.site-foot{padding-bottom:90px}}
.foot-pay{flex-direction:column;justify-content:center;gap:12px;padding:20px 0;text-align:center}
.foot-pay span{font-weight:700}
.foot-pay .pays-in{display:flex;flex-wrap:wrap;justify-content:center;gap:8px}
/* the last line: © on one side, privacy · terms · support in the middle, ↑ on the other side */
.foot-bottom .wrap{display:grid;grid-template-columns:1fr auto 1fr;align-items:center;gap:12px}
.foot-bottom .wrap > span:first-child{justify-self:start}
.foot-bottom .foot-legal{grid-column:2;display:flex;flex-wrap:wrap;justify-content:center;gap:6px 18px}
.foot-bottom .wrap > a:last-child{grid-column:3;justify-self:end}
@media (max-width:760px){.foot-bottom .wrap{grid-template-columns:1fr;justify-items:center;text-align:center;gap:10px}.foot-bottom .wrap > *{grid-column:1!important;justify-self:center!important}.foot-bottom .foot-legal{order:-1}}
.review .r-li{display:inline-block;margin-top:3px;font-size:12px;font-weight:800;color:#0a66c2;background:#0a66c214;padding:1px 8px;border-radius:99px;direction:ltr;text-decoration:none}

i.fav{display:inline-block;width:16px;height:16px;vertical-align:-3px;background:currentColor;-webkit-mask:center/contain no-repeat;mask:center/contain no-repeat}

/* ✓ verified reviews: Google sign-in in the form, badges on the cards */
.g-sign{display:flex;flex-direction:column;gap:6px;margin:4px 0 10px}
.g-btn{min-height:44px}
.g-who{display:flex;align-items:center;gap:10px;padding:8px 10px;border:1px solid var(--line);border-radius:14px;flex-wrap:wrap}
.g-who img{width:36px;height:36px;border-radius:50%;object-fit:cover}
.g-who span{display:flex;flex-direction:column;flex:1 1 180px;min-width:0}.g-who small{opacity:.7;font-size:.78rem}
.g-out{border:1px solid var(--line,rgba(127,127,127,.35));background:none;color:inherit;cursor:pointer;font:inherit;font-size:.82rem;font-weight:700;padding:6px 12px;border-radius:99px;white-space:nowrap}
.g-note{font-size:.8rem;opacity:.75;margin:0}.g-note.g-bad{color:#ef4565;opacity:1}
.rev-inv{margin:0 0 8px;padding:8px 12px;border-radius:12px;background:color-mix(in srgb,#16c172 14%,transparent);font-size:.88rem}
.r-ver{display:inline-flex;align-items:center;gap:4px;font-size:.74rem;font-weight:700;color:#4285f4;margin-top:2px}
.r-ver-c{color:#16a34a}
.r-av-img,.av-img{width:42px;height:42px;border-radius:50%;object-fit:cover;flex-shrink:0}

.rev-fields{display:flex;flex-direction:column;gap:14px}
.rev-form.g-need .rev-name,.rev-form.g-in .rev-name{display:none}
.rev-form.g-need .row:has(.rev-name),.rev-form.g-in .row:has(.rev-name){grid-template-columns:1fr}
.rev-fields[aria-disabled="true"]{pointer-events:none;user-select:none}
.rev-fields[aria-disabled="true"]>*:not(.rev-lock){opacity:.35;filter:saturate(.4)}
.rev-lock{font-size:.88rem;color:var(--muted)}
.rev-form.g-need:not(.g-in) .btn.primary{opacity:.5}
.g-btn,.g-btn iframe{color-scheme:light}
/* phones: links and buttons big enough for a finger (≥ 40px tall); the WhatsApp button a little smaller */
@media (max-width:760px){
  .crumbs a,.site-foot a,a.rating{padding-block:8px;min-height:40px}
  .rev-form .consent input[type=checkbox]{width:20px;height:20px;flex-shrink:0}
  .wa-float{width:50px;height:50px;font-size:1.4rem}
}

/* phones: form fields 16px+ or iPhone zooms in when you tap them */
@media (max-width:760px){input:not([type=checkbox]):not([type=radio]):not([type=range]),select,textarea{font-size:16px!important}}
