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

body {
    font-family: 'Arial', sans-serif;
}

.header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 0 20px;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo .logo-img {
    height: 120px;
    width: auto;
    max-height: none;  /* Removes container limits if any */
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 35px;
}

.nav-item {
    position: relative;
}

.nav-link {
    text-decoration: none;
    color: #333;
    font-weight: 500;
    padding: 25px 0;
    transition: color 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 15px;
}

.nav-link:hover {
    color: #007bff;
}

.nav-link i {
    font-size: 10px;
    transition: transform 0.3s ease;
}

.dropdown:hover .nav-link i {
    transform: rotate(180deg);
}

/* Dropdown Megamenu - Compact Version */
.dropdown-megamenu {
    position: absolute;
    top: 100%;
    left: 0;
    width: 40vw;
    background: #fff;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    border-top: 1px solid #e8ecef;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    left: 50%;
    transform: translateX(-50%) translateY(-10px);
}

.dropdown:hover .dropdown-megamenu {
    opacity: 1;
    visibility: visible;
    transform: translateX(-50%) translateY(0);
}

.megamenu-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 30px 15px;
}

.menu-section h3 {
    color: #2c3e50;
    margin-bottom: 25px;
    font-size: 22px;
    font-weight: 700;
    text-align: center;
}

.menu-columns {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 900px;
    margin: 0 auto;
}

.menu-column {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.menu-item {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 12px;
    border-radius: 6px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.menu-item:hover {
    background: #f8f9fa;
    transform: translateX(3px);
}

.menu-item i {
    color: #007bff;
    font-size: 18px;
    margin-top: 2px;
    flex-shrink: 0;
    width: 20px;
}

.menu-text {
    flex: 1;
}

.menu-title {
    display: block;
    color: #2c3e50;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
    text-decoration: none;
}

.menu-desc {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.4;
    margin: 0;
}

/* Products Grid - Compact */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    max-width: 900px;
    margin: 0 auto;
}

.product-card {
    background: #fff;
    border: 1px solid #e8ecef;
    border-radius: 8px;
    padding: 20px 15px;
    text-align: center;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.product-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    border-color: #007bff;
}

.product-image {
    width: 50px;
    height: 50px;
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.product-content h4 {
    color: #2c3e50;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 6px;
}

.product-content p {
    color: #6c757d;
    font-size: 12px;
    line-height: 1.3;
    margin: 0;
}
/* Product card link styles */
.product-image a {
    display: block;
    text-decoration: none;
}

.product-link {
    text-decoration: none;
    color: #2c3e50;
    display: inline-block;
}

.product-link:hover {
    color: #007bff;
    text-decoration: none;
}

/* Make the entire card have pointer cursor on hover */
.product-card:hover {
    cursor: pointer;
}

/* Simple Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    border-radius: 6px;
    min-width: 180px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 999;
    padding: 8px 0;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.menu-item-simple {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 15px;
    text-decoration: none;
    color: #2c3e50;
    transition: all 0.3s ease;
    font-weight: 500;
    font-size: 14px;
}

.menu-item-simple:hover {
    background: #f8f9fa;
    color: #007bff;
}

.menu-item-simple i {
    color: #007bff;
    width: 16px;
    text-align: center;
    font-size: 14px;
}

/* Mobile Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #333;
    margin: 3px 0;
    transition: 0.3s;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #fff;
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0,0,0,0.05);
        padding: 15px 0;
        gap: 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-link {
        padding: 12px 0;
        font-size: 14px;
    }

    .dropdown-megamenu,
    .dropdown-menu {
        position: static;
        box-shadow: none;
        opacity: 1;
        visibility: visible;
        transform: none;
        display: none;
        width: 100%;
        background: #f8f9fa;
    }

    .dropdown:hover .dropdown-megamenu,
    .dropdown:hover .dropdown-menu {
        display: block;
    }

    .menu-columns {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .products-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .megamenu-content {
        padding: 15px;
    }

    .menu-section h3 {
        font-size: 18px;
        margin-bottom: 20px;
    }
}

@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .navbar {
        padding: 0 15px;
    }
    
    .nav-menu {
        gap: 0;
    }
}


