/* omaxcss/header-style.css */
.navbar {
    background-color: #0c4d24;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    position: sticky;
    top: 0;
    z-index: 9999;
    width: 100%;
}

.nav-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    flex-wrap: wrap;
}

.nav-logo a {
    color: #fff;
    text-decoration: none;
    font-size: 24px;
    font-weight: bold;
}

img {
    max-width: 100%;
    height: auto;
}
.nav-menu {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-item a {
    color: #ffffff;
    text-decoration: none;
    padding: 10px 15px;
    font-size: 14px;
    border-radius: 4px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.nav-item a:hover, .nav-item.active a {
    background-color: #f4b41a;
    color: #000;
}

.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: #ffffff;
    list-style: none;
    min-width: 150px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.15);
    border-radius: 0 0 4px 4px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.dropdown-menu li a {
    color: #333333;
    display: block;
    padding: 10px 15px;
}

.dropdown-menu li a:hover {
    background-color: #d1c9ff;
    color: #0c4d24;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

@media print {
    .navbar { display: none !important; }
}

@media screen and (max-width: 768px) {
    /* ফন্ট সাইজ ছোট করার জন্য */
    body, h1, h2, p, a {
        font-size: 14px !important; 
    }
    
    /* মেনু আইটেমগুলোকে পাশাপাশি না রেখে নিচে নিচে দেখানোর জন্য */
    .navbar {
        flex-direction: column;
        text-align: center;
    }
    
    .menu-item {
        margin: 10px 0;
        width: 100%;
    }
}
