@import url("https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap");

* {
	margin: 0;
	padding: 0;
	text-decoration: none !important;
	list-style: none;
	font-family: "Poppins", sans-serif;
}

:root {
	--white: #fff;
	--dark: #212529;
	--blue: #4b90f0;
	--blue-secondary: #438dd6;
	--h5: 40px;
}

.pd_cus {
	padding-left: 6.25em;
}

.scrolled {
	transition: 0.25s ease-in-out;
	box-shadow: 0 0 10px #ccc;
}

.width_cus {
	width: 1200px;
	margin: 0 auto;
}

@media screen and (min-width: 1000px) and (max-width: 1450px) {
	.width_cus {
		width: 100%;
		padding: 0 7em;
	}
}

@media screen and (max-width: 1000px) {
	.width_cus {
		display: flex;
		flex-direction: column;
		width: 90%;
		margin: 0 auto;
	}
}

.cont {
	padding-top: 6em;
}

@media screen and (max-width: 500px) {
	.cont {
		padding-top: 4.75em !important;
	}
}

/* Navbar */

.active {
	display: inline-block;
	color: var(--dark);
	text-decoration: none;
}

.active::after {
	content: "";
	display: block;
	width: 100% !important;
	height: 2px;
	background: var(--dark);
}

.navbar-brand {
	/* background-color: #000; */
	width: 100px;
	height: auto;
	margin: 0 5em 0 4em;
}
.navbar-nav {
	margin: 0 5em 2em 4em;

}

.navbar-nav li a {
	display: inline-block;
	color: var(--dark);
	text-decoration: none;
}

.navbar-nav li a::after {
	content: "";
	display: block;
	width: 0;
	height: 2px;
	background: var(--dark);
	transition: width 0.3s;
}

.navbar-nav li a:hover::after {
	width: 100%;
}

.mob_nav {
	height: 100%;
	width: 100%;
	position: fixed;
	z-index: 1;
	top: 0;
	left: 0;
	background-color: var(--white);
	overflow-x: hidden;
	transition: 0.5s;
	padding-top: 60px;
	text-align: center;
}

.mob_nav a {
	text-decoration: none;
	font-size: 25px;
	color: var(--blue);
	display: block;
	transition: 0.3s;
}

.mob_nav .closebtn {
	position: absolute;
	top: 10px;
	right: 15px;
	font-size: 25px;
	margin-left: 50px;
}

@media screen and (max-height: 450px) {
	.mob_nav {
		padding-top: 15px;
	}
	.mob_nav a {
		font-size: 18px;
	}
}

#secondary_nav_logo {
	width: 300px;
	height: auto;
	object-fit: cover;
}

@media screen and (max-width: 450px) {
	#secondary_nav_logo {
		width: 200px;
		margin-top: 0.4em;
	}
}

@media screen and (max-width: 1150px) {
	#secondary-nav {
		display: block !important;
	}
	#mob_nav {
		display: block !important;
	}
	#main-navbar {
		display: none !important;
	}
}
#mob_nav {
	transform: translateX(-100%);
}
.trans-show {
	transform: translateX(0%) !important;
}
#main-navbar {
	display: block;
}
#mob_nav {
	display: none;
}
.active-mob {
	color: var(--dark) !important;
}
#secondary-nav {
	display: none;
}
.mob_nav_links {
	display: flex;
	align-items: center;
	flex-direction: column;
	justify-content: space-between;
	height: 100%;
	padding-bottom: 4em;
}

/** Landing Page  **/

.banner_img {
	width: 100%;
	height: 90vh;
	object-fit: cover;
	filter: brightness(70%);
}

@media screen and (min-width: 10px) and (max-width: 790px) {
	.banner_img {
		width: 100%;
		height: 88vh !important;
	}
}

@media screen and (min-width: 791px) and (max-width: 1000px) {
	.banner_img {
		width: 100%;
		height: 60vh;
	}
}

.img_resp,
.img_resp1 {
	height: 400px;
	width: 100%;
	object-fit: cover;
}

@media screen and (min-width: 10px) and (max-width: 1000px) {
	.img_resp {
		margin-top: 3em;
		display: flex;
		height: auto;
		width: 100%;
	}

	.img_resp1 {
		margin-top: 0em;
		margin-bottom: 2em;
		display: flex;
		height: auto;
		width: 100%;
	}
}
.banner_details_home {
	bottom: 10%;
	color: var(--white);
	width: 50%;
	margin-left: 7em;
}
.banner_details {
	display: flex;
	justify-content: center;
	align-items: center;
	bottom: 40%;
	color: var(--white);
	width: 100%;
	/* 	width: 50%;
	margin-left: 7em; */
}

@media screen and (min-width: 500px) and (max-width: 790px) {
	.banner_details {
		margin-left: 0;
		padding: 0em 3em;
		width: 96%;
	}
	.banner_details_home {
		margin-left: 0;
		padding: 0em 3em;
		width: 96%;
	}
}

@media screen and (max-width: 499px) {
	.banner_details {
		margin-left: 0;
		padding: 0em 1.5em;
		width: 96%;
	}
	.banner_details_home {
		margin-left: 0;
		padding: 0em 1.5em;
		width: 96%;
	}
}

.banner_container h5 {
	color: var(--blue);
	font-size: 40px;
	margin-bottom: 0.5em;
}

.home_about_us {
	margin: 5em 0;
}

.homepage_quote h5 {
	color: var(--blue);
	font-size: var(--h5);
}

#get_my_quote_btn {
	background-color: var(--blue);
	border-radius: 15px;
	border: none;
}

#get_my_quote_btn:hover {
	background-color: var(--blue-secondary);
}

.homepage_ft_prod {
	margin: 5em 0;
}

.homepage_ft_prod .ft-h5 {
	font-size: var(--h5);
	color: var(--blue);
}

.homepage_ft_prod h5 {
	color: var(--blue);
}

#homepage_ft_prod_grid_cont {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1200px) {
	#homepage_ft_prod_grid_cont {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 650px) {
	#homepage_ft_prod_grid_cont {
		grid-template-columns: repeat(1, 1fr);
	}
	.homepage_ft_prod {
		margin: 5em 0.4em;
	}
}

.ft-h5 {
	margin-bottom: 1em;
}

.sv_img,
.ev_img {
	transition: 0.25s ease-in-out;
}

.sv_img_cont,
.ev_img_cont {
	overflow: hidden !important;
}

.main_card_home:hover .sv_img {
	transform: scale(1.1);
	filter: brightness(90%);
}

.main_cont:hover .sv_img {
	transform: scale(1.1);
	filter: brightness(90%);
}

/* Ev spares */

.f_lt_size::first-letter {
	font-size: 200% !important;
	color: var(--blue);
}

.ev_img_cont:hover .ev_img {
	transform: scale(1.1);
	filter: brightness(90%);
}

#we_serve_list_cont {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(4, 1fr);
}

@media screen and (max-width: 1200px) {
	#we_serve_list_cont {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 650px) {
	#we_serve_list_cont {
		grid-template-columns: repeat(1, 1fr);
	}
}

/* About us */

.main_about_us {
	margin: 5em 0;
}

.main_about_us h5 {
	color: var(--blue);
}

/* Services Page */
.services_list {
	margin: 5em 0;
}

.services_list .ft-h5 {
	font-size: var(--h5);
	color: var(--blue);
}

.services_list h5 {
	color: var(--blue);
}

#services_list_cont {
	display: grid;
	gap: 30px;
	grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 1200px) {
	#services_list_cont {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media screen and (max-width: 650px) {
	#services_list_cont {
		grid-template-columns: repeat(1, 1fr);
	}
}

#load {
	background-color: var(--blue);
	border-radius: 15px;
	border: none;
	padding: 1em 2em;
}

/* View service page */

#view_service {
	margin: 5em 0;
}

#view_service h4,
h2 {
	color: var(--blue);
}

.view_service_cont {
	display: flex;
	flex-direction: row;
}

@media screen and (max-width: 1000px) {
	.view_service_cont {
		flex-direction: column;
	}
	#view_service_details {
		margin-bottom: 2em;
	}
}

/* Products page */

#products_mar {
	display: flex;
	height: 90px;
	background-color: var(--blue);
}
#price_cont {
	display: flex;
}
.pr_cont_1 {
	padding-left: 6.5em;
}

.pr_cont_2 {
	padding-right: 5.5em;
}

#product_title {
	color: var(--blue);
}

#srch_products {
	font-family: Arial, FontAwesome;
	border: none;
	width: 250px !important;
}

#pr_sort_by {
	width: 120px;
}

#products_submit {
	height: 38px;
	width: 38px;
	background-color: #fff;
	outline: none;
	border: none !important;
	border-radius: 50%;
}

#srch_products,
#pr_sort_by {
	border-radius: 16px;
}

#filter_icon {
	display: none;
}

.d_flex_cust {
	display: flex !important;
}

#filter_back {
	display: none;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	text-align: center;
	position: absolute;
	height: 10em;
	background-color: #fff;
	color: var(--dark);
	width: 100%;
	top: 12em;
	z-index: 999;
}

#filter_back h4 {
	color: var(--blue);
}

@media screen and (max-width: 1000px) {
	#price_cont {
		display: none;
	}
	#srch_products {
		font-family: Arial, FontAwesome;
		border: none;
		width: 140px !important;
	}
	#products_mar {
		display: flex;
		justify-content: space-between !important;
	}
	.pr_cont_1,
	.pr_cont_2 {
		padding: 0 0.5em 0 0;
	}
	#filter_icon {
		color: #fff;
		font-size: 22px;
		padding: 0.3em 0.3em 0.25em 0.3em;
		margin-left: 0.5em !important;
		border-radius: 10px;
		border: 1px solid #fff;
		display: block;
	}
}

@media screen and (max-width: 500px) {
	#srch_products {
		width: 20% !important;
		margin-left: 1em !important;
	}
	#pr_sort_by {
		width: 30% !important;
	}
}

.pagination-links {
	position: relative;
	width: 100%;
	height: 10vh;
	margin-bottom: 2em;
}

.pagination-links-cont {
	position: absolute;
	top: 50%;
	right: 0%;
	transform: translateY(-50%);
}

.pagination-links strong {
	padding: 10px 15px;
	margin: 0.3em;
	color: #000;
	border-radius: 4px;
	font-weight: 400;
	display: inline-block;
	color: var(--dark);
	text-decoration: none;
}

.pagination-links strong::after {
	content: "";
	display: block;
	width: 100% !important;
	height: 2px;
	background: var(--dark);
}

.pagination-links a {
	padding: 10px 15px;
	margin: 0.3em;

	color: #000 !important;
	border-radius: 4px;
	text-decoration: none;
}

/* View product page */

.view_product_page {
	margin: 5em 0;
	display: flex;
	flex-direction: row;
	color: var(--dark);
}

.view_product_page h4 {
	color: var(--blue);
}

.view_product_page button {
	background-color: var(--blue);
	border: none;
	padding: 0.5em 1em;
}

@media screen and (max-width: 1000px) {
	.view_product_page {
		flex-direction: column;
	}
	.product_details {
		margin-top: 5em !important;
	}
}

/* Contact us page */

.contact_us {
	margin: 10.25em 0 5em 0;
}

.contact_us_cont {
	width: 900px;
}

.contact_us_btn {
	background-color: var(--blue);
	border: none;
	padding: 0.75em;
}

@media screen and (min-width: 526px) and (max-width: 1130px) {
	.contact_us_cont {
		width: 100%;
		padding: 0 6em;
	}
}

@media screen and (max-width: 525px) {
	.contact_us {
		margin: 7em 0 5em 0;
	}
	.contact_us_cont {
		width: 100%;
		padding: 0 1em;
	}
}

.contact_us_cont h5 {
	color: var(--blue);
}

/*Footer*/

.ft_cont {
	width: 1200px;
	margin: 0 auto;
}

@media screen and (min-width: 1151px) and (max-width: 1450px) {
	.ft_cont {
		width: 1000px;
	}
}

@media screen and (min-width: 476px) and (max-width: 1150px) {
	.ft_cont {
		width: 80%;
		flex-direction: column;
	}
	.foot_details {
		margin-top: 2em;
	}
}

@media screen and (max-width: 475px) {
	.ft_cont {
		width: 100%;
		padding: 2em 2em 0 2em;
		flex-direction: column;
	}
	.foot_details {
		flex-direction: column;
		margin-top: 2em;
	}
}
