/* 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;
}

/* 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: 15px;
    padding: 10px;
}

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

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

.main-tab {
    width: 100%;
    padding: 20px 30px;
    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 h2{
    font-size: 20px;
    margin-bottom: 10px;
}
.tab-content.active {
    display: block;
}

/* Governance Section Styling */
.governance {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
}
.about-us-statutory-banner{
    width: 77px;
    border-radius: 50%;
    height: 77px;
    object-fit: cover;
}
/* Sub Tab Header */
.sub-tab-header {
    background-color: #f6f6f6;
    padding: 20px 20px 20px 0px;
}

.sub-tabs {
    display: flex;
    gap: 30px;
    list-style: none;
    padding: 0;
    margin: 0;
}

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

.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: #23559b;
    font-weight: 700;
    font-size: 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;
}

/* Team Grid */
.grid-lead {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.grid-container-lead {
    display: flex;
    margin-bottom: 40px;
}

.team-details {
    margin-left: 20px;
}
.team-details a{
    font-size: large;
    font-weight: 500;
    margin-bottom: 5px;
    color: #383939;
    text-decoration: underline;
    text-decoration-color: #2a2e6d1f;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
}
.team-details a:hover {
    text-decoration: underline !important;
    color: #23559b !important;
    text-decoration-color: #23559b !important;
}
.team-details h3 {
    font-size: 20px;
    color: #000;
    margin: 0;
    margin-bottom: 10px;
    font-weight: 500;
}

.team-details h4 {
    font-size: 14px;
    color: #6C89B2;
    font-weight: 700;
    margin-bottom: 20px;
}

.team-details p {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
      /* Ellipsis for 2 lines */
  display: -webkit-box;
  -webkit-line-clamp: 3; /* show only 2 lines */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 15px;
}

.footer-social a {
    text-decoration: none;
    font-size: 18px;
    opacity: 0.7;
    transition: opacity 0.3s ease;
}

.footer-social a:hover {
    opacity: 1;
}

/* Third Level Tabs */
.third-level-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
    flex-wrap: wrap;
}

.third-level-tab {
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    line-height: 24px;
    font-weight: 400;
    color: #858687;
    transition: all .3s ease;
    border: 0;
    border-bottom: 2px solid #cfcfcf;
    background: transparent;
}

.third-level-tab.active {
    background: #d0bb68;
    color: #000;
    border-bottom: 2px solid #000;
    font-weight: 700;
}

.third-level-tab.active:hover {
    background: #c5ad5a;
}

.third-level-content {
    display: none;
}

.third-level-content.active {
    display: block;
}

/* Table Styling */
.table-container {
    overflow: hidden;
    margin-top: 20px;
}

table {
    width: 100%;
    border-collapse: collapse;
}

thead {
    background-color: #e9ecef;
}

th {
    font-size: 20px;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #23559b;
    border-bottom: 2px solid #dee2e6;
}

td {
    padding: 16px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
    line-height: 24px;
    font-size: 14px;
}

tr:last-child td {
    border-bottom: none;
}

tbody tr:hover {
    background-color: #f8f9fa;
}

/* Publication Items */
.publication-item {
    margin-bottom: 15px;
}

.publication-item h4 {
    color: #23559b;
    margin: 0 0 10px;
    font-size: 16px;
}

.publication-item p {
    color: #666;
    font-size: 14px;
    line-height: 24px;
    margin: 0;
}

.publication-meta {
    color: #888;
    font-size: 12px;
    margin-top: 10px;
}
@media  (max-width:1024px) {
    .third-level-tabs {
        display: flex;
        gap: 15px;
        margin-bottom: 25px;
        flex-wrap: nowrap;
        overflow-x: auto;   /* enable horizontal scroll */
        white-space: nowrap; /* prevent wrapping */
        scrollbar-width: thin; /* Firefox */
        scrollbar-color: #23559b transparent; /* Firefox */
      }
      
      /* Optional: style scrollbar for WebKit (Chrome, Edge, Safari) */
      .third-level-tabs::-webkit-scrollbar {
        height: 6px;
      }
      
      .third-level-tabs::-webkit-scrollbar-track {
        background: transparent;
      }
      
      .third-level-tabs::-webkit-scrollbar-thumb {
        background-color: #23559b;
        border-radius: 10px;
      }
      
}
/* Responsive Design */
@media (max-width: 991px) {
    .header {
        padding: 20px;
        flex-direction: column;
        text-align: center;
    }

    .header h1 {
        font-size: 24px;
    }

    .tab-system {
        flex-direction: column-reverse;
    }

    .main-tabs-sidebar {
        min-width: min-content;
        order: 2;
    }

    .content-area {
        order: 1;
        margin-left: 0;
    }

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

    .sub-tabs {
        flex-direction: row;
        gap: 10px;
    }

    .sub-content {
        padding: 20px;
    }

    .third-level-tabs {
        gap: 10px;
    }

    .third-level-tab {
        font-size: 13px;
        padding: 8px 15px;
    }

    .table-container {
        margin: 10px;
        border-radius: 4px;
        overflow-x: auto;
    }

    th,
    td {
        padding: 12px 8px;
        font-size: 14px;
    }

    .grid-lead {
        grid-template-columns: repeat(1, 1fr);
    }

    .governance {
        padding: 20px;
    }

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

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

/* 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;
    }
}

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

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

.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: 130px;
    }
    .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;
    }
}
/* pagination style changes */
.pagination {
    position: relative;
    display: flex;
    gap: 10px;
    align-items: center;
    padding: 10px 0px;
    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;
  }
  
  /* pagnatn ends */
  .project-title a {
    font-weight: 500;
    color: #2c3e50;
    text-decoration: underline;
    text-decoration-color: #2a2e6d1f;
    text-underline-offset: 3px;
    text-decoration-thickness: 2px;
    /* width: 35%; */
  }
  .project-title  a:hover {
    text-decoration: underline !important;
    text-decoration-color: #23559b !important;
  }