/* ==========================================================================
   Uniworld theme styles
   Uses logical properties (margin-inline, inset-inline…) so layouts flip
   automatically for Arabic / RTL.
   ========================================================================== */

/* ---------- Arabic font priority ---------- */
html[lang|="ar"],
html[dir="rtl"] {
	--wp--preset--font-family--body: 'IBM Plex Sans Arabic', 'DM Sans', sans-serif;
	--wp--preset--font-family--heading: 'IBM Plex Sans Arabic', Sora, sans-serif;
}

body { -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility; }
img { max-width: 100%; height: auto; }

.screen-reader-text:not(:focus) {
	border: 0; clip: rect(1px, 1px, 1px, 1px); clip-path: inset(50%);
	height: 1px; margin: -1px; overflow: hidden; padding: 0;
	position: absolute !important; width: 1px; word-wrap: normal !important;
}

/* ---------- Small text helpers ---------- */
.uw-eyebrow {
	font-size: 0.8125rem !important;
	font-weight: 600;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--wp--preset--color--teal);
	margin-block-end: 0.5rem !important;
}
.uw-eyebrow.is-light { color: var(--wp--preset--color--teal-light); }
html[dir="rtl"] .uw-eyebrow { letter-spacing: 0; }

.uw-more a { font-weight: 600; text-decoration: none; }
.uw-more a::after { content: " \2192"; display: inline-block; transition: transform .2s ease; }
.uw-more a:hover::after { transform: translateX(4px); }
html[dir="rtl"] .uw-more a::after { content: " \2190"; }
html[dir="rtl"] .uw-more a:hover::after { transform: translateX(-4px); }

/* ---------- Header ---------- */
.uw-site-header {
	position: sticky;
	top: 0;
	z-index: 100;
	background: var(--wp--preset--color--white);
	transition: box-shadow .25s ease;
}
body.admin-bar .uw-site-header { top: 32px; }
@media (max-width: 782px) { body.admin-bar .uw-site-header { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .uw-site-header { top: 0; } }

.uw-site-header.is-scrolled { box-shadow: 0 6px 24px rgba(15, 46, 74, .12); }
.uw-site-header .uw-topbar { transition: margin .25s ease; }
.uw-site-header.is-scrolled .uw-topbar { display: none; }
.uw-site-header .wp-block-site-logo img { transition: width .25s ease; }
.uw-site-header.is-scrolled .wp-block-site-logo img { width: 58px !important; }

.uw-topbar a { color: var(--wp--preset--color--white); font-weight: 600; text-decoration: none; }
.uw-topbar a:hover { color: var(--wp--preset--color--orange-soft); text-decoration: none; }

.uw-mainbar { border-block-end: 1px solid #E3ECF1; }

.wp-block-navigation .wp-block-navigation-item__content { padding-block: .5rem; }
.wp-block-navigation .wp-block-navigation-item__content:hover { color: var(--wp--preset--color--teal); }
.wp-block-navigation .current-menu-item > .wp-block-navigation-item__content,
.wp-block-navigation .wp-block-navigation-item__content[aria-current="page"] { color: var(--wp--preset--color--teal); font-weight: 600; }
.wp-block-navigation:not(.has-background) .wp-block-navigation__submenu-container {
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 10px;
	box-shadow: 0 12px 28px rgba(15, 46, 74, .12);
	padding: .4rem;
	min-width: 240px;
}
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content { padding: .55rem .8rem; border-radius: 6px; }
.wp-block-navigation .wp-block-navigation__submenu-container .wp-block-navigation-item__content:hover { background: var(--wp--preset--color--ice); }

/* ---------- Buttons ---------- */
.wp-element-button, .wp-block-button__link { transition: background-color .2s ease, transform .2s ease, box-shadow .2s ease; min-height: 44px; }
.wp-block-button__link:hover { transform: translateY(-1px); box-shadow: 0 6px 16px rgba(242, 140, 40, .28); }

.wp-block-button.is-style-outline-light .wp-block-button__link {
	background: transparent;
	color: var(--wp--preset--color--white);
	border: 1.5px solid rgba(255, 255, 255, .45);
}
.wp-block-button.is-style-outline-light .wp-block-button__link:hover { border-color: var(--wp--preset--color--white); box-shadow: none; }

.wp-block-button.is-style-navy .wp-block-button__link { background: var(--wp--preset--color--navy); color: var(--wp--preset--color--white); }
.wp-block-button.is-style-navy .wp-block-button__link:hover { background: var(--wp--preset--color--teal); box-shadow: none; }

/* ---------- Cards ---------- */
.is-style-uw-card {
	background: var(--wp--preset--color--white);
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 14px;
	overflow: hidden;
}
.uw-lift { transition: transform .25s ease, box-shadow .25s ease; }
.uw-lift:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15, 46, 74, .12); }
.uw-lift .wp-block-cover__image-background { transition: transform .5s ease; }
.uw-lift:hover .wp-block-cover__image-background { transform: scale(1.05); }

.uw-icon-box {
	width: 56px; height: 56px; border-radius: 12px;
	background: var(--wp--preset--color--mist);
	display: flex; align-items: center; justify-content: center;
}
.uw-icon-box img { width: 28px; height: 28px; }
.wp-block-image.uw-icon img { width: 40px; height: 40px; }

/* ---------- Image boxes (placeholders until you add an image) ---------- */
.uw-img-ph {
	border: 2px dashed #8DBFCF;
	border-radius: 12px;
	background-color: #E8F2F5;
	overflow: hidden;
}
.uw-img-ph .uw-ph-label { color: #2C5A70; font-size: .875rem; font-weight: 500; text-align: center; }
.uw-img-ph .uw-ph-label small, .uw-img-ph .uw-ph-label em { display: block; font-size: .75rem; font-weight: 400; font-style: normal; color: #4F7385; }
.uw-img-ph.is-dark { background-color: #18405F; border-color: #3E6A88; }
.uw-img-ph.is-dark .uw-ph-label { color: #CFE2EC; }
.uw-img-ph.is-dark .uw-ph-label small, .uw-img-ph.is-dark .uw-ph-label em { color: #A8C3D3; }
.uw-img-ph.is-flat { border-radius: 0; border-width: 0 0 2px 0; }
/* once an image is added the dashed frame and label disappear */
.uw-img-ph:has(.wp-block-cover__image-background),
.uw-img-ph:has(.wp-block-cover__video-background) { border-color: transparent; background-color: transparent; }
.uw-img-ph:has(.wp-block-cover__image-background) .uw-ph-label,
.uw-img-ph:has(.wp-block-cover__video-background) .uw-ph-label { display: none; }

/* ---------- Hero ---------- */
.uw-hero { padding-block-end: 150px !important; }
@media (max-width: 781px) { .uw-hero { padding-block-end: 90px !important; } }

/* ---------- Quote / Track card ---------- */
.uw-quote-card {
	position: relative;
	z-index: 2;
	margin-block-start: -100px !important;
	background: var(--wp--preset--color--white);
	border-radius: 16px;
	box-shadow: 0 18px 40px rgba(15, 46, 74, .14);
	overflow: hidden;
}
@media (max-width: 781px) { .uw-quote-card { margin-block-start: -60px !important; } }

.uw-tabs { gap: 0 !important; border-block-end: 1px solid var(--wp--preset--color--line); }
.uw-tabs .wp-block-button { flex: 1 1 0; margin: 0; }
.uw-tabs .wp-block-button__link {
	width: 100%;
	border-radius: 0;
	min-height: 60px;
	background: #EEF4F7;
	color: var(--wp--preset--color--muted);
	font-family: var(--wp--preset--font-family--heading);
	font-size: 1rem;
	box-shadow: none !important;
	transform: none !important;
}
.uw-tabs .wp-block-button__link:hover { background: var(--wp--preset--color--white); color: var(--wp--preset--color--navy); }
.uw-tabs .wp-block-button__link[aria-selected="true"],
.uw-tabs .wp-block-button:first-child .wp-block-button__link:not([aria-selected]) {
	background: var(--wp--preset--color--white);
	color: var(--wp--preset--color--navy);
	box-shadow: inset 0 -4px 0 var(--wp--preset--color--orange) !important;
}
.uw-tab-panel[hidden] { display: none !important; }

/* ---------- Quote form ---------- */
.uw-form { display: flex; flex-direction: column; gap: 1.1rem; }
.uw-form__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1rem; }
.uw-field { display: flex; flex-direction: column; gap: .35rem; min-width: 0; }
.uw-field--wide { grid-column: 1 / -1; }
.uw-field label { font-size: .8125rem; font-weight: 600; color: var(--wp--preset--color--navy); }
.uw-field label .req { color: #B3261E; }
.uw-field input, .uw-field select, .uw-field textarea {
	width: 100%;
	box-sizing: border-box;
	min-height: 46px;
	border: 1px solid #C9D6DE;
	border-radius: 8px;
	padding: .55rem .8rem;
	font: inherit;
	font-size: .95rem;
	color: var(--wp--preset--color--ink);
	background: var(--wp--preset--color--white);
}
.uw-field textarea { min-height: 96px; resize: vertical; }
.uw-field input:focus, .uw-field select:focus, .uw-field textarea:focus {
	outline: 2px solid var(--wp--preset--color--teal);
	outline-offset: 1px;
	border-color: var(--wp--preset--color--teal);
}
.uw-form__foot { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: .75rem; }
.uw-form__note { font-size: .8125rem; color: var(--wp--preset--color--muted); margin: 0; }
.uw-form button[type="submit"] { border: 0; cursor: pointer; }
.uw-hp { position: absolute !important; inset-inline-start: -9999px; width: 1px; height: 1px; overflow: hidden; }
.uw-notice { padding: .85rem 1rem; border-radius: 8px; font-weight: 500; }
.uw-notice--ok { background: #E6F4EA; color: #14532D; border: 1px solid #A7D7B5; }
.uw-notice--err { background: #FDECEA; color: #7F1D1D; border: 1px solid #F3B5AE; }

/* ---------- Counters ---------- */
.uw-count { font-variant-numeric: tabular-nums; }

/* ---------- Testimonials slider ---------- */
.uw-slider {
	display: flex !important;
	flex-wrap: nowrap !important;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	scrollbar-width: none;
	padding-block-end: .5rem;
}
.uw-slider::-webkit-scrollbar { display: none; }
.uw-slider > * { flex: 0 0 calc((100% - 2 * 1.5rem) / 3) !important; scroll-snap-align: start; margin: 0 !important; }
@media (max-width: 1000px) { .uw-slider > * { flex-basis: calc((100% - 1.5rem) / 2) !important; } }
@media (max-width: 640px) { .uw-slider > * { flex-basis: 88% !important; } }
.uw-slider-dots { display: flex; justify-content: center; gap: .5rem; margin-block-start: 1.25rem; }
.uw-slider-dots button {
	width: 12px; height: 12px; padding: 0; border-radius: 50%; border: 0; cursor: pointer;
	background: #B9CDD8; position: relative;
}
.uw-slider-dots button::before { content: ""; position: absolute; inset: -16px; } /* bigger tap target */
.uw-slider-dots button[aria-current="true"] { background: var(--wp--preset--color--orange); }

/* ---------- FAQ ---------- */
.wp-block-details { border-block-end: 1px solid var(--wp--preset--color--line); padding-block: 1.1rem; margin-block: 0 !important; }
.wp-block-details summary {
	cursor: pointer;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 600;
	font-size: 1.05rem;
	color: var(--wp--preset--color--navy);
	list-style: none;
	display: flex; justify-content: space-between; gap: 1rem;
}
.wp-block-details summary::-webkit-details-marker { display: none; }
.wp-block-details summary::after { content: "+"; color: var(--wp--preset--color--orange); font-size: 1.4rem; line-height: 1; }
.wp-block-details[open] summary::after { content: "\2212"; }
.wp-block-details > :not(summary) { color: var(--wp--preset--color--muted); margin-block-start: .6rem; }

.uw-resource-link { margin: 0 !important; }
.uw-resource-link a {
	display: flex; justify-content: space-between; align-items: center;
	padding: 1.1rem 1.25rem;
	border: 1px solid var(--wp--preset--color--line);
	border-radius: 12px;
	color: var(--wp--preset--color--navy);
	font-weight: 600;
	text-decoration: none;
	transition: border-color .2s ease, transform .2s ease;
}
.uw-resource-link a::after { content: "\2192"; color: var(--wp--preset--color--orange); }
html[dir="rtl"] .uw-resource-link a::after { content: "\2190"; }
.uw-resource-link a:hover { border-color: var(--wp--preset--color--teal); transform: translateY(-2px); text-decoration: none; }

/* ---------- Steps ---------- */
.uw-step-num {
	width: 44px; height: 44px; border-radius: 50%;
	background: var(--wp--preset--color--orange);
	color: var(--wp--preset--color--sky);
	display: flex !important; align-items: center; justify-content: center;
	font-family: var(--wp--preset--font-family--heading);
	font-weight: 700;
	margin: 0 !important;
}

/* ---------- Check list ---------- */
.uw-checklist { list-style: none; padding-inline-start: 0 !important; }
.uw-checklist li { position: relative; padding-inline-start: 1.75rem; margin-block-end: .5rem; }
.uw-checklist li::before {
	content: ""; position: absolute; inset-inline-start: 0; top: .45em;
	width: 1rem; height: 1rem; border-radius: 50%;
	background: var(--wp--preset--color--teal) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12l5 5 9-10'/%3E%3C/svg%3E") center / 70% no-repeat;
}

/* ---------- Footer ---------- */
.uw-footer a { color: #C8D8E2; text-decoration: none; }
.uw-footer a:hover { color: var(--wp--preset--color--white); text-decoration: none; }
.uw-footer .uw-footer-links { list-style: none; padding: 0 !important; margin: 0; }
.uw-footer .uw-footer-links li { margin-block-end: .45rem; }
.uw-footer-logo { background: none; border-radius: 0; padding: 0 !important; width: fit-content; }

/* ---------- Tables ---------- */
.wp-block-table table { border-collapse: collapse; width: 100%; font-size: .95rem; }
.wp-block-table th { background: var(--wp--preset--color--navy); color: #fff; text-align: start; }
.wp-block-table th, .wp-block-table td { padding: .7rem .8rem; border: 1px solid var(--wp--preset--color--line); }
.wp-block-table.is-style-stripes tbody tr:nth-child(odd) { background: var(--wp--preset--color--ice); }
.wp-block-table { overflow-x: auto; }

/* ---------- Posts ---------- */
.wp-block-post-featured-image img { border-radius: 12px; }

/* ---------- Floating WhatsApp ---------- */
.uw-wa-float {
	position: fixed;
	inset-inline-end: 20px;
	bottom: 20px;
	z-index: 999;
	width: 58px; height: 58px;
	border-radius: 50%;
	background: #25D366;
	display: flex; align-items: center; justify-content: center;
	box-shadow: 0 8px 24px rgba(0, 0, 0, .22);
	transition: transform .2s ease;
}
.uw-wa-float:hover { transform: scale(1.08); }
.uw-wa-float svg { width: 32px; height: 32px; fill: #fff; }

/* ---------- Scroll reveal (only when JS is running) ---------- */
html.uw-anim .uw-reveal:not(.is-visible) { opacity: 0; transform: translateY(28px); }
html.uw-anim .uw-reveal { transition: opacity .7s ease, transform .7s ease; }

@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
	html.uw-anim .uw-reveal:not(.is-visible) { opacity: 1; transform: none; }
}

/* ---------- Small screens ---------- */
@media (max-width: 781px) {
	.uw-topbar .uw-topbar-contact { display: none !important; }
	.uw-header-cta { display: none !important; }
}

/* archive banner: show "Latest News" only when there is no archive title */
.wp-block-query-title + .uw-blog-title { display: none; }

/* page banner: solid navy until a Featured Image is set */
.wp-block-cover:not(:has(.wp-block-cover__image-background)) > .wp-block-cover__background.has-navy-background-color { opacity: 1; }

/* footer spacing */
.uw-footer h3 { margin-block-end: .9rem; }

/* RTL: left-justified content groups should sit on the right */
html[dir="rtl"] .is-content-justification-left > :where(:not(.alignleft):not(.alignright):not(.alignfull)) { margin-left: auto !important; margin-right: 0 !important; }

/* =====================================================================
   v1.1 – Innovax-style sections
   ===================================================================== */

/* rounded image boxes with illustrations */
.uw-rounded, .uw-img-ph:has(.wp-block-cover__image-background) { border-radius: 18px; }
.uw-img-ph .wp-block-cover__image-background { transition: transform .6s ease; }

/* ---------- Hero v2 ---------- */
.uw-hero-v2 h1 { margin-block-end: 0 !important; }
.uw-rotator {
	font-family: var(--wp--preset--font-family--heading);
	font-size: var(--wp--preset--font-size--huge) !important;
	font-weight: 800;
	line-height: 1.12;
	color: var(--wp--preset--color--orange-soft);
	margin-block-start: .1em !important;
	min-height: 1.15em;
}
.uw-rot-word { display: inline-block; transition: opacity .35s ease, transform .35s ease; }
.uw-rot-word.is-out { opacity: 0; transform: translateY(14px); }
.uw-hero-points { gap: .5rem 1.5rem !important; margin-block-start: 1.5rem !important; }
.uw-hero-point { position: relative; padding-inline-start: 1.4rem; font-size: .9rem; margin: 0 !important; }
.uw-hero-point::before { content: ""; position: absolute; inset-inline-start: 0; top: .5em; width: .7rem; height: .7rem; border-radius: 50%; background: var(--wp--preset--color--orange); }
.uw-hero-media { border-radius: 22px; overflow: visible !important; border: 0 !important; }
.uw-hero-media .wp-block-cover__image-background { border-radius: 22px; }
.uw-hero-media .uw-hero-badge { position: absolute; inset-inline-start: -36px; bottom: -36px; margin: 0 !important; z-index: 3; filter: drop-shadow(0 10px 24px rgba(0,0,0,.25)); }
@media (max-width: 781px) { .uw-hero-media .uw-hero-badge { inset-inline-start: 12px; bottom: -28px; } .uw-hero-media .uw-hero-badge img { width: 110px !important; } }

/* ---------- Numbered features ---------- */
.uw-fcard { position: relative; transition: transform .3s ease, box-shadow .3s ease; }
.uw-fcard::before { content: ""; position: absolute; inset-inline-start: 0; top: 0; height: 4px; width: 0; background: var(--wp--preset--color--orange); transition: width .4s ease; }
.uw-fcard:hover { transform: translateY(-6px); box-shadow: 0 18px 40px rgba(15,46,74,.12); }
.uw-fcard:hover::before { width: 100%; }
.uw-num {
	font-family: var(--wp--preset--font-family--heading);
	font-size: 3.4rem !important; font-weight: 800; line-height: 1; margin: 0 !important;
	color: transparent; -webkit-text-stroke: 1.5px var(--wp--preset--color--teal-light);
	transition: color .3s ease;
}
.uw-fcard:hover .uw-num { color: var(--wp--preset--color--mist); }
.uw-fcard-top { align-items: flex-start !important; }

/* ---------- About: stacked images ---------- */
.uw-stack { position: relative; padding-block-end: 90px; padding-inline-end: 70px; }
.uw-stack > * { margin: 0 !important; }
.uw-stack .uw-stack-main { border-radius: 20px; }
.uw-stack .uw-stack-small {
	position: absolute !important; inset-inline-end: 0; bottom: 0; width: 56%;
	border: 8px solid #fff !important; border-radius: 20px; box-shadow: 0 18px 40px rgba(15,46,74,.18);
}
.uw-stack .uw-stack-badge { position: absolute; inset-inline-start: -28px; top: -28px; z-index: 2; filter: drop-shadow(0 10px 24px rgba(0,0,0,.2)); }
@media (max-width: 781px) {
	.uw-stack { padding-inline-end: 0; padding-block-end: 60px; }
	.uw-stack .uw-stack-badge { inset-inline-start: 8px; top: 8px; }
	.uw-stack .uw-stack-badge img { width: 100px !important; }
}
.uw-about-cta { gap: 1.25rem 2rem !important; margin-block-start: 1.75rem !important; }
.uw-call { gap: .8rem !important; }
.uw-call p { margin: 0; line-height: 1.35; }

/* ---------- Marquee ---------- */
.uw-marquee { overflow: hidden; }
.uw-marquee p {
	margin: 0; white-space: nowrap;
	font-family: var(--wp--preset--font-family--body); font-weight: 400; font-size: clamp(.9rem, 1.4vw, 1.05rem); letter-spacing: .03em;
}
.uw-mq-w { display: inline-block; }
.uw-mq-w0 { font-family: var(--wp--preset--font-family--heading); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; font-size: .82em; }
.uw-mq-w1 { font-weight: 300; font-size: 1.12em; letter-spacing: .02em; }
.uw-mq-w2 { font-family: var(--wp--preset--font-family--heading); font-weight: 300; letter-spacing: .24em; text-transform: uppercase; font-size: .78em; opacity: .92; }
.uw-mq-w3 { font-style: italic; font-weight: 500; font-size: 1.1em; }
.uw-mq-sep { display: inline-block; margin-inline: 1.3em; font-size: .7em; opacity: .55; vertical-align: .08em; }
.uw-mq-track { display: inline-flex; animation: uw-mq 38s linear infinite; }
.uw-mq-track > span { padding-inline-end: 0; }
.uw-marquee:hover .uw-mq-track { animation-play-state: paused; }
@keyframes uw-mq { from { transform: translateX(0); } to { transform: translateX(-50%); } }
html[dir="rtl"] .uw-mq-track { animation-name: uw-mq-rtl; }
@keyframes uw-mq-rtl { from { transform: translateX(0); } to { transform: translateX(50%); } }

/* ---------- Service image cards ---------- */
.uw-svc-card, .uw-proj-card { border: 0 !important; border-radius: 18px; overflow: hidden; position: relative; }
.uw-svc-card > .wp-block-cover__background, .uw-proj-card > .wp-block-cover__background {
	background: linear-gradient(to top, rgba(11,34,56,.95) 0%, rgba(11,34,56,.55) 45%, rgba(11,34,56,.05) 100%) !important;
	opacity: 1 !important;
}
.uw-svc-card .wp-block-cover__inner-container, .uw-proj-card .wp-block-cover__inner-container { position: static; }
.uw-svc-card .uw-ph-label, .uw-proj-card .uw-ph-label { display: none; }
.uw-svc-card:hover .wp-block-cover__image-background, .uw-proj-card:hover .wp-block-cover__image-background { transform: scale(1.07); }
.uw-svc-num { color: var(--wp--preset--color--orange-soft); font-family: var(--wp--preset--font-family--heading); font-weight: 700; margin: 0 !important; }
.uw-svc-card h3 { margin-block: .2rem .4rem !important; }
.uw-svc-card h3 a, .uw-proj-card h3 a { color: #fff; text-decoration: none; }
.uw-svc-card h3 a::after { content: ""; position: absolute; inset: 0; z-index: 2; }
.uw-svc-desc { max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s ease, opacity .4s ease; margin: 0 !important; }
.uw-svc-card:hover .uw-svc-desc, .uw-svc-card:focus-within .uw-svc-desc { max-height: 6em; opacity: 1; }
.uw-svc-card .uw-more { margin-block-start: .5rem !important; }
.uw-svc-card .uw-more a { color: var(--wp--preset--color--orange-soft); }
@media (hover: none) { .uw-svc-desc { max-height: none; opacity: 1; } }

.uw-tag {
	display: inline-block; background: var(--wp--preset--color--orange); color: var(--wp--preset--color--sky);
	font-size: .75rem !important; font-weight: 700; letter-spacing: .06em; text-transform: uppercase;
	padding: .3rem .75rem; border-radius: 99px; margin: 0 0 .6rem !important;
}

/* ---------- Team ---------- */
.uw-team-card { text-align: center; }
.uw-team-card .uw-team-photo { border-radius: 18px; transition: transform .3s ease; }
.uw-team-card:hover .uw-team-photo { transform: translateY(-6px); }
.uw-team-card h3 { margin-block: 1rem .2rem !important; }
.uw-team-card p { margin: 0 !important; font-weight: 600; font-size: .9rem; }

/* ---------- Contact band ---------- */
.uw-contact-band { position: relative; overflow: hidden; }
.uw-contact-band::before {
	content: ""; position: absolute; inset-inline-end: -120px; top: -120px; width: 420px; height: 420px; border-radius: 50%;
	background: radial-gradient(circle, rgba(30,127,156,.35), rgba(30,127,156,0) 70%); pointer-events: none;
}
.uw-citem { gap: .9rem !important; margin-block-start: 1rem !important; }
.uw-citem p { margin: 0; line-height: 1.4; }
.uw-citem .uw-icon-box { background: rgba(255,255,255,.08); }
.uw-form-card { background: #fff; border-radius: 18px; padding: clamp(1.25rem, 3vw, 2rem); box-shadow: 0 24px 50px rgba(0,0,0,.25); }

/* ---------- Newsletter ---------- */
.uw-newsletter { border-radius: 16px; gap: 1rem 2rem !important; }
.uw-newsletter h3 { margin: 0 0 .25rem !important; }
.uw-newsletter p { margin: 0; }
.uw-news-form { display: flex; flex-wrap: wrap; gap: .6rem; align-items: center; }
.uw-news-form input[type="email"] {
	min-width: 240px; min-height: 46px; border-radius: 8px; border: 1px solid #3E5D78;
	background: rgba(255,255,255,.06); color: #fff; padding: .5rem .9rem; font: inherit;
}
.uw-news-form input[type="email"]::placeholder { color: #A8C3D3; }
.uw-news-form button { border: 0; cursor: pointer; }
.uw-news-msg { flex-basis: 100%; font-size: .85rem; color: var(--wp--preset--color--orange-soft); }

/* ---------- Back to top ---------- */
.uw-top {
	position: fixed; inset-inline-start: 20px; bottom: 20px; z-index: 998;
	width: 46px; height: 46px; border-radius: 50%; border: 0; cursor: pointer;
	background: var(--wp--preset--color--navy); color: #fff;
	display: flex; align-items: center; justify-content: center;
	opacity: 0; transform: translateY(12px); pointer-events: none;
	transition: opacity .3s ease, transform .3s ease, background-color .2s ease;
	box-shadow: 0 8px 22px rgba(15,46,74,.3);
}
.uw-top svg { width: 22px; height: 22px; }
.uw-top.is-visible { opacity: 1; transform: none; pointer-events: auto; }
.uw-top:hover { background: var(--wp--preset--color--orange); color: var(--wp--preset--color--sky); }

/* icons float gently on card hover */
.uw-lift:hover .uw-icon-box, .uw-fcard:hover .uw-icon-box { background: #FDEBD9; }

/* v1.1 fixes */
.uw-hero-media > .wp-block-cover__inner-container { position: static; }
.uw-contact-band > * { position: relative; z-index: 1; }
.uw-svc-card > .wp-block-cover__background, .uw-proj-card > .wp-block-cover__background {
	background: linear-gradient(to top, rgba(11,34,56,.94) 0%, rgba(11,34,56,.5) 38%, rgba(11,34,56,0) 70%) !important;
}

/* =====================================================================
   v1.2 – logo circle, hero line, richer motion
   ===================================================================== */
.uw-site-header .wp-block-site-logo img,
.uw-footer-logo .wp-block-site-logo img {
	width: 76px !important; height: 76px !important; aspect-ratio: 1; object-fit: contain; box-sizing: border-box;
	padding: 12px 13px 19px; border-radius: 50%; background: #fff;
	border: 1px solid rgba(30, 127, 156, .28);
	box-shadow: 0 2px 10px rgba(15, 46, 74, .08);
	transition: width .25s ease, height .25s ease, transform .3s ease, box-shadow .3s ease;
}
.uw-site-header .wp-block-site-logo a:hover img { transform: rotate(-4deg) scale(1.05); box-shadow: 0 8px 26px rgba(30, 127, 156, .35); }
.uw-site-header.is-scrolled .wp-block-site-logo img { width: 60px !important; height: 60px !important; padding: 10px 10px 15px; }
.uw-footer-logo .wp-block-site-logo img { width: 100px !important; height: 100px !important; padding: 15px 16px 25px; border: 2px solid var(--wp--preset--color--teal-light); box-shadow: none; }
@media (max-width: 781px) {
	.uw-site-header .wp-block-site-logo img { width: 58px !important; height: 58px !important; }
}

.uw-rot-line { gap: .4em .55em !important; align-items: baseline; margin-block-start: .6rem !important; }
.uw-rot-prefix { color: var(--wp--preset--color--fog); font-size: var(--wp--preset--font-size--large) !important; margin: 0 !important; }
.uw-rot-line .uw-rotator { margin: 0 !important; font-size: var(--wp--preset--font-size--x-large, 2rem) !important; }
.uw-hero-v2 h1 { line-height: 1.12; }

/* hero entrance */
@keyframes uw-rise { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: none; } }
@keyframes uw-pan { from { object-position: 22% 50%; } to { object-position: 78% 50%; } }
@keyframes uw-float { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
@keyframes uw-glow { 0% { background-position: 0% 0%, 100% 100%; } 100% { background-position: 18% 14%, 82% 86%; } }
@keyframes uw-pulse { 0% { box-shadow: 0 0 0 0 rgba(196, 94, 18, .55); } 70%, 100% { box-shadow: 0 0 0 16px rgba(196, 94, 18, 0); } }
@keyframes uw-shine { from { transform: translateX(-130%) skewX(-20deg); } to { transform: translateX(230%) skewX(-20deg); } }
@keyframes uw-ringpulse { 0%, 100% { box-shadow: 0 2px 10px rgba(15, 46, 74, .08), 0 0 0 0 rgba(30, 127, 156, .22); } 50% { box-shadow: 0 2px 10px rgba(15, 46, 74, .08), 0 0 0 7px rgba(30, 127, 156, 0); } }

.uw-hero-v2 { position: relative; overflow: hidden; }
.uw-hero-v2::before {
	content: ""; position: absolute; inset: 0; pointer-events: none; opacity: .9;
	background-image: radial-gradient(520px 360px at 12% 18%, rgba(30, 127, 156, .38), transparent 70%), radial-gradient(520px 380px at 88% 82%, rgba(124, 196, 216, .20), transparent 70%);
	background-repeat: no-repeat; background-size: 100% 100%, 100% 100%;
}
.uw-hero-v2 > * { position: relative; z-index: 1; }

@media (prefers-reduced-motion: no-preference) {
	.uw-hero-v2::before { animation: uw-glow 14s ease-in-out infinite alternate; background-size: 140% 140%, 140% 140%; }
	.uw-hero-v2 .wp-block-column:first-child > * { animation: uw-rise .8s cubic-bezier(.2, .7, .2, 1) both; }
	.uw-hero-v2 .wp-block-column:first-child > :nth-child(1) { animation-delay: .05s; }
	.uw-hero-v2 .wp-block-column:first-child > :nth-child(2) { animation-delay: .18s; }
	.uw-hero-v2 .wp-block-column:first-child > :nth-child(3) { animation-delay: .32s; }
	.uw-hero-v2 .wp-block-column:first-child > :nth-child(4) { animation-delay: .46s; }
	.uw-hero-v2 .wp-block-column:first-child > :nth-child(5) { animation-delay: .6s; }
	.uw-hero-v2 .wp-block-column:first-child > :nth-child(6) { animation-delay: .74s; }
	.uw-hero-v2 .wp-block-column:last-child { animation: uw-rise 1s .25s cubic-bezier(.2, .7, .2, 1) both; }
	.uw-hero-media .wp-block-cover__image-background { animation: uw-pan 24s ease-in-out infinite alternate; }
	.uw-hero-media .uw-hero-badge { animation: uw-float 5.5s ease-in-out infinite; }
	.uw-hero-v2 .wp-block-button:first-child .wp-block-button__link { animation: uw-pulse 2.8s ease-out infinite; }
	.uw-site-header .wp-block-site-logo img { animation: uw-ringpulse 4.5s ease-in-out infinite; }
	.uw-stack .uw-stack-badge { animation: uw-float 6.5s ease-in-out infinite; }
	.uw-stack-main, .uw-stack-small { transition: transform .5s ease; }
	.uw-stack:hover .uw-stack-main { transform: translateY(-6px); }
	.uw-stack:hover .uw-stack-small { transform: translateY(6px) rotate(-1.5deg); }
	.uw-svc-card { transition: transform .35s ease, box-shadow .35s ease; }
	.uw-svc-card:hover, .uw-proj-card:hover { transform: translateY(-8px); box-shadow: 0 22px 44px rgba(15, 46, 74, .28); }
	.uw-proj-card { transition: transform .35s ease, box-shadow .35s ease; }
	.uw-icon-box img { transition: transform .4s ease; }
	.uw-fcard:hover .uw-icon-box img { transform: scale(1.18) rotate(-6deg); }
	.uw-reveal { transition-duration: .9s; }
	.uw-anim .wp-block-columns > .wp-block-column:nth-child(2) .uw-reveal, .uw-anim .wp-block-columns > .wp-block-column:nth-child(2).uw-reveal { transition-delay: .12s; }
	.uw-anim .wp-block-columns > .wp-block-column:nth-child(3) .uw-reveal, .uw-anim .wp-block-columns > .wp-block-column:nth-child(3).uw-reveal { transition-delay: .24s; }
}

/* button shine */
.wp-block-button__link { position: relative; overflow: hidden; }
.wp-block-button__link::after {
	content: ""; position: absolute; top: 0; bottom: 0; width: 38%; left: 0;
	background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .38), transparent);
	transform: translateX(-130%) skewX(-20deg); pointer-events: none;
}
@media (prefers-reduced-motion: no-preference) { .wp-block-button__link:hover::after { animation: uw-shine .8s ease; } }

/* scroll progress bar */
.uw-progress { position: fixed; top: 0; inset-inline: 0; height: 4px; z-index: 100000; pointer-events: none; }
.uw-progress span { display: block; height: 100%; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--wp--preset--color--teal), var(--wp--preset--color--teal-light), var(--wp--preset--color--orange-soft)); }
html[dir="rtl"] .uw-progress span { transform-origin: 100% 50%; }
.wp-site-blocks > * + * { margin-block-start: 0; }
.uw-rotator, .uw-rot-word { text-transform: capitalize; }
h1.uw-eyebrow, h2.uw-eyebrow { font-size: .8rem !important; line-height: 1.5; font-weight: 600; font-family: var(--wp--preset--font-family--body); margin-block-end: .6rem; }
.uw-hero-v2 h1, .uw-hero-v2 h2 { line-height: 1.12; }
.uw-hero-h1 { margin: 0 0 .15em !important; letter-spacing: -.01em; line-height: 1.05 !important; }
.uw-hero-h2 { margin: 0 0 .35em !important; font-weight: 600; line-height: 1.2 !important; }

/* social icons + memberships */
.uw-social { list-style: none; display: flex; gap: .5rem; margin: 0; padding: 0; align-items: center; }
.uw-social li { margin: 0; }
.uw-social a {
	display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; border-radius: 50%;
	color: var(--wp--preset--color--fog); border: 1px solid rgba(200, 216, 226, .35); text-decoration: none;
	transition: background .25s ease, color .25s ease, border-color .25s ease, transform .25s ease;
}
.uw-social a svg { width: 15px; height: 15px; display: block; }
.uw-social a:hover, .uw-social a:focus-visible { background: var(--wp--preset--color--teal-light); border-color: var(--wp--preset--color--teal-light); color: var(--wp--preset--color--navy-deep); transform: translateY(-2px); }
.uw-footer .uw-social a, .wp-block-template-part .has-navy-deep-background-color .uw-social a { width: 36px; height: 36px; }
.uw-footer .uw-social a svg { width: 17px; height: 17px; }
.uw-topbar .uw-social { margin-inline-end: .35rem; }
.uw-members { display: flex; flex-wrap: wrap; align-items: center; gap: .5rem; margin: .6rem 0 0 !important; }
.uw-members-label { font-size: .78rem; letter-spacing: .1em; text-transform: uppercase; color: var(--wp--preset--color--fog); opacity: .85; margin-inline-end: .2rem; }
.uw-chip {
	display: inline-block; padding: .22rem .75rem; border: 1px solid rgba(124, 196, 216, .55); border-radius: 999px;
	color: var(--wp--preset--color--teal-light); font-weight: 600; font-size: .8rem; letter-spacing: .08em; text-decoration: none;
	transition: background .25s ease, color .25s ease;
}
.uw-chip:hover { background: var(--wp--preset--color--teal-light); color: var(--wp--preset--color--navy-deep); }
.uw-topbar a[href^="tel:"], .uw-topbar a[href^="mailto:"] { color: inherit; text-decoration: none; }
.uw-topbar a[href^="tel:"]:hover, .uw-topbar a[href^="mailto:"]:hover { color: var(--wp--preset--color--teal-light); }
@media (max-width: 781px) { .uw-topbar .uw-social { display: none; } }
.has-navy-background-color a[href^="tel:"], .has-navy-background-color a[href^="mailto:"],
.has-navy-deep-background-color a[href^="tel:"], .has-navy-deep-background-color a[href^="mailto:"] { color: inherit; text-decoration: none; }
.has-navy-background-color a[href^="tel:"]:hover, .has-navy-background-color a[href^="mailto:"]:hover,
.has-navy-deep-background-color a[href^="tel:"]:hover, .has-navy-deep-background-color a[href^="mailto:"]:hover { color: var(--wp--preset--color--teal-light); }

/* v1.3 – circle on the link, logo fills it (no clipping of the Arabic line) */
.uw-site-header .wp-block-site-logo a, .uw-footer-logo .wp-block-site-logo a {
	display: flex; align-items: center; justify-content: center; box-sizing: border-box;
	width: 76px; height: 76px; border-radius: 50%; background: #fff; line-height: 0;
	border: 1px solid rgba(30, 127, 156, .28); box-shadow: 0 2px 10px rgba(15, 46, 74, .08);
	transition: width .25s ease, height .25s ease, transform .3s ease, box-shadow .3s ease;
}
.uw-site-header .wp-block-site-logo img, .uw-footer-logo .wp-block-site-logo img {
	width: 60px !important; height: auto !important; aspect-ratio: auto; padding: 0 !important; border: 0 !important;
	border-radius: 0 !important; background: none !important; box-shadow: none !important; animation: none !important; transform: none !important;
	margin-top: -2px;
}
.uw-site-header .wp-block-site-logo a:hover { transform: rotate(-3deg) scale(1.05); box-shadow: 0 8px 26px rgba(30, 127, 156, .3); }
.uw-site-header.is-scrolled .wp-block-site-logo a { width: 60px; height: 60px; }
.uw-site-header.is-scrolled .wp-block-site-logo img { width: 47px !important; }
.uw-footer-logo .wp-block-site-logo a { width: 100px; height: 100px; border: 2px solid var(--wp--preset--color--teal-light); box-shadow: none; }
.uw-footer-logo .wp-block-site-logo img { width: 80px !important; }
@media (max-width: 781px) {
	.uw-site-header .wp-block-site-logo a { width: 62px; height: 62px; }
	.uw-site-header .wp-block-site-logo img { width: 49px !important; }
}
@media (prefers-reduced-motion: no-preference) { .uw-site-header .wp-block-site-logo a { animation: uw-ringpulse 4.5s ease-in-out infinite; } }
.is-style-uw-card .uw-members-label { color: var(--wp--preset--color--muted); }
.is-style-uw-card .uw-chip { color: var(--wp--preset--color--teal); border-color: rgba(30, 127, 156, .45); }
.is-style-uw-card .uw-chip:hover { background: var(--wp--preset--color--teal); color: #fff; }
