/**
 * Light Squared - Custom CSS
 * ========================================================================================
 * 
 * Production-Ready Custom Stylesheet
 * 
 * This stylesheet contains theme overrides and component-specific styling
 * for the Light Squared website. All styles are organized by feature area
 * for maintainability, performance, and scalability.
 * 
 * Organization:
 * 1. Theme Configuration & Variables
 * 2. Dark Mode Configuration
 * 3. Component Styling
 * 4. Leaflet Map Styling
 * 5. Media & Image Styles
 * 6. Map Container Configuration
 * 7. Form Components
 * 8. Modals & Popups
 * 9. Utility Classes
 * 10. Carousel Components
 * 11. Responsive Design
 * 12. Logo & Typography
 * 
 * @version 1.1
 * @last-updated April 2026
 * ========================================================================================
 */


/* ========================================================================================
 * 1. THEME CONFIGURATION & COLOR VARIABLES
 * ======================================================================================== */

:root {
	--cnvs-themecolor: #0000e8;
	--cnvs-themecolor-rgb: 2, 0, 148;
	--cnvs-slider-caption-width: 700px !important;
}

/* Underline Text Styling */
u {
	text-decoration-line: underline;
	text-decoration-color: var(--cnvs-themecolor);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

.breadcrumb a {
    color: var(--cnvs-contrast-900) !important;
}

.breadcrumb-item.active {
    color: var(--cnvs-contrast-1000) !important;
}

/* ========================================================================================
 * 2. DARK MODE & CONTRAST VARIABLES
 * ======================================================================================== */

.dark {
	--cnvs-contrast-bg: #090a0a;
	--cnvs-contrast-bg-offset: #121314;

	--cnvs-contrast-0: #000000;
	--cnvs-contrast-100: #090a0a;
	--cnvs-contrast-200: #121314;
	--cnvs-contrast-300: #1b1d1e;
	--cnvs-contrast-400: #2a2d2f;
	--cnvs-contrast-500: #45494c;
	--cnvs-contrast-600: #6b7075;
	--cnvs-contrast-700: #9aa0a6;
	--cnvs-contrast-800: #c9ced3;
	--cnvs-contrast-900: #eef1f3;
	--cnvs-contrast-1000: #ffffff;

	--cnvs-heading-color: var(--cnvs-contrast-900);

	--cnvs-topbar-bg: var(--cnvs-contrast-bg-offset);
	--cnvs-header-bg: var(--cnvs-contrast-bg);
	--cnvs-header-sticky-bg: var(--cnvs-contrast-bg);
	--cnvs-side-header-bg: var(--cnvs-contrast-bg);
	--cnvs-header-floating-bg: var(--cnvs-contrast-bg);

	--cnvs-primary-menu-submenu-bg: var(--cnvs-contrast-bg);
	--cnvs-section-bg: var(--cnvs-contrast-bg-offset);
	--cnvs-footer-bg: var(--cnvs-contrast-bg-offset);

	color: var(--cnvs-contrast-800);
}


/* ========================================================================================
 * 3. COMPONENT STYLING - CAROUSEL & PARTNERS
 * ======================================================================================== */

#oc-clients-full .ls-partner-logo {
	height: 50px;
	width: auto;
	max-width: 160px;
	object-fit: contain;
	display: block;
	margin: 0 auto;
}

#oc-clients-full .owl-item {
	display: flex;
	align-items: center;
	justify-content: center;
}


/* ========================================================================================
 * 4. LEAFLET MAP STYLING
 * ======================================================================================== */

/* Main static hero/background map */
#au-flyover-map,
.au-flyover-map,
.au-header-map {
	width: 100%;
	height: 520px;
	min-height: 320px;
	overflow: hidden;
	position: relative;
}

/* Leaflet should always fill the map element */
#au-flyover-map .leaflet-container,
.au-flyover-map .leaflet-container,
.au-header-map .leaflet-container {
	width: 100%;
	height: 100%;
	background: #262626;
}

/* Tile fade */
.au-header-map .leaflet-tile,
#au-flyover-map .leaflet-tile,
.au-flyover-map .leaflet-tile {
	transition: opacity 0.2s linear !important;
}

/* Hide controls */
.au-header-map .leaflet-control-container,
#au-flyover-map .leaflet-control-container,
.au-flyover-map .leaflet-control-container {
	display: none;
}

/* Soft overlay */
.au-header-map::after,
#au-flyover-map::after,
.au-flyover-map::after {
	content: "";
	position: absolute;
	inset: 0;
	background: radial-gradient(transparent 40%, rgba(0, 0, 0, 0.35));
	pointer-events: none;
	z-index: 400;
}

/* Network Lines Animation */
.au-header-map .netline {
	transform-origin: center;
	animation: netPulse 2.2s ease-in-out infinite;
	filter:
		drop-shadow(0 0 6px rgba(215, 65, 167, 0.28))
		drop-shadow(0 0 14px rgba(215, 65, 167, 0.16));
}

.au-header-map .netline-strong {
	filter:
		drop-shadow(0 0 10px rgba(215, 65, 167, 0.45))
		drop-shadow(0 0 22px rgba(215, 65, 167, 0.25));
}

@keyframes netPulse {
	0% {
		opacity: 0.35;
		stroke-width: 2.5;
	}
	50% {
		opacity: 0.85;
		stroke-width: 4.5;
	}
	100% {
		opacity: 0.35;
		stroke-width: 2.5;
	}
}


/* ========================================================================================
 * 5. MEDIA & PLACEHOLDER STYLES
 * ======================================================================================== */

.placeholder-image {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 200px;
	background-color: #e9ecef;
	color: #6c757d;
	font-weight: bold;
	font-size: 1.2rem;
	text-align: center;
	border: 1px dashed #6c757d;
}

.placeholder-image span {
	display: block;
	max-width: 80%;
	word-wrap: break-word;
}

.news-thumb {
	aspect-ratio: 16 / 10;
	object-fit: cover;
}


/* ========================================================================================
 * 6. MAP CONTAINER CONFIGURATION
 * ======================================================================================== */

/* Keep wrapper structural only; do not rely on 100% height chains */
.map-wrap {
	width: 100%;
	position: relative;
}

/* Optional helper if you explicitly want full-height in a parent that has real height */
.map-wrap.map-wrap-fill {
	height: 100%;
}

.network-map-600 {
	height: 600px;
	width: 100%;
	min-height: 300px;
}

.ls-network-overview {
	width: 100%;
	height: 640px;
	position: relative;
	overflow: hidden;
	border-radius: 20px;
	z-index: 0;
}

.ls-solutions-bg {
	background-color: #343a40 !important;
}

.leaflet-container {
	background: #262626 !important;
	outline-offset: 1px;
}


/* ========================================================================================
 * 7. FORM COMPONENTS - TOM SELECT
 * ======================================================================================== */

.ts-control {
	border-radius: 0.375rem;
	min-height: calc(1.5em + 0.75rem + 2px);
}

.ts-control,
.ts-dropdown {
	border-color: rgba(0, 0, 0, 0.15);
}

.ts-dropdown .active {
	background: rgba(91, 45, 255, 0.08);
}

.ts-wrapper.single .ts-control .item span {
	color: #000000 !important;
}

.ts-wrapper.single .ts-control input {
	color: #000000 !important;
}

.ts-wrapper .ts-control,
.ts-wrapper .ts-control input,
.ts-wrapper .ts-dropdown {
	color: #adb5bd !important;
}

.ts-wrapper.single .ts-control input::placeholder {
	color: rgba(255, 255, 255, 0.6);
}

.ls-capacity-check {
	background-color: var(--cnvs-section-bg) !important;
}


/* ========================================================================================
 * 8. MODALS & POPUPS
 * ======================================================================================== */

#rebrandModal .modal-content {
	border-radius: 16px;
}

#rebrandModal .modal-body {
	font-size: 1.05rem;
}

.leaflet-popup-content a.button {
	color: #fff !important;
}


/* ========================================================================================
 * 9. UTILITY CLASSES
 * ======================================================================================== */

.ls-brand {
	color: var(--cnvs-themecolor);
}

.ls-mh-100 {
	min-height: 100%;
}

.ls-p-25 {
	padding: 25px;
}

.ls-p-8 {
	padding: 8px;
}

.ls-btn-rounded {
	border-radius: 999px;
}

.ls-card-rounded {
	border-radius: 20px;
}

.is-expanded-menu #header.full-header+.page-title-parallax.include-header .container {
    z-index: 5;
    padding-top: var(--cnvs-header-height);
}

/* ========================================================================================
 * 10. CARD & CAROUSEL COMPONENTS
 * ======================================================================================== */

/* Background Card Styling */
.card-bg {
	border: 1px solid #424549;
	position: relative;
	background-size: cover;
	background-position: center;
	overflow: hidden;
}

.card-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(rgb(0 0 0 / 52%), rgb(0 0 0));
	z-index: 1;
}

.card-bg .card-body {
	position: relative;
	color: #fff;
	z-index: 2;
}

/* Metro Carousel - Layout */
.metro-carousel-wrap {
	position: relative;
	display: flex;
	align-items: stretch;
	gap: 18px;
	width: 100%;
}

.metro-carousel {
	overflow: hidden;
	width: 100%;
	position: relative;
}

.metro-track {
	display: flex;
	gap: 24px;
	transition: transform 0.45s ease;
	will-change: transform;
}

.metro-slide {
	flex: 0 0 calc((100% - 48px) / 3);
	display: flex;
}

/* Metro Slide - Card Container */
.metro-slide .card {
	position: relative;
	width: 100%;
	height: 100%;
	border: 1px solid #424549;
	border-radius: 20px;
	overflow: hidden;
	background:
		radial-gradient(circle at top right, rgba(215, 65, 167, 0.08), transparent 35%),
		linear-gradient(180deg, rgba(33, 37, 41, 0.96) 0%, rgba(20, 22, 25, 0.98) 100%);
	box-shadow:
		0 12px 30px rgba(0, 0, 0, 0.22),
		0 1px 0 rgba(255, 255, 255, 0.05) inset;
	transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.metro-slide .card:hover {
	box-shadow:
		0 18px 40px rgba(0, 0, 0, 0.28),
		0 1px 0 rgba(255, 255, 255, 0.05) inset;
}

.metro-slide .card-body {
	position: relative;
	z-index: 2;
	display: flex;
	flex-direction: column;
	height: 100%;
	padding: 2.25rem !important;
}

/* Metro Slide - Content Structure */
.metro-slide .feature-box,
.metro-slide .fbox-content {
	display: flex;
	flex-direction: column;
	height: 100%;
	width: 100%;
}

.metro-slide h3 {
	margin-bottom: 0.85rem;
	color: var(--cnvs-contrast-1000, #fff);
	font-weight: 700;
	line-height: 1.15;
}

.metro-slide p {
	margin-bottom: 0;
	color: var(--cnvs-contrast-700, rgba(255, 255, 255, 0.78));
	line-height: 1.6;
}

.metro-slide .iconlist {
	margin-top: 1.5rem !important;
	margin-bottom: 0 !important;
	padding-left: 0.75rem;
}

.metro-slide .iconlist li {
	color: var(--cnvs-contrast-600, rgba(255, 255, 255, 0.72)) !important;
	line-height: 1.55;
}

.metro-slide .iconlist li i {
	margin-right: 0.45rem;
}

.metro-slide .button {
	margin-top: auto !important;
	align-self: stretch;
	text-align: center;
}

.metro-slide .button.button-rounded {
	border-radius: 999px;
	font-weight: 600;
}

/* Metro Slide - Background Image Card */
.metro-slide .card-bg {
	background-size: cover;
	background-position: center center;
	background-repeat: no-repeat;
	isolation: isolate;
}

.metro-slide .card-bg::before {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.metro-slide .card-bg::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
}

.metro-slide .card-bg .card-body,
.metro-slide .card-bg .fbox-content,
.metro-slide .card-bg h3,
.metro-slide .card-bg p,
.metro-slide .card-bg li,
.metro-slide .card-bg a {
	position: relative;
	z-index: 2;
	color: #fff !important;
}

/* Metro Carousel - Navigation Controls */
.metro-carousel-btn {
	flex: 0 0 auto;
	width: 52px;
	height: 52px;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: 999px;
	background: rgba(0, 0, 0, 0.3);
	color: var(--cnvs-contrast-1000, #fff);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	transition: all 0.25s ease;
	margin: auto 0;
}

.metro-carousel-btn:hover {
	background: var(--cnvs-themecolor);
	border-color: rgba(255, 255, 255, 0.18);
	transform: translateY(-1px);
}

.metro-carousel-btn:disabled {
	opacity: 0.35;
	cursor: not-allowed;
	transform: none;
}

.metro-carousel-dots {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 10px;
	margin-top: 22px;
}

.metro-carousel-dot {
	width: 10px;
	height: 10px;
	border-radius: 999px;
	background: rgb(69, 73, 76);
	border: 0;
	padding: 0;
	cursor: pointer;
	transition: all 0.25s ease;
}

.metro-carousel-dot.active {
	background: var(--cnvs-themecolor);
	transform: scale(1.12);
}

/* Metro Owl Carousel Integration */
.metro-owl .feature-box {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}

.metro-owl .fbox-content {
	width: 100%;
	max-width: 100%;
	margin: 0;
	padding: 0;
}


/* ========================================================================================
 * 11. RESPONSIVE DESIGN
 * ======================================================================================== */

/* Tablet - Medium Screens (1200px and down) */
@media (max-width: 1199.98px) {
	.metro-slide {
		flex: 0 0 calc((100% - 24px) / 2);
	}
}

/* Mobile - Small Screens (768px and down) */
@media (max-width: 767.98px) {
	#au-flyover-map,
	.au-flyover-map,
	.au-header-map {
		height: 320px;
		min-height: 320px;
	}

	.metro-carousel-wrap {
		gap: 10px;
	}

	.metro-track {
		gap: 16px;
	}

	.metro-slide {
		flex: 0 0 100%;
	}

	.metro-slide .card-body {
		padding: 1.65rem !important;
	}

	.metro-carousel-btn {
		width: 44px;
		height: 44px;
	}

	.logo-dark {
		height: 70px !important;
	}

	.slider-caption h2,
	.slider-caption .h2 {
		font-size: 8.5vw !important;
	}
}


/* ========================================================================================
 * 12. LOGO & TYPOGRAPHY
 * ======================================================================================== */

.logo-dark {
	height: auto;
}

.icon-favicon {
    display: inline-block;
    width: 16px;
    height: 16px;
    background-image: url('/favicon.ico');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.slider-caption h2, .slider-caption .h2 {
    font-size: 4.0rem;
}