/* 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 (1-level) Tabs ---------- */
.governance {
    background-color: #fff;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 80px;
    display: flex;
    gap: 30px;
    min-height: 80vh;
}

#visionMision .common-tab {
    display: grid;
    gap: 10px;
    list-style: none;
    padding: 0;
    margin: 0;
}

#visionMision .common-tab li {
    border-bottom: 2px solid #cfcfcf;
    padding: 12px 25px;
    font-size: 18px;
    cursor: pointer;
    line-height: 25px;
    font-weight: 400;
    color: #858687;
    transition: all .3s ease;
    white-space: nowrap;
}

#visionMision .tab.active {
    color:#23559b;
    font-weight: 600;
    /* background: #23559b; */
    border-bottom-color: #23559b;
}

/* ---------- Generic “hide / show” ---------- */
#visionMision [data-tab-content] {
    display: none;
    opacity: 0;
    height: 0;
    overflow: hidden;
    transition: opacity .3s ease, height .3s ease;
}

#visionMision .active[data-tab-content] {
    display: block;
    opacity: 1;
    height: auto;
    display: block;
    color: #000;
    flex: 1;
}

/* ---------- Status Sub-tabs (Active / Completed) ---------- */
.publication-status-tabs {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.publication-status-tab {
    padding: 12px 20px;
    background: none;
    border: none;
    font-size: 16px;
    font-weight: 500;
    color: #858687;
    cursor: pointer;
    border-bottom: 2px solid transparent;
    transition: all .3s ease;
    border-bottom: 2px solid #cfcfcf;
}

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

.publication-status-content {
    display: none;
}

.publication-status-content.active {
    display: block;
}

/* ---------- Type Sub-tabs (inside Publications) ---------- */
.publication-type-tabs {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

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

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

.publication-type-content {
    display: none;
}

.publication-type-content.active {
    display: block;
}

.publication-type-tab.active:hover {
    background: #c5ad5a;
}

/* ---------- Item Card ---------- */
.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: 1.5;
    margin: 0;
}

.publication-meta {
    color: #888;
    font-size: 12px;
    margin-top: 10px;
}

/* ---------- Responsive ---------- */
@media (max-width:768px) {
    #common-blue-banner .our-story-section {
        padding: 20px;
        /* flex-direction: column; */
        text-align: center;
    }

    #common-blue-banner .title {
        font-size: 24px;
    }

    #visionMision .common-tab {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }

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

    .publication-type-tabs {
        gap: 10px;
    }

    .publication-type-tab {
        font-size: 13px;
        padding: 8px 15px;
    }
    .governance {
        display: grid;
        gap: 30px;
        min-height: auto;
    }
}

p {
    line-height: 24px;
}

.governance h3 {
    margin-top: 15px;
    margin-bottom: 24px;
    /* color: #23559b; */
    font-weight: 700;
    font-size: 20px;
}

.grid-lead {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 15px;
    gap: 15px;
}

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

.team-details h3 {
    font-size: 20px;
    font-weight: 500;
    color: #000;
    margin: 0;
    margin-bottom: 5px;
}

.about-us-statutory-banner {
    margin-right: 20px;
    border-radius: 50%;
    width: 77px;
    height: 77px;
    object-fit: cover;
}

.team-details h4 {
    font-size: 14px;
    color: #6C89B2;
    font-weight: 700;
    margin-bottom: 5px;
}
.team-details div{
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}
.table-container {
    overflow: hidden;
}

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

thead {
    background-color: #e9ecef;
}

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

td {
    padding: 16px;
    border-bottom: 1px solid #dee2e6;
    vertical-align: top;
}

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

.sl-no {
    width: 90px;
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    font-weight: 600;
}

.project-title {
    /* width: 50%; */
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    font-weight: 600;
}

.project-lead {
    /* width: 24%; */
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    font-weight: 600;
}

.year {
    /* width: 16%; */
    font-size: 20px;
    line-height: 24px;
    text-align: left;
    font-weight: 600;
}
#completed-projects tr td,
#active-projects  tr td{
    font-size: 14px;
    list-height:24px;
}
tbody tr:hover {
    background-color: #f8f9fa;
}
th {
    color: #23559b;
    font-size: 20px;
    line-height: 24px;
    font-weight: 600;
}
.publication-content tr td{
    font-size: 14px;
    list-height:24px;
}
@media (max-width: 767px) {
    .table-container {
        margin: 10px;
        border-radius: 4px;
    }

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

    .project-title {
        width: 50%;
    }

    .project-lead {
        width: 30%;
    }
    .grid-lead {
        grid-template-columns: repeat(1, 1fr);
    }
    .governance {
        padding: 20px;
    }
    .tab-heading{
        overflow: scroll;
    }
    .tab-heading::-webkit-scrollbar {
        display: none;
    }
    .publication-type-tabs {
        gap: 25px;
        white-space: nowrap;
        overflow: auto;
        }
        .publication-type-content.active {
            overflow: auto;
        }
}
.scroll-wrapper p {
        font-size: 16px;
    font-weight: 500;
    line-height: 24px;
    margin-bottom: 12px;
}
td {
    line-height: 24px;
}
@media screen and (max-width:550px) {
    #visionMision .common-tab li {
        font-size: 14px;
    }   
    .scroll-wrapper p {
        font-size: 14px;
        line-height: 20px;
    }
    .team-details h3,.team-details h4 {
        margin-bottom: 10px;
    }
    .governance {
        margin-bottom: 40px;
    }
}

/* 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%; */
  }
  .team-name 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, .team-name a:hover {
    text-decoration: underline !important;
    text-decoration-color: #23559b !important;
  }
  /* overview css */
  .domain-title{
    padding: 20px 0;
    font-size: 20px;
    margin-bottom: 10px;
  }
  #overview .overview-content  {
    font-size: 18px;
  }