@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@400;500;600;700;800&family=Inter:wght@400;500;600;700;800&display=swap');
:root{--bg:#06131d;--bg2:#0b1f2b;--card:#0e2633;--line:rgba(255,255,255,.12);--text:#f6fbff;--muted:#9db2bf;--blue:#1e83d4;--cyan:#58d1ff;--green:#76c842;--shadow:0 24px 60px rgba(0,0,0,.26)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--bg);color:var(--text);font-family:Cairo,Inter,system-ui,sans-serif;overflow-x:hidden}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}.section{padding:110px max(6vw,24px)}
.preloader{position:fixed;inset:0;z-index:9999;background:#06131d;display:grid;place-items:center;transition:.6s}.preloader.hide{opacity:0;visibility:hidden}.preloader img{width:120px;filter:drop-shadow(0 12px 26px rgba(65,175,255,.2));animation:pulse 1.2s ease-in-out infinite alternate}.preloader span{position:absolute;width:190px;height:190px;border:1px solid rgba(91,200,255,.16);border-radius:50%;animation:ring 1.6s linear infinite}@keyframes pulse{to{transform:scale(1.06)}}@keyframes ring{to{transform:scale(1.25);opacity:0}}
.topbar{position:fixed;z-index:1000;top:0;left:0;right:0;height:88px;padding:0 max(4vw,22px);display:flex;align-items:center;justify-content:space-between;gap:24px;border-bottom:1px solid transparent;transition:.35s;background:linear-gradient(180deg,rgba(3,14,22,.78),rgba(3,14,22,0));backdrop-filter:blur(3px)}.topbar.scrolled{height:74px;background:rgba(4,17,26,.88);border-color:var(--line);backdrop-filter:blur(18px)}.brand{height:66px;display:flex;align-items:center}.brand img{height:64px;width:78px;object-fit:contain;object-position:center;filter:drop-shadow(0 6px 16px rgba(0,0,0,.25))}.nav{display:flex;gap:30px;align-items:center}.nav a{font-size:14px;color:#dce9ef;position:relative}.nav a:after{content:"";position:absolute;left:0;right:0;bottom:-10px;height:2px;background:linear-gradient(90deg,var(--cyan),var(--green));transform:scaleX(0);transition:.25s}.nav a:hover:after{transform:scaleX(1)}.header-actions{display:flex;gap:10px;align-items:center}.lang-btn,.menu-btn{background:rgba(255,255,255,.08);border:1px solid var(--line);color:#fff;border-radius:14px;padding:10px 13px;cursor:pointer}.header-cta{padding:11px 20px;background:linear-gradient(135deg,#0f75bd,#155c8e);border-radius:14px;font-size:13px;box-shadow:0 10px 30px rgba(17,113,174,.25)}.menu-btn{display:none;width:44px;height:44px;padding:11px}.menu-btn span{display:block;height:2px;background:#fff;margin:5px 0}
.hero{height:100vh;min-height:720px;position:relative;background:#041019;overflow:hidden}.slides{position:absolute;inset:0}.slide{position:absolute;inset:0;opacity:0;transform:scale(1.035);transition:opacity .8s ease,transform 1.4s ease;background-size:cover;background-position:center}.slide.active{opacity:1;transform:scale(1)}.slide:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(2,14,24,.02),rgba(2,14,24,.18) 48%,rgba(2,14,24,.42) 100%),linear-gradient(0deg,rgba(2,12,18,.42),transparent 45%)}html[dir=ltr] .slide:after{background:linear-gradient(270deg,rgba(2,14,24,.02),rgba(2,14,24,.18) 48%,rgba(2,14,24,.42) 100%),linear-gradient(0deg,rgba(2,12,18,.42),transparent 45%)}.slide-content{position:absolute;z-index:2;top:39%;right:max(3.6vw,24px);transform:translateY(-50%);width:min(42vw,540px);max-width:540px}.slide.active .slide-content>*{animation:up .7s both}.slide.active .slide-content>*:nth-child(2){animation-delay:.08s}.slide.active .slide-content>*:nth-child(3){animation-delay:.16s}.slide.active .slide-content>*:nth-child(4){animation-delay:.24s}@keyframes up{from{opacity:0;transform:translateY(24px)}to{opacity:1;transform:none}}html[dir=ltr] .slide-content{right:auto;left:max(3.6vw,24px)}.slide-icon{width:64px;height:64px;border-radius:20px;display:grid;place-items:center;font-size:28px;background:rgba(8,43,58,.52);border:1px solid rgba(92,208,255,.34);box-shadow:0 10px 30px rgba(0,0,0,.18);backdrop-filter:blur(8px);margin-bottom:18px}.slide-content .eyebrow{letter-spacing:.16em;color:#9be8ff;font-size:12px;font-weight:700}.slide-content h1{font-size:clamp(32px,4.2vw,64px);line-height:1.08;margin:0 0 16px;max-width:100%}.slide-content p{font-size:clamp(15px,1.2vw,19px);line-height:1.75;color:#d6e5eb;margin:0 0 24px;max-width:100%}.slide-btn{display:inline-flex;align-items:center;gap:12px;padding:13px 19px;border-radius:14px;border:1px solid rgba(108,218,255,.42);background:rgba(10,106,167,.38);backdrop-filter:blur(8px);transition:.25s}.slide-btn:hover{transform:translateY(-3px);background:#0d7cbd}.slide-btn-bottom{position:absolute;z-index:6;right:max(3.6vw,24px);bottom:34px;min-width:150px;justify-content:center}html[dir=ltr] .slide-btn-bottom{right:auto;left:max(3.6vw,24px)}.slide-dots{position:absolute;z-index:4;bottom:24px;right:50%;transform:translateX(50%);display:flex;gap:8px}.slide-dots button{width:8px;height:8px;padding:0;border:0;border-radius:20px;background:rgba(255,255,255,.4);transition:.3s;cursor:pointer}.slide-dots button.active{width:34px;background:#63d8ff}.hero-arrows{position:absolute;z-index:4;bottom:28px;left:max(7.2vw,108px);display:flex;gap:10px}.hero-arrows button{width:48px;height:48px;border-radius:50%;border:1px solid rgba(255,255,255,.28);background:rgba(8,20,28,.32);color:#fff;font-size:25px;cursor:pointer;backdrop-filter:blur(8px)}.hero-progress{position:absolute;z-index:5;top:0;left:0;right:0;height:3px;background:rgba(255,255,255,.06)}.hero-progress span{display:block;height:100%;width:0;background:linear-gradient(90deg,var(--green),var(--cyan))}.scroll-cue{position:absolute;z-index:4;left:50%;bottom:28px;transform:translateX(-50%);display:flex;gap:10px;align-items:center;color:#b9c9d1;font-size:11px}.scroll-cue span{display:block;width:24px;height:36px;border:1px solid rgba(255,255,255,.35);border-radius:20px;position:relative}.scroll-cue span:after{content:"";position:absolute;width:3px;height:7px;border-radius:4px;background:#fff;left:50%;top:7px;transform:translateX(-50%);animation:scroll 1.4s infinite}@keyframes scroll{to{top:20px;opacity:0}}
.strip{text-align:center;padding:100px max(6vw,24px);background:radial-gradient(circle at 50% 20%,rgba(27,111,160,.16),transparent 50%)}.strip .eyebrow,.section-heading span{font-size:12px;letter-spacing:.22em;color:#73dbff}.strip h2,.section-heading h2,.showcase-copy h2,.about-card h2,.contact-copy h2{font-size:clamp(30px,3.5vw,52px);line-height:1.28;margin:12px auto 16px}.strip p,.section-heading p,.showcase-copy p,.about-card p,.contact-copy p{max-width:780px;margin:0 auto;color:var(--muted);line-height:1.95}.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:10px;margin-top:30px}.chips span{padding:9px 14px;border:1px solid var(--line);border-radius:30px;background:rgba(255,255,255,.035);font-size:12px;color:#c4d7e1}
.solutions{background:#081923}.section-heading{max-width:860px;margin:0 auto 52px;text-align:center}.section-heading h2{margin-right:auto;margin-left:auto}.section-heading p{margin:0 auto}.solution-grid{position:relative}.solutions-slider{position:relative;padding:0 72px}.solutions-viewport{overflow:hidden;border-radius:34px}.solutions-track{display:flex;gap:0;transition:transform .9s cubic-bezier(.22,.61,.36,1);will-change:transform}.solutions-page{flex:0 0 100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:22px;direction:rtl}html[dir=ltr] .solutions-page{direction:ltr}.solution-card{position:relative;min-height:430px;border:1px solid rgba(130,202,255,.14);border-radius:30px;padding:0;overflow:hidden;background:#0b1e29;transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease;cursor:pointer;isolation:isolate;box-shadow:0 14px 44px rgba(0,0,0,.22)}.solution-card:before{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,18,29,.04) 0%,rgba(4,18,29,.18) 34%,rgba(4,18,29,.82) 72%,rgba(4,18,29,.98) 100%),radial-gradient(circle at 80% 0%,rgba(73,192,240,.18),transparent 36%);z-index:1;pointer-events:none;transition:.35s}.solution-card:hover{transform:translateY(-8px);border-color:rgba(103,214,255,.42);box-shadow:0 24px 58px rgba(0,0,0,.30)}.solution-card:hover:before{background:linear-gradient(180deg,rgba(4,18,29,.02) 0%,rgba(4,18,29,.12) 32%,rgba(4,18,29,.80) 68%,rgba(4,18,29,.98) 100%),radial-gradient(circle at 80% 0%,rgba(73,192,240,.26),transparent 38%)}.card-photo{position:absolute;inset:0;height:100%;overflow:hidden;background:#0b1e29;border-bottom:none}.card-photo img{width:100%;height:100%;display:block;object-fit:cover;object-position:center;transition:transform .7s ease,filter .35s ease;filter:saturate(1.05) contrast(1.02)}.solution-card:hover .card-photo img{transform:scale(1.06)}.card-body{position:absolute;inset:auto 0 0 0;z-index:2;padding:26px 24px 22px;display:flex;flex-direction:column;justify-content:flex-end;min-height:48%}.solution-card h3{font-size:24px;line-height:1.45;margin:0 0 10px;color:#fff}.solution-card p{font-size:13px;line-height:1.86;color:#b9c9d1;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden;max-width:95%}.solution-card b{position:absolute;top:18px;left:18px;z-index:3;display:inline-flex;align-items:center;justify-content:center;min-width:44px;height:44px;padding:0 12px;border-radius:999px;background:rgba(5,20,31,.52);border:1px solid rgba(255,255,255,.16);color:#e6f6ff;font-size:14px;font-family:Inter,sans-serif;backdrop-filter:blur(8px)}.card-link{display:inline-flex;align-items:center;gap:8px;margin-top:15px;color:#71dcff;font-size:13px;font-weight:700;opacity:.95}.solution-card:hover .card-link{transform:translateX(-3px)}html[dir=ltr] .solution-card:hover .card-link{transform:translateX(3px)}.card-kicker{display:inline-flex;align-items:center;gap:8px;align-self:flex-start;padding:8px 12px;border-radius:999px;margin-bottom:12px;background:rgba(10,36,52,.58);border:1px solid rgba(255,255,255,.10);font-size:11px;letter-spacing:.16em;color:#8fe7ff;text-transform:uppercase;backdrop-filter:blur(8px)}.solutions-nav{position:absolute;top:50%;transform:translateY(-50%);width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.14);background:rgba(8,23,34,.86);color:#fff;font-size:24px;display:grid;place-items:center;cursor:pointer;z-index:5;backdrop-filter:blur(10px);transition:.25s}.solutions-nav:hover{background:#0d7cbd;border-color:rgba(108,218,255,.4)}.solutions-nav.prev{left:0}.solutions-nav.next{right:0}.solutions-dots{display:flex;justify-content:center;gap:10px;margin-top:24px}.solutions-dots button{width:11px;height:11px;border-radius:50%;border:0;background:rgba(255,255,255,.26);cursor:pointer;transition:.25s}.solutions-dots button.active{width:34px;border-radius:999px;background:linear-gradient(90deg,var(--green),var(--cyan))}
.showcase{display:grid;grid-template-columns:1.15fr .85fr;gap:56px;align-items:center;background:linear-gradient(180deg,#06131d,#071b27)}.showcase-media{position:relative}.showcase-media:before{content:"";position:absolute;inset:12% -5% -8% 18%;background:#0d8ad0;filter:blur(80px);opacity:.12}.showcase-media img{width:100%;border-radius:28px;display:block;border:1px solid var(--line);box-shadow:var(--shadow);position:relative}.kicker{font-size:12px;color:#76dcff;letter-spacing:.11em}.showcase-copy h2,.about-card h2,.contact-copy h2{margin-left:0;margin-right:0}.showcase-copy p,.about-card p,.contact-copy p{margin:0}.feature-list{display:grid;grid-template-columns:1fr 1fr;gap:12px;margin-top:28px}.feature-list div{display:flex;gap:12px;align-items:center;padding:14px;border:1px solid var(--line);border-radius:14px;background:rgba(255,255,255,.025)}.feature-list b{font-family:Inter;color:#61d4ff;font-size:12px}.feature-list span{font-size:13px;color:#d9e7ed}
.about{background:#06131d}.about-card{max-width:1100px;margin:auto;padding:46px;border:1px solid var(--line);border-radius:32px;background:linear-gradient(135deg,rgba(16,57,76,.46),rgba(8,28,39,.42));display:grid;grid-template-columns:240px 1fr;align-items:center;gap:46px;box-shadow:var(--shadow)}.about-logo{height:230px;display:grid;place-items:center;background:transparent;border:none;border-radius:0}.about-logo img{max-height:210px;max-width:210px;object-fit:contain;filter:none}
.process{background:#081923}.timeline{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;position:relative}.timeline:before{content:"";position:absolute;top:28px;right:5%;left:5%;height:1px;background:linear-gradient(90deg,transparent,#1f86be,transparent)}.timeline article{position:relative;padding:34px 24px 24px;border:1px solid var(--line);border-radius:20px;background:#0b202c;min-height:190px}.timeline article b{display:grid;place-items:center;width:56px;height:56px;border-radius:50%;background:#092a3a;border:1px solid #1b7098;color:#6ad8ff;font-family:Inter;margin-bottom:24px;position:relative;z-index:2}.timeline h3{margin:0 0 8px}.timeline p{margin:0;color:#92a8b4;font-size:12px;line-height:1.8}
.contact{background:radial-gradient(circle at 80% 20%,rgba(69,178,88,.12),transparent 40%),#06131d}.contact-panel{max-width:1200px;margin:auto;display:grid;grid-template-columns:1fr 1fr;gap:52px;padding:48px;border:1px solid var(--line);border-radius:32px;background:rgba(11,31,43,.72);box-shadow:var(--shadow)}.contact-links{display:grid;gap:10px;margin-top:24px}.contact-links a{width:max-content;color:#d9edf5}.contact-links span{display:inline-grid;place-items:center;width:28px;height:28px;border-radius:9px;background:#103549;margin-left:8px}.social-row{display:flex;flex-wrap:wrap;gap:10px;margin-top:20px}.social-row a{font-size:12px;padding:9px 13px;border:1px solid var(--line);border-radius:11px;background:rgba(255,255,255,.03)}.contact-form{display:grid;gap:14px}.contact-form label{display:grid;gap:7px;font-size:12px;color:#b9ccd6}.contact-form input,.contact-form select,.contact-form textarea{width:100%;background:#071925;border:1px solid rgba(255,255,255,.13);color:#fff;border-radius:13px;padding:13px 14px;outline:none;transition:.2s}.contact-form input:focus,.contact-form select:focus,.contact-form textarea:focus{border-color:#38a7da;box-shadow:0 0 0 3px rgba(56,167,218,.1)}.contact-form button{border:0;color:#fff;padding:14px 18px;border-radius:13px;background:linear-gradient(135deg,#087ec2,#125e8d);cursor:pointer}
.whatsapp-fab{position:fixed;z-index:900;left:24px;bottom:24px;width:56px;height:56px;border-radius:50%;display:grid;place-items:center;background:#25D366;color:white;font-weight:800;font-family:Inter;box-shadow:0 12px 30px rgba(0,0,0,.3);transition:.25s}.whatsapp-fab:hover{transform:scale(1.08)}footer{min-height:130px;padding:30px max(6vw,24px);display:flex;align-items:center;gap:22px;border-top:1px solid var(--line);background:#041019;color:#8fa7b3;font-size:12px}footer img{width:70px;height:70px;object-fit:contain}footer a{margin-inline-start:auto;color:#c6dbe5}.reveal{opacity:0;transform:translateY(28px);transition:.7s ease}.reveal.visible{opacity:1;transform:none}
@media(max-width:1100px){.solutions-slider{padding:0 62px}.solutions-page{grid-template-columns:repeat(2,minmax(0,1fr))}.solution-card{min-height:400px}.showcase{grid-template-columns:1fr}.timeline{grid-template-columns:1fr 1fr}.nav{display:none}.menu-btn{display:block}.nav.open{display:flex;position:fixed;top:78px;right:18px;left:18px;flex-direction:column;align-items:stretch;padding:18px;background:rgba(5,23,34,.96);border:1px solid var(--line);border-radius:20px;backdrop-filter:blur(18px)}.nav.open a{padding:10px 8px}.header-cta{display:none}}
@media(max-width:760px){.solutions-page{grid-template-columns:1fr}.topbar{height:74px}.brand img{height:54px;width:64px}.hero{min-height:680px}.slide:after{background:linear-gradient(0deg,rgba(2,12,18,.94) 0%,rgba(2,12,18,.5) 65%,rgba(2,12,18,.25) 100%)}.slide-content{top:auto;bottom:150px;right:22px;left:22px;transform:none;max-width:none}.slide-content h1{font-size:38px}.slide-content p{font-size:14px;line-height:1.8}.slide-icon{width:58px;height:58px;font-size:25px}.slide-dots{right:22px;bottom:30px}.hero-arrows{display:none}.scroll-cue{display:none}.section{padding:80px 22px}.solutions-slider{padding:0 52px}.solution-card{min-height:370px}.card-body{padding:22px 20px 20px;min-height:52%}.solution-card h3{font-size:22px;max-width:100%}.solution-card p{max-width:100%;font-size:13px;-webkit-line-clamp:4}.about-card{grid-template-columns:1fr;padding:26px}.about-logo{height:170px}.timeline{grid-template-columns:1fr}.timeline:before{display:none}.contact-panel{grid-template-columns:1fr;padding:26px}.feature-list{grid-template-columns:1fr}.social-row{gap:7px}footer{flex-direction:column;text-align:center}footer a{margin:0}.lang-btn{padding:9px 11px}}
@media(max-width:480px){.solutions-slider{padding:0 44px}.solutions-nav{width:42px;height:42px;font-size:20px}.solution-card{min-height:330px}.solution-card b{top:14px;left:14px;min-width:40px;height:40px}.card-kicker{font-size:10px;padding:7px 10px}.slide-content h1{font-size:33px}.strip h2,.section-heading h2,.showcase-copy h2,.about-card h2,.contact-copy h2{font-size:30px}}

/* High-resolution hero refinement */
.slide{background-repeat:no-repeat;background-color:#05131d;image-rendering:auto;will-change:opacity,transform}
.slide.active{transform:scale(1.001)}
.slide-content{padding:18px 20px;border-radius:24px;background:transparent;border:none;backdrop-filter:none;box-shadow:none}
.slide-content h1{text-wrap:balance;text-shadow:0 3px 18px rgba(0,0,0,.48)}
.slide-content p{text-shadow:0 2px 12px rgba(0,0,0,.45)}
@media(min-width:1500px){.slide-content{width:min(38vw,560px);max-width:560px}.slide-content p{max-width:100%}}
@media(max-width:760px){.slide{background-position:center center}.slide-content{padding:16px 16px;background:transparent;width:auto}}
html[dir=ltr] .contact-links span{margin-left:0;margin-right:8px}


@media(max-width:760px){.slide-btn-bottom{right:22px;left:auto;bottom:76px}html[dir=ltr] .slide-btn-bottom{left:22px;right:auto}.slide-dots{right:50%;bottom:26px;transform:translateX(50%)}}

/* Professional global footer */
.site-footer{background:linear-gradient(180deg,#071822 0%,#041018 100%);border-top:1px solid rgba(122,211,244,.16);color:#d6e5ec;padding:0!important;display:block!important;min-height:0!important;font-size:13px!important}
.footer-main{width:min(1320px,calc(100% - 48px));margin:auto;display:grid;grid-template-columns:1.45fr .8fr .95fr 1fr;gap:54px;padding:62px 0 46px;align-items:start}
.footer-brand-block{max-width:410px}.footer-brand-logo{width:132px!important;height:82px!important;object-fit:contain;object-position:center;margin-bottom:16px}.footer-brand-block p{margin:0;color:#92aab6;line-height:1.95;font-size:13px}.footer-socials{display:flex;gap:10px;flex-wrap:wrap;margin-top:22px}.footer-socials a{margin:0!important;padding:9px 13px;border:1px solid rgba(99,217,255,.2);border-radius:10px;background:rgba(255,255,255,.025);color:#cfe6ef!important;transition:.25s}.footer-socials a:hover{border-color:#5fd8ff;background:rgba(68,194,241,.09);transform:translateY(-2px)}
.footer-column{display:flex;flex-direction:column;gap:11px}.footer-column h3{margin:2px 0 11px;font-size:15px;color:#fff;font-weight:700}.footer-column a{margin:0!important;color:#91aab6!important;line-height:1.55;transition:.2s}.footer-column a:hover{color:#66d9ff!important;transform:translateX(-2px)}html[dir=ltr] .footer-column a:hover{transform:translateX(2px)}
.footer-contact-column .footer-email{color:#72dcff!important}.footer-phone{font-family:Inter,Arial,sans-serif;direction:ltr;text-align:right}.footer-location{color:#748d99;margin-top:4px}
.footer-bottom{border-top:1px solid rgba(255,255,255,.07);width:min(1320px,calc(100% - 48px));margin:auto;padding:20px 0 23px;display:flex;justify-content:space-between;align-items:center;gap:24px;color:#6f8996;font-size:11px}.footer-bottom p{margin:0}.footer-tagline{letter-spacing:.03em;color:#89a3af}
@media(max-width:1050px){.footer-main{grid-template-columns:1.3fr 1fr 1fr;gap:36px}.footer-contact-column{grid-column:2/4}.footer-brand-block{grid-row:1/3}}
@media(max-width:760px){.site-footer{text-align:start!important}.footer-main{width:calc(100% - 38px);grid-template-columns:1fr 1fr;gap:34px 24px;padding:46px 0 34px}.footer-brand-block{grid-column:1/-1;grid-row:auto;max-width:none}.footer-contact-column{grid-column:auto}.footer-bottom{width:calc(100% - 38px);flex-direction:column;align-items:flex-start;text-align:start;gap:7px}.footer-column a{margin:0!important}.footer-brand-logo{width:118px!important;height:72px!important}}
@media(max-width:520px){.footer-main{grid-template-columns:1fr}.footer-contact-column{grid-column:auto}.footer-column{padding-top:4px}}
/* Five-language selector */
#langSelect{min-width:112px;padding-inline:12px 30px;font-weight:600;background-color:rgba(255,255,255,.08);color:#fff;outline:none}
#langSelect option{background:#0a1c27;color:#fff}

/* Keep international phone numbers readable in RTL and all translated layouts */
.contact-links .contact-phone{direction:ltr;unicode-bidi:isolate;display:flex;align-items:center;gap:8px;width:max-content;text-align:left}
.contact-links .contact-phone bdi{direction:ltr;unicode-bidi:isolate;font-variant-numeric:tabular-nums;letter-spacing:.02em}
html[dir=rtl] .contact-links .contact-phone{direction:ltr}


/* Clean theme toggle */
.theme-btn{width:44px;height:44px;display:grid;place-items:center;border-radius:14px;border:1px solid var(--line);background:rgba(255,255,255,.08);color:#eefaff;cursor:pointer;transition:.25s;position:relative;flex:0 0 auto}.theme-icon{position:absolute;width:21px;height:21px;transition:opacity .25s,transform .35s}.sun-icon{opacity:0;transform:rotate(-60deg) scale(.7)}.moon-icon{opacity:1}.light-theme .sun-icon{opacity:1;transform:none}.light-theme .moon-icon{opacity:0;transform:rotate(60deg) scale(.7)}
body.light-theme{--bg:#f5f8fb;--bg2:#edf3f7;--card:#fff;--line:rgba(13,45,64,.14);--text:#102633;--muted:#627b88;--shadow:0 20px 55px rgba(23,64,88,.12);background:#f5f8fb;color:#102633}body.light-theme .topbar{background:rgba(250,253,255,.94);border-color:rgba(13,45,64,.10)}body.light-theme .nav a{color:#173647}body.light-theme .lang-btn,body.light-theme .theme-btn{background:rgba(12,55,78,.055);color:#173647;border-color:rgba(13,45,64,.14)}body.light-theme .strip,body.light-theme .solutions,body.light-theme .showcase,body.light-theme .about,body.light-theme .process,body.light-theme .contact{background:#f5f8fb}body.light-theme .section-heading h2,body.light-theme .strip h2,body.light-theme .showcase-copy h2,body.light-theme .about-card h2,body.light-theme .contact-copy h2{color:#102633}body.light-theme .section-heading p,body.light-theme .strip p,body.light-theme .showcase-copy p,body.light-theme .about-card p,body.light-theme .contact-copy p{color:#627b88}body.light-theme .about-card,body.light-theme .contact-panel,body.light-theme .timeline article{background:#fff;border-color:rgba(13,45,64,.12)}body.light-theme .site-footer{background:linear-gradient(180deg,#eaf2f6,#e3edf2);color:#284655}body.light-theme .footer-column h3{color:#173647}body.light-theme .footer-column a,body.light-theme .footer-brand-block p,body.light-theme .footer-bottom{color:#607b88!important}
/* Keep image-heavy hero/coverflow dark in light mode for readability */
body.light-theme .hero{background:#06131d;color:#fff}body.light-theme .hero h1{color:#fff}body.light-theme .hero p{color:#d7e6ec}

/* Clean, isolated 3D cover flow */
.cf-stage{position:relative;overflow:hidden;border:1px solid rgba(122,201,239,.12);border-radius:36px;padding:42px 34px 30px;background:linear-gradient(180deg,#071a26,#05131d);box-shadow:0 32px 90px rgba(0,0,0,.24)}.cf-intro{text-align:center;max-width:760px;margin:0 auto 24px}.cf-intro>span{font-size:11px;letter-spacing:.16em;text-transform:uppercase;color:#8fe7ff}.cf-intro h3{margin:10px 0 10px;font-size:40px;line-height:1.2;color:#fff}.cf-intro p{margin:0 auto;color:#afc7d4;line-height:1.9;font-size:14px}.cf-scene{position:relative;height:470px;perspective:1600px}.cf-track{position:relative;width:100%;height:100%;transform-style:preserve-3d}.cf-card{position:absolute;left:50%;top:50%;width:290px;height:400px;transform:translate(-50%,-50%) translate3d(var(--x,0),var(--y,0),0) rotateY(var(--r,0deg)) scale(var(--s,1));transition:transform 1.05s cubic-bezier(.22,.61,.36,1),opacity .65s ease,box-shadow .5s ease,border-radius .45s ease;border:1px solid rgba(130,202,255,.15);border-radius:28px;overflow:hidden;background:#0b1e29;box-shadow:0 16px 40px rgba(0,0,0,.28);cursor:pointer;isolation:isolate}.cf-card.hidden{pointer-events:none}.cf-card::after{content:"";position:absolute;inset:0;background:linear-gradient(180deg,rgba(4,18,29,.03),rgba(4,18,29,.16) 35%,rgba(4,18,29,.85) 74%,rgba(4,18,29,.98));z-index:1}.cf-media,.cf-media img{width:100%;height:100%;display:block}.cf-media img{object-fit:cover;transition:transform .8s ease}.cf-num{position:absolute;top:14px;left:14px;z-index:3;min-width:42px;height:42px;padding:0 10px;display:flex;align-items:center;justify-content:center;border-radius:999px;background:rgba(5,20,31,.66);border:1px solid rgba(255,255,255,.15);color:#fff;font:700 14px Inter,sans-serif}.cf-body{position:absolute;inset:auto 0 0;padding:22px 20px 20px;z-index:2}.cf-body h3{font-size:27px;line-height:1.32;margin:0 0 10px;color:#fff}.cf-body p{font-size:13px;line-height:1.8;color:#b9c9d1;margin:0;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}.cf-link{display:inline-block;margin-top:14px;color:#71dcff;font-size:13px;font-weight:700}.cf-card.active{border-color:rgba(103,214,255,.58);box-shadow:0 34px 82px rgba(0,0,0,.38)}.cf-card:hover,.cf-card:focus-visible{outline:none;transform:translate(-50%,-50%) translate3d(var(--x,0),var(--y,0),0) rotateY(var(--r,0deg)) scale(calc(var(--s,1) + .045));z-index:130!important;border-radius:36px 18px 36px 18px}.cf-card:hover .cf-media img{transform:scale(1.04)}.cf-nav{position:absolute;top:50%;transform:translateY(-50%);z-index:4;width:52px;height:52px;border-radius:50%;border:1px solid rgba(255,255,255,.15);background:rgba(7,21,33,.84);color:#fff;font-size:24px;cursor:pointer}.cf-nav.prev{left:8px}.cf-nav.next{right:8px}.cf-detail{display:grid;grid-template-columns:150px 1fr auto;gap:22px;align-items:center;padding:20px 22px;margin-top:18px;border:1px solid rgba(130,202,255,.14);border-radius:24px;background:rgba(255,255,255,.03)}.cf-detail small{display:block;color:#7bdfff;font-size:11px;margin-bottom:6px}.cf-detail-num{font-size:44px;color:#fff;font-family:Inter,sans-serif}.cf-detail h4{margin:0 0 8px;font-size:25px;color:#fff}.cf-detail p{margin:0;color:#afc7d4;line-height:1.8;font-size:13px}.cf-dots{display:flex;justify-content:center;gap:8px;flex-wrap:wrap;margin-top:20px}.cf-dots button{width:9px;height:9px;border:0;border-radius:999px;background:rgba(255,255,255,.28);padding:0}.cf-dots button.active{width:32px;background:#61d8ff}.cf-hint{text-align:center;color:#8da8b7;font-size:11px;margin-top:14px}.light-theme .cf-stage{background:linear-gradient(180deg,#071a26,#05131d)}
@media(max-width:1100px){.cf-scene{height:auto;perspective:none}.cf-track{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px;height:auto}.cf-card{position:relative;left:auto;top:auto;width:auto;height:390px;transform:none!important;opacity:1!important;z-index:auto!important}.cf-card.hidden{pointer-events:auto}.cf-nav,.cf-detail,.cf-dots,.cf-hint{display:none}.cf-intro h3{font-size:34px}}
@media(max-width:760px){.cf-stage{padding:30px 20px 24px}.cf-track{grid-template-columns:1fr}.cf-card{height:350px}.cf-body h3{font-size:23px}.cf-intro h3{font-size:30px}}


/* === Final light-theme contrast pass === */
body.light-theme{
  --bg:#f2f6f8;
  --bg2:#e7eef2;
  --card:#ffffff;
  --line:rgba(15,55,78,.22);
  --text:#0b2230;
  --muted:#496877;
  --shadow:0 18px 46px rgba(16,53,73,.13);
  background:#f2f6f8;
  color:#0b2230;
}
body.light-theme .topbar{background:rgba(247,251,253,.97);border-color:rgba(15,55,78,.16);box-shadow:0 8px 28px rgba(17,52,72,.10)}
body.light-theme .topbar.scrolled{background:rgba(247,251,253,.98);border-color:rgba(15,55,78,.18)}
body.light-theme .nav a{color:#17394b;font-weight:700}
body.light-theme .nav a:after{background:linear-gradient(90deg,#138dcc,#56a936)}
body.light-theme .lang-btn,body.light-theme .theme-btn,body.light-theme .menu-btn{background:#fff;color:#12384b;border-color:rgba(15,55,78,.22);box-shadow:0 5px 16px rgba(17,52,72,.08)}
body.light-theme .header-cta{color:#fff;background:linear-gradient(135deg,#0d7fc1,#105d8e)}
body.light-theme .strip,body.light-theme .showcase,body.light-theme .about,body.light-theme .process,body.light-theme .contact{background:#f2f6f8}
body.light-theme .strip{background:radial-gradient(circle at 50% 15%,rgba(28,132,188,.12),transparent 48%),#f2f6f8}
body.light-theme .strip .eyebrow,body.light-theme .section-heading span,body.light-theme .kicker{color:#087cad;font-weight:800}
body.light-theme .strip h2,body.light-theme .section-heading h2,body.light-theme .showcase-copy h2,body.light-theme .about-card h2,body.light-theme .contact-copy h2,body.light-theme .timeline h3{color:#0a2433}
body.light-theme .strip p,body.light-theme .section-heading p,body.light-theme .showcase-copy p,body.light-theme .about-card p,body.light-theme .contact-copy p,body.light-theme .timeline p{color:#466575}
body.light-theme .chips span{background:#fff;color:#234c60;border-color:rgba(15,55,78,.20);box-shadow:0 6px 18px rgba(19,62,84,.06)}
body.light-theme .showcase-media img{border-color:rgba(15,55,78,.18);box-shadow:0 18px 44px rgba(15,55,78,.12)}
body.light-theme .feature-list div{background:#fff;border-color:rgba(15,55,78,.18);box-shadow:0 7px 18px rgba(16,53,73,.06)}
body.light-theme .feature-list span{color:#193f53}
body.light-theme .feature-list b{color:#087cad}
body.light-theme .about-card,body.light-theme .timeline article,body.light-theme .contact-panel{background:#fff;border-color:rgba(15,55,78,.20);box-shadow:0 18px 48px rgba(16,53,73,.11)}
body.light-theme .timeline article b{background:#e7f5fb;border-color:#73b8d7;color:#086f9e}
body.light-theme .timeline:before{background:linear-gradient(90deg,transparent,#5ca8cd,transparent)}
body.light-theme .contact-links a{color:#16455b}
body.light-theme .contact-links span{background:#e5f2f8;color:#0b6e9b}
body.light-theme .social-row a{background:#fff;color:#17465b;border-color:rgba(15,55,78,.19)}
body.light-theme .contact-form label{color:#315769;font-weight:700}
body.light-theme .contact-form input,body.light-theme .contact-form select,body.light-theme .contact-form textarea{background:#fff;color:#102b3a;border-color:rgba(15,55,78,.24);box-shadow:inset 0 0 0 1px rgba(255,255,255,.35)}
body.light-theme .contact-form input::placeholder,body.light-theme .contact-form textarea::placeholder{color:#78909b}
body.light-theme .contact-form input:focus,body.light-theme .contact-form select:focus,body.light-theme .contact-form textarea:focus{border-color:#1689bf;box-shadow:0 0 0 3px rgba(22,137,191,.13)}
/* the visual service showcase intentionally remains dark in light mode */
body.light-theme .solutions{background:#eef4f7}
body.light-theme .cf-stage{background:linear-gradient(180deg,#071c28,#06141e);border-color:rgba(76,156,195,.34);box-shadow:0 28px 70px rgba(20,48,63,.18)}
body.light-theme .cf-intro>span{color:#77ddff}
body.light-theme .cf-intro h3{color:#fff}
body.light-theme .cf-intro p{color:#c0d2da}
body.light-theme .cf-detail{background:rgba(255,255,255,.055);border-color:rgba(112,203,241,.24)}
body.light-theme .cf-detail h4,body.light-theme .cf-detail-num{color:#fff}
body.light-theme .cf-detail p{color:#bfd0d8}
body.light-theme .cf-detail small{color:#70dcff}
body.light-theme .cf-hint{color:#9fb7c2}
body.light-theme .site-footer{background:linear-gradient(180deg,#dfeaf0,#d6e4eb);border-top-color:rgba(20,74,101,.18);color:#254b5d}
body.light-theme .footer-column h3{color:#0e3041}
body.light-theme .footer-column a,body.light-theme .footer-brand-block p,body.light-theme .footer-bottom{color:#456777!important}
body.light-theme .footer-email{color:#087cad!important}
body.light-theme .footer-socials a{background:#f8fbfc!important;color:#234b5d!important;border-color:rgba(15,55,78,.20)!important}
body.light-theme .footer-bottom{border-top-color:rgba(15,55,78,.14)}


/* === Header visibility + transparent services stage === */
/* Remove the framed/background panel around the 3D service showcase */
.cf-stage{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
body.light-theme .cf-stage{
  background:transparent!important;
  border-color:transparent!important;
  box-shadow:none!important;
}
/* Ensure copy remains readable when the stage is transparent */
body.light-theme .cf-intro>span{color:#087cad!important;font-weight:800}
body.light-theme .cf-intro h3{color:#0a2433!important}
body.light-theme .cf-intro p{color:#466575!important}
body.light-theme .cf-detail{
  background:rgba(255,255,255,.72)!important;
  border-color:rgba(15,55,78,.18)!important;
  box-shadow:0 12px 32px rgba(16,53,73,.08)!important;
}
body.light-theme .cf-detail h4,body.light-theme .cf-detail-num{color:#102b3a!important}
body.light-theme .cf-detail p{color:#466575!important}
body.light-theme .cf-detail small{color:#087cad!important;font-weight:800}
body.light-theme .cf-hint{color:#4c6b79!important}
body.light-theme .cf-dots button{background:rgba(20,66,88,.28)!important}
body.light-theme .cf-dots button.active{background:#138dcc!important}
/* Make the header actions and logo crisp and high contrast in light mode */
body.light-theme .header-actions{gap:12px}
body.light-theme .lang-btn,
body.light-theme .theme-btn,
body.light-theme .menu-btn{
  background:#ffffff!important;
  color:#0b2d3e!important;
  border:1px solid rgba(12,55,78,.28)!important;
  box-shadow:0 5px 16px rgba(14,55,76,.12)!important;
  opacity:1!important;
}
body.light-theme .lang-btn{
  -webkit-text-fill-color:#0b2d3e!important;
  font-weight:800!important;
}
body.light-theme .lang-btn option{
  color:#0b2d3e!important;
  background:#fff!important;
}
body.light-theme .theme-btn svg{color:#0b2d3e!important;opacity:1}
body.light-theme .header-cta{
  background:linear-gradient(135deg,#0c84c9,#0b6599)!important;
  color:#fff!important;
  border:1px solid rgba(0,86,135,.20)!important;
  box-shadow:0 8px 20px rgba(14,101,151,.22)!important;
  opacity:1!important;
}
body.light-theme .brand img{
  opacity:1!important;
  filter:saturate(1.35) contrast(1.25) drop-shadow(0 4px 10px rgba(0,54,91,.18))!important;
  transform:scale(1.14);
  transform-origin:center;
}
body.light-theme .topbar .brand{overflow:visible}


/* Highlight Smart Terra brand name inside running text */
.brand-accent{
  color:#25c7ff !important;
  font-weight:800 !important;
  letter-spacing:.01em;
  text-shadow:0 0 14px rgba(37,199,255,.12);
}
body.light-theme .brand-accent{
  color:#0b84d8 !important;
  text-shadow:none;
}


/* === Modern header controls refresh === */
.header-actions,
.actions{
  display:flex;
  align-items:center;
  gap:12px;
  padding:8px;
  border-radius:22px;
  background:linear-gradient(180deg,rgba(7,25,37,.82),rgba(6,20,30,.64));
  border:1px solid rgba(120,214,255,.14);
  box-shadow:0 12px 34px rgba(0,0,0,.22);
  backdrop-filter:blur(14px);
}

.header-cta,
.back-btn,
.lang-btn,
.theme-btn,
.menu-btn{
  position:relative;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  height:48px;
  border-radius:16px;
  transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease,color .22s ease;
}

.header-cta,
.back-btn{
  padding:0 22px;
  font-size:14px;
  font-weight:800;
  letter-spacing:.01em;
  white-space:nowrap;
  color:#fff;
  border:1px solid rgba(97,205,255,.22);
  background:linear-gradient(135deg,#1083c9,#155f91);
  box-shadow:0 12px 26px rgba(17,113,174,.24);
}

.header-cta:hover,
.back-btn:hover,
.lang-btn:hover,
.theme-btn:hover,
.menu-btn:hover{
  transform:translateY(-2px);
}

.header-cta:hover,
.back-btn:hover{
  border-color:rgba(135,227,255,.4);
  box-shadow:0 16px 28px rgba(12,96,148,.30);
}

.lang-btn{
  min-width:122px;
  padding:0 44px 0 18px;
  font-weight:800;
  color:#eef9ff;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.08),rgba(255,255,255,.04));
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
  cursor:pointer;
  appearance:none;
  -webkit-appearance:none;
  -moz-appearance:none;
  background-image:
    linear-gradient(45deg,transparent 50%, #91e6ff 50%),
    linear-gradient(135deg,#91e6ff 50%, transparent 50%);
  background-position:
    calc(100% - 19px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px);
  background-size:6px 6px,6px 6px;
  background-repeat:no-repeat;
}
html[dir="rtl"] .lang-btn{
  padding:0 18px 0 44px;
  background-position:
    18px calc(50% - 3px),
    24px calc(50% - 3px);
}

.theme-btn,
.menu-btn{
  width:48px;
  min-width:48px;
  padding:0;
  border:1px solid rgba(255,255,255,.12);
  background:linear-gradient(180deg,rgba(255,255,255,.085),rgba(255,255,255,.035));
  color:#fff;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.06);
}

.menu-btn span{
  width:18px;
  margin:3px 0;
  border-radius:10px;
  background:currentColor;
}

body.light-theme .header-actions,
body.light-theme .actions{
  background:linear-gradient(180deg,rgba(255,255,255,.96),rgba(247,251,253,.90));
  border-color:rgba(17,74,103,.12);
  box-shadow:0 12px 30px rgba(17,52,72,.10);
}
body.light-theme .header-cta,
body.light-theme .back-btn{
  color:#fff;
  background:linear-gradient(135deg,#0e82c6,#135b89);
  border-color:rgba(13,91,141,.18);
  box-shadow:0 12px 24px rgba(18,93,140,.18);
}
body.light-theme .lang-btn,
body.light-theme .theme-btn,
body.light-theme .menu-btn{
  color:#173b4d;
  background:linear-gradient(180deg,#ffffff,#f2f7fa);
  border-color:rgba(15,55,78,.18);
  box-shadow:0 8px 18px rgba(17,52,72,.07), inset 0 1px 0 rgba(255,255,255,.8);
}
body.light-theme .lang-btn{
  background-image:
    linear-gradient(45deg,transparent 50%, #2b7da7 50%),
    linear-gradient(135deg,#2b7da7 50%, transparent 50%),
    linear-gradient(180deg,#ffffff,#f2f7fa);
  background-position:
    calc(100% - 19px) calc(50% - 3px),
    calc(100% - 13px) calc(50% - 3px),
    0 0;
  background-size:6px 6px,6px 6px,100% 100%;
  background-repeat:no-repeat;
}
html[dir="rtl"] body.light-theme .lang-btn{
  background-position:
    18px calc(50% - 3px),
    24px calc(50% - 3px),
    0 0;
}

@media (max-width:860px){
  .header-actions,
  .actions{
    gap:8px;
    padding:6px;
    border-radius:18px;
  }
  .header-cta,
  .back-btn,
  .lang-btn,
  .theme-btn,
  .menu-btn{
    height:44px;
    border-radius:14px;
  }
  .header-cta,
  .back-btn{padding:0 16px;font-size:13px}
  .lang-btn{min-width:110px}
  .theme-btn,.menu-btn{width:44px;min-width:44px}
}

@media (max-width:620px){
  .header-actions,
  .actions{
    gap:6px;
    padding:4px;
    background:transparent;
    border:none;
    box-shadow:none;
    backdrop-filter:none;
  }
  .lang-btn{min-width:94px;font-size:12px}
  .theme-btn,.menu-btn{width:40px;min-width:40px;height:40px}
}


/* === Header layout swap: controls right, logo left, remove menu === */
.topbar{
  display:grid !important;
  grid-template-columns:auto 1fr auto;
  align-items:center;
  column-gap:24px;
  direction:ltr;
}
.topbar .brand{
  grid-column:1;
  justify-self:start;
  display:flex;
  align-items:center;
}
.topbar .nav{
  grid-column:2;
  justify-self:center;
}
.topbar .header-actions,
.topbar .actions{
  grid-column:3;
  justify-self:end;
}
html[dir="rtl"] .topbar .nav,
html[dir="rtl"] .topbar .header-actions,
html[dir="rtl"] .topbar .actions{
  direction:rtl;
}
html[dir="ltr"] .topbar .nav,
html[dir="ltr"] .topbar .header-actions,
html[dir="ltr"] .topbar .actions{
  direction:ltr;
}
.menu-btn{display:none !important}
@media (max-width:980px){
  .topbar{grid-template-columns:auto 1fr auto;column-gap:14px}
}
@media (max-width:620px){
  .topbar{grid-template-columns:auto 1fr auto;column-gap:10px}
}


/* === Header visual repair: stronger logo + scrollbar-safe header === */
body{overflow-x:hidden}
.topbar{
  left:0;
  right:0;
  width:auto;
  max-width:none;
  overflow:hidden;
  min-height:88px;
}
.topbar .brand{
  min-width:120px;
  height:88px;
  padding-inline:8px;
  overflow:visible;
}
.topbar .brand img{
  display:block;
  height:82px;
  width:auto;
  max-width:150px;
  object-fit:contain;
  object-position:center;
  opacity:1 !important;
  filter:none !important;
  mix-blend-mode:normal;
}
.topbar.scrolled .brand{height:76px}
.topbar.scrolled .brand img{
  height:72px;
  max-width:138px;
}
body.light-theme .topbar .brand img{
  filter:drop-shadow(0 8px 18px rgba(9,96,143,.12)) !important;
}
@media (max-width:760px){
  .topbar .brand{
    min-width:90px;
    height:74px;
    padding-inline:4px;
  }
  .topbar .brand img{
    height:60px;
    max-width:112px;
  }
  .topbar.scrolled .brand img{
    height:56px;
    max-width:104px;
  }
}


/* === Final header controls contrast repair === */
.lang-btn,
#langSelect{
  font-size:14px !important;
  font-weight:800 !important;
  letter-spacing:0 !important;
  line-height:1.1 !important;
  opacity:1 !important;
  text-shadow:none !important;
  text-indent:0 !important;
  text-overflow:ellipsis;
  -webkit-text-fill-color:currentColor !important;
}
.lang-btn option,
#langSelect option{
  color:#12384b !important;
  background:#ffffff !important;
}
.theme-btn{
  opacity:1 !important;
}
.theme-btn svg,
.theme-btn .theme-icon{
  width:20px;
  height:20px;
  display:block;
  opacity:1;
  color:currentColor;
}
body.light-theme .lang-btn,
body.light-theme #langSelect{
  color:#12384b !important;
  background:linear-gradient(180deg,#ffffff 0%,#eef4f7 100%) !important;
  border-color:rgba(15,55,78,.22) !important;
  box-shadow:0 8px 20px rgba(17,52,72,.09), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
body.light-theme .lang-btn option,
body.light-theme #langSelect option{
  color:#12384b !important;
  background:#ffffff !important;
}
body.light-theme .theme-btn{
  color:#12384b !important;
  background:linear-gradient(180deg,#ffffff 0%,#eef4f7 100%) !important;
  border-color:rgba(15,55,78,.22) !important;
  box-shadow:0 8px 20px rgba(17,52,72,.09), inset 0 1px 0 rgba(255,255,255,.95) !important;
}
body.light-theme .theme-btn .theme-icon,
body.light-theme .theme-btn svg{
  color:#12384b !important;
  opacity:1 !important;
  filter:none !important;
}
body.light-theme .sun-icon,
body.light-theme .moon-icon,
.sun-icon,
.moon-icon{
  transform-origin:center;
}

/* === Smart Terra custom scrollbar: starts below the fixed header === */
html{scrollbar-width:none}
body{-ms-overflow-style:none}
html::-webkit-scrollbar,body::-webkit-scrollbar{width:0;height:0}
.st-scrollbar{
  --st-top:96px;
  position:fixed;
  z-index:980;
  top:var(--st-top);
  right:6px;
  bottom:10px;
  width:10px;
  padding:2px;
  border-radius:999px;
  background:rgba(5,23,34,.28);
  border:1px solid rgba(112,211,248,.12);
  backdrop-filter:blur(8px);
  box-shadow:0 8px 24px rgba(0,0,0,.12);
  opacity:.82;
  transition:opacity .2s ease,background .2s ease,border-color .2s ease;
  touch-action:none;
  user-select:none;
}
.st-scrollbar:hover,.st-scrollbar.dragging{
  opacity:1;
  background:rgba(6,28,42,.52);
  border-color:rgba(112,211,248,.24);
}
.st-scrollbar[hidden]{display:none!important}
.st-scrollbar-thumb{
  position:absolute;
  top:2px;
  left:2px;
  right:2px;
  min-height:56px;
  border-radius:999px;
  background:linear-gradient(180deg,rgba(121,221,255,.96),rgba(30,123,170,.92));
  box-shadow:0 4px 12px rgba(38,153,204,.24),inset 0 1px 0 rgba(255,255,255,.25);
  cursor:grab;
}
.st-scrollbar-thumb:active{cursor:grabbing}
body.light-theme .st-scrollbar{
  background:rgba(232,243,248,.72);
  border-color:rgba(25,104,140,.16);
  box-shadow:0 8px 22px rgba(28,74,96,.10);
}
body.light-theme .st-scrollbar-thumb{
  background:linear-gradient(180deg,rgba(61,174,220,.95),rgba(20,111,157,.92));
}
@media(max-width:760px){
  .st-scrollbar{right:3px;width:8px;bottom:7px}
  .st-scrollbar-thumb{min-height:44px}
}

/* ===== Responsive repair (phones / tablets) — آخر طبقة، تغلب القواعد السابقة ===== */
html{-webkit-text-size-adjust:100%;text-size-adjust:100%}
img,video,svg{max-width:100%}
body{overflow-x:hidden}
.menu-btn{display:none}
.menu-btn span{display:block;width:20px;height:2px;margin:0!important;border-radius:2px;background:currentColor;transition:transform .25s,opacity .2s}
.menu-btn[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg)}
.menu-btn[aria-expanded="true"] span:nth-child(2){opacity:0}
.menu-btn[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg)}

@media (max-width:1100px){
  .topbar{overflow:visible!important;padding-inline:max(3vw,14px)}
  .menu-btn{display:inline-flex!important;flex-direction:column;align-items:center;justify-content:center;gap:5px;width:48px;padding:0;color:#fff}
  body.light-theme .menu-btn{color:#12384b}
  .topbar .nav{display:none}
  .topbar .nav.open{display:flex!important;grid-column:1 / -1!important;grid-row:1!important;justify-self:stretch!important;position:absolute!important;top:calc(100% + 6px)!important;left:14px!important;right:14px!important;flex-direction:column;align-items:stretch;gap:2px;padding:12px;background:rgba(5,23,34,.97);border:1px solid var(--line);border-radius:20px;box-shadow:0 24px 60px rgba(0,0,0,.45);backdrop-filter:blur(18px);z-index:1100}
  body.light-theme .topbar .nav.open{background:rgba(250,253,255,.98);box-shadow:0 24px 50px rgba(17,52,72,.18)}
  .topbar .nav.open a{padding:14px 12px;font-size:16px;border-radius:12px}
  .topbar .nav.open a:after{display:none}
  .topbar .nav.open a:active,.topbar .nav.open a:hover{background:rgba(120,214,255,.10)}
}
@media (max-width:620px){
  .topbar{column-gap:8px!important;padding-inline:10px}
  .header-actions{gap:6px!important;padding:3px!important}
  .header-cta,.back-btn,.lang-btn,.theme-btn,.menu-btn{height:42px!important;border-radius:13px!important}
  .header-cta{padding:0 12px!important;font-size:12px!important}
  .lang-btn,#langSelect{min-width:84px!important;font-size:12px!important;padding-inline:10px 28px!important}
  html[dir="rtl"] .lang-btn{padding:0 10px 0 28px!important}
  .theme-btn{width:42px}
  .menu-btn{width:42px}
}
@media (max-width:480px){
  .header-cta{display:none!important}
}

/* عناصر الكشف الطويلة (كروت الحلول) لا يجوز أن تعتمد على نسبة ظهور — تظهر دائمًا على الشاشات الصغيرة */
@media (max-width:1100px){
  .cf-stage.reveal{opacity:1!important;transform:none!important}
}
/* الهاتف: كروت الحلول شريط سحب أفقي بدل طابور من 12 كارتًا فوق بعض */
@media (max-width:760px){
  .cf-stage{padding:26px 14px 18px!important}
  .cf-track{display:flex!important;grid-template-columns:none!important;gap:14px;overflow-x:auto;overflow-y:hidden;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;padding:4px 2px 14px;scrollbar-width:none}
  .cf-track::-webkit-scrollbar{display:none}
  .cf-card{flex:0 0 84%!important;min-width:0;height:380px!important;scroll-snap-align:center}
}
@media (max-width:760px){ .cf-stage{padding:22px 8px 14px!important} }
