/*
Theme Name: Hello Elementor Child - Nibras
Template: hello-elementor
Version: 1.1.1
Description: Child theme for Nibras Alwadi — Figma "Home-1" landing page built with Elementor.
Text Domain: hello-elementor-child
*/

/* ---------- Design tokens (Figma) ---------- */
:root {
	--nb-primary: #1D489A;
	--nb-primary-dark: #163a7d;
	--nb-ink: #171717;
	--nb-grey-300: #535862;
	--nb-grey-200: #717680;
	--nb-grey-100: #D5D7DA;
	--nb-white: #FFFFFF;
	--nb-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

body {
	font-family: var(--nb-font);
	color: var(--nb-grey-300);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	overflow-x: hidden;
}

/* Manual Figma line breaks: keep on desktop only */
@media (max-width: 1024px) {
	.nb-br { display: none; }
}

/* Reset default paragraph margins inside text widgets */
.nb-body p,
.nb-footer .elementor-widget-text-editor p { margin: 0; }
.elementor-widget-heading.nb-eyebrow .elementor-heading-title,
.elementor-widget-heading .elementor-heading-title { margin: 0; }

/* ---------- Header (overlays hero) ---------- */
.elementor-location-header {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	z-index: 100;
}
.admin-bar .elementor-location-header { top: 32px; }
@media (max-width: 782px) {
	.admin-bar .elementor-location-header { top: 46px; }
}
.nb-nav-wrapper { filter: drop-shadow(0 1px 1px rgba(10, 13, 18, 0.09)); box-shadow: none !important; }
.nb-logo img { width: 104.42px; height: 32px; display: block; }
.nb-nav .elementor-nav-menu--main { justify-content: center; }
.nb-nav .elementor-nav-menu--main .elementor-nav-menu { justify-content: center; }
.nb-nav .elementor-nav-menu--main .elementor-item { border-radius: 8px; }
.nb-header-btn .elementor-button {
	width: 130px;
	height: 40px;
	box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05), inset 0 0 0 1px rgba(10, 13, 18, 0.18), inset 0 -2px 0 rgba(10, 13, 18, 0.05);
	justify-content: center;
	white-space: nowrap;
}
@media (max-width: 1024px) {
	.nb-nav { order: 3; flex-grow: 0 !important; }
	.nb-header-btn { margin-left: auto; }
	.nb-nav .elementor-nav-menu--dropdown {
		box-shadow: 0 12px 24px rgba(10, 13, 18, 0.12);
		border-radius: 12px;
		overflow: hidden;
	}
}
@media (max-width: 767px) {
	.nb-header-btn { display: none; }
}

/* ---------- Hero ---------- */
.nb-hero { position: relative; }
.nb-hero-kicker .elementor-heading-title { text-transform: uppercase; }

/* ---------- About ---------- */
.nb-about-img img,
.nb-services-img img,
.nb-contact-img img { display: block; border-radius: 16px; }
.nb-tag .elementor-button { cursor: default; }
.nb-stat { width: auto !important; flex: 0 0 auto; }
.nb-stat-num .elementor-heading-title,
.nb-stat-label .elementor-heading-title { white-space: nowrap; }
.nb-link-btn .elementor-button { padding: 0; }
.nb-link-btn .elementor-button-icon svg { width: 20px; height: 20px; }
.nb-link-btn .elementor-button-content-wrapper { gap: 8px; align-items: center; }

/* ---------- Service Highlights (nested accordion) ---------- */
.nb-acc .e-n-accordion { gap: 0; }
.nb-acc .e-n-accordion-item {
	border-bottom: 1px solid var(--nb-grey-100);
	padding: 30px 0;
	margin: 0 !important;
}
.nb-acc .e-n-accordion-item + .e-n-accordion-item { margin-top: 2px !important; }
.nb-acc .e-n-accordion-item-title {
	padding: 0 !important;
	border: 0 !important;
	background: transparent !important;
	justify-content: space-between;
	gap: 16px;
	cursor: pointer;
}
.nb-acc .e-n-accordion-item-title-text {
	font-family: var(--nb-font);
	font-size: 24px;
	font-weight: 500;
	line-height: 28px;
	color: var(--nb-primary);
}
.nb-acc .e-n-accordion-item-title-icon { width: 28px; height: 28px; flex: 0 0 28px; }
.nb-acc .e-n-accordion-item-title-icon svg { width: 28px !important; height: 28px !important; }
.nb-acc .e-n-accordion-item-title-icon .e-opened svg { transform: rotate(90deg); }
.nb-acc .e-n-accordion-item > [role="region"],
.nb-acc .nb-acc-body {
	border: 0 !important;
	padding: 10px 0 0 !important;
}
@media (max-width: 767px) {
	.nb-acc .e-n-accordion-item { padding: 22px 0; }
	.nb-acc .e-n-accordion-item-title-text { font-size: 19px; line-height: 26px; }
}

/* ---------- Clients marquee ---------- */
.nb-clients {
	background: linear-gradient(90deg, #1D489A 12.666%, #00A8C6 196.74%) !important;
}
.nb-marquee-w { width: 100%; }
.nb-marquee { overflow: hidden; width: 100%; }
.nb-marquee__track {
	display: flex;
	width: max-content;
	animation: nb-marquee 80s linear infinite;
}
.nb-marquee:hover .nb-marquee__track { animation-play-state: paused; }
.nb-marquee__set { display: flex; gap: 24px; padding-right: 24px; }
.nb-client {
	position: relative;
	flex: 0 0 auto;
	width: 243px;
	height: 100px;
	background: #fff;
	border: 1px solid rgba(29, 72, 154, 0.16);
	border-radius: 8px;
	overflow: hidden;
}
.nb-client img { position: absolute; max-width: none; object-fit: fill; }
@keyframes nb-marquee {
	from { transform: translateX(0); }
	to { transform: translateX(-50%); }
}
@media (max-width: 767px) {
	.nb-client { width: 170px; height: 70px; }
	.nb-marquee__set { gap: 16px; padding-right: 16px; }
	.nb-marquee__track { animation-duration: 60s; }
}
@media (prefers-reduced-motion: reduce) {
	.nb-marquee__track { animation: none; }
	.nb-marquee { overflow-x: auto; }
}

/* ---------- Featured projects ---------- */
.nb-proj-card { position: relative; }
.nb-proj-overlay {
	background: rgba(255, 255, 255, 0.1);
	-webkit-backdrop-filter: blur(6.45px);
	backdrop-filter: blur(6.45px);
	border-radius: 8px;
	box-shadow: 0 0 5px rgba(0, 0, 0, 0.25);
}
.nb-proj-arrow {
	position: absolute !important;
	top: 32px;
	right: 33px;
	z-index: 2;
	width: auto !important;
}
.nb-proj-arrow .elementor-icon {
	width: 60px;
	height: 60px;
	border-radius: 100px;
	border: 1px solid #fff;
	background: rgba(255, 255, 255, 0.16);
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05), inset 0 0 0 1px rgba(10, 13, 18, 0.18), inset 0 -2px 0 rgba(10, 13, 18, 0.05);
	transition: background 0.2s ease, transform 0.2s ease;
}
.nb-proj-arrow .elementor-icon svg { width: 24px; height: 24px; transform: rotate(45deg); }
.nb-proj-card:hover .nb-proj-arrow .elementor-icon { background: rgba(255, 255, 255, 0.3); }
@media (max-width: 767px) {
	.nb-proj-arrow { top: 16px; right: 16px; }
	.nb-proj-arrow .elementor-icon { width: 48px; height: 48px; }
}

/* ---------- Contact form ---------- */
.nb-form .elementor-field-textual,
.nb-form .elementor-field-group .elementor-select-wrapper select {
	padding: 10px 14px;
	min-height: 44px;
	box-shadow: 0 1px 1px rgba(10, 13, 18, 0.05);
}
.nb-form .elementor-field-textual::placeholder { color: var(--nb-grey-200); opacity: 1; }
.nb-form textarea.elementor-field-textual { height: 134px; padding: 12px 14px; resize: vertical; }
.nb-form .elementor-field-textual:focus,
.nb-form select:focus { border-color: var(--nb-primary) !important; outline: none; box-shadow: 0 0 0 3px rgba(29, 72, 154, 0.12); }
.nb-form .elementor-mark-required .elementor-field-label::after { color: #EA1A1A; padding-left: 2px; }
/* Phone: country select + number merged into one field */
.nb-form .elementor-field-group-phone_code { width: 76px !important; padding-right: 0 !important; }
.nb-form .elementor-field-group-phone { width: calc(100% - 76px) !important; padding-left: 0 !important; }
.nb-form .elementor-field-group-phone_code select {
	border-right: 0 !important;
	border-radius: 8px 0 0 8px !important;
	color: var(--nb-grey-300);
	padding-right: 26px !important;
	box-shadow: none;
}
.nb-form .elementor-field-group-phone_code .elementor-select-wrapper::before { right: 8px; font-size: 12px; color: var(--nb-grey-200); }
.nb-form .elementor-field-group-phone input {
	border-left: 0 !important;
	border-radius: 0 8px 8px 0 !important;
	padding-left: 12px;
}
.nb-form .elementor-field-group-phone_code label { white-space: nowrap; overflow: visible; }
/* Acceptance */
.nb-form .elementor-field-type-acceptance .elementor-field-subgroup label {
	font-size: 16px;
	line-height: 24px;
	color: var(--nb-grey-300);
}
.nb-form .elementor-field-type-acceptance a { color: inherit; text-decoration: underline; }
.nb-form .elementor-field-type-acceptance input[type="checkbox"] {
	width: 20px;
	height: 20px;
	border-radius: 6px;
	accent-color: var(--nb-primary);
	margin-right: 12px;
	vertical-align: -4px;
}
.nb-form .elementor-field-group.e-form__buttons { margin-top: 8px; }
.nb-form .elementor-button {
	box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05), inset 0 0 0 1px rgba(10, 13, 18, 0.18), inset 0 -2px 0 rgba(10, 13, 18, 0.05);
	border: 2px solid rgba(255, 255, 255, 0.12);
}

/* ---------- Footer ---------- */
.nb-footer {
	position: relative;
	background: linear-gradient(180deg, #171717 0%, #1D489A 165.48%) !important;
}
.nb-foot-deco-w {
	position: absolute !important;
	inset: 0;
	margin: 0 !important;
	pointer-events: none;
	z-index: 2;
	width: 100% !important;
	max-width: none !important;
}
.nb-foot-deco { position: absolute; inset: 0; }
.nb-foot-deco img { position: absolute; display: block; }
.nb-foot-deco .nb-e17 { left: 0; top: 0; width: 126px; height: 126px; }
.nb-foot-deco .nb-e18 { right: 0; top: 434px; width: 94px; height: 94px; }
.nb-foot-deco .nb-e19 { left: calc(50% - 8.5px - 38.5px); top: calc(50% + 114.5px - 38.5px); width: 77px; height: 77px; }
.nb-foot-deco .nb-e21 { left: calc(50% - 72px - 56px); top: calc(50% + 99px - 56px); width: 112px; height: 112px; }
.nb-foot-deco .nb-e20 { right: 0; top: -42px; width: 162px; height: 162px; }
/* deco anchors relative to whole footer (full-bleed), not inner box */
.elementor-location-footer .nb-footer { overflow: hidden; }
.nb-footer > .e-con-inner { position: static; }
.nb-foot-logo img { width: 228.42px; height: 70px; display: block; }
.nb-foot-head .elementor-heading-title { white-space: nowrap; }
.nb-foot-links .elementor-icon-list-item a { transition: color 0.2s ease; }
.nb-social { display: flex; align-items: center; gap: 15px; }
.nb-social span { font-size: 14px; line-height: 20px; font-weight: 500; color: #fff; }
.nb-social a {
	width: 32px;
	height: 32px;
	border: 1px solid #fff;
	border-radius: 4px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	transition: background 0.2s ease;
}
.nb-social a:hover { background: rgba(255, 255, 255, 0.12); }
.nb-social img { width: 13px; height: 13px; display: block; }
.nb-ci, .nb-loc { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.nb-ci li { display: flex; gap: 12px; align-items: flex-start; }
.nb-ci strong { font-weight: 500; line-height: 24px; }
.nb-ci a, .nb-loc a { color: #fff; }
.nb-ci a:hover { text-decoration: underline; }
.nb-ci-icon { width: 20px; height: 20px; flex: 0 0 20px; display: block; }
.nb-ci-tel { width: 20px; height: 20px; flex: 0 0 20px; display: flex; align-items: center; justify-content: center; }
.nb-ci-tel img { width: 17.25px; height: 15.375px; display: block; }
.nb-loc li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 4px 10px;
	max-width: 307px;
}
.nb-loc .nb-flag { width: 32px; height: 24px; flex: 0 0 32px; display: block; }
.nb-loc span { border-left: 1px solid var(--nb-grey-100); padding-left: 10px; }
.nb-foot-concern a { color: inherit; text-decoration: underline; }
.nb-foot-concern { text-align: right; }

@media (max-width: 1024px) {
	.nb-foot-links-wrap { width: 100% !important; }
	.nb-foot-col--loc { flex-basis: 100% !important; }
	.nb-foot-deco .nb-e18 { top: auto; bottom: 40px; }
}
@media (max-width: 767px) {
	.nb-foot-col--quick, .nb-foot-col--services { width: calc(50% - 16px) !important; }
	.nb-foot-col--contact { width: 100% !important; }
	.nb-foot-concern { text-align: left; }
	.nb-foot-bottom { align-items: flex-start !important; }
	.nb-loc li { padding: 4px 0; }
}

/* ---------- Fixes after visual QA ---------- */
/* Figma chevrons are stroke-only; stop Elementor filling the path */
.nb-acc .e-n-accordion-item-title-icon svg,
.nb-acc .e-n-accordion-item-title-icon svg path { fill: none !important; }
/* Flex children that should fill remaining space but still shrink */
.nb-about-content,
.nb-contact-content,
.nb-foot-links-wrap { min-width: 0; }
.nb-proj-card { flex: 1 1 0 !important; min-width: 0; }
@media (max-width: 767px) {
	.nb-proj-card { flex: 1 1 auto !important; width: 100% !important; }
}
/* Tags: single row on desktop like Figma */
.nb-tag .elementor-button { white-space: nowrap; }
@media (min-width: 1025px) {
	.nb-tags { flex-wrap: nowrap !important; }
	.nb-tag .elementor-button { padding: 12px 18px; }
}
/* Phone row: align number field with select, keep label visible */
.nb-form .elementor-form-fields-wrapper { align-items: flex-end; }
.nb-form .elementor-field-group-phone_code label { position: relative; z-index: 2; }
/* Footer: brand column + links side by side on desktop */
@media (min-width: 1025px) {
	.nb-foot-top { flex-wrap: nowrap !important; }
	.nb-foot-brand { flex: 0 0 320px !important; }
	.nb-foot-links-wrap { flex: 1 1 0 !important; flex-wrap: nowrap !important; }
	.nb-foot-col--loc { flex: 1 1 0 !important; min-width: 0; }
}
@media (max-width: 1024px) {
	.nb-foot-links-wrap { flex: 1 1 100% !important; }
}

/* =========================================================
   INNER PAGES (Who We Are, CSR, What We Do, Equipment, Contact)
   ========================================================= */
.nb-page-title .elementor-heading-title { max-width: 1055px; }
.nb-body p + p { margin-top: 28px; }
.nb-h2 .nb-hl { color: var(--nb-primary); }
.nb-split-content { min-width: 0; }
.nb-cover-img img { display: block; border-radius: 16px; }
.nb-gal-1 img { object-position: center 60% !important; }

/* Pills + icon boxes (Figma "Buttons/Button" chips) */
.nb-pill .elementor-heading-title {
	display: inline-block;
	background: #fff;
	border: 1px solid rgba(29, 72, 154, 0.16);
	border-radius: 16px;
	padding: 4px 20px;
	white-space: nowrap;
}
.nb-icon-row { flex-wrap: nowrap !important; }
.nb-icon-row .nb-pill { width: auto !important; }
.nb-icon-box { width: 48px !important; flex: 0 0 48px; }
.nb-icon-box .elementor-widget-container,
.nb-icon-box > img,
.nb-icon-box a {
	width: 48px;
	height: 48px;
	display: flex !important;
	align-items: center;
	justify-content: center;
	background: rgba(29, 72, 154, 0.16);
	border-radius: 8px;
}
.nb-icon-box img { width: 24px !important; height: 24px !important; background: none !important; }
.nb-icon-box--glass .elementor-widget-container,
.nb-icon-box--glass > img { background: rgba(29, 72, 154, 0.2); }

/* --- Who: collage --- */
.nb-collage-w { width: 584px; max-width: 100%; flex: 0 0 auto; }
.nb-collage { position: relative; width: 100%; aspect-ratio: 584 / 634; }
.nb-collage img, .nb-collage__badge { position: absolute; display: block; }
.nb-collage__1 { left: 0.34%; top: 0; width: 85.27%; height: 28.71%; object-fit: cover; object-position: center 69.5%; border-radius: 16px; }
.nb-collage__2 { left: 14.21%; top: 20.19%; width: 85.79%; height: 49.05%; }
.nb-collage__3 { left: 0; top: 55.52%; width: 45.72%; height: 44.48%; object-fit: cover; object-position: right center; border-radius: 16px; }
.nb-collage__badge {
	left: 37.16%; top: 64.04%; width: 48.46%; height: 21.45%;
	background: var(--nb-primary);
	border-radius: 16px;
	filter: drop-shadow(0 0 5px rgba(0, 0, 0, 0.25));
	color: #fff;
	display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center;
}
.nb-collage__badge strong { font-size: 60px; line-height: 76px; font-weight: 500; }
.nb-collage__badge span { font-size: 20px; line-height: 24px; font-weight: 500; letter-spacing: 4px; }
@media (max-width: 1024px) {
	.nb-collage-w { width: 584px !important; margin: 0 auto; }
}
@media (max-width: 767px) {
	.nb-collage__badge strong { font-size: 36px; line-height: 44px; }
	.nb-collage__badge span { font-size: 13px; line-height: 18px; letter-spacing: 2px; }
}

/* --- Who: soft cards + truck art --- */
.nb-soft-card { filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.1)); }
.nb-truck-w { width: auto !important; flex: 0 0 auto; }
.nb-truck-wrap { display: flex; justify-content: flex-end; }
.nb-truck-art {
	position: relative;
	width: 416.3px;
	height: 682px;
	background: var(--nb-primary);
	border-radius: 0 16px 16px 0;
}
.nb-truck-art__s1, .nb-truck-art__s2 { position: absolute; top: 0; width: 88px; height: 682px; }
.nb-truck-art__s1 { left: -0.68px; background: linear-gradient(180.8deg, #4277DD 33.8%, #183F8A 99.9%); }
.nb-truck-art__s2 { left: 87.32px; background: linear-gradient(180deg, #3D74DC 0%, #1D489A 100%); }
.nb-truck-art__img { position: absolute; left: -168.68px; top: 147px; width: 585px; height: 536px; overflow: hidden; }
.nb-truck-art__img img { position: absolute; max-width: none; left: -66.84%; top: -97.7%; width: 269.97%; height: 294.25%; }
@media (max-width: 1024px) {
	.nb-truck-w { width: 100% !important; }
	.nb-truck-wrap { justify-content: center; padding-left: 168px; }
}
@media (max-width: 767px) {
	.nb-truck-wrap { padding-left: 0; justify-content: flex-end; }
	.nb-truck-art { zoom: 0.58; }
}

/* --- Value / stat cards --- */
.nb-value-card, .nb-stat-card { min-width: 0; }
.nb-stat-big .elementor-heading-title { white-space: nowrap; }
@media (min-width: 1025px) {
	.nb-values > .nb-value-card { flex: 1 1 0 !important; }
}
@media (min-width: 768px) and (max-width: 1024px) {
	.nb-values > .nb-value-card { flex: 1 1 calc(50% - 12px) !important; }
}
.nb-gallery > .e-con { min-width: 0; }
.nb-gal-3 { flex: 0 0 49.1%; }
@media (max-width: 767px) { .nb-gal-3 { flex-basis: auto; } }

/* --- CSR: Key focus areas --- */
.nb-focus { position: relative; border-radius: 16px; }
.nb-focus .nb-focus-card {
	border: 1px solid #fff;
	border-radius: 16px;
	background: rgba(255, 255, 255, 0.08);
	-webkit-backdrop-filter: blur(6px);
	backdrop-filter: blur(6px);
}
.nb-focus-title .elementor-heading-title { min-height: 56px; }
@media (min-width: 1200px) {
	.nb-focus { height: 688px; background-size: 100% 100% !important; }
	.nb-focus > .nb-focus-head { position: absolute; left: 0; top: 0; }
	.nb-focus > .nb-eyebrow { position: absolute !important; left: 1082px; top: 21px; width: auto !important; }
	.nb-focus > .nb-focus-cards { position: absolute; inset: 0; display: block !important; }
	.nb-focus-card { position: absolute !important; width: 312px !important; height: 378px; }
	.nb-focus-card--1 { left: 16px; top: 293px; }
	.nb-focus-card--2 { left: 341px; top: 204px; }
	.nb-focus-card--3 { left: 666px; top: 293px; }
	.nb-focus-card--4 { left: 991px; top: 204px; }
}
@media (max-width: 1199px) {
	.nb-focus { background: none !important; gap: 16px; }
	.nb-focus > .nb-eyebrow { order: -1; }
	.nb-focus > .nb-focus-cards {
		background-image: var(--nb-union);
		background-size: auto 140%;
		background-position: center bottom;
		border-radius: 16px;
		padding: 24px;
		margin-top: 16px;
	}
	.nb-focus-card { flex: 1 1 calc(50% - 12px) !important; min-width: 260px; }
	.nb-focus-title .elementor-heading-title { min-height: 0; }
}
@media (max-width: 767px) {
	.nb-focus > .nb-focus-cards { padding: 16px; }
	.nb-focus-card { flex-basis: 100% !important; min-width: 0; }
}

/* --- CSR: goal cards --- */
.nb-goal-card { position: relative; box-shadow: 0 0 20px rgba(0, 0, 0, 0.1); }
.nb-goal-img-w { width: 100%; margin: 0 !important; }
.nb-goal-img { position: relative; width: 100%; height: 215px; overflow: hidden; margin-top: -1px; }
.nb-goal-img img { position: absolute; max-width: none; }
.nb-goal-pill { position: absolute !important; left: 19px; top: 19px; width: auto !important; z-index: 2; }
@media (min-width: 768px) {
	.nb-goals > .nb-goal-card { flex: 0 0 312px; }
}

/* --- What We Do: service cards --- */
.nb-svc-grid > .nb-svc-card { flex: 1 1 0 !important; min-width: 0; }
.nb-svc-overlay { justify-content: flex-start !important; }
.nb-svc-text strong { font-weight: 700; }
.nb-btn-icon .elementor-button-icon svg { width: 20px; height: 20px; }
.nb-btn-icon .elementor-button-icon svg path { fill: none !important; }
.nb-btn-icon .elementor-button-content-wrapper { gap: 6px; align-items: center; }
.nb-btn-icon .elementor-button {
	box-shadow: 0 1px 2px rgba(10, 13, 18, 0.05), inset 0 0 0 1px rgba(10, 13, 18, 0.18), inset 0 -2px 0 rgba(10, 13, 18, 0.05);
}
@media (min-width: 768px) and (max-width: 1024px) {
	.nb-svc-grid > .nb-svc-card { flex: 1 1 calc(50% - 11px) !important; }
}
@media (max-width: 767px) {
	.nb-svc-grid > .nb-svc-card { flex: 1 1 100% !important; }
}

/* --- What We Do: milestone carousel --- */
.nb-ms-w { width: 100%; }
.nb-ms { position: relative; width: 100%; overflow: hidden; padding: 6px 0; }
.nb-ms__track { display: flex; justify-content: center; align-items: flex-start; gap: 24px; }
.nb-ms__item { flex: 0 0 272px; margin: 35px 0 0; text-align: center; transition: flex-basis 0.35s ease, margin 0.35s ease; }
.nb-ms__img { height: 330px; border-radius: 16px; overflow: hidden; border: 1px solid var(--nb-grey-100); position: relative; transition: height 0.35s ease; }
.nb-ms__img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-ms--flip .nb-ms__img img { transform: scaleX(-1); }
.nb-ms--tint .nb-ms__img::after { content: ""; position: absolute; inset: 0; background: rgba(29, 72, 154, 0.2); }
.nb-ms__item figcaption { margin-top: 20px; font-size: 16px; line-height: 24px; font-weight: 500; color: var(--nb-primary); }
.nb-ms__item.is-active { flex-basis: 312px; margin-top: 0; }
.nb-ms__item.is-active .nb-ms__img { height: 400px; border: 0; box-shadow: 0 0 6px rgba(0, 0, 0, 0.3); }
.nb-ms__btn {
	position: absolute;
	top: calc(6px + 200px);
	transform: translate(-50%, -50%);
	width: 38.57px; height: 37.79px;
	padding: 0; border: 0; background: none; cursor: pointer; z-index: 3;
}
.nb-ms__btn > img:first-child { position: absolute; inset: 0; width: 100%; height: 100%; }
.nb-ms__arrow { position: absolute; left: 50%; top: 50%; width: 13.8px; height: 10.05px; transform: translate(-50%, -50%); }
.nb-ms__btn--prev { left: calc(50% - 156px); }
.nb-ms__btn--prev .nb-ms__arrow { transform: translate(-50%, -50%) rotate(180deg); }
.nb-ms__btn--next { left: calc(50% + 156px); }
.nb-ms__btn:focus-visible { outline: 2px solid var(--nb-primary); outline-offset: 2px; border-radius: 50%; }
@media (max-width: 767px) {
	.nb-ms__track { gap: 16px; }
	.nb-ms__item { flex-basis: 200px; margin-top: 30px; }
	.nb-ms__img { height: 260px; }
	.nb-ms__item.is-active { flex-basis: 240px; }
	.nb-ms__item.is-active .nb-ms__img { height: 320px; }
	.nb-ms__btn { top: calc(6px + 160px); }
	.nb-ms__btn--prev { left: calc(50% - 120px); }
	.nb-ms__btn--next { left: calc(50% + 120px); }
	.nb-ms__item figcaption { font-size: 14px; line-height: 20px; }
}

/* --- Equipment --- */
.nb-eq-img { position: relative; }
.nb-img-pill { position: absolute !important; top: 20px; right: 20px; width: auto !important; z-index: 2; }
.nb-eq-video .nb-eyebrow .elementor-heading-title { color: #fff; }
.nb-video-w { width: 582px; max-width: 100%; flex: 0 0 auto; }
.nb-video { position: relative; width: 100%; height: 494px; border-radius: 16px; overflow: hidden; }
.nb-video > img { width: 100%; height: 100%; object-fit: cover; display: block; }
.nb-video__play {
	position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
	width: 64px; height: 64px; border-radius: 9999px;
	background: rgba(255, 255, 255, 0.3);
	-webkit-backdrop-filter: blur(8px); backdrop-filter: blur(8px);
	display: flex; align-items: center; justify-content: center;
}
.nb-video__play img { width: 20px; height: 20px; display: block; }
@media (max-width: 1024px) {
	.nb-video-w { width: 100% !important; }
	.nb-video { height: 420px; }
}
@media (max-width: 767px) { .nb-video { height: 240px; } }

/* --- Contact page --- */
.nb-contact--page .nb-contact-map img { display: block; border-radius: 16px; object-position: 54% 48% !important; }
.nb-contact--page .nb-contact-map { min-width: 0; }

/* ---------- QA fixes (inner pages) ---------- */
.elementor-widget.nb-icon-box {
	width: 48px !important;
	height: 48px;
	flex: 0 0 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: rgba(29, 72, 154, 0.16);
	border-radius: 8px;
}
.elementor-widget.nb-icon-box.nb-icon-box--glass { background: rgba(29, 72, 154, 0.2); }
.elementor-widget.nb-icon-box > img,
.elementor-widget.nb-icon-box .elementor-widget-container { background: none !important; width: auto; height: auto; }
.nb-ms__item figcaption { font-style: normal; }
.nb-contact-map img,
.nb-contact-map a { display: block; border-radius: 16px; overflow: hidden; }
.nb-contact-map img { object-position: 54% 48% !important; }