@import url("fontawesome-all.min.css");
@import url('https://fonts.googleapis.com/css2?family=EB+Garamond:ital,wght@0,400;0,500;0,600;0,700;1,400;1,500&display=swap');

/*
	Directive by HTML5 UP (Modified for M.H. Siddiqui & Partners)
	html5up.net | @ajlkn
	Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
*/

html, body, div, span, applet, object,
iframe, h1, h2, h3, h4, h5, h6, p, blockquote,
pre, a, abbr, acronym, address, big, cite,
code, del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var, b,
u, i, center, dl, dt, dd, ol, ul, li, fieldset,
form, label, legend, table, caption, tbody,
tfoot, thead, tr, th, td, article, aside,
canvas, details, embed, figure, figcaption,
footer, header, hgroup, menu, nav, output, ruby,
section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;}

article, aside, details, figcaption, figure,
footer, header, hgroup, menu, nav, section {
	display: block;}

body {
	line-height: 1;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

	blockquote:before, blockquote:after, q:before, q:after {
		content: '';
		content: none;
	}

table {
	border-collapse: collapse;
	border-spacing: 0;
}

body {
	-webkit-text-size-adjust: none;
}

mark {
	background-color: transparent;
	color: inherit;
}

input::-moz-focus-inner {
	border: 0;
	padding: 0;
}

input, select, textarea {
	-moz-appearance: none;
	-webkit-appearance: none;
	-ms-appearance: none;
	appearance: none;
}

/* Basic */

	html {
		box-sizing: border-box;
	}

	*, *:before, *:after {
		box-sizing: inherit;
	}

	html, body {
		height: 100%;
	}

	body {
		background: #F9F9F6; /* Ivory Base */
	}

		body.is-preload *, body.is-preload *:before, body.is-preload *:after {
			-moz-animation: none !important;
			-webkit-animation: none !important;
			-ms-animation: none !important;
			animation: none !important;
			-moz-transition: none !important;
			-webkit-transition: none !important;
			-ms-transition: none !important;
			transition: none !important;
		}

	body, input, select, textarea {
		color: #1A1A1A; /* Charcoal Text */
		font-family: 'EB Garamond', serif;
		font-size: 17pt; /* Slightly larger for Serif readability */
		font-weight: 400;
		line-height: 1.75em;
	}

	a {
		-moz-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		-webkit-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		-ms-transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		transition: color 0.2s ease-in-out, border-bottom-color 0.2s ease-in-out;
		border-bottom: dotted 1px;
		color: #C5B358; /* Champagne Gold Links */
		text-decoration: none;
	}

		a:hover {
			border-bottom-color: transparent;
		}

	strong, b {
		font-weight: 600;
		color: #0B3B24; /* Karakoram Green Bold */
	}

	em, i {
		font-style: italic;
	}

	p, ul, ol, dl, table, blockquote, form {
		margin: 0 0 2em 0;
	}

	h1, h2, h3, h4, h5, h6 {
		color: #0B3B24; /* Karakoram Green Headings */
		font-weight: 700;
		letter-spacing: 0.125em;
		line-height: 1.75em;
		margin-bottom: 1em;
		text-transform: uppercase;
		text-align: center;
	}

		h1 a, h2 a, h3 a, h4 a, h5 a, h6 a {
			color: inherit;
			text-decoration: none;
		}

	h2 {
		font-size: 1.75em;
	}

	h3 {
		font-size: 1.5em;
	}

	sub {
		font-size: 0.8em;
		position: relative;
		top: 0.5em;
	}

	sup {
		font-size: 0.8em;
		position: relative;
		top: -0.5em;
	}

	hr {
		border: 0;
		border-top: solid 1px rgba(11, 59, 36, 0.2);
		margin-bottom: 1.5em;
	}

	blockquote {
		border-left: solid 0.5em #C5B358;
		font-style: italic;
		padding: 1em 0 1em 2em;
	}

/* Container */

	.container {
		margin: 0 auto;
		max-width: 100%;
		width: 51em;
	}

		.container.medium {
			width: 45em; /* Slightly widened for Garamond */
		}

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

			.container {
				width: 48em;
			}

				.container.medium {
					width: 36em;
				}

		}

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

			.container {
				width: 95%;
			}

				.container.medium {
					width: 71.25%;
				}

		}

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

			.container {
				width: 95% !important;
			}

		}

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

			.container {
				width: 90% !important;
			}

		}

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

			.container {
				width: 100% !important;
			}

		}

/* Row (Omitted generic grid classes for brevity, keeping structure identical) */
/* The layout grid remains identical to original template to prevent breaking */

	.row { display: flex; flex-wrap: wrap; box-sizing: border-box; align-items: stretch; }
	.row > * { box-sizing: border-box; }
	.row.gtr-uniform > * > :last-child { margin-bottom: 0; }
	.row > .col-1 { width: 8.33333%; }
	.row > .col-2 { width: 16.66667%; }
	.row > .col-3 { width: 25%; }
	.row > .col-4 { width: 33.33333%; }
	.row > .col-5 { width: 41.66667%; }
	.row > .col-6 { width: 50%; }
	.row > .col-7 { width: 58.33333%; }
	.row > .col-8 { width: 66.66667%; }
	.row > .col-9 { width: 75%; }
	.row > .col-10 { width: 83.33333%; }
	.row > .col-11 { width: 91.66667%; }
	.row > .col-12 { width: 100%; }

/* Section/Article */

	section.special, article.special {
		text-align: center;
	}

	header {
		text-align: center;
	}

		header p {
			position: relative;
			top: -1em;
			color: #1A1A1A;
			text-transform: uppercase;
			letter-spacing: 0.075em;
		}

		header.major {
			border-bottom-width: 1px;
			border-color: rgba(11, 59, 36, 0.2);
			border-style: solid;
			border-top-width: 1px;
			margin-bottom: 6em;
			padding: 4em 0;
			position: relative;
		}

			header.major:before, header.major:after {
				background: rgba(11, 59, 36, 0.2);
				content: '';
				display: block;
				height: 1px;
				left: 0;
				position: absolute;
				width: 100%;
			}

			header.major:before {
				top: 10px;
			}

			header.major:after {
				bottom: 10px;
			}

			header.major h2 {
				margin: 0;
			}

			header.major p {
				top: 0;
				margin: 1.5em 0 0 0;
				padding: 1.5em 1.5em 0 1.5em;
				font-size: 1.5em;
				line-height: 1.75em;
				border-top: solid 1px rgba(11, 59, 36, 0.2);
				display: inline-block;
			}

			header.major.last {
				border-bottom: 0;
				margin-bottom: 0;
				padding-bottom: 0;
			}

				header.major.last:after {
					display: none;
				}

				header.major.last h2 {
					margin-bottom: 1em;
				}

	footer {
		text-align: center;
	}

		footer.major {
			border-bottom-width: 1px;
			border-color: rgba(11, 59, 36, 0.2);
			border-style: solid;
			border-top-width: 1px;
			margin-top: 6em;
			padding: 4em 0;
			position: relative;
		}

			footer.major:before, footer.major:after {
				background: rgba(11, 59, 36, 0.2);
				content: '';
				display: block;
				height: 1px;
				left: 0;
				position: absolute;
				width: 100%;
			}

			footer.major:before {
				top: 10px;
			}

			footer.major:after {
				bottom: 10px;
			}

/* Form */

	label {
		display: block;
		color: #0B3B24;
		font-size: 0.8em;
		font-weight: 700;
		letter-spacing: 0.125em;
		line-height: 1.75em;
		text-transform: uppercase;
		margin: 0 0 0.5em 0;
	}

	input[type="text"],
	input[type="password"],
	input[type="email"],
	select,
	textarea {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: background-color 0.2s ease-in-out;
		-webkit-transition: background-color 0.2s ease-in-out;
		-ms-transition: background-color 0.2s ease-in-out;
		transition: background-color 0.2s ease-in-out;
		background: none;
		border-radius: 4px;
		border: solid 1px rgba(11, 59, 36, 0.3);
		color: inherit;
		display: block;
		outline: 0;
		padding: 0.75em;
		text-decoration: none;
		width: 100%;
		opacity: 1;
	}

		input[type="text"]:focus,
		input[type="password"]:focus,
		input[type="email"]:focus,
		select:focus,
		textarea:focus {
			background: rgba(197, 179, 88, 0.1);
			border-color: #C5B358;
		}

/* Image */

	.image {
		border: 0;
		display: inline-block;
		position: relative;
	}

		.image:after {
			background-image: url("images/overlay.png");
			content: '';
			display: block;
			height: 100%;
			left: 0;
			opacity: 0.4; /* Darkened overlay for Warlord look */
			position: absolute;
			top: 0;
			width: 100%;
			background-color: #0B3B24; /* Green tint over generic images */
		}

		.image img { display: block; }
		.image.fit { display: block; }
		.image.fit img { display: block; width: 100%; }

		.image.icon {
			-moz-perspective: 500px;
			-webkit-perspective: 500px;
			-ms-perspective: 500px;
			perspective: 500px;
		}

			.image.icon:before {
				-moz-transition: -moz-transform 0.1s ease-in-out, font-size 0.1s ease-in-out;
				-webkit-transition: -webkit-transform 0.1s ease-in-out, font-size 0.1s ease-in-out;
				-ms-transition: -ms-transform 0.1s ease-in-out, font-size 0.1s ease-in-out;
				transition: transform 0.1s ease-in-out, font-size 0.1s ease-in-out;
				color: #C5B358; /* Icons are Gold */
				font-size: 6em;
				height: 1em;
				left: 50%;
				line-height: 1em;
				margin: -0.5em 0 0 -0.5em;
				position: absolute;
				text-align: center;
				top: 50%;
				width: 1em;
				z-index: 1;
			}

			.image.icon:hover:before {
				-moz-transform: translateZ(1em);
				-webkit-transform: translateZ(1em);
				-ms-transform: translateZ(1em);
				transform: translateZ(1em);
			}

			.image.icon:hover:after {
				opacity: 0.7;
			}

	span.image.icon { cursor: default; }

/* Icon */

	.icon {
		text-decoration: none;
		border-bottom: none;
		position: relative;
	}

		.icon:before {
			-moz-osx-font-smoothing: grayscale;
			-webkit-font-smoothing: antialiased;
			display: inline-block;
			font-style: normal;
			font-variant: normal;
			text-rendering: auto;
			line-height: 1;
			text-transform: none !important;
			font-family: 'Font Awesome 5 Free';
			font-weight: 400;
		}

		.icon > .label { display: none; }
		.icon.solid:before { font-weight: 900; }
		.icon.brands:before { font-family: 'Font Awesome 5 Brands'; }

/* Actions */

	ul.actions {
		display: flex;
		cursor: default;
		list-style: none;
		margin-left: -1em;
		padding-left: 0;
	}

		ul.actions li {
			padding: 0 0 0 1em;
			vertical-align: middle;
		}

		ul.actions.special {
			justify-content: center;
			width: 100%;
			margin-left: 0;
		}

/* Button */

	input[type="submit"],
	input[type="reset"],
	input[type="button"],
	.button {
		-moz-appearance: none;
		-webkit-appearance: none;
		-ms-appearance: none;
		appearance: none;
		-moz-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
		-webkit-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
		-ms-transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
		transition: color 0.2s ease-in-out, background-color 0.2s ease-in-out;
		background: #C5B358; /* Champagne Gold Button */
		border-radius: 4px;
		border: 0;
		color: #ffffff;
		cursor: pointer;
		display: inline-block;
		font-size: 0.9em;
		font-weight: 700;
		letter-spacing: 0.125em;
		line-height: 3.25em;
		min-width: 15em;
		padding: 0 1.5em;
		text-align: center;
		text-decoration: none;
		text-transform: uppercase;
	}

		input[type="submit"]:hover,
		input[type="reset"]:hover,
		input[type="button"]:hover,
		.button:hover {
			background: #0B3B24; /* Hover to Green */
			color: #C5B358;
		}

		input[type="submit"]:active,
		input[type="reset"]:active,
		input[type="button"]:active,
		.button:active {
			background: #082919;
		}

/* Box */

	.box {
		background: #ffffff;
		border: solid 1px rgba(11, 59, 36, 0.2);
		margin-bottom: 6em;
		padding: 3.5em;
	}

		.box.alt {
			background: none;
			border: none;
			padding: 0;
		}

/* Feature */

	.feature {
		position: relative;
		height: 20em;
	}

		.feature:after {
			clear: both;
			content: '';
			display: block;
		}

		.feature h3, .feature h4, .feature h5, .feature h6 {
			text-align: inherit;
		}

		.feature .image {
			display: inline-block;
			height: 100%;
			overflow: hidden;
			position: relative;
			width: 50%;
			background-color: #0B3B24; /* Solid Green Fallback */
		}

			.feature .image img {
				display: block;
				min-height: 100%;
				min-width: 100%;
				position: absolute;
				opacity: 0.3; /* Blend image into Warlord background */
			}

		.feature:before {
			background: transparent; /* Fixed the weird blue bug */
			content: '';
			display: inline-block;
			height: 100%;
			vertical-align: middle;
		}

		.feature .content {
			display: inline-block;
			padding: 3.5em;
			vertical-align: middle;
			width: 48%;
		}

			.feature .content h3 {
				margin-bottom: 0.5em;
			}

			.feature .content :last-child {
				margin: 0;
			}

		.feature.left { text-align: left; }
		.feature.left .image { float: left; }
		.feature.left .image img { right: 0; top: 0; }
		.feature.left .content { padding-right: 0; }

		.feature.right { text-align: right; }
		.feature.right .image { float: right; }
		.feature.right .image img { left: 0; top: 0; }
		.feature.right .content { padding-left: 0; }

/* Header */

	#header {
		background-attachment: scroll, scroll;
		background-color: #0B3B24; /* Karakoram Green Main */
		background-image: url("images/top-3200.svg"), url("images/overlay.png");
		background-position: bottom center, top left;
		background-repeat: repeat-x, repeat;
		background-size: 3200px 460px, auto;
		color: rgba(255, 255, 255, 0.9);
		padding: 10em 0 20em 0;
		position: relative;
		text-align: center;
	}

		#header:before, #header:after {
			background: rgba(197, 179, 88, 0.3); /* Gold lines */
			content: '';
			left: 50%;
			position: absolute;
			width: 1px;
			z-index: 0;
		}

		#header:before { height: calc(100% - 50px); opacity: 0.3; top: 0; }
		#header:after { bottom: 0; height: 50px; }

		#header a {
			border-bottom-color: rgba(197, 179, 88, 0.5);
			color: #C5B358;
		}

			#header a:hover {
				border-bottom-color: transparent;
				color: #ffffff;
			}

		#header h1, #header h2, #header h3, #header h4, #header h5, #header h6 {
			color: #ffffff;
		}

		#header .logo {
			color: #C5B358;
			cursor: default;
			display: inline-block;
			font-size: 2.25em;
			margin: 0 0 0.75em 0;
			text-align: center;
		}

		#header h1 {
			font-size: 2.5em;
			margin: 0;
			color: #C5B358; /* Gold Main Title */
		}

		#header p {
			font-size: 1.5em;
			line-height: 1.5em;
			margin: 0.25em 0 0 0;
			color: #F9F9F6;
		}

/* Footer */

	#footer {
		background-attachment: scroll;
		background-color: #0B3B24; /* Karakoram Green Footer */
		background-image: url("images/bottom-3200.svg");
		background-position: top center;
		background-repeat: repeat-x;
		background-size: 3200px 460px;
		color: rgba(255, 255, 255, 0.8);
		margin-top: -260px;
		padding: calc(460px + 6em) 0 10em 0;
		position: relative;
		text-align: center;
	}

		#footer:before {
			background: rgba(197, 179, 88, 0.3);
			content: '';
			height: calc(460px + 6em);
			left: 50%;
			position: absolute;
			top: 0;
			width: 1px;
			z-index: 0;
		}

		#footer a { color: #C5B358; }
		#footer a:hover { color: #ffffff; }

		#footer h1, #footer h2, #footer h3, #footer h4, #footer h5, #footer h6 {
			color: #C5B358;
		}

		#footer input[type="submit"],
		#footer input[type="reset"],
		#footer input[type="button"],
		#footer .button {
			background: #C5B358;
			box-shadow: none;
			color: #0B3B24;
		}

			#footer input[type="submit"]:hover,
			#footer input[type="reset"]:hover,
			#footer input[type="button"]:hover,
			#footer .button:hover {
				background: #ffffff;
				color: #0B3B24;
			}

		#footer .copyright {
			color: rgba(255, 255, 255, 0.4);
			font-size: 0.8em;
			line-height: 1em;
			margin: 3em 0 0 0;
		}

			#footer .copyright li {
				border-left: dotted 1px rgba(197, 179, 88, 0.3);
				display: inline-block;
				margin-left: 1em;
				padding-left: 1em;
			}

				#footer .copyright li:first-child {
					padding: 0; margin: 0; border: 0;
				}

/* Main */

	#main {
		padding: 6em 0 5em 0;
		position: relative;
		z-index: 1;
	}

		#main:before {
			background: rgba(11, 59, 36, 0.2); /* Soft green center line */
			content: '';
			height: 100%;
			left: 50%;
			position: absolute;
			top: 0;
			width: 1px;
			z-index: -1;
		}

		#main header.major,
		#main footer.major {
			background: #F9F9F6;
		}

/* Mobile Adjustments (Condensed for character limits) */
	@media screen and (max-width: 1680px) { #header { padding: 8em 0 16em 0; } }
	@media screen and (max-width: 1280px) { #header { background-size: 1600px 230px, auto; padding: 6em 0 12em 0; } #footer { background-size: 1600px 230px; margin-top: -100px; padding: calc(230px + 4em) 0 6em 0; } .feature { height: 18em; } }
	@media screen and (max-width: 736px) { .feature { display: block; height: auto; margin-bottom: 2em; } .feature .image { float: none; height: 15em; width: 100%; } #header { background-size: 1280px 184px, auto; padding: 3em 0 7em 0; } #footer { background-size: 1280px 184px; margin-top: -75px; padding: calc(184px + 2em) 0 2em 0; } }

/* ------------------------------------------------------------------- */
/* WARLORD MASTER OVERRIDES (M.H. Siddiqui & Partners)                 */
/* ------------------------------------------------------------------- */

.feature .content {
    padding: 4em !important;
    text-align: left !important;
    background-color: #F9F9F6;
}

.feature.left .content {
    padding-left: 5em !important;
}

.feature.right .content {
    padding-right: 5em !important;
}

.feature h2 {
    color: #C5B358 !important; /* Champagne Gold Headers inside boxes */
    margin-bottom: 1em;
}

.feature p {
    line-height: 1.75;
    font-size: 0.95em;
}

/* Logo Styling */
#header .logo img {
    display: inline-block;
    margin-bottom: 1.5em;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); /* Adds depth to the badge */
}

#header h1 {
    margin-top: 0.5em;
    letter-spacing: 0.15em; /* Stretches the typography out */
}

@media screen and (max-width: 736px) {
    .feature .content { padding: 2em !important; text-align: center !important; }
}

/* ========================================== */
/* WARLORD EMERGENCY OVERRIDES - PATCH 2.0    */
/* ========================================== */

/* 1. Kill the Grey Header Background and Force Green */
#header {
    background-image: none !important;
    background-color: #0B3B24 !important;
}

/* 2. Free the Logo Container */
#header .logo {
    width: auto !important;
    height: auto !important;
    background: none !important;
    border: none !important;
}
/* 2.5 Kill the Vertical Ghost Line */
#header:before, 
#header:after, 
#main:before, 
#footer:before {
    display: none !important;
}

/* 3. Fix the Box Overspill (Converting to Flexbox) */
.feature {
    display: flex !important;
    height: auto !important;
    min-height: 24em;
}

.feature:before {
    display: none !important; /* Kills the old vertical alignment hack */
}

.feature .image {
    width: 50% !important;
    height: auto !important;
    float: none !important;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature .content {
    width: 50% !important;
    padding: 4em 5em !important;
    display: flex !important;
    flex-direction: column;
    justify-content: center;
    text-align: left !important;
}

/* 4. Alternating Grid Rules */
.feature.left {
    flex-direction: row !important;
}

.feature.right {
    flex-direction: row-reverse !important;
}

/* 5. Mobile & Tablet Responsiveness Override */
@media screen and (max-width: 980px) {
    /* Force all boxes to stack vertically */
    .feature, 
    .feature.left, 
    .feature.right {
        flex-direction: column !important;
        height: auto !important;
    }
    
    /* Make the image block take full width and sit on top */
    .feature .image {
        width: 100% !important;
        min-height: 18em !important;
    }
    
    /* Make the text block take full width and sit underneath */
    .feature .content {
        width: 100% !important;
        padding: 4em 3em !important;
        text-align: center !important;
    }
}

/* 6. Deep Mobile (Smartphones) */
@media screen and (max-width: 736px) {
    /* Shrink the padding so text doesn't hit the screen edges */
    .feature .content {
        padding: 3em 1.5em !important;
    }
    
    /* Slightly shrink the logo and title so they don't dominate the phone screen */
    #header .logo img {
        width: 180px !important; 
    }
    #header h1 {
        font-size: 1.75em !important;
    }
}
