/*
Theme Name:   Netlogic Agency Theme
Theme URI:    https://logicvu.net/netlogic-theme
Description:  Premium Custom Block Theme built for Netlogic Solutions. Features a modern, agency-grade look, high-contrast dark navy backgrounds, glassmorphic card patterns, ZolonTech megamenus, and animations.
Version:      1.0.0
Author:       Daniel Sullivan
Author URI:   https://logicvu.net/
License:      GNU General Public License v2 or later
License URI:  http://www.gnu.org/licenses/gpl-2.0.html
Text Domain:  netlogic-agency-theme
Tags:         full-site-editing, block-theme, dark, one-column, custom-menu, portfolio, translation-ready

This theme is built natively for the WordPress Block Editor (Gutenberg) and Full Site Editing (FSE).
*/

/* ==========================================================================
   1. Brand Palette & Variables (Synchronized with theme.json)
   ========================================================================== */
:root {
	--wp--preset--color--primary: #6366f1;     /* Indigo Accent */
	--wp--preset--color--secondary: #131022;   /* Dark Navy background */
	--wp--preset--color--tertiary: #eff2fc;    /* Light Lavender text/cards */
	--wp--preset--color--neutral: #777680;     /* Muted Grey */
	--wp--preset--color--accent-blue: #4c82f7; /* Soft Blue secondary accent */
	
	--nl-transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
	--nl-radius-lg: 16px;
	--nl-radius-md: 8px;
	--nl-shadow-glow: 0 10px 30px -10px rgba(99, 102, 241, 0.25);
	--nl-shadow-glow-hover: 0 20px 40px -12px rgba(99, 102, 241, 0.45);
}

/* Base Body Style resets for FSE fallback */
body {
	background-color: var(--wp--preset--color--secondary);
	color: #e2e8f0;
	font-family: 'Manrope', sans-serif;
	font-size: 18px !important;
	line-height: 1.75 !important;
	overflow-x: hidden;
}

/* Universal typography defaults for readability (Daniel Sullivan) */
p, li, .nl-partner-desc {
	font-size: 18px !important;
	line-height: 1.75 !important;
}

@media (max-width: 768px) {
	body, p, li, .nl-partner-desc {
		font-size: 16px !important;
		line-height: 1.65 !important;
	}
}

/* ==========================================================================
   2. Design Aesthetics & Visual Effects (Daniel Sullivan Custom Style)
   ========================================================================== */

/* A. Sleek Glassmorphism Cards */
.nl-glass-card {
	background: rgba(255, 255, 255, 0.03) !important;
	backdrop-filter: blur(12px) !important;
	-webkit-backdrop-filter: blur(12px) !important;
	border: 1px solid rgba(255, 255, 255, 0.06) !important;
	border-radius: var(--nl-radius-lg) !important;
	padding: 30px;
	transition: var(--nl-transition-smooth) !important;
}

.nl-glass-card:hover {
	background: rgba(255, 255, 255, 0.06) !important;
	border-color: rgba(99, 102, 241, 0.35) !important;
	transform: translateY(-6px);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4), 0 0 20px rgba(99, 102, 241, 0.1);
}

/* B. Premium Hover Cards (Light backdrop theme) */
.nl-hover-card {
	background: #ffffff;
	border: 1px solid rgba(99, 102, 241, 0.08);
	border-radius: var(--nl-radius-lg);
	box-shadow: 0 10px 30px -10px rgba(99, 102, 241, 0.08);
	transition: var(--nl-transition-smooth);
}

.nl-hover-card:hover {
	transform: translateY(-8px);
	box-shadow: var(--nl-shadow-glow-hover);
	border-color: rgba(99, 102, 241, 0.25);
}

/* C. Dynamic Gradient Text */
.nl-gradient-text {
	background: linear-gradient(135deg, #6366f1 0%, #4c82f7 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
}

.nl-gradient-text-light {
	background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 100%);
	-webkit-background-clip: text;
	-webkit-text-fill-color: transparent;
	background-clip: text;
	display: inline-block;
}

/* D. Pulsing Glow Notification Dot (LogicVU Accent) */
.nl-pulse-dot {
	display: inline-block;
	width: 8px;
	height: 8px;
	background-color: var(--wp--preset--color--primary);
	border-radius: 50%;
	margin-left: 6px;
	vertical-align: middle;
	box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
	animation: nlPulseGlow 1.8s infinite;
}

@keyframes nlPulseGlow {
	0% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(99, 102, 241, 0.7);
	}
	70% {
		transform: scale(1);
		box-shadow: 0 0 0 8px rgba(99, 102, 241, 0);
	}
	100% {
		transform: scale(0.95);
		box-shadow: 0 0 0 0 rgba(99, 102, 241, 0);
	}
}

/* E. Premium Action Button (Pill shape and hover scaling) */
.nl-theme-button {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: linear-gradient(135deg, #6366f1 0%, #4c82f7 100%) !important;
	color: #ffffff !important;
	padding: 14px 32px !important;
	border-radius: 30px !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	text-decoration: none !important;
	box-shadow: var(--nl-shadow-glow) !important;
	transition: var(--nl-transition-smooth) !important;
	border: none !important;
	cursor: pointer;
}

.nl-theme-button:hover {
	transform: translateY(-3px) !important;
	box-shadow: var(--nl-shadow-glow-hover) !important;
}

/* Outlined buttons */
.nl-theme-button-outline {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	background: transparent !important;
	color: #ffffff !important;
	padding: 13px 31px !important;
	border-radius: 30px !important;
	font-weight: 600 !important;
	font-size: 15px !important;
	text-decoration: none !important;
	border: 1px solid rgba(255, 255, 255, 0.2) !important;
	transition: var(--nl-transition-smooth) !important;
	cursor: pointer;
}

.nl-theme-button-outline:hover {
	border-color: #6366f1 !important;
	background: rgba(99, 102, 241, 0.08) !important;
	color: #ffffff !important;
	transform: translateY(-2px);
}

/* ==========================================================================
   3. Glassmorphic Sticky Header & Dropdown Megamenu (ZolonTech Style)
   ========================================================================== */
.nl-header-container {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	z-index: 999;
	background: rgba(11, 9, 20, 0.75);
	backdrop-filter: blur(16px);
	-webkit-backdrop-filter: blur(16px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.05);
	transition: var(--nl-transition-smooth);
}

/* Offset sticky header when WP Admin Bar is visible */
.admin-bar .nl-header-container {
	top: 32px;
}

@media screen and (max-width: 782px) {
	.admin-bar .nl-header-container {
		top: 46px;
	}
}

/* Sticky Shrink effect */
.nl-header-container.scrolled {
	background: rgba(11, 9, 20, 0.92);
	box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.nl-header-content {
	max-width: 1280px;
	margin: 0 auto;
	padding: 16px 40px;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.nl-logo {
	font-size: 22px;
	font-weight: 800;
	color: #ffffff;
	text-decoration: none;
	display: flex;
	align-items: center;
	gap: 6px;
	letter-spacing: -0.5px;
}

.nl-logo span {
	color: #6366f1;
}

/* FSE Megamenu Dropdown styling */
.nl-nav-wrapper .wp-block-navigation {
	position: static !important;
}

.nl-nav-wrapper .wp-block-navigation__container {
	display: flex;
	gap: 36px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.nl-nav-item {
	position: static !important; /* Forces full-width megamenu alignment */
}

.nl-nav-link {
	font-weight: 600;
	font-size: 14px;
	text-transform: uppercase;
	color: #cbd5e1;
	text-decoration: none;
	padding: 8px 0;
	letter-spacing: 0.5px;
	transition: var(--nl-transition-smooth);
	cursor: pointer;
	position: relative; /* Positioned relative to contain its absolute bridge */
}

.nl-nav-link:hover,
.nl-nav-item:hover .nl-nav-link {
	color: #6366f1;
}

/* Full-width Megamenu Container dropdown */
.nl-megamenu-panel {
	position: absolute;
	top: 100%;
	left: 0;
	width: 100%;
	background: #0f0d1a;
	border-bottom: 2px solid #6366f1;
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
	z-index: 100;
	opacity: 0;
	visibility: hidden;
	transform: translateY(8px);
	transition: opacity 0.3s cubic-bezier(0.16, 1, 0.3, 1), transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.3s;
	pointer-events: none;
}

/* Pseudo-element hover bridge constrained to link text width */
.nl-nav-link::after {
	content: '';
	position: absolute;
	bottom: -50px;
	left: 0;
	width: 100%;
	height: 50px;
	background: transparent;
	display: none;
	z-index: 99;
}

.nl-nav-item:hover .nl-nav-link::after {
	display: block;
}

.nl-nav-item:hover .nl-megamenu-panel {
	opacity: 1;
	visibility: visible;
	transform: translateY(0);
	pointer-events: auto;
}

.nl-megamenu-grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 40px;
	display: grid;
	grid-template-columns: 0.9fr 1.1fr;
	gap: 50px;
}

/* Featured left column promo container (Image left, text right) */
.nl-megamenu-promo-container {
	display: flex !important;
	align-items: center;
	gap: 24px;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: var(--nl-radius-lg);
	padding: 24px;
	height: 100%;
}

.nl-megamenu-promo-img {
	width: 190px !important;
	height: 190px !important;
	margin: 0 !important;
	flex-shrink: 0;
}

.nl-megamenu-promo-img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 12px;
}

.nl-megamenu-promo-info {
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.nl-megamenu-promo__title {
	font-size: 16px;
	font-weight: 800;
	color: #ffffff;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	display: flex;
	align-items: center;
	gap: 6px;
}

.nl-megamenu-promo__title span {
	color: #6366f1;
	transition: transform 0.3s ease;
	display: inline-block;
}

.nl-megamenu-promo-container:hover .nl-megamenu-promo__title span {
	transform: translate(3px, -3px);
}

.nl-megamenu-promo__desc {
	font-size: 13px;
	color: #94a3b8;
	line-height: 1.5;
	margin: 0;
}

/* Link Columns on the right */
.nl-megamenu-links {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 30px;
}

.nl-megamenu-links__col h4 {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6366f1;
	margin: 0 0 16px 0;
	letter-spacing: 1px;
}

.nl-megamenu-links__list {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nl-megamenu-links__list a {
	font-size: 14px;
	color: #94a3b8;
	text-decoration: none;
	font-weight: 500;
	transition: var(--nl-transition-smooth);
	display: inline-block;
}

.nl-megamenu-links__list a:hover {
	color: #ffffff;
	transform: translateX(4px);
}

/* Mobile Nav Toggle styling fallback */
.nl-mobile-toggle {
	display: none;
}

@media (max-width: 991px) {
	.nl-megamenu-grid {
		grid-template-columns: 1fr;
		gap: 30px;
		padding: 24px;
	}
	.nl-megamenu-links {
		grid-template-columns: 1fr;
		gap: 20px;
	}
}

/* ==========================================================================
   4. Partner Promo Section (Homepage Advertisement)
   ========================================================================== */
.nl-partner-section {
	padding: 100px 0;
	background: radial-gradient(circle at 90% 80%, rgba(99, 102, 241, 0.04) 0%, rgba(11, 9, 20, 1) 60%);
	border-bottom: 1px solid rgba(255, 255, 255, 0.03);
}

.nl-partner-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}

.nl-partner-grid {
	display: grid;
	grid-template-columns: 1.1fr 0.9fr;
	gap: 60px;
	align-items: center;
}

@media (max-width: 768px) {
	.nl-partner-grid {
		grid-template-columns: 1fr;
		gap: 40px;
	}
}

.nl-partner-tag {
	font-size: 11px;
	font-weight: 700;
	text-transform: uppercase;
	color: #6366f1;
	letter-spacing: 2px;
	margin-bottom: 16px;
	display: flex;
	align-items: center;
	gap: 8px;
}

.nl-partner-tag::before {
	content: '';
	width: 16px;
	height: 2px;
	background: #6366f1;
}

.nl-partner-title {
	font-size: 42px;
	font-weight: 800;
	line-height: 1.2;
	color: #ffffff;
	margin: 0 0 24px 0;
	letter-spacing: -0.5px;
}

.nl-partner-desc {
	font-size: 16px;
	color: #94a3b8;
	line-height: 1.6;
	margin: 0 0 35px 0;
}

/* Graphics frame */
.nl-partner-graphics {
	position: relative;
	display: flex;
	justify-content: center;
}

.nl-partner-glass-card {
	width: 100%;
	max-width: 440px;
	aspect-ratio: 16 / 12;
	border: 1px solid rgba(255, 255, 255, 0.05);
	border-radius: var(--nl-radius-lg);
	background: linear-gradient(135deg, rgba(255, 255, 255, 0.03) 0%, rgba(255, 255, 255, 0) 100%);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	padding: 24px;
	box-shadow: 0 30px 60px rgba(0, 0, 0, 0.4);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

.nl-graphics-nodes {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.nl-graphics-node-row {
	display: flex;
	align-items: center;
	gap: 12px;
}

.nl-graphics-icon {
	width: 32px;
	height: 32px;
	border-radius: 8px;
	background: rgba(99, 102, 241, 0.15);
	color: #6366f1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nl-graphics-bar {
	height: 8px;
	border-radius: 4px;
	background: rgba(255, 255, 255, 0.05);
	flex-grow: 1;
	position: relative;
	overflow: hidden;
}

.nl-graphics-bar::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	background: linear-gradient(90deg, #6366f1, #4c82f7);
	border-radius: 4px;
	width: var(--percent, 70%);
}

/* ==========================================================================
   5. Our News Section (Latest Blog Query Grid)
   ========================================================================== */
.nl-news-section {
	padding: 100px 0;
	background-color: #0b0914;
}

.nl-news-header {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	margin-bottom: 50px;
	max-width: 1280px;
	margin: 0 auto 50px auto;
	padding: 0 40px;
}

.nl-news-grid {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
	gap: 30px;
}

.nl-news-card {
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.04);
	border-radius: var(--nl-radius-lg);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: var(--nl-transition-smooth);
}

.nl-news-card:hover {
	transform: translateY(-6px);
	border-color: rgba(99, 102, 241, 0.25);
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.nl-news-card__img {
	height: 200px;
	background-size: cover;
	background-position: center;
	position: relative;
}

.nl-news-card__body {
	padding: 24px;
	flex-grow: 1;
	display: flex;
	flex-direction: column;
}

.nl-news-card__meta {
	font-size: 11px;
	font-weight: 700;
	color: #6366f1;
	text-transform: uppercase;
	letter-spacing: 1px;
	margin-bottom: 12px;
}

.nl-news-card__title {
	font-size: 18px;
	font-weight: 700;
	line-height: 1.4;
	margin: 0 0 12px 0;
}

.nl-news-card__title a {
	color: #ffffff;
	text-decoration: none;
	transition: color 0.3s ease;
}

.nl-news-card__title a:hover {
	color: #6366f1;
}

.nl-news-card__excerpt {
	font-size: 14px;
	color: #94a3b8;
	line-height: 1.6;
	margin: 0 0 20px 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.nl-news-card__link {
	font-size: 13px;
	font-weight: 700;
	color: #ffffff;
	text-decoration: none;
	margin-top: auto;
	display: inline-flex;
	align-items: center;
	gap: 6px;
	transition: color 0.3s ease;
}

.nl-news-card__link:hover {
	color: #6366f1;
}

.nl-news-card__link span {
	transition: transform 0.3s ease;
}

.nl-news-card__link:hover span {
	transform: translateX(4px);
}

/* ==========================================================================
   6. Premium Agency Footer
   ========================================================================== */
.nl-footer {
	background-color: #0b0914;
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	padding: 80px 0 40px 0;
	color: #94a3b8;
}

.nl-footer-container {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
}

.nl-footer-top {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
	margin-bottom: 50px;
}

.nl-footer-slogan {
	font-size: 15px;
	color: #cbd5e1;
	font-weight: 500;
	margin-top: 10px;
	margin-bottom: 24px;
}

.nl-footer-socials {
	display: flex;
	gap: 16px;
	justify-content: center;
}

.nl-footer-social-icon {
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.05);
	color: #cbd5e1;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 18px;
	text-decoration: none;
	transition: var(--nl-transition-smooth);
}

.nl-footer-social-icon:hover {
	background: #6366f1;
	border-color: #6366f1;
	color: #ffffff;
	transform: translateY(-3px);
	box-shadow: 0 6px 15px rgba(99, 102, 241, 0.3);
}

.nl-footer-social-icon i {
	font-style: normal;
}

.nl-footer-divider {
	border: 0;
	height: 1px;
	background: rgba(255, 255, 255, 0.05);
	margin-bottom: 50px;
}

.nl-footer-grid {
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 30px;
	margin-bottom: 60px;
}

@media (max-width: 991px) {
	.nl-footer-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (max-width: 576px) {
	.nl-footer-grid {
		grid-template-columns: 1fr;
	}
}

.nl-footer-col h5 {
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	color: #ffffff;
	margin: 0 0 20px 0;
	letter-spacing: 1px;
}

.nl-footer-menu {
	list-style: none;
	padding: 0;
	margin: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.nl-footer-menu a {
	font-size: 14px;
	color: #64748b;
	text-decoration: none;
	transition: var(--nl-transition-smooth);
}

.nl-footer-menu a:hover {
	color: #ffffff;
}

.nl-footer-bottom {
	border-top: 1px solid rgba(255, 255, 255, 0.04);
	padding-top: 30px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-size: 13px;
}

@media (max-width: 768px) {
	.nl-footer-bottom {
		flex-direction: column;
		gap: 16px;
		text-align: center;
	}
}

.nl-footer-copyright {
	color: #64748b;
}

.nl-footer-bottom-links {
	display: flex;
	gap: 20px;
	flex-wrap: wrap;
	justify-content: center;
}

.nl-footer-bottom-links a {
	color: #64748b;
	text-decoration: none;
	transition: color 0.3s ease;
}

.nl-footer-bottom-links a:hover {
	color: #ffffff;
}

/* ==========================================================================
   7. Mobile Navigation & Hamburger Overlay (Daniel Sullivan)
   ========================================================================== */
.nl-mobile-nav-container,
.nl-mobile-menu-overlay {
	display: none;
}

@media (max-width: 991px) {
	/* Hide standard header layout on mobile */
	.nl-header-content {
		display: none !important;
	}

	/* Show mobile-specific header container */
	.nl-mobile-nav-container {
		display: flex !important;
		justify-content: flex-start;
		align-items: center;
		gap: 20px;
		padding: 12px 24px;
		max-width: 100%;
		position: relative;
	}

	/* Left Aligned Hamburger */
	.nl-mobile-hamburger {
		background: none;
		border: none;
		cursor: pointer;
		display: flex;
		flex-direction: column;
		justify-content: space-between;
		width: 26px;
		height: 18px;
		padding: 0;
		z-index: 1001;
	}

	.nl-mobile-hamburger span {
		display: block;
		width: 100%;
		height: 2px;
		background-color: #ffffff;
		border-radius: 2px;
		transition: transform 0.3s ease, opacity 0.3s ease;
	}

	/* Hamburger animation when active */
	.nl-mobile-hamburger.is-active span:nth-child(1) {
		transform: translateY(8px) rotate(45deg);
	}
	.nl-mobile-hamburger.is-active span:nth-child(2) {
		opacity: 0;
	}
	.nl-mobile-hamburger.is-active span:nth-child(3) {
		transform: translateY(-8px) rotate(-45deg);
	}

	/* Center/Right Logo (user asked for menu hamburger on left, logo on right) */
	.nl-mobile-logo {
		display: flex;
		align-items: center;
		height: 52px;
		z-index: 1001;
	}

	.nl-mobile-logo img {
		height: 100%;
		width: auto;
		display: block;
	}

	/* Corporate Modern Fullscreen Mobile Overlay */
	.nl-mobile-menu-overlay {
		position: fixed;
		top: 0;
		left: 0;
		width: 100%;
		height: 100vh;
		background: rgba(11, 9, 20, 0.98);
		backdrop-filter: blur(16px);
		-webkit-backdrop-filter: blur(16px);
		z-index: 1000;
		transform: translateX(-100%); /* Slide in from left */
		transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
		overflow-y: auto;
		padding: 100px 30px 50px 30px;
		display: flex;
		flex-direction: column;
	}

	.nl-mobile-menu-overlay.is-active {
		transform: translateX(0);
	}

	/* Prevent body scrolling when mobile menu is open */
	body.nl-mobile-menu-open {
		overflow: hidden;
	}

	/* Corporate Accordion List */
	.nl-mobile-menu-list {
		list-style: none;
		padding: 0;
		margin: 0 0 40px 0;
		display: flex;
		flex-direction: column;
		gap: 20px;
	}

	.nl-mobile-menu-item {
		border-bottom: 1px solid rgba(255, 255, 255, 0.05);
		padding-bottom: 15px;
	}

	.nl-mobile-menu-trigger {
		font-size: 18px;
		font-weight: 700;
		text-transform: uppercase;
		color: #ffffff;
		display: flex;
		justify-content: space-between;
		align-items: center;
		cursor: pointer;
		user-select: none;
		letter-spacing: 0.5px;
	}

	.nl-mobile-menu-trigger::after {
		content: '+';
		font-size: 20px;
		font-weight: 400;
		color: #6366f1;
		transition: transform 0.3s ease;
	}

	.nl-mobile-menu-item.is-open .nl-mobile-menu-trigger::after {
		content: '−';
		transform: rotate(180deg);
	}

	/* Dropdown links wrapper */
	.nl-mobile-submenu {
		max-height: 0;
		overflow: hidden;
		transition: max-height 0.4s cubic-bezier(0.16, 1, 0.3, 1);
		list-style: none;
		padding: 0 0 0 15px;
		margin: 0;
		display: flex;
		flex-direction: column;
		gap: 12px;
	}

	.nl-mobile-menu-item.is-open .nl-mobile-submenu {
		max-height: 500px; /* Accordion open height limit */
		margin-top: 15px;
	}

	.nl-mobile-submenu a {
		font-size: 15px;
		color: #94a3b8;
		text-decoration: none;
		font-weight: 500;
		display: block;
		transition: color 0.3s ease;
	}

	.nl-mobile-submenu a:hover {
		color: #6366f1;
	}

	/* Corporate Bottom Section inside mobile overlay */
	.nl-mobile-menu-footer {
		margin-top: auto;
		border-top: 1px solid rgba(255, 255, 255, 0.08);
		padding-top: 25px;
		display: flex;
		flex-direction: column;
		gap: 15px;
	}

	.nl-mobile-menu-footer .nl-theme-button {
		justify-content: center;
		font-size: 14px !important;
		padding: 10px 24px !important;
	}

	.nl-mobile-menu-footer-slogan {
		font-size: 12px;
		color: #64748b;
		text-align: center;
		margin: 0;
		font-style: italic;
	}
}

/* ==========================================================================
   8. Header Alignment & Active Highlights (Daniel Sullivan)
   ========================================================================== */
.nl-logo-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
}

.nl-nav-wrapper {
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
}

.nl-nav-wrapper .wp-block-navigation__container {
	margin: 0 !important;
	padding: 0 !important;
	display: flex;
	align-items: center;
}

/* Highlight current/active page links in Netlogic Indigo */
.nl-nav-link.nl-active-link,
.nl-megamenu-links__list a.nl-active-link,
.nl-mobile-submenu a.nl-active-link {
	color: #6366f1 !important;
	font-weight: 700 !important;
}

/* Active click state / focus state */
.nl-nav-link:active,
.nl-megamenu-links__list a:active,
.nl-mobile-submenu a:active {
	color: #6366f1 !important;
}

/* Tech Partners Logo Grayscale & Hover Animations */
.nl-partner-logo-box {
	filter: grayscale(1) opacity(0.5);
	transition: var(--nl-transition-smooth) !important;
}

.nl-partner-logo-box:hover {
	filter: grayscale(0) opacity(1) !important;
	transform: translateY(-5px);
	border-color: rgba(99, 102, 241, 0.35) !important;
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 0 12px rgba(99, 102, 241, 0.1) !important;
}
