/* Header Styles - Extracted from header.php */

/* Prevent body scroll when needed */
.no-scroll {
	overflow: hidden !important;
}

/* Vertical centering for navigation bar and logo */
.navigation-main {
	--header-height: 82px;
}

.navigation-main .container {
	height: 100%;
}

.navigation-main .container .row {
	display: flex;
	align-items: center;
	height: 100%;
	min-height: var(--header-height);
}

.navigation-main .col-lg-4,
.navigation-main .col-xs-8 {
	display: flex;
	align-items: center;
	height: 100%;
	min-width: 0;
}

.navigation-main .col-lg-8,
.navigation-main .col-xs-4 {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	height: 100%;
}

.navigation-main .logo_wrap {
	display: flex;
	align-items: center;
	padding: 0 !important;
	height: 100%;
	min-width: 200px;
	width: auto;
	flex-shrink: 0;
}

.navigation-main .logo_wrap .img-responsive {
	height: 45px;
	max-width: 100%;
	width: auto;
	object-fit: contain;
	display: block;
}

/* Ensure SVG logos display properly */
.navigation-main .logo_wrap .img-responsive[src$=".svg"],
.navigation-main .logo_wrap .img-responsive[src*=".svg"] {
	height: 45px;
	max-width: 400px;
	width: auto;
	display: block;
	object-fit: contain;
}

.navigation-main ul {
	display: flex;
	align-items: center;
	padding: 0 !important;
	height: 100%;
	margin: 0;
}

.navigation-main ul li {
	display: flex;
	align-items: center;
	height: 100%;
}

/* Banner video section - Full viewport with fixed header */
.banner-video-section {
	position: relative;
	width: 100%;
	height: 100vh;
	background-color: #fff;
	overflow: hidden;
}

.banner-video-section video {
	position: absolute;
	/* top: 20px; */
	left: 0;
	width: 100%;
	height: calc(100% - 20px);
	object-fit: cover;
	opacity: 0;
	transition: opacity 0.5s ease-in;
}

.banner-video-section video.loaded {
	opacity: 1;
}

/* Loading screen overlay */
.video-loading-overlay {
	position: absolute;
	top: 70px; /* Start below fixed header */
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #fff;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	z-index: 10;
	opacity: 1;
	transition: opacity 0.4s ease-out;
}

.video-loading-overlay.hidden {
	opacity: 0;
	pointer-events: none;
}

/* Loading spinner */
.loading-spinner {
	width: 50px;
	height: 50px;
	border: 4px solid #f0f0f0;
	border-top: 4px solid #00509F;
	border-radius: 50%;
	animation: spin 1s linear infinite;
}

@keyframes spin {
	0% { transform: rotate(0deg); }
	100% { transform: rotate(360deg); }
}

.loading-text {
	margin-top: 20px;
	color: #00509F;
	font-size: 16px;
	font-family: 'Dosis', sans-serif;
	font-weight: 400;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	justify-content: space-around;
	width: 30px;
	height: 25px;
	background: transparent;
	border: none;
	cursor: pointer;
	padding: 0;
	z-index: 101;
	float: right;
	margin: 0 15px 0 0;
	align-self: center;
}

.hamburger-line {
	width: 100%;
	height: 3px;
	background-color: #00509F;
	border-radius: 2px;
	transition: all 0.3s ease;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(1) {
	transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active .hamburger-line:nth-child(2) {
	opacity: 0;
}

.mobile-menu-toggle.active .hamburger-line:nth-child(3) {
	transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive Navigation */
@media (max-width: 1200px) {
	.mobile-menu-toggle {
		display: flex;
	}
	
	.navigation-main .col-lg-8 {
		display: flex;
		align-items: center;
		justify-content: flex-end;
		height: 100%;
	}
	
	/* Ensure logo maintains fixed height on all views */
	.navigation-main .logo_wrap .img-responsive {
		height: 45px !important;
	}
	
	.navigation-main ul {
		display: none;
		position: fixed;
		top: var(--header-height, 82px);
		left: 0;
		right: 0;
		width: 100vw;
		background-color: #fff;
		flex-direction: column;
		padding: 0;
		margin: 0;
		box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
		z-index: 99;
		max-height: calc(100vh - var(--header-height, 82px));
		overflow-y: auto;
		height: auto;
	}
	
	.navigation-main ul.mobile-menu-open {
		display: flex;
        width: 100%;
	}
	
	.navigation-main ul li {
		margin: 0;
		border-bottom: 1px solid #f0f0f0;
		height: auto;
	}
	
	.navigation-main ul li a {
		display: block;
		padding: 20px 30px !important;
		text-align: left;
	}
	
	/* Reduce logo size on tablet/mobile */
	.navigation-main .logo_wrap .img-responsive {
		height: 40px !important;
		max-width: 300px !important;
	}
	
	.navigation-main .logo_wrap .img-responsive[src$=".svg"],
	.navigation-main .logo_wrap .img-responsive[src*=".svg"] {
		height: 40px !important;
		max-width: 300px !important;
	}
}

/* Footer Styles */
.footer-bottom {
	margin-top: 40px;
	padding-top: 30px;
	border-top: 1px solid #e0e0e0;
	display: flex;
	align-items: center;
}

.footer-copyright {
	text-align: left;
}

.footer-copyright p {
	margin: 0;
	color: #666;
	font-size: 14px;
	font-family: 'Open Sans', sans-serif;
}

.footer-social {
	text-align: right;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 20px;
}

.footer-social a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background-color: #f5f5f5;
	color: #666;
	text-decoration: none;
	transition: all 0.3s ease;
	font-size: 18px;
}

.footer-social a:hover {
	background-color: #00509F;
	color: #fff;
	transform: translateY(-3px);
	box-shadow: 0 4px 8px rgba(0, 80, 159, 0.3);
}

.footer-social a i {
	line-height: 1;
}

.footer-social a svg {
	width: 18px;
	height: 18px;
	display: block;
}

/* Responsive Footer */
@media (max-width: 768px) {
	.footer-bottom {
		flex-direction: column;
		text-align: center;
		gap: 20px;
	}
	
	.footer-copyright {
		text-align: center;
		width: 100%;
	}
	
	.footer-social {
		text-align: center;
		justify-content: center;
		width: 100%;
	}
	
	/* Reduce logo size on mobile */
	.navigation-main .logo_wrap .img-responsive {
		height: 35px !important;
		max-width: 250px !important;
	}
	
	.navigation-main .logo_wrap .img-responsive[src$=".svg"],
	.navigation-main .logo_wrap .img-responsive[src*=".svg"] {
		height: 35px !important;
		max-width: 250px !important;
	}
}

