:root {
  --white-color: #ffffff;
  --blue-color: #003893;
  --green-color: #2d633e;
  --red-color: #dc143c;
  --content-box-shadow: #0000001a;
  --sidebar-background-color: #f4f4f4;
  --text-black-color: #777;
  --text-dark-black-color: #212529;
  --member-card-background-color: #f9f9f9;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
a {
  text-decoration: none;
}
li {
  list-style: none;
}
img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.npc_header_button {
  padding: 0.5rem 0.25rem;
}
.npc_header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  padding: 8rem;
}

/* Main wrapper */
.npc_page_wrapper {
  max-width: 1300px;
  width: 95%;
  margin-inline: auto;
  margin-top: 1%;
}

/*   layout */
.npc_page {
  display: flex;
  gap: 30px;
}

/* Sidebar styles */
.npc_sidebar_wrapper {
  flex: 0 0 200px;
}

.npc_sidebar {
  background-color: var(--sidebar-background-color);
  border-radius: 5px;
  overflow: hidden;
}

.npc_sidebar_button {
  display: block;
  width: 100%;
  padding: 15px 20px;
  background-color: transparent;
  border: none;
  text-align: left;
  cursor: pointer;
  text-transform: capitalize;
  font-size: 16px;
  transition: background-color 0.5s ease-in;
}

.npc_sidebar_button:hover {
  background-color: var(--green-color);
  color: var(--white-color);
}

.npc_sidebar_button.active {
  background-color: var(--blue-color);
  color: var(--white-color);
}

/* Content area styles */
.npc_content_area_wrapper {
  flex: 1;
}

.npc_content {
  background-color: --var(--content-box-shadow);
  border-radius: 5px;
  box-shadow: 0 2px 5px var(--content-box-shadow);
  color: var(--text-black-color);
}

.npc_content_wrapper {
  display: none;
}

.npc_content_wrapper.active {
  display: block;
}

/* Responsive design */
@media (max-width: 768px) {
  .npc_about {
    flex-direction: column;
  }

  .npc_sidebar_wrapper {
    flex: 0 0 auto;
  }

  .npc_sidebar {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
  }

  .npc_sidebar_button {
    flex: 1;
    text-align: center;
  }
}

.npc_content_wrapper h2 {
  margin-bottom: 15px;
  color: var(--blue-color);
}

.npc_content_wrapper p {
  margin-bottom: 10px;
}

/* Animation for content transition */
.npc_content_wrapper {
  opacity: 0;
  transition: opacity 10s linear;
}

.npc_content_wrapper.active {
  opacity: 1;
}

@media (max-width: 768px) {
  .npc_page {
    display: flex;
    flex-direction: column;
  }
  .npc_content {
    width: 100%;
  }
}

/* Board Members Section */
.npc_board_top_row,
.npc_board_other_members {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 30px;
}

.npc_board_member_card {
  background-color: var(--member-card-background-color);
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 6px var(--content-box-shadow);
  transition: transform 0.3s ease;
  width: calc(33% - 20px);
  max-width: 300px;
  text-align: center;
}

.npc_board_top_row .npc_board_member_card {
  width: calc(50% - 20px);
}

.npc_board_member_card:hover {
  transform: translateY(-5px);
}

.npc_board_member_card img {
  height: 300px;
  object-fit: cover;
  object-position: center top;
  width: 100%;
}

.npc_board_member_card h3 {
  margin: 15px 0 5px;
  color: var(--text-black-color);
  text-transform: capitalize;
}

.npc_board_member_card p {
  color: var(--text-black-color);
  margin-bottom: 15px;
  text-transform: capitalize;
}

/* Responsive Styles */
/* @media (max-width: 992px) {
  .npc_board_member_card,
  .npc_board_top_row .npc_board_member_card {
    width: calc(50% - 20px); 
  }
} */

@media (max-width: 480px) {
  .npc_board_member_card,
  .npc_board_top_row .npc_board_member_card {
    width: 100%;
    max-width: 300px;
  }

  .npc_board_member_card img {
    height: 300px;
  }
}

.npc_reg_diploma_content,
.npc_reg_bachelor_content {
  line-height: 1.8;
}

.npc_content_area_wrapper {
  padding: 20px;
  background-color: var(--member-card-background-color);
}

.npc_content {
  /* max-width: 1200px; */
  margin: 0 auto;
}

.npc_content_wrapper {
  display: none;
}

.npc_content_wrapper.active {
  display: block;
}

.npc_search_form {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
}

.npc_search_by_name,
.npc_search_based_on_provided_options {
  flex: 1;
  padding: 10px;
  border: 1px solid var(--text-black-color);
  border-radius: 4px;
}

.npc_search_button {
  padding: 10px 20px;
  background-color: var(--blue-color);
  color: var(--white-color);
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.npc_search_button:hover {
  background-color: var(--blue-color);
}

.npc_diploma_registered_college_table {
  margin-top: 20px;
}

.npc_table {
  width: 100%;
  border-collapse: collapse;
}

.npc_table th,
.npc_table td {
  padding: 10px;
  text-align: left;
  border-bottom: 1px solid var(--text-black-color);
}

.npc_table th {
  background-color: var(--blue-color);
  color: var(--white-color);
  text-transform: capitalize;
}

.npc_pagination {
  display: flex;
  justify-content: center;
}

.npc_pagination a {
  padding: 8px 16px;
  margin: 0 5px;
  border: 1px solid var(--blue-color);
  color: var(--blue-color);
  text-decoration: none;
  border-radius: 4px;
  cursor: pointer;
}
.npc_pagination .npc_active {
  background-color: var(--blue-color);
  color: var(--white-color);
}

.npc_pagination a:hover {
  background-color: var(--blue-color);
  color: var(--white-color);
}
