@import "https://fonts.googleapis.com/css?family=Poppins:300,400,500,700|Roboto:300,400,500,700,900";
@import url(https://fonts.googleapis.com/css?family=Mukta:200,300,regular,500,600,700,800);
@import url(https://fonts.googleapis.com/css?family=Martel:200,300,regular,600,700,800,900);
@import url(https://fonts.googleapis.com/css?family=IBM+Plex+Sans+Devanagari:100,200,300,regular,500,600,700);
@import url(https://fonts.googleapis.com/css?family=Red+Hat+Display:300,regular,500,600,700,800,900,300italic,italic,500italic,600italic,700italic,800italic,900italic);
@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&family=Martel:wght@200;300;400;600;700;800;900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@300..700&display=swap');

/* custom-fonts */

* {
   
    font-family: "Mukta", sans-serif;
}
.ndc-chevron::before {
    content: "";
    display: inline-block;
    width: 0.5em;
    height: 0.5em;
    border-width: 2px;
    border-style: solid;
    border-color: transparent;
    border-top-color: #007bff;
    border-left-color: #007bff;
    transform: rotate(-45deg);
    transition: transform 0.2s ease-in-out;
}

.ndc-chevron.ndc-right::before {
    transform: rotate(45deg); /* Rotate to point right */
}

.ndc-chevron.ndc-left::before {
    transform: rotate(-135deg); /* Rotate to point left */
}

#ndp-nepali-box {
    position: absolute;
    z-index: 9999;
    top: -999px;
    background: #ffffff;
    border-radius: 8px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    width: 250px;
    font-family: Arial, sans-serif;
    color: #333;
    border: 1px solid #e3e3e3;
}

#ndp-nepali-box table {
    width: 100%;
    border-spacing: 0;
    border-collapse: collapse;
}

#ndp-nepali-box th,
#ndp-nepali-box td {
    text-align: center;
    padding: 8px;
    cursor: pointer;
    font-size: 14px;
}

#ndp-nepali-box th {
    background: #f8f9fa;
    color: #6c757d;
    font-weight: 600;
}

#ndp-nepali-box td.ndp-date {
    background: #fefefe;
    color: #007bff;
    transition: background 0.2s, color 0.2s;
}

#ndp-nepali-box td.ndp-selected {
    background: #007bff;
    color: #fff;
    font-weight: 600;
    border-radius: 50%;
}

#ndp-nepali-box td.ndp-current {
    background: #ffeb3b;
    color: #000;
    font-weight: 600;
    border-radius: 50%;
}

#ndp-nepali-box td:hover:not(.ndp-selected):not(.ndp-current) {
    background: #e9ecef;
    color: #495057;
    border-radius: 50%;
}

.ndp-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #007bff;
    color: white;
    padding: 10px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px 8px 0 0;
}

.ndp-prev,
.ndp-next {
    background: transparent;
    border: none;
    color: white;
    font-size: 18px;
    cursor: pointer;
    transition: color 0.2s;
}

.ndp-prev:hover,
.ndp-next:hover {
    color: #ffeb3b;
}

#currentMonth {
    display: flex;
    gap: 8px;
    align-items: center;
}

#ndp-month-select,
#ndp-year-select {
    padding: 4px 8px;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    background: #ffffff;
    font-size: 14px;
    cursor: pointer;
    color: #495057;
    transition: background 0.2s, border-color 0.2s;
}

#ndp-month-select:hover,
#ndp-year-select:hover {
    border-color: #007bff;
    background: #f8f9fa;
}

.ndp-footer {
    text-align: center;
    background: #f8f9fa;
    padding: 10px;
    font-size: 14px;
    color: #6c757d;
    border-top: 1px solid #e3e3e3;
}

.ndp-footer a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}

.ndp-footer a:hover {
    text-decoration: underline;
}
.year-input-wrapper {
    display: flex;
    flex-direction: column; /* Stack input above select */
    align-items: flex-start; /* Align items to the start */
    gap: 5px; /* Adjust space between input and dropdown */
}

#year-input {
    width: 80px; /* Adjust width as needed */
    height: 30px; /* Smaller height */
    font-size: 14px; /* Smaller font size */
    padding: 5px;
    border: 1px solid #ccc;
    border-radius: 4px;
}
/* Staff Card Container */
.staff-card {
    background: #fff;
    border-radius: 15px;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 50px 20px 20px;
    position: relative;
    width: 320px;
    display: inline-block;
    margin:10px;

}
/* Profile Picture */
.staff-photo {
    width: 120px;  /* Increase size slightly */
    height: 120px;
    border-radius: 50%;
    border: 3px solid #fff;
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.2);
    position: absolute;
    left: 10%;
    top: 25%;
    transform: translateX(-50%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Ensure the image covers the whole area */
.staff-photo img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover; /* Prevents stretching and cutting */
}

/* Designation */
.staff-title {
    color: #1e73be;  /* Set text color */
    display: inline-block;
    padding: 5px 10px;
    font-size: 14px;
    font-weight: bold;
    margin-top: 20px;
    border: 2px solid #1e73be;  /* Border around the text */
    border-radius: 50px;  /* Rounded corners for a modern look */
    background: rgba(0, 0, 0, 0);  /* Transparent background */
    box-shadow: 0px 3px 6px rgba(0, 0, 0, 0.1);  /* Subtle shadow for depth */
    text-transform: uppercase;  /* Optional: Capitalize the text */
    letter-spacing: 1px;  /* Optional: Slight spacing between letters for a more refined look */
}


/* Name */
.staff-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
/* Logo Styling */
.logo-main {
    max-height: 130px;
    object-fit: contain;
}

/* Flag Styling */
.logo-main-flag {
    max-height: 100px; /* Adjust flag size */
    object-fit: contain;
}


/* Heading Styles */
.site-heading {
   
    font-weight: 600;
    font-size: 16px;
    color: #dc3545;
    margin: 5px;
}

.site-office {
    font-size: 35px;
    color: #dc3545;
    margin-top: 10px;
}

.site-address {
    color: #dc3545; /* Red color for the address */
}
.logo-bg {
    background-color: #f8f9fa; /* Light background for the whole section */
    padding-top: 20px;
    padding-bottom: 20px;
}

/* Responsive Adjustments for devices ≤ 768px */
@media (max-width: 768px) {
    .logo-main {
        max-height: 60px; /* Limit the logo height */
    }

    .logo-bg {
        margin-top: 45px; /* Adjust margin as needed */
    }

    .flag-section {
        display: none; /* Hide the flag section */
    }

    .site-heading {
        font-size: 14px; /* Adjust font size */
    }

    .site-office {
        font-size: 25px; /* Adjust font size */
    }

    .site-address {
        font-size: 14px; /* Adjust font size */
    }
}

/* Responsive Adjustments for devices ≤ 480px (Extra Small Devices) */
@media (max-width: 480px) {
    .logo-main {
        max-height: 50px; /* Further reduce logo size for smaller screens */
    }

    .logo-bg {
        margin-top: 61px; /* Adjust margin further */
    }

    .flag-section {
        display: none; /* Keep flag section hidden */
    }

    .site-heading {
        font-size: 12px; /* Further reduce font size */
    }

    .site-office {
        font-size: 22px; /* Reduce font size further */
    }

    .site-address {
        font-size: 12px; /* Reduce font size further */
    }
}



  /* forntend */
.shadow {box-shadow:0 4px 8px 0 rgb(0 0 0 / 20%)}
.noborder{border:none;}
.left-border{border-left: 1px black;}
.top-bar {
    border-bottom: 1px solid rgba(0, 0, 0, .125); 
    color: #007bff;
    background: #fff;
    padding: 9px 0;
    box-shadow: 0px 0px 4px 0px #ece9e9;
    position: fixed;
    width: 100%;
    z-index: 100;
    top: 0;
}



.top-header {
    padding: 44px 0 5px;
}
.top-bar .list-group-item { padding: 0.2rem 1rem; font-size: 0.875rem; border:none; border-right: 1px solid rgba(0,0,0,.125); color:#007bff;}
hr {
    margin: auto;
  }

hr.underlined {
width: 13%;
border: 2px solid #f54242;
margin-top: .5rem;
margin-bottom: .5rem;
opacity: 0.9;
}
.imp-links .card-header
{
    margin-bottom: 0;
    color: #fff;
    background: #2460b9;
    padding: 11px 20px;
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
}
.imp-links .card-body{
    min-height:445px;
    max-height:445px;
    overflow-y: scroll;
    padding:5px;
}

.bg-ebox {
    background-color: #f2f2f2;
}
.top-bar  .list-group {flex-direction: row;}


  /* end breaking-news */

  .fontResizer
  {
      cursor: pointer;
  }
  .fontResizer>span
  {
    color:#007bff;
    padding:0px 8px;
  }
  .fontResizer>span:hover
  {
    color:#0056b3;
    text-decoration: underline;
    }
    @media print {
        * {font-size:12pt;}
        .no_print {display:none;}
    }
    /* Product Grid Layout */
.category-1-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    padding: 20px;
}

/* Individual Card */
.grid__card {
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.grid__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

/* Card Image */
.card__img {
    width: 100%;
    height: 180px;
    overflow: hidden;
}

.card__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.grid__card:hover .card__img img {
    transform: scale(1.05);
}

/* Card Details */
.card__details {
    padding: 15px;
    text-align: center;
}

/* Title Styling */
.card__title {
    font-size: 16px;
    font-weight: bold;
    margin-bottom: 10px;
}

.card__title a {
    text-decoration: none;
    color: #1746A2;
    transition: color 0.3s ease;
}

.card__title a:hover {
    color: #E63946;
}

/* Meta Info */
.post__meta {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 14px;
    color: #555;
}

.meta i {
    color: #E63946;
    margin-right: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .category-1-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    }

    .card__details {
        padding: 10px;
    }

    .card__title {
        font-size: 14px;
    }
}
.quick-links .nav-item {
    background-color: #c50707;
    text-align: center;
    font-weight: bold;
  }