*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    font-size: 16px;
    line-height: 1.5;
    background-color: #f2f2f2;
}
/* General Reset */
.content {
    padding: 20px;
}
    /* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #074BAF;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.logo img {
    max-width: 100%;
	display: block;
    height: 100px;
	margin-top: -10px;
	margin-left: 10px;
}

.search-container {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 20px;
}

.search-container input[type=text] {
    padding: 10px;
    width: 50%;
    border: 1px solid #fff;
    border-radius: 4px;
    font-size: 16px;
	height: 50px;
}

.search-container button {
    padding: 10px;
    border: none;
    background-color: #745E3E;
    cursor: pointer;
	width: 50px;
    height: 50px;
}

.search-container-img {
        		max-width: 100%;
		display: block;
		margin-top: -5px;
    }
	
.nav {
    display: flex;
	margin-right: 30px;
}

.nav img {
	height: 50px;
    max-width: 100%;
	display: block;
	margin-top: -10px;
}

.nav a {
    margin-left: 10px;
}

.nav span{
	border-radius: 50%;
	display: flex;
	justify-content: center;
	align-items: center;
	top: 15px;
	position: absolute;
	right: 20px;
	height: 20px;
	width: 20px;
	background-color: red;
	color: white;
	margin-right:20px;
}

/* Navigation Styles */
.nav1 {
    background-color: #fff; /* Dark background color */
    overflow: hidden; /* Clear floats */
    display: flex;
    justify-content: center; /* Center align links horizontally */
}

.nav1 a {
    color: black;
    text-decoration: none;
    padding: 10px 20px;
    font-size: 18px;
    transition: background-color 0.3s ease, color 0.3s ease; /* Smooth transition */
}

.nav1 a:hover {
    background-color: #ddd; /* Lighter background on hover */
    color: black; /* Change text color on hover */
}


        .product {
            width: 25%;
            float: left;
            padding: 10px;
            box-sizing: border-box;
        }
        .product img {
            max-width: 100%;
            height: 180px;
        }

.footer {
    background-color: #074BAF;
    color: #fff;
    padding: 50px 20px;
    font-size: 14px;
    text-align: center; /* Center align the content */
}

.footer-section {
    flex: 1 1 250px; /* Flexbox properties for responsiveness */
    margin-bottom: 20px;
}

.footer-section h3 {
    font-size: 18px;
    margin-bottom: 5px;
    color: #fff;
}

.footer-section a {
    display: block;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0px;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fff;
}

.mission-statement {
    font-style: italic;
    color: #777;
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 20%;
	margin-right: 20%;
	font-size: 1rem;
    margin-top: 10px;
	line-height: 1.43;
	font-family: "Market Sans", Arial, sans-serif;
	align-items: center;
}

.mission-statement p {
    color: #fff;
	margin-top: 2px;
    line-height: 1.8;
	margin-bottom: 30px;
}

.mission-statement h3 {
    color: #fff;
	margin-bottom: 2px;
    line-height: 1.8;
	margin-bottom: 0px;
}

/* Style for social media icons */
.social-icons {
    margin-top: 10px;
    margin-bottom: 30px;
    width: 100%;
    text-align: center; /* Center align the icons */
}

.social-icons a {
    display: inline-block;
    margin: 0 10px; /* Adjust spacing between icons */
}

.social-icons img {
    height: 30px; /* Adjust height of the icons */
    width: auto; /* Maintain aspect ratio */
}

.navigation {
    flex: 1 1 100%;
}

.nav-links {
    display: flex;
    justify-content: space-around; /* Space out items horizontally */
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #fff;
}

.company-info {
    text-align: center;
    color: #fff;
    font-size: 12px;
    margin-top: 10px;
}

		.grid-container {
			display: grid;
			grid-template-columns: repeat(5, 1fr); /* Creates 4 columns */
			gap: 10px; /* Adjust the gap between items */
			padding: 10px;
			margin-right:10%;
			margin-left:10%;
		}

@media (max-width: 768px) {
    .desktop {
    display: none;
	}
}

		@media (max-width: 768px){
            .grid-container {
            grid-template-columns: repeat(2, 1fr);
            padding: 0px;
			margin-right:10px;
			margin-left:10px;
            }   
        }
.grid-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    width: 100%;
    height: 70%;
    display: block;
}

		.category {
            margin-left:10%;
			font-size: 22px;
			margin-top: 20px;
        }
		.gallery-container {
            display:flex;
			justify-content:center;
			align-items:center;
			transition: transform 0.5s ease;
        }
		 .slideshow-container {
			
        }

        /* Hide the images by default */
        .mySlides {
            display:none
        }

        /* Fading animation */
        .fade {
            animation: fade 3s infinite;
        }

        @keyframes fade {
            0% {
                opacity: 0;
            }
            20% {
                opacity: 1;
            }
            80% {
                opacity: 1;
            }
            100% {
                opacity: 0;
            }
        }
		.product-grid-container {
			grid-template-columns: 70% 30%;
			padding: 2px;
			margin-top:10px;
			margin-right:10%;
			margin-left: 10%;
			display: grid;
		}
		@media (max-width: 768px){
            .product-grid-container {
			padding: 2px;
			margin-top:10px;
			margin-right:10px;
			margin-left: 10px;
			display: block;
			width: 90%;
			text-align: center;
			}
        }
		.product-container {
            border: 1px solid #ccc;
            padding: 10px;
			display: flex;
			text-align: center;
			justify-content: space-between;
        }
        @media (max-width: 768px){
            .product-container {
            border: 1px solid #ccc;
            padding: 10px;
			display: flex;
			text-align: center;
			justify-content: space-between;
            }
        }
		.product-container img{
            margin-top: 2px;
			margin-left: 2px;
			width: 160px;
			height: 200px;
			object-fit: cover;
        }
		@media (max-width: 768px){
			.product-container img{
            margin-top: 2px;
			margin-left: 2px;
			width: 100px;
			height: 120px;
			object-fit: cover;
			}
		}
		.product-container span{
			color: black;
			text-align: left;
			display: block;
			width: 300px;
		}
			@media (max-width: 768px){
			.product-container span{
			color: black;
			text-align: left;
			display: flex;
			justify-content: space-between;
		    }
		}
		.innerDiv{
			color: black;
			margin-left: -60px;
		}
			@media (max-width: 768px){
			.innerDiv{
		    }
		}
		.checkout-container {
			text-align: center;
        }
		.checkout-container p{
			margin-left: 30px;
			color: black;
			font-size: 20px;
			letter-spacing: 1px;
			line-height: 1.5;
			text-align: left;
		}
.product-title {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.product-description, .product-title {
    text-align: center;
    padding: 10px;
}

.product-description {
    font-size: 14px;
    color: #666;
    text-align: center;
    padding: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    max-height: 3.5em; /* Adjust based on font size and line height */
    line-height: 1.4; /* Adjust line height for better readability */
	margin-bottom: auto;
}
.add-to-cart {
	padding: 10px;
		width: 40%;
		background-color: #074BAF;
		margin-top: 20px;
		color: white;
		font-size: 16px;
		border-color: #074BAF;
		align-items: center;"
	}
		.div-img {
            display: grid;
			grid-template-columns:
			repeat(2, 1fr);
			gap: 10px;
			padding: 0px;
        }
/* Cart Items Styles */
#cartItems {
    list-style-type: none;
    padding: 0;
    margin: 0;
    border-top: 1px solid #ccc; /* Add a subtle border on top */
}

.cart-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #eee; /* Add border between items */
    transition: background-color 0.3s ease; /* Smooth background color transition */
}

.cart-item:last-child {
    border-bottom: none; /* Remove border on the last item */
}

.cart-item:hover {
    background-color: #f9f9f9; /* Light background on hover */
}

.cart-item img {
    width: 80px; /* Adjust image size */
    height: 80px;
    object-fit: cover; /* Ensure images maintain aspect ratio */
    margin-right: 15px;
    border-radius: 4px; /* Rounded corners for images */
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.1); /* Subtle shadow */
}

.cart-item-details {
    flex: 1;
}

.cart-item-title {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.cart-item-description {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.cart-item-price {
    font-size: 18px;
    font-weight: bold;
    color: #074BAF; /* Highlight price color */
}

.cart-item-remove {
    font-size: 14px;
    color: #bbb;
    cursor: pointer;
    transition: color 0.3s ease; /* Smooth color transition on hover */
}

.cart-item-remove:hover {
    color: #f44336; /* Red color on hover */
}

@media (max-width: 768px){
    .grid-container {
    grid-template-columns: repeat(3, 1fr);
    padding: 0px;
	margin-right:10px;
	margin-left:10px;
    }   
}


@media (max-width: 768px) {
    .grid-item {
    border: 1px solid #ddd;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.grid-item:hover {
    transform: translateY(-5px);
}

.grid-item img {
    width: 100%;
    height: 60%;
    display: block;
}

}

@media (max-width: 768px) {
    .logo img {
		max-width: 100%;
		height: 60px;
		display: block;
    }

    .search-container {
        flex: 1;
        margin: 0 10px;
    }

    .search-container input[type=text] {
        padding: 10px;
		`width: 60%;
		border: 1px solid #fff;
		border-radius: 4px;
		font-size: 16px;
		height: 50px;
    }

    .search-container button {
        width: 60px;
    }

.search-container-img {
        		max-width: 100%;
		display: block;
		margin-top: -5px;
    }

    .nav a img {
        max-width: 100%;
		height: 30px;
		display: block;
    }
	
	.nav {
    display: flex;
	margin-right: 10px;
	}

	.nav a {
    margin-left: 10px;
	}

	.nav span{
		margin-right:0px;
		margin-top: -10px;

}

@media (max-width: 768px) {
    .nav1 {
        display: none; /* Hide desktop menu on smaller screens */
    }

@media (max-width: 768px){
    .category {
		margin-left: 10px;
    }   
}

@media (max-width: 768px) {
    .footer-section {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .navigation-tabs {
        flex-wrap: wrap; /* Allow navigation items to wrap */
        justify-content: center; /* Center items horizontally */
        margin: 10px 0; /* Adjust margin */
		margin-bottom: 20px;
    }

    .navigation-tabs a {
        margin: 5px; /* Add spacing between navigation links */
    }
}