

@media (min-width: 768px) {
    .logo img { width: 115px; }
    .titles h1 { font-size: 34px; }
    .titles h3 { font-size: 22px; }
    .slogan { font-size: 16px; }
    .header-center-wrapper { gap: 30px; }
}

/* --- Navbar Section --- */
.navbar { 
    background: #01579b; 
    text-align: center; 
    padding: 15px; 
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.navbar a { 
    color: white; 
    text-decoration: none; 
    padding: 0 20px; 
    font-weight: bold; 
    font-size: 18px; /* Navbar font size increased */
    transition: 0.3s; 
}

.navbar a:hover { 
    color: #ffd700; 
}

/* --- Library Button --- */



/* --- Manpower Custom Layout --- */
/* ১. জনশক্তি মেইন রিবন - Deep & Premium */
.manpower-title-box {
    background: linear-gradient(135deg, #01579b, #0288d1); /* ডিপ ব্লু গ্রাডিয়েন্ট */
    color: white;
    padding: 15px 60px;
    border-radius: 50px; /* ক্যাপসুল শেপ */
    text-align: center;
    box-shadow: 0 6px 20px rgba(1, 87, 155, 0.3);
    border: 2px solid #ffd700; /* সোনালী বর্ডার */
    font-size: 26px;
    font-weight: bold;
    display: inline-block;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

/* ২. ক্যাটাগরি রিবন (Current View) - Decorated */
#current-view {
    background: #01579b;
    color: #ffd700;
    font-size: 20px;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 0 30px 30px 0;
    display: inline-block;
    margin-bottom: 30px;
    margin-left: -30px; /* বক্সের একটু বাইরে বের হয়ে থাকবে স্টাইলিশ দেখানোর জন্য */
    border-left: 8px solid #ffd700;
    box-shadow: 5px 5px 15px rgba(0,0,0,0.1);
}

/* ৩. নামের বক্স - Halka Deep & Distinct */
.name-item {
    background: #ffffff;
    margin-bottom: 15px;
    padding: 18px 25px;
    border-radius: 12px;
    border: 1px solid #c5e1a5; /* হালকা বর্ডার */
    border-left: 8px solid #2e7d32; /* ডিপ গ্রিন বর্ডার */
    font-size: 18px;
    font-weight: bold;
    color: #1b5e20; /* ডিপ টেক্সট কালার */
    display: flex;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0,0,0,0.06); /* হালকা শ্যাডো */
    transition: all 0.3s ease;
}

.name-item:hover {
    background: #f1f8e9;
    border-left-color: #ffd700;
    transform: translateX(10px);
}

/* ৪. ফিল্টার ড্রপডাউন ডেকোরেশন */
.filter-dropdown {
    display: none;
    position: absolute;
    top: 60px;
    right: 30px;
    background: white;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    border-radius: 15px;
    z-index: 100;
    width: 200px;
    border: 2px solid #01579b;
    overflow: hidden;
}

.filter-dropdown button {
    width: 100%;
    padding: 14px 20px;
    border: none;
    background: none;
    text-align: left;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    color: #01579b;
    border-bottom: 1px solid #e3f2fd;
    transition: 0.3s;
}

.filter-dropdown button:hover {
    background: #01579b;
    color: #ffd700;
    padding-left: 30px; /* হোভার করলে লেখা ডানে সরবে */
}
/* Main Layout */
/* Main Layout */
/* মেইন কন্টেইনার */
.main-container {
    max-width: 1000px;
    margin: 40px 5% 60px 12%; 
}
/* মেইন কন্টেইনারকে সেন্টারে আনার জন্য */
.main-container {
    max-width: 1000px;
    margin: 40px auto 60px auto; /* বাম ও ডানে auto দিলে এটি মাঝখানে চলে আসবে */
    padding: 0 15px; /* মোবাইল ডিভাইসের জন্য ডানে-বামে কিছুটা জায়গা রাখা */
    display: flex;
    flex-direction: column;
    align-items: center; /* ভেতরের কন্টেন্টগুলোকে সেন্টারে রাখবে */
}

/* ক্যাটাগরি রিবন এবং বড় বক্সের উইডথ নিশ্চিত করা */
.category-ribbon, .names-outer-box {
    width: 100%; /* কন্টেইনারের পুরো উইডথ নিবে */
    box-sizing: border-box;
}

/* জনশক্তি লেখা বক্সটি সেন্টারে রাখা */
.manpower-title-box {
    margin: 0 auto;
}

/* মোবাইল রেসপন্সিভনেস চেক */
@media (max-width: 768px) {
    .main-container {
        margin: 20px auto;
        width: 95%; /* মোবাইলে দুইপাশে অল্প গ্যাপ থাকবে */
    }
}
/* জনশক্তি টাইটেল বক্স - হলুদ বর্ডার রিমুভড */
.manpower-title-box {
    background: #01579b;
    color: white;
    padding: 15px 60px;
    border-radius: 12px;
    font-size: 26px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    border: none; /* ইয়েলো বর্ডার সরিয়ে দেওয়া হয়েছে */
}

/* ক্যাটাগরি রিবন */
.category-ribbon {
    background: #01579b;
    padding: 15px;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    border-bottom: 3px solid #0288d1;
}

.cat-btn {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 8px 18px;
    border-radius: 30px;
    font-weight: bold;
    cursor: pointer;
    font-size: 15px;
    transition: 0.3s;
}

.cat-btn:hover {
    background: white;
    color: #01579b;
}

/* নামের মেইন বক্স - হাইট অটো রাখা হয়েছে */
.names-outer-box {
    background: white;
    padding: 35px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.1);
    border: 1px solid #e0e0e0;
    height: auto; /* কন্টেন্ট অনুযায়ী বক্স বড় হবে */
    min-height: 200px; 
}

/* ক্যাটাগরি দেখানোর সুন্দর বক্স (Tag) */
.current-cat-wrapper {
    margin-bottom: 25px;
}

#current-view-tag {
    background: #01579b;
    color: #ffd700; /* লেখার কালার গোল্ডেন */
    padding: 8px 25px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    display: inline-block;
    box-shadow: 3px 3px 10px rgba(0,0,0,0.1);
}

/* নামের প্রতিটা আইটেম - ১৮ পিক্সেল ফন্ট ও ডিপ ডিজাইন */
.bullet-list {
    list-style: none;
    padding: 0;
}

.name-item {
    background: #ffffff;
    margin-bottom: 12px;
    padding: 15px 25px;
    border-radius: 12px;
    border-left: 8px solid #01579b; /* ডিপ ব্লু সাইড বর্ডার */
    font-size: 18px; 
    font-weight: bold;
    color: #333;
    display: flex;
    align-items: center;
    box-shadow: 0 3px 8px rgba(0,0,0,0.05);
    border-right: 1px solid #eee;
    border-top: 1px solid #eee;
}

.name-item:hover {
    background: #f1f8ff;
    transform: translateX(8px);
}

/* পাসওয়ার্ড পপআপ ডিজাইন */
#password-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
}

.pass-box {
    background: white;
    padding: 40px;
    border-radius: 25px;
    text-align: center;
    width: 320px;
    border-top: 8px solid #01579b;
    box-shadow: 0 15px 50px rgba(0,0,0,0.5);
}

.pass-box input {
    width: 85%;
    padding: 12px;
    margin: 20px 0;
    border: 2px solid #ddd;
    border-radius: 10px;
    font-size: 18px;
    text-align: center;
}

.pass-box button {
    background: #01579b;
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    width: 100%;
    font-weight: bold;
    cursor: pointer;
}
.close-pass {
    display: block;
    margin-top: 20px;
    color: #888;
    cursor: pointer;
    font-weight: bold;
    text-decoration: underline;
}

/* --- Footer Section --- */
.footer {
    background: #01579b; 
    color: white;
    text-align: center;
    padding: 25px 10px;
    margin-top: 60px;
    font-size: 16px;
    border-top: 6px solid #ffd700;
}

/* --- Responsive Adjustments --- */
@media (max-width: 768px) {
    .manpower-section {
        margin: 20px 5%;
        padding: 25px;
    }
    .name-item {
        font-size: 18px;
        padding: 15px 20px;
    }
    #current-view {
        font-size: 24px;
    }
}