* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

/* Navigation  */

.navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 20px;
    background-color: #001F3F;
    color: #FFFFFF;
    position: fixed;
    width: 100%;
    top: 0;
}

.logo {
    font-size: 24px;
}

.search-container input {
    padding: 5px;
    border: none;
    border-radius: 4px;
}

.nav-links {
    display: flex;
}

.dropdown {
    justify-content: space-between;
    position: relative;
    display: inline-block;
}

.dropbtn {
    background-color: #001F3F;
    color: #FFFFFF;
    padding: 10px;
    border: none;
    cursor: pointer;
}

.dropbtn:hover {
    background-color: #001F3F;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #FFFFFF;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdown-content a {
    color: #001F3F;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

.dropdown-content a:hover {
    background-color: #FFFFFF;
}

.dropdown:hover .dropdown-content {
    display: block;
}

.user-icon {
    font-size: 30px;
}

a {
    color: #FFFFFF;
    text-decoration: none;
}

.bottom-nav {
    display: none;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #001F3F;
    color: #FFFFFF;
    padding: 10px 0;
    justify-content: space-around;
}

.bottom-nav a {
    color: #FFFFFF;
    text-decoration: none;
    font-size: 20px;
}


/* product bar  */
.Navbar {
    display: none; 
    background-color: #001F3F;
    padding: 5px 0; 
    text-align: center;
    margin-top: 50px;
    border-radius: 30px; 
    max-width: 400px; 
    margin-left: auto;
    margin-right: auto;
    position: fixed; 
    top: 20px; 
    left: 0; 
    right: 0; 
    z-index: 1000; 
}

.Navbar a {
    color: white;
    padding: 8px 12px; 
    text-decoration: none;
    display: inline-block;
}

/* costom boostrap icon */

.bi-play-circle-fill .bi-cart-check {
    font-size: 30px;
    color: #001F3F;
}

.bi-play-circle-fill:hover {
    color: #fff;
}

.bi-cart-check:hover {
    color: #fff;
}

/* cards  */

.container { 
    display: flex;
    justify-content: center;
    margin-top: 60px;
    padding: 20px;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    width: 100%;
}

.card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    margin: 10px;
    padding: 20px;
    flex: 0 1 calc(25% - 20px); /* 4 cards on large screens */
    text-align: center;
    transition: transform 0.2s;
}

.card img {
    max-width: 100%;
    border-radius: 5px;
    margin-bottom: 10px;
}

.price {
    font-size: 1.5em;
    color: #333;
}

button {
    background-color: #fff;
    border: 1px solid #001F3F;
    border-radius: 5px;
    padding: 10px 15px;
    margin: 5px;
    cursor: pointer;
}

button:hover {
    background-color: #001F3F;
    color: #fff;
}


/* footer  */

footer {
    background-color: #333;
    color: #fff;
    padding: 20px 0;
}

.footer-container {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: auto;
    padding: 0 20px;
}

.footer-section {
    flex: 1;
    min-width: 200px;
    margin: 10px;
}

.footer-section h3 {
    margin-bottom: 10px;
}

.footer-section p {
    margin-bottom: 10px;
}

.footer-section ul {
    list-style: none;
    padding: 0;
}

.footer-section ul li {
    margin: 5px 0;
}

.footer-section ul li a {
    color: #fff;
    text-decoration: none;
}

.footer-section ul li a:hover {
    text-decoration: underline;
}

.social-icons a {
    margin-right: 10px;
    color: #fff;
    font-size: 2rem;
}

.payment-icons i {
    color: #fff;
    font-size: 2rem;
    margin-right: 10px;
}

footer .footer-bottom {
    text-align: center;
    margin-top: 20px;
    border-top: 1px solid #444;
    padding-top: 10px;
}

/* Responsive styles */

@media (max-width: 768px) {
    .navbar {
        flex-direction: row;
        justify-content: space-between;
        padding: 5px 10px;
        height: 60px;
    }

    .nav-links {
        display: none;
    }

    .search-container {
        flex-grow: 1;
        text-align: center;
    }

    .bottom-nav {
        padding-top: 20px;
        height: 60px;
        display: flex;
    }

    .card {
        flex: 0 1 calc(50% - 20px); /* 2 cards on small screens */
    }

    .bi-play-circle-fill .bi-cart-check {
        font-size: 30px;
        color: #001F3F;
    }

    /* product bar  */
    .Navbar {
        display: block; /* Show on small screens */
    }
}
