/* breadcrumb */
/* faculty-staff */
#projects{
  min-height: 100vh;
}
#projects .breadcrumb {
  /* padding: 22px 22px; */
  font-size: 16px;
  padding-bottom: 22px;
  color: #666;
  margin-bottom: 0px;
}

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

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

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

#projects .breadcrumb span {
  margin: 0 5px;
}

/* //.breadcrumb */
/* searchcontainer */
.search-input-wrapper {
  position: relative;
  width: 220px;
  margin-left: auto;
  margin-right: 20px;
}

.mobile-search {
  display: none;
  gap: 20px;
}

.mobile-search img {
  display: none;
}

.search-input-wrapper input {
  width: 100%;
  padding: 10px 35px 10px 15px;
  /* space for icon on the right */
  border: 1px solid #23559b;
  border-radius: 999px;
  background-color: #dde5f9;
  font-size: 14px;
  outline: none;
  color: #383838;
}

.search-icon-faculty {
  position: absolute;
  right: 12px;
  top: 50%;
  color: #23559b;
  transform: translateY(-50%);
  pointer-events: none;
}

/* searchends */
/* faculty */
.filter-flex {
  display: flex;
  gap: 15px;
}

.breadcrumb {
  font-size: 16px;
  color: #666;
}

.breadcrumb a {
  color: #0066cc;
  text-decoration: none;
}

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

.filters-container {
  /* padding: 15px 20px; */
}

.filters-container h3 {
  color: #858687;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
}

.filter-tabs {
  display: block;
}

.filter-tab {
  position: relative;
  white-space: nowrap;
  margin-bottom: 15px;
}

.filter-tab input[type="radio"] {
  position: absolute;
  opacity: 0;
  width: 0;
  height: 0;
}

.filter-tab label {
  display: inline-block;
  padding: 8px 15px 8px 40px;
  border-radius: 20px;
  font-size: 14px;
  color: #383939;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

/* Checkbox style */
.filter-tab label::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  width: 16px;
  height: 16px;
  border: 2px solid #383939;
  border-radius: 3px;
  background: white;
  transition: all 0.3s ease;
}

/* Tick mark for all tabs */
.filter-tab label::after {
  content: "✓";
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 12px;
  font-weight: bold;
  transition: all 0.3s ease;
}

/* Inactive tabs - gray tick */
.filter-tab:not(:has(input[type="radio"]:checked)) label::after {
  color: #383939;
  left: 24px;
  top: 10px;
  background: #f5f5f7;
}

/* Active tab styles */
.filter-tab input[type="radio"]:checked+label::before {
  background: #23559b;
  border-color: #23559b;
}

.filter-tab input[type="radio"]:checked+label::after {
  color: white;
  background-color: #23559b;
  left: 16px;
  top: 16px;
}

.filter-tab input[type="radio"]:checked+label {
  /* color: #0066cc;
            font-weight: bold; */
  left: 0px;
  /* font-size: 10px; */
}

/* .filter-tab label:hover {
            background: #d0d0d0;
        }
        
        .filter-tab input[type="radio"]:checked + label:hover {
            background: #d0d0d0;
        } */

.news-items {
  /* padding: 20px; */
  margin-bottom: 20px;
  width: -webkit-fill-available;

}
.news-items .news-item .no-projects-found{
  margin-top: 50px;
  margin-left: 30px;
}
.news-item h2{
  font-size: 20px;
}
.news-item {
  margin-bottom: 20px;
  padding-bottom: 20px;
}

.news-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.news-date {
  font-size: 14px;
  color: #666;
  margin-bottom: 5px;
}

.news-title {
  font-size: 18px;
  color: #0066cc;
  margin-bottom: 10px;
  font-weight: bold;
}

.news-excerpt {
  font-size: 14px;
  color: #444;
  line-height: 1.5;
  margin-bottom: 10px;
}

.read-more {
  display: inline-block;
  color: #0066cc;
  font-size: 14px;
  text-decoration: none;
  font-weight: bold;
}

.read-more:hover {
  text-decoration: underline;
}

/* faculty */
/* tab inside css */
/* project table */
/* table */
.projects-table {
  width: 100%;
  border-collapse: collapse;
  margin: 20px 0;
  overflow: hidden;
}

.projects-table thead tr {
  background-color: #cfcfcf;
  color: #23559B;
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.projects-table th {
  padding: 20px;
  font-size: 16px;
  color: #23559B;
  white-space: nowrap;
  font-weight: 600;
  border-bottom: 1px solid #CFCFCF;
}

.projects-table td {
  padding: 20px;
  font-size: 14px;
  color: #383939;
  border-bottom: 1px solid #CFCFCF;
}

.projects-table tbody tr {
  background-color: transparent;
  transition: background-color 0.2s;
}

.projects-table tbody tr:hover {
  background-color: #cfcfcf52;
}

.status {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 400;
}

.status-completed {
  background-color: #01C12A;
  color: #fff;
}

.status-ongoing {
  background-color: #FBDD58;
  color: #383939;
}

.project-title {
  font-weight: 500;
  color: #2c3e50;
  /* width: 35%; */
}
.news-container{
  min-height: 80vh;
}
.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;
}
.project-lead {
  width: 28%;
}

/* 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;
}
.pagination .page-btn.disabled{
  opacity:0.4;
  pointer-events:none;
  cursor:not-allowed;
}

.page-btn.active {
  background-color: #1f56a6;
  color: white;
  border: none;
}

/* pagnatn ends */
.project-details {
  padding-bottom: 20px;
  padding-top: 20px;
  border-bottom: 1px solid #E4E4E4;
}

.project-details h3 {
  font-size: 20px;
  font-weight: 700;
  color: #23559B;
  margin-bottom: 5px;
}

.project-details p {
  font-size: 16px;
  font-weight: 400;
  color: #383939;
  margin-bottom: 5px;
}

/* cards in details page */
.list-social {
  background: #fff;
  border-radius: 15px;
  margin-bottom: 25px;
  padding: 20px;
}

.social-media {
  margin-top: 15px;
}

.social-media a img {
  margin-left: 10px;
}

.member-card {
  border-radius: 8px;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: flex;
  overflow: hidden;
}

.container-faculty {
  /* margin: 10px 20px; */
  margin-top: 25px;
}

.member-card:hover {
  /* transform: translateY(-5px); */
}

.member-image {
  width: 77px;
  height: 77px;
  border-radius: 50%;
  object-fit: cover;
}

.member-details {
  padding: 0 25px;
  flex: 1;
}

.member-name {
  font-size: large;
  font-weight: 500;
  margin-bottom: 5px;
  color: #383939;
}

.member-title {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
  font-weight: normal;
}

.member-role {
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #6c89b2;
}

.member-info {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}

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

.listing a {
  margin-bottom: 25px;
}

.member-info p {
  margin: 5px 0;
}

.social-media {
  margin-left: 100px;
}

.back-button-c {
  margin-bottom: 30px;
  position: relative;
  top: 20px;
  left: 0;
  width: 40px;
  background: #D0BB68;
  color: #000000;
  border: none;
  padding: 8px;
  border-radius: 12px;
  cursor: pointer;
  font-size: 14px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  z-index: 10;
}

/* listing ends */
@media (max-width:1024px) {
  .filters-container {
    display: none;
    position: absolute;
    background: white;
    padding: 15px 20px;
    z-index: 12;
    right: 22px;
    border-radius: 8px;
  }

  .filter-flex {
    display: block;
  }

  .specialization-main {
    display: grid;
  }

  .specialization-group {
    margin-bottom: 0;
    padding: 0 20px;
  }

  .group-asso {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 5px;
  }

  .mobile-search img {
    display: block;
    margin-right: 25px;
    width: 4%;
  }
}

@media (max-width:768px) {
  .listing {
    grid-template-columns: repeat(1, 1fr);
  }
}