/* ATHR V85.2: language flag picker (in top nav, center red) + animation layer for the public site */

/* ---- language picker ---- */
.athr-lp{position:relative;font-family:"IBM Plex Sans Arabic",Tahoma,Arial,sans-serif;z-index:9000}
.topbar{position:relative;z-index:9001}
.athr-lp.in-nav{display:inline-flex;align-items:center;margin-inline-start:10px}
.athr-lp.in-topbar{display:inline-flex;align-items:center;margin-inline-start:auto}
.athr-lp.floating{position:fixed;inset-block-start:14px;inset-inline-start:14px}
.athr-lp-btn{display:inline-flex;align-items:center;gap:8px;padding:10px 14px;border-radius:13px;border:0;cursor:pointer;
 background:var(--red,#ed1c24);color:#fff;font-size:.95rem;font-family:inherit;line-height:1;
 box-shadow:0 8px 22px rgba(237,28,36,.26);transition:transform .15s ease,box-shadow .2s ease,filter .2s ease}
.athr-lp-btn:hover{transform:translateY(-2px);filter:brightness(1.05);box-shadow:0 12px 28px rgba(237,28,36,.34)}
.athr-lp.in-topbar .athr-lp-btn{padding:6px 11px;border-radius:10px;font-size:.85rem;box-shadow:0 4px 12px rgba(237,28,36,.3)}
.athr-lp.in-topbar .athr-lp-flag{width:19px;height:13px}
.athr-lp-globe{opacity:.95}
.athr-lp-cur{display:inline-flex;align-items:center;gap:7px}
.athr-lp-cur b{font-weight:600;font-size:.9rem}
.athr-lp-flag{display:inline-flex;width:22px;height:15px;border-radius:3px;overflow:hidden;box-shadow:0 0 0 1px rgba(0,0,0,.12);flex:0 0 auto}
.athr-lp-flag svg{width:100%;height:100%;display:block}
.athr-lp-ch{transition:transform .2s ease;opacity:.9}
.athr-lp.open .athr-lp-ch{transform:rotate(180deg)}
.athr-lp-menu{position:fixed;top:0;right:0;min-width:220px;background:#fff;border-radius:15px;z-index:100000;
 box-shadow:0 22px 60px rgba(127,34,45,.3);padding:7px;display:none;max-height:76vh;overflow:auto;border:1px solid #f0e6e7}
.athr-lp.open .athr-lp-menu{display:block;animation:athrLpIn .22s cubic-bezier(.2,.8,.2,1)}
@keyframes athrLpIn{from{opacity:0;transform:translateY(-6px)}to{opacity:1;transform:none}}
.athr-lp-item{display:flex;align-items:center;gap:10px;width:100%;padding:9px 11px;border:0;background:none;border-radius:11px;cursor:pointer;font-size:.92rem;color:#2a1416;text-align:start;font-family:inherit}
.athr-lp-item:hover{background:#fbeef0}
.athr-lp-item.on{background:var(--red,#ed1c24);color:#fff}
.athr-lp-item span{flex:1}
.athr-lp-item em{font-style:normal;font-size:.66rem;opacity:.6}
.athr-lp-item.on em{opacity:.8}
@media(max-width:760px){.athr-lp.in-nav{order:2;margin-inline-start:auto}.athr-lp-btn{padding:9px 11px}.athr-lp-cur b{display:none}.athr-lp-menu{inset-inline-end:0}}

/* hide the site's own ar/en button (our picker replaces it) */
.lang-btn{display:none!important}

/* hide Google translate chrome */
.goog-te-banner-frame,.goog-te-balloon-frame,#goog-gt-tt,.goog-tooltip,.goog-te-gadget-icon,.skiptranslate iframe{display:none!important}
body{top:0!important;position:static!important}
.goog-text-highlight{background:none!important;box-shadow:none!important;border:0!important}
#athr_gte,.goog-te-gadget{font-size:0!important;height:0!important;line-height:0!important;overflow:hidden}
#athr_gte *{display:none!important}
font{vertical-align:inherit}

/* ---- animation layer ---- */
.athr-anim [data-areveal]{opacity:0;transform:translateY(20px);transition:opacity .7s cubic-bezier(.2,.8,.2,1),transform .7s cubic-bezier(.2,.8,.2,1)}
.athr-anim [data-areveal].in{opacity:1;transform:none}
.athr-anim .hero-copy .eyebrow{opacity:0;transform:translateY(10px);animation:athrUp .7s .15s forwards}
.athr-anim .hero-copy h1{opacity:0;transform:translateY(14px);animation:athrUp .8s .3s forwards}
.athr-anim .hero-copy>p{opacity:0;transform:translateY(14px);animation:athrUp .8s .5s forwards}
.athr-anim .hero-copy h1 span{background:linear-gradient(90deg,currentColor,var(--gold,#f3a51f),currentColor);background-size:200% 100%;-webkit-background-clip:text;background-clip:text;-webkit-text-fill-color:transparent;animation:athrShine 7s linear infinite}
@keyframes athrUp{to{opacity:1;transform:none}}
@keyframes athrShine{to{background-position:-200% 0}}
.athr-anim .stats .stat{opacity:0;transform:translateY(16px) scale(.98);transition:opacity .6s ease,transform .6s cubic-bezier(.2,.8,.2,1)}
.athr-anim .stats .stat.in{opacity:1;transform:none}
.athr-anim .card,.athr-anim .service,.athr-anim .about-card{transition:transform .25s ease,box-shadow .3s ease}
.athr-anim .card:hover,.athr-anim .service:hover,.athr-anim .about-card:hover{transform:translateY(-5px);box-shadow:0 16px 38px rgba(127,34,45,.16)}
@media(prefers-reduced-motion:reduce){
 .athr-anim [data-areveal],.athr-anim .stats .stat{opacity:1!important;transform:none!important;transition:none!important}
 .athr-anim .hero-copy .eyebrow,.athr-anim .hero-copy h1,.athr-anim .hero-copy>p,.athr-anim .hero-copy h1 span{animation:none!important;opacity:1!important;transform:none!important;-webkit-text-fill-color:currentColor}
}

/* ---- S10 (2026-11-01): language menu — stays inside the screen; bottom sheet on phones ---- */
.athr-lp-backdrop{display:none}
.athr-lp-head{display:none}
.athr-lp-list{display:block}
@media(max-width:760px){
 .athr-lp.open .athr-lp-backdrop{display:block;position:fixed;inset:0;background:rgba(32,10,16,.48);-webkit-backdrop-filter:blur(3px);backdrop-filter:blur(3px);z-index:99999;animation:athrLpFade .2s ease}
 .athr-lp-menu{position:fixed!important;top:auto!important;left:10px!important;right:10px!important;bottom:10px!important;min-width:0!important;max-height:72vh;
  border-radius:24px!important;padding:10px 12px calc(14px + env(safe-area-inset-bottom))!important;box-shadow:0 -10px 50px rgba(60,10,20,.35)!important;overflow:hidden!important}
 .athr-lp.open .athr-lp-menu{display:flex!important;flex-direction:column;animation:athrLpUp .28s cubic-bezier(.2,.8,.2,1)!important}
 .athr-lp-head{display:flex;flex-direction:column;align-items:center;gap:2px;padding:14px 8px 12px;border-bottom:1px solid #f3e8ea;margin-bottom:8px;position:relative}
 .athr-lp-head:before{content:"";position:absolute;top:2px;left:50%;width:44px;height:5px;border-radius:5px;background:#e8dadd;transform:translateX(-50%)}
 .athr-lp-head b{font-size:1.15rem;color:#7f222d;font-weight:800}
 .athr-lp-head small{font-size:.8rem;color:#9a8a8d}
 .athr-lp-list{display:grid!important;grid-template-columns:1fr 1fr;gap:8px;overflow-y:auto;-webkit-overflow-scrolling:touch;padding:2px 2px 4px}
 .athr-lp-item{flex-direction:column;align-items:center!important;justify-content:center;gap:6px!important;padding:12px 8px!important;border:1px solid #f1e5e7!important;border-radius:16px!important;background:#fff;text-align:center!important;min-height:76px}
 .athr-lp-item .athr-lp-flag{width:30px!important;height:20px!important;border-radius:4px}
 .athr-lp-item span{flex:0 0 auto!important;font-size:.95rem;font-weight:700;line-height:1.3}
 .athr-lp-item em{font-size:.68rem!important}
 .athr-lp-item.on{border-color:transparent!important;box-shadow:0 8px 18px rgba(237,28,36,.28)}
}
@keyframes athrLpUp{from{opacity:0;transform:translateY(40px)}to{opacity:1;transform:none}}
@keyframes athrLpFade{from{opacity:0}to{opacity:1}}
.athr-lp-item>.athr-lp-flag{flex:0 0 auto!important;width:24px;height:16px}
@media(max-width:760px){.athr-lp-item>.athr-lp-flag{width:30px!important;height:20px!important}}

/* ---- S11 (2026-11-01): ATHR page — picker sits inside the header (not over the logo) ---- */
.athr-lp.in-head{display:inline-flex;align-items:center;flex:0 0 auto;margin-inline:6px}
.athr-lp.in-head .athr-lp-btn{padding:8px 12px;border-radius:12px;font-size:.85rem;background:rgba(255,255,255,.1);border:1px solid rgba(255,255,255,.28);box-shadow:none}
.athr-lp.in-head .athr-lp-btn:hover{background:rgba(255,255,255,.18);box-shadow:none}
@media(max-width:760px){
 .athr-lp.in-head{margin-inline:4px}
 .athr-lp.in-head .athr-lp-btn{width:42px;height:40px;padding:0;justify-content:center;border-radius:12px}
 .athr-lp.in-head .athr-lp-globe,.athr-lp.in-head .athr-lp-ch,.athr-lp.in-head .athr-lp-cur b{display:none}
 .athr-lp.in-head .athr-lp-flag{width:24px;height:16px}
}
