:root {
	--bg: #f2f6fb;
	--bg-alt: #e7eef9;
	--card: #ffffff;
	--primary: #2267ff;
	--primary-dark: #0f47ca;
	--text: #1d2333;
	--muted: #5f6a8a;
	--border: #d7dfef;
	font-size: 16px;
}

/* Local font-face (placeholders). After downloading WOFF2 files into /fonts/, these will be used.
	 Replace or add weights as needed. */
@font-face {
	font-family: 'InterLocal';
	src: url('fonts/Inter-Regular.woff2') format('woff2');
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'InterLocal';
	src: url('fonts/Inter-Medium.woff2') format('woff2');
	font-weight: 500;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: 'RajdhaniLocal';
	src: url('fonts/Rajdhani-Bold.woff2') format('woff2');
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}

/* Use local font families when available, falling back to Google-hosted or system fonts */
body { font-family: 'InterLocal', 'Inter', Arial, sans-serif; }
h1, h2, h3, h4, h5, h6, .brand { font-family: 'RajdhaniLocal', 'Rajdhani', Arial, sans-serif; }

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
}

body {
	font-family: "Inter", Arial, sans-serif;
	color: var(--text);
	background: var(--bg);
	line-height: 1.7;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	overflow-x: hidden;
}

/* Use Rajdhani for headings and brand */
h1, h2, h3, h4, h5, h6, .brand {
	font-family: "Rajdhani", Arial, sans-serif;
}

/* Ensure the hero heading explicitly uses Rajdhani */
.hero h1.rajdhani {
	font-family: "Rajdhani", Arial, sans-serif;
}

a {
	text-decoration: none;
	color: inherit;
}

img {
	max-width: 100%;
	display: block;
}

.container {
	width: min(1120px, 92vw);
	margin: 0 auto;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 10;
	background: rgba(242, 246, 251, 0.8);
	backdrop-filter: blur(12px);
	transition: box-shadow 0.2s ease, background-color 0.2s ease;
}

.site-header .container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 1.25rem 0;
}

.site-header.is-scrolled {
	background: rgba(242, 246, 251, 0.95);
	box-shadow: 0 10px 30px rgba(15, 36, 66, 0.12);
}

.brand {
	display: flex;
	align-items: center;
	flex-direction: row;
	flex-wrap: nowrap;
	white-space: nowrap;
	gap: 0;
	font-weight: 800;
	letter-spacing: 0.04em;
	color: var(--primary);
	font-size: 1em;
}

.brand-text {
	display: inline-flex;
	align-items: baseline;
	line-height: 1;
	margin-left: 0.5rem;
	font-size: 1em;
}

.brand-logo {
	width: 3.08rem;
	height: 3.08rem;
	margin-right: 0.6rem;
	display: block;
	object-fit: contain;
	flex-shrink: 0;
}

/* Brand parts: make 'e-cont' black and keep suffix colored */
.brand .brand-name {
	color: #000 !important;
}
.brand .brand-suffix {
	color: var(--primary);
}
/* Focus outlines for keyboard users */
a:focus-visible, button:focus-visible, .cta:focus-visible {
	outline: 3px solid rgba(34,103,255,0.18);
	outline-offset: 3px;
}

/* Mobile nav toggle */
.nav-toggle {
	display: none;
	background: transparent;
	border: 0;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	cursor: pointer;
}
.nav-toggle .hamburger {
	display: block;
	width: 22px;
	height: 2px;
	background: var(--text);
	position: relative;
}
.nav-toggle .hamburger::before,
.nav-toggle .hamburger::after {
	content: "";
	position: absolute;
	left: 0;
	width: 22px;
	height: 2px;
	background: var(--text);
}
.nav-toggle .hamburger::before { top: -7px; }
.nav-toggle .hamburger::after { top: 7px; }

@media (max-width: 720px) {
	.nav-toggle { display: flex; }
	.main-nav { display: none; }
	.site-header.is-open .main-nav {
		display: flex;
		position: absolute;
		left: 0;
		right: 0;
		top: 100%;
		background: var(--bg);
		padding: 1rem;
		flex-direction: column;
		gap: 0.75rem;
		border-bottom: 1px solid var(--border);
	}
}

/* Ensure hero heading class matches Rajdhani weight */
.hero h1.rajdhani { font-weight: 700; }

/* Slightly increase footer contrast for readability */
.site-footer { background: #0f1720; }

.main-nav {
	display: flex;
	gap: 1.75rem;
	font-weight: 600;
	color: var(--muted);
}

.main-nav a:hover {
	color: var(--primary);
}

.cta {
	padding: 0.7rem 1.5rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff;
	font-weight: 600;
	box-shadow: 0 10px 22px rgba(34, 103, 255, 0.24);
	transition: transform 0.2s ease;
}

.cta:hover {
	transform: translateY(-2px);
}

.hero {
	position: relative;
	padding: 9rem 0 7rem;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.82), rgba(242, 246, 251, 0.94)),
		url("https://images.unsplash.com/photo-1581091215367-59ab6d27053b?auto=format&fit=crop&w=1400&q=80")
			center/cover;
	overflow: hidden;
}

.hero-overlay {
	position: absolute;
	inset: 0;
	background: linear-gradient(135deg, rgba(34, 103, 255, 0.08), rgba(255, 255, 255, 0.9));
}

.hero .container {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 1.5rem;
	max-width: 620px;
}

.hero-tag {
	display: inline-flex;
	align-items: center;
	gap: 0.5rem;
	padding: 0.35rem 0.9rem;
	border-radius: 999px;
	border: 1px solid rgba(34, 103, 255, 0.3);
	text-transform: uppercase;
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.28em;
	color: var(--primary);
	background: rgba(255, 255, 255, 0.72);
}

.hero h1 {
	font-size: clamp(2.8rem, 5vw, 3.75rem);
	font-weight: 800;
	line-height: 1.12;
	color: #111427;
}

.hero h1 span {
	color: var(--primary);
}

.hero p {
	color: var(--muted);
	font-size: 1.05rem;
}

.hero-actions {
	display: flex;
	gap: 1rem;
}

.hero-actions a {
	padding: 0.85rem 1.8rem;
	border-radius: 999px;
	font-weight: 600;
	transition: all 0.2s ease;
}

.hero-actions .primary {
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff;
	box-shadow: 0 20px 35px rgba(34, 103, 255, 0.22);
}

.hero-actions .primary:hover {
	transform: translateY(-3px);
}

.hero-actions .secondary {
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(34, 103, 255, 0.18);
	color: var(--muted);
}

.hero-actions .secondary:hover {
	color: var(--primary);
}

.section-heading {
	text-align: center;
	max-width: 700px;
	margin: 0 auto 3rem;
}

.section-heading h2 {
	font-size: clamp(2rem, 4vw, 2.6rem);
	font-weight: 800;
	margin-bottom: 0.75rem;
}

.section-heading p {
	color: var(--muted);
}

.expertise {
	padding: 6rem 0;
	background: linear-gradient(180deg, rgba(231, 238, 249, 0.8), rgba(242, 246, 251, 0.4));
}

.expertise .grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 1.5rem;
}

.expertise article {
	background: var(--card);
	border-radius: 20px;
	padding: 2rem;
	border: 1px solid rgba(215, 223, 239, 0.7);
	box-shadow: 0 24px 48px rgba(12, 33, 67, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.expertise article:hover {
	transform: translateY(-6px);
	box-shadow: 0 28px 60px rgba(12, 33, 67, 0.1);
}

.expertise .icon {
	font-size: 2rem;
	margin-bottom: 1rem;
}

.expertise h3 {
	font-size: 1.25rem;
	font-weight: 700;
	margin-bottom: 0.75rem;
	color: #1a2138;
}

.expertise p {
	color: var(--muted);
	font-size: 0.98rem;
}

.solutions {
	padding: 6rem 0;
}

.solutions .container {
	display: grid;
	gap: 3rem;
	align-items: center;
	grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.solutions h2 {
	font-size: clamp(2.1rem, 4vw, 2.75rem);
	font-weight: 800;
	margin-bottom: 1.5rem;
}

.solutions h2 span {
	color: var(--primary);
}

.solutions p {
	color: var(--muted);
	margin-bottom: 2rem;
}

.solutions ul {
	display: flex;
	flex-direction: column;
	gap: 0.85rem;
	list-style: none;
}

.solutions li {
	padding: 1rem 1.25rem;
	background: var(--card);
	border-radius: 16px;
	border: 1px solid rgba(215, 223, 239, 0.7);
	box-shadow: 0 18px 36px rgba(12, 33, 67, 0.08);
	font-weight: 600;
	color: #28314c;
}

.solutions-card {
	position: relative;
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(242, 246, 251, 0.9));
	border-radius: 28px;
	border: 1px solid rgba(215, 223, 239, 0.8);
	padding: 2.5rem;
	box-shadow: 0 30px 60px rgba(12, 33, 67, 0.09);
	overflow: hidden;
}

.solutions-card::before {
	content: "";
	position: absolute;
	inset: 18px;
	border-radius: 24px;
	border: 1px dashed rgba(34, 103, 255, 0.18);
}

.card-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 1.25rem;
}

.card-grid .cell {
	aspect-ratio: 1 / 1;
	border-radius: 18px;
	background: rgba(34, 103, 255, 0.08);
	border: 1px solid rgba(34, 103, 255, 0.12);
}

.floating-card {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -35%);
	background: #fff;
	border-radius: 18px;
	padding: 1.1rem 1.6rem;
	display: flex;
	flex-direction: column;
	gap: 0.2rem;
	align-items: center;
	text-align: center;
	box-shadow: 0 25px 45px rgba(34, 103, 255, 0.2);
	border: 1px solid rgba(34, 103, 255, 0.18);
}

.floating-card span {
	font-size: 0.85rem;
	font-weight: 700;
	color: var(--primary);
	text-transform: uppercase;
	letter-spacing: 0.12em;
}

.floating-card strong {
	font-size: 0.95rem;
	color: #22304d;
}

.projects {
	padding: 6rem 0;
	background: linear-gradient(180deg, rgba(242, 246, 251, 0.4), rgba(231, 238, 249, 0.8));
}

.project-grid {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 2rem;
}

.project-card {
	position: relative;
	border-radius: 24px;
	overflow: hidden;
	min-height: 340px;
	box-shadow: 0 28px 50px rgba(12, 33, 67, 0.12);
}

.project-card img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transform: scale(1.02);
	transition: transform 0.3s ease;
}

.project-card:hover img {
	transform: scale(1.08);
}

.card-overlay {
	position: absolute;
	inset: 0;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	padding: 1.5rem;
	background: linear-gradient(0deg, rgba(9, 17, 36, 0.75), transparent 60%);
	color: #fff;
}

.project-card .card-overlay span {
	align-self: flex-start;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-size: 0.85rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.08em;
	color: #fff !important;
	background-color: #2f74ff !important;
	background-image: linear-gradient(135deg, #2f74ff, #1c56d8) !important;
	padding: 0.28rem 0.75rem;
	border-radius: 999px;
	box-shadow: 0 8px 16px rgba(18, 78, 200, 0.35);
}

.card-overlay h3 {
	font-size: 1.35rem;
	font-weight: 700;
	margin-top: 0.6rem;
}

.site-footer {
	background: #162132;
	color: rgba(255, 255, 255, 0.8);
	padding-top: 3.5rem;
}

.site-footer .container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 2.5rem;
	align-items: start;
	padding-bottom: 3rem;
}

.site-footer .brand {
	color: #fff;
}

.footer-contact a {
	color: #fff;
	font-weight: 700;
	display: inline-block;
	margin-top: 0.5rem;
}

.footer-cta .primary {
	display: inline-block;
	margin-top: 1rem;
	padding: 0.8rem 1.6rem;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--primary), var(--primary-dark));
	color: #fff;
	font-weight: 700;
}

.footer-bottom {
	text-align: center;
	padding: 1.2rem 0;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	font-size: 0.85rem;
}

.bottom-zoom {
	position: relative;
	height: 150vh;
	--zoom-scale: 1;
	--zoom-max: 30;
	--zoom-progress: 0;
}

.bottom-image {
	width: 100vw;
	height: 100vh;
	position: sticky;
	top: 0;
	left: 0;
	right: 0;
	margin-left: 0;
	margin-right: 0;
	background: url('zoominimage.jpeg') center/cover fixed no-repeat;
	isolation: isolate;
	overflow: hidden;
}

.bottom-image .overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transform: scale(var(--zoom-scale));
	transform-origin: center;
	opacity: 1;
}

.bottom-image .overlay .text {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 0;
	width: 100%;
}

.bottom-image .overlay .line {
	font-size: clamp(16vmin, 24vmin, 32vmin);
	font-family: 'InterLocal', 'Inter', Arial, sans-serif;
	font-weight: 800;
	line-height: 0.9;
	color: transparent;
	text-align: center;
	letter-spacing: -0.02em;
	width: 100%;
}

.bottom-image .overlay .line:nth-child(2) {
	color: #1b1f61;
	position: relative;
	width: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.bottom-image .overlay .line-your {
	position: relative;
	width: 100%;
	height: 1em;
}

.bottom-image .overlay .line-your::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	width: clamp(42vmin, 84vmin, 162vmin);
	height: clamp(10.35vmin, 20.7vmin, 36.8vmin);
	pointer-events: none;
	z-index: 1;
	background: transparent;
}

.cutout-svg {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	z-index: 1;
	pointer-events: none;
	transform: scale(var(--zoom-scale));
	transform-origin: center;
}
.zoom-logo-block {
	position: absolute;
	left: 50%;
	top: 50%;
	transform: translate(-50%, -50%);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 0.85rem;
	text-align: center;
	z-index: 3;
	pointer-events: none;
	opacity: var(--zoom-progress);
	transition: opacity 0.05s linear;
}

.zoom-logo {
	width: min(43.8vw, 393px);
	height: auto;
	display: block;
}

.logo-text {
	text-align: center;
	width: min(80vw, 900px);
}

.logo-title {
	font-family: "RajdhaniLocal", "Rajdhani", Arial, sans-serif;
	font-weight: 700;
	letter-spacing: 0.12em;
	font-size: clamp(6.3rem, 11.55vw, 9.1875rem);
	color: #ffffff;
}

.logo-subtitle {
	margin-top: 0.35rem;
	font-family: "RajdhaniLocal", "Rajdhani", Arial, sans-serif;
	font-weight: 600;
	letter-spacing: 0.14em;
	font-size: clamp(1.5rem, 3vw, 2.375rem);
	color: #ffffff;
	white-space: nowrap;
	text-align: center;
}

.cutout-fill {
	fill: #1b1f61;
	opacity: 1;
}

.cutout-text {
	font-family: 'InterLocal', 'Inter', Arial, sans-serif;
	font-weight: 800;
	font-size: clamp(16vmin, 24vmin, 32vmin);
	letter-spacing: -0.02em;
}

.bottom-image .overlay .y-letter {
	position: absolute;
	left: calc(61% - 1.2em);
	transform: translateX(-100%);
	z-index: 2;
}

.bottom-image .overlay .o-letter {
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	z-index: 2;
}

.bottom-image .overlay .ur-letters {
	position: absolute;
	left: calc(39% + 1.25em);
	transform: translateX(0%);
	z-index: 2;
}

.bottom-image .overlay .y-letter,
.bottom-image .overlay .o-letter,
.bottom-image .overlay .ur-letters {
	color: #1b1f61;
}

@media (max-width: 720px) {
	.main-nav {
		display: none;
	}

	.cta {
		display: none;
	}

	.hero {
		padding: 6.5rem 0 5rem;
	}

	.hero-actions {
		width: 100%;
		flex-direction: column;
	}

	.hero-actions a {
		width: 100%;
		text-align: center;
	}

	.floating-card {
		transform: translate(-50%, -40%) scale(0.88);
	}

	.project-card {
		min-height: 280px;
	}
	
	.bottom-image .overlay .line {
		font-size: clamp(20vmin, 28vmin, 40vmin);
	}

	.bottom-zoom {
		height: 200vh;
	}
}
