/* =========================================================
   A K INFOTECH - CUSTOM FOOTER
   File: /wp-content/themes/astra-child/assets/css/footer.css
   ========================================================= */

.ak-site-footer,
.ak-site-footer *,
.ak-site-footer *::before,
.ak-site-footer *::after {
	box-sizing: border-box;
}

.ak-site-footer {
	position: relative;
	width: 100%;
	margin: 0;
	padding: 0;
	overflow: hidden;
	background: #071b42;
	color: #ffffff;
	font-family: inherit;
}

.ak-site-footer a {
	text-decoration: none;
}

.ak-site-footer img {
	display: block;
	max-width: 100%;
	height: auto;
}

.ak-footer-container {
	width: min(100% - 32px, 1240px);
	margin: 0 auto;
}


/* =========================================================
   MAIN FOOTER
   ========================================================= */

.ak-footer-main {
	position: relative;
	overflow: hidden;
	padding: 62px 0 50px;
	background:
		radial-gradient(
			circle at 8% 15%,
			rgba(38, 105, 255, 0.18),
			transparent 28%
		),
		radial-gradient(
			circle at 88% 82%,
			rgba(20, 87, 220, 0.14),
			transparent 30%
		),
		linear-gradient(
			135deg,
			#061631 0%,
			#071d46 50%,
			#08275d 100%
		);
}

.ak-footer-main::before {
	content: "";
	position: absolute;
	top: -100px;
	right: -80px;
	width: 310px;
	height: 310px;
	border: 1px solid rgba(255, 255, 255, 0.045);
	border-radius: 50%;
	pointer-events: none;
}

.ak-footer-main::after {
	content: "";
	position: absolute;
	left: -110px;
	bottom: -160px;
	width: 360px;
	height: 360px;
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: 50%;
	pointer-events: none;
}

.ak-footer-grid {
	position: relative;
	z-index: 2;
	display: grid;
	grid-template-columns: 1.55fr 0.8fr 0.9fr 1.25fr;
	gap: 54px;
	align-items: start;
}


/* =========================================================
   BRAND
   ========================================================= */

.ak-footer-brand {
	padding-right: 12px;
}

.ak-footer-logo-wrap {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	max-width: 100%;
	color: #ffffff;
}

.ak-footer-logo-wrap:hover,
.ak-footer-logo-wrap:focus {
	color: #ffffff;
}

.ak-footer-logo-shell {
	width: 70px;
	height: 70px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 70px;
	overflow: hidden;
	border: 2px solid rgba(255, 255, 255, 0.15);
	border-radius: 50%;
	background: #ffffff;
	box-shadow:
		0 10px 28px rgba(0, 0, 0, 0.18),
		0 0 0 4px rgba(255, 255, 255, 0.035);
}

.ak-footer-logo {
	width: 100%;
	height: 100%;
	object-fit: contain;
	object-position: center;
	border-radius: 50%;
	background: #ffffff;
}

.ak-footer-brand-text {
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.ak-footer-brand-text strong {
	display: block;
	color: #ffffff;
	font-size: 24px;
	line-height: 1.05;
	font-weight: 800;
	letter-spacing: -0.035em;
	white-space: nowrap;
}

.ak-footer-brand-text strong span {
	color: #5c91ff;
}

.ak-footer-brand-text small {
	display: block;
	margin-top: 6px;
	color: #b7c5dd;
	font-size: 11px;
	line-height: 1.35;
	font-weight: 600;
	letter-spacing: 0.01em;
}

.ak-footer-description {
	max-width: 390px;
	margin: 21px 0 0;
	color: #b8c5d9;
	font-size: 13.5px;
	line-height: 1.75;
	font-weight: 500;
}

.ak-footer-trust {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
	margin-top: 21px;
}

.ak-footer-trust > span {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 0 11px;
	border: 1px solid rgba(255, 255, 255, 0.09);
	border-radius: 9px;
	background: rgba(255, 255, 255, 0.055);
	color: #d8e3f5;
	font-size: 10.5px;
	line-height: 1;
	font-weight: 700;
	white-space: nowrap;
}

.ak-footer-trust svg {
	color: #6fa0ff;
	flex-shrink: 0;
}


/* =========================================================
   HEADINGS
   ========================================================= */

.ak-footer-heading {
	position: relative;
	margin: 4px 0 24px;
	padding: 0 0 12px;
	color: #ffffff;
	font-size: 15px;
	line-height: 1.25;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.ak-footer-heading::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 32px;
	height: 3px;
	border-radius: 999px;
	background: linear-gradient(90deg, #3478ff, #6da0ff);
}


/* =========================================================
   FOOTER LINKS
   ========================================================= */

.ak-footer-links {
	margin: 0;
	padding: 0;
	list-style: none;
}

.ak-footer-links li {
	position: relative;
	margin: 0;
	padding: 0;
}

.ak-footer-links li + li {
	margin-top: 5px;
}

.ak-footer-links a {
	position: relative;
	display: inline-flex;
	align-items: center;
	min-height: 32px;
	padding: 4px 0 4px 16px;
	color: #bdc9dc;
	font-size: 13px;
	line-height: 1.4;
	font-weight: 600;
	transition:
		color 0.2s ease,
		transform 0.2s ease;
}

.ak-footer-links a::before {
	content: "";
	position: absolute;
	left: 1px;
	top: 50%;
	width: 5px;
	height: 5px;
	border-top: 1.5px solid #6798f8;
	border-right: 1.5px solid #6798f8;
	transform: translateY(-50%) rotate(45deg);
	transition:
		left 0.2s ease,
		border-color 0.2s ease;
}

.ak-footer-links a:hover,
.ak-footer-links a:focus {
	color: #ffffff;
	transform: translateX(3px);
}

.ak-footer-links a:hover::before,
.ak-footer-links a:focus::before {
	left: 4px;
	border-color: #ffffff;
}


/* =========================================================
   CONTACT
   ========================================================= */

.ak-footer-contact-list {
	display: flex;
	flex-direction: column;
	gap: 17px;
}

.ak-footer-contact-item {
	display: flex;
	align-items: flex-start;
	gap: 11px;
}

.ak-footer-contact-icon {
	width: 36px;
	height: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 36px;
	border: 1px solid rgba(104, 153, 255, 0.16);
	border-radius: 10px;
	background: rgba(62, 118, 235, 0.1);
	color: #73a1ff;
}

.ak-footer-contact-item > div {
	min-width: 0;
	padding-top: 1px;
}

.ak-footer-contact-item > div > span {
	display: block;
	margin-bottom: 4px;
	color: #8294b0;
	font-size: 10px;
	line-height: 1.2;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.07em;
}

.ak-footer-contact-item p {
	margin: 0;
	color: #c8d3e4;
	font-size: 12.5px;
	line-height: 1.55;
	font-weight: 600;
}

.ak-footer-contact-item a {
	display: inline-block;
	color: #d4def0;
	font-size: 12.5px;
	line-height: 1.45;
	font-weight: 700;
	word-break: break-word;
	transition: color 0.2s ease;
}

.ak-footer-contact-item a:hover,
.ak-footer-contact-item a:focus {
	color: #79a6ff;
}


/* =========================================================
   BOTTOM FOOTER
   ========================================================= */

.ak-footer-bottom {
	position: relative;
	z-index: 2;
	border-top: 1px solid rgba(255, 255, 255, 0.075);
	background: #04122c;
}

.ak-footer-bottom-inner {
	min-height: 66px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
}

.ak-footer-copyright {
	margin: 0;
	color: #899bb7;
	font-size: 11.5px;
	line-height: 1.5;
	font-weight: 500;
}

.ak-footer-copyright strong {
	color: #d5dfef;
	font-weight: 700;
}

.ak-footer-legal {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	flex-wrap: wrap;
	gap: 10px;
}

.ak-footer-legal a {
	color: #899bb7;
	font-size: 11.5px;
	line-height: 1.4;
	font-weight: 600;
	transition: color 0.2s ease;
}

.ak-footer-legal a:hover,
.ak-footer-legal a:focus {
	color: #ffffff;
}

.ak-footer-legal > span {
	color: #40516d;
	font-size: 10px;
}


/* =========================================================
   ACCESSIBILITY
   ========================================================= */

.ak-site-footer a:focus-visible {
	outline: 2px solid #74a2ff;
	outline-offset: 3px;
	border-radius: 3px;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 1024px) {

	.ak-footer-main {
		padding: 52px 0 44px;
	}

	.ak-footer-grid {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 42px 36px;
	}

	.ak-footer-brand {
		grid-column: 1 / -1;
		padding-right: 0;
	}

	.ak-footer-description {
		max-width: 600px;
	}
}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.ak-footer-container {
		width: min(100% - 28px, 1240px);
	}

	.ak-footer-main {
		padding: 42px 0 34px;
	}

	.ak-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 34px 24px;
	}

	.ak-footer-brand {
		grid-column: 1 / -1;
	}

	.ak-footer-contact {
		grid-column: 1 / -1;
	}

	.ak-footer-logo-shell {
		width: 60px;
		height: 60px;
		flex-basis: 60px;
	}

	.ak-footer-brand-text strong {
		font-size: 20px;
	}

	.ak-footer-brand-text small {
		font-size: 10px;
	}

	.ak-footer-description {
		margin-top: 17px;
		font-size: 12.5px;
		line-height: 1.65;
	}

	.ak-footer-heading {
		margin-bottom: 18px;
		font-size: 14px;
	}

	.ak-footer-links a {
		min-height: 31px;
		font-size: 12px;
	}

	.ak-footer-contact-list {
		display: grid;
		grid-template-columns: 1fr 1fr;
		gap: 16px;
	}

	.ak-footer-contact-item:first-child {
		grid-column: 1 / -1;
	}

	.ak-footer-bottom-inner {
		min-height: 0;
		padding-top: 18px;
		padding-bottom: 18px;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 10px;
		text-align: center;
	}

	.ak-footer-legal {
		justify-content: center;
	}
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 480px) {

	.ak-footer-container {
		width: min(100% - 22px, 1240px);
	}

	.ak-footer-main {
		padding: 36px 0 30px;
	}

	.ak-footer-grid {
		grid-template-columns: 1fr 1fr;
		gap: 30px 18px;
	}

	.ak-footer-logo-wrap {
		gap: 11px;
	}

	.ak-footer-logo-shell {
		width: 54px;
		height: 54px;
		flex-basis: 54px;
	}

	.ak-footer-brand-text strong {
		font-size: 18px;
	}

	.ak-footer-brand-text small {
		max-width: 210px;
		font-size: 9.5px;
	}

	.ak-footer-description {
		font-size: 12px;
	}

	.ak-footer-trust {
		gap: 7px;
		margin-top: 17px;
	}

	.ak-footer-trust > span {
		min-height: 31px;
		padding: 0 9px;
		font-size: 9.5px;
	}

	.ak-footer-heading {
		margin-top: 0;
		margin-bottom: 16px;
		font-size: 13.5px;
	}

	.ak-footer-links a {
		padding-left: 14px;
		font-size: 11.5px;
	}

	.ak-footer-contact-list {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.ak-footer-contact-item:first-child {
		grid-column: auto;
	}

	.ak-footer-contact-icon {
		width: 34px;
		height: 34px;
		flex-basis: 34px;
	}

	.ak-footer-copyright,
	.ak-footer-legal a {
		font-size: 10.5px;
	}

	.ak-footer-legal {
		gap: 7px;
	}
}


/* =========================================================
   REDUCED MOTION
   ========================================================= */

@media (prefers-reduced-motion: reduce) {

	.ak-site-footer *,
	.ak-site-footer *::before,
	.ak-site-footer *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}