@import url("https://fonts.googleapis.com/css2?family=Karla:ital,wght@0,200..800;1,200..800&display=swap");
:root {
  --primary-font-family: "Karla", sans-serif;
  --primary-color: #003893;
  --secondary-color: #dc143c;
  --font-color: #212529;
  --bg-body: #fff;
  --divider-color: #e9e9e9;
  --white-color: #fff;
}

/* BASE CSS  */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-weight: 400;
  font-family: var(--primary-font-family);
  color: var(--font-color);
  background-color: var(--bg-body);
  line-height: 1.5;
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

a {
  text-decoration: none;
  color: inherit;
}

i {
  background: transparent;
}
p,
span,
i {
  font-size: inherit;
  font-weight: inherit;
  line-height: inherit;
  color: inherit;
}

button {
  border: none;
  outline: none;
  color: inherit;
  line-height: inherit;
  font-size: inherit;
  cursor: pointer;
  background: transparent;
}

/* notice modal  */

.npc__notice-container {
  max-width: 800px;
  width: 80%;
  margin-inline: auto;
  position: relative;
  padding: 2.1rem;
}

.notice-container {
  max-height: 600px;
  overflow-y: auto;
}

.npc__notice-img-container {
  width: 100%;
  height: auto;
}

.npc__notice-zoom-toolbar {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.4rem;
  margin-bottom: 0.5rem;
  border-radius: 8px;
  background-color: rgba(255, 255, 255, 0.95);
  box-shadow: rgba(149, 157, 165, 0.2) 0px 4px 12px;
}

.npc__notice-zoom-toolbar button {
  width: 2rem;
  height: 2rem;
  border: none;
  border-radius: 6px;
  background-color: var(--primary-color);
  color: var(--white-color);
  cursor: pointer;
}

.npc__notice-zoom-toolbar button:hover {
  background-color: var(--secondary-color);
}

.npc__notice-zoom-level {
  min-width: 3.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-color);
}

.npc__notice-zoom-viewport {
  max-height: 75vh;
  overflow: auto;
  cursor: zoom-in;
}

.npc__notice-zoom-viewport img {
  display: block;
  max-width: none;
  user-select: none;
}

.npc__notice-zoom-viewport.is-zoomed {
  cursor: grab;
}

.npc__notice-zoom-viewport.is-dragging {
  cursor: grabbing;
}

.npc__notice-next {
  position: absolute;
  top: 0;
  right: 0;
  display: none;
}

.npc__notice-next > button {
  padding: 0.3rem 1rem;
  border-radius: 4px;
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.75px;
  color: var(--white-color);
  background-color: var(--secondary-color);
}

.npc__notice-close {
  position: absolute;
  top: 4px;
  right: 0;
  display: none;
  cursor: pointer;
  background-color: var(--primary-color);
  padding: 0.1rem;
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
  border-radius: 50%;
}
.npc__notice-close:hover {
  background-color: var(--secondary-color);
}

.npc__notice-close > span {
  width: 1.5rem;
  height: 1.5rem;
  font-size: 1.1rem;

  color: var(--white-color);
}

.npc__notice-modal-container {
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  min-height: 100vh;
  background-color: rgba(0, 0, 0, 0.6);
}

/* registration status modal  */
.reg-modal-container {
  position: fixed;
  right: 0;
  top: 25%;
  z-index: 999;
  background-color: var(--secondary-color);
  color: var(--white-color);
  transition: transform 300ms linear;
}

.reg-toggle-btn {
  transform: translateX(-100%);
  background-color: var(--primary-color);
  color: var(--white-color);
  width: 1rem;
  height: 1.25rem;
  cursor: pointer;
}
.reg-toggle-btn span {
  font-size: 0.8rem;
}

.reg-p,
.reg-pa {
  padding: 0.25rem 0.5rem;
}

.reg-pa > span,
.reg-p > span {
  font-size: 0.6rem;
  line-height: 1.2;
  letter-spacing: 0.5px;
}

.reg-p {
  background-color: green;
}
.reg-pa {
  background-color: var(--primary-color);
}

.bar {
  width: 100%;
  height: 1px;
  background-color: var(--white-color);
}

.background-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7); /* semi-transparent black */
  z-index: 1; /* ensures the overlay is above other content */
}

/* HEADER CSS  */
/* top nav  */
.npc__header-top-nav {
  color: var(--primary-color);
  border-bottom: 1px solid #dee2e6;
  display: none;
}

.npc__header-container--fluid {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.npc__header-contact,
.npc__header-social {
  gap: 0.5rem;
}

.npc__contact-child:not(:first-child) {
  border-left: 2px solid var(--divider-color);
  padding-left: 0.5rem;
}

.npc__header-social-child:not(:first-child) {
  border-left: 1px solid var(--divider-color);
  padding-left: 0.5rem;
}

/* mid nav  */
.npc__container--fluid {
  max-width: 1300px;
  width: 95%;
  margin-inline: auto;
}

.npc__header-middle-nav {
  box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px;
}

.npc__header-mid-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.npc__logo-wrapper,
.npc__nepal-flag-wrapper {
  height: 6.5rem;
  padding: 0.25rem 0;
}

.npc__logo-wrapper img,
.npc__nepal-flag-wrapper img {
  width: auto;
  object-fit: contain;
}

.npc__header-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
  text-align: center;
  padding: 0 1rem;
  color: var(--primary-color);
  font-size: 1.1rem;
  line-height: 1.4;
  font-weight: 700;
}

.npc__header-subtitle {
  margin-top: 0.15rem;
  font-size: 0.8em;
  font-weight: 600;
  color: var(--secondary-color);
}

.npc__nepal-flag {
  display: none;
}

.hamburger-icon,
.cross-icon {
  font-size: 1.8rem;
  line-height: 1.5;
  color: var(--font-color);
  background: transparent;
  cursor: pointer;
}

.cross-icon {
  display: none;
}


/* main nav  */
.npc__header-main-nav {
  background-color: var(--primary-color);
  color: var(--white-color);
  display: none;
}

.npc__nav-btn {
  padding: 0.75rem 1rem;
  cursor: pointer;
  text-transform: capitalize;
  font-size: 0.95rem;
}
.npc__nav-btn:hover {
  background-color: rgba(220, 20, 60, 0.8);
}

/* current page */
.npc__nav-btn.is-active {
  position: relative;
  background-color: var(--secondary-color);
  font-weight: 700;
}

.npc__nav-btn.is-active::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 0;
  height: 0;
  border-left: 6px solid transparent;
  border-right: 6px solid transparent;
  border-bottom: 6px solid var(--white-color);
  transform: translateX(-50%);
}

.npc__show-dropdown:hover + .npc__dropdown {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.npc__dropdown-icon {
  font-size: 0.7rem;
}

.npc__dropdown {
  min-width: 200px;
  background-color: var(--white-color);
  z-index: 99;
  color: var(--font-color);
  transition: all 300ms ease-in;
  transform: translateY(20px);
  opacity: 0;
  box-shadow: 0 0 12px -2px #333;
}

.npc__dropdown:hover {
  visibility: visible;
  opacity: 1;
  transform: translateY(0);
}

.npc__dropdown-links > a {
  padding: 0.6rem 0.5rem;
  font-size: 0.95rem;
}

.npc__dropdown-links > a:hover {
  background-color: var(--primary-color);
  color: white;
}

.npc__dropdown-links > a.is-active {
  border-left: 3px solid var(--secondary-color);
  background-color: rgba(0, 56, 147, 0.08);
  color: var(--primary-color);
  font-weight: 700;
}

.npc__dropdown-links > a.is-active:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

/* mobile nav  */
.npc__mob-nav {
  position: fixed;
  transform: translateX(-100%);
  left: 0;
  width: 100%;
  height: 100%;
  overflow-y: auto;
  font-size: 1.1rem;
  background-color: white;
  z-index: 1000;
  color: var(--primary-color);
  transition: transform 300ms ease-in-out;
}

.npc__mob-nav-link {
  padding: 0.4rem 0.5rem;
}

.npc__mob-nav-item,
.npc__mob-dropdown-item {
  text-transform: capitalize;
  width: 100%;
}

.npc__mob-nav-drop-item button {
  background: transparent;
}

.npc__mob-nav-drop-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.npc__mob-drop-right-icon,
.npc__mob-drop-down-icon {
  font-size: 0.8rem;
  margin-top: 3px;
}

.npc__mob-drop-down-icon {
  display: none;
}

.npc__mob-dropdown {
  padding-left: 0.5rem;
  font-size: 0.9rem;
  height: 100%;
  overflow-y: auto;
}

.npc__mob-dropdown-links {
  display: flex;
  flex-direction: column;
}

.npc__mob-dropdown-item {
  padding-top: 0.3rem;
  padding-bottom: 0.3rem;
}

.npc__mob-nav-item.is-active,
.npc__mob-dropdown-item.is-active {
  color: var(--secondary-color);
  font-weight: 700;
}

.npc__mob-dropdown-item.is-active {
  padding-left: 0.5rem;
  border-left: 3px solid var(--secondary-color);
}

.npc__mob-dropdown-hide .npc__mob-dropdown {
  display: none;
}

.npc__mob-dropdown-icon .npc__mob-drop-down-icon {
  display: block;
}

.npc__mob-dropdown-icon .npc__mob-drop-right-icon {
  display: none;
}

/* news announcement  */
.npc__announcement-title {
  min-width: 4rem;
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  letter-spacing: 1px;
  background-color: var(--secondary-color);
}

.npc__announcement-title > h2 {
  color: var(--white-color);
  font-weight: 700;
  font-size: 0.8rem;
}
.announcement__marquee-content {
  font-size: 0.9rem;
}
.announcement__marquee-content > .npc__news-date {
  color: var(--secondary-color);
}

.announcement__marquee {
  padding-left: 100%;
  animation: scroll 25s linear infinite;
}

.announcement__marquee:hover {
  animation-play-state: paused;
}

@keyframes scroll {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-100%);
  }
}

/* hero  */
.npc__hero-wrapper {
  margin-top: 1rem;
}

.npc__quick-link {
  padding: 1.5rem 1rem;
  gap: 0.8rem;
  border: 2px solid #dee2e6;
}

.npc__quick-link:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.npc__quick-link-title {
  gap: 0.75rem;
}

.npc__quick-link-title > h2 {
  font-size: 1rem;
}

.npc__image-slider {
  height: 450px;
  overflow: hidden;
}

.slider {
  width: 100%;
  overflow: hidden;
}

.slides {
  display: flex;
}

.slide-img {
  min-width: 100%;
  height: 450px;
}

.slide-img > img {
  object-position: center center;
}

.npc__member-card-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  justify-content: center;
}

.npc__member-card {
  background-color: #f0f0f0;
  border-radius: 1px;
  padding: 1rem;
  gap: 1rem;
  min-width: 160px;
  width: 100%;
}

.npc__member-info {
  min-width: 0;
}

.npc__member-contact {
  display: flex;
  align-items: baseline;
  gap: 0.4rem;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  word-break: break-all;
}

.npc__member-contact > i {
  color: var(--primary-color);
  font-size: 0.75rem;
}

.npc__member-contact > a {
  color: inherit;
  text-decoration: none;
}

.npc__member-position {
  font-size: 1rem;
  line-height: 1.4;
  letter-spacing: 1px;
  font-weight: 700;
  color: var(--primary-color);
}

.npc__member-dp {
  flex-shrink: 0;
  width: 5.5rem;
  height: 6.5rem;
  border-radius: 11px;
  border: 3px solid var(--white-color);
}

.npc__member-dp > img {
  object-position: center top;
  border-radius: 8px;
}

.npc__member-name {
  font-size: 0.9rem;
  letter-spacing: 1px;
}

/* news */
.npc__news-wrapper {
  margin-top: 3rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.npc__facebook-iframe {
  display: flex;
  justify-content: center;
  align-items: center;
}
.npc__facebook-iframe-container {
  max-width: 400px;
  width: 100%;
  /* box-shadow: rgba(149, 157, 165, 0.2) 0px 8px 24px; */
}

.npc__news-header {
  background-color: var(--primary-color);
}

.npc__news-heading > button {
  width: 150px;
  background-color: red;
  color: var(--white-color);
  font-size: 1.4rem;
  line-height: 1;
  letter-spacing: 1px;
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.npc__news-item {
  border-bottom: 1px solid #a3a5a7;
  padding: 0.75rem 1rem;
}

.npc__news-item-left > span {
  margin-top: 0.75rem;
  color: var(--primary-color);
}

.npc__news-item-title {
  line-height: 1;
  font-size: 1.1rem;
}
.npc__news-item-right > p {
  font-size: 0.8rem;
  line-height: 1;
}

.npc__read-more-wrapper {
  margin-top: 0.5rem;
}

.npc__read-more,
.npc__about-read-more {
  background-color: var(--primary-color);
  color: var(--white-color);
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
  text-transform: capitalize;
  text-align: center;
  border-radius: 0.2rem;
  width: 110px;
}

.npc__read-more > span,
.npc__about-read-more > span {
  font-size: 0.875rem;
  line-height: 1.5;
}

.npc__read-more-icon > i,
.npc__about-read-more-icon > i {
  font-size: 0.7rem;
}

/* about  */

.npc__about-container {
  margin-top: 2rem;
  flex-direction: column;
}

.npc__about-cover {
  padding-inline: 0.5rem;
}

.npc__about-img {
  height: 350px;
}

.npc__about-title {
  font-size: 2.5rem;
  line-height: 0.8;
  color: var(--primary-color);
  font-weight: 800;
}

.npc__about-description > p {
  margin-top: 1rem;
  text-align: justify;
}

/* message  */
.npc__messages-container {
  max-width: 900px;
  width: 90%;
  margin: 0 auto;
}

.npc__messages-title {
  text-align: center;
  margin-bottom: 1rem;
}

.npc__messages-title > h2 {
  font-size: 3rem;
  line-height: 5rem;
  color: var(--primary-color);
  font-weight: 800;
}

.npc__messages-first-container {
  display: flex;
  flex-direction: column;
}

.npc__messages-second-container {
  display: flex;
  flex-direction: column;
}

.npc__msg-cover-1,
.npc__msg-cover-2 {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.npc__messages-cover-img {
  width: 300px;
  height: 300px;
  border-radius: 8px;
}

.npc__messages-cover-img > img {
  border-radius: 8px;
  object-position: center top;
}

.npc__message-author {
  font-size: 1rem;
  font-weight: 400;
  line-height: 1;
}

.npc__message-author-position {
  font-size: 0.8rem;
  font-weight: 700;
}

/* chairman */

.npc__craousel-container {
  max-width: 900px;
  width: 90%;
  margin-inline: auto;
  overflow: hidden;
}

.npc__chairman-title {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--primary-color);
  text-align: center;
  margin-bottom: 0.75rem;
}

.npc__craousel {
  display: flex;
  transition: transform 300ms ease-in-out;
}

.npc__craousel-navigation {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  z-index: 100;
}

.npc__craousel-navigation > span {
  font-size: 1.8rem;
  color: var(--primary-color);
}

.npc__craousel-navigation {
  display: none;
}

.npc__craousel-next {
  right: 0;
}

.npc__craousel-prev {
  left: 0;
}

.npc__card {
  min-width: 100%;
  height: 400px;
  position: relative;
  border-radius: 8px;
}

.npc__card-img {
  width: 100%;
  height: 100%;
  border-radius: 8px;
}

.npc__card-img > img {
  object-position: center top;
  border-radius: 8px;
  /* filter: brightness(80%); */
}

.npc__card-description {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
}

.npc__card-description {
  color: var(--white-color);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  line-height: 1;
  text-shadow: 4px 4px 12px rgba(0, 0, 0, 0.7);
}

.npc__card-description > h3 {
  font-size: 1.5rem;
  font-weight: 700;
}

.npc__card-description > p {
  font-size: 0.9rem;
  font-weight: 600;
}

/* footer  */

.npc__footer {
  position: relative;
  margin-top: 4rem;
  color: rgba(255, 255, 255, 0.85);
  background:
    radial-gradient(circle at 0% 0%, rgba(255, 255, 255, 0.07), transparent 35%),
    radial-gradient(circle at 100% 100%, rgba(220, 20, 60, 0.22), transparent 40%),
    linear-gradient(160deg, #003893 0%, #002463 60%, #001a47 100%);
  overflow: hidden;
}

/* faint emblem watermark */
.npc__footer::after {
  content: "";
  position: absolute;
  right: -80px;
  top: 40px;
  width: 360px;
  height: 360px;
  border-radius: 50%;
  border: 50px solid rgba(255, 255, 255, 0.03);
  pointer-events: none;
}

.npc__footer a {
  color: inherit;
  text-decoration: none;
}

.npc__footer-accent {
  height: 5px;
  background: linear-gradient(90deg, var(--secondary-color) 0%, var(--secondary-color) 50%, #ffffff 50%, #ffffff 52%, #0050c8 52%, #0050c8 100%);
}

.npc__footer-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
  padding-top: 3.5rem;
  padding-bottom: 3rem;
}

.npc__footer-brand-head {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.npc__footer-logo {
  flex-shrink: 0;
  width: 4.75rem;
  height: 4.75rem;
  padding: 0.4rem;
  border-radius: 16px;
  background-color: var(--white-color);
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25);
}

.npc__footer-logo > img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.npc__footer-brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  line-height: 1.35;
  color: var(--white-color);
}

.npc__footer-tagline {
  margin-top: 1.25rem;
  max-width: 360px;
  font-size: 0.92rem;
  line-height: 1.7;
  color: rgba(255, 255, 255, 0.7);
}

.npc__footer-heading {
  position: relative;
  margin-bottom: 1.4rem;
  padding-bottom: 0.7rem;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white-color);
}

.npc__footer-heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 36px;
  height: 3px;
  border-radius: 2px;
  background-color: var(--secondary-color);
}

.npc__footer-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  font-size: 0.93rem;
}

.npc__footer-list a {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  color: rgba(255, 255, 255, 0.78);
  transition: color 0.2s ease, transform 0.2s ease;
}

.npc__footer-list a::before {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 0.7rem;
  color: var(--secondary-color);
  transition: transform 0.2s ease;
}

.npc__footer-list a:hover {
  color: var(--white-color);
  transform: translateX(4px);
}

.npc__footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.npc__footer-contact li {
  display: flex;
  align-items: flex-start;
  gap: 0.85rem;
}

.npc__footer-contact-icon {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--white-color);
  font-size: 0.85rem;
}

.npc__footer-contact small {
  display: block;
  font-size: 0.72rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
}

.npc__footer-contact span,
.npc__footer-contact a {
  font-size: 0.92rem;
  color: var(--white-color);
  word-break: break-word;
}

.npc__footer-contact a:hover {
  text-decoration: underline;
}

.npc__footer-socials {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.5rem;
}

.npc__footer-icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: var(--white-color);
  font-size: 0.9rem;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.npc__footer-icon-btn:hover {
  transform: translateY(-3px);
  background-color: var(--white-color);
  color: var(--primary-color);
}

.npc__footer-bottom {
  position: relative;
  z-index: 1;
  background-color: rgba(0, 0, 0, 0.2);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.npc__footer-bottom-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.9rem;
  padding-top: 1.1rem;
  padding-bottom: 1.1rem;
}

.npc__copyright {
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
}

.npc__footer-scroll-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 999px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-family: inherit;
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.npc__footer-scroll-top:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 18px rgba(220, 20, 60, 0.4);
}

@media screen and (min-width: 640px) {
  .npc__footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .npc__footer-brand {
    grid-column: 1 / -1;
  }

  .npc__footer-bottom-inner {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

@media screen and (min-width: 1024px) {
  .npc__footer-grid {
    grid-template-columns: 4fr 2fr 2fr 3fr;
    gap: 3rem;
    padding-top: 4.5rem;
    padding-bottom: 3.5rem;
  }

  .npc__footer-brand {
    grid-column: auto;
  }
}

/* UTILITY CLASS */

.flex {
  display: flex;
}

.flex-col {
  flex-direction: column;
}

.items-center {
  align-items: center;
}

.justify-center {
  justify-content: center;
}

.justify-between {
  justify-content: space-between;
}

.justify-evenly {
  justify-content: space-evenly;
}

.gap-1 {
  gap: 0.25rem;
}

.gap-2 {
  gap: 0.5rem;
}

.gap-3 {
  gap: 0.75rem;
}

.gap-4 {
  gap: 1rem;
}

.gap-5 {
  gap: 1.25rem;
}

.gap-6 {
  gap: 1.5rem;
}

.gap-7 {
  gap: 1.75rem;
}

.gap-8 {
  gap: 2rem;
}

.gap-9 {
  gap: 2.5rem;
}
.gap-10 {
  gap: 3rem;
}

.px-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.px-2 {
  padding-left: 3%;
  padding-right: 3%;
}

.px-3 {
  padding-inline: 0.75rem;
}

.py-1 {
  padding-top: 0.25rem;
  padding-bottom: 0.25rem;
}

.py-2 {
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.py-3 {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.py-4 {
  padding-top: 1rem;
  padding-bottom: 1rem;
}

.border {
  border: 1px solid red;
}

.hidden {
  display: none;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.transparent {
  background: transparent;
}

.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.top-full {
  top: 100%;
}

.left-0 {
  left: 0;
}

.inset-0 {
  inset: 0;
}

.invisible {
  visibility: hidden;
}

.w-full {
  width: 100%;
}

.h-full {
  height: 100%;
}

.capitalize {
  text-transform: capitalize;
}

.uppercase {
  text-transform: uppercase;
}

.overflow-hidden {
  overflow: hidden;
}

.whitespace-nowrap {
  white-space: nowrap;
}

.flex-1 {
  flex: 1 1 0%;
}

.cursor-pointer {
  cursor: pointer;
}

.mt-1 {
  margin-top: 1rem;
}

.mt-npc {
  margin-top: 2.5rem;
}

/* blink key frame  */

.blinking-element {
  background-color: var(--primary-color);
  color: var(--white-color);
  animation: blink 1.5s infinite;
}

.blinking-element:hover {
  animation: none;
}

@keyframes blink {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}

.blinking-text {
  color: red;
  animation: blink 1s infinite;
}

.order-1 {
  order: 1;
}

.order-2 {
  order: 2;
}

.npc_cpd_content_wrapper {
  padding: 20px;
  margin: auto;
}

.npc_cpd_cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.npc_cpd_card {
  flex: 0 1 calc(25% - 15px);
  min-width: 200px;
  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;
  cursor: pointer;
  display: flex;
  flex-direction: column;
}

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

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

.npc_cpd_card h3 {
  padding: 15px;
  color: var(--text-black-color);
  margin: 0;
  font-size: 16px;
  text-align: center;
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.npc_pdf_preview_overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #000000cc;
  z-index: 1000;
  justify-content: center;
  align-items: center;
}

.npc_pdf_preview_container {
  width: 90%;
  height: 90%;
  background-color: var(--white-color);
  border-radius: 8px;
  position: relative;
}

.npc_close_pdf_preview {
  position: absolute;
  top: 12px;
  right: 10px;
  color: var(--blue-color);
  border: none;
  border-radius: 50%;
  width: 30px;
  height: 30px;
  font-size: 24px;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
}
.npc_close_pdf_preview:hover {
  background-color: var(--blue-color);
  color: var(--white-color);
}

.npc_pdf_preview_container embed {
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 8px;
}
@media (max-width: 1024px) {
  .npc_regulation_card {
    flex: 0 1 calc(33% - 20px);
  }
}
@media (max-width: 768px) {
  .npc_cpd_card {
    flex: 0 1 calc(50% - 20px);
  }
}

@media (max-width: 480px) {
  .npc_cpd_card {
    flex: 0 1 100%;
  }
}

.npc_syllabus_wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.npc_syllabus {
  font-family: Arial, sans-serif;
}

.npc_syllabus_title {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 20px;
  text-align: center;
  color: var(--blue-color);
}

.npc_syllabus_card {
  background-color: var(--white-color);
  border-radius: 8px;
  box-shadow: 0 4px 6px var(--content-box-shadow);
  padding: 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.npc_syllabus_item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px;
  color: var(--text-dark-black-color);
  border: 1px solid var(--text-black-color);
  border-radius: 8px;
}

.npc_syllabus_item_title {
  font-size: 16px;
  font-weight: bold;
}

.npc_syllabus_download_button {
  background-color: var(--blue-color);
  color: var(--white-color);
  padding: 10px 20px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-size: 14px;
  transition: background-color 0.3s ease;
}

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

@media (max-width: 768px) {
  .npc_syllabus_wrapper {
    padding: 10px;
  }

  .npc_syllabus_title {
    font-size: 20px;
  }

  .npc_syllabus_item {
    flex-direction: column;
    align-items: flex-start;
  }

  .npc_syllabus_download_button {
    margin-top: 10px;
    align-self: flex-end;
  }
}

@media (max-width: 480px) {
  .npc_syllabus_title {
    font-size: 18px;
  }

  .npc_syllabus_item_title {
    font-size: 14px;
  }

  .npc_syllabus_download_button {
    font-size: 12px;
    padding: 8px 16px;
  }
}

.npc__login {
  min-height: 100vh;
}

.npc__login-form {
  width: 50%;
}

.npc__logo {
  width: 12rem;
  margin-bottom: 1.5rem;
}

.npc__form-title {
  font-size: 1.5rem;
  line-height: 2rem;
  color: var(--primary-color);
  margin-bottom: 4.5rem;
}

.npc__form-input {
  width: 280px;
}

.npc__input-container {
  position: relative;
}

.npc__input-container > span {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0.5rem;
}

.npc__form-input > label {
  font-size: 0.9rem;
}

.npc__input-container > input {
  padding: 0.6rem 2rem;
  border-radius: 4px;
  outline: none;
  border: 1px solid #dee2e6;
  font-size: 0.9rem;
  letter-spacing: 1px;
  line-height: 1.2rem;
  width: 100%;
}

.npc__input-container > input::placeholder {
  font-size: 0.8rem;
  line-height: 1rem;
}

.npc__form-login-btn {
  width: 280px;
  background-color: var(--primary-color);
  padding: 0.6rem 2rem;
  color: var(--white-color);
  font-size: 0.9rem;
  letter-spacing: 1px;
  font-weight: 500;
  border-radius: 4px;
  cursor: pointer;
}

.npc__form-login-btn:hover {
  background-color: rgba(0, 56, 147, 0.9);
}

.npc__cover-img {
  /* background: rgb(0, 56, 147);
    background: -moz-linear-gradient(
      0deg,
      rgba(0, 56, 147, 1) 0%,
      rgba(220, 20, 60, 1) 100%
    );
    background: -webkit-linear-gradient(
      0deg,
      rgba(0, 56, 147, 1) 0%,
      rgba(220, 20, 60, 1) 100%
    );
    background: linear-gradient(
      0deg,
      rgba(0, 56, 147, 1) 0%,
      rgba(220, 20, 60, 1) 100%
    );
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr="#003893",endColorstr="#dc143c",GradientType=1); */
  border-top-left-radius: 100px;
  background-color: #dee2e6;
  flex: 1;
  min-height: 100vh;
}

.npc__login-nepal-flag {
  transform: translateX(4rem);
  width: 300px;
  height: 400px;
}

/* LOGIN PAGE */
.npc__auth {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 3rem 1rem;
  background:
    radial-gradient(circle at 10% 20%, rgba(0, 56, 147, 0.08), transparent 45%),
    radial-gradient(circle at 90% 80%, rgba(220, 20, 60, 0.08), transparent 45%),
    #f5f7fb;
}

.npc__auth-card {
  display: flex;
  width: 100%;
  max-width: 960px;
  min-height: 560px;
  background-color: var(--white-color);
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 32, 84, 0.12);
}

.npc__auth-panel {
  position: relative;
  display: none;
  flex: 1;
  padding: 3rem 2.5rem;
  color: var(--white-color);
  background: linear-gradient(150deg, #003893 0%, #00296b 55%, #dc143c 140%);
  overflow: hidden;
}

.npc__auth-panel::before,
.npc__auth-panel::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
}

.npc__auth-panel::before {
  width: 320px;
  height: 320px;
  top: -120px;
  right: -120px;
}

.npc__auth-panel::after {
  width: 220px;
  height: 220px;
  bottom: -80px;
  left: -80px;
}

.npc__auth-panel-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.npc__auth-flag {
  width: 90px;
  height: 110px;
  margin-bottom: 2rem;
  filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.25));
}

.npc__auth-flag img {
  object-fit: contain;
}

.npc__auth-panel h3 {
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}

.npc__auth-panel p {
  font-size: 0.95rem;
  opacity: 0.85;
  margin-bottom: 2rem;
  max-width: 320px;
}

.npc__auth-features {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
}

.npc__auth-features li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.95rem;
}

.npc__auth-features i {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.14);
  font-size: 0.85rem;
}

.npc__auth-form-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 3rem 2rem;
}

.npc__auth-logo {
  width: 5rem;
  height: 5rem;
  margin-bottom: 1.5rem;
}

.npc__auth-logo img {
  object-fit: contain;
}

.npc__auth-title {
  margin-bottom: 2rem;
}

.npc__auth-title h2 {
  font-size: 1.75rem;
  line-height: 2.25rem;
  font-weight: 700;
  color: var(--primary-color);
}

.npc__auth-title p {
  font-size: 0.95rem;
  color: #6c757d;
}

.npc__auth-alert {
  display: flex;
  gap: 0.75rem;
  padding: 0.85rem 1rem;
  margin-bottom: 1.5rem;
  border-radius: 10px;
  border: 1px solid rgba(220, 20, 60, 0.25);
  background: rgba(220, 20, 60, 0.06);
  color: var(--secondary-color);
  font-size: 0.875rem;
}

.npc__auth-alert i {
  margin-top: 0.2rem;
}

.npc__auth-alert a {
  color: var(--primary-color);
  text-decoration: underline;
}

.npc__auth-form {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.npc__auth-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.npc__auth-input {
  position: relative;
  display: flex;
  align-items: center;
}

.npc__auth-input > i {
  position: absolute;
  left: 1rem;
  color: #98a2b3;
  font-size: 0.9rem;
  pointer-events: none;
  transition: color 0.2s ease;
}

.npc__auth-input input {
  width: 100%;
  padding: 0.8rem 2.75rem;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background-color: #f8f9fc;
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.npc__auth-input input::placeholder {
  color: #adb5bd;
}

.npc__auth-input input:focus {
  border-color: var(--primary-color);
  background-color: var(--white-color);
  box-shadow: 0 0 0 4px rgba(0, 56, 147, 0.12);
}

.npc__auth-input:focus-within > i {
  color: var(--primary-color);
}

.npc__auth-input.has-error input {
  border-color: var(--secondary-color);
}

.npc__auth-toggle {
  position: absolute;
  right: 0.75rem;
  padding: 0.25rem;
  border: none;
  background: none;
  color: #98a2b3;
  cursor: pointer;
}

.npc__auth-toggle:hover {
  color: var(--primary-color);
}

.npc__auth-remember {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  cursor: pointer;
  user-select: none;
}

.npc__auth-remember input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary-color);
}

.npc__auth-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  padding: 0.85rem 2rem;
  margin-top: 0.5rem;
  border: none;
  border-radius: 10px;
  background: linear-gradient(135deg, #003893 0%, #0050c8 100%);
  color: var(--white-color);
  font-family: inherit;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.5px;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0, 56, 147, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.npc__auth-submit:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 56, 147, 0.32);
}

.npc__auth-submit:hover i {
  transform: translateX(3px);
}

.npc__auth-submit i {
  transition: transform 0.2s ease;
}

@media screen and (min-width: 768px) {
  .npc__auth {
    padding: 4rem 1.5rem;
  }

  .npc__auth-panel {
    display: block;
  }

  .npc__auth-form-wrapper {
    padding: 3.5rem 3.5rem;
  }
}

.npc_contact {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* Common Styles for Medium and Large Screens */
.npc_contact_left h1 {
  font-size: 24px;
  margin-bottom: 10px;
  color: var(--blue-color);
}

.npc_contact_left p {
  margin: 5px 0;
  color: var(--text-black-color);
}

.npc_contact_left a {
  color: var(--blue-color);
  text-decoration: none;
}

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

.npc_contact_right iframe {
  border: 0;
  width: 100%;
  height: 350px;
}

/* Styles for Medium and Large Screens */
@media (min-width: 768px) {
  .npc_contact {
    flex-direction: row;
    gap: 30px;
    align-items: center;
  }

  .npc_contact_left {
    flex: 1;
  }

  .npc_contact_right {
    flex: 1;
  }

  .npc_contact_left h1 {
    font-size: 28px;
  }

  .npc_contact_right iframe {
    height: 400px;
  }
}

/* Mobile Styles */
@media (max-width: 767px) {
  .npc_contact_wrapper {
    padding: 15px;
  }

  .npc_contact_left h1 {
    font-size: 20px;
  }

  .npc_contact_left p {
    font-size: 14px;
  }

  .npc_contact_right iframe {
    height: 250px;
  }
}

.react-breadcrumbs .breadcrumbs-wrap {
  position: relative;
  overflow: hidden;
  height: 100px;
  width: 100%;
  background-color: rgb(0, 0, 0);
}

.react-breadcrumbs .breadcrumbs-wrap .breadcrumbs-inner {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.react-breadcrumbs .breadcrumbs-wrap .container {
  position: relative;
}

.react-breadcrumbs .breadcrumbs-wrap .breadcrumbs-inner .breadcrumbs-text {
  text-align: center;
}

.react-breadcrumbs
  .breadcrumbs-wrap
  .breadcrumbs-inner
  .breadcrumbs-text
  .breadcrumbs-title {
  width: 100%;
  font-size: 40px;
  text-transform: capitalize;
  color: #ffffff;
  font-weight: 700;
  line-height: 1;
  margin: 0 0 15px;
}

.react-breadcrumbs
  .breadcrumbs-wrap
  .breadcrumbs-inner
  .breadcrumbs-text
  .back-nav
  ul
  li {
  display: inline;
  color: #fff;
  font-size: 16px;
  font-weight: 400;
  opacity: 0.8;
}

.react-breadcrumbs
  .breadcrumbs-wrap
  .breadcrumbs-inner
  .breadcrumbs-text
  .back-nav
  ul
  li
  a {
  color: #fff;
}

input[type="text"],
input[type="date"] {
  width: 100%;
  padding: 10px;
  margin-top: 5px;
  margin-bottom: 15px;
  border: 1px solid #ccc;
  border-radius: 5px;
  font-size: 14px;
  color: #555;
  box-sizing: border-box;
  background-color: #f9f9f9;
}

select {
  width: 100% !important;
  padding: 10px !important;
  margin-top: 5px !important;
  margin-bottom: 15px !important;
  border: 1px solid #ccc !important;
  border-radius: 5px;
  font-size: 14px;
  color: #555;
  box-sizing: border-box;
  background-color: #f9f9f9;
}

input:focus,
select:focus {
  border-color: #0056b3;
  outline: none;
  box-shadow: 0 0 4px rgba(0, 86, 179, 0.2);
}

.qualification-table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.qualification-table th {
  text-align: left;
  padding: 10px;
  font-size: 14px;
  color: #333;
}

.qualification-table td {
  padding: 10px;
  font-size: 14px;
  color: #555;
}

.qualification-table tbody tr:nth-child(odd) {
  background-color: #fff;
}

.qualification-table tbody tr:nth-child(even) {
  background-color: #f9f9f9;
}

.qualification-table input[type="text"] {
  width: 100%;
  padding: 8px;
  font-size: 14px;
  border: 1px solid #ccc;
  border-radius: 4px;
  box-sizing: border-box;
}

.qualification-table input[type="text"]:focus {
  border-color: #d71a47;
  outline: none;
}

/* Responsive Design */
@media (max-width: 768px) {
  .table-heading {
    font-size: 18px;
  }

  .qualification-table thead {
    display: none;
  }

  .qualification-table tbody,
  .qualification-table tr,
  .qualification-table td {
    display: block;
    width: 100%;
  }

  .qualification-table td {
    padding: 10px;
    text-align: right;
    position: relative;
    border: none;
    border-bottom: 1px solid #ddd;
  }

  .qualification-table td::before {
    content: attr(data-label);
    position: absolute;
    left: 10px;
    top: 10px;
    font-weight: bold;
    text-transform: uppercase;
    color: #555;
  }

  .qualification-table td[data-label="Remarks"] {
    border-bottom: none;
  }

  .qualification-table input[type="text"] {
    margin-top: 5px;
  }
}

/* Document Grid */
.document-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr); /* Adjust column size */
  gap: 20px;
  justify-items: center;
}

.document-item {
  /* text-align: center; */
  border: 1px solid #ddd;
  border-radius: 10px;
  padding: 15px;
  background-color: #fafafa;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* .document-item:hover {
  transform: translateY(-5px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
} */

.document-item img {
  width: 80px;
  height: 80px;
  margin-bottom: 10px;
}

.document-item p {
  font-size: 14px;
  margin: 0 0 10px;
}

.document-item input[type="file"] {
  font-size: 14px;
  padding: 5px;
}

/* Responsive Design */
@media (max-width: 1024px) {
  .document-grid {
    grid-template-columns: repeat(2, 1fr); /* 2 columns on tablets */
    gap: 15px; /* Reduce gap for smaller screens */
  }

  .document-item img {
    width: 70px;
    height: 70px;
  }

  .document-item p {
    font-size: 13px;
  }

  .document-item input[type="file"] {
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .document-grid {
    grid-template-columns: repeat(1, 1fr); /* 1 column on smaller tablets */
  }

  .document-item img {
    width: 60px;
    height: 60px;
  }

  .document-item p {
    font-size: 12px;
  }

  .document-item input[type="file"] {
    font-size: 11px;
  }
}

.radio-input {
  appearance: none !important;
  width: 20px !important;
  height: 20px !important;
  border: 2px solid #d1d5db; /* Gray-300 */
  border-radius: 50%; /* Makes it rounded */
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s, background-color 0.2s;
}

@keyframes blink {
  50% {
    opacity: 0;
  }
}

#newButtonContainer a {
  animation: blink 1s linear infinite;
}

.text-red-500 {
  color: red;
}

.success {
  background-color: lightgreen;
  padding: 10px;
}

/* NEWS DETAIL */
.npc__news-detail-page {
  max-width: 960px;
  margin: 2.5rem auto 4rem;
}

.npc__news-detail {
  display: flex;
  flex-direction: column;
  gap: 1.75rem;
}

.npc__news-detail-header {
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--divider-color);
}

.npc__news-detail-header h2 {
  font-size: 1.6rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--primary-color);
}

.npc__news-detail-date {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.npc__news-detail-cover {
  border-radius: 12px;
  overflow: hidden;
}

.npc__news-detail-content {
  line-height: 1.8;
  text-align: justify;
}

.npc__news-detail-content p:not(:last-child) {
  margin-bottom: 1rem;
}

.npc__news-detail-gallery {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.npc__news-detail-gallery.is-single {
  grid-template-columns: 1fr;
}

.npc__news-detail-image {
  display: block;
  aspect-ratio: 4 / 3;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 6px 18px rgba(0, 32, 84, 0.1);
}

.npc__news-detail-gallery.is-single .npc__news-detail-image {
  aspect-ratio: auto;
}

.npc__news-detail-gallery.is-single .npc__news-detail-image img {
  height: auto;
}

.npc__news-detail-image img {
  transition: transform 0.3s ease;
}

.npc__news-detail-image:hover img {
  transform: scale(1.04);
}

.npc__news-detail-pdf {
  border: 1px solid #dee2e6;
  border-radius: 12px;
  overflow: hidden;
}

.npc__news-detail-pdf-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 1rem;
  background-color: #f5f7fb;
  border-bottom: 1px solid #dee2e6;
  font-size: 0.9rem;
}

.npc__news-detail-pdf-bar span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.npc__news-detail-pdf-bar i.fa-file-pdf {
  color: var(--secondary-color);
}

.npc__news-detail-pdf-bar a,
.npc__news-detail-files a {
  color: var(--primary-color);
  font-weight: 600;
  white-space: nowrap;
}

.npc__news-detail-pdf embed {
  display: block;
  height: 80vh;
  min-height: 500px;
}

.npc__news-detail-files {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.npc__news-detail-files span {
  color: #6c757d;
  font-weight: 400;
  font-size: 0.85rem;
}

/* HOME NEWS SECTION */
.npc__news-section {
  margin-top: 3rem;
  padding: 3.5rem 0;
  background:
    radial-gradient(circle at 0% 0%, rgba(0, 56, 147, 0.07), transparent 40%),
    radial-gradient(circle at 100% 100%, rgba(220, 20, 60, 0.06), transparent 40%),
    #f5f7fb;
}

.npc__news-section-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 2rem;
}

.npc__news-section-eyebrow {
  display: inline-block;
  margin-bottom: 0.35rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--secondary-color);
}

.npc__news-section-title {
  position: relative;
  padding-bottom: 0.6rem;
  font-size: 1.8rem;
  line-height: 1.2;
  font-weight: 800;
  color: var(--primary-color);
}

.npc__news-section-title::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 56px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
}

.npc__news-view-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--primary-color);
  color: var(--primary-color);
  font-size: 0.9rem;
  font-weight: 600;
  white-space: nowrap;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.npc__news-view-all:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.npc__news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.npc__news-card {
  position: relative;
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem;
  border-radius: 14px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.05);
  color: var(--font-color);
  overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.npc__news-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--primary-color), var(--secondary-color));
  transform: scaleY(0);
  transform-origin: top;
  transition: transform 0.25s ease;
}

.npc__news-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 56, 147, 0.25);
  box-shadow: 0 14px 30px rgba(0, 32, 84, 0.12);
}

.npc__news-card:hover::before {
  transform: scaleY(1);
}

.npc__news-card-date {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 68px;
  border-radius: 12px;
  background-color: rgba(0, 56, 147, 0.07);
  color: var(--primary-color);
}

.npc__news-card-day {
  font-size: 1.5rem;
  line-height: 1;
  font-weight: 800;
}

.npc__news-card-month {
  margin-top: 0.25rem;
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
}

.npc__news-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  min-width: 0;
}

.npc__news-card-title {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--font-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.npc__news-card:hover .npc__news-card-title {
  color: var(--primary-color);
}

.npc__news-card-summary {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.npc__news-card-link {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--primary-color);
}

.npc__news-card-link i {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.npc__news-card:hover .npc__news-card-link i {
  transform: translateX(4px);
}

/* featured (latest) card */
.npc__news-card.is-featured {
  background: linear-gradient(135deg, #003893 0%, #00296b 70%, #5a1640 130%);
  border-color: transparent;
  color: var(--white-color);
}

.npc__news-card.is-featured .npc__news-card-date {
  background-color: rgba(255, 255, 255, 0.14);
  color: var(--white-color);
}

.npc__news-card.is-featured .npc__news-card-title,
.npc__news-card.is-featured:hover .npc__news-card-title {
  font-size: 1.3rem;
  color: var(--white-color);
}

.npc__news-card.is-featured .npc__news-card-summary {
  color: rgba(255, 255, 255, 0.8);
}

.npc__news-card.is-featured .npc__news-card-link {
  color: var(--white-color);
}

.npc__news-card-badge {
  align-self: flex-start;
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.2rem 0.7rem;
  border-radius: 999px;
  background-color: var(--secondary-color);
  color: var(--white-color);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.npc__news-pulse {
  position: relative;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--white-color);
}

.npc__news-pulse::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background-color: var(--white-color);
  animation: npc-news-pulse 1.4s ease-out infinite;
}

@keyframes npc-news-pulse {
  from {
    transform: scale(1);
    opacity: 0.8;
  }
  to {
    transform: scale(2.6);
    opacity: 0;
  }
}

.npc__news-empty {
  grid-column: 1 / -1;
  padding: 2rem;
  text-align: center;
  color: #6c757d;
}

@media screen and (min-width: 768px) {
  .npc__news-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .npc__news-card.is-featured {
    grid-column: span 2;
  }
}

@media screen and (min-width: 1024px) {
  .npc__news-section {
    padding: 4.5rem 0;
  }

  .npc__news-section-title {
    font-size: 2.2rem;
  }

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

/* HOME ABOUT SECTION */
.npc__about-section {
  padding: 3.5rem 0 4.5rem;
}

.npc__about-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

.npc__about-media {
  position: relative;
  padding: 0 1.25rem 1.25rem 0;
}

/* offset accent block behind the image */
.npc__about-media::before {
  content: "";
  position: absolute;
  top: 1.25rem;
  left: 1.25rem;
  right: 0;
  bottom: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 140%);
}

.npc__about-frame {
  position: relative;
  height: 340px;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 18px 40px rgba(0, 32, 84, 0.18);
}

.npc__about-frame img {
  transition: transform 0.6s ease;
}

.npc__about-media:hover .npc__about-frame img {
  transform: scale(1.05);
}

.npc__about-badge {
  position: absolute;
  left: 1rem;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  max-width: calc(100% - 3rem);
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background-color: var(--white-color);
  box-shadow: 0 12px 28px rgba(0, 32, 84, 0.16);
}

.npc__about-badge-logo {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
}

.npc__about-badge-logo img {
  object-fit: contain;
}

.npc__about-badge strong {
  display: block;
  font-size: 0.95rem;
  line-height: 1.3;
  color: var(--primary-color);
}

.npc__about-badge span {
  font-size: 0.8rem;
  color: #6c757d;
}

.npc__about-text {
  margin-top: 1.5rem;
  padding-left: 1.1rem;
  border-left: 3px solid rgba(0, 56, 147, 0.15);
}

.npc__about-text p {
  line-height: 1.85;
  text-align: justify;
  color: #495057;
}

.npc__about-cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  margin-top: 1.75rem;
  padding: 0.75rem 1.6rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #003893 0%, #0050c8 100%);
  color: var(--white-color);
  font-size: 0.95rem;
  font-weight: 600;
  box-shadow: 0 8px 20px rgba(0, 56, 147, 0.25);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}

.npc__about-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(0, 56, 147, 0.32);
}

.npc__about-cta i {
  font-size: 0.8rem;
  transition: transform 0.2s ease;
}

.npc__about-cta:hover i {
  transform: translateX(4px);
}

@media screen and (min-width: 1024px) {
  .npc__about-section {
    padding: 5rem 0 6rem;
  }

  .npc__about-grid {
    grid-template-columns: 5fr 6fr;
    gap: 4rem;
  }

  .npc__about-frame {
    height: 460px;
  }
}

/* HOME DOCUMENTS SECTION */
.npc__docs-section {
  padding: 3.5rem 0 4.5rem;
  background:
    radial-gradient(circle at 100% 0%, rgba(0, 56, 147, 0.07), transparent 40%),
    radial-gradient(circle at 0% 100%, rgba(220, 20, 60, 0.06), transparent 40%),
    #f5f7fb;
}

.npc__docs-tabs {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.25rem;
  overflow-x: auto;
  scrollbar-width: none;
}

.npc__docs-tabs::-webkit-scrollbar {
  display: none;
}

.npc__docs-tab {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
  padding: 0.65rem 1.15rem;
  border: 1px solid #e1e6f0;
  border-radius: 999px;
  background-color: var(--white-color);
  color: #495057;
  font-family: inherit;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.npc__docs-tab i {
  font-size: 0.85rem;
  color: var(--primary-color);
  transition: color 0.2s ease;
}

.npc__docs-tab:hover {
  border-color: var(--primary-color);
  color: var(--primary-color);
}

.npc__docs-tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, #003893 0%, #0050c8 100%);
  color: var(--white-color);
  box-shadow: 0 8px 18px rgba(0, 56, 147, 0.25);
}

.npc__docs-tab.is-active i {
  color: var(--white-color);
}

.npc__docs-panel {
  display: none;
}

.npc__docs-panel.is-active {
  display: block;
  animation: npc-docs-fade 0.3s ease;
}

@keyframes npc-docs-fade {
  from {
    opacity: 0;
    transform: translateY(6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.npc__docs-list {
  list-style: none;
  border-radius: 14px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.05);
  overflow: hidden;
}

.npc__docs-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.25rem;
  transition: background-color 0.2s ease;
}

.npc__docs-item:not(:last-child) {
  border-bottom: 1px solid #eef1f6;
}

.npc__docs-item:hover {
  background-color: #f8faff;
}

.npc__docs-icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background-color: rgba(0, 56, 147, 0.08);
  color: var(--primary-color);
  font-size: 1.25rem;
}

.npc__docs-icon.is-pdf {
  background-color: rgba(220, 20, 60, 0.08);
  color: var(--secondary-color);
}

.npc__docs-info {
  flex: 1;
  min-width: 0;
}

.npc__docs-info h3 {
  font-size: 0.98rem;
  line-height: 1.45;
  font-weight: 700;
  color: var(--font-color);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.npc__docs-info p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.2rem;
  font-size: 0.8rem;
  color: #6c757d;
}

.npc__docs-ext {
  margin-left: 0.35rem;
  padding: 0 0.45rem;
  border-radius: 4px;
  background-color: #eef1f6;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.npc__docs-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.npc__docs-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: 0.85rem;
  font-weight: 600;
  transition: background-color 0.2s ease, transform 0.15s ease;
}

.npc__docs-btn span {
  display: none;
}

.npc__docs-btn:hover {
  transform: translateY(-1px);
  background-color: var(--secondary-color);
}

.npc__docs-btn.is-ghost {
  background-color: transparent;
  border: 1.5px solid #dbe2ee;
  color: var(--primary-color);
}

.npc__docs-btn.is-ghost:hover {
  background-color: transparent;
  border-color: var(--primary-color);
}

.npc__docs-footer {
  display: flex;
  justify-content: center;
  margin-top: 1.75rem;
}

@media screen and (min-width: 768px) {
  .npc__docs-btn {
    width: auto;
    padding: 0 1rem;
  }

  .npc__docs-btn span {
    display: inline;
  }
}

@media screen and (min-width: 1024px) {
  .npc__docs-section {
    padding: 4.5rem 0 5.5rem;
  }
}

/* LEGAL DOCUMENTS */
.npc__legal-section {
  padding: 3.5rem 0 4.5rem;
}

.npc__legal-section.is-page {
  min-height: 60vh;
}

.npc__legal-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
}

.npc__legal-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.1rem;
  border-radius: 14px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.05);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.npc__legal-card[hidden] {
  display: none;
}

.npc__legal-card:hover {
  transform: translateY(-3px);
  border-color: rgba(220, 20, 60, 0.3);
  box-shadow: 0 12px 26px rgba(0, 32, 84, 0.1);
}

.npc__legal-card-icon {
  position: relative;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 50px;
  height: 56px;
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(220, 20, 60, 0.12), rgba(220, 20, 60, 0.04));
  color: var(--secondary-color);
  font-size: 1.4rem;
}

.npc__legal-card-icon span {
  position: absolute;
  top: -6px;
  right: -8px;
  min-width: 22px;
  padding: 0.1rem 0.35rem;
  border-radius: 999px;
  background-color: var(--primary-color);
  color: var(--white-color);
  font-size: 0.65rem;
  font-weight: 700;
  line-height: 1.4;
  text-align: center;
}

.npc__legal-card-body {
  flex: 1;
  min-width: 0;
}

.npc__legal-card-body h3 {
  font-size: 0.95rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--font-color);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.npc__legal-card-body p {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  color: #6c757d;
}

.npc__legal-card-actions {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  flex-shrink: 0;
}

.npc__legal-card-actions .npc__docs-btn {
  width: 2.2rem;
  height: 2.2rem;
  padding: 0;
}

.npc__legal-search {
  position: relative;
  display: flex;
  align-items: center;
  width: 100%;
  max-width: 300px;
}

.npc__legal-search i {
  position: absolute;
  left: 1rem;
  color: #98a2b3;
  font-size: 0.85rem;
}

.npc__legal-search input {
  width: 100%;
  padding: 0.65rem 1rem 0.65rem 2.5rem;
  border: 1px solid #dee2e6;
  border-radius: 999px;
  font-family: inherit;
  font-size: 0.9rem;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.npc__legal-search input:focus {
  border-color: var(--primary-color);
  box-shadow: 0 0 0 4px rgba(0, 56, 147, 0.12);
}

@media screen and (min-width: 768px) {
  .npc__legal-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .npc__legal-section {
    padding: 4.5rem 0 5.5rem;
  }

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

/* STAFF PAGE */
.npc__staff-header {
  margin-bottom: 2rem;
}

.npc__staff-header p {
  margin-top: 0.9rem;
  max-width: 560px;
  font-size: 0.95rem;
  line-height: 1.7;
  color: #6c757d;
}

.npc__staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.5rem;
}

.npc__staff-card {
  border-radius: 16px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.npc__staff-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 36px rgba(0, 32, 84, 0.14);
}

.npc__staff-photo {
  position: relative;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  background: linear-gradient(160deg, #e9eef8, #f5f7fb);
}

.npc__staff-photo img {
  object-position: center top;
  transition: transform 0.5s ease;
}

.npc__staff-card:hover .npc__staff-photo img {
  transform: scale(1.06);
}

.npc__staff-card:hover .npc__staff-photo img.is-placeholder {
  transform: none;
}

/* gradient so the contact buttons stay readable over photos */
.npc__staff-photo::after {
  content: "";
  position: absolute;
  inset: 50% 0 0 0;
  background: linear-gradient(180deg, transparent, rgba(0, 36, 99, 0.65));
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.npc__staff-card:hover .npc__staff-photo::after {
  opacity: 1;
}

.npc__staff-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  background: linear-gradient(150deg, #003893 0%, #00296b 60%, #dc143c 140%);
  color: var(--white-color);
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 2px;
}

.npc__staff-contact {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 1rem;
  z-index: 1;
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.npc__staff-card:hover .npc__staff-contact,
.npc__staff-card:focus-within .npc__staff-contact {
  opacity: 1;
  transform: translateY(0);
}

.npc__staff-contact a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.3rem;
  height: 2.3rem;
  border-radius: 50%;
  background-color: var(--white-color);
  color: var(--primary-color);
  font-size: 0.85rem;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.2);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.npc__staff-contact a:hover {
  background-color: var(--secondary-color);
  color: var(--white-color);
}

.npc__staff-info {
  position: relative;
  padding: 1.1rem 1rem 1.25rem;
  text-align: center;
}

/* accent bar overlapping the photo edge */
.npc__staff-info::before {
  content: "";
  position: absolute;
  top: -2px;
  left: 50%;
  width: 40px;
  height: 4px;
  border-radius: 2px;
  background: linear-gradient(90deg, var(--secondary-color), var(--primary-color));
  transform: translateX(-50%);
  transition: width 0.3s ease;
}

.npc__staff-card:hover .npc__staff-info::before {
  width: 70%;
}

.npc__staff-info h3 {
  font-size: 1.02rem;
  line-height: 1.4;
  font-weight: 700;
  color: var(--font-color);
  text-transform: capitalize;
}

.npc__staff-role {
  display: inline-block;
  margin-top: 0.5rem;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(0, 56, 147, 0.08);
  color: var(--primary-color);
  font-size: 0.8rem;
  font-weight: 600;
}

/* touch devices have no hover, so always show contact buttons */
@media (hover: none) {
  .npc__staff-contact {
    opacity: 1;
    transform: none;
  }

  .npc__staff-photo::after {
    opacity: 1;
  }
}

/* PAGE HERO / BREADCRUMB */
.npc__page-hero {
  position: relative;
  margin-bottom: 2.5rem;
  padding: 4rem 0 3.5rem;
  background:
    linear-gradient(110deg, rgba(0, 36, 99, 0.94) 0%, rgba(0, 56, 147, 0.82) 55%, rgba(220, 20, 60, 0.55) 120%),
    var(--page-hero-image) center / cover no-repeat;
  color: var(--white-color);
  overflow: hidden;
}

.npc__page-hero::after {
  content: "";
  position: absolute;
  right: -100px;
  bottom: -160px;
  width: 380px;
  height: 380px;
  border-radius: 50%;
  border: 60px solid rgba(255, 255, 255, 0.05);
}

.npc__page-hero-content {
  position: relative;
  z-index: 1;
}

.npc__page-hero-crumbs {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 0.9rem;
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.75);
}

.npc__page-hero-crumbs a {
  color: inherit;
}

.npc__page-hero-crumbs a:hover {
  color: var(--white-color);
}

.npc__page-hero-crumbs i {
  font-size: 0.6rem;
}

.npc__page-hero h1 {
  font-size: 2.2rem;
  line-height: 1.2;
  font-weight: 800;
}

.npc__page-hero p {
  position: relative;
  margin-top: 0.6rem;
  padding-left: 0.9rem;
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.85);
}

.npc__page-hero p::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.2rem;
  bottom: 0.2rem;
  width: 3px;
  border-radius: 2px;
  background-color: var(--secondary-color);
}

/* ABOUT PAGE */
.npc__about-page-aside {
  position: sticky;
  top: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.npc__about-toc {
  display: none;
  padding: 1.1rem 1rem;
  border-radius: 12px;
  background-color: #f5f7fb;
  border: 1px solid #e7ebf3;
}

.npc__about-toc h4 {
  margin-bottom: 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: #6c757d;
}

.npc__about-toc ul {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  border-left: 2px solid #e1e6f0;
}

.npc__about-toc a {
  display: block;
  margin-left: -2px;
  padding: 0.35rem 0 0.35rem 0.8rem;
  border-left: 2px solid transparent;
  font-size: 0.85rem;
  line-height: 1.4;
  color: #495057;
  transition: color 0.2s ease, border-color 0.2s ease;
}

.npc__about-toc a:hover {
  color: var(--primary-color);
}

.npc__about-toc a.is-active {
  border-left-color: var(--secondary-color);
  color: var(--primary-color);
  font-weight: 700;
}

.npc__about-page-content {
  padding: 2rem 1.5rem;
  border-radius: 16px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.05);
}

.npc__about-page-content h2 {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  scroll-margin-top: 1.5rem;
  margin: 2.25rem 0 1rem;
  font-size: 1.35rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--primary-color);
}

.npc__about-page-content h2:first-child {
  margin-top: 0;
}

.npc__about-page-content h2 strong {
  font-weight: inherit;
}

.npc__about-page-num {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary-color), #0050c8);
  color: var(--white-color);
  font-size: 0.85rem;
  font-weight: 700;
}

.npc__about-page-content p {
  margin-bottom: 1rem;
  line-height: 1.85;
  text-align: justify;
  color: #3d4451;
}

.npc__about-page-content ul,
.npc__about-page-content ol {
  margin: 0 0 1rem 1.25rem;
  line-height: 1.8;
}

.npc__about-leaders {
  margin-top: 3rem;
}

.npc__about-leaders-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
  gap: 1rem;
}

.npc__about-leader {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 14px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.05);
}

.npc__about-leader-photo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(0, 56, 147, 0.12);
  background-color: #eef1f6;
  color: #98a2b3;
  font-size: 1.4rem;
}

.npc__about-leader-photo img {
  object-position: center top;
}

.npc__about-leader h3 {
  font-size: 0.98rem;
  line-height: 1.35;
  font-weight: 700;
  color: var(--font-color);
}

.npc__about-leader span {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--secondary-color);
}

.npc__about-explore {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin: 3rem 0 1rem;
}

.npc__about-explore-card {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
  padding: 1.4rem 1.25rem;
  border-radius: 14px;
  background-color: #f5f7fb;
  border: 1px solid #e7ebf3;
  color: var(--font-color);
  transition: background-color 0.25s ease, transform 0.25s ease, box-shadow 0.25s ease;
}

.npc__about-explore-card:hover {
  transform: translateY(-4px);
  background-color: var(--primary-color);
  box-shadow: 0 14px 30px rgba(0, 56, 147, 0.25);
  color: var(--white-color);
}

.npc__about-explore-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.4rem;
  border-radius: 12px;
  background-color: var(--white-color);
  color: var(--primary-color);
  font-size: 1.05rem;
  box-shadow: 0 4px 10px rgba(0, 32, 84, 0.08);
}

.npc__about-explore-card h3 {
  font-size: 1rem;
  font-weight: 700;
}

.npc__about-explore-card p {
  font-size: 0.85rem;
  line-height: 1.5;
  color: #6c757d;
  transition: color 0.25s ease;
}

.npc__about-explore-card:hover p {
  color: rgba(255, 255, 255, 0.8);
}

.npc__about-explore-arrow {
  position: absolute;
  top: 1.4rem;
  right: 1.25rem;
  font-size: 0.85rem;
  opacity: 0.4;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.npc__about-explore-card:hover .npc__about-explore-arrow {
  opacity: 1;
  transform: translateX(3px) rotate(-45deg);
}

@media screen and (min-width: 769px) {
  .npc__about-toc {
    display: block;
  }

  .npc__about-page-content {
    padding: 2.5rem 2.75rem;
  }
}

@media screen and (min-width: 1024px) {
  .npc__page-hero {
    padding: 5.5rem 0 5rem;
  }

  .npc__page-hero h1 {
    font-size: 3rem;
  }

  .npc_sidebar_wrapper:has(.npc__about-toc) {
    flex-basis: 240px;
  }
}

.npc__legal-count {
  font-size: 0.9rem;
  font-weight: 600;
  color: #6c757d;
}

/* BOARD MEMBERS PAGE */
.npc__bod-leaders {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.25rem;
}

.npc__bod-leader {
  position: relative;
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 18px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.npc__bod-leader:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 34px rgba(0, 32, 84, 0.13);
}



.npc__bod-leader-photo {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 110px;
  height: 130px;
  border-radius: 14px;
  overflow: hidden;
  background-color: #eef1f6;
  color: #98a2b3;
  font-size: 2rem;
  box-shadow: 0 8px 20px rgba(0, 32, 84, 0.15);
}

.npc__bod-leader-photo img {
  object-position: center top;
}

.npc__bod-leader-info {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.npc__bod-leader-role {
  display: inline-block;
  padding: 0.2rem 0.75rem;
  border-radius: 999px;
  background-color: rgba(220, 20, 60, 0.1);
  color: var(--secondary-color);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}


.npc__bod-leader-info h3 {
  margin-top: 0.6rem;
  font-size: 1.2rem;
  line-height: 1.35;
  font-weight: 800;
  color: var(--font-color);
  text-transform: capitalize;
}


.npc__bod-leader-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-top: 0.75rem;
  font-size: 0.85rem;
}

.npc__bod-leader-contact li {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.npc__bod-leader-contact i {
  width: 1rem;
  font-size: 0.75rem;
  color: var(--primary-color);
}

.npc__bod-leader-contact a {
  color: #495057;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.npc__bod-leader-contact a:hover {
  color: var(--primary-color);
  text-decoration: underline;
}



.npc__bod-members {
  margin-top: 3rem;
}

@media screen and (min-width: 768px) {
  .npc__bod-leaders {
    grid-template-columns: repeat(2, 1fr);
  }

  .npc__bod-leader {
    padding: 1.5rem;
  }

  .npc__bod-leader-photo {
    width: 130px;
    height: 155px;
  }
}

/* NEWS LIST PAGE */
.npc__newslist {
  padding: 0.5rem 0 4rem;
}

.npc__newslist-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.npc__newslist-card {
  display: flex;
  flex-direction: column;
  border-radius: 16px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
  color: var(--font-color);
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.npc__newslist-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 56, 147, 0.2);
  box-shadow: 0 18px 36px rgba(0, 32, 84, 0.13);
}

.npc__newslist-cover {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background-color: #eef1f6;
}

.npc__newslist-cover img {
  transition: transform 0.5s ease;
}

.npc__newslist-card:hover .npc__newslist-cover img {
  transform: scale(1.06);
}

.npc__newslist-cover.is-empty {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(150deg, #003893 0%, #00296b 65%, #5a1640 140%);
  color: rgba(255, 255, 255, 0.25);
  font-size: 3.5rem;
}

.npc__newslist-date {
  position: absolute;
  left: 1rem;
  bottom: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 58px;
  padding: 0.4rem 0.6rem;
  border-radius: 12px;
  background-color: var(--white-color);
  color: var(--primary-color);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.18);
}

.npc__newslist-date span {
  font-size: 1.35rem;
  line-height: 1;
  font-weight: 800;
}

.npc__newslist-date small {
  margin-top: 0.2rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
}

.npc__newslist-badge {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.npc__newslist-body {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 1.25rem 1.35rem 1.35rem;
}

.npc__newslist-body h3 {
  font-size: 1.05rem;
  line-height: 1.45;
  font-weight: 700;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.npc__newslist-card:hover h3 {
  color: var(--primary-color);
}

.npc__newslist-body p {
  font-size: 0.9rem;
  line-height: 1.6;
  color: #6c757d;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.npc__newslist-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 0.85rem;
  border-top: 1px solid #eef1f6;
}

.npc__newslist-card:hover .npc__news-card-link i {
  transform: translateX(4px);
}

.npc__newslist-attachment {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.15rem 0.55rem;
  border-radius: 6px;
  background-color: rgba(220, 20, 60, 0.08);
  color: var(--secondary-color);
  font-size: 0.72rem;
  font-weight: 700;
}

@media screen and (min-width: 640px) {
  .npc__newslist-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .npc__newslist-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* FRONT-END PAGINATION */
.npc__pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  margin-top: 3rem;
}

.npc__pagination-info {
  font-size: 0.875rem;
  color: #6c757d;
}

.npc__pagination-info strong {
  color: var(--font-color);
}

.npc__pagination-list {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.4rem;
  border-radius: 999px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
}

.npc__pagination-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  min-width: 2.4rem;
  height: 2.4rem;
  padding: 0 0.6rem;
  border-radius: 999px;
  color: #495057;
  font-size: 0.9rem;
  font-weight: 600;
  transition: background-color 0.2s ease, color 0.2s ease;
}

a.npc__pagination-link:hover {
  background-color: rgba(0, 56, 147, 0.08);
  color: var(--primary-color);
}

.npc__pagination-link.is-active {
  background: linear-gradient(135deg, #003893 0%, #0050c8 100%);
  color: var(--white-color);
  box-shadow: 0 6px 14px rgba(0, 56, 147, 0.3);
}

.npc__pagination-link.is-nav {
  padding: 0 0.9rem;
  font-size: 0.85rem;
}

.npc__pagination-link.is-nav span {
  display: none;
}

.npc__pagination-link.is-nav i {
  font-size: 0.7rem;
}

.npc__pagination-link.is-disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.npc__pagination-link.is-dots {
  min-width: 1.5rem;
  padding: 0;
  color: #98a2b3;
}

@media screen and (min-width: 640px) {
  .npc__pagination {
    flex-direction: row;
    justify-content: space-between;
  }

  .npc__pagination-link.is-nav span {
    display: inline;
  }
}

/* CONTACT PAGE */
.npc__contact-page {
  padding: 0.5rem 0 4.5rem;
}

.npc__contact-cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.npc__contact-card {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1.25rem;
  border-radius: 16px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
  color: var(--font-color);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.npc__contact-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 56, 147, 0.2);
  box-shadow: 0 16px 32px rgba(0, 32, 84, 0.12);
}

.npc__contact-card-icon {
  flex-shrink: 0;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 14px;
  background: linear-gradient(135deg, #003893 0%, #0050c8 100%);
  color: var(--white-color);
  font-size: 1.05rem;
  box-shadow: 0 8px 18px rgba(0, 56, 147, 0.25);
  transition: background 0.25s ease;
}

.npc__contact-card:hover .npc__contact-card-icon {
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff4d6d 100%);
}

.npc__contact-card div {
  min-width: 0;
}

.npc__contact-card small {
  display: block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #98a2b3;
}

.npc__contact-card div span {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.95rem;
  font-weight: 600;
  line-height: 1.4;
  word-break: break-word;
}

.npc__contact-main {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.5rem;
}

.npc__contact-form-card {
  padding: 2rem 1.5rem;
  border-radius: 18px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
}

.npc__contact-form-intro {
  margin: 1rem 0 1.5rem;
  font-size: 0.92rem;
  line-height: 1.7;
  color: #6c757d;
}

.npc__contact-alert {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1.25rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  font-size: 0.9rem;
}

.npc__contact-alert.is-success {
  border: 1px solid rgba(40, 167, 69, 0.3);
  background-color: rgba(40, 167, 69, 0.08);
  color: #1e7e34;
}

.npc__contact-form {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.npc__contact-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
}

.npc__contact-field label {
  display: block;
  margin-bottom: 0.4rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.npc__contact-field label span {
  color: var(--secondary-color);
}

.npc__contact-textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background-color: #f8f9fc;
  font-family: inherit;
  font-size: 0.95rem;
  line-height: 1.6;
  resize: vertical;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.npc__contact-textarea:focus {
  border-color: var(--primary-color);
  background-color: var(--white-color);
  box-shadow: 0 0 0 4px rgba(0, 56, 147, 0.12);
}

.npc__contact-textarea.has-error {
  border-color: var(--secondary-color);
}

.npc__contact-error {
  margin-top: 0.35rem;
  font-size: 0.8rem;
  color: var(--secondary-color);
}

.npc__contact-submit {
  align-self: flex-start;
  width: auto;
  padding-inline: 2rem;
}

.npc__contact-map {
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  overflow: hidden;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
}

.npc__contact-map-header {
  padding: 1.25rem 1.4rem;
  background: linear-gradient(135deg, #003893 0%, #00296b 100%);
  color: var(--white-color);
}

.npc__contact-map-header small {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.6);
}

.npc__contact-map-header h3 {
  margin-top: 0.15rem;
  font-size: 1.15rem;
  font-weight: 800;
}

.npc__contact-map-header p {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-top: 0.4rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.85);
}

.npc__contact-map-header p i {
  color: var(--secondary-color);
}

.npc__contact-map-frame {
  flex: 1;
  min-height: 320px;
  background-color: #eef1f6;
}

.npc__contact-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 320px;
  border: 0;
}

.npc__contact-map-actions {
  display: flex;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border-top: 1px solid #eef1f6;
}

.npc__contact-map-btn {
  flex: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1rem;
  border-radius: 10px;
  border: 1.5px solid #dbe2ee;
  color: var(--primary-color);
  font-size: 0.88rem;
  font-weight: 700;
  line-height: 1;
  transition: background-color 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.npc__contact-map-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary-color);
}

.npc__contact-map-btn.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, var(--secondary-color) 0%, #ff4d6d 100%);
  color: var(--white-color);
  box-shadow: 0 8px 18px rgba(220, 20, 60, 0.28);
}

@media screen and (min-width: 640px) {
  .npc__contact-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .npc__contact-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media screen and (min-width: 1024px) {
  .npc__contact-cards {
    grid-template-columns: repeat(4, 1fr);
  }

  .npc__contact-main {
    grid-template-columns: 7fr 5fr;
  }

  .npc__contact-main.is-single {
    grid-template-columns: 1fr;
    max-width: 760px;
  }

  .npc__contact-form-card {
    padding: 2.5rem;
  }
}

/* NOTARY DIRECTORY (lists) */
.npc__dir {
  padding: 0.5rem 0 4.5rem;
}

.npc__dir-tabs {
  margin-bottom: 1.25rem;
}

.npc__dir-toolbar {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0.85rem;
  align-items: end;
  padding: 1.1rem;
  border-radius: 16px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
}

.npc__dir-search {
  position: relative;
  display: flex;
  align-items: center;
}

.npc__dir-search i {
  position: absolute;
  left: 1rem;
  color: #98a2b3;
  font-size: 0.85rem;
  pointer-events: none;
}

.npc__dir-search input,
.npc__dir-select select,
.npc__dir-perpage select {
  width: 100%;
  height: 2.75rem;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background-color: #f8f9fc;
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--font-color);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.npc__dir-search input {
  padding: 0 1rem 0 2.6rem;
}

.npc__dir-select {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.npc__dir-select span {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #6c757d;
}

.npc__dir-select select,
.npc__dir-perpage select {
  /* undo the site-wide select rule (margins/padding with !important) so the toolbar lines up */
  margin: 0 !important;
  padding: 0 2.25rem 0 0.9rem !important;
  border: 1px solid #dee2e6 !important;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%23003893' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.85rem center;
  cursor: pointer;
}

.npc__dir-search input:focus,
.npc__dir-select select:focus,
.npc__dir-perpage select:focus {
  border-color: var(--primary-color);
  background-color: var(--white-color);
  box-shadow: 0 0 0 4px rgba(0, 56, 147, 0.12);
}

.npc__dir-toolbar-actions {
  display: flex;
  gap: 0.5rem;
}

.npc__dir-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  height: 2.75rem;
  padding: 0 1.2rem;
  border: 1.5px solid #dbe2ee;
  border-radius: 10px;
  background-color: var(--white-color);
  color: var(--primary-color);
  font-family: inherit;
  font-size: 0.88rem;
  font-weight: 700;
  white-space: nowrap;
  cursor: pointer;
  transition: border-color 0.2s ease, transform 0.15s ease, box-shadow 0.2s ease;
}

.npc__dir-btn:hover {
  transform: translateY(-1px);
  border-color: var(--primary-color);
}

.npc__dir-btn.is-primary {
  border-color: transparent;
  background: linear-gradient(135deg, #003893 0%, #0050c8 100%);
  color: var(--white-color);
  box-shadow: 0 6px 16px rgba(0, 56, 147, 0.25);
}

.npc__dir-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 1.5rem 0 0.85rem;
  font-size: 0.9rem;
  color: #6c757d;
}

.npc__dir-meta strong {
  color: var(--font-color);
}

.npc__dir-chip {
  display: inline-block;
  margin-left: 0.35rem;
  padding: 0.1rem 0.6rem;
  border-radius: 999px;
  background-color: rgba(0, 56, 147, 0.08);
  color: var(--primary-color);
  font-weight: 600;
}

.npc__dir-perpage {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.npc__dir-perpage select {
  width: auto;
  height: 2.3rem;
  min-width: 4.75rem;
}

.npc__dir-table-card {
  border-radius: 16px;
  background-color: var(--white-color);
  border: 1px solid #e7ebf3;
  box-shadow: 0 4px 14px rgba(0, 32, 84, 0.06);
  overflow: hidden;
}

.npc__dir-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9rem;
}

.npc__dir-table thead {
  display: none;
}

.npc__dir-table tr {
  display: block;
  padding: 1rem 1.1rem;
  border-bottom: 1px solid #eef1f6;
}

.npc__dir-table td {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.3rem 0;
  text-align: right;
}

.npc__dir-table td::before {
  content: attr(data-label);
  flex-shrink: 0;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #98a2b3;
  text-align: left;
}

.npc__dir-table td.is-primary {
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary-color);
}

.npc__dir-table td.is-photo {
  display: none;
}

.npc__dir-number {
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  color: var(--primary-color);
}

.npc__dir-avatar {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  overflow: hidden;
  background: linear-gradient(150deg, #003893 0%, #00296b 60%, #dc143c 140%);
  color: var(--white-color);
  font-weight: 800;
}

.npc__dir-avatar img {
  object-position: center top;
}

.npc__dir-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--font-color);
  white-space: nowrap;
  font-variant-numeric: tabular-nums;
}

.npc__dir-phone i {
  font-size: 0.7rem;
  color: var(--secondary-color);
}

.npc__dir-phone:hover {
  color: var(--primary-color);
}

.npc__dir-badge {
  display: inline-block;
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  background-color: rgba(0, 56, 147, 0.08);
  color: var(--primary-color);
  font-size: 0.78rem;
  font-weight: 600;
  white-space: nowrap;
}

.npc__dir-empty {
  padding: 3.5rem 1.5rem;
  text-align: center;
  color: #6c757d;
}

.npc__dir-empty i {
  font-size: 2.5rem;
  color: #c3cad6;
}

.npc__dir-empty h3 {
  margin-top: 0.75rem;
  font-size: 1.05rem;
  color: var(--font-color);
}

.npc__dir-empty p {
  margin-top: 0.25rem;
  font-size: 0.88rem;
}

@media screen and (min-width: 640px) {
  .npc__dir-toolbar {
    grid-template-columns: repeat(2, 1fr);
  }

  .npc__dir-search {
    grid-column: 1 / -1;
  }
}

@media screen and (min-width: 1024px) {
  .npc__dir-toolbar {
    grid-template-columns: minmax(260px, 2fr) repeat(auto-fit, minmax(170px, 1fr));
  }

  .npc__dir-search {
    grid-column: auto;
  }

  /* real table on desktop */
  .npc__dir-table thead {
    display: table-header-group;
  }

  .npc__dir-table tr {
    display: table-row;
    padding: 0;
  }

  .npc__dir-table th,
  .npc__dir-table td {
    display: table-cell;
    padding: 0.85rem 1rem;
    text-align: left;
    vertical-align: middle;
  }

  .npc__dir-table td::before {
    content: none;
  }

  .npc__dir-table td.is-photo {
    display: table-cell;
  }

  .npc__dir-table th {
    position: sticky;
    top: 0;
    background: linear-gradient(135deg, #003893 0%, #00296b 100%);
    color: var(--white-color);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    white-space: nowrap;
  }

  .npc__dir-table tbody tr {
    border-bottom: 1px solid #eef1f6;
    transition: background-color 0.15s ease;
  }

  .npc__dir-table tbody tr:nth-child(even) {
    background-color: #fafbfd;
  }

  .npc__dir-table tbody tr:hover {
    background-color: rgba(0, 56, 147, 0.05);
  }

  .npc__dir-table tbody tr:last-child {
    border-bottom: none;
  }

  .npc__dir-table td.is-primary {
    font-size: 0.92rem;
  }

  .npc__dir-table td.is-text {
    color: #3d4451;
  }
}

/* CONTACT CAPTCHA */
.npc__contact-hp {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.npc__captcha {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
}

.npc__captcha .npc__auth-input {
  flex: 1;
  min-width: 180px;
}

.npc__captcha .npc__auth-input input {
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.npc__captcha .npc__auth-input input::placeholder {
  font-weight: 400;
  letter-spacing: normal;
  text-transform: none;
}

.npc__captcha-image {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem;
  border: 1px solid #dee2e6;
  border-radius: 10px;
  background-color: #f8f9fc;
}

.npc__captcha-image img {
  display: block;
  width: 180px;
  height: 56px;
  border-radius: 7px;
  user-select: none;
}

.npc__captcha-refresh {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 8px;
  background-color: var(--white-color);
  color: var(--primary-color);
  cursor: pointer;
  box-shadow: 0 2px 6px rgba(0, 32, 84, 0.1);
  transition: background-color 0.2s ease, color 0.2s ease;
}

.npc__captcha-refresh:hover {
  background-color: var(--primary-color);
  color: var(--white-color);
}

.npc__captcha-refresh.is-spinning i {
  animation: npc-captcha-spin 0.6s linear infinite;
}

@keyframes npc-captcha-spin {
  to {
    transform: rotate(360deg);
  }
}
