/* ============================================================
   FOOTER — navy redesign (footer-one.php override)
   Matches the homepage design system (navy #051A44 · blue #1360B2)
   Scoped under .pil-footer so the parent theme's classes stay intact.
   ============================================================ */

footer.pfy-site-footer.pil-footer {
	background: linear-gradient(135deg, #051A44 0%, #0B3E8F 100%);
	background-color: #051A44;
	padding-top: 58px;
	position: relative;
}

/* Decorative top border accent */
footer.pfy-site-footer.pil-footer::before {
	content: "";
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 3px;
	background: linear-gradient(90deg, #1360B2, #4f9bff, #1360B2);
}

.pil-footer .pfy-footer-top {
	padding-bottom: 26px;
}

.pil-footer .ft_widget-item {
	padding-bottom: 34px;
}

/* ---------- Logo (dark logo -> force white for the dark footer) ---------- */
.pil-footer .widget.widget_media_image.pfy-footer-widget-item img {
	max-width: 200px !important;
	margin-bottom: 16px;
	filter: brightness(0) invert(1);
	opacity: .96;
}

/* ---------- About / description text ---------- */
.pil-footer .pfy-footer-top .widget.widget_text.pfy-footer-widget-item .textwidget {
	padding-right: 16px;
}

.pil-footer .pfy-footer-top .widget.widget_text.pfy-footer-widget-item p {
	color: rgba(255, 255, 255, .72);
	font-size: 14.5px;
	line-height: 1.75;
	margin-bottom: 14px;
}

/* ---------- Widget titles ---------- */
.pil-footer .footer-title {
	position: relative;
	color: #fff;
	font-size: 17px;
	font-weight: 700;
	letter-spacing: .02em;
	margin: 4px 0 20px;
	padding-bottom: 12px;
}

.pil-footer .footer-title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 34px;
	height: 3px;
	border-radius: 3px;
	background: #1360B2;
}

/* ---------- Menu widgets (Useful Links / Popular Categories) ---------- */
.pil-footer .pfy-footer-top .widget_nav_menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pil-footer .pfy-footer-top .widget_nav_menu ul li {
	margin-bottom: 9px;
	line-height: 1.4;
}

.pil-footer .pfy-footer-top .widget_nav_menu ul li a {
	position: relative;
	display: inline-block;
	padding-left: 0;
	color: rgba(255, 255, 255, .72);
	font-size: 14.5px;
	text-decoration: none;
	transition: color .2s ease, padding-left .2s ease;
}

.pil-footer .pfy-footer-top .widget_nav_menu ul li a::before {
	content: "";
	position: absolute;
	left: 0;
	top: 50%;
	width: 0;
	height: 1.5px;
	background: #4f9bff;
	transform: translateY(-50%);
	transition: width .2s ease;
}

.pil-footer .pfy-footer-top .widget_nav_menu ul li a:hover {
	color: #fff;
	padding-left: 16px;
}

.pil-footer .pfy-footer-top .widget_nav_menu ul li a:hover::before {
	width: 10px;
}

/* ---------- Recent posts widget ---------- */
.pil-footer .widget_recent_entries ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.pil-footer .widget_recent_entries ul li {
	padding: 9px 0;
	border-bottom: 1px solid rgba(255, 255, 255, .09);
	line-height: 1.45;
}

.pil-footer .widget_recent_entries ul li:first-child {
	padding-top: 0;
}

.pil-footer .widget_recent_entries ul li:last-child {
	border-bottom: 0;
}

.pil-footer .widget_recent_entries ul li a {
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	text-decoration: none;
	transition: color .2s ease;
}

.pil-footer .widget_recent_entries ul li a:hover {
	color: #93c5fd;
}

/* ---------- Contact info ---------- */
.pil-footer .pfy-contact-info ul {
	margin: 0 0 16px;
	padding: 0;
	list-style: none;
}

.pil-footer .pfy-contact-info ul li {
	margin-bottom: 8px;
}

.pil-footer .pfy-contact-info ul li a {
	color: rgba(255, 255, 255, .72);
	font-size: 14px;
	text-decoration: none;
	transition: color .2s ease;
}

.pil-footer .pfy-contact-info ul li a i {
	color: #4f9bff;
	margin-right: 8px;
}

.pil-footer .pfy-contact-info ul li a:hover {
	color: #fff;
}

/* ---------- Social icons ---------- */
.pil-footer .pfy-global-social {
	margin-top: 18px;
}

.pil-footer .pfy-global-social span {
	display: block;
	color: rgba(255, 255, 255, .6);
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 12px;
}

.pil-footer .pfy-global-social ul {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.pil-footer .pfy-global-social ul li a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	background: rgba(255, 255, 255, .12);
	color: #fff;
	font-size: 15px;
	text-decoration: none;
	transition: background .2s ease, color .2s ease, transform .2s ease;
}

.pil-footer .pfy-global-social ul li a:hover {
	background: #1360B2;
	color: #fff;
	transform: translateY(-3px);
}

/* ---------- Bottom bar ---------- */
.pil-footer .pfy-footer-bottm {
	border-top: 1px solid rgba(255, 255, 255, .1);
	background: #030C26;
	padding: 18px 0;
}

.pil-footer .footer-copyright {
	text-align: center;
}

.pil-footer .footer-copyright p,
.pil-footer .footer-copyright {
	color: rgba(255, 255, 255, .6);
	font-size: 13.5px;
	margin: 0;
}

.pil-footer .footer-copyright strong {
	color: #93c5fd;
	font-weight: 600;
}

/* ---------- Back-to-top (keep aligned with new footer) ---------- */
.back-top-btn {
	background: #1360B2;
}

/* ---------- Responsive ---------- */
@media (max-width: 991px) {
	footer.pfy-site-footer.pil-footer {
		padding-top: 46px;
	}
	.pil-footer .pfy-footer-top {
		padding-bottom: 6px;
	}
}

@media (max-width: 640px) {
	footer.pfy-site-footer.pil-footer {
		padding-top: 38px;
	}
	.pil-footer .footer-title {
		margin-top: 8px;
	}
}
