 body {
      font-family: 'Mangal', Arial, sans-serif, Ganess;
      font-size: 14px; /* base */
    }
@font-face {
  font-family: 'Ganess';
  src: url('/public/fonts/Ganess-Regular.woff2') format('woff2'),
       url('/public/fonts/Ganess-Regular.woff') format('woff'),
       url('/public/fonts/Ganess-Regular.ttf') format('truetype'),
       url('/public/fonts/Ganess-Regular.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}
  @font-face {
        font-family: 'Kalimati';
        font-style: normal;
        font-weight: 400;
         src:   url('/public/fonts/Kalimati.otf') format('truetype');
    
    font-weight: normal;
    font-style: normal;

    }
    .header {
      background: #fff;
      border-bottom: 2px solid #d00;
      padding: 10px;
    }
    .gov-logo {
      height: 100px;
    }
    .nepali-flag {
      height: 100px;
    }
    .search-bar {
      background: #f8f9fa;
      padding: 10px;
      border-top: 2px solid red;
    }
    .search-bar input {
      border-radius: 20px;
    }
    .service-table-container { /* New container for scrollable table */
      max-height: 400px; /* Adjust this height as needed */
      overflow-y: auto;
      border: 1px solid #dee2e6; /* Add a border for better visual separation */
    }

 
    .service-table {
      width: 100%; /* Ensure table takes full width of its container */
      margin-bottom: 0; /* Remove default table margin */
    }
    .service-table th {
      background: #f33;
      color: #fff;
      vertical-align: middle;
      text-align: center;
      font-size: 1rem;
      position: sticky; /* Make table header sticky */
      top: 0; /* Stick to the top of the scrollable container */
      z-index: 1; /* Ensure header is above scrolling content */
    }
    .service-table td {
      background: #000;
      color: #fff;
      font-size: 0.9rem;
    }
    .footer-banner {
      background: crimson;
      color: #fff;
      padding: 5px;
      text-align: center;
      position: fixed;
      bottom: 0;
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      font-size: 1rem;
    }
    .service-table th {
  /* ... */
  position: sticky;
  top: 0; /* Stick to the top of the scrollable container */
  z-index: 1;
}
  .tight-h5 {
        font-family: Ganess;
        font-size: 20px;
        margin: 0;
        line-height: 1.2;
    }

 #downloadProgress {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 2000;
}
    .scroll-text {
      display: inline-block;
      padding-left: 100%;
      animation: scroll-left 50s linear infinite;
    }
    @keyframes scroll-left {
      0% {
        transform: translateX(0%);
      }
      100% {
        transform: translateX(-100%);
      }
    }
    .date-box {
      background: #fff;
      padding: 20px 40px;
      border-radius: 10px;
      box-shadow: 0 0 10px rgba(0,0,0,0.1);
      font-size: 24px;
      color: #333;
    }

   .staff-section {
  background: #dc3545;
  color: white;
  text-align: center;
  padding: 10px;
  display: flex;
  flex-direction: column;
}

.staff-section h6 {
  margin-bottom: 10px;
  font-size: 1.2rem;
}

.staff-slider {
  overflow: hidden;
  position: relative;
}

.staff-list {
  transition: transform 0.5s ease-in-out;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
}

.staff-card {
  background: #f8f9fa;
  color: #000;
  padding: 15px;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.staff-img {
  width: 100px;
  height: 100px;
  background: #ccc;
  border-radius: 50%;
  margin: 0 auto 10px auto;
  overflow: hidden;
}

.staff-card p {
  margin-bottom: 4px;
  font-size: 0.95rem;
}

.scroll-table-wrapper {
 max-height: 500px;
  overflow-y: auto;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: auto; /* Keep 'auto' for pixel-based JS scroll */
  border: 1px solid #dee2e6;
}

  .scroll-table-wrapper table {
    margin-bottom: 0;
  }

    /* MOBILE: phones (max-width 767px) */
    @media (max-width: 767px) {
      body {
        font-size: 12px;
      }
      .header {
        padding: 5px 10px;
      }
      .gov-logo {
        height: 50px;
      }
      .nepali-flag {
        height: 50px;
      }
      .search-bar input {
        width: 100% !important;
      }
      .service-table th,
      .service-table td {
        font-size: 0.75rem;
        padding: 4px 6px;
      }
      .staff-section h6 {
        font-size: 1rem;
      }
      .staff-card {
        padding: 8px;
        margin-bottom: 8px;
        font-size: 0.85rem;
         

      }
      .staff-img {
        width: 60px;
        height: 60px;
      }
      .footer-banner {
        font-size: 0.8rem;
      }
    }

    /* TABLET / small desktop (768px - 991px) */
    @media (min-width: 768px) and (max-width: 991px) {
      body {
        font-size: 13px;
      }
      .gov-logo {
        height: 100px;
      }
      .nepali-flag {
        height: 100px;
      }
      .service-table th,
      .service-table td {
        font-size: 0.85rem;
        padding: 6px 8px;
      }
      .staff-section h6 {
        font-size: 1.1rem;
      }
      .staff-card {
        padding: 12px;
        margin-bottom: 12px;
        font-size: 0.95rem; 
      }
      .staff-img {
        width:100px;
        height: 100px;
      }
      .footer-banner {
        font-size: 0.9rem;
      }
    }

    /* Small monitor ~15" (992px - 1366px) */
    @media (min-width: 992px) and (max-width: 1366px) {
      body {
        font-size: 14px;
      }
      .gov-logo {
        height: 100px;
      }
      .nepali-flag {
        height: 100px;
      }
      .service-table th,
      .service-table td {
        font-size: 0.95rem;
        padding: 8px 10px;
      }
      .staff-section h6 {
        font-size: 1.2rem;
      }
      .staff-card {
        padding: 15px;
        margin-bottom: 15px;
        font-size: 1rem;
      }
      .staff-img {
        width: 100px;
        height: 100px;
      }
      .footer-banner {
        font-size: 1rem;
      }
    }

    /* Medium monitor / 24" monitor approx (1367px - 1920px) */
    @media (min-width: 1367px) and (max-width: 1920px) {
      body {
        font-size: 16px;
      }
      .gov-logo {
        height: 100px;
      }
      .nepali-flag {
        height: 100px;
      }
      .service-table th,
      .service-table td {
        font-size: 1.1rem;
        padding: 10px 12px;
      }
      .staff-section h6 {
        font-size: 1.4rem;
      }
      .staff-card {
        padding: 18px;
        margin-bottom: 18px;
        font-size: 1.1rem;
      }
      .staff-img {
        width: 120px;
        height: 120px;
      }
      .footer-banner {
        font-size: 1.1rem;
      }
    }

    /* Large monitor / 32" approx (1921px - 2560px) */
    @media (min-width: 1921px) and (max-width: 2560px) {
      body {
        font-size: 18px;
      }
      .gov-logo {
        height: 150px;
      }
      .nepali-flag {
        height: 150px;
      }
      .service-table th,
      .service-table td {
        font-size: 1.2rem;
        padding: 12px 14px;
      }
      .staff-section h6 {
        font-size: 1.6rem;
      }
      .staff-card {
        padding: 20px;
        margin-bottom: 20px;
        font-size: 1.2rem;
      }
      .staff-img {
        width: 140px;
        height: 140px;
      }
      .footer-banner {
        font-size: 1.2rem;
      }
    }

    /* 43" TV approx (2561px - 3200px) */
    @media (min-width: 2561px) and (max-width: 3200px) {
      body {
        font-size: 20px;
      }
      .gov-logo {
        height: 150px;
      }
      .nepali-flag {
        height: 150px;
      }
      .service-table th,
      .service-table td {
        font-size: 1.3rem;
        padding: 14px 16px;
      }
      .staff-section h6 {
        font-size: 1.8rem;
      }
      .staff-card {
        padding: 22px;
        margin-bottom: 22px;
        font-size: 1.3rem;
      }
      .staff-img {
        width: 160px;
        height: 160px;
      }
      .footer-banner {
        font-size: 1.3rem;
      }
    }

    /* 55" TV approx (3201px - 3840px) */
    @media (min-width: 3201px) and (max-width: 3840px) {
      body {
        font-size: 24px;
      }
      .gov-logo {
        height: 150px;
      }
      .nepali-flag {
        height: 150px;
      }
      .service-table th,
      .service-table td {
        font-size: 1.5rem;
        padding: 16px 18px;
      }
      .staff-section h6 {
        font-size: 2rem;
      }
      .staff-card {
        padding: 26px;
        margin-bottom: 26px;
        font-size: 1.5rem;
      }
      .staff-img {
        width: 180px;
        height: 180px;
      }
      .footer-banner {
        font-size: 1.5rem;
      }
    }

    /* 65" TV approx and above (3841px +) */
    @media (min-width: 3841px) {
      body {
        font-size: 28px;
      }
      .gov-logo {
        height: 200px;
      }
      .nepali-flag {
        height: 200px;
      }
      .service-table th,
      .service-table td {
        font-size: 1.7rem;
        padding: 18px 20px;
      }
      .staff-section h6 {
        font-size: 2.2rem;
      }
      .staff-card {
        padding: 30px;
        margin-bottom: 30px;
        font-size: 1.7rem;
      }
      .staff-img {
        width: 200px;
        height: 200px;
      }
      .footer-banner {
        font-size: 1.7rem;
      }
    }