@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700;800;900&display=swap');

* {
	box-sizing: border-box;
	margin: 0;
	padding: 0;
	list-style: none;
	text-decoration: none;
}

:root {
	--bg-color: #dccdc1; /* color-1 */
	--primary-color: #1e1e1e; /* color-2 */
	--secondary-color: #1e1e1ebf; /* color-3 */
	--text-color: #140505b3; /* color-4 */

	--heading-text: 2rem;
	--defaut-text: 1.125rem;
}

body {
	margin: 0 auto;
	font-family: 'Poppins', sans-serif;
}

/* <!-- header section design --> */
header {
	position: fixed;
	right: 0;
	top: 0;
	width: 100%;
	z-index: 1000;
	display: flex;
	gap: 1rem;
	align-items: center;
	justify-content: space-between;
	background: transparent;
	padding: 12px 5%;
	border-bottom: 1px solid #f7f9fb;
	transition: all 0.45s ease;
}

.logo {
	flex-wrap: nowrap;
	margin-top: 10px;
}

.logo img {
	width: 100%;
	height: 39px;
	object-fit: contain;
	align-items: center;
	border-radius: 10px;
}

nav {
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.navbar {
	display: flex;
}

.navbar a {
	font-size: var(--defaut-text);
	color: var(--text-color);
	font-weight: 500;
	padding: 10px 25px;
	/* margin: 0 5px; */
	background: transparent;
	border-radius: 30px;
	transition: all 0.45s ease;
}

.navbar a:is(:hover, :focus, :active) {
	background: var(--bg-color);
	color: var(--primary-color);
}

.icons {
	display: none;
	align-items: center;
}

.icons i {
	height: 42px;
	width: 42px;
	background: #f7f9fb;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	color: var(--primary-color);
	font-size: 20px;
	margin-right: 25px;
	margin-left: 10px;
	transition: all 0.45s ease;
}

.icons i:hover {
	transform: scale(0.9);
}

#menu-icon {
	font-size: 28px;
	color: var(--primary-color);
	z-index: 10001;
	cursor: pointer;
	margin-left: 20px;
}

header.sticky {
	background: #ffffff;
	padding: 12px 5%;
}

/* banner desing */
.banner {
	border-radius: 24px;
	background: var(--bg-color);
	margin: 96px 5%;
	padding: 48px 0 0 0;
	display: flex;
	justify-content: space-evenly;
	align-items: center;
}

.banner-content {
	width: 50%;
	text-align: center;
}

.banner-content h1 {
	color: #000;
	font-style: normal;
	font-weight: 800;
	line-height: 64px;
	margin-bottom: 24px;
}

.banner-stats {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	margin-bottom: 48px;
}
.bar {
	height: 50px;
	border: 1px solid #000;
}

.banner-stats h6 {
	font-size: var(--heading-text);
	color: var(--primary-color);
	font-weight: 500;
}

.learn-more {
	color: var(--bg-color);
	font-weight: bold;
	background-color: #000;
	padding: 0.7rem 2rem;
	border-radius: 5px;
}

.learn-more:hover {
	background-color: var(--bg-color);
	border: 1px solid #000;
	color: #000;
}

.banner-img {
	margin-bottom: -113px;
}

.banner-img img {
	width: 100%;
	height: 100%;
}

/* best selling */
section {
	margin: 96px 5%;
}
h2 {
	color: var(--primary-color);
	font-size: var(--heading-text);
	font-weight: 700;
	line-height: normal;
	margin-bottom: 12px;
}

p {
	color: var(--text-color);
	font-size: var(--defaut-text);
	font-style: normal;
	font-weight: 500;
	line-height: normal;
	margin-bottom: 24px;
}

.btn {
	padding: 12px 24px;
	color: var(--primary-color);
	background: var(--bg-color);
	font-size: var(--defaut-text);
	font-weight: 500;
	border: none;
	border-radius: 8px;
	outline: none;
	cursor: pointer;
	transition: all 0.45 ease;
}

.btn:hover {
	transform: translateX(-5px);
}

#bx-1,
#bx-2 {
	background-color: var(--bg-color);
	border-radius: 20px;
	padding: 24px;
}

.best-selling {
	display: flex;
	flex-direction: column;
	flex-wrap: wrap;
	gap: 4rem;
	text-align: center;
}

.best-selling-content {
	justify-self: center;
}

.best-selling-content p,
.about p {
	width: 80%;
	margin: 0 auto 40px;
}

.all-products {
	display: flex;
	gap: 3rem;
	flex-wrap: wrap;
	text-align: center;
	justify-content: center;
}

.products h5 {
	color: var(--primary-color, #1e1e1e);
	font-size: var(--defaut-text);
	font-style: normal;
	font-weight: bold;
	line-height: normal;
	margin-top: 12px;
}

.products {
	cursor: pointer;
	transition: all 0.45s ease;
}

.products:hover {
	transform: translateY(-5px);
}

.products .img-container {
	background-color: var(--bg-color);
	height: 363px;
	border-radius: 10px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.products .img-container img {
	width: 90%;
	height: 90%;
	border-radius: 10px;

	object-fit: contain;
}

/* about section stlying */
.about,
.team {
	text-align: center;
}

h3 {
	color: #000;
	font-size: var(--defaut-text);
	font-style: normal;
	font-weight: 700;
	line-height: normal;
	margin-bottom: 12px;
}

.about-box {
	display: flex;
	justify-content: space-around;
	gap: 24px;
	padding: 24px;
}

.box-img-service {
	display: flex;
}

.box-img {
	padding: 10px;
	background: var(--bg-color);
}
.box-img i {
	font-size: 3rem;
}

.team-image {
	width: 431px;
	height: 431px;
	object-fit: cover;
}

.team-box {
	display: flex;
	gap: 50px;
	justify-content: center;
	flex-wrap: wrap;
}

.box-service {
	display: flex;
	justify-content: center;
	gap: 50px;
	width: 70%;
}

.service-description {
	text-align: start;
}

.our-partners {
	text-align: center;
}

/* .par */
/* footer section */
footer {
	background: var(--bg-color);
	padding: 48px 2rem;
}
.footer-container {
	display: flex;
	align-items: center;
}
.company-info {
	display: flex;
	flex-direction: column;
	justify-self: start;
	align-items: center;
}

.company-info p {
	width: 40%;
}

.company-info img {
	width: 5.5rem;
	height: 3rem;
}

.socials {
	display: flex;
	gap: 20px;
}

.socials i {
	padding: 8px;
	font-size: 20px;
	border: 1px solid var(--text-color);
	color: var(--secondary-color);
	border-radius: 50%;
	cursor: pointer;
	transition: all 0.45s ease;
}

.socials i:hover {
	background: #000;
	color: #fff;
}

.web-pages {
	display: flex;
	flex-direction: column;
	gap: 1rem;
	width: 50%;
}

.info {
	display: flex;
	align-items: center;
	gap: 1rem;
}

.info p {
	margin: 0;
}

.info i {
	font-size: 20px;
	color: var(--secondary-color);
}

.copyright {
	text-align: center;
	margin: 4rem 0 0;
}

.hidden {
	display: none;
}

@media screen and (max-width: 768px) {
	.best-selling-content p,
	.about p {
		width: 95%;
	}

	.team-image {
		width: 100%;
		height: auto;
		object-fit: contain;
	}
	#menu-icon {
		display: initial;
		height: 50px;
		width: 50px;
		margin-left: 20px;
		display: inline-flex;
		align-items: center;
		justify-content: center;
	}

	.icons {
		display: flex;
	}

	.navbar {
		position: absolute;
		top: 100%;
		right: -300%;
		width: 300px;
		height: 125vh;
		background: #fff;
		display: flex;
		flex-direction: column;
		align-items: center;
		padding: 100px 30px;
		transition: all 0.45s ease;
	}

	.icons i {
		margin: 0 15px;
	}
	.navbar a {
		display: block;
		margin: 1rem 0;
	}
	.navbar.open {
		right: 0;
	}

	.banner {
		flex-direction: column;
	}

	.banner-content {
		width: 100%;
	}

	.banner-content h1 {
		width: 100%;
	}
	.search-btn {
		width: 100%;
	}

	.banner-img {
		margin-bottom: -55px;
		margin-top: 0;
	}

	/* abouts */
	.about-box,
	.category-container {
		flex-direction: column;
		padding: 15px;
	}

	.row {
		width: 100%;
	}

	.row:nth-child(3) {
		margin-top: 0;
	}
}

@media screen and (max-width: 1150px) {
	.footer-container {
		flex-direction: column;
		align-items: center;
		gap: 3rem;
	}

	.company-info {
		width: 90%;
	}

	.company-info p {
		width: 100%;
	}

	.web-pages {
		width: 90%;
		justify-content: center;
	}

	.box-service {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
	}
	
	
	
}
