/* iCity Solution - features.css: styles for the added features only. Uses the active theme's variables (both styles). */
.site-menu-btn{display:inline-flex;align-items:center;justify-content:center;width:42px;height:42px;background:rgba(255,255,255,.06);border:1px solid var(--border-subtle);color:var(--text-primary);border-radius:var(--radius-sm,10px);cursor:pointer;transition:var(--transition)}
.site-menu-btn:hover,.site-menu-btn.open{border-color:var(--accent-primary);color:var(--accent-primary)}
html[data-style="style2"] .site-menu-btn{background:rgba(0,0,0,.04)}
.mobile-menu-btn{display:none!important}
.site-menu-panel{position:fixed;inset-inline-end:max(12px,2vw);z-index:1100;min-width:240px;max-width:calc(100vw - 24px);max-height:calc(100vh - 90px);overflow:auto;background:var(--bg-card-solid);border:1px solid var(--border-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:.5rem;animation:fxPop .18s ease-out}
.site-menu-panel a{display:block;padding:.7rem 1rem;border-radius:var(--radius-sm,10px);color:var(--text-primary);text-decoration:none;font-weight:600}
.site-menu-panel a:hover,.site-menu-panel a:focus-visible{background:var(--accent-glow);color:var(--accent-primary);outline:none}
@keyframes fxPop{from{opacity:0;transform:translateY(-6px)}}
/* documents dropdown */
.docs-btn{gap:.5rem}
.docs-panel{position:absolute;z-index:1100;background:var(--bg-card-solid);border:1px solid var(--border-strong);border-radius:var(--radius-md);box-shadow:var(--shadow-card);padding:.4rem;max-height:70vh;overflow:auto;animation:fxPop .18s ease-out;color:var(--text-primary)}
.docs-head{padding:.55rem .75rem;font-weight:800;color:var(--accent-primary)}
.docs-msg{padding:1rem;color:var(--text-secondary)}
.docs-row{display:flex;align-items:center;gap:.7rem;padding:.6rem .75rem;border-radius:var(--radius-sm,10px)}
.docs-row:hover{background:var(--accent-glow)}
.docs-ext{flex:none;min-width:44px;text-align:center;font-size:.72rem;font-weight:800;padding:.3rem .4rem;border-radius:6px;background:var(--accent-glow);color:var(--accent-primary);direction:ltr}
.docs-name{flex:1;min-width:0;display:flex;flex-direction:column}
.docs-name b{font-size:.92rem;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.docs-name small{color:var(--text-muted);direction:ltr;text-align:start}
.docs-act{flex:none;display:flex;gap:.4rem}
.docs-act button,.docs-act a{font:inherit;font-size:.82rem;font-weight:700;padding:.35rem .75rem;border-radius:99px;border:1px solid var(--border-strong);background:transparent;color:var(--text-primary);cursor:pointer;text-decoration:none}
.docs-act a.dl{background:var(--accent-primary);border-color:var(--accent-primary);color:#04120c}
.docs-act button:hover{border-color:var(--accent-primary);color:var(--accent-primary)}
/* viewer / lightbox */
body.fx-lock{overflow:hidden}
.fx-overlay{position:fixed;inset:0;z-index:2000;background:rgba(4,9,12,.94);display:flex;flex-direction:column}
.fx-overlay[hidden]{display:none}
.fx-bar{display:flex;align-items:center;gap:.5rem;padding:.6rem .9rem;color:#fff}
.fx-title,.cx-cap{flex:1;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-weight:700}
.fx-tab{color:#9ee8c9;font-size:.85rem;white-space:nowrap}
.fx-zoom,.fx-x{width:40px;height:40px;border-radius:50%;border:1px solid rgba(255,255,255,.3);background:rgba(255,255,255,.08);color:#fff;font-size:1.3rem;cursor:pointer;flex:none}
.fx-zoom:hover,.fx-x:hover{background:var(--accent-primary);color:#04120c}
.fx-stage{flex:1;min-height:0;display:flex;align-items:center;justify-content:center;overflow:auto;padding:0 .5rem .5rem}
.fx-stage iframe{width:100%;height:100%;border:0;background:#fff;border-radius:8px}
.fx-stage img{max-width:100%;max-height:100%;transform-origin:center;transition:transform .15s}
.cx-stage{position:relative;overflow:hidden;touch-action:none}
.cx-stage img{touch-action:none;user-select:none;-webkit-user-drag:none;transition:none;border-radius:6px}
.cx-nav{position:absolute;top:50%;transform:translateY(-50%);width:48px;height:64px;border:0;border-radius:10px;background:rgba(255,255,255,.12);color:#fff;font-size:2.2rem;cursor:pointer;z-index:2}
.cx-nav:hover{background:var(--accent-primary);color:#04120c}
.cx-prev{left:10px}.cx-next{right:10px}
/* certificates */
.certs-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:1.25rem}
.cert-card{display:flex;flex-direction:column;gap:.7rem;padding:.8rem;background:var(--card-gradient);border:1px solid var(--border-subtle);border-radius:var(--radius-lg);box-shadow:var(--shadow-card);cursor:zoom-in;font:inherit;color:var(--text-primary);text-align:center;transition:var(--transition)}
.cert-card:hover{transform:translateY(-5px);border-color:var(--border-strong);box-shadow:var(--shadow-glow)}
.cert-thumb{display:flex;align-items:center;justify-content:center;aspect-ratio:3/4;background:#fff;border-radius:var(--radius-sm,10px);overflow:hidden}
.cert-thumb img{width:100%;height:100%;object-fit:contain}
.cert-name{font-size:.88rem;font-weight:600;color:var(--text-secondary);direction:ltr}
/* footer counters */
.footer-stats{display:flex;flex-wrap:wrap;gap:.6rem 2rem;justify-content:center;padding:1.1rem 0 .3rem;border-top:1px solid var(--border-subtle);margin-top:1.5rem;font-family:var(--font-en);color:var(--text-secondary)}
.footer-stats[hidden]{display:none}
.footer-stats strong{color:var(--accent-primary);font-size:1.1rem}
.footer-privacy{text-align:center;color:var(--text-muted);font-size:.8rem;margin:.4rem 0 .2rem}
@media (max-width:600px){.certs-grid{grid-template-columns:repeat(2,1fr);gap:.8rem}.docs-row{flex-wrap:wrap}.docs-act{width:100%;justify-content:flex-end}.cx-nav{width:38px;height:54px}}
/* Header room for the added hamburger: where the inline links no longer fit beside the extra button, the hamburger menu carries them */
@media (min-width:1121px) and (max-width:1599px){.nav-menu{display:none}}
@media (min-width:1121px){html[lang="en"] .nav-menu{display:none}}
@media (max-width:440px){.brand-text .brand-title-ar{font-size:.82rem}}
@media (max-width:380px){.brand-text{display:none}}
