/* Ibtdara custom branding — royal blue (overrides BC3 orange skin) */
:root {
	--primary: #3b66de;
	--primary-100: #3259c4;
	--primary-200: #2f54b8;
	--primary-300: #2c4fac;
	--primary--100: #4a73e2;
	--primary--200: #5680e5;
	--primary--300: #628ce8;
	--primary-rgba-0: rgba(59, 102, 222, 0);
	--primary-rgba-10: rgba(59, 102, 222, 0.1);
	--primary-rgba-20: rgba(59, 102, 222, 0.2);
	--primary-rgba-30: rgba(59, 102, 222, 0.3);
	--primary-rgba-40: rgba(59, 102, 222, 0.4);
	--primary-rgba-50: rgba(59, 102, 222, 0.5);
	--primary-rgba-60: rgba(59, 102, 222, 0.6);
	--primary-rgba-70: rgba(59, 102, 222, 0.7);
	--primary-rgba-80: rgba(59, 102, 222, 0.8);
	--primary-rgba-90: rgba(59, 102, 222, 0.9);
	--secondary: #5680e5;
	--secondary-100: #4a73e2;
	--secondary-200: #3b66de;
	--secondary-300: #3259c4;
	--tertiary: #2f54b8;
	--tertiary-100: #2c4fac;
	--tertiary-200: #2848a0;
	--tertiary-300: #243d92;
}

/* BC3 light header — colored logo */
.header-logo a {
	display: inline-block;
	line-height: 0;
}
.header-logo .ibtdara-logo {
	height: 45px;
	width: auto;
	max-width: 220px;
	object-fit: contain;
	transition: height 0.25s ease;
}
html.sticky-header-active #header .header-logo .ibtdara-logo,
#header.header-shrink .header-logo .ibtdara-logo {
	height: 36px;
}

/* BC3 nav — fit Ibtdara's wider menu (Blog/Contact desktop: header-right) */
@media (min-width: 992px) {
	#header .header-nav-main nav > ul {
		flex-wrap: nowrap;
	}

	#header .header-nav-main nav > ul > li > a,
	#header .header-nav-main nav > ul > li > .dropdown-toggle {
		font-size: 0.8rem !important;
		padding: 0 0.55rem !important;
		white-space: nowrap;
	}
}

/* Header top bar — phone icon-only on xs (avoids awkward number wrap) */
@media (max-width: 575.98px) {
	#header .custom-header-top-nav-background {
		padding-right: 0.75rem !important;
	}

	#header .ibtdara-header-phone a {
		line-height: 0;
	}
}

.ibtdara-header-extra-link {
	transition: color 0.2s ease;
}

.ibtdara-header-extra-link:hover,
.ibtdara-header-extra-link.active {
	color: var(--primary) !important;
}

/* Footer logo */
.footer-logo img {
	height: 40px;
	width: auto;
	max-width: 180px;
	object-fit: contain;
	margin-bottom: 1rem;
	opacity: 0.95;
}
.page-header-ibtdara h1 {
	font-size: 2.5rem;
}
.service-icon-box {
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.service-icon-box:hover {
	transform: translateY(-4px);
	box-shadow: 0 12px 30px rgba(0,0,0,0.12);
}
.service-icon-box .feature-box-icon img.service-card-icon {
	position: absolute;
	width: auto;
	height: auto;
	max-width: 72%;
	max-height: 72%;
	object-fit: contain;
	top: 50%;
	left: 50%;
	transform: translate3d(-50%, -50%, 0);
}
.service-detail-icon {
	display: block;
	max-width: 200px;
	max-height: 200px;
	width: auto;
	height: auto;
	margin-left: auto;
	margin-right: auto;
	object-fit: contain;
}
.service-detail-photo {
	display: block;
	width: 100%;
	max-width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
}
.cta-banner {
	background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
}
.ibtdara-service-card-icon {
	width: 75px;
	height: 75px;
	object-fit: contain;
}
.ibtdara-service-carousel-photo {
	width: 100%;
	height: 160px;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
}
.ibtdara-service-card-photo {
	width: 100%;
	height: 220px;
	object-fit: cover;
	object-position: center;
	border-radius: 0;
}
.stat-highlight {
	border-left: 4px solid var(--primary, #3b66de);
	padding-left: 1rem;
}
.blog-post-content h3 {
	margin-top: 2rem;
	margin-bottom: 1rem;
}
.blog-post-content ul {
	margin-bottom: 1.5rem;
}
.footer-links a,
.footer-links .link-hover-style-1 {
	color: rgba(255,255,255,0.75);
	text-decoration: none;
}
.footer-links a:hover,
.footer-links .link-hover-style-1:hover {
	color: #fff;
}
.whatsapp-float {
	position: fixed;
	bottom: 24px;
	right: 24px;
	z-index: 9999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 28px;
	box-shadow: 0 4px 20px rgba(37,211,102,0.5);
	transition: transform 0.2s ease;
}
.whatsapp-float:hover {
	transform: scale(1.08);
	color: #fff;
}

/* Process timeline — Porto .custom-step-item .step is position:absolute.
   Homepage carousel works because .owl-item is position:relative; static
   lists on /process/ need their own positioning context. */
.custom-step-item {
	position: relative;
}

/* Static process list: flex layout keeps badges beside each step heading */
.process-steps .custom-step-item {
	display: flex;
	flex-wrap: nowrap;
	align-items: flex-start;
}

.process-steps .custom-step-item .step {
	position: relative;
	top: auto;
	left: auto;
	flex: 0 0 70px;
	text-align: center;
}

.process-steps .custom-step-item .step-content {
	margin-left: 10px;
	flex: 1;
	min-width: 0;
}

/* Ibtdara photography — consistent crops outside hero slider */
.ibtdara-page-photo {
	width: 100%;
	max-height: 520px;
	object-fit: cover;
	object-position: center;
}

.ibtdara-blog-thumb {
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
	object-position: center;
}

.testimonial .custom-rounded-image {
	width: 100%;
	max-width: 160px;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: center;
}

/* Your Journey — foreign investor setup timeline */
.journey-section {
	position: relative;
	background: linear-gradient(165deg, #0f1528 0%, #1a2545 42%, #141d35 100%);
	overflow: hidden;
}

.journey-section::before {
	content: "";
	position: absolute;
	inset: 0;
	background:
		radial-gradient(ellipse 80% 50% at 20% 10%, rgba(59, 102, 222, 0.08) 0%, transparent 55%),
		radial-gradient(ellipse 60% 40% at 85% 70%, rgba(59, 102, 222, 0.06) 0%, transparent 50%);
	pointer-events: none;
}

.journey-section > .container {
	position: relative;
	z-index: 1;
}

.journey-hero {
	text-align: center;
	padding: 2rem 2.25rem;
	background: rgba(255, 255, 255, 0.04);
	border: 1px solid rgba(59, 102, 222, 0.28);
	border-radius: 18px;
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	box-shadow: 0 8px 32px rgba(0, 0, 0, 0.22), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.journey-hero-badge {
	display: inline-block;
	margin-bottom: 0.85rem;
	padding: 0.35rem 0.9rem;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: #3b66de;
	background: rgba(59, 102, 222, 0.14);
	border: 1px solid rgba(59, 102, 222, 0.35);
	border-radius: 999px;
}

.journey-heading {
	font-size: clamp(1.5rem, 3vw, 2.05rem);
	letter-spacing: 0.01em;
}

.journey-intro {
	font-size: 1.05rem;
	line-height: 1.7;
	max-width: 720px;
	margin-left: auto;
	margin-right: auto;
}

.journey-timeline {
	position: relative;
	max-width: 1140px;
	margin: 0 auto;
	padding: 1rem 0 2.5rem;
}

.journey-start {
	display: none;
}

.journey-row {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 1.5rem 1.25rem;
	margin-bottom: 0.25rem;
}

.journey-row--reverse {
	flex-direction: row-reverse;
}

.journey-row--gov {
	gap: 1.25rem 0.85rem;
}

.journey-gov-band {
	position: relative;
	margin: 0.75rem 0 1rem;
	padding: 2.75rem 1.25rem 1.5rem;
	background: rgba(59, 102, 222, 0.06);
	border: 1px solid rgba(59, 102, 222, 0.18);
	border-radius: 20px;
	box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.journey-gov-label {
	position: absolute;
	top: 0;
	left: 50%;
	transform: translate(-50%, -50%);
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.45rem 1.1rem;
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: rgba(255, 255, 255, 0.9);
	background: linear-gradient(135deg, #2a4eb8 0%, #3b66de 100%);
	border-radius: 999px;
	box-shadow: 0 4px 16px rgba(59, 102, 222, 0.35);
	white-space: nowrap;
}

.journey-gov-label i {
	font-size: 0.85rem;
	opacity: 0.9;
}

.journey-step {
	position: relative;
	flex: 1 1 280px;
	max-width: 340px;
	min-width: 260px;
	padding-top: 1.75rem;
}

.journey-row--gov .journey-step {
	flex: 1 1 220px;
	max-width: 260px;
	min-width: 210px;
}

.journey-step-number {
	position: absolute;
	top: 0;
	left: 0.75rem;
	font-size: clamp(2.75rem, 5vw, 3.75rem);
	font-weight: 700;
	line-height: 1;
	color: rgba(255, 255, 255, 0.07);
	letter-spacing: -0.03em;
	pointer-events: none;
	z-index: 0;
}

.journey-step-card {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.85rem;
	min-height: 96px;
	padding: 1.1rem 1.15rem;
	background: rgba(255, 255, 255, 0.05);
	border: 1px solid rgba(59, 102, 222, 0.32);
	border-radius: 16px;
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	box-shadow:
		0 4px 24px rgba(0, 0, 0, 0.18),
		inset 0 1px 0 rgba(255, 255, 255, 0.07),
		0 0 0 0 rgba(59, 102, 222, 0);
	transition: border-color 0.25s ease, background 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.journey-step-card:hover {
	border-color: rgba(59, 102, 222, 0.75);
	background: rgba(59, 102, 222, 0.1);
	box-shadow:
		0 8px 32px rgba(0, 0, 0, 0.24),
		inset 0 1px 0 rgba(255, 255, 255, 0.1),
		0 0 20px rgba(59, 102, 222, 0.22);
	transform: translateY(-2px);
}

.journey-step--gov .journey-step-card {
	border-color: rgba(59, 102, 222, 0.42);
	background: rgba(255, 255, 255, 0.06);
}

.journey-step-body {
	flex: 1;
	min-width: 0;
}

.journey-step-title {
	font-size: 0.95rem;
	font-weight: 600;
	color: #fff;
	line-height: 1.35;
	margin: 0 0 0.4rem;
}

.journey-row--gov .journey-step-title {
	font-size: 0.88rem;
}

.journey-step-desc {
	font-size: 0.78rem;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.62);
	margin: 0;
}

.journey-row--gov .journey-step-desc {
	font-size: 0.74rem;
}

.journey-step-icon {
	flex: 0 0 52px;
	width: 52px;
	height: 52px;
	display: flex;
	align-items: center;
	justify-content: center;
	color: #fff;
	font-size: 1.2rem;
	background: linear-gradient(145deg, rgba(59, 102, 222, 0.55) 0%, rgba(59, 102, 222, 0.25) 100%);
	border: 1px solid rgba(59, 102, 222, 0.55);
	border-radius: 50%;
	box-shadow: 0 0 16px rgba(59, 102, 222, 0.25), inset 0 1px 0 rgba(255, 255, 255, 0.15);
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.journey-step-card:hover .journey-step-icon {
	box-shadow: 0 0 22px rgba(59, 102, 222, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.2);
	transform: scale(1.05);
}

.journey-turn {
	position: relative;
	height: 56px;
	max-width: 1140px;
	margin: 0 auto 0.35rem;
	border: 2px solid rgba(59, 102, 222, 0.38);
	border-top: none;
	box-shadow: 0 0 10px rgba(59, 102, 222, 0.08);
}

.journey-turn--right {
	border-left: none;
	border-radius: 0 0 56px 0;
	margin-left: auto;
	width: min(52%, 500px);
}

.journey-turn--left {
	border-right: none;
	border-radius: 0 0 0 56px;
	margin-right: auto;
	width: min(52%, 500px);
}

.journey-turn-dot {
	position: absolute;
	bottom: -6px;
	width: 12px;
	height: 12px;
	background: #3b66de;
	border: 2px solid rgba(255, 255, 255, 0.25);
	border-radius: 50%;
	box-shadow: 0 0 10px rgba(59, 102, 222, 0.65);
}

.journey-turn--right .journey-turn-dot {
	left: -1px;
}

.journey-turn--left .journey-turn-dot {
	right: -1px;
}

.journey-finish {
	display: flex;
	justify-content: flex-end;
	align-items: center;
	max-width: 1140px;
	margin: 0.75rem auto 0;
	padding-right: 0.5rem;
	color: #3b66de;
	font-size: 1.65rem;
	opacity: 0.9;
}

.journey-finish i {
	padding: 0.5rem;
	background: rgba(59, 102, 222, 0.12);
	border: 1px solid rgba(59, 102, 222, 0.35);
	border-radius: 50%;
	box-shadow: 0 0 16px rgba(59, 102, 222, 0.25);
}

.journey-disclaimer {
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.1);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.journey-disclaimer p {
	color: rgba(255, 255, 255, 0.75);
}

@media (min-width: 992px) {
	.journey-start {
		display: block;
		max-width: 1140px;
		margin: 0 auto 0.5rem;
		padding-left: calc(16.666% - 6px);
	}

	.journey-start-dot {
		display: block;
		width: 14px;
		height: 14px;
		background: #3b66de;
		border: 2px solid rgba(255, 255, 255, 0.3);
		border-radius: 50%;
		box-shadow: 0 0 12px rgba(59, 102, 222, 0.7);
	}

	.journey-row .journey-step:not(:last-child)::after {
		content: "";
		position: absolute;
		top: calc(50% + 0.875rem);
		width: calc(1.25rem + 0.5vw);
		height: 2px;
		background: linear-gradient(90deg, rgba(59, 102, 222, 0.55), rgba(59, 102, 222, 0.25));
		transform: translateY(-50%);
		z-index: 0;
	}

	.journey-row .journey-step:not(:last-child)::before {
		content: "";
		position: absolute;
		top: calc(50% + 0.875rem);
		width: 8px;
		height: 8px;
		background: rgba(59, 102, 222, 0.5);
		border-radius: 50%;
		transform: translateY(-50%);
		z-index: 0;
	}

	.journey-row--forward .journey-step:not(:last-child)::after {
		right: -0.85rem;
	}

	.journey-row--forward .journey-step:not(:last-child)::before {
		right: calc(-0.85rem + 1.25rem);
	}

	.journey-row--reverse .journey-step:not(:last-child)::after {
		left: -0.85rem;
	}

	.journey-row--reverse .journey-step:not(:last-child)::before {
		left: calc(-0.85rem + 1.25rem);
	}
}

@media (max-width: 991px) {
	.journey-hero {
		padding: 1.5rem 1.25rem;
		text-align: left;
	}

	.journey-row,
	.journey-row--reverse {
		flex-direction: column;
		align-items: stretch;
		gap: 0;
	}

	.journey-gov-band {
		margin: 1.5rem 0 1rem;
		padding: 2.5rem 1rem 0.5rem 2.75rem;
	}

	.journey-gov-label {
		font-size: 0.7rem;
		padding: 0.4rem 0.85rem;
	}

	.journey-step {
		flex: 1 1 auto;
		max-width: none;
		min-width: 0;
		padding-top: 0;
		padding-left: 2.75rem;
		padding-bottom: 1.75rem;
	}

	.journey-row--gov .journey-step {
		flex: 1 1 auto;
		max-width: none;
		min-width: 0;
	}

	.journey-step-number {
		top: 0.15rem;
		left: 2.75rem;
		font-size: 2.25rem;
	}

	.journey-turn {
		display: none;
	}

	.journey-timeline::before {
		content: "";
		position: absolute;
		top: 0.5rem;
		bottom: 3rem;
		left: 1.15rem;
		width: 2px;
		background: linear-gradient(180deg, #3b66de 0%, rgba(59, 102, 222, 0.35) 100%);
		box-shadow: 0 0 8px rgba(59, 102, 222, 0.2);
	}

	.journey-step::after {
		content: "";
		position: absolute;
		top: 1.35rem;
		left: 0.55rem;
		width: 12px;
		height: 12px;
		background: #3b66de;
		border: 2px solid rgba(255, 255, 255, 0.25);
		border-radius: 50%;
		box-shadow: 0 0 10px rgba(59, 102, 222, 0.5);
		z-index: 2;
	}

	.journey-step:last-child {
		padding-bottom: 0.5rem;
	}

	.journey-finish {
		justify-content: flex-start;
		padding-left: 2.75rem;
		padding-right: 0;
		margin-top: 0;
	}
}

/* Homepage hero headline — white over parallax photo (outside .ibtdara-hero-text) */
.custom-section-hero h1,
.custom-section-hero h1.custom-text-background,
.custom-section-hero h1 .text-color-dark,
.custom-section-hero h1 span {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
	background-image: none !important;
	-webkit-background-clip: border-box !important;
	background-clip: border-box !important;
}

/* Homepage hero — pure white text on dark parallax photo */
.custom-section-hero .ibtdara-hero-text,
.custom-section-hero .ibtdara-hero-text strong,
.custom-section-hero .ibtdara-hero-text p,
.custom-section-hero .ibtdara-hero-text .text-color-dark,
.custom-section-hero .ibtdara-hero-text h1,
.custom-section-hero .ibtdara-hero-text h2,
.custom-section-hero .ibtdara-hero-text h3,
.custom-section-hero .ibtdara-hero-text span,
.custom-section-hero .ibtdara-hero-text a:not(.btn) {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.custom-section-hero .ibtdara-hero-text .custom-highlight-text-1:before {
	border-bottom-color: rgba(255, 255, 255, 0.4);
	opacity: 1;
}

.custom-section-hero .ibtdara-hero-text .btn-dark {
	background-color: transparent !important;
	border-color: #ffffff !important;
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff !important;
}

.custom-section-hero .ibtdara-hero-text .btn-dark:hover,
.custom-section-hero .ibtdara-hero-text .btn-dark:focus {
	background-color: #ffffff !important;
	border-color: #ffffff !important;
	color: #333333 !important;
	-webkit-text-fill-color: #333333 !important;
}
