
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=Tajawal:wght@400;500;600;700;800&display=swap');
:root{--brand:#f7941d;--brand-dark:#22258b;--brand-soft:#fff2df;--ink:#25284a;--ink-2:#424866;--muted:#70758a;--surface:#fff;--surface-2:#f8f9fd;--line:#e4e6ef;--radius:22px;--shadow:0 22px 60px rgba(34,37,139,.12);--shadow-sm:0 12px 34px rgba(34,37,139,.09);--transition:.32s cubic-bezier(.2,.8,.2,1)}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{font-family:Inter,Tajawal,Arial,sans-serif;color:var(--ink);background:#fff;line-height:1.7;overflow-x:hidden}html[dir=rtl] body{font-family:Tajawal,Inter,Arial,sans-serif}.text-brand{color:var(--brand)!important}.bg-brand{background:var(--brand)!important}.section-space{padding:100px 0}.section-soft{background:var(--surface-2)}.section-dark{background:#1d226f;color:#fff}.section-title{font-size:clamp(2rem,4vw,3.7rem);font-weight:800;line-height:1.08;letter-spacing:-.045em}.section-title-sm{font-size:clamp(1.8rem,3vw,2.8rem);font-weight:800;line-height:1.15;letter-spacing:-.035em}.section-kicker{display:inline-flex;align-items:center;gap:10px;color:var(--brand-dark);font-size:.78rem;font-weight:800;letter-spacing:.16em;text-transform:uppercase}.section-kicker:before{content:"";width:30px;height:2px;background:var(--brand)}.lead-muted{color:var(--muted);font-size:1.08rem}.btn-brand{background:var(--brand);border-color:var(--brand);color:#fff;border-radius:10px;padding:.78rem 1.35rem;font-weight:700;box-shadow:0 10px 28px rgba(247,148,29,.24);transition:var(--transition)}.btn-brand:hover{background:var(--brand-dark);border-color:var(--brand-dark);color:#fff;transform:translateY(-2px)}.btn-outline-brand{border:1px solid var(--brand);color:var(--brand-dark);border-radius:10px;padding:.78rem 1.35rem;font-weight:700}.btn-outline-brand:hover{background:var(--brand);color:#fff}.btn-white{background:#fff;color:var(--ink);font-weight:700;border-radius:10px;padding:.8rem 1.4rem}.topbar{background:#191b69;color:#d8dcf0;font-size:.82rem;padding:7px 0}.topbar a{color:#eef0fb;text-decoration:none}.topbar a:hover{color:#fff}.site-header{position:sticky;top:0;z-index:1020;background:rgba(255,255,255,.94);backdrop-filter:blur(18px);border-bottom:1px solid rgba(228,230,239,.88);transition:var(--transition)}.site-header.is-scrolled{box-shadow:0 10px 35px rgba(34,37,139,.11)}.navbar-brand img{width:185px;height:auto}.navbar-nav .nav-link{color:#383e62;font-size:.92rem;font-weight:700;padding:1.7rem .85rem!important;position:relative}.navbar-nav .nav-link:after{content:"";position:absolute;left:.85rem;right:.85rem;bottom:1.2rem;height:2px;background:var(--brand);transform:scaleX(0);transition:var(--transition)}.navbar-nav .nav-link:hover,.navbar-nav .nav-link.active{color:var(--brand-dark)}.navbar-nav .nav-link:hover:after,.navbar-nav .nav-link.active:after{transform:scaleX(1)}.dropdown-menu{border:0;border-radius:16px;box-shadow:var(--shadow);padding:14px;min-width:270px}.dropdown-item{border-radius:10px;padding:.7rem .9rem;font-weight:600;color:#424866}.dropdown-item:hover{background:var(--brand-soft);color:var(--brand-dark)}.lang-btn{min-width:72px}.scroll-progress{position:fixed;top:0;left:0;width:0;height:3px;background:linear-gradient(90deg,var(--brand),var(--brand-dark));z-index:2000}.hero{position:relative;min-height:680px;display:flex;align-items:center;background:linear-gradient(135deg,#fff 0%,#f7f8ff 52%,#fff4e4 100%);overflow:hidden}.hero:before{content:"";position:absolute;inset:auto -100px -260px auto;width:580px;height:580px;border-radius:50%;background:var(--brand);opacity:.055}.hero-grid{display:grid;grid-template-columns:1.03fr .97fr;gap:55px;align-items:center}.hero h1{font-size:clamp(3rem,6vw,6.4rem);font-weight:800;line-height:.95;letter-spacing:-.06em;margin:18px 0 24px}.hero h1 .outline{color:transparent;-webkit-text-stroke:1.5px var(--brand-dark)}.hero-copy{font-size:1.12rem;color:var(--muted);max-width:640px}.hero-visual{position:relative}.hero-visual img{width:100%;border-radius:42px;object-fit:cover;filter:drop-shadow(0 28px 40px rgba(34,37,139,.13));animation:float 6s ease-in-out infinite}.hero-badge{position:absolute;background:#fff;border:1px solid var(--line);border-radius:16px;padding:13px 17px;box-shadow:var(--shadow-sm);font-weight:700;font-size:.86rem}.hero-badge.one{left:0;top:13%}.hero-badge.two{right:3%;bottom:14%}@keyframes float{0%,100%{transform:translateY(0)}50%{transform:translateY(-12px)}}.hero-dots{display:flex;gap:8px;margin-top:30px}.hero-dot{width:28px;height:4px;border-radius:4px;background:#d2d5e8;transition:var(--transition)}.hero-dot.active{width:55px;background:var(--brand)}.trust-strip{border-top:1px solid var(--line);border-bottom:1px solid var(--line);background:#fff}.trust-item{display:flex;align-items:center;gap:12px;padding:22px 0;color:var(--ink-2);font-weight:700}.trust-item i{color:var(--brand);font-size:1.25rem}.stat-card{padding:28px;border-radius:18px;background:#fff;border:1px solid var(--line);box-shadow:var(--shadow-sm);height:100%}.stat-number{font-size:2.8rem;font-weight:800;line-height:1;color:var(--brand-dark)}.stat-label{font-weight:700;color:var(--muted);margin-top:8px}.service-card{position:relative;padding:35px 30px;border-radius:var(--radius);background:#fff;border:1px solid var(--line);height:100%;transition:var(--transition);overflow:hidden}.service-card:before{content:"";position:absolute;width:120px;height:120px;border-radius:50%;right:-60px;top:-60px;background:var(--brand);opacity:.08;transition:var(--transition)}.service-card:hover{transform:translateY(-9px);box-shadow:var(--shadow);border-color:transparent}.service-card:hover:before{transform:scale(1.5);opacity:.13}.service-icon{width:62px;height:62px;border-radius:17px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-dark);font-size:1.65rem;margin-bottom:22px}.service-card h3{font-size:1.23rem;font-weight:800}.service-card p{color:var(--muted);margin:0}.service-link{display:inline-flex;align-items:center;gap:8px;margin-top:20px;color:var(--brand-dark);text-decoration:none;font-weight:800;font-size:.9rem}.service-link:hover{gap:13px;color:var(--brand)}.about-visual{position:relative}.about-visual img{width:100%;border-radius:28px}.experience-badge{position:absolute;right:-15px;bottom:25px;background:var(--brand);color:#fff;border-radius:18px;padding:20px 26px;box-shadow:var(--shadow)}html[dir=rtl] .experience-badge{right:auto;left:-15px}.experience-badge strong{display:block;font-size:2.4rem;line-height:1}.feature-list{list-style:none;padding:0;margin:26px 0}.feature-list li{display:flex;gap:12px;align-items:flex-start;margin-bottom:13px;color:var(--ink-2)}.feature-list i{color:var(--brand);margin-top:5px}.products-wrap{background:#1d226f;border-radius:34px;padding:65px;color:#fff;position:relative;overflow:hidden}.products-wrap:after{content:"";position:absolute;inset:-160px -160px auto auto;width:360px;height:360px;border-radius:50%;background:var(--brand);opacity:.1}.product-card{background:#fff;color:var(--ink);border-radius:20px;padding:30px;height:100%;min-height:285px;position:relative;z-index:1;transition:var(--transition)}.product-card:hover{transform:translateY(-7px)}.product-tag{font-size:.72rem;font-weight:800;color:var(--brand-dark);background:var(--brand-soft);padding:5px 10px;border-radius:999px;display:inline-flex}.product-card h3{font-weight:800;font-size:1.32rem;margin:20px 0 12px}.product-card p{color:var(--muted)}.product-card .number{position:absolute;right:22px;top:18px;font-size:3.3rem;font-weight:800;color:#f0f1f7;line-height:1}html[dir=rtl] .product-card .number{right:auto;left:22px}.cloud-section{background:linear-gradient(135deg,#eef1ff,#fff7ea);border-radius:34px;overflow:hidden}.cloud-section img{width:100%;height:100%;object-fit:cover;display:block}.client-logo{height:95px;border:1px solid var(--line);border-radius:15px;display:grid;place-items:center;background:#fff;color:#7b8098;font-weight:800;letter-spacing:.05em;transition:var(--transition)}.client-logo:hover{border-color:var(--brand);color:var(--brand-dark);transform:translateY(-4px);box-shadow:var(--shadow-sm)}.cta{background:linear-gradient(135deg,var(--brand-dark),var(--brand));border-radius:30px;color:#fff;padding:65px;position:relative;overflow:hidden}.cta:after{content:"";position:absolute;width:360px;height:360px;border:70px solid rgba(255,255,255,.08);border-radius:50%;right:-120px;top:-170px}.footer{background:#15185b;color:#cfd3e6;padding:78px 0 26px}.footer-logo{filter:brightness(0) invert(1);width:190px;opacity:.95}.footer h5{color:#fff;font-weight:800;font-size:1rem;margin-bottom:22px}.footer a{color:#cfd3e6;text-decoration:none;display:block;margin-bottom:9px}.footer a:hover{color:#fff}.footer-bottom{border-top:1px solid rgba(255,255,255,.1);padding-top:22px;margin-top:45px}.socials{display:flex;gap:9px}.socials a{width:38px;height:38px;border-radius:10px;border:1px solid rgba(255,255,255,.14);display:grid;place-items:center;margin:0}.socials a:hover{background:var(--brand);border-color:var(--brand)}.page-hero{padding:120px 0 90px;background:linear-gradient(135deg,#fff9f1,#eef1ff);position:relative;overflow:hidden}.page-hero:after{content:"";position:absolute;width:420px;height:420px;border-radius:50%;background:var(--brand);opacity:.06;right:-110px;top:-170px}.breadcrumb a{color:var(--brand-dark);text-decoration:none}.filter-btn{border:1px solid var(--line);background:#fff;color:var(--ink-2);border-radius:999px;padding:9px 18px;font-weight:700}.filter-btn.active,.filter-btn:hover{background:var(--brand);border-color:var(--brand);color:#fff}.product-grid-card{border:1px solid var(--line);border-radius:20px;padding:28px;background:#fff;height:100%;transition:var(--transition)}.product-grid-card:hover{transform:translateY(-7px);box-shadow:var(--shadow);border-color:transparent}.contact-card{padding:28px;border:1px solid var(--line);border-radius:20px;background:#fff;height:100%}.contact-card .icon{width:54px;height:54px;border-radius:15px;display:grid;place-items:center;background:var(--brand-soft);color:var(--brand-dark);font-size:1.4rem}.form-control,.form-select{border:1px solid #dde0ec;border-radius:12px;padding:.85rem 1rem}.form-control:focus,.form-select:focus{border-color:var(--brand);box-shadow:0 0 0 .25rem rgba(247,148,29,.14)}.map-placeholder{min-height:420px;border-radius:24px;background:linear-gradient(135deg,#e8ebff,#fff5e8);display:grid;place-items:center;position:relative;overflow:hidden}.map-placeholder:before,.map-placeholder:after{content:"";position:absolute;width:180%;height:35px;background:#fff;transform:rotate(-18deg);opacity:.65}.map-placeholder:after{transform:rotate(28deg);width:150%}.map-pin{z-index:1;width:72px;height:72px;border-radius:50% 50% 50% 0;background:var(--brand);transform:rotate(-45deg);display:grid;place-items:center;box-shadow:var(--shadow)}.map-pin i{transform:rotate(45deg);color:#fff;font-size:1.7rem}.timeline{position:relative}.timeline:before{content:"";position:absolute;left:22px;top:5px;bottom:5px;width:2px;background:var(--line)}html[dir=rtl] .timeline:before{left:auto;right:22px}.timeline-item{position:relative;padding-left:70px;margin-bottom:34px}html[dir=rtl] .timeline-item{padding-left:0;padding-right:70px}.timeline-dot{position:absolute;left:9px;top:2px;width:28px;height:28px;border-radius:50%;background:var(--brand);border:7px solid var(--brand-soft)}html[dir=rtl] .timeline-dot{left:auto;right:9px}.timeline-item h4{font-weight:800}.reveal{opacity:0;transform:translateY(24px);transition:opacity .75s ease,transform .75s ease}.reveal.is-visible{opacity:1;transform:none}.back-top{position:fixed;right:22px;bottom:22px;width:46px;height:46px;border:0;border-radius:13px;background:var(--brand);color:#fff;box-shadow:var(--shadow);opacity:0;visibility:hidden;transform:translateY(10px);transition:var(--transition);z-index:1000}.back-top.show{opacity:1;visibility:visible;transform:none}html[dir=rtl] .back-top{right:auto;left:22px}.preloader{position:fixed;inset:0;background:#fff;display:grid;place-items:center;z-index:3000;transition:opacity .45s ease,visibility .45s ease}.preloader.hide{opacity:0;visibility:hidden}
.preloader-logo {
    width: 150px;
    height: auto;
    animation: loaderPulse 1.1s ease-in-out infinite;
}

@keyframes loaderPulse {
    50% {
        transform: scale(.9);
        opacity: .65;
    }
}@keyframes pulse{50%{transform:scale(.88);opacity:.65}}.toast-container{z-index:2050}.modal-content{border:0;border-radius:24px;box-shadow:var(--shadow)}
@media(max-width:991.98px){.section-space{padding:75px 0}.hero{min-height:auto;padding:85px 0}.hero-grid{grid-template-columns:1fr;gap:30px}.hero h1{font-size:clamp(3rem,11vw,5.4rem)}.hero-visual{max-width:700px;margin:auto}.navbar-nav .nav-link{padding:.7rem 0!important}.navbar-nav .nav-link:after{display:none}.products-wrap,.cta{padding:42px 28px}.navbar-collapse{padding:20px 0}.topbar .hide-mobile{display:none!important}}
@media(max-width:575.98px){.section-space{padding:62px 0}.hero{padding:65px 0}.hero-actions .btn{width:100%;margin-bottom:10px}.hero-badge{display:none}.section-title{font-size:2.2rem}.products-wrap,.cta{border-radius:22px;padding:34px 20px}.experience-badge{right:10px;bottom:10px;padding:14px 18px}html[dir=rtl] .experience-badge{left:10px}.page-hero{padding:85px 0 62px}.navbar-brand img{width:160px}}
@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;animation:none!important;transition:none!important}.reveal{opacity:1;transform:none}}

/* =====================================================================
   Mirasoft – layout, RTL and mobile refinements
   ===================================================================== */

/* ---- 1. Scroll progress bar: grows RTL in Arabic, LTR in English ---- */
.scroll-progress {
    inset-inline-start: 0;
    inset-inline-end: auto;
    will-change: width;
}

html[dir=ltr] .scroll-progress {
    left: 0;
    right: auto;
    background: linear-gradient(90deg, var(--brand), var(--brand-dark));
}

html[dir=rtl] .scroll-progress {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, var(--brand), var(--brand-dark));
}

/* ---- 2. Arabic headings need more breathing room ----
   The Latin display settings (line-height .95 / letter-spacing -.06em)
   make Arabic ascenders and descenders collide between lines. */
html[dir=rtl] .hero h1 {
    line-height: 1.32;
    letter-spacing: 0;
    margin: 18px 0 28px;
}

html[dir=rtl] .hero h1 span {
    display: inline-block;
    padding-block: .08em;
}

html[dir=rtl] .section-title {
    line-height: 1.35;
    letter-spacing: 0;
}

html[dir=rtl] .section-title-sm {
    line-height: 1.45;
    letter-spacing: 0;
}

html[dir=rtl] .stat-number,
html[dir=rtl] .experience-badge strong {
    line-height: 1.25;
}

html[dir=rtl] .section-kicker {
    letter-spacing: .04em;
}

/* ---- 3. Hero action buttons ----
   They are part of the normal flow: never absolutely positioned. */
.hero-actions {
    position: static;
    z-index: auto;
    row-gap: 12px;
}

.hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
}

/* ---- 4. Card and panel styles referenced by the views ---- */
.product-icon {
    width: 58px;
    height: 58px;
    border-radius: 16px;
    display: grid;
    place-items: center;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: 1.5rem;
    margin-bottom: 18px;
}

.product-grid-card h3 {
    font-size: 1.18rem;
    font-weight: 800;
    margin-bottom: 10px;
}

.product-grid-card p {
    color: var(--muted);
    margin-bottom: 0;
}

.cta-panel {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    padding: 46px;
    border-radius: var(--radius);
    background: #fff;
    border: 1px solid var(--line);
    box-shadow: var(--shadow-sm);
}

    .cta-panel > div {
        flex: 1 1 380px;
        min-width: 0;
    }

    .cta-panel .btn {
        flex: 0 0 auto;
    }

/* ---- 5. Client category (classification) ---- */
.client-category {
    display: inline-block;
    margin-top: -6px;
    padding: 3px 10px;
    border-radius: 999px;
    background: var(--brand-soft);
    color: var(--brand-dark);
    font-size: .72rem;
    font-weight: 800;
    letter-spacing: 0;
    line-height: 1.6;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.client-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 34px;
}

/* ---- 6. Mobile refinements ---- */
@media (max-width: 991.98px) {
    .navbar-collapse {
        max-height: calc(100vh - 150px);
        overflow-y: auto;
        overscroll-behavior: contain;
    }

    .navbar-nav {
        margin-inline: 0 !important;
    }

    .navbar-nav .dropdown-menu {
        box-shadow: none;
        border: 1px solid var(--line);
        min-width: 100%;
        padding: 8px;
        margin-block: 4px 10px;
    }

    .cta-panel {
        padding: 32px 22px;
    }

    .products-wrap:after,
    .cta:after,
    .page-hero:after,
    .hero:before {
        display: none;
    }
}

@media (max-width: 575.98px) {
    body {
        line-height: 1.75;
    }

    .container {
        padding-inline: 18px;
    }

    .hero h1 {
        font-size: clamp(2.3rem, 10vw, 3.2rem);
        line-height: 1.08;
    }

    html[dir=rtl] .hero h1 {
        font-size: clamp(2rem, 8.5vw, 2.7rem);
        line-height: 1.42;
    }

    .hero-copy,
    .lead-muted {
        font-size: 1rem;
    }

    /* Stack the hero buttons cleanly instead of letting them collide. */
    .hero-actions {
        display: flex !important;
        flex-direction: column;
        align-items: stretch;
        width: 100%;
        gap: 12px !important;
        margin-top: 26px !important;
    }

        .hero-actions .btn {
            width: 100%;
            margin: 0;
            padding-block: .85rem;
        }

    .hero-dots {
        margin-top: 24px;
    }

    .section-title {
        font-size: 1.95rem;
        line-height: 1.25;
    }

    html[dir=rtl] .section-title {
        font-size: 1.8rem;
        line-height: 1.5;
    }

    .section-title-sm {
        font-size: 1.6rem;
    }

    .cta-panel {
        flex-direction: column;
        align-items: stretch;
        text-align: start;
        padding: 26px 20px;
        gap: 20px;
    }

        .cta-panel .btn {
            width: 100%;
        }

    .service-card,
    .product-grid-card,
    .contact-card {
        padding: 26px 20px;
    }

    .stat-card {
        padding: 22px 18px;
    }

    .trust-item {
        padding: 16px 0;
        font-size: .92rem;
    }

    .footer {
        padding: 56px 0 22px;
        text-align: start;
    }

        .footer .row {
            --bs-gutter-y: 2.25rem;
        }

        .footer [class*="col-"] {
            min-width: 0;
        }

        .footer p,
        .footer a,
        .footer h5 {
            overflow-wrap: anywhere;
        }

    .footer-bottom {
        margin-top: 32px;
        font-size: .85rem;
    }

    .back-top {
        bottom: calc(16px + env(safe-area-inset-bottom, 0px));
        width: 44px;
        height: 44px;
    }

    html[dir=ltr] .back-top {
        right: 16px;
        left: auto;
    }

    html[dir=rtl] .back-top {
        left: 16px;
        right: auto;
    }

    .topbar {
        font-size: .76rem;
    }

    .page-hero {
        padding: 70px 0 52px;
    }

    .map-placeholder,
    .legacy-public-content iframe {
        min-height: 320px !important;
    }

    .legacy-public-content {
        padding: 48px 0;
    }

        .legacy-public-content table {
            display: block;
            width: 100%;
            overflow-x: auto;
        }

    .modal-content {
        border-radius: 18px;
    }
}

/* Nothing should ever push the page sideways on a phone. */
@media (max-width: 767.98px) {
    img,
    svg,
    iframe,
    table,
    pre {
        max-width: 100%;
    }
}

/* ---- 7. No row may be wider than the screen on a phone ----
   Bootstrap's .g-5 sets --bs-gutter-x to 3rem, which pulls the row 24px
   outwards on each side, while .container only pads 18px. The 6px surplus
   made the whole document scroll sideways, and the footer - the last row on
   every page - was where it showed up. Clamping the gutter removes the
   overflow without changing the desktop spacing. */
@media (max-width: 767.98px) {
    .row.g-5,
    .row.gx-5 {
        --bs-gutter-x: 1.5rem;
    }

    /* The experience badge hangs 15px outside its column by design. */
    .experience-badge {
        right: auto;
        left: auto;
        inset-inline-end: 10px;
    }

    /* The top bar has to wrap instead of pushing the page sideways. */
    .topbar .container > .d-flex {
        flex-wrap: wrap;
        row-gap: 4px;
    }

    .topbar a,
    .topbar span {
        overflow-wrap: anywhere;
    }
}

/* ---- 8. The top bar owns the layer above the sticky header ----
   .site-header is sticky with z-index 1020, while .topbar was statically
   positioned with no stacking context of its own. Its e-mail dropdown was
   therefore painted UNDER the header, so the logo covered the menu.
   A stacking context one step above the header puts the menu back on top. */
.topbar {
    position: relative;
    z-index: 1030;
}

.topbar-email-menu .dropdown-menu {
    z-index: 1031;
}

.footer-phone a {
    display: inline-block;
    margin: 0;
    direction: ltr;
}

.hero::before,
.hero::after,
.page-hero::after,
.products-wrap::after,
.cta::after,
.service-card::before,
.map-placeholder::before,
.map-placeholder::after,
.product-card .number {
    pointer-events: none;
}

.hero > .container,
.page-hero > .container {
    position: relative;
    z-index: 1;
}

.hero-actions {
    position: relative;
    z-index: 2;
}
