
    /* Enhanced Navigation Styles */
    .navbar-nav .nav-item {
        position: relative;
    }
    
    .navbar-nav .nav-item:hover .dropdown-menu {
        display: block;
    }
    
    .dropdown-menu {
        border: none;
        box-shadow: 0 5px 15px rgba(0,0,0,0.1);
        border-radius: 5px;
        padding: 0;
        min-width: 220px;
        background-color: #fff;
    }
    
    .dropdown-item {
        padding: 10px 20px;
        border-bottom: 1px solid #f5f5f5;
        transition: all 0.3s;
        color: #333;
        position: relative;
        padding-left: 35px; /* Space for icon */
    }
    
    .dropdown-item::before {
        content: "\f054"; /* Font Awesome chevron-right */
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        left: 15px;
        top: 50%;
        transform: translateY(-50%);
        color: #00183d;
        opacity: 0;
        transition: opacity 0.3s, left 0.3s;
    }
    
    .dropdown-item:last-child {
        border-bottom: none;
    }
    
    .dropdown-item:hover {
        background: #00183d;
        color: white !important;
        padding-left: 45px; /* Move text on hover */
    }
    
    .dropdown-item:hover::before {
        opacity: 1;
        left: 20px;
        color: white !important;
    }
    
    /* Mega Menu Styles */
    .mega-menu {
        position: static !important;
    }
    
    .mega-menu-content {
        position: absolute;
        left: 0;
        right: 0;
        background: white;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        border-radius: 0 0 10px 10px;
        display: none;
        z-index: 1000;
    }
    
    .mega-menu:hover .mega-menu-content {
        display: block;
        color: white !important;
    }
    
    .mega-menu-column {
        padding: 0 15px;
    }
    
    .mega-menu-column h6 {
        color: #00183d;
        margin-bottom: 15px;
        padding-bottom: 10px;
        border-bottom: 2px solid #f0f0f0;
    }
    
    .mega-menu-column ul {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .mega-menu-column ul li {
        margin-bottom: 8px;
    }
    
    .mega-menu-column ul li a {
        color: #555;
        text-decoration: none;
        transition: all 0.3s;
        display: block;
        padding: 5px 0;
        position: relative;
        padding-left: 20px;
    }
    
    .mega-menu-column ul li a::before {
        content: "\f054";
        font-family: "Font Awesome 5 Free";
        font-weight: 900;
        position: absolute;
        left: 0;
        opacity: 0;
        transition: opacity 0.3s, left 0.3s;
        color: #00183d;
    }
    
    .mega-menu-column ul li a:hover {
        color: #00183d;
        padding-left: 30px;
    }
    
    .mega-menu-column ul li a:hover::before {
        opacity: 1;
        left: 10px;
    }
    
    /* Improved Mobile Side Drawer Styles */
    .mobile-drawer {
        position: fixed;
        top: 0;
        left: -300px;
        width: 300px; /* Slightly wider for better look */
        height: 100vh;
        background: linear-gradient(to bottom, #ffffff, #f8f9fa);
        box-shadow: 5px 0 20px rgba(0,0,0,0.15);
        transition: left 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
        z-index: 9999;
        overflow-y: auto;
    }
    
    .mobile-drawer.active {
        left: 0;
    }
    
    .drawer-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0,0,0,0.6);
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.4s ease-in-out;
        z-index: 9998;
    }
    
    .drawer-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    .drawer-header {
        padding: 10px 20px;
        background: #00183d;
        color: white;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }
    
    .drawer-header h4 {
        margin: 0;
        font-weight: bold;
    }
    
    .drawer-close {
        background: none;
        border: none;
        color: white;
        font-size: 28px;
        cursor: pointer;
        opacity: 0.9;
    }
    
    .drawer-close:hover {
        opacity: 1;
    }
    
    .drawer-menu {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .drawer-menu > li {
        border-bottom: 1px solid #e9ecef;
        position: relative;
    }
    
    .drawer-menu .menu-link {
        display: block;
        padding: 18px 50px 18px 25px;
        color: #333;
        text-decoration: none;
        font-weight: 500;
        transition: all 0.3s;
        background: transparent;
    }
    
    .drawer-menu .menu-link:hover {
        background: #00183d;
        color: white;
        padding-left: 35px;
    }
    
    .drawer-menu .menu-link i {
        color: #00183d;
        transition: color 0.3s;
        width: 25px;
    }
    
    .drawer-menu .menu-link:hover i {
        color: white;
    }
    
    .drawer-submenu {
        list-style: none;
        padding: 0;
        margin: 0;
        background: #f1f8e9;
        display: none;
        border-top: 1px solid #c8e6c9;
    }
    
    .drawer-submenu.active {
        display: block;
    }
    
    .drawer-submenu a {
        padding: 14px 25px 14px 50px;
        font-size: 15px;
        color: #555;
        display: block;
        transition: all 0.3s;
    }
    
    .drawer-submenu a:hover {
        background: #00183d;
        color: white;
        padding-left: 60px;
    }
    
    .drawer-submenu-toggle {
        position: absolute;
        right: 20px;
        top: 50%;
        transform: translateY(-50%);
        background: none;
        border: none;
        color: #00183d;
        cursor: pointer;
        width: 30px;
        height: 30px;
        display: flex;
        align-items: center;
        justify-content: center;
        font-size: 18px;
        transition: color 0.3s;
    }
    
    .drawer-menu .menu-link:hover + .drawer-submenu-toggle,
    .drawer-submenu-toggle:hover {
        color: white;
    }
    
    .drawer-submenu-toggle i {
        transition: transform 0.3s;
    }
    
    .drawer-submenu-toggle.active i {
        transform: rotate(180deg);
    }
    
    .drawer-contact {
        padding: 10px 20px;
        background: #00183d;
        color: white;
        margin-top: 30px;
    }
    
    .drawer-contact h6 {
        color: white;
        margin-bottom: 20px;
    }
    
    .drawer-contact p {
        margin-bottom: 12px;
        font-size: 14px;
        opacity: 0.9;
    }
    
    .drawer-contact i {
        color: white;
        margin-right: 12px;
        width: 20px;
    }
    
    @media (max-width: 1199px) {
        .navbar-nav {
            display: none !important;
        }
        
        .mega-menu-content {
            display: none !important;
        }
    }
    
    @media (min-width: 1200px) {
        .navbar-nav {
            display: flex !important;
        }
    }
    
    .mobile-menu-btn {
        display: none !important;
    }
    /* Marquee Ticker Bar - Updated */
    .ticker-bar {
        background: #ffffff;
        padding: 5px 0; /* Height কমানো হয়েছে */
        border-top: 1px solid #eee;
        overflow: hidden;
        position: relative;
        width: 100%;
        font-size: 15px; /* ফন্ট সাইজ সামান্য ছোট */
        line-height: 1.4;
    }
    .ticker-content {
        display: inline-block;
        white-space: nowrap;
        animation: marquee 55s linear infinite;
        font-weight: 500; /* Bold সরানো হয়েছে */
        padding-left: 100%;
    }
    .ticker-content span {
        margin-right: 35px; /* Space অনেক কমানো হয়েছে */
        display: inline-block;
        vertical-align: middle;
    }
    .dot-separator {
        color: #444; /* Dark gray dot */
        font-size: 16px;
        margin-right: 35px !important; /* Dot-এর পরও space কম */
    }
    /* NEW টেক্সট সিম্পল (bold ছাড়া, শুধু টেক্সট) */
    .ticker-content span:not(.dot-separator):contains("NEW") {
        /* কোনো অতিরিক্ত স্টাইল নেই - শুধু টেক্সট হিসেবে দেখাবে */
    }
    /* Link Style */
    .ticker-link {
        color: inherit;
        text-decoration: none;
        border-bottom: 1px dashed currentColor;
        transition: all 0.3s;
    }
    .ticker-link:hover {
        color: #00183d;
        border-bottom-style: solid;
    }
    /* Colors */
    .highlight-green { color: #00183d; }
    .highlight-black { color: #2d3436; }
    @keyframes marquee {
        0% { transform: translateX(0%); }
        100% { transform: translateX(-100%); }
    }
    /* Mobile Responsive */
    @media (max-width: 768px) {
        .ticker-bar {
            padding: 8px 0;
        }
        .ticker-content {
            font-size: 14px;
            animation-duration: 40s;
        }
        .ticker-content span {
            margin-right: 25px;
        }
        .dot-separator {
            margin-right: 25px !important;
            font-size: 14px;
        }
    }

    /* Top Utility Bar (Skip to Main Content, Sitemap, etc.) */
    .top-utility-bar {
        background-color: #00183d; /* Dark blue like MCA */
        color: white;
        padding: 8px 0;
        font-size: 14px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .top-utility-left {
        display: flex;
        gap: 20px;
    }
    .top-utility-right {
        display: flex;
        gap: 15px;
        align-items: center;
    }
    .top-utility-link {
        color: white;
        text-decoration: none;
        transition: color 0.3s;
    }
    .top-utility-link:hover {
        color: #ffd700; /* Gold hover for accent */
        text-decoration: underline;
    }
    .theme-selector, .lang-selector {
        position: relative;
        display: inline-block;
    }
    .theme-selector select, .lang-selector select {
        background: #00183d;
        color: white;
        border: 1px solid #fff;
        padding: 2px 5px;
        font-size: 14px;
        border-radius: 3px;
    }
    .user-actions {
        display: flex;
        gap: 10px;
    }
    .user-actions a {
        color: white;
        text-decoration: none;
        padding: 4px 8px;
        border: 1px solid transparent;
        border-radius: 3px;
        transition: all 0.3s;
    }
    .user-actions a:hover {
        background: rgba(255,255,255,0.1);
        border-color: white;
    }
    /* Main Header Section */
    .main-header {
        background-color: white;
        padding: 15px 0;
        border-bottom: 1px solid #ddd;
        display: flex;
        justify-content: space-between;
        align-items: center;
        flex-wrap: wrap;
    }
    .logo-section {
        display: flex;
        align-items: center;
        gap: 20px;
        flex: 1;
    }
    .mca-logo {
        height: 120px; /* Adjust based on your emblem */
        width: auto;
    }
    .header-text {
        flex: 1;
    }
    .header-title {
        font-size: 24px;
        font-weight: bold;
        color: #00183d;
        margin: 0;
        line-height: 1.2;
    }
    .header-subtitle {
        font-size: 14px;
        color: #666;
        margin: 0;
        font-style: italic;
    }
    .roles {
        display: flex;
        gap: 15px;
        margin-top: 5px;
        font-size: 13px;
        color: #00183d;
    }
    .roles span {
        color: #d32f2f; /* Red for roles like MCA */
    }
    .govt-footer {
        font-size: 12px;
        color: #666;
        margin-top: 5px;
    }
    /* Search Bar */
    .search-section {
        flex: 0 0 auto;
    }
    .search-container {
        position: relative;
        display: flex;
        align-items: center;
    }
    .search-input {
        padding: 8px 10px;
        border: 1px solid #ccc;
        border-radius: 4px 0 0 4px;
        outline: none;
        width: 250px;
    }
    .search-btn {
        padding: 8px 12px;
        background: #00183d;
        color: white;
        border: 1px solid #00183d;
        border-left: none;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
        transition: background 0.3s;
    }
    .search-btn:hover {
        background: #00183d;
    }
    /* Desktop: nothing fixed */
    @media (min-width: 1200px) {
        .navbar_content,
        .navbar,
        .top-bar,
        .ticker-bar {
            position: static !important;
        }
    }
    body {
        padding-top: 0 !important;
    }
    .wow {
        visibility: visible !important;
    }
    @media (max-width: 991px) {
    body {
        padding-top: 90px;
    }
    #header-carousel-mobile,
    #header-carousel-mobile .carousel-inner,
    #header-carousel-mobile .carousel-item {
        min-height: calc(100vh - 90px);
    }
    }
    /* Professional Dark Mode Styles - Using CSS Variables for Better Management */
    :root {
        --bg-primary: #ffffff;
        --bg-secondary: #f8f9fa;
        --text-primary: #333333;
        --text-secondary: #666666;
        --border-color: #ddd;
        --header-bg: #ffffff;
        --header-title-color: #00183d;
        --header-subtitle-color: #666;
        --navbar-bg: #00183d;
        --ticker-bg: #ffffff;
        --ticker-border: #eee;
        --dropdown-bg: #fff;
        --dropdown-text: #333;
        --dropdown-border: #f5f5f5;
        --mega-bg: white;
        --mega-title: #00183d;
        --mega-border: #f0f0f0;
        --drawer-bg: linear-gradient(to bottom, #ffffff, #f8f9fa);
        --drawer-header-bg: #00183d;
        --drawer-text: #333;
        --drawer-border: #e9ecef;
        --submenu-bg: #f1f8e9;
        --submenu-border: #c8e6c9;
        --contact-bg: #00183d;
        --top-utility-bg: #00183d;
        --top-utility-text: white;
        --search-input-bg: #ffffff;
        --search-input-border: #ccc;
        --search-input-text: #333;
        --highlight-green: #00183d;
        --highlight-red: #d32f2f;
        --highlight-black: #2d3436;
        --overlay-bg: rgba(0,0,0,0.6);
    }

    [data-theme="dark"] {
        /* Base */
        --bg-primary: #0f172a;        /* Slate dark */
        --bg-secondary: #020617;      /* Deep navy */
        --border-color: #1e293b;

        /* Text */
        --text-primary: #f8fafc;      /* Almost white */
        --text-secondary: #cbd5e1;    /* Soft gray */
        --text-muted: #94a3b8;

        /* Header */
        --header-bg: #020617;
        --header-title-color: #e3ff41;
        --header-subtitle-color: #cbd5e1;

        /* Navigation */
        --navbar-bg: #00183d;
        --dropdown-bg: #020617;
        --dropdown-text: #f8fafc;
        --dropdown-border: #1e293b;

        /* Mega menu */
        --mega-bg: #020617;
        --mega-title: #e3ff41;
        --mega-border: #1e293b;

        /* Ticker */
        --ticker-bg: #020617;
        --ticker-border: #1e293b;

        /* Drawer */
        --drawer-bg: linear-gradient(to bottom, #020617, #0f172a);
        --drawer-header-bg: #00183d;
        --drawer-text: #f8fafc;
        --drawer-border: #1e293b;

        /* Submenu */
        --submenu-bg: #020617;
        --submenu-border: #1e293b;

        /* Accent */
        --highlight-green: #e3ff41;
        --highlight-red: #ff6b6b;
        --highlight-black: #e5e7eb;

        /* Overlay */
        --overlay-bg: rgba(2, 6, 23, 0.85);

        /* Inputs */
        --search-input-bg: #020617;
        --search-input-border: #334155;
        --search-input-text: #f8fafc;
    }

    [data-theme="dark"] .dropdown-item {
        color: var(--text-secondary) !important;
    }

    [data-theme="dark"] .dropdown-item:hover {
        background: #00183d !important;
        color: #ffffff !important;
    }
    [data-theme="dark"] .mega-menu-column ul li a {
        color: var(--text-secondary) !important;
    }

    [data-theme="dark"] .mega-menu-column ul li a:hover {
        color: var(--highlight-green) !important;
    }
    [data-theme="dark"] .drawer-submenu a {
        color: var(--text-secondary) !important;
    }

    [data-theme="dark"] .drawer-submenu a:hover {
        background: #00183d !important;
        color: #ffffff !important;
    }
    [data-theme="dark"] .drawer-submenu a {
        color: var(--text-secondary) !important;
    }

    [data-theme="dark"] .drawer-submenu a:hover {
        background: #00183d !important;
        color: #ffffff !important;
    }
    [data-theme="dark"] .ticker-content span {
        color: var(--text-secondary) !important;
    }

    [data-theme="dark"] .ticker-link {
        color: var(--highlight-green) !important;
        border-bottom-color: var(--highlight-green);
    }
    [data-theme="dark"] .top-utility-bar {
        background: #020617 !important;
        border-bottom: 1px solid #1e293b;
    }
    [data-theme="dark"] a:hover {
        text-shadow: 0 0 4px rgba(227,255,65,0.35);
    }



    /* Apply variables globally */
    body {
        background-color: var(--bg-primary);
        color: var(--text-primary);
    }

    [data-theme="dark"] * {
        /* color: var(--text-primary); */
        /* background-color: var(--bg-primary); */
        border-color: var(--border-color);
    }

    .main-header {
        background-color: var(--header-bg) !important;
        border-bottom: 1px solid var(--border-color) !important;
    }

    .header-title {
        color: var(--header-title-color) !important;
    }

    .header-subtitle,
    .govt-footer {
        color: var(--header-subtitle-color) !important;
    }

    .search-input {
        background-color: var(--search-input-bg) !important;
        border-color: var(--search-input-border) !important;
        color: var(--search-input-text) !important;
    }

    .navbar {
        background-color: var(--navbar-bg) !important;
    }

    .ticker-bar {
        background: var(--ticker-bg) !important;
        border-top: 1px solid var(--ticker-border) !important;
    }

    .top-utility-bar {
        background-color: var(--top-utility-bg) !important;
        color: var(--top-utility-text) !important;
    }

    .top-utility-link {
        color: var(--top-utility-text) !important;
    }

    .top-utility-link:hover {
        color: var(--highlight-green) !important;
    }

    .theme-selector select,
    .lang-selector select {
        background: var(--bg-secondary) !important;
        color: var(--text-primary) !important;
        border: 1px solid var(--text-primary) !important;
    }

    [data-theme="dark"] .theme-selector select,
    [data-theme="dark"] .lang-selector select {
        background: var(--bg-secondary) !important;
        color: var(--text-primary) !important;
        border: 1px solid var(--text-primary) !important;
    }

    .user-actions a {
        color: var(--top-utility-text) !important;
    }

    .user-actions a:hover {
        background: rgba(255,255,255,0.1) !important;
        border-color: var(--top-utility-text) !important;
    }

    .dropdown-menu,
    .mega-menu-content {
        background-color: var(--dropdown-bg) !important;
        color: var(--dropdown-text) !important;
    }

    .dropdown-item {
        color: var(--dropdown-text) !important;
        border-bottom-color: var(--dropdown-border) !important;
    }

    .dropdown-item:hover {
        background: var(--navbar-bg) !important;
        color: white !important;
    }

    .mega-menu-column h6 {
        color: var(--mega-title) !important;
        border-bottom-color: var(--mega-border) !important;
    }

    .mega-menu-column ul li a {
        color: var(--text-secondary) !important;
    }

    .mega-menu-column ul li a:hover {
        color: var(--mega-title) !important;
    }

    .mobile-drawer {
        background: var(--drawer-bg) !important;
    }

    .drawer-menu .menu-link {
        color: var(--drawer-text) !important;
        border-bottom-color: var(--drawer-border) !important;
    }

    .drawer-menu .menu-link:hover {
        background: var(--navbar-bg) !important;
        color: var(--text-primary) !important;
    }

    .drawer-menu .menu-link i {
        color: var(--mega-title);
    }

    .drawer-menu .menu-link:hover i {
        color: var(--text-primary) !important;
    }

    .drawer-submenu {
        background: var(--submenu-bg) !important;
        border-top-color: var(--submenu-border) !important;
    }

    .drawer-submenu a {
        color: var(--text-secondary) !important;
    }

    .drawer-submenu a:hover {
        background: var(--navbar-bg) !important;
        color: var(--text-primary) !important;
    }

    .drawer-submenu-toggle {
        color: var(--mega-title);
    }

    .drawer-submenu-toggle:hover {
        color: var(--text-primary) !important;
    }

    .drawer-overlay {
        background: var(--overlay-bg) !important;
    }

    .highlight-green { color: var(--highlight-green) !important; }
    .highlight-red { color: var(--highlight-red) !important; }
    .highlight-black { color: var(--highlight-black) !important; }

    .dot-separator {
        color: var(--text-secondary) !important;
    }

    /* Bengali Language Styles */
    body.bengali-lang {
        font-family: 'Noto Sans Bengali', sans-serif !important;
    }
    body.bengali-lang .header-title,
    body.bengali-lang .header-subtitle {
        font-family: 'Noto Sans Bengali', serif !important;
    }
    body.bengali-lang .nav-link,
    body.bengali-lang .dropdown-item,
    body.bengali-lang .mega-menu-column h6,
    body.bengali-lang .mega-menu-column ul li a,
    body.bengali-lang .menu-link,
    body.bengali-lang .drawer-submenu a {
        font-family: 'Noto Sans Bengali', sans-serif !important;
    }

    /* default: light theme */
    .logo-dark {
        display: none;
    }

    /* dark theme */
    [data-theme="dark"] .logo-light {
        display: none;
    }

    [data-theme="dark"] .logo-dark {
        display: block;
    }

    .submenu-title {
        padding: 8px 14px;
        font-size: 12px;
        font-weight: 600;
        opacity: 0.7;
        text-transform: uppercase;
        pointer-events: none;
    }

    /* ===== MULTI LEVEL DROPDOWN ===== */
    .dropdown-submenu {
        position: relative;
    }

    .dropdown-submenu > .dropdown-menu {
        top: 0;
        left: 100%;
        margin-top: -5px;
        display: none;
    }

    .dropdown-submenu:hover > .dropdown-menu {
        display: block;
    }

    /* Hover Highlight */
    .navbar .nav-link:hover,
    .navbar .dropdown-item:hover {
        background:#00183d;
        color:#fff !important;
    }

    /* Active Menu */
    .navbar .nav-link.active,
    .navbar .dropdown-item.active {
        background:#198754;
        color:#fff !important;
        border-radius:4px;
    }