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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', Arial, sans-serif;

}

body {
    font-family: 'Poppins', Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    scroll-behavior: smooth;
}


/* Header Section */
header {
    background-color: #0073e6;
    color: white;
    text-align: center;
    padding: 50px 0;
}

header h1 {
    margin: 0;
    font-size: 2.5em;
}

header p {
    font-size: 1.2em;
}

/* Navigation Bar */
nav {
    background-color: #0073e6;
    padding: 10px 0;
    text-align: center;
    position: relative;
    z-index: 1000; /* Ensure it stays on top */
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: center;
}

nav ul li {
    margin: 0 15px;
}

nav ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 1.2em;
    transition: color 0.3s ease;
    padding: 10px 15px;
    display: inline-block;
    font-family: 'Poppins', sans-serif; /* Poppins font */
}

nav ul li a:hover {
    color: #ffdb4d;
}

/* Hamburger Menu Icon */
.hamburger-menu {
    display: none;
    cursor: pointer;
    position: absolute;
    top: 15px;
    right: 15px;
    z-index: 1001; /* Ensure it's above the content */
    background-color: transparent;
    border: none;
}

.hamburger-menu .bar {
    display: block;
    width: 30px;
    height: 4px;
    background-color: #fff;
    margin: 6px auto;
    transition: all 0.3s ease;
}

.hamburger-menu.open .bar:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}

.hamburger-menu.open .bar:nth-child(2) {
    opacity: 0;
}

.hamburger-menu.open .bar:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

@media screen and (max-width: 768px) {
    nav ul {
        display: none;
        position: absolute;
        top: 60px;
        background-color: #0073e6;
        width: 100%;
        text-align: center;
        z-index: 1000;
    }

    nav ul.active {
        display: flex;
        flex-direction: column;
    }

    nav ul li {
        margin: 10px 0;
    }

    .hamburger-menu {
        display: block;
    }
}

/* Main Title Section */
#top-bar {
    background-color: #0073e6;
    color: white;
    padding: 10px 0;
}

#top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#top-bar h1 {
    margin: 0;
    font-size: 2em;
}

/* Product Categories Section */
#categories {
    background-color: #ffffff;
    color: black;
    padding: 50px 0;
}

#categories .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#categories h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.category-list {
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.category {
    width: 300px;
    padding: 20px;
    background-color: #333;
    border-radius: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease;
    color: white;
}

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

.category h3 {
    font-size: 24px;
    margin-bottom: 10px;
    text-align: center;
}

.category p {
    font-size: 16px;
    line-height: 1.6;
    text-align: center;
}

/* Dropdown Menu Section */
#category-dropdown {
    margin-bottom: 20px;
    padding: 10px;
    font-size: 16px;
    border: none;
    background-color: #444;
    color: #fff;
    border-radius: 5px;
    font-family: 'Poppins', Arial, sans-serif;
    cursor: pointer;
}



.product-checkbox {
    margin-right: 10px;
}

/* Product Comparison Section */
#comparison {
    background-color: #f9f9f9;
    padding: 50px 0;
}

#comparison .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#comparison h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

.comparison-table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    
}

.comparison-table th, .comparison-table td {
    padding: 16px;
    text-align: left;
    border-bottom: 1px solid #ddd;
    font-size: 14px;
}

.comparison-table th {
    background-color: #0073e6;
    color: white;
    padding: 16px;
    text-align: left;
    font-weight: bold;
    text-transform: uppercase;
}

.comparison-table tr:hover {
    background-color: #d4d4d4;
}
td {
    padding: 14px;
}
#comparison-checkbox-container {
    margin-bottom: 30px;
}

.product-checkbox {
    margin-right: 10px;
}

#select-all-btn {
    background-color: #0073e6;
    color: #fff;
    border: none;
    padding: 12px 24px;
    border-radius: 5px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s ease;
    text-transform: uppercase;
    font-weight: bold;
}

#select-all-btn:hover {
    background-color: #004999;
}

/* Blog Section */
#blog {
    padding: 50px 0;
}

#blog .container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

#blog h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
    width: 100%;
}

article {
    background-color: #fff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    padding: 20px;
    border-radius: 10px;
    width: 300px;
    text-align: center;
}

article h3 {
    font-size: 24px;
    margin-bottom: 10px;
}

article p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 10px;
}

article a {
    color: #0073e6;
    text-decoration: none;
    font-weight: bold;
}

article a:hover {
    text-decoration: underline;
}

/* About Us Section */
#about {
    background-color: #f9f9f9;
    padding: 50px 0;
    text-align: center;
}

#about .container {
    width: 70%;
}

#about h2 {
    font-size: 36px;
    margin-bottom: 30px;
}

#about p {
    font-size: 18px;
    line-height: 1.6;
}

/* Contact Us Section */
#contact {
    padding: 50px 0;
    background-color: #0073e6;
    color: #fff;
}

#contact .container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#contact h2 {
    font-size: 36px;
    margin-bottom: 30px;
    text-align: center;
}

form {
    width: 70%;
    max-width: 600px;
}

form label {
    display: block;
    font-size: 18px;
    margin-bottom: 10px;
}
input {
    margin: 5px;
}
form input,
form textarea {
    width: 100%;
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

form button {
    padding: 10px 20px;
    background-color: #005bb5;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    cursor: pointer;
}

form button:hover {
    background-color: #004999;
}

/* Navbar Styles */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: #333;
    padding: 15px;
}

.logo a {
    color: white;
    font-size: 1.5em;
    text-decoration: none;
    font-weight: bold;
}

.logo a:hover {
    text-decoration: underline;
}

.nav-links {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.nav-links li {
    margin-right: 20px;
}

.nav-links li a {
    color: white;
    text-decoration: none;
    font-size: 1.2em;
    transition: all 0.3s ease;
}

.nav-links li a:hover {
    text-decoration: underline;
}
.checkbox-label-wrapper {
    background-color: #333;
    width: auto;
    color: white;
    padding: 10px;
    display: flex;
    flex-direction: row-reverse;
    align-content: center;
    justify-content: space-between;
    margin: 5px;
    font-size: 20px ;
}
#checkbox-container {
    display: flex;
    justify-content: center;
    align-items: center;
    align-content: center;
    flex-direction: column;
    margin-bottom: 10px;
    padding: 20px;
    cursor: pointer;}

#category-select {
    margin: auto;

}
main {
    display: flex;
    flex-direction: column;
    align-content: center;
    justify-content: center;
    align-items: stretch;
}

/* Select All Button */
.select-all-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.select-all-btn:hover {
    background-color: #005bb5;
}
#about {
    display: flex;
    align-items: center;
    justify-content: center;
}
/* Footer */
footer {
    background-color: #333; /* Dark background color */
    color: #fff; /* White text color */
    text-align: center;
    padding: 20px 0; /* Padding top and bottom */
    position: relative; /* Ensure footer sticks to bottom */
    clear: both; /* Clear floats */
}

footer p {
    margin: 0;
    font-size: 14px; /* Font size */
    line-height: 1.6; /* Line height */
}

/* Example additional styling for footer links */
footer a {
    color: #fff; /* White color for links */
    text-decoration: none; /* Remove underline */
}

footer a:hover {
    text-decoration: underline; /* Underline on hover */
}
#comparison-content {
    display: flex;
    width: 90%;
    margin: auto;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    align-content: center;

}
.product {
    display: flex;
    align-content: center;
    align-items: center;
    justify-content: space-around;
    padding: 10px;
    margin: 10px;
    box-shadow: #333 4px 3px 20px 1px;
    width: 350px;
    height: 350px;
    flex-direction: column;
}
#category-dropdown, #brand-checkbox-container, #price-range-container {
    margin-bottom: 20px;
}

#brand-checkbox-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}
.brand-checkbox {
    cursor: pointer;
}
#price-range-container {
    margin-bottom: 20px;
}

#price-range {
    width: 100%;
}

#price-range-value {
    font-weight: bold;
}
/* styles.css */

/* Comparison Item */
.comparison-item {
    display: flex;
    align-items: center;
    border: 1px solid #ccc;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 10px;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-image {
    width: 150px; /* Adjust width as needed */
    margin-right: 20px; /* Adjust spacing between image and details */
}

.product img {
    width: 300px;
    height: 200px;
    border-radius: 6px; /* Rounded corners for image */
}

/* Product Details */
.product-details {
    flex: 1; /* Take remaining space */
}

.product-details h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.product-details p {
    font-size: 14px;
    line-height: 1.4;
    color: #666;
}

/* Select All Button */
.select-all-btn {
    margin-top: 10px;
    padding: 10px 20px;
    background-color: #0073e6;
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
    font-size: 14px;
}

.select-all-btn:hover {
    background-color: #005bb5;
}

/* Checkbox Label Wrapper */
.checkbox-label-wrapper {
    display: flex;
    align-items: stretch;
    margin-bottom: 5px;
    justify-content: center;
    align-content: center;
    flex-direction: row;
}

.checkbox-label-wrapper label {
    margin-left: 10px;
    font-size: 16px;
}
.compCardh3 {
    text-decoration: none !important;
    font-size: 25px;
    color: black;
}
a {
    text-decoration: none;
}