/* header */
/* header */
    /* --- Desktop Dropdown Slide Down & Up --- */
    .dropdown-menu {
        display: grid !important;
        grid-template-rows: 0fr;
        opacity: 0;
        visibility: hidden;
        overflow: hidden;
        transition: grid-template-rows 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.25s ease-in-out, 
                    visibility 0.35s;
    }
    .dropdown-menu > div {
        min-height: 0;
    }
    
    /* Hover এবং Open দুই অবস্থাতেই ড্রপডাউন দেখাবে */
    .dropdown:hover .dropdown-menu,
    .dropdown.dropdown-open .dropdown-menu {
        grid-template-rows: 1fr;
        opacity: 1;
        visibility: visible;
    }

    /* Chevron Icon Rotation */
    .icon-chevron { 
        transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1); 
    }
    .dropdown:hover .icon-chevron,
    .dropdown.dropdown-open .icon-chevron,
    .mobile-dropdown-open > summary .icon-chevron { 
        transform: rotate(90deg); 
    }

    /* --- Mobile Slide-In Menu & Scroll Fix --- */
    @media (max-width: 1023px) {
        #mobileMenu { 
            position: fixed;
            top: 0;
            right: -100%; /* শুরুতে স্ক্রিনের বাইরে ডান দিকে লুকিয়ে থাকবে */
            width: 90%;
            max-width: 360px;
            height: 100vh; 
            overflow-y: auto; /* কন্টেন্ট বড় হলে নিচের দিকে স্ক্রল করার সুবিধা */
            overflow-x: hidden;
            background-color: #ffffff;
            z-index: 45; 
            display: flex !important; 
            flex-direction: column;
            box-shadow: -10px 0 30px rgba(0, 0, 0, 0.1);
            border-left: 1px solid rgba(0, 0, 0, 0.05);
            padding-top: 16px; 
            /* মেনু আসার সময় হালকা ডিলে এবং চমৎকার স্মুথ কার্ভ ট্রানজিশন */
            transition: right 0.4s cubic-bezier(0.25, 1, 0.5, 1);
            -webkit-overflow-scrolling: touch;
        }

        /* মোবাইল মেনু একটিভ হলে ডান দিক থেকে শো করবে */
        #mobileMenu.active {
            right: 0; 
        }

        /* মেনুর ভেতরের কোনো উপাদান যাতে সংকুচিত না হয় */
        #mobileMenu > * {
            flex-shrink: 0 !important;
        }
    }

    @media (min-width: 1024px) {
        #mobileMenu {
            display: none !important; /* ডেস্কটপে মোবাইল মেনু সম্পূর্ণ হাইড থাকবে */
        }
    }

    /* মোবাইল মেনু বাটনটি যাতে কোনো গ্লিচ বা ব্লিচিং ছাড়া অত্যন্ত দ্রুত গায়েব হয় */
    #mobileMenuBtn {
        transition: opacity 0.1s ease-out, transform 0.1s ease-out;
        will-change: opacity, transform;
    }
    #mobileMenuBtn.menu-btn-hidden {
        opacity: 0;
        pointer-events: none;
        transform: scale(0.9); /* বাটনটি ক্লিক করার সাথে সাথে ভ্যানিশ হবে */
    }

    /* প্রিমিয়াম ব্যাকগ্রাউন্ড ব্লার ওভারলে ইফেক্ট */
    .mobile-overlay {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        background-color: rgba(0, 0, 0, 0.4);
        backdrop-filter: blur(4px);
        z-index: 40;
        opacity: 0;
        pointer-events: none;
        transition: opacity 0.35s ease;
    }
    .mobile-overlay.active {
        opacity: 1;
        pointer-events: auto;
    }

    /* --- মোবাইল ড্রপডাউন মসৃণ স্লাইড ইফেক্ট --- */
    .mobile-accordion {
        overflow: hidden;
    }
    .mobile-accordion-content {
        max-height: 0;
        opacity: 0;
        overflow: hidden;
        transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1), 
                    opacity 0.25s ease-in-out;
    }

    /* ডিফল্ট ডিটেইলস মার্কার রিমুভ করা */
    details > summary { list-style: none; }
    details > summary::-webkit-details-marker { display: none; }

    /* কাস্টম স্ক্রলবার */
    #mobileMenu::-webkit-scrollbar { width: 3px; }
    #mobileMenu::-webkit-scrollbar-thumb { background: #e5e5e5; border-radius: 10px; }
/* header */
/* header */

        body {
            font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
            background-color: #f3f2f1; /* Professional corporate off-white/light-gray background */
        }
        #cotexx{
            margin-top: 150px;
        }
        .text-linknex-blue {
            color: #0067b8;
        }
        .hover-linknex-blue:hover {
            color: #005da6;
            text-decoration: underline;
        }
        /* Custom subtle scrollbar */
        ::-webkit-scrollbar {
            width: 8px;
            height: 8px;
        }
        ::-webkit-scrollbar-track {
            background: #f1f1f1;
        }
        ::-webkit-scrollbar-thumb {
            background: #c1c1c1;
            border-radius: 4px;
        }
        ::-webkit-scrollbar-thumb:hover {
            background: #a8a8a8;
        }
        #main-footer{
            margin-top: 60px;
            margin-bottom: -70px;
        }