/* MJKST site overrides (homepage) — loaded after style.css */

:root {
	--mj-header: #0b36a9;
	--mj-navy-deep: #061a45;
	--mj-navy: #0a2f73;
	--mj-blue: #1565c0;
	--mj-blue-bright: #1e6fd9;
	--mj-red: #d81e1e;
	--mj-red-hover: #e53935;
	--mj-page-bg: #f2f6fb;
	--mj-text: #142d52;
}

/* Native scrolling only — no CSS smooth-scroll lag */
html {
	scroll-behavior: auto;
}

body.mjkst-theme {
	font-family: "Montserrat", system-ui, -apple-system, sans-serif;
	background: var(--mj-page-bg);
	color: var(--mj-text);
}

body.mjkst-theme h1,
body.mjkst-theme h2,
body.mjkst-theme h3,
body.mjkst-theme h4,
body.mjkst-theme h5,
body.mjkst-theme h6,
body.mjkst-theme a,
body.mjkst-theme span,
body.mjkst-theme button,
body.mjkst-theme input,
body.mjkst-theme select,
body.mjkst-theme textarea {
	font-family: "Montserrat", system-ui, -apple-system, sans-serif;
}

.top_header_banner.header-sky {
	background: var(--mj-header) !important;
	background-image: none !important;
}

.top_header_banner.header-sky #navigation.site-navigation {
	background: transparent !important;
}

.top_header_banner.header-sky #navigation.navbar-fixed {
	background: var(--mj-header) !important;
}

.top_header_banner.header-sky #main-menu ul li a {
	color: rgba(255, 255, 255, 0.95) !important;
	transition: color 0.45s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.top_header_banner.header-sky #main-menu ul li a:hover,
.top_header_banner.header-sky #main-menu ul li a:focus {
	color: var(--mj-red-hover) !important;
}

.top_header_banner.header-sky #sm_menu_ham span,
.top_header_banner.header-sky #sm_menu_ham.open span {
	background-color: #fff !important;
}

#our-work,
#impact {
	scroll-margin-top: 100px;
}

.top_header_banner.header-sky #navigation .container {
	max-width: 100%;
	margin-left: 0 !important;
	margin-right: auto;
	padding-left: 1.25rem;
	padding-right: 1.25rem;
}

.top_header_banner.header-sky #navigation .row {
	justify-content: flex-start;
	align-items: center;
}

.top_header_banner.header-sky .col-20 {
	flex: 0 0 auto;
	width: auto !important;
	max-width: none;
	padding-right: 0 !important;
}

.top_header_banner.header-sky .col-60 {
	flex: 0 0 auto;
	width: auto;
	max-width: none;
	padding-left: 0 !important;
}

.top_header_banner.header-sky .col-60.d-flex {
	justify-content: flex-start !important;
}

.top_header_banner.header-sky #main-menu ul {
	justify-content: flex-start;
	margin-bottom: 0;
	padding-left: 0;
	margin-left: 0;
}

.top_header_banner.header-sky #main-menu ul li {
	padding-left: 6px;
	padding-right: 6px;
}

.top_header_banner.header-sky #main-menu ul li:first-child {
	padding-left: 0;
}

.top_header_banner.header-sky .site-logo {
	width: auto !important;
	max-width: max-content;
	margin-right: 0.75rem;
}

.top_header_banner.header-sky .site-logo a {
	width: auto;
	line-height: 0;
}

.top_header_banner.header-sky .site-logo img {
	display: block;
	width: 64px;
	height: 64px;
	object-fit: contain;
	border-radius: 50%;
}

.site-main.home-main {
	background: var(--mj-page-bg);
}

.home-hero-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100vh - 100px);
	padding: 2rem 1.5rem;
	background: radial-gradient(ellipse 120% 80% at 50% 40%, #e8f0fa 0%, var(--mj-page-bg) 55%, #e6edf7 100%);
	overflow: visible;
}

.home-hero-logo .home-hero-logo__parallax {
	display: block;
	margin-top: 3rem;
}

@keyframes home-bg-logo-spin {
	from {
		transform: rotate(0deg) translateZ(0);
	}
	to {
		transform: rotate(360deg) translateZ(0);
	}
}

.home-hero-logo .home-hero-logo__parallax img {
	display: block;
	width: auto;
	max-width: min(96vw, 800px);
	height: auto;
	object-fit: contain;
	opacity: 0.2;
	transform-origin: center center;
	backface-visibility: hidden;
	will-change: transform;
	animation: home-bg-logo-spin 48s linear infinite;
}

@media (prefers-reduced-motion: reduce) {
	.home-hero-logo .home-hero-logo__parallax img {
		animation: none;
	}
}

.mjkst-section-block {
	max-width: 900px;
	margin: 0 auto;
	padding: 4rem 1.25rem;
}

.mjkst-section-block__title {
	font-size: clamp(1.5rem, 4vw, 2rem);
	font-weight: 600;
	color: var(--mj-navy);
	margin: 0 0 1rem;
}

.mjkst-section-block__lead {
	font-size: 1.05rem;
	line-height: 1.7;
	color: var(--mj-text);
	opacity: 0.95;
	margin: 0;
}

body.mjkst-theme .sm_menu_outer {
	background: linear-gradient(180deg, var(--mj-navy-deep) 0%, var(--mj-navy) 100%);
}

body.mjkst-theme .sm_menu_outer.slide .mobile_menu .sub-menu {
	background-color: var(--mj-navy);
}

body.mjkst-theme .sm_menu_outer .mobile_menu a:hover,
body.mjkst-theme .sm_menu_outer .mobile_menu a:focus {
	color: var(--mj-red-hover);
}

.mjkst-footer {
	/* Same as header: --mj-header (#0b36a9) */
	background-color: var(--mj-header);
	background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.07'/%3E%3C/svg%3E");
	color: rgba(255, 255, 255, 0.92);
	contain: layout style;
}

.mjkst-footer__inner {
	max-width: 1140px;
	margin: 0 auto;
	padding: 3.25rem 1.25rem 3.5rem;
}

.mjkst-footer__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.25rem;
}

@media (min-width: 992px) {
	.mjkst-footer__grid {
		grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1fr);
		gap: 2rem 2.5rem;
		align-items: start;
	}

	.mjkst-footer__col--reg {
		border-right: 1px solid rgba(255, 255, 255, 0.14);
		padding-right: 2rem;
		margin-right: 0.25rem;
	}
}

.mjkst-footer__title {
	font-family: "Fredoka", "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 0.95rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	margin: 0 0 1.1rem;
	line-height: 1.35;
}

.mjkst-footer__text {
	font-family: "Montserrat", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.65;
	color: rgba(255, 255, 255, 0.88);
	margin: 0 0 1rem;
}

.mjkst-footer__text:last-child {
	margin-bottom: 0;
}

.mjkst-footer__list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.mjkst-footer__list li {
	margin: 0 0 0.55rem;
}

.mjkst-footer__list li:last-child {
	margin-bottom: 0;
}

.mjkst-footer__list a {
	font-family: "Montserrat", sans-serif;
	font-size: 0.875rem;
	font-weight: 400;
	color: rgba(255, 255, 255, 0.88) !important;
	text-decoration: none;
	transition: color 0.4s cubic-bezier(0.25, 0.1, 0.25, 1);
}

.mjkst-footer__list a:hover,
.mjkst-footer__list a:focus {
	color: #fff !important;
}

.mjkst-footer__copyright-wrap {
	max-width: 1140px;
	margin: 0 auto;
	padding: 1rem 1.25rem 1.75rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.mjkst-footer__copyright {
	margin: 0;
	font-family: "Montserrat", system-ui, sans-serif;
	font-size: 0.8125rem;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255, 255, 255, 0.68);
	text-align: center;
}

.mjkst-footer__copyright-name {
	font-weight: 600;
	color: rgba(255, 255, 255, 0.92);
}

/* Required by template style.css (.navbar-fixed) — was provided by animate.css */
@keyframes fadeInDown {
	from {
		opacity: 0;
		transform: translate3d(0, -20px, 0);
	}
	to {
		opacity: 1;
		transform: translate3d(0, 0, 0);
	}
}
