/*
Theme Name: Takamul (Hello Elementor Child)
Description: Child theme for takamulasabi.com. Design lives in Elementor Site Settings; only CSS Elementor cannot do goes here.
Author: Takamul
Template: hello-elementor
Version: 1.0.30
Text Domain: hello-elementor-child
*/

/* HFE Navigation Menu, full-width mobile dropdown in RTL.
   HFE measures the dropdown's offset before it has a `left` value; in RTL the box then sits at its
   right-aligned static position and the menu opens shifted off-screen. Giving it a left:0 baseline
   makes HFE's own calculation land correctly. No Elementor control for this. */
.rtl .hfe-nav-menu nav.hfe-dropdown {
	left: 0;
}

/* HFE Navigation Menu, desktop dropdown corners.
   HFE's own frontend.css forces `overflow: visible !important` on the first/last dropdown items, so the
   Elementor "Dropdown > Border Radius" setting cannot clip the item hover/active background and its square
   corners stick out. The links inherit the radius HFE already puts on those items, so the value stays
   controlled from Elementor. */
nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) .sub-menu > li:first-child > a,
nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) .sub-menu > li:last-child > a {
	border-radius: inherit;
}

/* HFE submenu arrow in RTL: its margin is on the wrong side, so the arrow touches the item text. */
.rtl nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) .sub-arrow {
	margin-left: 0;
	margin-right: 6px;
}

/* Keyboard focus ring (Elementor has no control for this). Replaces the theme's square black outline;
   the outline follows each element's own border-radius. */
a:focus-visible,
button:focus-visible,
[role="button"]:focus-visible,
[tabindex]:not([tabindex="-1"]):focus-visible {
	outline: 2px solid var(--e-global-color-primary);
	outline-offset: 3px;
}

/* HFE desktop dropdown in RTL: HFE pins it with left:0, so it hangs off the item's left edge and overlaps
   the neighbouring item. In RTL it should line up with the item's right edge. */
.rtl nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) .hfe-has-submenu > .sub-menu {
	left: auto;
	right: 0;
}

/* Site Logo widget: the logo <img> is inline, which leaves a baseline gap under it and pushes it ~3px off
   vertical centre in the header. */
.hfe-site-logo-img {
	vertical-align: middle;
}

/* ===== Buttons: circled arrow icon (Qawam-style), all colours from Elementor globals =====
   Elementor's Button widget has no style controls for the icon itself (no background/shape), so the
   icon gets a solid circle here. Use the Font Awesome "arrow-left" icon (Arabic) / "arrow-right" (English);
   it is tilted 45deg into a diagonal arrow and straightens on hover.
   Colour variants are picked with the widget's Advanced > CSS Classes field:
     (none)                 Primary button          -> white circle, Primary arrow
     tk-btn-light           White button on dark     -> Dark circle, white arrow
     tk-btn-secondary       Secondary (clay) button  -> white circle, Secondary arrow
     tk-btn-outline         Outline in Primary       -> Primary circle, white arrow
     tk-btn-outline-light   Outline in white on dark -> white circle, Dark arrow */
/* "Nested pill": 52px button, 40px circle inset 6px on all sides so the circle echoes the pill shape. */
body .elementor-button:has(.elementor-button-icon) {
	display: inline-flex;
	align-items: center;
	min-height: 52px;
	padding-block: 0;
	padding-inline-start: 26px;
	padding-inline-end: 6px;
	transition: background-color .3s ease, color .3s ease, border-color .3s ease, box-shadow .3s ease;
}
body .elementor-button:has(.elementor-button-icon):hover {
	box-shadow: 0 10px 24px rgba(35, 40, 74, .18);
}
body .elementor-button:has(.elementor-button-icon) .elementor-button-content-wrapper {
	align-items: center;
	gap: 14px;
}
body .elementor-button:has(.elementor-button-icon) .elementor-button-text {
	line-height: 1.25;
}
.elementor-button .elementor-button-icon {
	--tk-ic-bg: var(--e-global-color-tkwhite);
	--tk-ic-fg: var(--e-global-color-primary);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: var(--tk-ic-bg);
	transition: background-color .3s ease;
}
.elementor-button .elementor-button-icon svg {
	width: 14px;
	height: 14px;
	fill: var(--tk-ic-fg);
	transition: transform .3s ease, fill .3s ease;
}
/* Only arrow icons are tilted; other icons (e.g. Instagram) stay upright. */
.rtl .elementor-button .elementor-button-icon svg[class*="-arrow-"] { transform: rotate(45deg); }
body:not(.rtl) .elementor-button .elementor-button-icon svg[class*="-arrow-"] { transform: rotate(-45deg); }
/* "body" prefix: must match the LTR rule's specificity (body:not(.rtl) …), otherwise the arrow never straightens in English. */
body .elementor-button:hover .elementor-button-icon svg[class*="-arrow-"],
body .elementor-button:focus-visible .elementor-button-icon svg[class*="-arrow-"] { transform: rotate(0deg); }

.elementor-button:hover .elementor-button-icon { --tk-ic-fg: var(--e-global-color-tkdark); }

.tk-btn-light .elementor-button .elementor-button-icon { --tk-ic-bg: var(--e-global-color-tkdark); --tk-ic-fg: var(--e-global-color-tkwhite); }
.tk-btn-light .elementor-button:hover .elementor-button-icon { --tk-ic-bg: var(--e-global-color-tkwhite); --tk-ic-fg: var(--e-global-color-secondary); }

.tk-btn-secondary .elementor-button .elementor-button-icon { --tk-ic-bg: var(--e-global-color-tkwhite); --tk-ic-fg: var(--e-global-color-secondary); }
.tk-btn-secondary .elementor-button:hover .elementor-button-icon { --tk-ic-bg: var(--e-global-color-tkdark); --tk-ic-fg: var(--e-global-color-tkwhite); }

.tk-btn-outline .elementor-button .elementor-button-icon { --tk-ic-bg: var(--e-global-color-primary); --tk-ic-fg: var(--e-global-color-tkwhite); }
.tk-btn-outline .elementor-button:hover .elementor-button-icon { --tk-ic-bg: var(--e-global-color-tkwhite); --tk-ic-fg: var(--e-global-color-primary); }

.tk-btn-outline-light .elementor-button .elementor-button-icon { --tk-ic-bg: var(--e-global-color-tkwhite); --tk-ic-fg: var(--e-global-color-tkdark); }
.tk-btn-outline-light .elementor-button:hover .elementor-button-icon { --tk-ic-bg: var(--e-global-color-tkdark); --tk-ic-fg: var(--e-global-color-tkwhite); }

/* Button icon arrow: Elementor recolours the icon SVG to the button's hover text colour with a very specific
   per-widget selector, which made the arrow the same colour as its circle (invisible) on hover. */
.elementor-button .elementor-button-icon svg {
	fill: var(--tk-ic-fg) !important;
}

/* ===== Header: sticky glass bar (Elementor free has no sticky option) ===== */
.ehf-header #masthead {
	position: sticky;
	top: var(--wp-admin--admin-bar--height, 0px);
	z-index: 999;
}
/* Add the CSS class "tk-glass" to a container: frosted see-through background (needs a semi-transparent bg colour). */
.tk-glass {
	-webkit-backdrop-filter: blur(16px) saturate(160%);
	backdrop-filter: blur(16px) saturate(160%);
}
/* Add "tk-nav" to the container around the HFE menu: menu items become pills inside the capsule. */
.tk-nav nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) > ul > li > a.hfe-menu-item,
.tk-nav nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) > ul > li > .hfe-has-submenu-container > a.hfe-menu-item {
	border-radius: 50px;
	transition: background-color .25s ease, color .25s ease, box-shadow .25s ease;
}
.tk-nav nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) > ul > li.current-menu-item > a.hfe-menu-item,
.tk-nav nav.hfe-nav-menu__layout-horizontal:not(.hfe-dropdown) > ul > li.current-menu-ancestor > .hfe-has-submenu-container > a.hfe-menu-item {
	box-shadow: 0 2px 10px rgba(35, 40, 74, .10);
}

/* ===== Signature touches ===== */
/* "tk-breathe": slow inhale/exhale scale (8s cycle), used on the hero orb. Respects reduced-motion. */
@keyframes tk-breathe {
	0%, 100% { transform: scale(.95); }
	50% { transform: scale(1.04); }
}
.tk-breathe { animation: tk-breathe 8s ease-in-out infinite; }
/* "tk-breathe-dot": the small breathing cue dot (on an Icon List widget). */
.tk-breathe-dot .elementor-icon-list-icon svg { animation: tk-breathe 8s ease-in-out infinite; }
@media (prefers-reduced-motion: reduce) {
	.tk-breathe, .tk-breathe-dot .elementor-icon-list-icon svg { animation: none; }
}
/* Highlight part of a heading: wrap the words in <span class="tk-accent"> in the Heading text. */
.tk-accent { color: var(--e-global-color-secondary); }

/* Menu capsule on tablet/phone: HFE hides the desktop menu with visibility:hidden + height:0 but leaves its
   full width in the layout, so the capsule (sized to its content) stretched off-screen. While the menu is
   closed it takes no width; when opened HFE adds .menu-is-active and positions the full-width dropdown itself.
   !important because after the first open/close HFE leaves an inline style="width:auto" on the nav. */
@media (max-width: 1024px) {
	.tk-nav .hfe-nav-menu__breakpoint-tablet nav.hfe-nav-menu__layout-horizontal:not(.menu-is-active) {
		width: 0 !important;
		overflow: hidden;
	}
}

/* Desktop menu capsule: always one row. HFE can leave inline width/left on the nav after the mobile
   dropdown was used (and its ul allows wrapping), which pushed «تواصل معنا» onto a second line. */
@media (min-width: 1025px) {
	.tk-nav nav.hfe-nav-menu__layout-horizontal {
		width: auto !important;
		left: auto !important;
	}
	.tk-nav ul.hfe-nav-menu {
		flex-wrap: nowrap;
	}
	.tk-nav .menu-item a.hfe-menu-item {
		white-space: nowrap;
	}
}

/* Language switcher (header): a segmented "AR | EN" toggle. The widget has colour controls for the
   active item but no background, so the active pill and the hover tint live here. */
/* The plugin prints its own stylesheet inside <body>, after the header is drawn, so for a moment the
   switcher showed as a vertical bulleted list. Its base layout is repeated here (this file loads in <head>). */
.tk-lang .cpel-switcher__nav {
	display: block;
}
.tk-lang .cpel-switcher__list {
	display: flex;
	flex-direction: row;
	align-items: center;
	gap: 2px;
	list-style: none;
	margin: 0;
	padding: 0;
	line-height: normal;
}
.tk-lang .cpel-switcher__nav a {
	text-decoration: none;
	white-space: nowrap;
}
.tk-lang .cpel-switcher__lang a {
	display: block;
	border-radius: 50px;
	line-height: 1;
	letter-spacing: 0.04em;
	transition: background-color 0.25s ease, color 0.25s ease;
}
/* The widget's hover colour (ink) also hits the active item, which made «AR» vanish on its ink pill:
   keep the active label white in every state, and show it isn't a link to click. */
body .tk-lang .cpel-switcher__lang--active a,
body .tk-lang .cpel-switcher__lang--active a:hover,
body .tk-lang .cpel-switcher__lang--active a:focus {
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-tkwhite) !important; /* beats the widget's per-element hover rule */
	cursor: default;
}
.tk-lang .cpel-switcher__lang:not(.cpel-switcher__lang--active) a:hover {
	background-color: var(--e-global-color-tklight);
}

/* Contact Form 7 (contact page). CF7 has no Elementor style controls, so the fields are styled here
   with the site's global colours. */
.tk-form {
	display: flex;
	flex-direction: column;
	gap: 18px;
}
.tk-form__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 18px;
}
.tk-form__field {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin: 0;
}
.tk-form__label {
	font-size: 14px;
	font-weight: 600;
	color: var(--e-global-color-tkheading);
}
.tk-form__label small {
	font-weight: 400;
	color: var(--e-global-color-text);
}
.tk-form .wpcf7-form-control-wrap {
	display: block;
}
.tk-form input[type="text"],
.tk-form input[type="tel"],
.tk-form input[type="email"],
.tk-form select,
.tk-form textarea {
	width: 100%;
	box-sizing: border-box;
	padding: 14px 16px;
	border: 1px solid var(--e-global-color-tkborder);
	border-radius: 14px;
	background-color: var(--e-global-color-v2paper);
	color: var(--e-global-color-tkheading);
	font-family: inherit;
	font-size: 15px;
	line-height: 1.5;
	transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}
.tk-form textarea {
	min-height: 120px;
	resize: vertical;
}
/* Phone and email are typed left to right even on the Arabic page (kept right-aligned there). */
.tk-form input[type="tel"],
.tk-form input[type="email"] {
	direction: ltr;
}
[dir="rtl"] .tk-form input[type="tel"],
[dir="rtl"] .tk-form input[type="email"] {
	text-align: right;
}
.tk-form input::placeholder,
.tk-form textarea::placeholder {
	color: var(--e-global-color-text);
	opacity: 0.6;
}
.tk-form input:focus,
.tk-form select:focus,
.tk-form textarea:focus {
	outline: none;
	border-color: var(--e-global-color-secondary);
	background-color: var(--e-global-color-tkwhite);
	box-shadow: 0 0 0 3px rgba(185, 138, 91, 0.18);
}
.tk-form__note {
	margin: 0;
	font-size: 13px;
	color: var(--e-global-color-text);
}
.wpcf7 .tk-form .tk-form__submit { /* .wpcf7 prefix: must outrank the Kit's input[type=submit] button rules */
	align-self: flex-start;
	min-height: 52px;
	padding: 0 32px;
	border: 0;
	border-radius: 50px;
	background-color: var(--e-global-color-primary);
	color: var(--e-global-color-tkwhite);
	font-family: inherit;
	font-size: 15px;
	font-weight: 600;
	cursor: pointer;
	transition: background-color 0.25s ease, color 0.25s ease;
}
.wpcf7 .tk-form .tk-form__submit:hover,
.wpcf7 .tk-form .tk-form__submit:focus,
.wpcf7 .tk-form .tk-form__submit:focus-visible {
	background-color: var(--e-global-color-secondary);
	color: var(--e-global-color-tkdark);
}
.tk-form .wpcf7-spinner {
	margin: 0 12px;
}
.tk-form .wpcf7-form-control.wpcf7-not-valid {
	border-color: #A4493D;
}
.wpcf7 .wpcf7-not-valid-tip {
	margin-top: 6px;
	font-size: 13px;
	color: #A4493D;
}
.wpcf7 form .wpcf7-response-output {
	margin: 18px 0 0;
	padding: 14px 18px;
	border-radius: 14px;
	font-size: 14px;
}
@media (max-width: 767px) {
	.tk-form__row {
		grid-template-columns: 1fr;
	}
	.wpcf7 .tk-form .tk-form__submit {
		align-self: stretch;
	}
}

/* Tablet/phone header: logo in the exact centre. The menu button (moved to the start with Elementor's
   order setting) and the language switcher have different widths, so space-between alone would push the
   logo off-centre; it is taken out of the row and centred on the bar instead. */
@media (max-width: 1024px) {
	.ehf-header .tk-logo {
		position: absolute;
		left: 50%;
		top: 50%;
		transform: translate(-50%, -50%);
		z-index: 2;
	}
}

/* Footer on phones: smaller text. The footer widgets use the site-wide typography globals, so their mobile
   size is reduced here (changing the globals would shrink text on every page). Scoped to #colophon:
   "ehf-footer" is also a <body> class, so it must not be used as the footer selector. */
@media (max-width: 767px) {
	#colophon .elementor-widget-text-editor,
	#colophon .elementor-widget-text-editor p,
	#colophon .elementor-icon-list-text,
	#colophon .hfe-copyright-wrapper,
	#colophon .hfe-copyright-wrapper a {
		font-size: 13px !important;
		line-height: 1.6 !important;
	}
	#colophon .elementor-heading-title {
		font-size: 15px !important;
	}
}

/* ==========================================================================
   Motion + design-variant helpers (opt-in via CSS classes; tk-motion.js adds "is-in" / --p).
   Everything is visible without JS, in the editor and with reduced motion.
   ========================================================================== */

/* "B" tag on trial sections, shown to logged-in users only. Remove the class once a version is chosen. */
body.logged-in .tk-variant { outline: 2px dashed rgba(185, 138, 91, .55); outline-offset: -8px; }
body.logged-in .tk-variant::before {
	content: "B"; position: absolute; top: 14px; inset-inline-end: 14px; z-index: 5;
	width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center;
	font: 700 13px/1 sans-serif; color: #fff; background: var(--e-global-color-secondary);
}

/* Soft reveal: short rise + fade, once. */
.tk-js .tk-reveal,
.tk-js .tk-stagger > *,
.tk-js .tk-stagger > .e-con-inner > * {
	opacity: 0; transform: translateY(18px);
	transition: opacity .9s ease, transform .9s cubic-bezier(.2, .7, .2, 1);
}
.tk-js .tk-reveal.is-in,
.tk-js .tk-stagger.is-in > *,
.tk-js .tk-stagger.is-in > .e-con-inner > * { opacity: 1; transform: none; }
.tk-stagger > :nth-child(2), .tk-stagger > .e-con-inner > :nth-child(2) { transition-delay: .08s; }
.tk-stagger > :nth-child(3), .tk-stagger > .e-con-inner > :nth-child(3) { transition-delay: .16s; }
.tk-stagger > :nth-child(4), .tk-stagger > .e-con-inner > :nth-child(4) { transition-delay: .24s; }
.tk-stagger > :nth-child(5), .tk-stagger > .e-con-inner > :nth-child(5) { transition-delay: .32s; }
.tk-stagger > :nth-child(6), .tk-stagger > .e-con-inner > :nth-child(6) { transition-delay: .40s; }

/* The signal (inline SVG in an HTML widget): tangled lines draw in, settle into one calm line, the tan dot lands. */
.tk-signal { display: block; width: 100%; height: auto; aspect-ratio: 5 / 1; overflow: visible; }
body:not(.rtl) .tk-signal { transform: scaleX(-1); }
/* vector-effect off: "non-scaling-stroke" breaks pathLength-based dashes (the line stopped short of the dot).
   Stroke widths are set per screen size instead, since the drawing now scales with its width. */
.tk-signal path { stroke-dasharray: 1; stroke-dashoffset: 0; vector-effect: none; }
.tk-signal__soft { stroke-width: 1.1; }
.tk-signal__main { stroke-width: 2.2; }
@media (max-width: 1024px) { .tk-signal__soft { stroke-width: 1.6; } .tk-signal__main { stroke-width: 3.2; } }
@media (max-width: 767px)  { .tk-signal__soft { stroke-width: 2.8; } .tk-signal__main { stroke-width: 5.4; } }
.tk-signal__dot { fill: var(--e-global-color-secondary); transform-box: fill-box; transform-origin: center; }
.tk-signal__halo { fill: var(--e-global-color-secondary); opacity: 0; transform-box: fill-box; transform-origin: center; }
/* Looping draw (10s): lines draw in and settle → dot lands and pulses → soft fade → again.
   Runs only while on screen (.is-visible from tk-motion.js); without JS / reduced motion it is shown fully drawn. */
.tk-js .tk-draw.is-in.is-visible .tk-signal__soft { animation: tk-draw-soft 10s cubic-bezier(.55, .05, .3, 1) infinite; animation-delay: calc(var(--i, 0) * 90ms); }
.tk-js .tk-draw.is-in.is-visible .tk-signal__main { animation: tk-draw-main 10s cubic-bezier(.55, .05, .3, 1) infinite; }
.tk-js .tk-draw.is-in.is-visible .tk-signal__dot  { animation: tk-dot 10s ease infinite; }
.tk-js .tk-draw.is-in.is-visible .tk-signal__halo { animation: tk-halo 10s ease-out infinite; }
.tk-js .tk-draw.is-in:not(.is-visible) .tk-signal * { animation-play-state: paused; }
.tk-js .tk-draw:not(.is-in) .tk-signal path { stroke-dashoffset: 1; }
.tk-js .tk-draw:not(.is-in) .tk-signal__dot { transform: scale(0); }
@keyframes tk-draw-soft {
	0% { stroke-dashoffset: 1; opacity: 1; } 26% { stroke-dashoffset: 0; } 78% { stroke-dashoffset: 0; opacity: 1; }
	90% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes tk-draw-main {
	0%, 4% { stroke-dashoffset: 1; opacity: 1; } 32% { stroke-dashoffset: 0; } 80% { stroke-dashoffset: 0; opacity: 1; }
	90% { stroke-dashoffset: 0; opacity: 0; } 100% { stroke-dashoffset: 1; opacity: 0; }
}
@keyframes tk-dot {
	0%, 31% { transform: scale(0); opacity: 1; } 35% { transform: scale(1.25); } 39%, 80% { transform: scale(1); opacity: 1; }
	90%, 100% { transform: scale(1); opacity: 0; }
}
@keyframes tk-halo {
	0%, 38% { transform: scale(.6); opacity: 0; } 40% { transform: scale(.6); opacity: .35; } 52% { transform: scale(1.8); opacity: 0; }
	56% { transform: scale(.6); opacity: .35; } 68% { transform: scale(1.8); opacity: 0; } 100% { opacity: 0; }
}

/* tk-draw-once: same drawing, played a single time when it first scrolls into view (no loop). */
.tk-js .tk-draw.tk-draw-once.is-in .tk-signal .tk-signal__soft { animation: tk-once-line 2.4s cubic-bezier(.55, .05, .3, 1) both; animation-delay: calc(var(--i, 0) * 90ms); }
.tk-js .tk-draw.tk-draw-once.is-in .tk-signal .tk-signal__main { animation: tk-once-line 2.8s cubic-bezier(.55, .05, .3, 1) .2s both; }
.tk-js .tk-draw.tk-draw-once.is-in .tk-signal .tk-signal__dot  { animation: tk-once-dot .6s cubic-bezier(.3, 1.6, .5, 1) 2.8s both; }
.tk-js .tk-draw.tk-draw-once.is-in .tk-signal .tk-signal__halo { animation: tk-once-halo 1.6s ease-out 3.1s both; }
@keyframes tk-once-line { from { stroke-dashoffset: 1; } to { stroke-dashoffset: 0; } }
@keyframes tk-once-dot { from { transform: scale(0); } to { transform: scale(1); } }
@keyframes tk-once-halo { 0% { transform: scale(.6); opacity: .35; } 100% { transform: scale(1.9); opacity: 0; } }

/* Timeline that fills as you scroll: tk-progress on the line's container (line = its inline-start border),
   tk-node on each step marker. */
.tk-progress { position: relative; }
.tk-progress::after {
	content: ""; position: absolute; top: 0; inset-inline-start: -2px; width: 2px;
	height: calc(var(--p, 0) * 100%); background: var(--e-global-color-secondary); border-radius: 2px;
}
.tk-node { transition: background-color .4s ease, color .4s ease, box-shadow .4s ease; }
.tk-progress .tk-node.is-lit {
	background-color: var(--e-global-color-secondary) !important;
	box-shadow: 0 0 0 6px rgba(185, 138, 91, .18);
}
.tk-progress .tk-node.is-lit .elementor-heading-title { color: var(--e-global-color-tkdark) !important; }

/* Heading that stays in view while the next column scrolls (desktop only). */
@media (min-width: 1025px) {
	.tk-sticky { position: sticky; top: 120px; align-self: flex-start; }
}

/* A tan dot slowly orbiting a ring (team monogram). */
.tk-orbit { position: relative; }
.tk-orbit::after {
	content: ""; position: absolute; inset: -6px; border-radius: 50%; pointer-events: none;
	background: radial-gradient(circle at 50% 6px, var(--e-global-color-secondary) 0 5px, transparent 5.5px);
	animation: tk-spin 28s linear infinite;
}
@keyframes tk-spin { to { transform: rotate(360deg); } }

@media (prefers-reduced-motion: reduce) {
	.tk-orbit::after, .tk-signal * { animation: none !important; }
}

/* Contact cards (B): whole card is a link; on hover it lifts and inverts (light → ink, ink → tan),
   the icon circle turns tan and the corner arrow straightens (same idea as the buttons). */
.tk-card-invert { transition: background-color .35s ease, border-color .35s ease, transform .35s ease, box-shadow .35s ease; }
.tk-card-invert .elementor-heading-title,
.tk-card-invert .elementor-icon,
.tk-card-invert .elementor-icon svg { transition: color .35s ease, background-color .35s ease, fill .35s ease, transform .35s ease; }
.tk-card-invert:hover { transform: translateY(-4px); box-shadow: 0 18px 40px rgba(20, 28, 27, .14); }
.tk-card-invert:not(.tk-card-dark):hover { background-color: var(--e-global-color-primary) !important; border-color: var(--e-global-color-primary) !important; }
.tk-card-invert:not(.tk-card-dark):hover .elementor-heading-title { color: var(--e-global-color-tkwhite) !important; }
.tk-card-invert:not(.tk-card-dark):hover .tk-card-label .elementor-heading-title { color: var(--e-global-color-tklight) !important; }
.tk-card-dark:hover { background-color: var(--e-global-color-secondary) !important; }
.tk-card-dark:hover .elementor-heading-title { color: var(--e-global-color-tkdark) !important; }
.tk-card-invert:hover .tk-card-icon .elementor-icon { background-color: var(--e-global-color-secondary) !important; }
.tk-card-invert:hover .tk-card-icon .elementor-icon svg { fill: var(--e-global-color-tkdark) !important; }
.tk-card-dark:hover .tk-card-icon .elementor-icon { background-color: var(--e-global-color-tkdark) !important; }
.tk-card-dark:hover .tk-card-icon .elementor-icon svg { fill: var(--e-global-color-secondary) !important; }
.rtl .tk-card-arrow .elementor-icon svg { transform: rotate(45deg); }
body:not(.rtl) .tk-card-arrow .elementor-icon svg { transform: rotate(-45deg); }
body .tk-card-invert:hover .tk-card-arrow .elementor-icon svg { transform: rotate(0deg); }
.tk-card-invert:not(.tk-card-dark):hover .tk-card-arrow .elementor-icon svg { fill: var(--e-global-color-secondary) !important; }
.tk-card-dark:hover .tk-card-arrow .elementor-icon svg { fill: var(--e-global-color-tkdark) !important; }

/* Horizontal track (tk-progress tk-progress-x on a row of equal items with a centred .tk-node each):
   a thin line joins the node centres and fills tan as you scroll. Hidden when the row stacks (phones).
   Uses ::after with explicit left/right/width — Elementor's own ::before (background overlay) sets left/width. */
.tk-progress.tk-progress-x::after {
	content: ""; position: absolute; z-index: 0; border-radius: 2px;
	top: var(--tk-node-y, 30px) !important; left: 12.5% !important; right: 12.5% !important;
	width: auto !important; height: 2px !important;
	background: linear-gradient(to var(--tk-end, left), var(--e-global-color-secondary) calc(var(--p, 0) * 100%), var(--e-global-color-tkborder) 0);
}
.rtl .tk-progress-x::after { --tk-end: left; }
body:not(.rtl) .tk-progress-x::after { --tk-end: right; }
.tk-progress-x > *, .tk-progress-x > .e-con-inner > * { position: relative; z-index: 1; }
@media (max-width: 767px) { .tk-progress.tk-progress-x::after { display: none; } }

/* Full-width buttons (Alignment "Justified", e.g. on phones): text at the start, arrow circle pinned to the far
   end, instead of the two bunching up with an empty gap beside them. */
.elementor-align-justify .elementor-button:has(.elementor-button-icon) .elementor-button-content-wrapper { width: 100%; justify-content: space-between; }
@media (max-width: 1024px) {
	.elementor-tablet-align-justify .elementor-button:has(.elementor-button-icon) .elementor-button-content-wrapper { width: 100%; justify-content: space-between; }
}
@media (max-width: 767px) {
	.elementor-mobile-align-justify .elementor-button:has(.elementor-button-icon) .elementor-button-content-wrapper { width: 100%; justify-content: space-between; }
}

/* Contact Form 7, refinements:
   - CF7 marks the form with the locale it was created in (dir="ltr"), so on the Arabic page force RTL.
   - Custom dropdown: no native arrow, a tan chevron on the inline-end side, pointer, hover/focus states. */
.rtl .wpcf7, .rtl .wpcf7 form { direction: rtl; text-align: right; }
.tk-form select {
	-webkit-appearance: none; -moz-appearance: none; appearance: none; cursor: pointer;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23B98A5B' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-size: 12px 8px;
	background-position: right 18px center; padding-inline-end: 46px;
}
.rtl .tk-form select { background-position: left 18px center; }
.tk-form select:invalid, .tk-form select option[value=""] { color: var(--e-global-color-text); }
.tk-form select option { color: var(--e-global-color-tkheading); background: #fff; }
.tk-form input:hover:not(:focus), .tk-form select:hover:not(:focus), .tk-form textarea:hover:not(:focus) {
	border-color: rgba(185, 138, 91, .55);
}
.tk-form__label { display: inline-flex; align-items: baseline; gap: 6px; }

/* Form response box in the site palette instead of CF7's default yellow/green outlines. */
.wpcf7 form .wpcf7-response-output { border: 1px solid var(--e-global-color-tkborder); background: var(--e-global-color-tkwhite); color: var(--e-global-color-tkheading); }
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.failed .wpcf7-response-output,
.wpcf7 form.spam .wpcf7-response-output { border-color: rgba(164, 73, 61, .45); background: rgba(164, 73, 61, .06); color: #8A3B31; }
.wpcf7 form.sent .wpcf7-response-output { border-color: rgba(110, 126, 107, .5); background: rgba(110, 126, 107, .08); color: var(--e-global-color-tkheading); }
