﻿/* css/new-header.css */
.header-container {
	display: flex;
	justify-content: space-between;
	align-items: center;
	padding: 10px 20px;
	margin-top: -25px;
}

.logo-container {
	margin-top: 1rem;
	margin-left: calc(50% - 450px);
}

.main-menu {
	display: flex;
	justify-content: center;
	padding: 0px 0;
	margin-top: 0px;
	margin-left: calc(50% - 400px);
	font-size: 14px;
}

	.main-menu .centres-item {
		position: relative;
		left: 0;
	}

	.main-menu .navbar-nav {
		flex-wrap: wrap;
		justify-content: center;
	}

	.main-menu .nav-item {
		margin: 0 7.5px;
	}

	.main-menu .nav-link {
		color: #666666;
		font-weight: 500;
	}

		.main-menu .nav-link:hover {
			color: #28a745;
		}

		.main-menu .nav-link.active {
			color: #000000;
			border-bottom: 5px solid #28a745;
		}

			.main-menu .nav-link.active.dropdown-toggle::after {
				transform: rotate(180deg);
				display: inline-block;
			}

	.main-menu .dropdown-menu {
		position: absolute;
	}

	.main-menu .navbar-toggler {
		border: none;
	}

	.main-menu .navbar-toggler-icon {
		background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
	}

.contact-us {
	margin-right: 15px;
	color: #000000;
	font-weight: 500;
	font-size: 14px;
}

.btn-login {
	background-color: #28a745;
	color: white;
	border: none;
	border-radius: 20px;
	padding: 5px 16px;
	font-size: 14px;
}

	.btn-login:hover {
		background-color: #218838;
		color: white;
	}

.search-container {
	position: relative;
	margin-left: 10px;
	font-size: 14px;
}

	.search-container input {
		border-radius: 20px;
		padding-right: 30px;
		font-size: 14px;
	}

.search-icon {
	position: absolute;
	right: 10px;
	top: 50%;
	transform: translateY(-50%);
	color: #6c757d;
}

.right-section {
	display: flex;
	align-items: center;
	position: relative;
	margin-right: 0px;
	margin-left: 350px;
	flex-wrap: wrap;/*LATEST ADDITION 12 PM 23/4 */
	gap: 10px;		/*LATEST ADDITION 12 PM 23/4 */
}

.right-section-content {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.right-section .navbar-toggler {
	border: none;
}

.right-section .navbar-toggler-icon {
	background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(0, 0, 0, 0.55)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* Styles for the image section */
.hero-section {
	position: relative;
	margin-top: 0px;
	width: 100%;
	height: 400px; /* Fixed height for consistency, adjust as needed */
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	background-image: url('https://images.unsplash.com/photo-1500382017468-9049fed747ef?ixlib=rb-4.0.3&auto=format&fit=crop&w=1350&q=80'); /* Placeholder image */
}

.hero-overlay {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.3); /* Semi-transparent overlay for text readability */
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	color: white;
	text-align: center;
}

.hero-preheading {
	font-size: 12px;
	color: #fff;
	margin-bottom: 0rem !important;
}

.hero-heading {
	font-size: 3.5rem;
	font-weight: bold;
	margin-bottom: 0rem;
	padding-top: 0rem;
	/*text-transform: uppercase;*/
}

.hero-heading2 {
	color: #dcfdca;
	font-family: 'Libre Baskerville', serif;
	letter-spacing: 0.06em;
	font-size: 3.5rem;
	font-weight: bold;
	font-style: italic;
	margin-bottom: 1rem;
	/*text-transform: uppercase;*/
}

.hero-subheading {
	font-size: 1.5rem;
	font-weight: normal;
}



/*@media (max-width: 1700px) {
	.right-section {
		margin-left: 350px !important;
	}
	.main-menu {
		margin-left: 0px !important;
	}
}

@media (max-width: 1572px) {
	.right-section {
		margin-left: 200px !important;
	}
}*/

@media (max-width: 1293px) {
/*	.right-section {
		margin-left: 200px !important;
	}*/

	/*	.main-menu {
		margin-left: 0px !important;
	}
*/ 

	
/*	.main-menu .navbar-nav {
		justify-content: center;
	}

	.main-menu .nav-item {
		flex: 0 0 30%;
		text-align: center;
		margin: 5px 0;
	}*/



	/*.right-section {
		margin-right: 150px;
		justify-content: flex-end;
	}*/
}


@media (max-width: 992px) {
	.right-section {
		margin-left: 200px !important;
	}
	.main-menu {
		margin-left: 0 !important;
	}
	.main-menu .nav-item {
		flex: 0 0 25%;
	}



	/*	.right-section {
		margin-left: 200px !important;
	}
	.main-menu {
		margin-left: 0 !important;
	}
	.main-menu .nav-item {
		flex: 0 0 45%;
	}*/
	/*	.right-section {
		margin-right: 50px;
		flex-direction: column;
		align-items: flex-end;
	}*/
/*	.search-container {
		margin-left: 0;
		margin-top: 10px;
	}*/

/*	.contact-us {
		margin-right: 0;
	}*/

	.logo-container {
		margin-left: 20px;
	}
}


@media (max-width: 767.98px) {
	.right-section {
		margin-left: 20px !important;
	}
		.main-menu {
		margin-left: 0 !important;
	}



	/*.main-menu .navbar-nav {
		text-align: left;
	}

	.main-menu .nav-item {
		flex: unset;
		margin: 5px 0;
	}

	.main-menu .dropdown-menu {
		text-align: center;
		position: static;
		border: none;
		background-color: #f8f9fa;
	}

	.main-menu .nav-link.active {
		color: #000000;
		border-bottom: 5px solid #28a745;
		max-width: 110px;*/ /* Limits the width of the active bar */
		/*display: inline-block;*/ /* Ensures max-width takes effect */
	/*}

	.logo-container {
		margin-left: 20px;
	}*/

	/*	.right-section {
		margin-right: 20px;
		align-items: center;
	}*/

	/*.right-section .navbar-collapse {
			top: 100%;*/ /* Position directly below the toggler */
	/*right: 0;
			background-color: #fff;*/ /* Ensure background for visibility */
	/*box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);*/ /* Optional: Add shadow for better appearance */
	/*width: 200px;*/ /* Fixed width for the menu */
	/*z-index: 1000;*/ /* Ensure it appears above other elements */
	/*}*/

	/*.right-section .nav-link {
		padding-left: 0px;
	}

	.right-section-content {
		flex-direction: column;*/
		/*align-items: center;*/
		/*align-items: flex-start;*/ /* Align items to the start for better layout */
		/*padding: 10px;
	}

	.search-container {
		margin-top: 10px;
		margin-left: 0;
	}

	.contact-us {
		margin-right: 0;
		margin-left: 0;
	}

	.hero-section {
		height: 300px;
	}

	.hero-heading {
		font-size: 2rem;
	}

	.hero-subheading {
		font-size: 1rem;
	}*/
}



@media (max-width: 575.98px) {
	.right-section {
		margin-left: 60px !important;
	}
	/*	.main-menu {
		margin-left: 0 !important;*/
}



/*	.right-section {
		margin-right: 10px;
	}
*/
/*.hero-heading {
	font-size: 1.5rem;
}

.hero-subheading {
	font-size: 0.875rem;
}*/
}
