/* Al-Jathnan 2.4.9 — above-the-fold: header and hero. */

/* FILE: modules/global/header/header.css */
/* =========================================================
 * Al-Jathnan — Premium Floating Header
 * Version: 2.6.0
 * RTL desktop: Logo right / nav center / CTA + language left
 * ======================================================= */
body.admin-bar{
	--aj-admin-offset:32px;
}
.aj-header{
	position:fixed;
	z-index:99990;
	top:calc(var(--aj-admin-offset,0px) + 18px);
	right:0;
	left:0;
	width:100%;
	pointer-events:none;
	transition:top .28s ease;
}
.aj-header__inner{
	position:relative;
	direction:ltr;
	display:grid;
	grid-template-columns:auto minmax(0,1fr) auto;
	grid-template-areas:"actions navigation brand";
	align-items:center;
	gap:clamp(18px,2.2vw,34px);
	width:min(calc(100% - 36px),1280px);
	min-height:68px;
	margin-inline:auto;
	padding:7px 14px;
	border:1px solid rgba(255,255,255,.13);
	border-radius:22px;
	background:rgba(6,24,44,.92);
	box-shadow:0 18px 48px rgba(0,0,0,.16),inset 0 1px 0 rgba(255,255,255,.04);
	backdrop-filter:blur(16px) saturate(135%);
	-webkit-backdrop-filter:blur(16px) saturate(135%);
	pointer-events:auto;
	transition:min-height .28s ease,background .28s ease,box-shadow .28s ease,border-color .28s ease;
}
.aj-header[dir="ltr"] .aj-header__inner{
	grid-template-areas:"brand navigation actions";
}
.aj-header.is-scrolled{
	top:calc(var(--aj-admin-offset,0px) + 10px);
}
.aj-header.is-scrolled .aj-header__inner{
	min-height:62px;
	background:rgba(5,20,38,.97);
	border-color:rgba(255,255,255,.1);
	box-shadow:0 20px 52px rgba(0,0,0,.24),inset 0 1px 0 rgba(255,255,255,.035);
}
.aj-header__brand{
	grid-area:brand;
	direction:inherit;
	display:flex;
	align-items:center;
	justify-content:center;
	width:var(--aj-header-logo-width,78px);
	min-width:var(--aj-header-logo-width,78px);
	text-decoration:none!important;
}
.aj-header__brand img{
	display:block;
	width:100%;
	height:auto;
	max-height:48px;
	object-fit:contain;
}
.aj-header__panel{
	display:contents;
}
.aj-header__nav{
	grid-area:navigation;
	min-width:0;
	direction:rtl;
}
.aj-header[dir="ltr"] .aj-header__nav{
	direction:ltr;
}
.aj-header__menu{
	display:flex;
	align-items:center;
	justify-content:center;
	gap:clamp(15px,1.55vw,25px);
	min-width:0;
	margin:0;
	padding:0;
	list-style:none;
}
.aj-header__menu li{
	margin:0;
	padding:0;
}
.aj-header__menu a{
	position:relative;
	display:flex;
	align-items:center;
	min-height:48px;
	padding:0 1px;
	color:rgba(255,255,255,.72)!important;
	font-family:var(--aj-font-body,"Tajawal",sans-serif)!important;
	font-size:13px;
	font-weight:650;
	line-height:1;
	text-decoration:none!important;
	white-space:nowrap;
	transition:color .22s ease;
}
.aj-header__menu a:after{
	content:"";
	position:absolute;
	bottom:6px;
	left:50%;
	width:0;
	height:2px;
	border-radius:999px;
	background:#fff;
	transform:translateX(-50%);
	transition:width .24s ease;
}
.aj-header__menu a:hover,
.aj-header__menu a.is-active{
	color:#fff!important;
}
.aj-header__menu a:hover:after,
.aj-header__menu a.is-active:after{
	width:18px;
}
.aj-header__actions{
	grid-area:actions;
	direction:ltr;
	display:flex;
	align-items:center;
	justify-content:flex-start;
	gap:8px;
	flex:0 0 auto;
}
.aj-header[dir="ltr"] .aj-header__actions{
	justify-content:flex-end;
}
.aj-header__language,
body .aj-header .aj-header__cta{
	display:inline-flex;
	align-items:center;
	justify-content:center;
	gap:8px;
	min-height:46px;
	border-radius:14px;
	font-family:var(--aj-font-body,"Tajawal",sans-serif)!important;
	font-size:12.5px;
	font-weight:700;
	line-height:1;
	text-decoration:none!important;
	white-space:nowrap;
	transition:transform .25s ease,background .25s ease,border-color .25s ease,box-shadow .25s ease;
}
.aj-header__language{
	direction:ltr;
	padding:0 15px;
	border:1px solid rgba(255,255,255,.17);
	background:rgba(255,255,255,.045);
	color:rgba(255,255,255,.86)!important;
}
.aj-header__flag{
	position:relative;
	display:inline-flex;
	align-items:center;
	justify-content:center;
	width:21px;
	height:14px;
	flex:0 0 21px;
	overflow:hidden;
	border:1px solid rgba(255,255,255,.34);
	border-radius:2px;
	box-shadow:0 1px 3px rgba(0,0,0,.22);
}
.aj-header__flag--england{
	background:#fff;
}
.aj-header__flag--england:before,
.aj-header__flag--england:after{
	content:"";
	position:absolute;
	z-index:1;
	background:#cf2434;
}
.aj-header__flag--england:before{
	top:0;
	bottom:0;
	left:50%;
	width:4px;
	transform:translateX(-50%);
}
.aj-header__flag--england:after{
	top:50%;
	right:0;
	left:0;
	height:4px;
	transform:translateY(-50%);
}
.aj-header__flag--arabic{
	border-color:rgba(255,255,255,.24);
	background:#177245;
	color:#fff;
	font-family:Arial,sans-serif;
	font-size:7px;
	font-weight:800;
}
.aj-header__language:hover{
	background:rgba(255,255,255,.09);
	border-color:rgba(255,255,255,.28);
	color:#fff!important;
}
.aj-header__language--mobile{
	display:none;
	grid-area:language;
}
body .aj-header .aj-header__cta{
	direction:rtl;
	padding:0 18px;
	border:1px solid #fff;
	background:#fff!important;
	color:#07182e!important;
	box-shadow:0 9px 22px rgba(0,0,0,.12);
}
.aj-header[dir="ltr"] .aj-header__cta{
	direction:ltr;
}
body .aj-header .aj-header__cta:hover{
	transform:translateY(-1px);
	background:#fff!important;
	color:#07182e!important;
	box-shadow:0 12px 27px rgba(0,0,0,.18);
}
.aj-header__cta svg{
	width:15px;
	height:15px;
	flex:0 0 15px;
}
.aj-header[dir="rtl"] .aj-header__cta svg{
	transform:scaleX(-1);
}
.aj-header__toggle{
	display:none;
	grid-area:toggle;
	align-items:center;
	justify-content:center;
	width:44px;
	height:44px;
	padding:10px;
	border:1px solid rgba(255,255,255,.13);
	border-radius:13px;
	background:rgba(255,255,255,.05);
	color:#fff;
	cursor:pointer;
}
.aj-header__toggle span{
	display:block;
	width:20px;
	height:2px;
	margin:3px auto;
	border-radius:20px;
	background:#fff;
	transition:transform .22s ease,opacity .22s ease;
}
.aj-header__toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(5px) rotate(45deg)}
.aj-header__toggle[aria-expanded="true"] span:nth-child(2){opacity:0}
.aj-header__toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-5px) rotate(-45deg)}
/* Elementor is only the shortcode shell. A fixed header must reserve zero document height. */
body.aj-site .elementor-widget-shortcode:has(.aj-header),
body.aj-site .elementor-widget-shortcode:has(.aj-header) > .elementor-widget-container,
body.aj-site .elementor-element.e-con:has(.aj-header):not(:has(.aj-hero)){
	--padding-top:0px!important;
	--padding-right:0px!important;
	--padding-bottom:0px!important;
	--padding-left:0px!important;
	--margin-top:0px!important;
	--margin-bottom:0px!important;
	--min-height:0px!important;
	margin:0!important;
	padding:0!important;
	min-height:0!important;
	height:0!important;
	background:transparent!important;
	overflow:visible!important;
}
body.aj-site .elementor-widget-shortcode:has(.aj-header) > .elementor-widget-container{
	display:block!important;
}
@media(max-width:1120px){
	.aj-header__inner{gap:16px}
	.aj-header__menu{gap:13px}
	.aj-header__menu a{font-size:11.5px}
	.aj-header__language{padding-inline:12px}
	body .aj-header .aj-header__cta{padding-inline:15px}
}
@media(max-width:980px){
	.aj-header{
		top:calc(var(--aj-admin-offset,0px) + 10px);
	}
	.aj-header.is-scrolled{
		top:calc(var(--aj-admin-offset,0px) + 7px);
	}
	.aj-header__inner,
	.aj-header[dir="ltr"] .aj-header__inner{
		grid-template-columns:auto auto minmax(0,1fr) auto;
		grid-template-areas:"toggle language spacer brand";
		width:calc(100% - 20px);
		min-height:62px;
		padding:7px 10px;
		border-radius:18px;
	}
	.aj-header[dir="ltr"] .aj-header__inner{
		grid-template-areas:"brand spacer language toggle";
	}
	.aj-header__brand{
		width:min(var(--aj-header-logo-width,78px),72px);
		min-width:min(var(--aj-header-logo-width,78px),72px);
	}
	.aj-header__toggle{
		display:block;
	}
	.aj-header__panel{
		position:absolute;
		z-index:100;
		top:calc(100% + 9px);
		right:0;
		left:0;
		display:block;
		padding:12px;
		border:1px solid rgba(255,255,255,.12);
		border-radius:18px;
		background:rgba(5,20,38,.985);
		box-shadow:0 20px 45px rgba(0,0,0,.25);
		backdrop-filter:blur(16px);
		-webkit-backdrop-filter:blur(16px);
		opacity:0;
		visibility:hidden;
		transform:translateY(-7px);
		pointer-events:none;
		transition:opacity .2s ease,visibility .2s ease,transform .2s ease;
	}
	.aj-header__panel.is-open{
		opacity:1;
		visibility:visible;
		transform:none;
		pointer-events:auto;
	}
	.aj-header__nav{
		direction:inherit;
	}
	.aj-header__menu{
		display:grid;
		gap:0;
		margin:0;
	}
	.aj-header__menu a{
		min-height:48px;
		padding:0 12px;
		border-bottom:1px solid rgba(255,255,255,.075);
		font-size:13px;
	}
	.aj-header[dir="rtl"] .aj-header__menu a{
		justify-content:flex-start;
		direction:rtl;
	}
	.aj-header[dir="ltr"] .aj-header__menu a{
		justify-content:flex-start;
		direction:ltr;
	}
	.aj-header__menu a:after{display:none}
	.aj-header__language--mobile{
		display:inline-flex;
		width:auto;
		min-height:42px;
		padding:0 12px;
		border-radius:12px;
		font-size:12px;
	}
	.aj-header__language--mobile .aj-header__flag{
		width:20px;
		height:13px;
		flex-basis:20px;
	}
	.aj-header__actions,
	.aj-header[dir="ltr"] .aj-header__actions{
		display:grid;
		grid-template-columns:1fr;
		gap:8px;
		margin-top:11px;
	}
	.aj-header__actions .aj-header__language{
		display:none;
	}
	body .aj-header .aj-header__cta{
		width:100%;
		min-height:48px;
	}
}
@media(max-width:782px){
	body.admin-bar{--aj-admin-offset:46px}
}
@media(max-width:600px){
	.aj-header{
		top:calc(var(--aj-admin-offset,0px) + 8px);
	}
	.aj-header.is-scrolled{
		top:calc(var(--aj-admin-offset,0px) + 6px);
	}
	.aj-header__inner{
		width:calc(100% - 16px);
		min-height:58px;
		padding:6px 9px;
		border-radius:17px;
	}
	.aj-header__brand{
		width:min(var(--aj-header-logo-width,78px),66px);
		min-width:min(var(--aj-header-logo-width,78px),66px);
	}
	.aj-header__toggle{
		width:42px;
		height:42px;
	}
	.aj-header__actions,
	.aj-header[dir="ltr"] .aj-header__actions{
		grid-template-columns:1fr;
	}
}
@media(prefers-reduced-motion:reduce){
	.aj-header,
	.aj-header *,
	.aj-header *:before,
	.aj-header *:after{
		transition:none!important;
		animation:none!important;
	}
}

/* Soft blue-gray from the hero visual for the header request button. */
body .aj-header .aj-header__cta,body .aj-header .aj-header__cta:visited{background:#b8c6d8!important;border-color:#b8c6d8!important;color:#10243b!important}
body .aj-header .aj-header__cta:hover,body .aj-header .aj-header__cta:focus-visible{background:#d5e5f3!important;border-color:#d5e5f3!important;color:#10243b!important}
body .aj-header .aj-header__cta svg{color:currentColor!important}





/* FILE: modules/home/hero/hero.css */
/* =========================================================
 * Al-Jathnan — Home Hero
 * Shortcode: [aj_hero]
 * Version: 4.6.0
 * Kenya Source → Worldwide Destinations
 * ======================================================= */

/* Elementor is only the shell. The first Hero must start at the viewport edge. */
body.aj-home .elementor:has(.aj-hero),
body.aj-home .elementor-element:has(.aj-hero),
body.aj-home .elementor-widget-shortcode:has(.aj-hero),
body.aj-home .elementor-widget-shortcode:has(.aj-hero) > .elementor-widget-container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

body.aj-home .elementor-widget-shortcode:has(.aj-hero),
body.aj-home .elementor-widget-shortcode:has(.aj-hero) > .elementor-widget-container {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    padding-right: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
}

body.aj-home .e-con:has(.aj-hero) {
    --padding-top: 0px;
    --padding-bottom: 0px;
    --padding-left: 0px;
    --padding-right: 0px;
    --margin-top: 0px;
    --margin-bottom: 0px;
    padding-top: 0 !important;
    margin-top: 0 !important;
}

.aj-hero {
    position: relative;
    isolation: isolate;
    width: 100vw;
    max-width: 100vw;
    min-height: clamp(680px, 78svh, 820px) !important;
    margin-top: 0;
    margin-right: calc(50% - 50vw);
    margin-bottom: 0;
    margin-left: calc(50% - 50vw);
    overflow: hidden;
    background: #fff;
    color: var(--aj-navy-deep);
    display: flex;
    align-items: stretch;
}

.aj-hero::before {
    content: "";
    position: absolute;
    z-index: -5;
    inset: 0;
    background-image: url("../../modules/home/hero/h-bg.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    pointer-events: none;
}

.aj-hero::after {
    content: "";
    position: absolute;
    z-index: -4;
    inset: 0;
    background: none;
    pointer-events: none;
}

html:not([dir="rtl"]) .aj-hero::after {
    background: none;
}

.aj-hero__backdrop {
    display: none;
    position: absolute;
    z-index: -3;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.aj-hero__backdrop::before {
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    inset-inline-start: -230px;
    top: 105px;
    border: 1px solid rgba(255, 255, 255, .055);
    border-radius: 50%;
    box-shadow:
        0 0 0 64px rgba(255, 255, 255, .011),
        0 0 0 128px rgba(255, 255, 255, .007);
}

.aj-hero__backdrop::after {
    content: "";
    position: absolute;
    inset: 0;
    opacity: .24;
    background-image:
        linear-gradient(rgba(255, 255, 255, .022) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, .022) 1px, transparent 1px);
    background-size: 78px 78px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 5%, #000 30%, transparent 94%);
    mask-image: linear-gradient(to bottom, transparent 5%, #000 30%, transparent 94%);
}

/* WordPress reliably outputs dir="rtl" for RTL languages, but may omit dir="ltr".
 * Therefore non-RTL is treated as the LTR/default layout via html:not([dir="rtl"]). */
.aj-hero__inner {
    position: relative;
    z-index: 2;
    display: grid;
    direction: ltr;
    grid-template-columns: minmax(350px, .84fr) minmax(0, 1.16fr);
    align-items: center;
    gap: clamp(52px, 6vw, 94px);
    width: min(calc(100% - 112px), 1360px) !important;
    max-width: 1360px !important;
    min-height: clamp(680px, 78svh, 820px) !important;
    margin-inline: auto !important;
    padding-top: 96px;
    padding-right: 0;
    padding-bottom: 40px;
    padding-left: 0;
    flex: 1 1 auto;
}

.aj-hero__content {
    grid-column: 2;
    grid-row: 1;
    direction: rtl;
    width: 100%;
    max-width: 690px;
    justify-self: end;
    padding-right: clamp(8px, 1vw, 18px);
    text-align: right;
}

html:not([dir="rtl"]) .aj-hero__content {
    grid-column: 1;
    direction: ltr;
    justify-self: start;
    padding-right: 0;
    padding-left: clamp(8px, 1vw, 18px);
    text-align: left;
}

.aj-hero__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0 0 16px;
    color: var(--aj-navy-deep) !important;
    font-family: var(--aj-font-body);
    font-size: clamp(.96rem, 1.02vw, 1.06rem) !important;
    font-weight: 600;
    line-height: 1.6;
}

.aj-hero__eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    flex: 0 0 34px;
    background: var(--aj-navy-deep) !important;
}

.aj-hero__title {
    max-width: 660px;
    margin: 0;
    color: var(--aj-navy-deep) !important;
    font-family: var(--aj-font-display);
    font-size: var(--aj-display);
    font-weight: 600 !important;
    line-height: 1.3;
    letter-spacing: 0;
    text-wrap: balance;
}

.aj-hero__title-accent {
    display: block;
    margin-top: 3px;
}

.aj-hero__lead {
    max-width: 635px;
    margin: 19px 0 0;
    color: var(--aj-text) !important;
    font-family: var(--aj-font-body);
    font-size: clamp(1rem, 1.1vw, 1.08rem) !important;
    font-weight: 500;
    line-height: 1.9 !important;
}

.aj-hero__actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 11px;
    margin-top: 27px;
}

.aj-hero__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 54px;
    padding-inline: 24px;
    border: 1px solid transparent;
    border-radius: 15px;
    font-family: var(--aj-font-body);
    font-size: .95rem;
    font-weight: 700;
    line-height: 1;
    text-decoration: none !important;
    white-space: nowrap;
    transition:
        transform var(--aj-duration) var(--aj-ease),
        background-color var(--aj-duration-fast) var(--aj-ease-soft),
        border-color var(--aj-duration-fast) var(--aj-ease-soft),
        box-shadow var(--aj-duration) var(--aj-ease);
}

.aj-hero__button svg {
    width: 17px;
    height: 17px;
    flex: 0 0 17px;
}

/* Strong selectors prevent Elementor/global anchor colors from whitening the label. */
.aj-hero .aj-hero__button--primary,
.aj-hero .aj-hero__button--primary:visited,
.aj-hero .aj-hero__button--primary span,
.aj-hero .aj-hero__button--primary svg {
    background: #fff;
    color: var(--aj-navy-deep) !important;
}

.aj-hero .aj-hero__button--primary,
.aj-hero .aj-hero__button--primary:visited {
    box-shadow: 0 14px 34px rgba(0, 0, 0, .16);
}

.aj-hero .aj-hero__button--primary:hover,
.aj-hero .aj-hero__button--primary:hover span,
.aj-hero .aj-hero__button--primary:hover svg {
    color: var(--aj-navy-deep) !important;
}

.aj-hero .aj-hero__button--primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 42px rgba(0, 0, 0, .23);
}

.aj-hero__points {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 18px;
    margin: 22px 0 0;
    padding: 0;
    list-style: none;
}

.aj-hero__points li {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--aj-text-soft) !important;
    font-family: var(--aj-font-body);
    font-size: .79rem !important;
    font-weight: 500;
    line-height: 1.5;
}

.aj-hero__check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    height: 19px;
    flex: 0 0 19px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 50%;
    color: var(--aj-gold-bright);
    background: rgba(4, 17, 33, .18);
}

.aj-hero__check svg {
    width: 10px;
    height: 10px;
}

.aj-hero__visual {
    grid-column: 1;
    grid-row: 1;
    direction: rtl;
    min-width: 0;
    width: 100%;
    align-self: center;
    justify-self: center;
}

html:not([dir="rtl"]) .aj-hero__visual {
    grid-column: 2;
    direction: ltr;
}

.aj-hero__visual-stage {
    position: relative;
    width: min(100%, 430px);
    min-height: 430px;
    margin-inline: auto;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, .6);
    border-radius: 28px;
    background-color: #e6e6e5;
    background-image: url("../../modules/home/hero/hero-visual-card.jpg");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    box-shadow: 0 24px 54px rgba(18, 34, 52, .12);
    -webkit-backdrop-filter: none;
    backdrop-filter: none;
}

.aj-hero__visual-top {
    position: relative;
    z-index: 3;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 24px 26px 0;
}

.aj-hero__visual-top > span:first-child {
    color: rgba(15, 34, 52, .72);
    font-family: var(--aj-font-body);
    font-size: .75rem;
    font-weight: 600;
}

.aj-hero__kenya-mark {
    display: block;
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border: 3px solid rgba(255, 255, 255, .84);
    border-radius: 50%;
    background:
        linear-gradient(
            to bottom,
            #151515 0%,
            #151515 30%,
            #fff 30%,
            #fff 34%,
            #9b1d27 34%,
            #9b1d27 66%,
            #fff 66%,
            #fff 70%,
            #174f32 70%,
            #174f32 100%
        );
}

.aj-hero__visual-copy {
    position: absolute;
    z-index: 3;
    top: 42%;
    right: 24px;
    left: 24px;
    transform: translateY(-50%);
    text-align: center;
}

.aj-hero__visual-copy strong {
    display: block;
    color: #10283b !important;
    font-size: clamp(3rem, 4.9vw, 4.45rem);
    font-weight: 800;
    line-height: 1;
    letter-spacing: -.045em;
    white-space: nowrap;
}

.aj-hero__visual-copy span {
    display: block;
    margin-top: 14px;
    color: rgba(16, 40, 59, .7) !important;
    font-family: var(--aj-font-body);
    font-size: .72rem;
    font-weight: 500;
}

.aj-hero__route {
    position: absolute;
    z-index: 4;
    right: 18px;
    bottom: 17px;
    left: 18px;
    padding: 13px 17px 15px;
    border: 1px solid rgba(255, 255, 255, .52);
    border-radius: 18px;
    background: rgba(255, 255, 255, .25);
    -webkit-backdrop-filter: blur(4px);
    backdrop-filter: blur(4px);
}

.aj-hero__route-graphic {
    height: 52px;
    color: var(--aj-gold-bright);
}

.aj-hero__route-graphic svg {
    width: 100%;
    height: 100%;
}

.aj-hero__route-traveler {
    color: #e9c76f;
}

.aj-hero__route-meta {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    align-items: end;
    gap: 12px;
    margin-top: 1px;
}

.aj-hero__route-meta > div {
    display: grid;
    gap: 3px;
    min-width: 0;
}

.aj-hero__route-source {
    text-align: start;
}

.aj-hero__route-destination {
    text-align: end;
}

.aj-hero__route-direction {
    align-self: center;
    color: var(--aj-gold-bright) !important;
    font-family: Arial, sans-serif;
    font-size: 1rem;
    line-height: 1;
}

.aj-hero__route-meta small {
    color: rgba(16, 40, 59, .67) !important;
    font-family: var(--aj-font-body);
    font-size: .62rem;
    font-weight: 500;
}

.aj-hero__route-meta strong {
    color: #10283b !important;
    font-family: var(--aj-font-body);
    font-size: .78rem;
    font-weight: 700;
    line-height: 1.5;
}

/* In English the visual route mirrors naturally: Kenya remains source, world remains destination. */
html:not([dir="rtl"]) .aj-hero__route-graphic {
    transform: scaleX(-1);
}

html:not([dir="rtl"]) .aj-hero__route-direction {
    transform: scaleX(-1);
}

.aj-hero__bottom-rule {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .13), transparent);
}

.aj-hero [data-aj-reveal] {
    opacity: 0;
    transform: translateY(18px);
    transition:
        opacity 720ms var(--aj-ease),
        transform 720ms var(--aj-ease);
}

.aj-hero [data-aj-reveal].is-visible {
    opacity: 1;
    transform: none;
}

.aj-hero__visual[data-aj-reveal] {
    transition-delay: 100ms;
}


/* Mobile-only route summary. The desktop visual remains untouched. */
.aj-hero__mobile-route {
    display: none;
}

@media (max-width: 1100px) {
    .aj-hero {
        min-height: 650px !important;
    }
    .aj-hero__inner {
        grid-template-columns: minmax(315px, .78fr) minmax(0, 1.22fr);
        width: min(calc(100% - 72px), 1360px) !important;
        gap: 40px;
        min-height: 650px !important;
        padding-top: 88px;
        padding-bottom: 36px;
    }

    .aj-hero__visual-stage {
        min-height: 410px;
    }
}

@media (max-width: 900px) {
    .aj-hero {
        min-height: auto !important;
        margin-top: 0 !important;
        align-items: flex-start;
    }
    .aj-hero::before {
        background-position: 42% center;
    }
    .aj-hero::after,
    html:not([dir="rtl"]) .aj-hero::after {
        background: none;
    }
    .aj-hero__inner,
    html:not([dir="rtl"]) .aj-hero__inner {
        direction: ltr;
        grid-template-columns: minmax(0, 1fr);
        width: 100% !important;
        max-width: 680px !important;
        min-height: auto !important;
        gap: 0;
        margin-inline: auto !important;
        padding: 88px 24px 32px !important;
        box-sizing: border-box;
    }
    .aj-hero__content,
    html:not([dir="rtl"]) .aj-hero__content {
        grid-column: 1;
        grid-row: 1;
        width: 100%;
        max-width: none;
        justify-self: stretch;
        padding: 0;
    }
    html[dir="rtl"] .aj-hero__content {
        direction: rtl;
        text-align: right;
    }
    html:not([dir="rtl"]) .aj-hero__content {
        direction: ltr;
        text-align: left;
    }
    .aj-hero__visual,
    html:not([dir="rtl"]) .aj-hero__visual {
        display: none !important;
    }
    .aj-hero__eyebrow {
        gap: 8px;
        margin: 0 0 10px;
        font-size: .78rem !important;
        line-height: 1.5;
    }
    .aj-hero__eyebrow::before {
        width: 22px;
        flex-basis: 22px;
    }
    .aj-hero__title {
        width: 100%;
        max-width: 520px;
        margin: 0;
        font-size: clamp(1.95rem,7vw,2.4rem);
        line-height: 1.3;
        letter-spacing: 0;
        text-wrap: balance;
    }
    .aj-hero__title-accent {
        margin-top: 2px;
    }
    .aj-hero__lead {
        width: 100%;
        max-width: 560px;
        margin: 14px 0 0;
        font-size: .86rem !important;
        line-height: 1.78 !important;
    }
    .aj-hero__actions {
        display: grid;
        grid-template-columns: minmax(0, 1fr);
        gap: 8px;
        width: 100%;
        margin: 20px 0 0;
    }
    .aj-hero__button {
        width: 100%;
        min-width: 0;
        min-height: 49px;
        padding-inline: 14px;
        border-radius: 13px;
        font-size: .83rem;
    }
    .aj-hero__points {
        display: none !important;
    }
    .aj-hero__mobile-route {
        display: grid;
        grid-template-columns: minmax(0, 1fr) minmax(64px, .72fr) minmax(0, 1fr);
        align-items: center;
        gap: 10px;
        width: 100%;
        margin-top: 16px;
        padding: 13px 14px;
        border: 1px solid rgba(255,255,255,.11);
        border-radius: 16px;
        background: var(--aj-navy);
        box-shadow: inset 0 1px 0 rgba(255,255,255,.035);
        -webkit-backdrop-filter: blur(10px);
        backdrop-filter: blur(10px);
    }
    .aj-hero__mobile-route-side {
        display: flex;
        align-items: center;
        gap: 9px;
        min-width: 0;
    }
    .aj-hero__mobile-route-side > span:last-child {
        display: grid;
        gap: 1px;
        min-width: 0;
    }
    .aj-hero__mobile-route-side small {
        color: #fff !important;
        opacity: .78;
        font-size: .56rem;
        line-height: 1.4;
        white-space: nowrap;
    }
    .aj-hero__mobile-route-side strong {
        overflow: hidden;
        color: #fff !important;
        font-size: .72rem;
        font-weight: 700;
        line-height: 1.45;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    .aj-hero__mobile-route .aj-hero__kenya-mark {
        width: 24px;
        height: 24px;
        flex: 0 0 24px;
        border-width: 2px;
    }
    .aj-hero__mobile-route-path {
        display: flex;
        align-items: center;
        gap: 4px;
        color: var(--aj-gold-bright);
    }
    .aj-hero__mobile-route-path > span {
        position: relative;
        display: block;
        width: 100%;
        border-top: 1px dashed rgba(225,184,96,.62);
    }
    .aj-hero__mobile-route-path > span::after {
        content: "";
        position: absolute;
        z-index: 2;
        top: 50%;
        inset-inline-start: 0;
        width: 7px;
        height: 7px;
        border: 1px solid rgba(255,255,255,.92);
        border-radius: 50%;
        background: #ffe8a2;
        box-shadow: 0 0 5px #fff,0 0 11px #e9c76f,0 0 18px rgba(233,199,111,.6);
        transform: translateY(-50%);
        animation: aj-hero-mobile-trip 3.4s cubic-bezier(.42,0,.22,1) infinite;
    }
    .aj-hero__mobile-route-path svg {
        width: 15px;
        height: 15px;
        flex: 0 0 15px;
    }
    html:not([dir="rtl"]) .aj-hero__mobile-route-path svg {
        transform: scaleX(-1);
    }
}

@keyframes aj-hero-mobile-trip {
    0% { inset-inline-start: 0; opacity: 0; }
    10% { opacity: 1; }
    88% { opacity: 1; }
    100% { inset-inline-start: calc(100% - 7px); opacity: 0; }
}

@media (max-width: 480px) {
    .aj-hero__inner,
    html:not([dir="rtl"]) .aj-hero__inner {
        width: 100% !important;
        padding: 78px 24px 28px !important;
        box-sizing: border-box;
    }
    .aj-hero__title{font-size:1.85rem;line-height:1.3;}
    .aj-hero__lead {
        font-size: .79rem !important;
        line-height: 1.72 !important;
    }
    .aj-hero__button {
        min-height: 47px;
        font-size: .79rem;
    }
    .aj-hero__mobile-route {
        grid-template-columns: minmax(0, 1fr) 52px minmax(0, 1fr);
        gap: 7px;
        padding: 12px;
    }
    .aj-hero__mobile-route-side {
        gap: 7px;
    }
    .aj-hero__mobile-route-side small {
        font-size: .51rem;
    }
    .aj-hero__mobile-route-side strong {
        font-size: .66rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .aj-hero *,
    .aj-hero *::before,
    .aj-hero *::after {
        animation: none !important;
        transition: none !important;
    }
    .aj-hero [data-aj-reveal] {
        opacity: 1 !important;
        transform: none !important;
    }
    .aj-hero__route-traveler,
    .aj-hero__mobile-route-path > span::after {
        display: none !important;
    }
}
/* English Hero typography is composed independently from Arabic. */
html:not([dir="rtl"]) .aj-hero__title{letter-spacing:-.01em;line-height:1.3;}
html:not([dir="rtl"]) .aj-hero__lead{line-height:1.72;}
@media(max-width:900px){html:not([dir="rtl"]) .aj-hero__title{letter-spacing:-.01em;line-height:1.3;}html:not([dir="rtl"]) .aj-hero__lead{line-height:1.7;}}
@media(max-width:480px){html:not([dir="rtl"]) .aj-hero__title{font-size:1.85rem;}}

/* Navy CTA and high-contrast service checkmarks on the light hero. */
.aj-hero .aj-hero__button--primary,.aj-hero .aj-hero__button--primary:visited{background:#10243b!important;border-color:#10243b!important;color:#fff!important;box-shadow:0 14px 34px rgba(16,36,59,.2)}
.aj-hero .aj-hero__button--primary span,.aj-hero .aj-hero__button--primary svg,.aj-hero .aj-hero__button--primary:hover span,.aj-hero .aj-hero__button--primary:hover svg{background:transparent!important;color:#fff!important}
.aj-hero .aj-hero__button--primary:hover,.aj-hero .aj-hero__button--primary:focus-visible{background:#1d3b5a!important;color:#fff!important}
.aj-hero .aj-hero__check{background:#10243b!important;border-color:#10243b!important;color:#fff!important}
.aj-hero .aj-hero__check svg,.aj-hero .aj-hero__check svg path{color:#fff!important;stroke:#fff!important}


/* =========================================================
 * Al-Jathnan 2.4.6 — Mobile hero layout stability.
 *
 * The next Elementor shortcode can shift when the hero above it
 * grows as web fonts are applied. Reserve enough room for the
 * existing Arabic/English hero content, without clipping longer
 * customized content (min-height, NOT height).
 * Keep these values in sync with the critical CSS in inc/assets.php.
 * ======================================================= */
@media (max-width: 900px) {
    body.aj-home #home.aj-hero,
    body.aj-home #home.aj-hero > .aj-hero__inner {
        min-height: max(560px, calc(1010px - 125vw)) !important;
    }
}



