@import url("./dev-trial-style.css");

/* home nave bar  */
.top-nav {
	padding: 1rem 0;
}

.navbar-brand {
	font-size: 1.5rem;
	font-weight: bold;
	color: #000;
}

.navbar-brand img {
	width: 150px;
	height: 32px;
}

.search-container {
	background: #F4F3F8;
	border: none;
	border-radius: 25px;
	padding: 13px 16px;
	width: 100%;
	max-width: 500px;
	display: flex;
	align-items: center;
	margin: 0 2rem;
}

	.search-container input {
		border: none;
		background: transparent;
		width: 100%;
		padding: 0 10px;
		outline: none;
		color: #6D7076;
		font-weight: 400;
		font-size: 15px;
		line-height: 22px;
		letter-spacing: 0.25px;
	}

.search-icon {
	color: #666;
}

.contact-info {
	font-size: 0.9rem;
	color: #666;
}

.contact-info a {
	color: var(--primary-color);
	text-decoration: none;
	font-weight: 400;
	font-size: 15px;
	line-height: 22px;
	letter-spacing: 0.25px;
}

.contact-info svg {
	color: var(--secondary-color);
	margin-right: 10px;
}

@media (max-width: 992px) {
	.search-container {
		margin: 1rem 0;
	}

	.contact-info {
		text-align: left;
		margin-top: 1rem;
	}
}

.secondary-nav {
	background-color: #4169E1;
	padding: 0;
	display: flex;
	justify-content: center;
}

.navbar-expand-lg .navbar-nav {
	gap: 8px;
}

.secondary-nav .nav-link {
	color: var(--white-color) !important;
	padding: 1rem 1.5rem;
	font-weight: 500;
	font-size: 15px;
	line-height: 22px;
	letter-spacing: 0.25px;
	text-align: center;
}

.main-screen-second-navbar .dropdown-header {
	font-weight: 500;
	font-size: 15px;
	line-height: 22px;
	letter-spacing: 0.25px;
	color: #1B1C1E;
}
.dropdown-header {
	padding: 0;
	margin-top: 10px;
}
.main-screen-second-navbar .dropdown-item {
	font-size: 14px;
	line-height: 22px;
	letter-spacing: 0.25px;
	color: #36383B;

}

.secondary-nav .nav-item:hover .nav-link {
	background-color: #D9E1F929;
	border-radius: 28px;
}

	

.dropdown:hover .dropdown-menu {
	display: block;
	top: 100%;
}

.dropdown-menu {
	margin-top: 0;
	border-radius: 0;
	border: none;
	background-color: var(--white-color);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
	padding: 10px 0px 5px 0px;
}

/*.dropdown-item:hover {
	background-color: #f8f9fa;
}*/

@media (max-width: 768px) {
	.dropdown:hover .dropdown-menu {
		display: none;
	}

	.dropdown.show .dropdown-menu {
		display: block;
	}
}

.transition {
	transition: transform 0.6s ease;
}

.nav-item.dropdown:hover .bi-chevron-down {
	transform: rotate(180deg);
}

.dropdown-menu {
	display: none;
	opacity: 0;
	transition: opacity 0.3s ease;
}

.nav-item.dropdown:hover .dropdown-menu {
	display: block;
	opacity: 1;
	overflow: auto;
	/*max-height: 350px;*/
	height: 800px;
	overflow-x: hidden;
	padding: 10px !important;
}


/* 768 screen size after */
@media (max-width: 770px) {
	.mobile-nav {
		padding: 1rem;
		background: white;
		position: relative;
	}

	.navbar-toggler {
		border: none;
		padding: 0;
	}

	.navbar-brand {
		margin: 0 auto;
	}

	.navbar-brand img {
		width: 150px;
		height: 32px;
	}

	.search-container {
		background: #dfdfdf;
		border-radius: 25px;
		padding: 12px 15px;
		display: flex;
		align-items: center;
		margin: 1rem 0;
		position: relative;
		width: 100%;
		max-width: 100%;
	}

	.search-container input {
		border: none;
		background: transparent;
		width: 100%;
		padding: 0 10px;
		outline: none;
		color: #6D7076;
		
		font-weight: 500;
		font-size: 14px;
		line-height: 22px;
		letter-spacing: 0.25px;

	}

	.search-icon {
		color: #666;
	}

	.filter-icon {
		color: #666;
		padding: 5px;
	}

	.secondary-nav {
		background: #4169E1;
		padding: 0.5rem 1rem;
	}

	.nav-item {
		margin: 0.5rem 0;
	}

	.nav-link {
		color: var(--white-color) !important;
		font-size: 14px;
		display: flex;
		align-items: center;
		justify-content: space-between;
	}

	.dropdown-toggle::after {
		margin-left: 8px;
	}

	.toggle-menu {
		position: fixed;
		top: 0;
		left: -75%;
		width: 75%;
		height: 100%;
		background: var(--white-color);
		transition: left 0.3s ease-in-out;
		z-index: 999;
		padding: 20px;
		animation: slideOut 0.8s ease-in-out forwards;
	}

	/* Active Class for Open Menu */
	.toggle-menu.active {
		left: 0;
		animation: slideIn 0.8s ease-in-out forwards;
	}

	.toggle-menu.show {
		transform: translateX(0);
	}

	.toggle-menu-header {
		padding: 1rem;
		border-bottom: 1px solid #eee;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.toggle-menu-close {
		border: none;
		background: none;
		font-size: 1.5rem;
		padding: 0.5rem;
	}

	.toggle-menu-content {
		padding: 1rem 0 0 0;
	}

	.toggle-menu-item {
		padding: 0.75rem 0;
		color: #333;
		text-decoration: none;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.toggle-menu-item:last-child {
		border-bottom: none;
	}

	.openFilter {
		position: fixed;
		top: 0;
		left: -75%;
		width: 75%;
		height: 100%;
		background: var(--white-color);
		transition: left 0.3s ease-in-out;
		z-index: 999;
		padding: 20px;
		animation: slideOut 0.8s ease-in-out forwards;
	}

		/* Active Class for Open Menu */
		.openFilter.active {
			left: 0;
			animation: slideIn 0.8s ease-in-out forwards;
		}

		.openFilter.show {
			transform: translateX(0);
		}

	.openFilter-header {
		padding: 1rem;
		border-bottom: 1px solid #eee;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

	.openFilter-close {
		border: none;
		background: none;
		font-size: 1.5rem;
		padding: 0.5rem;
	}

	.openFilter-content {
		padding: 1rem 0 0 0;
	}

	.openFilter-item {
		padding: 0.75rem 0;
		color: #333;
		text-decoration: none;
		display: flex;
		justify-content: space-between;
		align-items: center;
	}

		.openFilter-item:last-child {
			border-bottom: none;
		}
 

	.filter-container {
		display: flex;
		align-items: center;
		position: relative;
	}

	.filter-container::before {
		content: "";
		width: 2px;
		height: 25px;
		background-color: #DBDDDF;
		margin-right: 10px;
	}


	.secondary-nav {
		background-color: #4169E1;
		padding: 10px 0;
	}

	.secondary-nav .nav-link {
		color: var(--white-color);
		font-weight: bold;
		padding: 10px 15px;
	}

	.secondary-nav .nav-link:hover {
		color: var(--white-color);
	}

	.mega-dropdown {
		width: 100vw;
		padding: 15px;
		background: var(--white-color);
		border-radius: 5px;
		box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
		position: absolute;
		top: 100%;
		left: 0;
		display: none;
	}

	.nav-item.dropdown:hover .mega-dropdown {
		display: block;
	}

	.dropdown-header {
		font-weight: bold;
		color: #333;
		font-size: 14px;
		margin-bottom: 5px;
	}

	.dropdown-item {
		color: #555;
		font-size: 14px;
		padding: 5px 10px;
		display: block;
		word-wrap: break-word !important;
		overflow-wrap: break-word !important;
		white-space: inherit !important;
	}

		.dropdown-item:hover {
			background: transparent !important;
			color: #4169E1;
		}

	.navbar-nav {
		display: flex;
		flex-direction: row;
		align-items: center;
	}

	.dropdown-menu {
		min-width: 180px;
	}

	.secondary-nav {
		background-color: #4169E1;
		padding: 10px 0;
	}

	.secondary-nav .nav-link {
		color: var(--white-color);
		font-weight: bold;
		padding: 10px 15px;
	}

	.secondary-nav .nav-link:hover {
		color: var(--white-color);
	}

	.navbar-nav .dropdown-menu {
		position: absolute;
	}

	.secondary-nav .nav-item {
		width: 100%;
		max-width:210px;
	}

	.navlink-width {
		width: 150px;
	}

	.navlink-width-second {
		width: 120px;
	}
}

@media (max-width: 768px) {
	.home-first-nav {
		/*display: none;*/
	}
}

@media (max-width: 430px) {
	.secondary-nav .nav-link {
		padding: 8px 7px;
		font-weight: 400;
	}

	.navlink-width {
		width: 133px;
	}

	.navlink-width-second {
		width: 90px;
	}
	.flex-direction-custom {
		flex-direction: column;
	}
}

.close-btn {
	position: absolute;
	top: 10px;
	right: 10px;
	border: none;
	background: none;
	font-size: 18px;
	cursor: pointer;
}

.contact-item {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 10px;
	font-size: 14px;
	color: #333;
}

.contact-item svg {
	flex-shrink: 0;
}

.toggle-menu {
	position: fixed;
	top: 0;
	left: -75%;
	width: 75%;
	height: 100%;
	background: var(--white-color);
	transition: left 0.3s ease-in-out;
	z-index: 999;
	padding: 20px;
}

.toggle-menu.active {
	left: 0;
}

.backdrop {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
/*	backdrop-filter: blur(1px);
*/	z-index: 998;
	display: none;
}

.toggle-menu.active+.backdrop {
	display: block;
}

.filter-menu {
	position: fixed;
	top: 0;
	left: -100%;
	width: 75%;
	height: 100%;
	background: var(--white-color);
	box-shadow: -3px 0 10px rgba(0, 0, 0, 0.2);
	transition: right 0.3s ease-in-out;
	z-index: 1000;
	padding: 20px;
	overflow-y: auto;
	animation: slideOut 0.8s ease-in-out forwards;
}

.filter-close {
	border: none;
	background-color: transparent;
}

.filter-menu.active {
	left: 0;
	animation: slideIn 0.8s ease-in-out forwards;
}

.filter-header {
	display: flex;
	justify-content: space-between;
	align-items: center;
	font-weight: 700;
	font-size: 16px;
	line-height: 30px;
	letter-spacing: 0px;
	color: #1B1C1E;
}
	.filter-header h5 {
		font-weight: 500;
		font-size: 24px;
		line-height: 30px;
		letter-spacing: 0%;
	}

.applied-filters {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 10px;
}

.filter-badge {
	background: var(--secondary-color);
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 15px;
	color: var(--white-color);
	cursor: pointer;
	display: inline-block;
	margin-top:5px;
}

.clear-all {
	color: var(--secondary-color);
	font-size: 14px;
	text-decoration: none;
	margin-left: auto;
}

/*.filter-section {
	margin-top: 15px;
	padding-bottom: 10px;
}*/

.filter-section h6 {
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	padding:0 10px 0;
	font-weight: 500;
	font-size: 15px;
	line-height: 20px;
	text-transform: uppercase;
	margin-left: 0 !important;
	margin-right: 0 !important;
}

.count {
	background: #F4F3F8;
	padding: 3px 7px;
	border-radius: 10px;
	font-size: 14px;
	margin-left: 10px;
	color: var(--tertiary-color);
}

.count-cleare {
	padding: 3px 7px;
	border-radius: 10px;
	margin-left: 10px;
	color: var(--secondary-color);
	font-weight: 500;
	font-size: 14px;
	line-height: 22px;
	text-transform: capitalize;
}

.chevron {
	transition: transform 0.3s ease-in-out;
}

.filter-header[aria-expanded="true"] .chevron {
	transform: rotate(180deg);
}

.chevron.rotate {
	transform: rotate(180deg);
}

.filter-options {
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 8px;
	padding-left: 10px;
}

.filter-option {
	border: 1px solid #DFDFE8;
	padding: 2px 10px;
	border-radius: 20px;
	font-size: 15px;
	cursor: pointer;
	display: inline-block;
	margin-top: 10px;
}

.filter-option.selected {
	background: #D9E1F9;
	border: 1px solid #8DA5ED;
	color: var(--primary-color);
}

.apply-filter-btn button {
	top: 1134px;
	left: 16px;
	border-radius: 24px;
	gap: 6px;
	padding-top: 9px;
	padding-right: 16px;
	padding-bottom: 9px;
	padding-left: 20px;
	background-color: var(--secondary-color);
	border: none;
	color: var(--white-color);
	
	font-weight: 700;
	font-size: 14px;
	line-height: 22px;
	text-align: center;

}

@keyframes slideIn {
	from {
		left: -100%;
	}

	to {
		left: 0;
	}
}

@keyframes slideOut {
	from {
		left: 0;
	}

	to {
		left: -100%;
	}
}

.mobile-sidebar {
	position: fixed;
	top: 0;
	right: -300px;
	width: 280px;
	height: 100%;
	background: #fff;
	z-index: 1055;
	box-shadow: -2px 0 5px rgba(0, 0, 0, 0.3);
	transition: right 0.3s ease;
	overflow-y: auto;
	padding: 1rem;
}

	.mobile-sidebar.show {
		right: 0;
	}

.mobile-backdrop {
	position: fixed;
	top: 0;
	left: 0;
	height: 100vh;
	width: 100vw;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1050;
}

@media (max-width: 768px) {
	.nav-item.dropdown:hover .dropdown-menu {
		display: block !important;
	}

	.nav-item.dropdown:hover .dropdown-menu {
		left: -29% !important;
		/* right: 24% !important; */
		width: 61vw;
		max-width: 100vw;
		border-radius: 0;
		top: 143%;
	}
}

@media (max-width: 430px) {
	.nav-item.dropdown:hover .dropdown-menu {
		left: -29% !important;
		/* right: 24% !important; */
		width: 93vw;
		max-width: 100vw;
		border-radius: 0;
		top: 143%;
		height: auto !important;
	}
}

@media (max-width: 380px) {
	.nav-item.dropdown:hover .dropdown-menu {
		left: -10% !important;
	}
}

@media (max-width: 325px) {
	.nav-item.dropdown:hover .dropdown-menu {
		left: 9% !important;
		top: 176%;
	}
}





/* --- Clean and balanced mega dropdown --- */
/*.dropdown-menu.mega-dropdown.main-screen-second-navbar {
	left: 50% !important;
	transform: translateX(-50%) !important;
	width: 90vw;*/ /* Use screen width dynamically */
	/*max-width: 1500px;*/ /* Limit it to avoid stretching too much */
	/*padding: 30px 50px !important;
	margin-left:280px;
	border-radius: 12px;
	border: none;
	background-color: var(--white-color);
	box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
	overflow: visible !important;
}*/

/* Layout the 6 columns evenly with good spacing */
/*.dropdown-menu.mega-dropdown .row {
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;*/ /* allow wrapping if needed */
	/*gap: 25px;*/ /* nice space between columns */
/*}*/

/* Each column same width */
/*.dropdown-menu.mega-dropdown .col-2 {
	flex: 1 1 15%;*/ /* flexible but evenly spaced */
	/*min-width: 180px;
}*/

/* Headers style */
/*.dropdown-menu.mega-dropdown .dropdown-header {
	font-weight: 600;
	font-size: 15px;
	color: #1B1C1E;
	margin-bottom: 8px;
}*/

/* Items style */
/*.dropdown-menu.mega-dropdown .dropdown-item {
	white-space: normal;
	word-wrap: break-word;
	line-height: 1.5;
	padding: 3px 0;
	color: #36383B;
}*/

	/* Hover effect */
	/*.dropdown-menu.mega-dropdown .dropdown-item:hover {
		color: #4169E1;
		background: transparent;
	}*/

/* Make dropdown visible properly */
/*.nav-item.dropdown:hover .dropdown-menu.mega-dropdown.main-screen-second-navbar {
	display: block;
	opacity: 1;
}*/
