/* NETA design review: coherent layout and direction-aware spacing. */
:root {
    --neta-ar-font: 'IBM Plex Sans Arabic', Tahoma, Arial, sans-serif;
    --finris-base: #1f6feb;
    --finris-primary: #38b6ff;
    --neta-header-height: 80px;
}
body { -webkit-font-smoothing: antialiased; }
.page-wrapper { overflow: clip; min-width: 0; }
html { scrollbar-color: #9bafc5 #f2f5f9; }
::-webkit-scrollbar { width: 8px; background: #f2f5f9; }
::-webkit-scrollbar-track { background: #f2f5f9; }
::-webkit-scrollbar-thumb { background: #9bafc5; background-image: none; border: 2px solid #f2f5f9; }

/* Fix the nested sticky container and excessive inherited header padding. */
neta-site-header { position: sticky; inset-block-start: 0; z-index: 100; }
.neta-header { position: relative; background: rgba(255,255,255,.97); }
.neta-header .main-menu__wrapper { border: 0; }
.neta-header .main-menu__wrapper-inner { min-height: var(--neta-header-height); gap: 24px; flex-wrap: nowrap; }
.neta-header .main-menu__logo { padding: 0; }
.neta-header .main-menu__left, .neta-header .main-menu__right { flex-shrink: 0; }
.neta-header .main-menu__right { flex-wrap: nowrap; gap: 10px; }
.neta-header .main-menu .main-menu__list { align-items: center; gap: 3px; margin: 0; padding: 0; }
.neta-header .main-menu .main-menu__list > li { padding: 0; margin: 0; }
.neta-header .main-menu .main-menu__list > li + li { margin: 0; }
.neta-header .main-menu .main-menu__list > li > a { padding: 10px 12px; margin: 0; min-height: 44px; line-height: 1.5; font-size: 14px; border-radius: 8px; }
.neta-header .main-menu .main-menu__list > li > a::before,
.neta-header .main-menu .main-menu__list > li > a::after { content: none; display: none; }
.neta-header .main-menu .main-menu__list > li.current > a { color: #1557b5; background: #edf4ff; }
.neta-header .main-menu__list > li.dropdown > ul { top: calc(100% + 10px); min-width: 320px; max-width: 370px; border-radius: 12px; }
.neta-header .main-menu__list > li.dropdown > ul a { white-space: normal; line-height: 1.65; }
.neta-header .mobile-nav__toggler { width: 44px; height: 44px; align-items: center; justify-content: center; border: 1px solid var(--neta-line); border-radius: 9px; }
.neta-language-switch { border-color: #d4deeb; box-shadow: none; }
.neta-header .main-menu__btn { padding: 11px 18px; font-size: 14px; }
:target, section[id] { scroll-margin-top: calc(var(--neta-header-height) + 24px); }

/* Arabic typography: connected letters, calmer weight, readable line lengths. */
html[lang="ar"] { --finris-font: var(--neta-ar-font); --finris-font-two: var(--neta-ar-font); }
html[lang="ar"] body,
html[lang="ar"] :is(h1,h2,h3,h4,h5,h6,p,a,button,input,select,textarea,label,small,strong,li),
html[lang="ar"] [class*="__tag"], html[lang="ar"] [class*="__eyebrow"] { font-family: var(--neta-ar-font); letter-spacing: normal; }
html[lang="ar"] :is(h1,h2,h3,h4) { font-weight: 600; line-height: 1.45; }
html[lang="ar"] :is(p,.neta-section__lead,.neta-page-header__lead) { line-height: 1.85; }
html[lang="ar"] .neta-about-intro .section-title__title { max-width: 20ch; line-height: 1.5; letter-spacing: normal; font-size: clamp(30px,3.1vw,44px); }
.neta-section { padding-block: clamp(56px,6vw,88px); }
.section-title { margin-bottom: 36px; }
.section-title__title { font-size: clamp(28px,3vw,40px); text-wrap: balance; }
.neta-section .section-title__tagline { color: #1557b5; margin-bottom: 12px; font-size: 13px; }
.neta-section--dark .section-title__tagline { color: #9bd6ff; }
.neta-section__lead { max-width: 760px; font-size: 16px; }
.neta-section .section-title:not(.text-center) .neta-section__lead { margin-inline: 0; }
.neta-section .row { row-gap: 24px; }
.neta-section .row + .text-center { margin-block-start: 32px; }
.neta-section .row > [class*="col-"] > .neta-pillar-card,
.neta-section .row > [class*="col-"] > .neta-project { height: 100%; }
.neta-section :is(.neta-tile p,.neta-industry p,.neta-step p) { font-size: 15px; }
.neta-section :is(.neta-service-card,.neta-tile,.neta-pillar-card,.neta-step,.neta-industry) {
    border-radius: 14px; box-shadow: none; border-color: #dfe7f0;
}
.neta-section :is(.neta-service-card,.neta-tile,.neta-pillar-card,.neta-step,.neta-industry):hover { box-shadow: 0 10px 28px rgba(11,37,64,.06); }

/* Keep the hero diagram inside its own grid column in both directions. */
.neta-hero { padding: 80px 0; }
.neta-hero .row { row-gap: 30px; }
.neta-hero__content { max-width: 740px; }
.neta-hero__title { font-size: clamp(36px,4.3vw,60px); text-wrap: balance; }
html[lang="ar"] .neta-hero__title { line-height: 1.4; font-size: clamp(34px,4vw,56px); }
.neta-hero__tag { color: #9edaff; font-size: 13px; margin-bottom: 18px; }
.neta-hero__subtitle { font-size: 18px; margin-bottom: 18px; max-width: 680px; }
.neta-hero__subtitle + .neta-hero__subtitle { font-size: 16px; color: #bed0e3; margin-bottom: 28px; }
.neta-hero__art { padding-inline: 30px; }
.neta-hero__art .neta-hero__visual,
html[dir="rtl"] .neta-hero__art .neta-hero__visual {
    display: block; position: static; inset: auto; transform: none; width: 100%; max-width: 100%; opacity: .95;
    filter: drop-shadow(0 16px 42px rgba(0,0,0,.15));
}
.thm-btn { border-radius: 9px; padding: 13px 22px; min-height: 48px; gap: 10px; font-weight: 600; line-height: 1.5; justify-content: center; }
.thm-btn::before, .thm-btn::after { display: none; }
.thm-btn > .icon-right, html[dir="rtl"] .thm-btn > .icon-right { order: 1; margin: 0; }
.neta-hero .thm-btn { box-shadow: 0 6px 18px rgba(31,111,235,.15); }
.neta-hero .thm-btn--alt, .neta-cta .thm-btn--alt { box-shadow: inset 0 0 0 1px #6c849f; }
.neta-link { min-height: 36px; gap: 8px; line-height: 1.6; }
.neta-link .icon-right { flex-shrink: 0; }
.neta-service-card { display: flex; flex-direction: column; padding: 28px; }
.neta-service-card .neta-link { margin-block-start: auto; align-self: flex-start; padding-block-start: 10px; }
.neta-service-card__icon { flex-shrink: 0; background: #edf4ff; color: #1f6feb; width: 52px; height: 52px; }
.neta-service-card__icon svg { stroke: currentColor; }
.neta-service-card p strong { font-weight: 500; font-size: 13px; line-height: 1.8; color: #53667e; }
.neta-step__num { font-family: 'DM Sans',Arial,sans-serif; font-size: 28px; font-weight: 600; line-height: 1.3; color: #1557b5; }
.neta-industry h4 { margin-block-start: 0; }

/* Prevent nested padding and align image cards without forcing image height. */
.neta-section .neta-project, .neta-section .neta-article { padding: 0; border-radius: 14px; box-shadow: none; }
.neta-project__body, .neta-article__body { padding: 24px; }
.neta-project__body h3, .neta-article__body h4 { font-size: 21px; }
.neta-project__body p + p { margin-block-start: 14px; padding-block-start: 14px; border-block-start: 1px solid #e6ebf2; }
.neta-project__tag, .neta-article__cat { font-size: 12px; letter-spacing: .5px; line-height: 1.6; }
.neta-note { margin: 24px 0; font-style: normal; }
.neta-trust { padding-block: 24px; }
.neta-trust__inner { gap: 18px 30px; }
.neta-trust__label { margin: 0; font-size: 13px; }
.neta-trust__items { gap: 16px 26px; margin: 0; padding: 0; }
.neta-trust__items li { margin: 0; line-height: 1.6; }
.neta-trust__items li svg { flex-shrink: 0; }
.neta-page-header { padding: 64px 0 54px; }
.neta-page-header h1 { font-size: clamp(32px,3.6vw,48px); text-wrap: balance; }
.neta-page-header__lead { max-width: 760px; }
.neta-breadcrumb { margin: 24px 0 0; gap: 10px; }
.neta-breadcrumb li { margin: 0; }
.neta-breadcrumb a { display: inline-flex; min-height: 32px; align-items: center; }
.neta-cta { padding: 64px 0; }
.neta-cta__inner h2 { font-size: clamp(28px,3.4vw,42px); margin-bottom: 18px; }
.neta-cta__btns { gap: 14px; }

/* Use flexible tracks: inherited minimum widths were clipping the footer. */
.neta-footer__grid { grid-template-columns: minmax(0,1.2fr) minmax(0,.7fr) minmax(0,1.05fr) minmax(0,1fr) minmax(0,1.1fr); gap: 28px; }
.neta-footer__grid > * { min-width: 0; }
.neta-footer__brand, html[dir="rtl"] .neta-footer__brand { padding-inline: 0; grid-row: auto; }
.neta-footer .footer-widget-two__title { font-size: 17px; padding-bottom: 16px; margin-bottom: 20px; }
.neta-footer .footer-widget-two__title::before { left: auto; right: auto; inset-inline-start: 0; }
.neta-footer .footer-widget-two__title::after { display: none; }
.neta-footer__links { margin: 0; padding: 0; }
.neta-footer__links li { margin-block-end: 12px; }
.neta-footer__links a { font-size: 14px; line-height: 1.7; }
.neta-footer__contact-item, html[dir="rtl"] .neta-footer__contact-item { margin-inline: 0; padding-inline: 0; }
.neta-footer__about { font-size: 14px; line-height: 1.8; }
.neta-footer__contact-item strong { font-size: 13px; }
.neta-footer__bottom-inner { gap: 12px; }

/* Comfortable forms and a compact mobile drawer. */
.neta-form { padding: 32px; box-shadow: 0 12px 36px rgba(11,37,64,.05); }
.neta-form .form-row > * { min-width: 0; }
.neta-form :is(input,select,textarea) { border-color: #c6d2e0; border-width: 1px; background-color: #fbfcfe; }
.neta-form :is(input,select) { min-height: 50px; }
.neta-form :is(input,textarea)::placeholder { color: #6b7b8f; opacity: 1; }
.neta-form input[dir="ltr"] { text-align: left; }
.neta-form .form-row { gap: 0 18px; }
.neta-contact-list, .neta-values { margin-inline: 0; padding-inline: 0; }
.neta-contact-list li .text { min-width: 0; overflow-wrap: anywhere; }
.neta-contact-grid { align-items: stretch; }
.neta-office { margin-bottom: 0; height: auto; }
.mobile-nav__wrapper { width: 100%; height: 100dvh; transition: visibility .2s, transform .25s; }
.mobile-nav__wrapper.expanded { transition: visibility .2s, transform .25s; }
.mobile-nav__content { width: min(360px,calc(100vw - 32px)); padding: 24px; transition: opacity .2s, visibility .2s, transform .25s; }
.mobile-nav__wrapper.expanded .mobile-nav__content { transition: opacity .2s, visibility .2s, transform .25s; }
.mobile-nav__content .logo-box { padding: 28px 0 0; margin-bottom: 26px; }
.mobile-nav__close { top: 12px; width: 44px; height: 44px; font-size: 18px; }
.mobile-nav__content .main-menu__list > li.current > a { color: #1557b5; }
.mobile-nav__content .main-menu__list > li > ul,
html[dir="rtl"] .mobile-nav__content .main-menu__list > li > ul { margin: 0; padding: 8px 14px; border-radius: 10px; }
.mobile-nav__content .main-menu__list li a > button { min-width: 44px; min-height: 44px; }
.mobile-nav__contact { margin: 24px 0 16px; padding: 20px 0 0; border-top: 1px solid #e6ebf2; }
.mobile-nav__contact li { font-size: 14px; margin-bottom: 14px; }
.mobile-nav__social { gap: 14px; }
.mobile-nav__social a, html[dir="rtl"] .mobile-nav__social a + a { margin: 0; width: 40px; height: 40px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #dce5ef; border-radius: 8px; }
.scroll-to-top, html[dir="rtl"] .scroll-to-top {
    transform: none; inset-inline-end: 20px; inset-inline-start: auto; bottom: 20px;
    width: 44px; height: 44px; border-radius: 50%; justify-content: center; color: #fff;
    background: #174976; box-shadow: 0 4px 16px rgba(11,37,64,.16);
}
.scroll-to-top.show { bottom: 20px; }
.scroll-to-top:hover { background: #1557b5; color: #fff; }
.scroll-to-top__wrapper { display: none; }
.scroll-to-top__text { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; clip-path: inset(50%); overflow: hidden; white-space: nowrap; }
.scroll-to-top::before { content: '↑'; font: 24px/1 Arial,sans-serif; }
.skip-link { position: fixed; top: -100px; left: auto; right: auto; inset-inline-start: 16px; z-index: 110; }
.skip-link:focus, html[dir="rtl"] .skip-link:focus { top: 8px; left: auto; right: auto; inset-inline-start: 16px; }
@media (max-width:1399px) {
    .neta-footer__grid { grid-template-columns: repeat(4,minmax(0,1fr)); gap: 32px; }
    .neta-footer__brand { grid-column: 1 / -1; display: grid; grid-template-columns: 1fr 1.5fr; gap: 16px 40px; }
    .neta-footer__about { margin: 0; max-width: none; }
    .neta-footer__presence { margin: 0; }
}
@media (min-width:768px) { #capabilities .row > [class*="col-"] { flex: 0 0 50%; max-width: 50%; } }
@media (max-width:1199px) {
    .neta-header .main-menu__wrapper-inner { gap: 12px; }
    .neta-header .mobile-nav__toggler { display: inline-flex; }
    .neta-header .main-menu__main-menu-box { order: 3; margin-inline-start: 0; }
    .neta-header .main-menu__right { margin-inline-start: auto; }
    .neta-trust__inner { flex-direction: column; align-items: flex-start; }
    .neta-footer__grid { grid-template-columns: repeat(2,minmax(0,1fr)); }
}
@media (max-width:991px) {
    .neta-hero__art { display: none; }
    .neta-hero { padding-block: 60px; }
    .neta-hero__content { max-width: 760px; }
    .neta-footer__brand { display: block; }
    .neta-footer__about { margin: 18px 0; }
    .neta-footer__presence { margin-bottom: 18px; }
    .neta-about-intro .section-title__title { max-width: none; }
}
@media (max-width:767px) {
    :root { --neta-header-height: 72px; }
    .neta-header .neta-logo--image img { height: 34px; }
    .neta-hero { padding: 48px 0 52px; }
    .neta-hero__title, html[lang="ar"] .neta-hero__title { font-size: clamp(30px,7.6vw,40px); }
    .neta-hero__subtitle { font-size: 16px; }
    .neta-hero__tag { font-size: 12px; line-height: 1.8; }
    .neta-page-header { padding: 44px 0 36px; }
    .neta-page-header h1 { font-size: clamp(28px,7vw,36px); }
    .neta-page-header__lead { font-size: 16px; }
    .neta-section .neta-service-card, .neta-section .neta-pillar-card, .neta-section .neta-tile, .neta-step { padding: 24px; }
    .neta-project__body, .neta-article__body { padding: 22px; }
    .neta-hero__btns { gap: 12px; }
    .neta-trust__items { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
    .neta-trust__items li { align-items: flex-start; font-size: 13px; }
    .neta-trust__items li svg { margin-top: 3px; }
    .neta-form { padding: 22px 18px; }
    .neta-footer .site-footer-two__top { padding-block: 48px; }
}
@media (max-width:575px) {
    .neta-footer__grid { grid-template-columns: 1fr; gap: 32px; }
    .neta-footer__brand { grid-column: auto; }
    .neta-footer__bottom-inner { align-items: flex-start; }
    .neta-form button[type="submit"] { width: 100%; }
    .scroll-to-top, html[dir="rtl"] .scroll-to-top { inset-inline-end: 14px; inset-inline-start: auto; bottom: 16px; }
    .scroll-to-top.show { bottom: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .mobile-nav__wrapper,.mobile-nav__content { transition: none !important; }
}
.neta-hero__title { color: #f5f9ff; max-width: 20ch; }
html[lang="ar"] .neta-hero__title { max-width: 18ch; }
/* Rotate the submenu chevron without rotating its square touch target. */
.mobile-nav__content .main-menu__list li a > button,
html[dir="rtl"] .mobile-nav__content .main-menu__list li a > button { transform: none; }
.mobile-nav__content .main-menu__list li a > button i { transform: rotate(-90deg); transition: transform .2s; }
html[dir="rtl"] .mobile-nav__content .main-menu__list li a > button i { transform: rotate(90deg); }
.mobile-nav__content .main-menu__list li a > button.expanded i,
html[dir="rtl"] .mobile-nav__content .main-menu__list li a > button.expanded i { transform: rotate(0); }
/* A static information site should not blank every page during navigation. */
.js-preloader { display: none !important; }
.neta-hero [data-aos], .neta-section [data-aos] { opacity: 1 !important; transform: none !important; }
