/* ==========================================================================
   Royal Tech - modern UI layer
   Pure presentation overrides. Loaded last. Remove its enqueue in
   functions.php to restore the original design.
   ========================================================================== */

:root {
	--rt-navy-950: #061625;
	--rt-navy-900: #0a2943;
	--rt-navy-700: #0f4c81;
	--rt-blue: #0f75bc;
	--rt-blue-bright: #1b8fe0;
	--rt-cyan: #22c3ee;
	--rt-ink: #0f2233;
	--rt-muted: #5b6b7a;
	--rt-line: #dde6ee;
	--rt-soft: #f3f7fb;
	--rt-radius: 16px;
	--rt-radius-sm: 10px;
	--rt-shadow-sm: 0 2px 8px rgba(10, 41, 67, .06);
	--rt-shadow: 0 10px 30px -8px rgba(10, 41, 67, .18);
	--rt-shadow-lg: 0 24px 60px -16px rgba(10, 41, 67, .28);
	--rt-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
	--rt-header-h: 84px;
}

/* ---------- Base ---------- */
html { scroll-behavior: smooth; }
body {
	font-family: var(--rt-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--rt-ink);
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: optimizeLegibility;
}
body { overflow-x: clip; } /* WPBakery's stretched full-width rows overshoot by 15px; clip (unlike hidden) keeps the sticky header working */
::selection { background: var(--rt-blue); color: #fff; }

h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
	font-family: var(--rt-font);
	font-weight: 700;
	letter-spacing: -0.02em;
	line-height: 1.2;
}
.vc_row h1, .wpb_text_column h1 { font-size: clamp(28px, 3.2vw, 42px); }
p { color: inherit; }
a { transition: color .2s ease, background-color .2s ease, opacity .2s ease; }

a:focus-visible, button:focus-visible, input:focus-visible,
textarea:focus-visible, select:focus-visible, .btn:focus-visible {
	outline: 3px solid rgba(34, 195, 238, .55) !important;
	outline-offset: 2px;
}

/* ---------- Header ---------- */
.site-header,
.home .site-header {
	position: sticky;
	top: 0;
	z-index: 1000;
	background: rgba(6, 22, 37, .93);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	box-shadow: 0 8px 30px -12px rgba(0, 0, 0, .35);
}
.home .site-header {
	position: fixed;
	left: 0;
	right: 0;
	width: 100%;
}
.admin-bar .site-header { top: 32px; }

.site-branding { line-height: var(--rt-header-h); }
.site-branding img { max-width: 100%; max-height: 56px; width: auto; padding: 0; vertical-align: middle; }

.main-navigation { position: static; }
ul#primary-menu,
.main-menu.pull-right {
	margin-top: 0 !important;
	margin-bottom: 0;
	display: flex;
	flex-wrap: nowrap;
	align-items: stretch;
	gap: 2px;
}
.main-menu li { float: none; position: relative; }
.main-menu > li > a,
.main-menu li a {
	font-family: var(--rt-font);
	font-size: 15px;
	font-weight: 500;
	letter-spacing: .01em;
	color: rgba(255, 255, 255, .88);
	padding: 0 16px;
	line-height: var(--rt-header-h);
	display: block;
	position: relative;
	white-space: nowrap;
	background: transparent;
}
.main-menu > li > a::before {
	content: '';
	position: absolute;
	left: 16px;
	right: 16px;
	bottom: 22px;
	height: 2px;
	border-radius: 2px;
	background: var(--rt-cyan);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform .25s ease;
}
.main-menu > li:hover > a,
.main-menu > li.current-menu-item > a,
.main-menu > li.current-menu-ancestor > a,
.main-menu > li.current_page_item > a {
	color: #fff;
	background: transparent;
}
.main-menu > li:hover > a::before,
.main-menu > li.current-menu-item > a::before,
.main-menu > li.current-menu-ancestor > a::before { transform: scaleX(1); }

.main-menu > li.menu-item-has-children > a { padding-right: 26px; }
.main-menu > li.menu-item-has-children > a::after {
	content: '';
	position: absolute;
	right: 11px;
	top: 50%;
	width: 6px;
	height: 6px;
	margin-top: -5px;
	border-right: 2px solid currentColor;
	border-bottom: 2px solid currentColor;
	transform: rotate(45deg);
	opacity: .7;
}

/* Dropdowns */
.main-menu li .sub-menu {
	top: 100%;
	left: 0;
	min-width: 310px;
	max-width: 380px;
	max-height: min(70vh, 520px);
	overflow-y: auto;
	margin: 0;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--rt-line);
	border-left: 1px solid var(--rt-line);
	border-radius: 0 0 var(--rt-radius) var(--rt-radius);
	box-shadow: var(--rt-shadow-lg);
	scrollbar-width: thin;
}
.main-menu li:hover > .sub-menu { display: block; animation: rt-drop .18s ease-out; }
.main-menu li .sub-menu li {
	border: 0;
	margin: 0;
}
.main-menu li .sub-menu li a {
	line-height: 1.4;
	padding: 10px 14px;
	white-space: normal;
	font-size: 14px;
	font-weight: 500;
	color: var(--rt-ink);
	border-radius: var(--rt-radius-sm);
}
.main-menu li .sub-menu li a:hover,
.main-menu li .sub-menu li.current-menu-item > a {
	background: var(--rt-soft);
	color: var(--rt-blue);
}
@keyframes rt-drop {
	from { opacity: 0; transform: translateY(-6px); }
	to   { opacity: 1; transform: none; }
}

/* Mobile menu */
#mobile-menu-trigger { color: #fff; }
#mobile-menu {
	background: var(--rt-navy-950);
	margin: 0 -15px;
	padding: 8px 15px 16px;
	list-style: none;
}
#mobile-menu li a {
	display: block;
	padding: 12px 8px;
	color: rgba(255, 255, 255, .9);
	border-bottom: 1px solid rgba(255, 255, 255, .08);
	font-weight: 500;
}
#mobile-menu .sub-menu a { padding-left: 24px; color: rgba(255, 255, 255, .65); font-size: 14px; }

@media only screen and (max-width: 950px) {
	ul#primary-menu,
	.main-menu.pull-right { display: none !important; }
	.site-header,
	.home .site-header { position: sticky; top: 0; }
	.site-branding { line-height: 76px; }
	.site-branding img { max-height: 46px; }
	.site-branding { position: relative; }
	#mobile-menu-trigger {
		position: absolute;
		top: 0;
		right: 15px;
		z-index: 5;
		height: 76px;
		line-height: 76px;
		font-size: 24px;
		float: none;
	}
}

/* ---------- Buttons ---------- */
.btn { font-family: var(--rt-font); font-weight: 600; letter-spacing: .01em; }
.btn-primary,
a.btn-primary {
	background: linear-gradient(135deg, var(--rt-blue) 0%, var(--rt-blue-bright) 100%);
	color: #fff;
	padding: 12px 28px;
	border: 0;
	border-radius: 999px;
	font-size: 15px;
	box-shadow: 0 8px 20px -8px rgba(15, 117, 188, .6);
	transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}
.btn-primary:hover,
.btn-primary:focus,
a.btn-primary:hover {
	background: linear-gradient(135deg, var(--rt-blue) 0%, var(--rt-blue-bright) 100%);
	border-radius: 999px;
	color: #fff;
	transform: translateY(-2px);
	box-shadow: 0 14px 28px -10px rgba(15, 117, 188, .7);
	filter: brightness(1.05);
}
.btn-primary:active { transform: translateY(0); }
.btn-secondary { border-radius: 999px; padding: 12px 28px; }

/* ---------- Hero slider ---------- */
.hero-slider .swiper-slide {
	height: clamp(520px, 82vh, 760px);
	background: var(--rt-navy-950);
}
.hero-slider .swiper-slide img { transform: scale(1.04); transition: transform 9s ease-out; }
.hero-slider .swiper-slide-active img { transform: scale(1); }
.hero-slider .swiper-slide::after {
	content: '';
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(6, 22, 37, .82) 0%, rgba(6, 22, 37, .45) 45%, rgba(6, 22, 37, 0) 80%),
		linear-gradient(0deg, rgba(6, 22, 37, .55) 0%, rgba(6, 22, 37, 0) 40%);
	pointer-events: none;
}
.hero-slider .banner-caption-holder {
	z-index: 2;
	bottom: auto;
	top: 50%;
	transform: translateY(-50%);
	padding-top: calc(var(--rt-header-h) / 2);
}
.hero-slider .desktop-caption {
	background: transparent;
	padding: 0 15px;
	border-radius: 0;
	font-family: var(--rt-font);
}
.hero-slider .caption-title {
	font-family: var(--rt-font);
	font-size: clamp(32px, 4.6vw, 60px);
	font-weight: 800;
	line-height: 1.08;
	letter-spacing: -0.03em;
	color: #fff;
	margin-bottom: 28px;
	text-shadow: 0 2px 24px rgba(0, 0, 0, .25);
}
.hero-slider .caption-title .primary-color { color: var(--rt-cyan); }
.hero-slider .caption-title span { display: inline; }
.hero-slider .btn-primary { padding: 14px 34px; font-size: 16px; }
.hero-slider .swiper-pagination { bottom: 28px !important; z-index: 3; }
.hero-slider .swiper-pagination-bullet {
	width: 10px;
	height: 10px;
	margin: 0 5px !important;
	background: #fff;
	opacity: .5;
	border-radius: 999px;
	transition: width .3s ease, opacity .3s ease;
}
.hero-slider .swiper-pagination-bullet-active { width: 32px; opacity: 1; background: var(--rt-cyan); }

@media (max-width: 767px) {
	.hero-slider .swiper-slide { height: 440px; }
	.hero-slider .banner-caption-holder { padding-top: 0; }
	.hero-slider .caption-title { font-size: 28px; margin-bottom: 18px; }
	.hero-slider .swiper-slide::after {
		background: linear-gradient(0deg, rgba(6, 22, 37, .85) 0%, rgba(6, 22, 37, .35) 70%, rgba(6, 22, 37, .2) 100%);
	}
}

/* ---------- Inner page header ---------- */
#page-header {
	margin-bottom: 70px;
	padding: 72px 0 64px;
	text-align: left;
	background:
		radial-gradient(900px 300px at 85% -20%, rgba(34, 195, 238, .35), transparent 60%),
		linear-gradient(120deg, var(--rt-navy-950) 0%, var(--rt-navy-900) 55%, var(--rt-navy-700) 100%);
	overflow: hidden;
}
#page-header:after { display: none; }
#page-header .page-header-bg { display: none; }
#page-header h3,
#page-header .page-header-title {
	display: block;
	min-width: 0;
	min-height: 0;
	margin: 0;
	padding: 0;
	background: transparent;
	box-shadow: none;
	text-align: left;
	color: #fff;
	font-size: clamp(30px, 4vw, 48px);
	font-weight: 800;
	letter-spacing: -0.03em;
	position: relative;
}
#page-header h3::after {
	content: '';
	display: block;
	width: 56px;
	height: 4px;
	margin-top: 18px;
	border-radius: 4px;
	background: var(--rt-cyan);
}
@media (max-width: 767px) {
	#page-header { padding: 48px 0 40px; margin-bottom: 40px; }
	#page-header h3 { padding: 0; min-width: 0; }
}

/* ---------- Content blocks ---------- */
.vc_section { position: relative; }

.vc_single_image-wrapper,
.vc_single_image-wrapper.vc_box_border_grey {
	border: 0;
	border-radius: var(--rt-radius);
	overflow: hidden;
	box-shadow: var(--rt-shadow);
	display: block;
	transition: transform .35s ease, box-shadow .35s ease;
}
.vc_single_image-wrapper img {
	display: block;
	width: 100%;
	height: auto;
	transition: transform .6s ease;
}
.vc_single_image-wrapper:hover { box-shadow: var(--rt-shadow-lg); transform: translateY(-4px); }
.vc_single_image-wrapper:hover img { transform: scale(1.05); }

.wpb_text_column p { margin-bottom: 1em; }
.wpb_text_column a:not(.btn) { color: var(--rt-blue); font-weight: 600; }
.wpb_text_column a:not(.btn):hover { color: var(--rt-navy-700); }

.vc_row .icon-head { font-size: 19px; font-weight: 700; letter-spacing: -0.01em; }
.vc_row .vc_icon_element.vc_icon_element-outer .vc_icon_element-inner.vc_icon_element-color-blue .vc_icon_element-icon { color: var(--rt-blue); }

.vc_custom_heading { font-family: var(--rt-font); font-weight: 700; letter-spacing: -0.02em; }

.wpb_text_column ul { padding-left: 0; list-style: none; }
.wpb_text_column ul li { position: relative; padding-left: 26px; margin-bottom: 8px; }
.wpb_text_column ul:not(.check) li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: .72em;
	width: 7px;
	height: 7px;
	border-radius: 50%;
	background: var(--rt-blue);
}
/* Editor wrapper items (<li style="list-style-type:none"><ul>…): no bullet, no extra indent */
.wpb_text_column li[style*="list-style-type: none"],
.wpb_text_column li:has(> ul:only-child) { padding-left: 0; margin-bottom: 0; }
.wpb_text_column li[style*="list-style-type: none"]::before,
.wpb_text_column li:has(> ul:only-child)::before { display: none; }
.wpb_text_column li > ul { margin: 0; }

/* Equal-height card rows. The column's own gutter padding is left alone so the
   gap between cards survives; the card look sits on the .wpb_wrapper inside it. */
@media (min-width: 768px) {
	.vc_row.wpb_row:has(.icon-head),
	.vc_row.wpb_row.color-white:has(.vc_single_image-wrapper) {
		display: flex;
		flex-wrap: wrap;
	}
	.vc_row.wpb_row:has(.icon-head)::before,
	.vc_row.wpb_row:has(.icon-head)::after,
	.vc_row.wpb_row.color-white:has(.vc_single_image-wrapper)::before,
	.vc_row.wpb_row.color-white:has(.vc_single_image-wrapper)::after { display: none; }
	.vc_row.wpb_row:has(.icon-head) > .vc_column_container,
	.vc_row.wpb_row.color-white:has(.vc_single_image-wrapper) > .vc_column_container { display: flex; }
	.vc_row.wpb_row:has(.icon-head) > .vc_column_container > .vc_column-inner,
	.vc_row.wpb_row.color-white:has(.vc_single_image-wrapper) > .vc_column_container > .vc_column-inner {
		display: flex;
		flex: 1 1 auto;
		min-width: 0;
	}
	.vc_row.wpb_row:has(.icon-head) .vc_column-inner > .wpb_wrapper,
	.vc_row.wpb_row.color-white:has(.vc_single_image-wrapper) .vc_column-inner > .wpb_wrapper { flex: 1 1 auto; min-width: 0; }
}

/* Feature cards (Corporate Values / Mission / Vision) */
.vc_column-inner > .wpb_wrapper:has(> .icon-head) {
	padding: 28px 28px 24px;
	background: #fff;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-radius);
	box-shadow: var(--rt-shadow-sm);
	transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}
.vc_column-inner > .wpb_wrapper:has(> .icon-head):hover {
	transform: translateY(-4px);
	box-shadow: var(--rt-shadow);
	border-color: rgba(15, 117, 188, .35);
}
.wpb_wrapper:has(> .icon-head) .vc_icon_element-inner {
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: rgba(15, 117, 188, .1);
	line-height: 44px;
	margin-right: 8px;
}
.wpb_wrapper:has(> .icon-head) .vc_icon_element-icon { font-size: 18px; }
.wpb_wrapper:has(> .icon-head) .icon-head { line-height: 44px; }
.wpb_wrapper:has(> .icon-head) p { color: var(--rt-muted); margin-bottom: 10px; }

/* ---------- Forms ---------- */
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form textarea,
.wpb_text_column input[type="text"],
.wpb_text_column input[type="email"],
.wpb_text_column textarea {
	width: 100%;
	padding: 14px 18px;
	font-family: var(--rt-font);
	font-size: 15px;
	color: var(--rt-ink);
	background: #fff;
	border: 1px solid var(--rt-line);
	border-radius: 12px;
	box-shadow: none;
	transition: border-color .2s ease, box-shadow .2s ease;
}
#contact-form input:focus,
#contact-form textarea:focus {
	border-color: var(--rt-blue);
	box-shadow: 0 0 0 4px rgba(15, 117, 188, .15);
	outline: none !important;
}
#contact-form textarea { min-height: 150px; resize: vertical; }
#contact-form .btn { cursor: pointer; }
#formstatus.alert {
	border: 0;
	border-radius: 12px;
	padding: 14px 18px;
	box-shadow: var(--rt-shadow-sm);
}

/* ---------- Gallery ---------- */
.portfolio-filter { margin-bottom: 36px; }
.portfolio-filter ul { display: inline-flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 0; padding: 6px; background: var(--rt-soft); border-radius: 999px; list-style: none; }
.portfolio-filter ul li { margin: 0 !important; }
.portfolio-filter ul li a {
	display: block;
	padding: 9px 22px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 600;
	color: var(--rt-muted);
	text-transform: none;
	letter-spacing: 0;
}
.portfolio-filter ul li a:hover { color: var(--rt-blue); }
.portfolio-filter ul li a.active { background: var(--rt-blue); color: #fff; box-shadow: 0 6px 16px -6px rgba(15, 117, 188, .6); }

.portfolio-grid .item { padding: 10px; box-sizing: border-box; }
.portfolio-grid .portfolio-item-preview {
	position: relative;
	overflow: hidden;
	border-radius: var(--rt-radius);
	box-shadow: var(--rt-shadow-sm);
	transition: box-shadow .3s ease, transform .3s ease;
}
.portfolio-grid .portfolio-item-preview img {
	width: 100%;
	height: 260px;
	object-fit: cover;
	transition: transform .6s ease;
}
.portfolio-grid .portfolio-item-preview:hover { box-shadow: var(--rt-shadow-lg); }
.portfolio-grid .portfolio-item-preview:hover img { transform: scale(1.07); }
.portfolio-grid .portfolio-item-overlay {
	background: linear-gradient(0deg, rgba(6, 22, 37, .7), rgba(6, 22, 37, .15));
	border-radius: var(--rt-radius);
}
.portfolio-grid .portfolio-item-zoom {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 50%;
	background: #fff;
	color: var(--rt-blue);
	box-shadow: var(--rt-shadow);
}
@media (max-width: 767px) { .portfolio-grid .portfolio-item-preview img { height: 220px; } }

/* ---------- Footer ---------- */
#footer-top {
	background: linear-gradient(120deg, var(--rt-navy-900), var(--rt-navy-700));
	border-bottom: 1px solid rgba(255, 255, 255, .08);
}
#footer {
	padding: 80px 0 70px;
	background: var(--rt-navy-950);
	color: rgba(255, 255, 255, .68);
}
#footer a,
#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 { color: rgba(255, 255, 255, .78); }
#footer .widget-title,
#footer h5 {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: #fff;
	margin-bottom: 22px;
}
#footer ul { list-style: none; padding: 0; margin: 0; }
#footer ul li { margin-bottom: 10px; }
#footer a:hover { color: var(--rt-cyan); }
#footer small { font-size: 14px; line-height: 1.8; }
#footer-bottom {
	padding: 26px 0;
	background: #030d17;
	border-top: 1px solid rgba(255, 255, 255, .06);
}
#footer-bottom a { color: rgba(255, 255, 255, .6); }
#footer-bottom a:hover { color: var(--rt-cyan); }
#footer-bottom ul { margin: 0; padding: 0; list-style: none; }
#footer-bottom .widget_pages li { display: inline-block; margin-right: 22px; }
a.social-icon {
	width: 38px;
	height: 38px;
	margin-right: 10px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .07);
	color: rgba(255, 255, 255, .75);
	transition: background .2s ease, transform .2s ease, color .2s ease;
}
a.social-icon i { line-height: 38px; font-size: 16px; }
a.social-icon:hover { background: var(--rt-blue); color: #fff !important; transform: translateY(-2px); }
.income_widget_social_media { text-align: right; }
@media (max-width: 767px) { .income_widget_social_media { text-align: left; margin-top: 16px; } }

/* Footer contact strip (ID selectors needed to beat legacy rules) */
#footer-top .income_widget_contact_info ul {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-start;
	justify-content: space-between;
	gap: 24px 40px;
	margin: 0;
	padding: 38px 0;
	list-style: none;
}
#footer-top .income_widget_contact_info ul::before,
#footer-top .income_widget_contact_info ul::after { display: none; }
#footer-top .income_widget_contact_info ul li {
	float: none;
	display: flex;
	align-items: center;
	gap: 16px;
	width: auto;
	flex: 1 1 260px;
	margin: 0;
	padding: 0;
	text-align: left;
	color: rgba(255, 255, 255, .85);
	font-family: var(--rt-font);
	font-size: 15px;
	line-height: 1.6;
}
#footer-top .income_widget_contact_info ul li i {
	position: static;
	display: block;
	flex: 0 0 48px;
	width: 48px;
	height: 48px;
	margin: 0;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 20px;
	line-height: 48px;
	text-align: center;
}
#footer-top .income_widget_contact_info a { color: #fff; font-weight: 600; }
#footer-top .income_widget_contact_info a:hover { color: var(--rt-cyan); }
#footer-top .widget:first-child,
#footer-top .widget:last-child { padding-top: 0; padding-bottom: 0; }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		animation-duration: .01ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .01ms !important;
	}
}

/* ==========================================================================
   Round 2: motion, glass panels, floating actions
   ========================================================================== */

/* Header compacts after scrolling (class toggled by js/modern.js) */
.site-header { transition: box-shadow .3s ease, background-color .3s ease; }
.site-header .site-branding,
.main-menu > li > a { transition: line-height .25s ease; }
.site-header.is-scrolled { --rt-header-h: 64px; box-shadow: 0 10px 34px -14px rgba(0, 0, 0, .55); }
.site-header.is-scrolled .site-branding img { max-height: 44px; }
.site-header .site-branding img { transition: max-height .25s ease; }
.site-header.is-scrolled .main-menu > li > a::before { bottom: 14px; }

/* Reading progress bar */
#rt-progress {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	z-index: 1100;
	transform: scaleX(0);
	transform-origin: left;
	background: linear-gradient(90deg, var(--rt-cyan), var(--rt-blue-bright));
	pointer-events: none;
}
.admin-bar #rt-progress { top: 32px; }

/* Scroll reveal: only active when JS adds .rt-reveal to below-the-fold items */
.rt-reveal {
	opacity: 0;
	translate: 0 28px;
	transition: opacity .7s ease, translate .7s cubic-bezier(.2, .7, .2, 1);
	transition-delay: var(--rt-delay, 0ms);
}
.rt-reveal.rt-in { opacity: 1; translate: 0 0; }

/* Hero text entrance */
@keyframes rt-rise {
	from { opacity: 0; transform: translateY(26px); }
	to   { opacity: 1; transform: none; }
}
.hero-slider .swiper-slide-active .caption-title { animation: rt-rise .8s cubic-bezier(.2, .7, .2, 1) .15s both; }
.hero-slider .swiper-slide-active .btn { animation: rt-rise .8s cubic-bezier(.2, .7, .2, 1) .35s both; }

/* Hero scroll cue */
.hero-slider::after {
	content: '';
	position: absolute;
	right: 40px;
	bottom: 30px;
	z-index: 3;
	width: 26px;
	height: 42px;
	border: 2px solid rgba(255, 255, 255, .65);
	border-radius: 14px;
	background:
		radial-gradient(circle at 50% 10px, #fff 3px, transparent 4px) no-repeat;
	animation: rt-cue 1.8s ease-in-out infinite;
	pointer-events: none;
}
@keyframes rt-cue {
	0%, 100% { opacity: .55; transform: translateY(0); }
	50%      { opacity: 1;   transform: translateY(6px); }
}
@media (max-width: 767px) { .hero-slider::after { display: none; } }

/* Buttons: arrow that nudges on hover */
.btn-primary::after {
	content: '\2192';
	display: inline-block;
	margin-left: 8px;
	transition: transform .2s ease;
}
.btn-primary:hover::after { transform: translateX(4px); }
.btn-primary[type="submit"]::after,
button.btn-primary::after { content: none; }

/* Section titles: accent bar under centered headings */
h2.vc_custom_heading[style*="text-align: center"]::after {
	content: '';
	display: block;
	width: 56px;
	height: 4px;
	margin: 16px auto 0;
	border-radius: 4px;
	background: var(--rt-cyan);
}

/* Dark / photo sections: glass panels */
.color-white .vc_col-sm-8 > .vc_column-inner {
	margin: 0 15px;
	padding: 34px 36px;
	background: rgba(6, 22, 37, .55);
	-webkit-backdrop-filter: blur(10px);
	backdrop-filter: blur(10px);
	border: 1px solid rgba(255, 255, 255, .14);
	border-radius: 20px;
	box-shadow: 0 24px 60px -20px rgba(0, 0, 0, .5);
}
ul.check { list-style: none; padding-left: 0; }
ul.check li { padding-left: 34px; margin-bottom: 10px; }
ul.check li::before {
	content: '\f00c';
	font-family: FontAwesome;
	position: absolute;
	left: 0;
	top: 2px;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: rgba(34, 195, 238, .18);
	color: var(--rt-cyan);
	font-size: 11px;
	line-height: 22px;
	text-align: center;
}

.vc_row.color-white .vc_column-inner > .wpb_wrapper:has(> .wpb_single_image) {
	display: flex;
	flex-direction: column;
	padding: 16px 16px 24px;
	background: rgba(255, 255, 255, .045);
	border: 1px solid rgba(255, 255, 255, .1);
	border-radius: 20px;
	transition: background .3s ease, border-color .3s ease, transform .3s ease;
}
.vc_row.color-white .vc_column-inner > .wpb_wrapper:has(> .wpb_single_image):hover {
	background: rgba(255, 255, 255, .08);
	border-color: rgba(34, 195, 238, .4);
	transform: translateY(-4px);
}
.vc_row.color-white .wpb_wrapper:has(> .wpb_single_image) .vc_custom_heading { font-size: 20px !important; padding: 0 6px; margin: 18px 0 14px; }
.vc_row.color-white .wpb_wrapper:has(> .wpb_single_image) > .wpb_text_column { padding: 0 6px; margin-top: auto; }
.vc_row.color-white .wpb_wrapper:has(> .wpb_single_image) > .wpb_text_column p { margin: 0; }
.vc_row.color-white .wpb_wrapper:has(> .wpb_single_image) > .wpb_single_image { margin-bottom: 0; }

/* Floating actions */
.rt-fab {
	position: fixed;
	right: 24px;
	z-index: 900;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	height: 52px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	font-family: var(--rt-font);
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	box-shadow: 0 14px 30px -10px rgba(6, 22, 37, .6);
	transition: transform .25s ease, opacity .25s ease, box-shadow .25s ease;
}
.rt-fab:hover { transform: translateY(-3px); color: #fff; box-shadow: 0 20px 36px -12px rgba(6, 22, 37, .7); }
.rt-fab-call {
	bottom: 24px;
	padding: 0 22px 0 18px;
	background: linear-gradient(135deg, var(--rt-blue), var(--rt-blue-bright));
}
.rt-fab-call i { font-size: 18px; }
.rt-fab-top {
	bottom: 88px;
	width: 52px;
	padding: 0;
	background: var(--rt-navy-900);
	opacity: 0;
	visibility: hidden;
	transform: translateY(10px);
}
.rt-fab-top.is-visible { opacity: 1; visibility: visible; transform: none; }
.rt-fab-top.is-visible:hover { transform: translateY(-3px); }
.rt-fab-top i { font-size: 22px; line-height: 1; }
@media (max-width: 767px) {
	.rt-fab { right: 16px; }
	.rt-fab-call { bottom: 16px; width: 52px; padding: 0; }
	.rt-fab-call span { display: none; }
	.rt-fab-top { bottom: 78px; }
}
@media print { .rt-fab, #rt-progress { display: none !important; } }

/* Small screens: WPBakery design options give some sections 80px padding on every
   side, which squeezes content on phones. Trim the sides only. */
@media (max-width: 767px) {
	.vc_section.vc_section-has-fill {
		padding-left: 0 !important;
		padding-right: 0 !important;
	}
	.vc_section.vc_parallax { padding-top: 56px !important; padding-bottom: 56px !important; }
	.color-white .vc_col-sm-8 > .vc_column-inner { padding: 24px 22px; margin: 0 15px; }
}

/* ==========================================================================
   Supply page accordion (WPBakery vc_tta-accordion + legacy data tables)
   WPBakery's JS animates the panel body's height/padding, so the body box is
   left alone: only headings, wrappers and the tables inside are restyled.
   ========================================================================== */

body .vc_tta-container .supply-title.vc_tta { counter-reset: rt-acc; }
body .vc_tta-container .supply-title.vc_tta .vc_tta-panels {
	background: transparent;
	border: 0;
	padding: 0;
}

/* Each panel becomes its own card */
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel {
	counter-increment: rt-acc;
	margin: 0 0 14px !important;
	background: #fff;
	border: 1px solid var(--rt-line);
	border-radius: var(--rt-radius) !important;
	overflow: hidden;
	box-shadow: var(--rt-shadow-sm);
	transition: box-shadow .3s ease, border-color .3s ease;
}
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel:last-child { margin-bottom: 0 !important; }
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel:hover { box-shadow: var(--rt-shadow); border-color: rgba(15, 117, 188, .4); }
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel.vc_active {
	border-color: var(--rt-blue);
	box-shadow: var(--rt-shadow);
}

/* Heading row */
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-heading {
	background: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
}
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel.vc_active .vc_tta-panel-heading {
	background: linear-gradient(90deg, rgba(15, 117, 188, .09), rgba(15, 117, 188, 0) 70%) !important;
	border-bottom: 1px solid var(--rt-line) !important;
}
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title { margin: 0; }
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a {
	display: flex;
	align-items: center;
	gap: 16px;
	padding: 18px 22px !important;
	background: transparent !important;
	color: var(--rt-navy-900) !important;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: .05em;
	text-transform: uppercase;
	line-height: 1.3;
}
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a:hover { color: var(--rt-blue) !important; }
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a:focus-visible { outline-offset: -4px; border-radius: var(--rt-radius); }
body .vc_tta-container .supply-title.vc_tta .vc_tta-title-text { flex: 1 1 auto; }

/* Numbered chip before the title (counter, so reordering panels stays correct) */
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a::before {
	content: counter(rt-acc, decimal-leading-zero);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 42px;
	height: 42px;
	border-radius: 12px;
	background: rgba(15, 117, 188, .1);
	color: var(--rt-blue);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0;
	transition: background-color .3s ease, color .3s ease;
}
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel.vc_active .vc_tta-panel-title > a::before { background: var(--rt-blue); color: #fff; }

/* Replace the old +/- glyph with a round chevron on the right */
body .vc_tta-container .supply-title.vc_tta .vc_tta-controls-icon { display: none; }
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a::after {
	content: '';
	flex: 0 0 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--rt-soft) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230f75bc' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") center / 14px no-repeat;
	transition: transform .3s ease, background-color .3s ease;
}
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel.vc_active .vc_tta-panel-title > a::after {
	transform: rotate(180deg);
	background-color: var(--rt-blue);
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* Body (box untouched, content spaced via its own wrapper) */
body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-body { background: transparent; }
.supply-title .vc_tta-panel-body .wpb_text_column { margin: 4px 0 10px; }

/* Data tables */
.supply-title table {
	width: 100% !important;
	margin: 0;
	table-layout: fixed;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--rt-line);
	border-radius: 12px;
	overflow: hidden;
	background: #fff;
	font-size: 15px;
}
.supply-title table td {
	width: auto !important;
	padding: 13px 18px;
	border: 0;
	border-right: 1px solid var(--rt-line);
	border-bottom: 1px solid var(--rt-line);
	background: #fff;
	color: var(--rt-ink);
	vertical-align: top;
	overflow-wrap: anywhere;
	transition: background-color .2s ease;
}
.supply-title table td:last-child { border-right: 0; }
.supply-title table tr:last-child td { border-bottom: 0; }
.supply-title table tr { background: #fff; }
.supply-title table tr[bgcolor] { background: #fff; }
.supply-title table tr[bgcolor="#D7D7D7"] { background: var(--rt-soft); }
.supply-title table tr[bgcolor="#4197F2"] { background: transparent; }
.supply-title table tr[bgcolor="#D7D7D7"] td { background: var(--rt-soft); }
.supply-title table tr:not([bgcolor="#4197F2"]):hover td { background: rgba(15, 117, 188, .08); }
.supply-title table tr[bgcolor="#4197F2"] td,
.supply-title table tr:first-child td[colspan] {
	border: 0;
	background: linear-gradient(120deg, var(--rt-navy-900), var(--rt-navy-700));
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: .1em;
	text-transform: uppercase;
	text-align: left;
}
.supply-title table td:empty { background-image: none; }

/* Phones: one clean list instead of three cramped columns */
@media (max-width: 600px) {
	body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a { padding: 14px 14px !important; gap: 12px; font-size: 14px; letter-spacing: .03em; }
	body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a::before { flex-basis: 34px; height: 34px; font-size: 12px; border-radius: 10px; }
	body .vc_tta-container .supply-title.vc_tta .vc_tta-panel-title > a::after { flex-basis: 30px; height: 30px; }
	.supply-title table, .supply-title tbody, .supply-title table tr { display: block; }
	.supply-title table td { display: block; padding: 11px 16px; border-right: 0; border-bottom: 1px solid var(--rt-line); }
	.supply-title table tr:last-child td:last-child { border-bottom: 0; }
	.supply-title table td:empty { display: none; }
}

/* ==========================================================================
   Logo lockup: emblem cropped from logo.png + company name as live text
   (the PNG's wordmark is ~9px tall, so it cannot be made legible by scaling)
   ========================================================================== */
.site-branding .rt-brand {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	max-width: 100%;
	line-height: 1;
	vertical-align: middle;
	text-decoration: none;
}
.site-header .site-branding .rt-brand-mark {
	display: block;
	flex: 0 0 58px;
	width: 58px;
	height: 58px;
	max-width: none;
	max-height: none;
	padding: 0;
	object-fit: cover;
	object-position: left center;
	transition: width .25s ease, height .25s ease, flex-basis .25s ease;
}
.site-header.is-scrolled .site-branding .rt-brand-mark { flex-basis: 48px; width: 48px; height: 48px; max-height: none; }
.rt-brand-text { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.rt-brand-text strong {
	text-wrap: balance;
	font-family: var(--rt-font);
	font-size: 14px;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
	line-height: 1.2;
	color: #fff;
}
.rt-brand-text small {
	font-family: var(--rt-font);
	font-size: 12.5px;
	font-weight: 500;
	letter-spacing: .04em;
	line-height: 1.2;
	color: var(--rt-cyan);
}
.rt-brand:hover .rt-brand-text strong { color: #fff; }

@media only screen and (max-width: 950px) {
	.site-branding .rt-brand { max-width: calc(100% - 60px); gap: 11px; }
	.site-header .site-branding .rt-brand-mark { flex-basis: 46px; width: 46px; height: 46px; }
	.rt-brand-text strong { font-size: 11.5px; letter-spacing: .05em; }
	.rt-brand-text small { font-size: 11px; }
}
@media only screen and (max-width: 400px) {
	.rt-brand-text strong { font-size: 10.5px; letter-spacing: .03em; }
	.rt-brand-text small { font-size: 10px; }
}

/* ==========================================================================
   Mobile layout normalisation (About, Services and every WPBakery page)
   ========================================================================== */
@media (max-width: 767px) {
	/* One side gutter. Section padding + .container padding + column padding were
	   stacking to 45px (70px where a row carried an extra inline 40px). The column's
	   own 15px now sets the edge, matching the logo, page banner and footer. */
	.vc_section { padding-left: 0 !important; padding-right: 0 !important; }
	.vc_row.container { padding-left: 0 !important; padding-right: 0 !important; }

	/* Stacked columns need air between them (empty spacer columns are skipped) */
	.vc_row .vc_column_container:has(> .vc_column-inner > .wpb_wrapper > *):not(:last-child) { margin-bottom: 28px; }

	/* Rows that carry no spacing of their own (no WPBakery custom margin) still get a gap */
	.vc_row.container + .vc_row.container:not([class*="vc_custom_"]) { margin-top: 28px; }

	/* Image-card rows: same gap between rows as between the cards inside a row
	   (WPBakery's 60px desktop row margin made the rhythm uneven on phones) */
	.vc_row.container:has(.vc_col-sm-4 .wpb_single_image):not(:first-child) { margin-top: 28px !important; }

	/* Gallery tiles line up with the banner and filter bar (15px) */
	.portfolio-grid .item { padding: 8px 15px; }

	/* Headings: step down so they don't dominate a 375px screen */
	.wpb_text_column h1 { font-size: 26px; }
	.wpb_text_column h2 { font-size: 24px; }
	.wpb_text_column h3 { font-size: 20px; }
	h3.vc_custom_heading[style*="font-size: 24px"] { font-size: 21px !important; }
	h2.vc_custom_heading[style*="font-size: 30px"] { font-size: 26px !important; }

	/* Floating buttons: smaller, tucked into the corner, less text covered */
	.rt-fab { right: 12px; }
	.rt-fab-call { bottom: 14px; width: 46px; height: 46px; }
	.rt-fab-top { bottom: 68px; width: 40px; height: 40px; right: 15px; }
	.rt-fab-top i { font-size: 20px; }
}
