body {
    background-color: #3b527c;
    font-weight: 400;
    font-size: 18px;
    min-height: 100vh;
    padding-bottom: 10px;
    margin: 0;
}

/* Reset list */
ul, #myUL {
    list-style-type: none;
    padding-left: 0;
    margin: 0;
}

/* Links */
li a {
    text-decoration: none;
    display: block;
    padding: 8px 10px;
    color: #ffffff;
    transition: background 0.3s;
}

.active {
    background-color: #007BFF;
    color: white;
    font-weight: bold;
}

/* Menu Box */
.menu li {
    padding: 5px;
    margin-bottom: 7px;
    background-color: #283957;
    color: #ffffff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
    border-radius: 4px;
}

/* Hover effect */
.nested li:hover {
    background-color: #364a6d;
}

/* Caret (sub menu toggle) */
.caret {
    font-weight: bold;
    cursor: pointer;
    display: block;
    padding: 5px 8px;
    border-radius: 3px;
    margin-top: 5px;
    background: #22314f;
    color: #fff;
}
.caret:hover {
    background: #364a6d;
}

/* Hamburger Icon */
.hamburger {
    font-size: 20px;
    font-weight: bold;
    color: red;
    cursor: pointer;
    margin: 10px;
    display: none;  /* ডিফল্টে ডেস্কটপে লুকানো */
}

.hamburger div {
    width: 25px;
    height: 3px;
    background: red;
    border-radius: 2px;
    margin: 5px 0;
}

.menu-text {
    font-size: 16px;
    font-weight: bold;
    color: red;   /* লেখা লাল হবে */
}

/* Menu Container */
#menuContent {
    margin: 5px;
    padding: 5px;
}

/* --- Responsive Rules --- */

/* Desktop (min 769px): সবসময় মেনু দেখা যাবে */
@media screen and (min-width: 769px) {
    #menuContent {
        display: block !important;
    }
}

/* Mobile (max 768px): ডিফল্টে লুকানো থাকবে */
@media screen and (max-width: 768px) {
    #menuContent {
        display: none;
        background: #2a3c5e;
        padding: 10px;
        border-radius: 5px;
    }
    .hamburger {
        display: block;
    }
}