/* NDS Marketing Website: brand layer on top of native Elementor widgets. */

/* Hero stays pinned while the next sections slide over it */
.nds-sticky-hero{position:sticky!important;top:0;z-index:0}
.nds-over{position:relative;z-index:1}
body.elementor-editor-active .nds-sticky-hero{position:relative!important}
html,body{overflow-x:clip}

.nds-hero{position:relative;width:100%;background:#102438;overflow:hidden;--nds-line:#FFA00B;--nds-line-w:10px;--nds-frame:#094E43;--nds-word:#FFA00B;font-family:Tajawal,sans-serif}
.nds-hero__video{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block}
.nds-hero__frame{position:absolute;inset:0;border:10px solid var(--nds-frame);pointer-events:none}
.nds-hero__letters{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
/* Upright phones and tablets get the stacked letters, the same rule that picks the portrait video */
.nds-hero__letters--stacked{display:none}
@media (orientation:portrait) and (max-width:1024px){
	.nds-hero__letters--wide{display:none}
	.nds-hero__letters--stacked{display:block}
}
.nds-hero__letters path{fill:none;stroke:var(--nds-line);stroke-width:var(--nds-line-w);stroke-linecap:round;stroke-linejoin:round;vector-effect:non-scaling-stroke}
.nds-hero__logo{position:absolute;top:10px;left:10px;z-index:2;display:block;background:#fff;border-radius:0 0 18px 0;padding:14px 22px 12px 16px}
.nds-hero__logo img{display:block;height:58px;width:auto;max-width:none}
.nds-hero__burger{position:absolute;top:26px;right:26px;z-index:2;width:52px;height:52px;padding:0;border-radius:50%;border:0;background:#094E43;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.nds-hero__burger:hover,.nds-hero__burger:focus{background:#102438;color:#fff}
.nds-hero__word{position:absolute;bottom:26px;color:var(--nds-word);font-weight:800;text-transform:uppercase;letter-spacing:-.02em;line-height:.95;font-size:clamp(24px,3vw,44px)}
.nds-hero__word--l{left:28px}
.nds-hero__word--r{right:28px}

.nds-menu{position:fixed;inset:0;z-index:99999;background:#094E43;color:#fff;display:flex;flex-direction:column;overflow:auto;font-family:Tajawal,sans-serif;padding:24px clamp(16px,3vw,40px) 32px}
.nds-menu[hidden]{display:none}
.nds-menu__top{display:flex;justify-content:space-between;align-items:center}
.nds-menu__logo{height:64px;width:auto;background:#fff;border-radius:12px;padding:6px 10px}
.nds-menu__close{width:48px;height:48px;padding:0;border-radius:50%;border:1.5px solid #fff;background:none;color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.nds-menu__close:hover,.nds-menu__close:focus{background:#fff;color:#102438}
.nds-menu__nav{flex:1;display:flex;flex-direction:column;justify-content:center;gap:8px;padding:24px 0}
.nds-menu__nav a{color:#fff;font-size:clamp(40px,7vw,88px);font-weight:800;text-transform:uppercase;line-height:1.1;text-decoration:none}
.nds-menu__nav a:hover,.nds-menu__nav a:focus{color:#FFA00B}
.nds-menu__cta{display:inline-flex;align-items:center;min-height:48px;padding:12px 26px 10px;border-radius:999px;background:#FFA00B;color:#102438;font-weight:700;font-size:16px;text-decoration:none}

/* Text marquee */
.nds-tm{display:flex;flex-direction:column;gap:4px;overflow:hidden;font-family:Tajawal,sans-serif;font-weight:800;text-transform:uppercase;letter-spacing:-.02em;line-height:.95;--nds-tm-color:#fff;--nds-tm-duration:40s}
.nds-tm__row{display:flex;width:max-content;white-space:nowrap;color:var(--nds-tm-color);animation:nds-mw-scroll var(--nds-tm-duration) linear infinite}
.nds-tm__row--outline{color:transparent;-webkit-text-stroke:1.5px var(--nds-tm-color);animation-direction:reverse}
@keyframes nds-mw-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}

/* Floating button */
.nds-float{position:fixed;right:20px;bottom:20px;z-index:9990;display:inline-flex;align-items:center;min-height:48px;padding:12px 26px 10px;border-radius:999px;background:#FFA00B;color:#102438;font-family:Tajawal,sans-serif;font-weight:700;font-size:16px;text-decoration:none}
.nds-float:hover,.nds-float:focus{background:#fff;color:#102438}

/* Inline image pills in the big headline */
.nds-h1 img{display:inline-block;vertical-align:-.06em;height:.8em;width:1.5em;max-width:none;border-radius:.14em;object-fit:cover}
.nds-h1 img.nds-pill-logo{background:#fff;object-fit:contain;padding:.08em .14em;box-sizing:border-box}

/* Rounded media with hover zoom, including linked containers */
.nds-card-img img{display:block;width:100%;border-radius:16px;object-fit:cover}
.nds-zoom .elementor-widget-image{overflow:hidden;border-radius:16px}
.nds-zoom img{transition:transform .5s}
.nds-zoom:hover img{transform:scale(1.03)}
.nds-ar-work img{aspect-ratio:16/10}
.nds-ar-reel img{aspect-ratio:9/16}
.nds-ar-why img{aspect-ratio:3/2;border-radius:0}
.nds-pos-top img{object-position:center 25%}

/* Service rows */
.nds-svc{color:#fff;transition:color .2s}
.nds-svc .elementor-heading-title,.nds-svc p,.nds-svc .elementor-widget-text-editor{transition:color .2s}
.nds-svc:hover .elementor-heading-title,.nds-svc:hover p,.nds-svc:hover .elementor-widget-text-editor{color:#FFA00B!important}

.nds-dash{width:28px;height:1px;background:#fff}
.nds-figure-line{border-top:1px solid #fff}

@media (max-width:767px){
	.nds-hero__logo{padding:10px 14px 8px 10px}
	.nds-hero__logo img{height:40px}
	.nds-hero__burger{top:18px;right:18px;width:44px;height:44px}
	.nds-tm__row--outline{-webkit-text-stroke-width:1px}
	.nds-svc-desc{grid-column:2}
	.nds-svc-arrow{display:none}
	.nds-float{right:12px;bottom:12px;min-height:44px;padding:10px 18px 8px;font-size:15px}
}
@media (prefers-reduced-motion:reduce){
	.nds-tm__row{animation:none}
}

.nds-over .elementor-widget-text-editor p{margin:0}

/* Show images whole, never cropped */
.nds-ar-work img,.nds-ar-reel img,.nds-ar-why img{aspect-ratio:auto!important;height:auto!important;object-fit:contain!important}

.nds-row > .e-con:not(.nds-fixed):not(.nds-dash){--width:auto;width:auto;max-width:100%}

/* ---- NDS Header (Theme Builder) ---- */
.nds-header{position:relative;font-family:Tajawal,sans-serif;--nds-hd-bg:#094E43;--nds-hd-color:#fff;--nds-hd-hover:#FFA00B;--nds-hd-logo:40px}
.nds-header__top{position:absolute;top:0;left:0;right:0;height:0;z-index:60}
.nds-header__top .nds-hero__burger{position:absolute}
body.elementor-editor-active .nds-header__top{position:relative;height:110px;background:#102438}
.nds-header__float{position:fixed;left:0;right:0;top:var(--wp-admin--admin-bar--height,0px);z-index:9000;background:var(--nds-hd-bg);color:var(--nds-hd-color);box-shadow:0 8px 24px rgba(16,36,56,.18);transform:translateY(-110%);visibility:hidden;transition:transform .35s ease,visibility 0s linear .35s}
.nds-header__float.is-visible{transform:translateY(0);visibility:visible;transition:transform .35s ease}
body.elementor-editor-active .nds-header__float{position:relative;top:0;transform:none;visibility:visible}
.nds-header__bar{max-width:1400px;margin:0 auto;padding:12px clamp(16px,3vw,40px);display:flex;align-items:center;gap:24px}
.nds-header__logo{display:block;flex:none;background:var(--nds-hd-logo-box,#fff);border-radius:10px;padding:6px 10px}
.nds-header__logo img{display:block;height:var(--nds-hd-logo);width:auto;max-width:none}
.nds-header .nds-hero__logo{background:var(--nds-hd-logo-box,#fff)}
.nds-menu--logo-clear .nds-menu__logo{background:none;padding:0;border-radius:0}
/* Logo box switched off: transparent logo, no white box */
.nds-header--logo-clear .nds-header__top .nds-hero__logo{background:none}
.nds-header--float-logo-clear .nds-header__logo{background:none;padding-left:0;padding-right:0}
.nds-header__nav{display:none;flex:1;align-items:center;justify-content:center;gap:clamp(16px,2.2vw,36px);white-space:nowrap}
.nds-header__nav a{color:var(--nds-hd-color);font-weight:700;font-size:16px;text-decoration:none;transition:color .2s}
.nds-header__nav a:hover,.nds-header__nav a:focus{color:var(--nds-hd-hover)}
.nds-header__cta{display:none;flex:none;align-items:center;min-height:44px;padding:11px 22px 9px;border-radius:999px;background:#FFA00B;color:#102438;font-weight:700;font-size:15px;text-decoration:none;white-space:nowrap}
.nds-header__cta:hover,.nds-header__cta:focus{background:#fff;color:#102438}
.nds-header__float .nds-hero__burger{position:static;margin-left:auto;width:44px;height:44px;background:rgba(255,255,255,.12)}
@media (min-width:1025px){
	.nds-header__float--full .nds-header__nav,.nds-header__float--full .nds-header__cta{display:flex}
	.nds-header__float--full .nds-hero__burger{display:none}
}
/* The theme header location must not push the page down: the top part floats over the hero */
.elementor-location-header .e-con:has(.nds-header){padding:0;min-height:0}
.elementor-location-footer{position:relative;z-index:1}

/* Mobile carousel: add the class nds-m-carousel to a container; its cards slide on phones only.
   Seconds per card: set --nds-carousel-delay on the container (0 stops autoplay). */
.nds-m-dots{display:none}
@media (max-width:767px){
	.nds-m-carousel{display:flex!important;flex-direction:row!important;flex-wrap:nowrap!important;gap:16px!important;overflow-x:auto;overscroll-behavior-x:contain;scroll-snap-type:x mandatory;scrollbar-width:none;-webkit-overflow-scrolling:touch}
	.nds-m-carousel::-webkit-scrollbar{display:none}
	/* One whole card per screen: a cut-off neighbour looked like a broken image. */
	.nds-m-carousel > *{flex:0 0 100%!important;width:100%!important;max-width:100%!important;scroll-snap-align:start}
	/* Cards keep their own height (the script evens them out), and nothing inside a card may be squeezed:
	   a squeezed image box let the picture spill over the text or get cut off on some phones. */
	.nds-m-carousel{align-items:flex-start!important}
	/* Elementor sets containers to wrap on mobile. A wrapping column is sized from the image file's own pixels,
	   not its on-screen size, so the image box came out short: the picture was cut off or ran over the text.
	   The title row (nds-row) keeps wrapping so long titles still fit. */
	.nds-m-carousel > *{height:auto!important}
	.nds-m-carousel > *,.nds-m-carousel .e-con:not(.nds-row){flex-wrap:nowrap!important}
	.nds-m-carousel > * > *,.nds-m-carousel .e-con:not(.nds-row) > *{flex-shrink:0!important}
	.nds-m-carousel img{max-height:none!important}
	/* Add nds-m-cards next to nds-m-carousel to box each slide as a card: image on top, number above the title. */
	.nds-m-cards > *{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.16);border-radius:20px;overflow:hidden;padding:0 0 22px!important;gap:0!important;justify-content:flex-start!important}
	.nds-m-cards .nds-card-img,.nds-m-cards .nds-card-img img{border-radius:0!important;margin:0!important}
	.nds-m-cards > * > .e-con{padding:18px 18px 0!important;border:0!important}
	.nds-m-cards > * > .e-grid{grid-template-columns:minmax(0,1fr)!important;gap:8px!important}
	.nds-m-dots{display:flex;justify-content:center;gap:8px;margin-top:-16px}
	.nds-m-dots button{width:8px;height:8px;padding:0;border:0;border-radius:999px;background:#8A97A3;opacity:.6;cursor:pointer;transition:width .3s,opacity .3s}
	.nds-m-dots button.is-active{width:24px;opacity:1;background:#FFA00B}
}

/* Hero video always covers the whole hero; sound button sits bottom centre */
.nds-hero__video{object-fit:cover;object-position:center;min-width:100%;min-height:100%}
.nds-hero__sound{position:absolute;left:50%;bottom:22px;transform:translateX(-50%);z-index:3;width:48px;height:48px;padding:0;border-radius:50%;border:0;background:rgba(16,36,56,.72);color:#fff;cursor:pointer;display:flex;align-items:center;justify-content:center}
.nds-hero__sound[hidden]{display:none}
.nds-hero__sound:hover,.nds-hero__sound:focus{background:#FFA00B;color:#102438}
.nds-hero__sound .nds-hero__sound-on,.nds-hero__sound.is-on .nds-hero__sound-off{display:none}
.nds-hero__sound.is-on .nds-hero__sound-on{display:block}
@media (max-width:767px){.nds-hero__sound{width:44px;height:44px;bottom:16px}}

/* Chat button hides over the hero until the visitor scrolls */
.nds-float{transition:opacity .3s ease,transform .3s ease,visibility 0s}
.nds-float.is-hidden{opacity:0;visibility:hidden;transform:translateY(12px);transition:opacity .3s ease,transform .3s ease,visibility 0s linear .3s}
