﻿/* css/new-header.css */
/* 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;
}

.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: 16px;
	color: #fff;
	margin-bottom: 0rem !important;
}

.hero-heading {
	font-size: 3.0rem;
	font-weight: bold;
	margin-bottom: 0rem;
	padding-top: 0rem;
	max-width: 1150px;
	/*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;
}

.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: 0px;
	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: 450px;*/
	margin-left: calc(22%);
	flex-wrap: wrap; /*LATEST ADDITION 12 PM 23/4 */
	gap: 10px; /*LATEST ADDITION 12 PM 23/4 */
	min-width: 270px;
}

.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");
}





/*@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: calc(25%) !important;
	}


/*	.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: calc(14%) !important;
	}
	.main-menu {
		margin-left: 0 !important;
	}
	.main-menu .nav-item {
		flex: 0 0 25%;
	}

	.logo-container {
		margin-left: 10px;
	}
}

@media (max-width: 767.98px) {
	.right-section {
		margin-left: calc(18%) !important;
	}

	.main-menu {
		margin-left: 0 !important;
	}	
}

@media (max-width: 575.98px) {
	.right-section {
		margin-left: calc(8%) !important;
	}
	}