/* =====================================================================
   10-footer.css -- Unit 3
   Owns: #footer (Flatsome block "site-footer" + absolute footer bar),
   .back-to-top, and small global UI touches (selection, focus-visible,
   smooth scroll). Do not edit other units' files.
   ===================================================================== */

/* === Footer: shell, texture, accent line === */
#footer.footer-wrapper {
	position: relative;
	background-color: #072F47;
	background-image:
		radial-gradient(ellipse 900px 500px at 15% 0%, rgba(6, 154, 112, 0.10), transparent 60%),
		radial-gradient(ellipse 700px 500px at 100% 100%, rgba(11, 74, 111, 0.35), transparent 55%),
		linear-gradient(180deg, #072F47 0%, #051F30 100%),
		repeating-linear-gradient(0deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 48px),
		repeating-linear-gradient(90deg, rgba(255, 255, 255, 0.035) 0, rgba(255, 255, 255, 0.035) 1px, transparent 1px, transparent 48px);
	overflow: hidden;
}

#footer.footer-wrapper::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #069A70 0%, #0B4A6F 50%, #069A70 100%);
	z-index: 2;
}

#footer .section {
	position: relative;
	z-index: 1;
}

/* === Pre-footer CTA strip === */
#footer .bt-footer-cta {
	border-bottom: 1px solid rgba(255, 255, 255, 0.10);
}

.home #footer .bt-footer-cta {
	display: none;
}

#footer .bt-cta-eyebrow {
	margin: 0 0 4px;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #2ECC9A;
}

#footer .bt-cta-text {
	margin: 0;
	font-size: 18px;
	line-height: 1.5;
	color: #F3F6F9;
	font-weight: 500;
	max-width: 46em;
}

#footer .bt-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

#footer .bt-cta-actions .button {
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
	white-space: nowrap;
}

#footer .bt-btn-outline.button.is-outline.white {
	color: #FFFFFF !important;
	border-color: rgba(255, 255, 255, 0.55);
}

#footer .bt-btn-outline.button.is-outline.white:hover {
	background-color: rgba(255, 255, 255, 0.10);
	border-color: #FFFFFF;
	color: #FFFFFF !important;
}

/* === Main footer columns === */
#footer .bt-footer-col {
	color: #C9D6E2;
}

#footer .bt-footer-logo {
	display: inline-block;
	margin-bottom: 18px;
}

#footer .bt-footer-logo-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	background-color: #FFFFFF;
	border-radius: 10px;
	padding: 12px 16px;
	box-shadow: 0 4px 14px rgba(0, 0, 0, 0.18);
}

#footer .bt-footer-logo img {
	display: block;
	width: 130px;
	height: auto;
}

#footer .bt-footer-blurb {
	margin: 0;
	font-size: 15px;
	line-height: 1.7;
	color: #C9D6E2;
	max-width: 32em;
}

#footer .bt-footer-heading {
	position: relative;
	margin: 0 0 20px;
	padding-bottom: 12px;
	font-family: "Montserrat", sans-serif;
	font-weight: 700;
	font-size: 16px;
	letter-spacing: 0.02em;
	text-transform: uppercase;
	color: #FFFFFF;
}

#footer .bt-footer-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 36px;
	height: 3px;
	background-color: #069A70;
	border-radius: 2px;
}

#footer .bt-footer-links,
#footer .bt-footer-contact {
	list-style: none;
	margin: 0;
	padding: 0;
}

#footer .bt-footer-links li,
#footer .bt-footer-contact li {
	margin: 0;
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

#footer .bt-footer-links li:last-child,
#footer .bt-footer-contact li:last-child {
	border-bottom: 0;
}

#footer .bt-footer-links a,
#footer .bt-footer-contact a,
#footer .bt-footer-contact .bt-row {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 44px;
	padding: 8px 0;
	font-size: 15px;
	line-height: 1.4;
	color: #C9D6E2;
	text-decoration: none;
	transition: color 0.2s ease, padding-left 0.2s ease;
}

#footer .bt-footer-links a:hover,
#footer .bt-footer-contact a:hover {
	color: #2ECC9A;
	padding-left: 4px;
}

#footer .bt-footer-contact li > .bt-row,
#footer .bt-footer-contact li > a {
	width: 100%;
}

#footer .bt-ico {
	flex: 0 0 auto;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	border-radius: 50%;
	background-color: rgba(6, 154, 112, 0.16);
	color: #069A70;
}

/* === Absolute footer (bottom bar) === */
#footer .absolute-footer {
	position: relative;
	z-index: 1;
	background-color: #051F30 !important;
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	padding: 20px 0;
}

#footer .absolute-footer .container {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 10px 24px;
}

/* footer-secondary (footer_right_text) is output before footer-primary
   (menu + footer_left_text) in Flatsome's markup, so pin visual order
   explicitly: copyright/nav on the left, policy links on the right. */
#footer .absolute-footer .footer-primary {
	order: 1;
}

#footer .absolute-footer .footer-secondary {
	order: 2;
}

#footer .absolute-footer .footer-primary {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 20px;
	float: none;
}

#footer .absolute-footer .footer-secondary {
	float: none;
}

#footer .absolute-footer .copyright-footer,
#footer .absolute-footer .copyright-footer strong {
	font-size: 14px;
	color: #9FB3C4;
}

#footer .absolute-footer .footer-nav {
	display: flex;
	flex-wrap: wrap;
	gap: 4px 18px;
	margin: 0;
}

#footer .absolute-footer .footer-nav li {
	margin: 0;
}

#footer .absolute-footer .footer-nav a {
	font-family: "Montserrat", sans-serif;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.02em;
	color: #C9D6E2;
	min-height: 44px;
	display: inline-flex;
	align-items: center;
}

#footer .absolute-footer .footer-nav a:hover,
#footer .absolute-footer .footer-secondary a:hover {
	color: #2ECC9A;
}

#footer .absolute-footer .footer-text,
#footer .absolute-footer .footer-text a {
	font-size: 14px;
	color: #9FB3C4;
}

#footer .absolute-footer .footer-text a:hover {
	color: #2ECC9A;
}

/* === Responsive: tablet === */
@media (max-width: 849px) {
	#footer .bt-footer-cta .row {
		flex-direction: column;
		align-items: flex-start;
	}

	#footer .bt-cta-actions {
		justify-content: flex-start;
		margin-top: 16px;
		width: 100%;
	}

	#footer .bt-footer-main {
		padding-top: 44px !important;
	}

	#footer .bt-footer-col {
		margin-bottom: 8px;
	}
}

/* === Responsive: mobile === */
@media (max-width: 549px) {
	#footer .bt-footer-cta {
		padding: 28px 0 !important;
	}

	#footer .bt-cta-text {
		font-size: 17px;
	}

	#footer .bt-cta-actions .button {
		width: 100%;
		justify-content: center;
	}

	#footer .bt-footer-heading {
		font-size: 15px;
		margin-bottom: 14px;
	}

	#footer .absolute-footer .container {
		flex-direction: column;
		align-items: center;
		text-align: center;
	}

	#footer .absolute-footer .footer-secondary {
		order: 2;
	}

	#footer .absolute-footer .footer-primary {
		order: 1;
		flex-direction: column;
		align-items: center;
	}
}

/* === Back to top button === */
.back-to-top.button {
	background-color: #072F47 !important;
	border-color: #072F47 !important;
	color: #FFFFFF !important;
	box-shadow: 0 4px 14px rgba(5, 31, 48, 0.35);
}

.back-to-top.button:hover {
	background-color: #069A70 !important;
	border-color: #069A70 !important;
	color: #FFFFFF !important;
}

@media (max-width: 549px) {
	.back-to-top.button {
		right: 14px !important;
		bottom: 14px !important;
	}
}

/* === Site-wide small components === */
::selection {
	background-color: #069A70;
	color: #FFFFFF;
}

a:focus-visible,
button:focus-visible,
.button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
	outline: 2px solid #069A70;
	outline-offset: 2px;
}

html {
	scroll-behavior: smooth;
}
