body {


  background-size: auto;
  margin: 0;
  font-family: 'Kalpurush', Arial, sans-serif;
}

/* সব container কে মাঝখানে আনা */
.container-outer {
  width: 100%;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
}

/* Header block */
.site-header {
  background: #eaf6ff;
  border-bottom: 3px solid #dc3545;
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
  width: 92%;
  margin: 0 auto;
}
@media (max-width: 767px) {
  .site-header {
    width: 100%;
    margin: 0;
    border-bottom: 2px solid #dc3545;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  }
}
/* Notice bar */
.notice-wrap {
  background: #D35400;
  color: #fff;
  width: 92%;
  margin: 0 auto;
  border-bottom: 2px solid #A04000;
  border-top: 2px solid #A04000;
}
/* মোবাইল ভিউয়ের জন্য */
@media (max-width: 767px) {
  .notice-wrap {
    width: 100%;
    margin: 0;
    border-radius: 0;
  }
}
/* Menu sticky */
.menu-fixed {
  background: #2E8B57;
  position: sticky;
  top: 0;
  z-index: 999;
  width: 92%;
  margin: 0 auto;
  box-shadow: 0 3px 10px rgba(0,0,0,0.25);
}
/* মোবাইল ভিউয়ের জন্য */
@media (max-width: 767px) {
  .menu-fixed {
    width: 100%;
    margin: 0;
    border-radius: 0;
    box-shadow: 0 1px 6px rgba(0, 0, 0, 0.1);
  }
}
/* Navbar look */
.main-menu .navbar-nav .nav-link {
  color: #fff !important;
  font-weight: 600;
}
.main-menu .nav-link:hover,
.main-menu .dropdown-item:hover {
  background: rgba(255,255,255,0.15);
}


/* ==============================
   Main Wrapper (Centered Layout)
============================== */
.main-wrapper {
  width: 92%;
  margin: 0 auto;
  margin-top: 0px;
  background: #fff;
  border-radius: 0 0 0 0; /* নীচের বর্ডার রেডিয়াস 0 করা হলো */
  box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19); /* বাম এবং ডানে শ্যাডো থাকবে, উপরে এবং নীচে না */
  padding: 25px;
  min-height: auto;
}

.hidden-wrapper {
    width: 92%;
    margin: 0 auto;
    background: #fff;
    padding: 25px;
    display: block; /* নিশ্চিত করুন যে ডিভটি দৃশ্যমান */
    border-radius: 0 0 10px 10px;
    box-shadow: 2px 0 0px rgba(0, 0, 0, 0.2), -2px 0 0px rgba(0, 0, 0, 0.2), 0 5px 0px rgba(0, 0, 0, 0.2); /* বামে, ডানে এবং নীচে শ্যাডো থাকবে */
    padding: 0;
}


/* Layout Columns */
main {
  display: flex;
  gap: 15px;
  background: #fff;
}

/* ---------- Left Content ---------- */
.left-content {
  flex: 3;
  min-width: 300px;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  display: block; /* ✅ মোবাইলে জোরপূর্বক প্রদর্শন */
  visibility: visible;
  opacity: 1;
}

/* ---------- Right Content ---------- */
.right-content {
  flex: 1;
  min-width: 250px;
  width: 100%;
  background: #fff;
  border-radius: 6px;
  padding: 10px;
  
  display: block; /* ✅ মোবাইলে সবসময় দৃশ্যমান */
  visibility: visible;
  opacity: 1;
}


/* Footer */

.card-row {
  display: flex;
  gap: 20px;
  margin-top: 20px;
  flex-wrap: wrap;
}

.custom-card {
  flex: 1 1 calc(33.33% - 20px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease;
}

.custom-card:hover {
  transform: translateY(-5px);
}

.custom-card canvas {
  width: 100%;
  height: auto;
  max-height: 300px;
}

@media (max-width: 768px) {
  .custom-card {
    flex: 1 1 100%;
  }
}
.link-card {
  flex: 1 1 calc(50% - 20px);
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  padding: 20px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.link-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0,0,0,0.2);
}

@media (max-width: 768px) {
  .link-card {
    flex: 1 1 100%;
  }
}
li a {
    
    color: black;
    font-size: 15px;
  border-bottom: 1px dashed #999;
  text-decoration: none;
}
.link-card li {
  line-height: 1.8;       /* লাইন-হাইট বাড়ানো */
  font-size: 16px;        /* ফন্ট-সাইজ বড় করুন (প্রত্যেক লিসে প্রযোজ্য) */
  margin-bottom: 8px;     /* প্রতিটি আইটেমের নিচে স্পেস দিতে */
}

.link-card li a {
  font-size: inherit;     /* লিঙ্কের ফন্ট-সাইজ li অনুসারে */
  line-height: inherit;   /* লিঙ্কের লাইন-হাইট li অনুসারে */
}



  .chartjs-legend li span {
    border-radius: 50% !important; /* বক্সকে গোল করে */
    width: 12px !important;
    height: 12px !important;
    margin-right: 8px;
  }

     ✅ Mobile Responsive Tweaks
=============================== */
@media (max-width: 992px) {
  .card-row { flex-direction: column; }
  .custom-card, .link-card {
    flex: 1 1 100%;
  }
  .left-content, .right-content {
    width: 100%;
  }
  .brand-bn {
    font-size: 28px !important;
  }
  .brand-en {
    font-size: 20px !important;
  }
  .site-header img {
    width: 80px !important;
    height: 80px !important;
  }
  .notice-wrap {
    font-size: 12px;
    text-align: center;
  }
  main { flex-direction: column; }
}

/* Extra Small Screens */
@media (max-width: 576px) {
  .main-wrapper {
    padding: 10px;
  }
  .brand-bn {
    font-size: 22px !important;
  }
  .brand-en {
    font-size: 16px !important;
  }
  .link-card li a {
    font-size: 14px;
  }
}
/* ---------- Responsive Layout ---------- */
@media (max-width: 992px) {
  main {
    flex-direction: column; /* ✅ একটার নিচে একটা দেখাবে */
    width: 100%;
    margin: 0;
    padding: 0;
  }

  .left-content,
  .right-content {
    width: 100% !important;
    min-width: unset;
    margin: 0 !important;        /* ✅ দুই পাশের ফাঁকা জায়গা সরানো */
    padding: 0 !important;       /* ✅ ভিতরের paddingও সরানো */
    border-radius: 0 !important; /* ✅ কোণাগুলিও একদম সমান */
    box-shadow: none !important; /* ✅ মোবাইলে শ্যাডো বাদ দিলে সম্পূর্ণ ফ্ল্যাট দেখাবে */
  }

  .main-wrapper {
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
  }

  body {
    margin: 0 !important;
    padding: 0 !important;
  }
}
