@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
	font-family: 'Inter', sans-serif;
	background-color: #95AECB;
	color: #fff;
	margin: 0px !important;
}

.description {

	font-size: 80px;
	font-weight: 700;
	line-height: 92px;

}

h1 {

	font-size: 24px;

}

h2 {

	font-size: 150px;
	font-weight: 800;
	z-index: 100px;
}

h5 {

	font-size: 16px;
	font-weight: 400;
	z-index: 100px;
}

img.project {

	width: 100%;

}

.itemHeader {

	z-index: 100 !important;
	position: relative;

}

.itemContent {

	padding-left: 0px;
	margin-right: 0px;
	margin-top: -90px;
	z-index: -1;

}

.modal {

	color: #333;
}

.modal blackquote {

	color: #333;
	font-size: 18px;
	max-width: 800px;
	display: block;
	font-weight: 200;
}

.modal p {

	max-width: 800px;
	margin-bottom: 8px;

}

.modal img {

	width:  100% !important;

}

.modal ul {
	list-style: none;
	padding-left: 0px;
	margin: 0; 
	padding: 0; 
}

.modal ul li {

	margin-bottom: 4px;
}


.modal a {

	color:  #FF867E;
	font-size: 18px;
	text-decoration: none;
	margin-bottom:  1px solid grey;

}

.modal a.careem {
	color:  #6FB86C;
}

.modal-title {
	margin-left: 16px;
}

.case-study-card {
	padding: 32px;
	border:  4px solid grey;
}

@media only screen and (max-width: 600px) {
	.description {

		font-size: 40px;
		font-weight: 700;
		line-height: 48px;

	}

	h1 {

		font-size: 18px;

	}

	h2 {

		font-size: 48px;
		font-weight: 800;
		z-index: 100px;
	}

	.itemContent {

		padding-left: 0px;
		margin-right: 0px !important;
		padding: 0px !important;
		margin-top: -30px;
		z-index: -1;

}
}

/* ============================================
   PROJECT VIEW — SPA subpage overlay
   ============================================ */

body.project-open {
	overflow: hidden;
}

.project-view {
	position: fixed;
	inset: 0;
	z-index: 9999;
	background-color: #242424;
	color: #fff;
	transform: translateY(100%);
	transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
	display: flex;
	flex-direction: column;
}

.project-view.is-open {
	transform: translateY(0);
}

/* Back button — fixed inside overlay */
.back-btn {
	position: absolute;
	top: 24px;
	left: 24px;
	z-index: 10;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	border: 2px solid rgba(255, 255, 255, 0.55);
	background: rgba(255, 255, 255, 0.18);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	padding: 0;
	flex-shrink: 0;
	transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.back-btn:hover {
	background: rgba(255, 255, 255, 0.32);
	border-color: rgba(255, 255, 255, 0.9);
	transform: scale(1.07);
}

.back-btn:active {
	transform: scale(0.93);
}

/* Scrollable area */
.project-scroll-area {
	flex: 1;
	overflow-y: auto;
	overflow-x: hidden;
}

/* Hero with parallax title */
.project-hero {
	height: 68vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	position: relative;
}

.project-hero-inner {
	width: 100%;
	padding: 0 40px 32px;
}

.project-hero-title {
	font-size: 150px;
	font-weight: 800;
	color: #fff;
	line-height: 1;
	margin: 0;
	will-change: transform;
}

/* Two-column content area */
.project-content-area {
	display: flex;
	align-items: flex-start;
	gap: 8.33%;
	padding-bottom: 80px;
}

/* Sticky description sidebar — 1/4 width */
.project-sidebar {
	width: 25%;
	flex-shrink: 0;
	padding: 88px 40px 56px 40px;
	position: sticky;
	top: 0;
	align-self: flex-start;
}

.sidebar-description {
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.9);
	font-weight: 300;
}

/* Right column — takes remaining space after sidebar + gap */
.project-screens {
	flex: 1;
	min-width: 0;
	padding-right: 40px;
}

/* Reset Bootstrap grid inside screens */
.project-screens .container {
	max-width: 100% !important;
	padding: 0 !important;
	margin: 0 !important;
}

.project-screens .row {
	--bs-gutter-x: 0;
	margin-right: 0 !important;
	margin-left: 0 !important;
}

.project-screens [class*="col"] {
	padding: 0 !important;
	width: 100% !important;
	max-width: 100% !important;
	flex: 0 0 100% !important;
	margin-left: 0 !important;
}

/* Override Bootstrap spacing utilities inside screens */
.project-screens .mt-5,
.project-screens .mt-3 { margin-top: 0 !important; }

.project-screens .mb-5,
.project-screens .mb-3,
.project-screens .mb-1 { margin-bottom: 0 !important; }

/* Images and video — full bleed */
.project-screens img,
.project-screens video {
	width: 100% !important;
	display: block;
}

/* Text sections inside screens */
.project-screens h3 {
	font-size: 26px;
	font-weight: 700;
	color: #fff;
	padding: 56px 0 10px;
	margin: 0;
}

.project-screens blackquote {
	display: block;
	font-size: 15px;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.88);
	font-weight: 300;
	padding: 0 0 32px;
	max-width: 100%;
}

.project-screens p {
	font-size: 15px;
	color: rgba(255, 255, 255, 0.88);
	padding: 0 0 16px;
	margin: 0;
}

.project-screens ul {
	list-style: none;
	padding: 8px 0 32px;
	margin: 0;
}

.project-screens ul li {
	margin-bottom: 6px;
}

.project-screens a {
	color: #fff;
	font-size: 15px;
	text-decoration: underline;
	text-underline-offset: 3px;
	text-decoration-color: rgba(255, 255, 255, 0.45);
	transition: text-decoration-color 0.15s;
}

.project-screens a:hover {
	text-decoration-color: #fff;
}

.project-screens a.careem {
	color: #fff;
}

.project-screens hr {
	border: none;
	border-top: 1px solid rgba(255, 255, 255, 0.2);
	margin: 0;
}

/* YouTube / iframe embeds keep their aspect ratio */
.project-screens div[style*="padding-bottom: 56.25%"],
.project-screens div[style*="padding-bottom:56.25%"] {
	margin-bottom: 0;
}

/* ============================================
   RESPONSIVE — project view mobile
   ============================================ */

@media only screen and (max-width: 900px) {

	.project-hero {
		height: 50vh;
	}

	.project-hero-title {
		font-size: 80px;
	}

	.project-hero-inner {
		padding: 0 24px 24px;
	}

	.project-content-area {
		flex-direction: column;
	}

	.project-sidebar {
		width: 100%;
		position: static;
		padding: 32px 24px 8px;
	}

	.sidebar-description {
		font-size: 14px;
		line-height: 1.65;
		color: rgba(255, 255, 255, 0.8);
	}

	.project-screens {
		width: 100%;
		padding-right: 0;
	}

	.project-screens h3 {
		font-size: 20px;
		font-weight: 800;
		padding: 36px 24px 8px;
	}

	.project-screens blackquote {
		font-size: 14px;
		line-height: 1.65;
		padding: 0 24px 20px;
	}

	.project-screens p {
		font-size: 14px;
		padding: 0 24px 12px;
	}

	.project-screens ul {
		padding: 6px 24px 20px;
	}

	.project-screens a {
		font-size: 14px;
	}

	.back-btn {
		top: 16px;
		left: 16px;
		width: 42px;
		height: 42px;
	}

}

@media only screen and (max-width: 600px) {

	.project-hero {
		height: 40vh;
	}

	.project-hero-title {
		font-size: 52px;
	}

}
