/* breadcrumb */
#organogram {
  padding: 0px 0px;
}

#organogram .breadcrumb {
  font-size: 16px;
  color: #666;
  margin: 50px 0;
}

#organogram .breadcrumb a {
  text-decoration: none;
  color: #86868b;
}

#organogram .breadcrumb strong {
  text-decoration: none;
  color: #23559b;
}

#organogram .breadcrumb a:hover {
  text-decoration: underline;
}

#organogram .breadcrumb span {
  margin: 0 5px;
}
.title-common {
  font-size: 28px;
  line-height: 34px;
  font-weight: 600;
  color: #23559b;
  margin-bottom: 30px;
  text-align: left;
}
/* commonbanner */
#common-blue-banner .our-story-section {
  background-color: #23559b;
  padding: 24px 80px;
  display: flex;
  align-items: center;
  gap: 20px;
  width: 100%;
  margin: 0 auto;
}

#common-blue-banner .title {
  color: white;
  font-size: 32px;
  font-weight: 600;
  flex: 1;
  text-align: left;
  letter-spacing: -0.02em;
}

#common-blue-banner .logo-container .logo-icon img {
  background-color: #d0bb68;
  border-radius: 20px;
  padding: 10px;
}

/* Main Tab System */
.tab-system {
  display: flex;
  min-height: 80vh;
}

/* Main Tabs Sidebar */
.main-tabs-sidebar {
  width: 300px;
  background-color: #f6f6f6;
  padding: 0;
}

.main-tab {
  width: 100%;
  padding: 20px 12px;
  background: none;
  border: none;
  text-align: left;
  font-size: 18px;
  font-weight: 500;
  color: #858687;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 1px solid #dee2e6;
}

.main-tab:hover {
  background-color: #e9ecef;
}

.main-tab.active {
  background-color: #f6f6f6;
  color: #23559b;
  font-weight: 600;
  border-bottom: 2px solid #23559b;
}

/* Content Area */
.content-area {
  margin-left: 28px;
  flex: 1;
  overflow-x: auto;
  padding: 12px;
}

.tab-content {
  display: none;
  padding: 0;
}

.tab-content.active {
  display: block;
}

/* Governance Section Styling */
.governance {
  background-color: #fff;
  border-radius: 20px;
  padding: 40px;
}

/* Sub Tab Header */
.sub-tab-header {
  background-color: #f6f6f6;
  padding: 20px;
  overflow-x: auto;
}

.sub-tabs {
  display: flex;
  gap: 20px;
  list-style: none;
  padding: 0;
  margin: 0;
  overflow-x: auto;
}

.sub-tab {
    font-family: 'Lato';
  border-bottom: 2px solid #cfcfcf;
  padding: 12px 20px;
  font-size: 18px;
  cursor: pointer;
  line-height: 24px;
  font-weight: 400;
  color: #858687;
  transition: all 0.3s ease;
  background: none;
  border-left: none;
  border-right: none;
  border-top: none;
  min-width: 200px;
}

.sub-tab.active {
  color: #000;
  font-weight: 600;
  background: #d0bb68;
  border-bottom-color: #000;
}

/* Sub Content */
.sub-content {
  display: none;
  padding: 20px;
}

.sub-content.active {
  display: block;
  padding: 20px;
}

.sub-content h2 {
  color: #2c3e50;
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 20px;
}

.sub-content h3 {
  color: #000;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.sub-content p {
  line-height: 24px;
  font-size: 16px;
  font-weight: 500;
  margin-bottom: 12px;
}

.sub-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.sub-content li {
  margin-bottom: 8px;
}

/* Responsive Design */
@media (max-width: 991px) {
  .title-common {
    margin-top: 30px;
  }
  .tab-system {
    flex-direction: column-reverse;
  }
  .main-tabs-sidebar {
        overflow-x: scroll;
    width: auto;
    /* min-width: min-content; */
    order: 2;
  }
  .main-tabs-sidebar::-webkit-scrollbar {
    display: none; /* Chrome, Safari, Opera */
}
  .tab-buttons::-webkit-scrollbar {
    display: none;
  }
  .content-area {
    order: 1;
    margin-left: 0;
  }

  .sub-tab-header {
    padding: 20px;
  }

  .sub-tabs {
    flex-direction: row;
    gap: 10px;
  }
  .tab-content {
    padding: 0 !important;
  }
    .tab-buttons {
    flex-direction: row !important;
    gap: 30px;
  }
      .tab-buttons button {
        padding: 15px 15px !important;
        white-space: nowrap !important;
    }
}

.about-us {
  margin-bottom: 80px;
}
@media (max-width: 1024px) {
  .sub-tabs::-webkit-scrollbar {
    display: none;
  }
}

/* Additional mobile accordion behavior */
@media (max-width: 991px) {
  .sub-content {
    margin-top: 10px;
  }

  .about-us {
    margin-bottom: 40px;
  }

  .main-tabs-sidebar {
    display: flex;
    gap: 10px;
  }

  .main-tab,
  .sub-tab {
    font-size: 14px;
  }
  .sub-tabs {
    white-space: nowrap;
  }
}

/* Introduction Content Styling */
.intro-content {
  max-width: none;
}

.intro-content h3 {
  color: #000;
  font-weight: 700;
  font-size: 20px;
  margin-bottom: 20px;
}

.intro-content p {
  font-size: 16px;
  font-weight: 500;
  line-height: 24px;
  margin-bottom: 20px;
  color: #333;
}

.intro-content ul {
  margin: 20px 0;
  padding-left: 30px;
}

.intro-content li {
  margin-bottom: 8px;
  line-height: 24px;
  font-size: 16px;
}

@media screen and (max-width: 550px) {
  .sub-tab-header {
    min-width: 250px;
    overflow-x: scroll;
    padding: 20px 0;
  }

  .sub-tab {
    min-width: 160px;
  }
  .sub-tabs {
    overflow-x: scroll;
    gap: 20px;
  }

  .sub-content.active {
    padding: 0;
  }
}

@media screen and (max-width: 550px) {
  .main-tabs-sidebar {
    min-width: -webkit-fill-available;
    overflow-x: scroll;
    padding: 20px 0;
  }

  .main-tab {
    min-width: 130px;
    text-align: center;
  }
}

.vision-img {
  width: 100%;
  height: 100%;
  border-radius: 20px;
  object-fit: contain;
  margin-bottom: 20px;
}

p:last-child {
  margin-bottom: 0;
}

/* Table  */

.table-container {
  overflow-x: auto;
  border-radius: 12px;
  padding: 0;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.responsive-table {
  width: 100%;
  border-collapse: collapse;
  overflow-x: auto;
}

.responsive-table th,
.responsive-table td {
  padding: 18px 24px;
  text-align: left;
  font-size: 16px;
  white-space: nowrap;
}

.responsive-table thead {
  background-color: #cfcfcf52;
}

.responsive-table th {
  color: #23559b;
  font-weight: 600;
  font-size: 16px;
}

.responsive-table tbody tr:last-child {
  border-bottom: none;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .responsive-table {
    min-width: unset;
    font-size: 14px;
  }

  .responsive-table th,
  .responsive-table td {
    padding: 10px 12px;
    font-size: 16px;
  }

  .table-container {
    border-width: 2px;
    border-radius: 8px;
  }
  .main-tabs-sidebar-courses a {
    min-width: 350px;
  }
  .main-tabs-sidebar::-webkit-scrollbar { display: none;}
  .governance {
    padding: 15px;
  }
  .sub-content.active,
  .sub-tab-header {
    padding: 0;
  }
  .sub-tabs {
    margin-bottom: 10px;
  }
}

/* pagination style changes */
.pagination {
  display: flex;
  gap: 10px;
  align-items: center;
  padding: 20px;
  justify-content: flex-end;
}

.page-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: white;
  color: #003b8e;
  /* Arrow color */
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.page-btn:hover {
  background-color: #e6ecff;
}

.page-btn.active {
  background-color: #1f56a6;
  color: white;
  border: none;
}
.page-btn {
  width: 48px;
  height: 48px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: white;
  color: #003b8e;
  font-size: 18px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}
.iframe-container {
  margin-top: 15px;
  margin-bottom: 15px;
}

.main-tabs-sidebar-courses a {
  display: block;
  text-decoration: none;
}

.tab-buttons {
  display: flex;
  position: relative;
  flex-direction: column;
}
.tab-buttons button {
  padding: 20px 15px;
  border: none;
  background: none;
  cursor: pointer;
  font-size: 18px;
  transition: color 0.3s ease;
  border-bottom: 2px solid #cfcfcf;
  color: #86868b;
  position: relative;
}

.tab-buttons button.active {
  color: #23559b;
  border-bottom-color: #23559b;
}
.tab-buttons button.active a {
  color: #23559b !important;
}
/* Movable underline */
.tab-indicator {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 3px;
  width: 0;
  background: #23559b;
  transition: all 0.3s ease;
}

.tab-content {
  display: none;
  padding: 20px;
  animation: fadeIn 0.4s ease-in-out;
}

.tab-content.active {
  display: block;
}
