/* General Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    background-color: #fff;
    color: #000;
    transition: all 0.3s;
}

/* Top Bar */
.top-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    background-color: #f8f9fa;
    border-bottom: 1px solid #ddd;
}

.contact-number {
    font-size: 14px;
}

.top-right {
    display: flex;
    align-items: center;
}

.swakcha-bharat {
    width: 120px;
    height: 60px;
    border-radius: 50%;
    margin-right: 10px;
}
.profile-image {
    width: 150px;
    height: 60px;
   
}
#language-select {
    padding: 5px;
}

/* Header */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background-color: #fff;
    border-bottom: 1px solid #ddd;
}

.logo {
    font-size: 24px;
    font-weight: bold;
}

.menu {
    position: relative;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-list {
    list-style: none;
    display: flex;
}

.menu-list li {
    position: relative;
    margin: 0 10px;
    cursor: pointer;
}

.submenu {
    list-style: none;
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #fff;
    border: 1px solid #ddd;
    display: none;
    flex-direction: column;
}

.submenu li {
    padding: 5px 10px;
    white-space: nowrap;
}

.menu-list li:hover > .submenu {
    display: flex;
}

.header-right {
    display: flex;
    align-items: center;
}

#login-btn,
#dark-mode-btn {
    margin-left: 10px;
    margin-right: 5px;
    padding: 5px 10px;
    font-size: 14px;
    cursor: pointer;
}

/* Dark Mode */
body.dark {
    background-color: #121212;
    color: #fff;
   
}

body.dark header {
    background-color: #1e1e1e;
}

body.dark .top-bar {
    background-color: #1e1e1e;
}
body.dark .card p{
    color: #1e1e1e;
}
body.dark .card h3{
    color: #1e1e1e;
}
body.dark .submenu{
    color: #1e1e1e;
    
}
/* Responsive Design */
@media (max-width: 768px) {
    .menu-list {
        display: none;
        flex-direction: column;
        background-color: #fff;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
    }

    .menu-list li {
        margin: 10px 0;
    }

    .menu-toggle {
        display: block;
    }

    .menu-list.show {
        display: flex;
    }
}

/* Card Container */
.card-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Card Styles */
.card {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.card h3 {
    font-size: 18px;
    margin-bottom: 10px;
}

.card p {
    margin: 5px 0;
}

.card .mrp {
    text-decoration: line-through;
    color: #888;
    font-size: 14px;
}

.card .discount-price {
    color: #e74c3c;
    font-size: 16px;
    font-weight: bold;
}

/* Responsive Grid */
@media (max-width: 768px) {
    .card-container {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }
}

/* Footer Styles */
footer {
    background-color: #f8f8f8;
    color: #333;
    padding: 40px 20px;
    border-top: 1px solid #ddd;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.footer-column h4 {
    font-size: 18px;
    margin-bottom: 15px;
    color: #000;
}

.footer-column ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-column ul li {
    margin-bottom: 10px;
}

.footer-column ul li a {
    color: #555;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-column ul li a:hover {
    color: #000;
}

.social-links {
    display: flex;
    gap: 10px;
}

.social-icon {
    background-color: #555;
    color: #fff;
    padding: 5px 7px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    transition: background-color 0.3s;
}

.social-icon:hover {
    background-color: #000;
}

.footer-bottom {
    text-align: center;
    font-size: 14px;
    color: #777;
    border-top: 1px solid #ddd;
    padding-top: 10px;
}

/* Responsive Footer */
@media (max-width: 768px) {
    .footer-links {
        grid-template-columns: 1fr;
    }
}
