/* ===== TIMELINE SECTION STYLES ===== */
.ntl2-section {
	background: #fff;
	padding: 120px 0 150px;
}

/* ---- Heading ---- */
.ntl2-title {
	font-weight: 800;
	font-size: clamp(1.2rem, 3vw, 2rem);
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #1a1a1a;
	text-align: center;
	margin-bottom: 6px;
}

.ntl2-underline {
	width: 48px;
	height: 3px;
	background: #1a1a1a;
	margin: 0 auto 75px;
}

/* Icon color classes */
.ntl2-yellow {
	background: #f5c842;
}

.ntl2-salmon {
	background: #e8836a;
}

.ntl2-green {
	background: #5ecb8d;
}

.ntl2-blue {
	background: #5cb8e4;
}

.ntl2-purple {
	background: #a78bcc;
}

/* =============================================
   DESKTOP HORIZONTAL LAYOUT  (>=992px)
============================================= */
.ntl2-desktop {
	display: none;
}

@media (min-width: 992px) {
	.ntl2-desktop {
		display: block;
	}

	.ntl2-mobile {
		display: none !important;
	}

	.ntl2-track {
		position: relative;
		width: 100%;
	}

	.ntl2-hline {
		position: absolute;
		left: 0;
		right: 0;
		top: calc(160px + 18px + 26px);
		height: 2px;
		background: #e0e0e0;
		z-index: 0;
	}

	.ntl2-items {
		display: flex;
		align-items: flex-start;
		position: relative;
		z-index: 1;
	}

	.ntl2-item {
		flex: 1;
		display: flex;
		flex-direction: column;
		align-items: center;
	}

	.ntl2-top {
		height: 160px;
		display: flex;
		flex-direction: column;
		justify-content: flex-end;
		align-items: center;
		text-align: center;
		padding-bottom: 10px;
		width: 140px;
	}

	.ntl2-bottom {
		height: 160px;
		display: flex;
		flex-direction: column;
		justify-content: flex-start;
		align-items: center;
		text-align: center;
		padding-top: 10px;
		width: 140px;
		gap: 4px;
	}

	.ntl2-vline {
		width: 2px;
		height: 18px;
		background: #e0e0e0;
		flex-shrink: 0;
	}

	.ntl2-icon {
		width: 52px;
		height: 52px;
		border-radius: 50%;
		display: flex;
		align-items: center;
		justify-content: center;
		flex-shrink: 0;
		position: relative;
		z-index: 2;
	}

	.ntl2-icon svg {
		width: 22px;
		height: 22px;
		fill: #fff;
	}

	.ntl2-photo {
		width: 72px;
		height: 72px;
		border-radius: 50%;
		background: #d5d5d5;
		border: 3px solid #fff;
		box-shadow: 0 2px 10px rgba(0, 0, 0, 0.14);
		display: flex;
		align-items: center;
		justify-content: center;
		overflow: hidden;
		flex-shrink: 0;
	}

	.ntl2-photo svg {
		width: 38px;
		height: 38px;
		fill: #aaa;
	}

	.ntl2-num {
		font-size: 2.2rem;
		font-weight: 800;
		color: #1a1a1a;
		line-height: 1;
	}

	.ntl2-label {
		font-size: 15px;
		font-weight: 700;
		letter-spacing: 0.04em;

	}

	.ntl2-desc {
		font-size: 12px;
		color: #000;
		line-height: 1.55;
	}

	.ntl2-year {
		font-size: 0.82rem;
		font-weight: 700;
		color: #1a1a1a;
		margin: 3px 0;
	}
}

/* =============================================
   MOBILE / TABLET VERTICAL LAYOUT (<992px)
============================================= */
.ntl2-mobile {
	position: relative;
	padding-left: 28px;
}

.ntl2-mobile::before {
	content: '';
	position: absolute;
	left: 39px;
	top: 0;
	bottom: 0;
	width: 2px;
	background: #e0e0e0;
	z-index: 0;
}

.ntl2-mob-item {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 28px;
	position: relative;
	z-index: 1;
}

.ntl2-mob-item:last-child {
	margin-bottom: 0;
}

.ntl2-mob-icon {
	width: 44px;
	height: 44px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	margin-left: -10px;
	position: relative;
	z-index: 2;
	box-shadow: 0 0 0 4px #fff;
}

.ntl2-mob-icon svg {
	width: 18px;
	height: 18px;
	fill: #fff;
}

.ntl2-mob-card {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 14px;
	background: #fafafa;
	border: 1px solid #f0f0f0;
	border-radius: 12px;
	padding: 14px 16px;
}

.ntl2-mob-photo {
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #d5d5d5;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}

.ntl2-mob-photo svg {
	width: 28px;
	height: 28px;
	fill: #aaa;
}

.ntl2-mob-text {
	flex: 1;
	min-width: 0;
}

.ntl2-mob-num {

	font-weight: 800;
	font-size: 1.4rem;
	color: #1a1a1a;
	line-height: 1;
}

.ntl2-mob-label {

	font-weight: 700;
	font-size: 0.78rem;
	color: #1a1a1a;
	margin: 2px 0 1px;
	letter-spacing: 0.03em;
}

.ntl2-mob-year {

	font-size: 0.7rem;
	font-weight: 600;
	color: #bbb;
	margin-bottom: 4px;
}

.ntl2-mob-desc {
	font-size: 0.68rem;
	color: #999;
	line-height: 1.5;
}

/* Extra small screens */
@media (max-width: 400px) {
	.ntl2-section {
		padding: 120px 0 150px;
	}

	.ntl2-mob-card {
		padding: 10px 12px;
		gap: 10px;
	}

	.ntl2-mob-photo {
		width: 44px;
		height: 44px;
	}

	.ntl2-mob-photo svg {
		width: 22px;
		height: 22px;
	}

	.ntl2-mob-num {
		font-size: 1.1rem;
	}

	.ntl2-mob-desc {
		font-size: 0.62rem;
	}
}

/* ===== TIMELINE SECTION STYLES END===== */

/* ============================================
   DUBAI INVEST SECTION 
============================================ */
:root {
	--dbi-gold: #bda588;
	--dbi-gold-light: #E8C97A;
	--dbi-gold-dim: rgba(201, 168, 76, 0.15);
	--dbi-dark: #eeeeee;
	--dbi-dark2: #141414;
	--dbi-dark3: #1C1C1C;
	--dbi-border: rgba(201, 168, 76, 0.2);
	--dbi-text: #000;
	--dbi-black: #000;
}

.dbi-section {
	background: var(--dbi-dark);
	padding: 90px 0 80px;
	position: relative;
	overflow: hidden;
}

/* Subtle background texture lines */
.dbi-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		repeating-linear-gradient(90deg,
			transparent,
			transparent 80px,
			rgba(201, 168, 76, 0.03) 80px,
			rgba(201, 168, 76, 0.03) 81px);
	pointer-events: none;
	z-index: 0;
}

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

/* ---- Badge ---- */
.dbi-badge {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--dbi-gold-dim);
	border: 1px solid var(--dbi-border);
	border-radius: 30px;
	padding: 6px 18px;
	font-size: 0.72rem;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--dbi-gold);
	margin-bottom: 20px;
}

.dbi-badge-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--dbi-gold);
	animation: dbi-pulse 2s infinite;
}

@keyframes dbi-pulse {

	0%,
	100% {
		opacity: 1;
		transform: scale(1);
	}

	50% {
		opacity: 0.4;
		transform: scale(1.4);
	}
}

/* ---- Heading ---- */
.dbi-heading {
	font-size: clamp(2rem, 4vw, 3.4rem);
	font-weight: 700;
	color: var(--dbi-white);
	line-height: 1.15;
	margin-bottom: 18px;
}

.dbi-heading span {
	color: var(--dbi-gold);
	font-style: italic;
}

.dbi-subtext {
	font-size: 0.92rem;
	color: var(--dbi-text);
	line-height: 1.75;
	max-width: 460px;
	margin-bottom: 36px;
}

/* ---- CTA Button ---- */
.dbi-cta {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: var(--dbi-gold);
	color: #0D0D0D;
	font-weight: 600;
	font-size: 0.85rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	padding: 14px 30px;
	border-radius: 4px;
	border: none;
	text-decoration: none;
	cursor: pointer;
	transition: background 0.25s, transform 0.2s, box-shadow 0.25s;
	box-shadow: 0 4px 24px rgba(201, 168, 76, 0.3);
}

.dbi-cta svg {
	width: 16px;
	height: 16px;
	transition: transform 0.2s;
}

/* ---- Stats row ---- */
.dbi-stats {
	display: flex;
	gap: 32px;
	flex-wrap: wrap;
	margin-top: 44px;
	padding-top: 32px;
	border-top: 1px solid var(--dbi-border);
}

.dbi-stat-num {
	font-size: 2rem;
	font-weight: 700;
	color: var(--dbi-gold);
	line-height: 1;
}

.dbi-stat-label {
	font-size: 0.72rem;
	color: var(--dbi-text);
	letter-spacing: 0.06em;
	text-transform: uppercase;
	margin-top: 4px;
}

/* ---- Right: Reasons Grid ---- */
.dbi-reasons-wrap {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.dbi-reason-card {
	display: flex;
	align-items: flex-start;
	gap: 18px;
	background: #fff;
	border: 1px solid var(--dbi-border);
	border-radius: 10px;
	padding: 22px 24px;
	transition: border-color 0.28s, background 0.28s, transform 0.22s;
	cursor: default;
	position: relative;
	overflow: hidden;
}

.dbi-reason-card::after {
	content: '';
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	width: 3px;
	background: var(--dbi-gold);
	opacity: 0;
	transition: opacity 0.25s;
	border-radius: 10px 0 0 10px;
}


/* Staggered entrance animation */
.dbi-reason-card {
	opacity: 0;
	transform: translateX(30px);
	transition: border-color 0.28s, background 0.28s, transform 0.22s, opacity 0.5s, box-shadow 0.25s;
}

.dbi-reason-card.dbi-visible {
	opacity: 1;
	transform: translateX(0);
}

.dbi-reason-card:hover {
	transform: translateX(4px);
}

.dbi-reason-icon {
	width: 46px;
	height: 46px;
	border-radius: 10px;
	background: var(--dbi-gold-dim);
	border: 1px solid var(--dbi-border);
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.dbi-reason-icon svg {
	width: 22px;
	height: 22px;
	fill: var(--dbi-gold);
}

.dbi-reason-body {
	flex: 1;
}

.dbi-reason-title {
	font-size: 0.9rem;
	font-weight: 600;
	color: #bda588;
	margin-bottom: 4px;
	line-height: 1.3;
}

.dbi-reason-desc {
	font-size: 0.78rem;
	color: #000;
	line-height: 1.6;
	margin: 0;
}

.dbi-reason-num {
	font-size: 1.5rem;
	font-weight: 700;
	color: #bda588;
	line-height: 1;
	flex-shrink: 0;
	align-self: center;
	min-width: 32px;
	text-align: right;
}

/* ---- Image mosaic (right col inner) ---- */
.dbi-img-mosaic {
	position: relative;
	height: 100%;
	min-height: 380px;
	border-radius: 14px;
	overflow: hidden;
	display: none;
	/* shown on lg+ via JS/media */
}

/* Divider line */
.dbi-col-divider {
	border-left: 1px solid var(--dbi-border);
	padding-left: 40px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
	.dbi-section {
		padding: 60px 0 60px;
	}

	.dbi-col-divider {
		border-left: none;
		padding-left: 0;
		margin-top: 40px;
	}

	.dbi-subtext {
		max-width: 100%;
	}

	.dbi-stats {
		gap: 24px;
	}
}

@media (max-width: 575px) {
	.dbi-section {
		padding: 50px 0 50px;
	}

	.dbi-heading {
		font-size: 2rem;
	}

	.dbi-reason-card {
		padding: 16px 18px;
		gap: 14px;
	}

	.dbi-reason-icon {
		width: 38px;
		height: 38px;
	}

	.dbi-reason-icon svg {
		width: 18px;
		height: 18px;
	}

	.dbi-stats {
		gap: 20px;
	}

	.dbi-stat-num {
		font-size: 1.6rem;
	}
}

/* ============================================
   DUBAI INVEST SECTION END
============================================ */

/* =============================================
   DUBAI 2040 STRATEGY 
============================================= */
*,
*::before,
*::after {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

:root {
	--d40-sand: #E8DCC8;
	--d40-gold: #bda588;
	--d40-gold2: #bda588;
	--d40-steel: #173e62;
	--d40-steel2: #173e62;
	--d40-steel3: #173e62;
	--d40-teal: #2A7B7B;
	--d40-teal2: #bda588;
	--d40-cream: #F4EFE6;
	--d40-muted: #fff;
	--d40-border: rgba(184, 145, 42, 0.22);
	--d40-bordergray: rgba(255, 255, 255, 0.08);
}


/* =============================================
   HERO BAND
============================================= */
.d40-hero {
	background: #173e62;
	position: relative;
	overflow: hidden;
	padding: 100px 0 80px;
}

/* Geometric grid overlay */
.d40-hero::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--d40-bordergray) 1px, transparent 1px),
		linear-gradient(90deg, var(--d40-bordergray) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

/* Glowing orb */
.d40-hero::after {
	content: '';
	position: absolute;
	width: 600px;
	height: 600px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(184, 145, 42, 0.12) 0%, transparent 70%);
	top: -150px;
	right: -100px;
	pointer-events: none;
}

.d40-hero-inner {
	position: relative;
	z-index: 2;
}

.d40-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-size: 0.7rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--d40-gold2);
	margin-bottom: 22px;
}

.d40-eyebrow-line {
	width: 32px;
	height: 1px;
	background: var(--d40-gold2);
}

.d40-hero-title {
	font-size: clamp(2.4rem, 5vw, 4.2rem);
	font-weight: 800;
	color: var(--d40-cream);
	line-height: 1.1;
	margin-bottom: 24px;
}

.d40-hero-title em {
	font-style: italic;
	color: var(--d40-gold2);
}

.d40-hero-desc {
	font-size: 1rem;
	color: #fff;
	line-height: 1.75;
	max-width: 520px;
	margin-bottom: 0;
}

/* Stat pills */
.d40-hero-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 44px;
}

.d40-stat-pill {
	background: #173e62;
	border: 1px solid #bda588;
	border-radius: 8px;
	padding: 14px 22px;
	text-align: center;
}

.d40-stat-pill .val {
	font-size: 1.7rem;
	font-weight: 700;
	color: var(--d40-gold2);
	line-height: 1;
	display: block;
}

.d40-stat-pill .lbl {
	font-size: 0.65rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--d40-muted);
	display: block;
	margin-top: 5px;
}

/* Right: big number display */
.d40-hero-year {
	font-size: clamp(6rem, 14vw, 11rem);
	font-weight: 800;
	color: transparent;
	-webkit-text-stroke: 1px #bda588;
	line-height: 1;
	text-align: right;
	user-select: none;
	letter-spacing: -0.02em;
}

.d40-hero-tagline {
	font-size: 0.8rem;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--d40-muted);
	text-align: right;
	margin-top: 10px;
}

/* =============================================
   URBAN MASTER PLAN SECTION
============================================= */
.d40-urban {
	background: var(--d40-cream);
	padding: 80px 0;
}

.d40-section-label {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 14px;
}

.d40-section-label span {
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.16em;
	text-transform: uppercase;
	color: var(--d40-gold);
}

.d40-section-label::after {
	content: '';
	flex: 1;
	height: 1px;
	background: rgba(184, 145, 42, 0.3);
}

.d40-section-title {
	font-size: clamp(1.6rem, 3vw, 2.6rem);
	font-weight: 700;
	color: var(--d40-steel);
	line-height: 1.2;
	margin-bottom: 40px;
}

/* Urban stat blocks */
.d40-urban-stat {
	background: var(--d40-steel);
	border-radius: 12px;
	padding: 28px 24px;
	height: 100%;
	position: relative;
	overflow: hidden;
	transition: transform 0.25s;
}

.d40-urban-stat:hover {
	transform: translateY(-4px);
}

.d40-urban-stat::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--d40-gold), var(--d40-teal2));
}

.d40-urban-stat .big-num {
	font-size: 2.8rem;
	font-weight: 800;
	color: var(--d40-gold2);
	line-height: 1;
	margin-bottom: 6px;
}

.d40-urban-stat .stat-label {
	font-size: 0.78rem;
	color: var(--d40-muted);
	line-height: 1.5;
}

.d40-urban-stat .stat-detail {
	font-size: 13px;
	color: #fff;
	margin-top: 8px;
	padding-top: 8px;
	border-top: 1px solid var(--d40-bordergray);
}

/* Urban centers grid */
.d40-centers-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 10px;
	margin-top: 32px;
}

.d40-center-tag {
	background: var(--d40-steel);
	border: 1px solid var(--d40-border);
	border-radius: 8px;
	padding: 16px 12px;
	text-align: center;
	transition: background 0.2s, border-color 0.2s;
	cursor: default;
}

.d40-center-tag:hover {
	background: var(--d40-steel2);
	border-color: rgba(184, 145, 42, 0.5);
}

.d40-center-tag .c-num {
	font-size: 1.1rem;
	font-weight: 700;
	color: var(--d40-gold2);
	display: block;
	margin-bottom: 6px;
}

.d40-center-tag .c-name {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--d40-sand);
	line-height: 1.4;
}

/* =============================================
   OBJECTIVES + INITIATIVES — Two-tone split
============================================= */
.d40-oi-section {
	background: var(--d40-steel2);
	padding: 80px 0;
}

.d40-obj-list {
	list-style: none;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.d40-obj-list li {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	background: var(--d40-steel3);
	border: 1px solid var(--d40-bordergray);
	border-radius: 10px;
	padding: 18px 20px;
	font-size: 0.88rem;
	color: var(--d40-sand);
	line-height: 1.5;
	transition: border-color 0.2s, transform 0.2s;
}

.d40-obj-list li:hover {
	border-color: var(--d40-border);
	transform: translateX(4px);
}

.d40-obj-icon {
	width: 28px;
	height: 28px;
	border-radius: 6px;
	background: linear-gradient(135deg, var(--d40-gold), var(--d40-gold2));
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
}

.d40-obj-icon svg {
	width: 14px;
	height: 14px;
	fill: #fff;
}

/* Initiatives — teal accent */
.d40-init-card {
	background: var(--d40-steel3);
	border: 1px solid rgba(42, 123, 123, 0.25);
	border-radius: 12px;
	padding: 22px 22px;
	height: 100%;
	position: relative;
	overflow: hidden;
	transition: border-color 0.25s, transform 0.22s;
}

.d40-init-card:hover {
	border-color: rgba(54, 160, 160, 0.5);
	transform: translateY(-3px);
}

.d40-init-card::after {
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 2px;
	background: linear-gradient(90deg, var(--d40-teal), var(--d40-teal2));
	opacity: 0;
	transition: opacity 0.25s;
}

.d40-init-card:hover::after {
	opacity: 1;
}

.d40-init-icon {
	width: 44px;
	height: 44px;
	border-radius: 10px;
	background: rgba(42, 123, 123, 0.2);
	border: 1px solid rgba(42, 123, 123, 0.3);
	display: flex;
	align-items: center;
	justify-content: center;
	margin-bottom: 14px;
}

.d40-init-icon svg {
	width: 20px;
	height: 20px;
	fill: var(--d40-teal2);
}

.d40-init-title {
	font-size: 16px;
	font-weight: 700;
	color: var(--d40-cream);
	margin-bottom: 6px;
}

.d40-init-desc {
	font-size: 13px;
	color: var(--d40-muted);
	line-height: 1.6;
}

/* =============================================
   TIMELINE 2026–2040
============================================= */
.d40-timeline-section {
	background: var(--d40-steel);
	padding: 80px 0 100px;
	position: relative;
	overflow: hidden;
}

.d40-timeline-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(var(--d40-bordergray) 1px, transparent 1px),
		linear-gradient(90deg, var(--d40-bordergray) 1px, transparent 1px);
	background-size: 60px 60px;
	pointer-events: none;
}

/* Horizontal scroll track */
.d40-tl-track {
	position: relative;
	z-index: 1;
}

/* Progress bar line */
.d40-tl-line-wrap {
	position: relative;
	height: 2px;
	background: var(--d40-steel3);
	border-radius: 2px;
	margin: 48px 0 0;
}

.d40-tl-line-fill {
	position: absolute;
	left: 0;
	top: 0;
	bottom: 0;
	background: linear-gradient(90deg, var(--d40-gold), var(--d40-teal2));
	border-radius: 2px;
	width: 16%;
	/* 2026 start */
	transition: width 1.2s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Year nodes */
.d40-tl-nodes {
	display: flex;
	justify-content: space-between;
	position: relative;
	z-index: 2;
	margin-top: -10px;
}

.d40-tl-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	cursor: pointer;
	flex: 1;
}

.d40-tl-dot {
	width: 20px;
	height: 20px;
	border-radius: 50%;
	border: 2px solid var(--d40-steel3);
	background: var(--d40-steel);
	transition: background 0.25s, border-color 0.25s, transform 0.2s;
	position: relative;
	z-index: 2;
	flex-shrink: 0;
}

.d40-tl-node:hover .d40-tl-dot,
.d40-tl-node.active .d40-tl-dot {
	background: var(--d40-gold2);
	border-color: var(--d40-gold2);
	transform: scale(1.35);
}

.d40-tl-year {
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	color: var(--d40-muted);
	margin-top: 10px;
	transition: color 0.2s;
}

.d40-tl-node:hover .d40-tl-year,
.d40-tl-node.active .d40-tl-year {
	color: var(--d40-gold2);
}

/* Detail cards below timeline */
.d40-tl-cards {
	display: flex;
	gap: 16px;
	margin-top: 40px;
	overflow-x: auto;
	padding-bottom: 8px;
	scrollbar-width: thin;
	scrollbar-color: var(--d40-border) transparent;
}

.d40-tl-cards::-webkit-scrollbar {
	height: 4px;
}

.d40-tl-cards::-webkit-scrollbar-track {
	background: transparent;
}

.d40-tl-cards::-webkit-scrollbar-thumb {
	background: var(--d40-border);
	border-radius: 2px;
}

.d40-tl-card {
	min-width: 220px;
	flex: 1;
	background: var(--d40-steel2);
	border: 1px solid #bda588;
	border-radius: 14px;
	padding: 24px 22px;
	position: relative;
	overflow: hidden;
	transition: border-color 0.25s, transform 0.22s;
	cursor: default;
}

.d40-tl-card .card-year {
	font-size: 2rem;
	font-weight: 800;
	color: transparent;
	-webkit-text-stroke: 1px #bda588;
	line-height: 1;
	margin-bottom: 16px;
}

.d40-tl-card .card-year.highlight {
	-webkit-text-stroke: 1px var(--d40-gold2);
}

.d40-tl-card .card-row {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 8px 0;
	border-bottom: 1px solid var(--d40-bordergray);
}

.d40-tl-card .card-row:last-child {
	border-bottom: none;
}

.d40-tl-card .cr-label {
	font-size: 0.65rem;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: var(--d40-muted);
}

.d40-tl-card .cr-val {
	font-size: 0.78rem;
	font-weight: 600;
	color: var(--d40-sand);
	text-align: right;
	max-width: 120px;
}

.span-pop {
	display: none;
}

/* Phase badge */
.d40-phase-badge {
	display: inline-block;
	font-size: 0.6rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	padding: 4px 10px;
	border-radius: 20px;
	margin-top: 12px;
}

.phase-correction {
	background: #bda588;
	color: #ffffff;
}

.phase-recovery {
	background: #bda588;
	color: #ffffff;
}

.phase-expansion {
	background: #bda588;
	color: #ffffff;
}

.phase-maturity {
	background: #bda588;
	color: #ffffff;
}

.phase-vision {
	background: #bda588;
	color: #ffffff;
}

/* =============================================
   RESPONSIVE
============================================= */
@media (max-width: 991px) {
	.d40-hero {
		padding: 70px 0 60px;
	}

	.d40-hero-year {
		text-align: left;
		font-size: clamp(5rem, 18vw, 7rem);
	}

	.d40-hero-tagline {
		text-align: left;
	}

	.d40-urban {
		padding: 60px 0;
	}

	.d40-oi-section {
		padding: 60px 0;
	}

	.d40-timeline-section {
		padding: 60px 0 70px;
	}

	.d40-centers-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 575px) {
	.d40-centers-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.d40-hero-stats {
		flex-direction: column;
		gap: 10px;
	}

	.d40-stat-pill {
		display: flex;
		align-items: center;
		gap: 14px;
		text-align: left;
	}

	.d40-tl-card {
		min-width: 180px;
		padding: 18px 16px;
	}

	.d40-tl-card .card-year {
		font-size: 1.5rem;
	}

	.d40-tl-year {
		font-size: 0.65rem;
	}
}

@media (max-width:768px) {
	.span-pop {
		display: flex !important;
	}
}

/* Entrance animations */
.d40-fade-up {
	opacity: 0;
	transform: translateY(28px);
	transition: opacity 0.6s ease, transform 0.6s ease;
}

.d40-fade-up.visible {
	opacity: 1;
	transform: translateY(0);
}

/* =============================================
   DUBAI 2040 STRATEGY END
============================================= */

/* =============================================
  Top Areas to Invest in Dubai
============================================= */

:root {
	--di-bg: #eeeeee;
	--di-navy: #173e62;
	--di-tan: #bda588;
	--di-card: #ffffff;
	--di-card-hover: #f8f5f1;
	--di-text: #173e62;
	--di-light: #e4ddd6;
}

/* ── SECTION SHELL ── */
.di-section {
	background: var(--di-bg);
	padding: 100px 0 120px;
	position: relative;
	overflow: hidden;
}

/* Subtle dot pattern */
.di-section::before {
	content: '';
	position: absolute;
	inset: 0;
	background-image: radial-gradient(circle, rgba(23, 62, 98, 0.07) 1px, transparent 1px);
	background-size: 28px 28px;
	pointer-events: none;
	z-index: 0;
}

/* ── HEADER ── */
.di-header {
	position: relative;
	z-index: 2;
	margin-bottom: 80px;
	padding: 0 20px;
}

.di-pretitle {
	font-size: 10px;
	letter-spacing: 5px;
	text-transform: uppercase;
	color: var(--di-tan);
	font-weight: 500;
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 14px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease, transform 0.8s ease;
}

.di-pretitle.di-in {
	opacity: 1;
	transform: none;
}

.di-pretitle::before,
.di-pretitle::after {
	content: '';
	flex: 0 0 40px;
	height: 1px;
	background: linear-gradient(90deg, transparent, var(--di-tan));
}

.di-pretitle::after {
	background: linear-gradient(270deg, transparent, var(--di-tan));
}

.di-title {
	font-size: 78px !important;
	font-weight: 400 !important;
	color: var(--di-navy) !important;
	line-height: 1.05 !important;
	letter-spacing: -1px !important;
	opacity: 0 !important;
	transform: translateY(30px) !important;
	transition: opacity 0.9s ease 0.15s, transform 0.9s ease 0.15s !important;
}

.di-title.di-in {
	opacity: 1 !important;
	transform: none !important;
}

.di-title em {
	font-style: italic;
	color: var(--di-tan);
}

.di-subtitle {
	font-size: 15px;
	color: var(--di-muted);
	font-weight: 300;
	line-height: 1.7;
	max-width: 420px;
	margin-top: 20px;
	opacity: 0;
	transform: translateY(20px);
	transition: opacity 0.8s ease 0.3s, transform 0.8s ease 0.3s;
}

.di-subtitle.di-in {
	opacity: 1;
	transform: none;
}

/* ── ITEM ROW ── */
.di-item {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1fr 1fr;
	min-height: 460px;
	margin-bottom: 16px;
	opacity: 0;
	transform: translateY(60px);
	transition: opacity 0.9s cubic-bezier(0.22, 1, 0.36, 1), transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
	overflow: hidden;
	box-shadow: 0 4px 24px rgba(23, 62, 98, 0.08);
}

.di-item.di-in {
	opacity: 1;
	transform: none;
}

.di-item:hover {
	box-shadow: 0 12px 48px rgba(23, 62, 98, 0.14);
}

/* ── IMAGE SIDE ── */
.di-img-side {
	position: relative;
	overflow: hidden;
}

.di-img-side img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.65) saturate(0.85);
	transform: scale(1.1);
	transition: transform 1.4s cubic-bezier(0.22, 1, 0.36, 1), filter 0.8s ease;
}

.di-item.di-in .di-img-side img {
	transform: scale(1);
}

.di-item:hover .di-img-side img {
	filter: brightness(0.78) saturate(1.05);
	transform: scale(1.03);
}

/* Gradient bleed into white card */
.di-img-side::after {
	content: '';
	position: absolute;
	inset: 0;
	background: linear-gradient(100deg, transparent 30%, #012e56 100%);
	z-index: 1;
}

/* Number watermark */
.di-img-index {
	position: absolute;
	bottom: -30px;
	left: -5px;
	font-size: 220px;
	font-weight: 700;
	color: rgba(255, 255, 255, 0.1);
	line-height: 1;
	z-index: 2;
	pointer-events: none;
	transition: color 0.6s;
}

.di-item:hover .di-img-index {
	color: rgba(189, 165, 136, 0.15);
}

/* Location badge */
.di-badge {
	position: absolute;
	top: 28px;
	left: 28px;
	z-index: 3;
	background: rgba(23, 62, 98, 0.82);
	backdrop-filter: blur(14px);
	border: 1px solid rgba(189, 165, 136, 0.35);
	padding: 7px 15px;
	display: flex;
	align-items: center;
	gap: 8px;
	border-radius: 2px;
}

.di-badge span {
	font-size: 10px;
	letter-spacing: 2.5px;
	text-transform: uppercase;
	color: var(--di-tan);
	font-weight: 500;
}

.di-dot {
	width: 5px;
	height: 5px;
	background: var(--di-tan);
	border-radius: 50%;
	animation: blink 2s ease-in-out infinite;
}

@keyframes blink {

	0%,
	100% {
		opacity: 1
	}

	50% {
		opacity: 0.3
	}
}

/* ── CONTENT SIDE ── */
.di-content-side {
	background: var(--di-card);
	padding: 54px 60px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	position: relative;
	overflow: hidden;
	transition: background 0.4s ease;
}

.di-item:hover .di-content-side {
	background: var(--di-card-hover);
}

/* Navy top corner shape */
.di-content-side::before {
	content: '';
	position: absolute;
	top: 0;
	right: 0;
	width: 120px;
	height: 120px;
	background: radial-gradient(circle at top right, rgba(23, 62, 98, 0.05) 0%, transparent 70%);
	opacity: 0;
	transition: opacity 0.5s ease;
	pointer-events: none;
}

.di-item:hover .di-content-side::before {
	opacity: 1;
}

/* Tan top-left sweep bar */
.di-content-side::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 0;
	height: 3px;
	background: linear-gradient(90deg, var(--di-navy), var(--di-tan), transparent);
	transition: width 0.65s cubic-bezier(0.22, 1, 0.36, 1);
}

.di-item:hover .di-content-side::after {
	width: 65%;
}

.di-num {
	font-size: 10px;
	letter-spacing: 3.5px;
	text-transform: uppercase;
	color: var(--di-tan);
	opacity: 0.9;
	margin-bottom: 14px;
	font-weight: 500;
}

.di-name {
	font-size: clamp(28px, 3vw, 44px);
	font-weight: 400;
	color: var(--di-navy);
	line-height: 1.1;
	margin-bottom: 22px;
	letter-spacing: -0.5px;
	transition: color 0.3s;
}

.di-item:hover .di-name {
	color: #0e2b47;
}

.di-line {
	width: 36px;
	height: 2px;
	background: linear-gradient(90deg, var(--di-tan), transparent);
	margin-bottom: 22px;
	transition: width 0.5s ease;
}

.di-item:hover .di-line {
	width: 68px;
}

.di-desc {
	font-size: 14.5px;
	color: var(--di-muted);
	font-weight: 300;
	line-height: 1.8;
	margin-bottom: 28px;
	transition: color 0.3s;
}

.di-item:hover .di-desc {
	color: #4a5e6e;
}

.di-best-label {
	font-size: 9px;
	letter-spacing: 3.5px;
	text-transform: uppercase;
	color: var(--di-navy);
	font-weight: 600;
	margin-bottom: 12px;
	opacity: 0.55;
}

.di-pills {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 36px;
}

.di-pill {
	font-size: 12px;
	padding: 5px 14px;
	background: rgba(23, 62, 98, 0.05);
	border: 1px solid rgba(23, 62, 98, 0.15);
	color: var(--di-navy);
	border-radius: 100px;
	font-weight: 400;
	letter-spacing: 0.3px;
	transition: all 0.35s ease;
}

.di-item:hover .di-pill {
	background: var(--di-navy);
	border-color: var(--di-navy);
	color: #fff;
}

/* CTA */
.di-cta {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	font-size: 11px;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--di-navy);
	text-decoration: none;
	font-weight: 600;
	opacity: 0.4;
	transition: opacity 0.35s, gap 0.35s;
	width: fit-content;
}

.di-item:hover .di-cta {
	opacity: 1;
	gap: 18px;
}

.di-cta-bar {
	width: 28px;
	height: 2px;
	background: var(--di-tan);
	transition: width 0.35s ease;
}

.di-item:hover .di-cta-bar {
	width: 44px;
}

/* ── REVERSED ── */
.di-item.di-rev .di-img-side {
	order: 2;
}

.di-item.di-rev .di-content-side {
	order: 1;
}

.di-item.di-rev .di-img-side::after {
	background: linear-gradient(100deg, transparent 30%, #012e56 100%);
}

.di-item.di-rev .di-content-side::after {
	left: auto;
	right: 0;
	background: linear-gradient(270deg, var(--di-navy), var(--di-tan), transparent);
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {

	.di-item,
	.di-item.di-rev {
		grid-template-columns: 1fr;
		min-height: auto;
	}

	.di-img-side {
		min-height: 280px;
		order: 1 !important;
	}

	.di-content-side {
		order: 2 !important;
		padding: 36px 30px;
	}

	.di-img-side::after {
		background: linear-gradient(180deg, transparent 45%, #ffffff 100%) !important;
	}

	.di-item .di-content-side::after,
	.di-item.di-rev .di-content-side::after {
		left: 0 !important;
		right: auto !important;
		background: linear-gradient(90deg, var(--di-navy), var(--di-tan), transparent) !important;
	}

	.di-img-index {
		font-size: 140px;
	}
}

@media (max-width: 576px) {
	.di-section {
		padding: 60px 0 80px;
	}

	.di-content-side {
		padding: 28px 22px;
	}

	.di-name {
		font-size: 28px;
	}
}

/* =============================================
   Top Areas to Invest in Dubai END
============================================= */