/* Tab Buttons Styling */
.programs_tab .nav-link {
  border: 1px solid #ddd;
  margin-right: 10px;
  color: #333;
  font-weight: 600;
  background: #f8f9fa;
  padding: 15px 25px;
  transition: 0.3s;
}

/* Active Tab Blue Background (Header matching) */
.programs_tab .nav-link.active {
  background-color: #022d9e !important;
  color: #fff !important;
  border-color: #022d9e;
  border-radius: 5px; /* Choto curve thakle dekhte bhalo lage */
}

/* Tab Hover Effect */
.programs_tab .nav-link:hover {
  border-color: #022d9e;
  color: #022d9e;
}

/* Project List Styling */
.ProjectList {
  list-style: none;
  padding-left: 0;
}
.ProjectList li {
  padding: 8px 0;
  border-bottom: 1px dashed #ccc;
}
.ProjectList li a {
  color: #022d9e;
  text-decoration: none;
}
strong.vision.title {
  font-size: 24px;
}
/* annual report start*/
.books-grid {
  display: grid;
  /* Ekta row te 4 ta shoman column hobe */
  grid-template-columns: repeat(4, 1fr);
  gap: 20px; /* Card gulor majhe faka jayga */
  padding: 20px 0;
}

.book-card {
  background-color: #afc7ff;
  box-shadow: 0 2px 9px rgb(118 111 111 / 60%);
  /* Padding add korle image ebong text card-er sathe lege thakbe na */
  padding: 15px;
  border-radius: 8px;
  transition: transform 0.3s ease;
}

.book-card:hover {
  transform: translateY(-5px);
}

/* Image jeno card-er baire na jay */

.book-title {
  margin-top: 10px;
  font-weight: bold;
  color: #333;
}

.document-link {
  margin-top: 5px;
  font-size: 14px;
  color: #2563eb;
  text-decoration: underline;
}

/* Responsive: Mobile-e jeno 1 ta ba 2 ta kore dekhay */
@media (max-width: 992px) {
  .books-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 576px) {
  .books-grid {
    grid-template-columns: 1fr;
  }
}

/* annual report end*/
h3.strategic-title {
  color: #f37d20;
}
img.inner_logo.img-fluid {
  float: right;
}

/* approach page start */
.accordion-container {
  max-width: 800px;
  margin: 20px auto;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

.accordion-item {
  border-bottom: 1px solid #ddd;
  margin-bottom: 10px;
}

/* একর্ডিয়ন হেডিং কন্টেইনার */
.accordion-header {
  background-color: #ced8ff;
  padding: 15px 20px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center; /* হেডিং বড় হলেও আইকন মাঝখানে থাকবে */
  transition: background 0.3s ease;
  border-radius: 15px 0px 15px 0px;
}

.accordion-header:hover {
  background-color: #f1f1f1;
}

.accordion-header h3 {
  margin: 0;
  font-size: 18px;
  color: #263c8d;
  line-height: 24px;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
  background-color: #fff;
}

.accordion-content ul {
  padding: 15px 40px;
  margin: 0;
  list-style-type: disc;
}

.accordion-content li {
  margin-bottom: 8px;
  color: #555;
}

/* Active State */
.accordion-item.active .accordion-content {
  max-height: 100%;
}

.accordion-item.active .icon {
  transform: rotate(45deg);
}

.accordion-item.active .icon-arrow {
  transform: rotate(180deg);
  display: inline-block;
}

.icon-arrow {
  transition: transform 0.4s ease;
  display: inline-block;
}

/* আইকনের বাইরের বক্স */
.icon-box {
  width: 35px;
  height: 35px;
  flex-shrink: 0;
  background-color: #aab6e5;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: all 0.4s ease;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  margin-left: 15px;
}

/* আইকন টেক্সট (+) */
.icon {
  color: white;
  font-size: 24px;
  font-weight: bold;
  line-height: 0;
  display: block;
}
i.bx.bx-chevron-down.icon-arrow {
  color: white;
  font-size: 24px;
  font-weight: bold;
  line-height: 0;
  display: block;
}

/* যখন একর্ডিয়ন ওপেন হবে (Active State) */
.accordion-item.active .icon-box {
  background-color: #5fc09c; /* ওপেন হলে কালার চেঞ্জ হবে (ডার্ক গ্রে/ব্ল্যাক) */
  transform: rotate(45deg); /* '+' আইকনটি 'x' হয়ে যাবে */
}

/* হোভার করলে একটু বড় হবে */
.accordion-header:hover .icon-box {
  transform: scale(1.1);
}
/* লিস্ট আইটেমে হোভার করলে আন্ডারলাইন বন্ধ করার জন্য */
.accordion-content ul li:hover,
.accordion-content ul li a:hover {
  text-decoration: none !important;
}

/* যদি আপনি চান হোভার করলে শুধু টেক্সট কালার একটু গাঢ় হবে */
.accordion-content li:hover {
  color: #000; /* বা আপনার পছন্দমতো কালার */
  cursor: default;
}
.top-title {
  padding: 20px 0px;
}
/* approach page end */
/* key-focus-area start */
/* Main Accordion Style (Already active thakle content dekhabe) */
.accordion-item.active .accordion-content {
  max-height: 2000px; /* Use a large enough value */
  padding-bottom: 20px;
}

/* Nested Wrapper Styling */
.nested-wrapper {
  padding: 10px 20px 20px 40px;
}

.nested-item {
  border-bottom: 1px dashed #ddd;
  margin-bottom: 10px;
}

.nested-header {
  display: flex;
  justify-content: space-between;
  padding: 10px 8px;
  cursor: pointer;
  color: #263c8d;
  font-weight: 600;
  transition: color 0.3s;
  background-color: #e7ecff;
  border-radius: 0px 8px 0px 8px;
}

/* Ei part-tuku khub important */
.nested-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out; /* Smooth opening */
  font-size: 14px;
  color: #666;
}

/* Active hole nested content dekhabe */
.nested-item.active .nested-body {
  max-height: 100%; /* Joto tuku dorkar */
  padding-bottom: 40px;
  padding-top: 10px;
}

/* Icon Rotation */
.nested-arrow {
  transition: transform 0.3s ease;
}
.nested-item.active .nested-arrow {
  transform: rotate(180deg);
}

/* key-focus-area end */

/* our work start */
/* মেইন সেকশন টাইটেল */
.section-title h2 {
  color: #263c8d;
  font-weight: 700;
  position: relative;
  padding-bottom: 15px;
}

/* টেবিল ডিজাইন */
.custom-table-wrapper {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  border-radius: 10px;
  overflow: hidden;
}

.custom-table {
  margin-bottom: 0;
  border: none;
}

.custom-table thead {
  background-color: #263c8d;
  color: #fff;
}

.custom-table th {
  padding: 15px 25px;
  border: none;
  text-transform: uppercase;
  font-size: 14px;
  letter-spacing: 1px;
}

.custom-table tbody td {
  padding: 15px 25px;
  vertical-align: middle;
  border-bottom: 1px solid #eee;
  color: #555;
  font-size: 16px;
}

.division-name {
  font-weight: 600;
  color: #263c8d !important;
}

.division-name i {
  margin-right: 8px;
  color: #e74c3c; /* পিন আইকনের কালার */
}

/* টেবিল রো হোভার ইফেক্ট */
.custom-table tbody tr:hover {
  background-color: #f8faff;
  transition: 0.3s;
}

/* ম্যাপ কন্টেইনার এবং এনিমেশন */
.map-container {
  padding: 20px;
  text-align: center;
}

.floating-img {
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.1));
  animation: float 4s ease-in-out infinite;
}

@keyframes float {
  0% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-15px);
  }
  100% {
    transform: translateY(0px);
  }
}

/* মোবাইল রেসপন্সিভ */
@media (max-width: 991px) {
  .map-container {
    margin-top: 40px;
  }
}

/* bd map css start */

/* bd map css end */
/* our work end */

/* case study start */
.viewer-container {
  display: flex;
  gap: 20px;
  background: #fff;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.1);
}

.pdf-sidebar {
  flex: 1;
  max-height: 600px;
  overflow-y: auto;
}

.pdf-item {
  display: flex;
  align-items: center;
  padding: 15px;
  margin-bottom: 10px;
  border: 1px solid #eee;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.pdf-item:hover {
  background: #f0f4ff;
}

.pdf-item.active {
  border-color: #263c8d;
  background: #e7ecff;
}

.pdf-thumb {
  font-size: 30px;
  color: #e74c3c;
  margin-right: 15px;
}

.pdf-info span {
  display: block;
  font-weight: bold;
  color: #263c8d;
}

.pdf-info p {
  margin: 0;
  font-size: 13px;
  color: #666;
}

.pdf-display {
  flex: 3;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}

/* Responsive */
@media (max-width: 768px) {
  .viewer-container {
    flex-direction: column;
  }
  .pdf-sidebar {
    max-height: 250px;
  }
}

.pdf-info {
  display: flex;
  align-items: center; /* Vertical alignment center rakhar jonno */
  justify-content: space-between; /* Bam ebong Dan side-e push korbe */
  width: 100%; /* Jeno puro jayga-ta ney */
  padding-right: 10px; /* Dan pashe ektu gap thakbe */
}

.pdf-title {
  font-weight: 600;
  color: #333;
}

.see-more-btn {
  font-size: 13px;
  color: #007bff; /* Primary Blue ba Vision Bangladesh Theme color */
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 5px; /* Text ebong Arrow icon-er gap */
  white-space: nowrap; /* Jeno lekha-ta bhenge niche na jay */
}

/* Hover effect */
.pdf-item:hover .see-more-btn {
  color: #0056b3;
  transform: translateX(3px); /* Chotto ekta animation hobe dan pashe */
  transition: 0.3s;
}
/* case study end */
