/* breadcrumb */
/* faculty-staff */
#faculty-staff .breadcrumb {
  padding-bottom: 50px;
  font-size: 16px;
  color: #666;
  margin-bottom: 0px;
}

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

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

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

#faculty-staff .breadcrumb span {
  margin: 0 5px;
}

/* //.breadcrumb */
/* 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 {
  margin-bottom: 40px;
  width: -webkit-fill-available;

}

.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 */
/* searchcontainer */
.search-input-wrapper {
  position: relative;
  width: 220px;
  margin-left: auto;
}

.mobile-search {
  display: flex;
  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 listng */
.list-social {
  margin-bottom: 25px;
}

.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 {
  padding: 50px 0;
    min-height: 100vh;
}

.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-details p{
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis
}
.member-name {
  font-size: large;
  font-weight: 500;
  margin-bottom: 5px;
  color: #383939;
}
.member-name a{
   font-size: large;
  font-weight: 500;
  margin-bottom: 5px;
  color: #383939;
  text-decoration: none;
}
.member-title {
  font-size: 16px;
  color: #666;
  margin-bottom: 15px;
  font-weight: normal;
}
.member-role {
  display: inline-block;
  border-radius: 4px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #6c89b2;
}
.member-info {
  font-size: 15px;
  line-height: 1.5;
  color: #555;
}
.listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.listing a {
  margin-bottom: 25px;
      text-decoration: none;
      font-weight: 500;
      color: #2c3e50;
      text-decoration: underline;
      text-decoration-color: #2a2e6d1f;
      text-underline-offset: 3px;
      text-decoration-thickness: 2px;
}
.listing a:hover {
  text-decoration: underline !important;
  text-decoration-color: #23559b !important;
}

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

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

/* listing ends */
/* details page */
.back-button {
  margin-bottom: 30px;
  width: 40px;
  position: relative;
  top: 20px;
  left: 20px;
  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;
}

.back-button:hover {
  background: #23559b;
  transform: translateX(-3px);
}

.back-button i {
  margin-right: 5px;
}

.header {
  /* background: linear-gradient(135deg, #3498db, #2c3e50); */
  color: #000000;
  padding: 30px;
  text-align: start;
}

.header-doc {
  display: inline-flex;
  gap: 16px;
  margin-bottom: 20px;
}

.header-doc img {
  width: 127px;
  height: 127px;
  object-fit: cover;
  border-radius: 30px;
}

.header h2 {
  font-size: 18px;
  margin-bottom: 5px;
  color: #000000;
}

.header p {
  color: #383939;
  font-size: 16px;
  font-weight: 500;
  /* opacity: 0.9; */
  margin-bottom: 10px;
}

.tags {
  display: flex;
  /* flex-wrap: wrap; */
  justify-content: start;
  gap: 10px;
  margin: 15px 0;
}

.tag {
  background: rgba(255, 255, 255, 0.2);
  padding: 5px 5px 5px 0;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  white-space: nowrap;
  color: #2A2E6D;
  position: relative;
  margin-right: 15px;
}

.tag:not(:last-child)::after {
  content: "•";
  position: absolute;
  right: -10px;
}

.tag:last-child {
  margin-right: 0;
}

.languages {
  display: block;
  align-items: start;
  margin-top: 15px;
  font-size: 14px;
}

.languages h3 {
  font-size: 14px;
  font-weight: 500;
  color: #23559B;
  margin-bottom: 10px;
}

.languages img {
  margin-right: 8px;
}

.languages span {
  font-size: 14px;
  font-weight: 500;
  color: #383939;
}

#faculty-tab-details .active[data-tab-content] {
  display: block;
}

#faculty-tab-details [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#faculty-tab-details .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
}

/* tab start */
/* #faculty-tab-details .tab-heading {
  padding: 50px 0;
} */

#faculty-tab-details .active[data-tab-content] {
  display: block;
  color: #000000;
}

#faculty-tab-details .tab.active {
  font-size: 18px;
  color: #000;
  font-weight: 600;
  border-color: #000;
  padding: 12px 25px 12px 25px;
  background-color: #D0BB68;
  cursor: pointer;
}

#faculty-tab-details [data-tab-content] {
  visibility: hidden;
  opacity: 0;
  height: 0;
  overflow: hidden;
  transition: opacity 0.3s ease, height 0.3s ease;
}

#faculty-tab-details .active[data-tab-content] {
  visibility: visible;
  opacity: 1;
  height: auto;
  padding: 30px;
}

#faculty-tab-details .common-tab {
  display: flex;
  gap: 35px;
  list-style: none;
  padding: 10px 0;
  /* Add some padding for scrollbar */
  margin: 0;
  overflow-x: auto;
  scrollbar-width: thin;
  /* Firefox */
  -webkit-overflow-scrolling: touch;
  /* Smooth scrolling on iOS */

  /* Prevent flex items from shrinking */
  >* {
    flex-shrink: 0;
  }
}

/* Optional: Style scrollbar (Chrome/Safari) */
#faculty-tab-details .common-tab::-webkit-scrollbar {
  display: none;
}

#faculty-tab-details .common-tab::-webkit-scrollbar-thumb {
  background: #888;
  border-radius: 2px;
  display: none;
}

#faculty-tab-details .common-tab li {
  border-bottom: 2px solid #cfcfcf;
  padding: 12px 25px 12px 25px;
  font-size: 18px;
  cursor: pointer;
  line-height: 25px;
  font-weight: 400;
  color: #858687;
}

/* ends */
.timeline-item .year {
  color: #383939;
  font-size: 18px;
  font-weight: 700;
}

.timeline-item .content-fal-inner {
  color: #383939;
  font-size: 14px;
  font-weight: 500;
  margin-top: 15px;
  margin-bottom: 15px;
}

.tab-back {
  display: block;
  background: #fff;
  border-radius: 15px;
  padding: 25px;
  width: 100%;
  min-height: 100vh;
}

#backbutton-common .submit-button {
  margin-top: 30px;
  position: relative;
  padding: 12px 24px;
  background-color: #d5b65a;
  color: #383939;
  font-weight: bold;
  border: none;
  border-radius: 25px;
  cursor: pointer;
  width: 250px;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 3px 6px rgba(0, 0, 0, 0.1);
  transition: color 0.3s ease-in-out;
}

#backbutton-common .submit-button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: 0;
  background-color: #23559b;
  /* Hover background color */
  z-index: -1;
  transition: width 0.3s ease-in-out;
  border-radius: 25px;
}

#backbutton-common .submit-button:hover {
  color: white;
}

#backbutton-common .submit-button:hover::before {
  width: 100%;
}

.top-header-fac {
  display: flex;
  justify-content: space-between;
}

.specialization-main {
  /* display: flex; */
  gap: 40px;
}

.specialization-list {
  list-style-type: disc;
  padding: 0;
}

.specialization-item {
  color: #383838;
  line-height: 24px;
}

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

.group-asso img {
  width: 150px;
  padding: 5px;
  background-color: #fff;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
  border-radius: 15px;
  height: 50px;
  object-fit: contain;
}

/* table */
.projects-table {
  width: 100%;
  border-collapse: collapse;
  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;
  border-bottom: 1px solid #CFCFCF;
  font-weight: 500;
}

.projects-table td {
  padding: 20px;
  font-size: 14px;
  color: #383939;
  border-bottom: 1px solid #CFCFCF;
}
.projects-table a{
  font-size: 16px;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-color: #2a2e6d1f;
  text-underline-offset: 3px;
  text-decoration-thickness: 2px;
  color: #23559b;
}
.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%;
}

.project-lead {
  width: 28%;
}

/* publiction */
.research-card {
  background-color: white;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  margin-inline: 10px;
}

.research-title {
  font-size: 16px;
  font-weight: 600;
  color: #383939;
  margin-bottom: 20px;
  line-height: 24px;
}

.research-authors {
  font-size: 14px;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  font-weight: 400;
  color: #383939;
  gap: 15px;
  margin-bottom: 16px;
}
.research-authors img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

.research-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  align-items: center;
  justify-content: space-between;
}

.base-name span {
  font-size: 14px;
  font-weight: 400;
  padding: 0 10px 0 5px;
  color: #23559B;
  border-right: 1px solid #23559B;
}

.base-name span:last-child {
  border-right: none;
}

.read-more-fac {
  display: inline-block;
  color: #23559B;
  font-size: 16px;
  text-decoration: underline;
  text-underline-offset: 2px;
  font-weight: bold;
}

/* details 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;
    width: 4%;
  }
}

@media(max-width:768px) {
  .top-header-fac {
    display: block;
  }

  .group-asso {
    grid-template-columns: repeat(3, 1fr);
  }
  .listing {
    grid-template-columns: repeat(2, 1fr);
}
}

@media (max-width: 767px) {
  .filter-tabs {
    gap: 8px;
  }

  .filter-tab label {
    padding: 6px 12px 6px 35px;
    font-size: 13px;
  }

  .filter-tab label::before {
    left: 8px;
    width: 14px;
    height: 14px;
  }

  .filter-tab label::after {
    left: 19px;
    top: 10px;
    background: #fff;
    font-size: 10px;
  }

  .news-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .filter-tab input[type="radio"]:checked+label::after {
    left: 12px;
    top: 12px;
  }

  .filter-tab:not(:has(input[type="radio"]:checked)) label::after {
    left: 20px;
  }
  .container-faculty {
    padding: 50px 15px;
  }
  .listing{
    grid-template-columns: repeat(1, 1fr);
  }
  .header-doc {
    display: grid;
  }
  .header ,
  #faculty-tab-details .active[data-tab-content]{
    padding: 0px;
  }
  .tab-back{
        padding: 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;
}

/* pagnatn ends */
#faculty-tab-details p {
  font-size: 16px;
  line-height: 24px;
}
.border-intro{
      margin-top: 15px;
  border: 1px solid #D3E5FF;
  border-radius: 10px;
  padding: 8px 20px;
  margin-bottom: 20px;
}