/* ==========================================================================
   Landing Page (unauthhome.html) — modern visual redesign
   Loaded last (extra_style block), after theme + custom.css. This file
   styles both existing theme classes (.parallax, .feature-box-icon, etc.)
   and the new structural classes added in the template (heroSection,
   complianceCard, modernFeatureBox, contactCard, etc.) The template was
   restructured (cards, flatter markup, no more table/float hacks) but
   every functional hook JS depends on — .lightbox anchors + their
   data-plugin-options, #popupProjectN targets, data-stellar-background-
   ratio, #contactForm/recaptcha/hidden fields, the #areas/#contact
   anchors used by the top nav — is unchanged.
   ========================================================================== */

/* ---- Shared section rhythm ---- */
.modernAreas,
.modernFeatures,
.modernContact {
	padding: 70px 0 60px;
}

.sectionTitle {
	text-align: center;
	font-weight: 300;
	margin: 0 0 12px;
}

.sectionTitle strong {
	font-weight: 700;
}

.sectionSubtitle {
	text-align: center;
	color: #888;
	font-size: 15px;
	margin-bottom: 0;
}

.areasHeader {
	margin-bottom: 45px;
}

/* ---- Hero ---- */
.heroSection {
	position: relative;
	overflow: hidden;
	padding: 150px 0;
}

.heroSection::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(4, 24, 40, 0.82) 0%, rgba(0, 88, 130, 0.6) 100%);
	z-index: 1;
	pointer-events: none;
}

.heroSection > .container {
	position: relative;
	z-index: 2;
}

.heroIcon {
	font-size: 50px;
	color: #fff;
	display: inline-block;
	margin-bottom: 10px;
	text-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.heroTitle {
	font-size: 46px;
	font-weight: 300;
	letter-spacing: 0.3px;
	margin: 8px 0 20px;
}

.heroTitle strong {
	font-weight: 700;
	color: #6cc9f2;
}

.heroSubtitle {
	color: #eee;
	font-size: 18px;
	line-height: 1.7;
	max-width: 680px;
	margin: 0 auto;
}

.heroSubtitle span {
	display: block;
	margin-top: 8px;
	color: #b7cbd6;
	font-size: 0.78em;
}

.heroActions {
	margin-top: 30px;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.heroCTA {
	border-radius: 30px;
	padding: 14px 36px;
	font-size: 16px;
	box-shadow: 0 8px 22px rgba(0, 136, 204, 0.35);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.heroCTA:hover,
.heroCTA:focus {
	transform: translateY(-2px);
	box-shadow: 0 12px 26px rgba(0, 136, 204, 0.45);
	color: #fff;
}

.heroLearnMore {
	margin-top: 14px;
	color: #cfe3ec;
	font-size: 14px;
}

.heroLearnMore a {
	color: #6cc9f2;
}

/* ---- Compliance Areas ---- */
.complianceGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
}

.complianceCard {
	display: block;
	background: #fff;
	border-radius: 10px;
	overflow: hidden;
	text-decoration: none;
	box-shadow: 0 3px 14px rgba(0, 0, 0, 0.08);
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.complianceCard:hover,
.complianceCard:focus {
	transform: translateY(-6px);
	box-shadow: 0 18px 34px rgba(0, 0, 0, 0.16);
	text-decoration: none;
}

.complianceCardImageWrap {
	display: block;
	overflow: hidden;
	height: 160px;
}

.complianceCardImage {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.35s ease;
}

.complianceCard:hover .complianceCardImage {
	transform: scale(1.08);
}

.complianceCardBody {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 18px 20px;
}

.complianceCardTitle {
	font-size: 16px;
	font-weight: 400;
	color: #242424;
}

.complianceCardTitle strong {
	font-weight: 700;
}

.complianceCardLink {
	font-size: 12px;
	color: #0088cc;
	white-space: nowrap;
	margin-left: 12px;
	transition: transform 0.2s ease;
}

.complianceCard:hover .complianceCardLink {
	transform: translateX(3px);
}

/* Popup (Magnific Popup) content polish — reuses existing
   #popupProjectN markup, no ids/hooks changed */
.popup-inline-content h2 {
	font-weight: 300;
}

.popup-inline-content h2 strong {
	font-weight: 700;
}

/* ---- Features ---- */
.modernFeatures {
	background: #f7f8f9;
}

.featuresIntro {
	max-width: 720px;
	margin: 0 auto 40px;
	color: #666;
	text-align: center;
}

.featuresGrid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 22px;
	margin-top: 40px;
}

.modernFeatureBox {
	background: #fff;
	border-radius: 10px;
	padding: 28px 22px;
	text-align: center;
	box-shadow: 0 3px 12px rgba(0, 0, 0, 0.06);
	transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.modernFeatureBox:hover {
	transform: translateY(-4px);
	box-shadow: 0 14px 28px rgba(0, 0, 0, 0.1);
}

.modernFeatureBox .feature-box-icon {
	float: none;
	display: inline-block;
	width: 60px;
	height: 60px;
	line-height: 60px;
	border-radius: 60px;
	font-size: 22px;
	margin: 0 0 16px;
	box-shadow: 0 6px 14px rgba(0, 136, 204, 0.35);
}

.modernFeatureBox .feature-box-info {
	padding-left: 0;
}

.modernFeatureBox h4 {
	margin-top: 0;
}

/* ---- "Get in Touch" CTA banner ---- */
.ctaSection {
	position: relative;
	overflow: hidden;
}

.ctaSection::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(4, 24, 40, 0.82) 0%, rgba(0, 88, 130, 0.6) 100%);
	z-index: 1;
	pointer-events: none;
}

.ctaSection > .container {
	position: relative;
	z-index: 2;
}

.ctaSection .heroCTA {
	margin-top: 22px;
	display: inline-block;
}

/* ---- Contact ---- */
.modernContact {
	background: #f7f8f9;
}

.contactCard {
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 4px 24px rgba(0, 0, 0, 0.08);
	padding: 45px 45px 35px;
}

.contactFormCol {
	border-right: 1px solid #eee;
}

.contactFormCol .sectionTitle {
	text-align: left;
	margin-bottom: 20px;
}

.modernForm .form-control {
	border: 1px solid #ddd;
	border-radius: 6px;
	box-shadow: none;
	padding: 10px 14px;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.modernForm .form-control:focus {
	border-color: #0088cc;
	box-shadow: 0 0 0 3px rgba(0, 136, 204, 0.15);
}

.modernForm .btn-primary {
	border-radius: 6px;
	padding: 12px 30px;
}

.contactInfoCol {
	padding-left: 35px;
}

.contactInfoTitle {
	margin-top: 0;
}

.contactInfoList {
	list-style: none;
	margin: 18px 0;
	padding: 0;
}

.contactInfoList li {
	display: flex;
	align-items: flex-start;
	margin-bottom: 16px;
}

.contactInfoIcon {
	flex: 0 0 auto;
	width: 34px;
	height: 34px;
	line-height: 34px;
	text-align: center;
	border-radius: 34px;
	background: rgba(0, 136, 204, 0.1);
	color: #0088cc;
	margin-right: 12px;
	font-size: 14px;
}

/* ---- Responsive ---- */
@media (max-width: 991px) {
	.complianceGrid,
	.featuresGrid {
		grid-template-columns: repeat(2, 1fr);
	}

	.contactFormCol {
		border-right: none;
		border-bottom: 1px solid #eee;
		padding-bottom: 30px;
		margin-bottom: 30px;
	}

	.contactInfoCol {
		padding-left: 15px;
	}
}

@media (max-width: 767px) {
	.heroSection {
		padding: 100px 0;
	}

	.heroTitle {
		font-size: 30px;
	}

	.heroSubtitle {
		font-size: 16px;
	}

	.heroIcon {
		font-size: 38px;
	}

	.modernAreas,
	.modernFeatures,
	.modernContact {
		padding: 45px 0 35px;
	}

	.complianceGrid,
	.featuresGrid {
		grid-template-columns: 1fr;
	}

	.contactCard {
		padding: 30px 22px 25px;
	}
}
