  :root {
    --navy: #00184f;
    --navy-dark: #0a2058;
    --blue-text: #0b3fa0;
    --blue-line: #c7a44a;
    --border: #dbe2ef;
    --gray-text: #55555;
    --search-border: #2f5bbf;
  }

  body {
    font-family: 'Segoe UI', Arial, sans-serif;
  }

  /* Top utility bar */
  .top-bar {
    background: var(--navy);
    font-size: .82rem;
  }

  .top-bar a {
    color: #fff;
    opacity: .92;
    text-decoration: none;
    font-weight: 500;
  }

  .top-bar a:hover {
    opacity: 1;
    text-decoration: underline;
    color: #fff;
  }

  .top-bar a.active {
    font-weight: 700;
    text-decoration: underline;
  }

  .top-bar .vr {
    opacity: .35;
  }

  /* Main header */
  .main-header {
    border-bottom: 3px solid var(--blue-line);
  }

  .dept-seal {
    width: 78px;
    height: 78px;
    object-fit: contain;
    background: #f4f6fb;
    border: 1px solid var(--border);
    border-radius: 50%;
  }

  .title-en {
    color: var(--blue-text);
    font-weight: 700;
    font-size: 1.35rem;
    line-height: 1.25;
  }

  .title-hi {
    color: var(--blue-text);
    font-weight: 600;
    font-size: 1.15rem;
  }

  .title-rule {
    width: min(560px, 100%);
    height: 1px;
    background: var(--blue-line);
  }

  .title-sub {
    color:#333;
    font-weight: 600;
    font-size: .85rem;
    /*max-width: 640px;*/
  }

  .search-box {
    border: 1.5px solid var(--search-border) !important;
    border-radius: 999px !important;
  }

  .search-box input {
    border: none;
    box-shadow: none;
    font-size: .85rem;
  }

  .search-box input:focus {
    box-shadow: none;
  }

  .search-box .btn {
    border: none;
    background: transparent;
    color: var(--search-border);
  }

  .gov-emblem .mark {
    width: 60px;
    height: 64px;
    object-fit: contain;
    background: #f4f6fb;
    border: 1px solid var(--border);
    border-radius: 4px;
  }

  .gov-emblem .label {
    font-size: .68rem;
    font-weight: 600;
    color: var(--gray-text);
    white-space: nowrap;
  }

  @media (max-width:767.98px) {
    .search-box {
      order: 4;
      width: 100% !important;
      max-width: 100% !important;
      margin-top: .75rem;
    }

    .gov-emblem {
      order: 1;
    }

    .dept-seal {
      order: 1;
    }

    .title-block {
      order: 2;
    }
  }

  /*banner section*/

  .banner-notice-section {
    padding: 20px 10px;
  }

  /* ===== BANNER CAROUSEL ===== */
  .banner-carousel {
    border-radius: 4px;
    overflow: hidden;
    height: 520px;
    box-shadow: 0 10px 30px rgba(20, 30, 60, 0.10);
  }

  .banner-carousel .carousel-item {
    height: 520px;
  }

  .banner-carousel .slide-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }

  .banner-carousel .slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(10, 20, 45, 0) 40%, rgba(8, 16, 38, 0.82) 100%);
  }

  .banner-carousel .slide-caption {
    position: absolute;
    left: 32px;
    right: 32px;
    bottom: 56px;
    z-index: 2;
    color: #fff;
    text-align: left;
  }

  .slide-tag {
    display: inline-block;
    background: rgba(255, 255, 255, 0.92);
    color: var(--navy);
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .06em;
    padding: 6px 14px;
    border-radius: 999px;
    margin-bottom: 14px;
  }

  .slide-title {
    font-size: 1.9rem;
    font-weight: 700;
    line-height: 1.3;
    max-width: 620px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.25);
  }

  /* carousel dots */
  .banner-carousel .carousel-indicators {
    bottom: 22px;
    margin-bottom: 0;
    z-index: 3;
  }

  .banner-carousel .carousel-indicators [data-bs-target] {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.55);
    border: none;
    opacity: 1;
    margin: 0 5px;
    transition: width .3s ease, background-color .3s ease;
  }

  .banner-carousel .carousel-indicators .active {
    width: 26px;
    border-radius: 6px;
    background-color: #fff;
  }

  .banner-carousel .carousel-control-prev,
  .banner-carousel .carousel-control-next {
    width: 6%;
    opacity: 0;
    transition: opacity .25s;
  }

  .banner-carousel:hover .carousel-control-prev,
  .banner-carousel:hover .carousel-control-next {
    opacity: 1;
  }

  /* ===== NOTICE BOARD ===== */
  .notice-card {
    border: 1px solid var(--border);
    border-radius: 6px;
    background: #fff;
    height: 520px;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(20, 30, 60, 0.06);
  }

  .notice-header {
    padding: 20px 24px 16px;
    border-bottom: 3px solid var(--gold);
    flex-shrink: 0;
  }

  .notice-header h5 {
    color: var(--navy);
    font-weight: 700;
    letter-spacing: .02em;
    margin: 0;
    font-size: 1.05rem;
  }

  .notice-viewport {
    flex: 1;
    overflow: hidden;
    position: relative;
    min-height: 0;
  }

  .notice-viewport::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 36px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0), #fff);
    pointer-events: none;
    z-index: 2;
  }

  .notice-footer {
    flex-shrink: 0;
    padding: 14px 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    background: #0c1244;
  }

  .view-all-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
    text-decoration: none;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--navy-text);
    transition: background .2s ease, color .2s ease;
  }

  .view-all-btn i {
    font-size: .75rem;
    transition: transform .2s ease;
  }

  .view-all-btn:hover {
    background: var(--navy-text);
    color: #fff;
  }

  .view-all-btn:hover i {
    transform: translateX(3px);
  }

  .notice-track {
    display: flex;
    flex-direction: column;
    animation: marqueeUp 22s linear infinite;
  }

  .notice-viewport:hover .notice-track {
    animation-play-state: paused;
  }

  @keyframes marqueeUp {
    0% {
      transform: translateY(0);
    }

    100% {
      transform: translateY(-50%);
    }
  }

  .notice-item {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    position: relative;
  }

  .notice-cat {
    display: inline-block;
    background: #eef1f8;
    color: #4a5164;
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .05em;
    padding: 4px 10px;
    border-radius: 6px;
    text-transform: uppercase;
  }

  .notice-new {
    position: absolute;
    top: 18px;
    right: 24px;
    font-size: .66rem;
    font-weight: 700;
    color: var(--orange);
    background: rgba(232, 128, 31, 0.12);
    padding: 3px 9px;
    border-radius: 999px;
  }

  .notice-new i {
    font-size: .5rem;
    margin-right: 4px;
  }

  .notice-title {
    color: var(--navy-text);
    font-weight: 600;
    font-size: .92rem;
    margin: 10px 0 8px;
    line-height: 1.4;
    display: block;
    text-decoration: none;
  }

  .notice-title:hover {
    text-decoration: underline;
    color: var(--navy-text);
  }

  .read-notice {
    color: var(--muted);
    font-size: .8rem;
    text-decoration: none;
    font-weight: 500;
  }

  .read-notice i {
    font-size: .68rem;
    margin-left: 4px;
    transition: transform .2s;
  }

  .read-notice:hover {
    color: var(--navy-text);
  }

  .read-notice:hover i {
    transform: translateX(3px);
  }

  @media (max-width:991.98px) {

    .banner-carousel,
    .banner-carousel .carousel-item {
      height: 400px;
    }

    .notice-card {
      height: 400px;
      margin-top: 24px;
    }

    .slide-title {
      font-size: 1.4rem;
    }
  }

  @media (max-width:575.98px) {

    .banner-carousel,
    .banner-carousel .carousel-item {
      height: 320px;
    }

    .slide-caption {
      bottom: 36px;
      left: 20px;
      right: 20px;
    }

    .slide-title {
      font-size: 1.15rem;
    }
  }

  /*new section design */
  :root {
    --navy: #0d2a6e;
    --navy-text: #0b3fa0;
    --header-blue: #3a6ea8;
    --border: #dbe2ef;
    --muted: #6c7488;
    --row-tint: #eef0fb;
  }

  body {
    font-family: 'Segoe UI', Arial, sans-serif;
    background: #f3f5f9;
  }

  .portal-wrap {
    padding: 48px 20px;
  }

  .dept-portal {
    border: 1px solid #8b9ab6;
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
  }

  /* ===== SIDEBAR ===== */
  .sidebar-menu {
    padding: 14px 0 14px 14px;
    background: #f3f5f9;
  }

  .sidebar-menu .list-group {
    gap: 6px;
    display: flex;
    flex-direction: column;
  }

  .sidebar-menu .list-group-item {
    border: none;
    border-radius: 0 32px 32px 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 22px;
    font-weight: 600;
    font-size: .95rem;
    color: var(--navy-text);
    cursor: pointer;
    background: #dbe9f8;
    transition: transform .18s ease, box-shadow .18s ease;
  }

  .sidebar-menu .list-group-item:nth-child(odd) {
    background: #c8d6ea;
  }

  .sidebar-menu .list-group-item:hover {
    transform: translateX(3px);
    box-shadow: -2px 3px 10px rgba(20, 40, 90, 0.12);
  }

  .sidebar-menu .list-group-item.active {
    background: var(--navy);
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    box-shadow: 0 6px 16px rgba(13, 42, 110, 0.28);
  }

  .menu-emoji {
    font-size: 1rem;
    line-height: 1;
    flex-shrink: 0;
    width: 32px;
    text-align: center;
  }

  /* remove old colored icon badges (kept for backward compatibility, unused now) */
  .menu-icon {
    display: none;
  }

  /* ===== CONTENT PANEL ===== */
  .content-panel {
    padding: 26px 30px;
    border-left: 1px solid #738cb9;
    min-height: 560px;
  }

  .content-section {
    display: none;
  }

  .content-section.active {
    display: block;
    animation: fadeIn .35s ease;
  }

  @keyframes fadeIn {
    from {
      opacity: 0;
      transform: translateY(6px);
    }

    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  /* --- Chairman profile --- */
  .chairman-photo {
    width: 78px;
    height: 96px;
    object-fit: cover;
    border-radius: 4px;
    border: 1px solid var(--border);
  }

  .chairman-name {
    color: var(--navy-text);
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 2px;
  }

  .chairman-role {
    font-weight: 700;
    font-size: .85rem;
    color: #2b3245;
    margin-top: 8px;
  }

  .bio-box {
    max-height: 180px;
    overflow-y: auto;
    padding-right: 12px;
    margin-top: 16px;
    font-size: .92rem;
    color: #3a4155;
    line-height: 1.65;
  }

  .bio-box::-webkit-scrollbar {
    width: 6px;
  }

  .bio-box::-webkit-scrollbar-thumb {
    background: var(--navy-text);
    border-radius: 4px;
  }

  .bio-box p {
    margin-bottom: 14px;
  }

  .portal-tabs .nav-link {
    border: 1px solid var(--border);
    border-bottom: none;
    color: #2b3245;
    font-weight: 600;
    font-size: .88rem;
    border-radius: 6px 6px 0 0;
    margin-right: 4px;
  }
  

  .portal-tabs .nav-link.active {
    background: var(--header-blue);
    color: #fff;
    border-color: var(--header-blue);
  }

  .table-portal thead th {
    background: var(--header-blue);
    color: #fff;
    font-weight: 600;
    font-size: .86rem;
    border: none;
    padding: 12px 16px;
  }

  .table-portal tbody td {
    padding: 12px 16px;
    font-size: .87rem;
    color: #2b3245;
    vertical-align: middle;
  }

  .table-portal tbody tr:nth-child(even) {
    background: var(--row-tint);
  }

  .table-portal {
    margin-bottom: 0;
  }

  /* --- About Us content --- */
  .about-heading {
    color: var(--navy-text);
    font-weight: 700;
    font-size: 1.05rem;
    margin-top: 22px;
    margin-bottom: 10px;
  }

  .about-heading:first-child {
    margin-top: 0;
  }

  .about-figure {
    border: 1px solid var(--border);
    border-radius: 6px;
  }

  .about-caption {
    font-size: .8rem;
    color: var(--muted);
    margin-top: 6px;
  }

  .about-btn {
    background: var(--header-blue);
    color: #fff;
    font-weight: 600;
    font-size: .85rem;
  }

  .about-btn:hover {
    background: var(--navy);
    color: #fff;
  }

  .about-note {
    font-size: .78rem;
    color: var(--muted);
    margin-top: 6px;
    font-style: italic;
  }

  /* --- Generic placeholder content --- */
  .placeholder-title {
    color: var(--navy-text);
    font-weight: 700;
    font-size: 1.4rem;
    margin-bottom: 14px;
  }

  .placeholder-body {
    color: #4a5164;
    font-size: .92rem;
    line-height: 1.7;
  }

  @media (max-width:991.98px) {
    .content-panel {
      border-left: none;
      border-top: 2px solid var(--navy-text);
    }
  }

  :root {
    --portal-primary: #0d5aa7;
    --portal-primary-dark: #08427a;
    --portal-light: #eaf2fb;
    --portal-border: #cfe0f2;
    --portal-text: #1f2937;
    --portal-muted: #5b6572;
  }

  /*new css*/
  .placeholder-title {
    font-size: 1.55rem;
    font-weight: 700;
    color: var(--portal-primary-dark);
    border-bottom: 3px solid var(--portal-primary);
    padding-bottom: .6rem;
    margin-bottom: 1.5rem;
    letter-spacing: .02em;
  }

  /* ===== Unified pill styling for BOTH top-level and inner tabs ===== */
  .portal-tabs .nav-link,
  .sub-tabs .nav-link {
    border: 1px solid var(--portal-border);
    border-radius: 999px;
    color: var(--portal-primary-dark);
    background: #fff;
    font-weight: 600;
    padding: .55rem 1.35rem;
    margin: 0 .5rem .5rem 0;
    transition: all .18s ease;
  }
    .portal-tabs .danger-navlink,
  .sub-tabs .nav-link{
     border: 1px solid red;
    border-radius: 999px;
    color: red;
    background: #fff;
    font-weight: 600;
    padding: .55rem 1.35rem;
    margin: 0 .5rem .5rem 0;
    transition: all .18s ease;
  }
    .portal-tabs .warning-navlink,
  .sub-tabs .nav-link{
     border: 1px solid green;
    border-radius: 999px;
    color: green;
    background: #fff;
    font-weight: 600;
    padding: .55rem 1.35rem;
    margin: 0 .5rem .5rem 0;
    transition: all .18s ease;
  }
    .portal-tabs .danger-navlinkL:hover,
  .sub-tabs .nav-link:hover{
      background:red !important;
        border-color: red !important;
    color: #fff!important;
  }
     .portal-tabs .warning-navlink:hover,
  .sub-tabs .nav-link:hover{
      background:green !important;
        border-color: green !important;
    color: #fff!important;
  }
    .portal-tabs .danger-navlink.active,
  .sub-tabs .nav-link.active{
        background:red !important;
        border-color: red !important;
    color: #fff!important;
  }
     .portal-tabs .warning-navlink.active,
  .sub-tabs .nav-link.active{
        background:green !important;
        border-color: green !important;
    color: #fff!important;
  }
  .portal-tabs .nav-link:hover,
  .sub-tabs .nav-link:hover {
    background: var(--portal-light);
    border-color: var(--portal-primary);
    color: var(--portal-primary-dark);
  }

  .portal-tabs .nav-link.active,
  .sub-tabs .nav-link.active {
    background: var(--portal-primary);
    border-color: var(--portal-primary);
    color: #fff;
    box-shadow: 0 2px 6px rgba(13, 90, 167, .25);
  }

  .portal-tabs {
    border-bottom: 0;
  }

  .portal-tabs .nav-link {
    font-size: 0.9rem;
    padding: .6rem 1.5rem;
  }

  /* inner tabs sit inside a light tray so the nesting is still readable,
     while sharing the exact same pill visual language as the top tabs */
  .sub-tabs {
    background: #f7f9fc;
    border: 1px solid var(--portal-border);
    border-radius: 14px;
    padding: .75rem .75rem .25rem;
    margin-bottom: 1.25rem !important;
  }

  .sub-tabs .nav-link {
    font-size: .88rem;
    padding: .45rem 1.1rem;
  }

  /* ===== Pane content: heading / sub-text / table / contact table ===== */
  .pane-card {
    background: #fff;
    border: 1px solid var(--portal-border);
    border-radius: 14px;
    padding: 1.5rem 1.5rem 1.75rem;
  }

  .pane-heading {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--portal-primary-dark);
    margin-bottom: .5rem;
  }

  .pane-subtext {
    color: var(--portal-muted);
    font-size: .95rem;
    line-height: 1.55;
    margin-bottom: 1.25rem;
  }

  .section-label {
    font-size: .85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--portal-primary-dark);
    margin-bottom: .6rem;
    padding-left: .55rem;
    border-left: 4px solid var(--portal-primary);
  }

  .table thead th {
    background: var(--portal-light);
    color: var(--portal-primary-dark);
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .02em;
    vertical-align: middle;
  }

  .table td {
    font-size: .9rem;
    vertical-align: middle;
  }

  .placeholder-note {
    display: inline-block;
    font-size: .78rem;
    color: #8a6d00;
    background: #fff8e1;
    border: 1px solid #ffe4a3;
    border-radius: 6px;
    padding: .15rem .55rem;
    margin-bottom: .75rem;
  }

  /*footer css*/
  :root {
    --footer-bg: #002d6c;
    --footer-bg-2: #04174c;
    --footer-text: #dbe4ff;
    --footer-link: #ffffff;
    --footer-muted: #a9bdf5;
    --footer-border: rgba(255, 255, 255, 0.18);
  }

  .site-footer {
    background: linear-gradient(180deg, var(--footer-bg) 0%, var(--footer-bg-2) 100%);
    color: var(--footer-text);
    padding: 22px 16px 18px;
    text-align: center;
  }

  .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin: 0 0 12px;
    font-size: 15px;
    font-weight: 600;
  }

  .footer-links a {
    color: var(--footer-link);
    text-decoration: none;
    padding: 2px 4px;
    border-radius: 3px;
    transition: color .15s ease, text-decoration-color .15s ease;
  }

  .footer-links a:hover,
  .footer-links a:focus-visible {
    text-decoration: underline;
    text-decoration-color: var(--footer-muted);
  }

  .footer-links a:focus-visible {
    outline: 2px solid #ffffff;
    outline-offset: 2px;
  }

  .footer-sep {
    color: var(--footer-muted);
    font-weight: 400;
  }

  .footer-divider {
    width: 60px;
    height: 1px;
    background: var(--footer-border);
    margin: 10px auto;
  }

  .footer-copy {
    margin: 6px 0 2px;
    font-size: 14px;
    line-height: 1.6;
    color: var(--footer-text);
  }

  .footer-credit {
    margin: 0;
    font-size: 12.5px;
    color: var(--footer-muted);
    letter-spacing: .2px;
  }

  .footer-credit a {
    color: var(--footer-muted);
    text-decoration: none;
  }

  .footer-credit a:hover,
  .footer-credit a:focus-visible {
    color: #ffffff;
    text-decoration: underline;
  }

  @media (max-width: 480px) {
    .footer-links {
      font-size: 13.5px;
      gap: 6px;
    }

    .footer-copy {
      font-size: 12.5px;
      padding: 0 8px;
    }

    .footer-credit {
      font-size: 11.5px;
    }

    /*tab section mobile view css*/
    .portal-tabs .nav-link {
      font-size: 0.7rem;
    }

    .sub-tabs .nav-link {
      font-size: .7rem;
    }
  }

  @media (prefers-reduced-motion: reduce) {
    .footer-links a {
      transition: none;
    }
  }

  /*gallery part css*/
  /* ---- palette sampled from your site's screenshot ---- */
  :root {
    --gov-blue: #00449D;
    /* headings / links */
    --gov-gold: #CAA253;
    /* thin accent */
    --gov-bg: #F2F4F9;
    --gov-white: #FFFFFF;
    --gov-ink: #1F2430;
    --gov-slate: #393939;
    --gov-pill-bg: #EEF1F8;
    --gov-pill-text: #4A5568;
    --gov-border: #81888f;
    --gov-shadow: 0 10px 26px rgba(0, 45, 108, 0.12);
  }

  .content-section {
    max-width: 100%;
    margin: 0 auto;
    padding: clamp(24px, 4vw, 40px) 20px 80px;
  }

  .ce-header {
    margin-bottom: 28px;
  }

  .ce-kicker {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--gov-slate);
    margin: 0 0 8px;
  }

  .placeholder-title {
    font-size: clamp(24px, 3vw, 30px);
    font-weight: 700;
    color: var(--gov-blue);
    margin: 0 0 8px;
  }

  .placeholder-body {
    color: var(--gov-slate);
    font-size: 14.5px;
    line-height: 1.6;
    /*max-width: 62ch;*/
    text-align: justify;
    margin: 0;
  }

  .ce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 0fr));
    gap: 20px;
    margin-top: 24px;
  }

  .ce-card {
    background: var(--gov-white);
    border: 1px solid var(--gov-border);
    border-radius: 8px;
    padding: 16px 16px 18px;
    text-align: left;
    cursor: pointer;
    font-family: inherit;
    color: inherit;
    display: flex;
    flex-direction: column;
    gap: 10px;
    transition: transform 0.16s ease, box-shadow 0.16s ease;
  }

  .ce-card:hover,
  .ce-card:focus-visible {
    transform: translateY(-3px);
    box-shadow: var(--gov-shadow);
    outline: none;
  }

  .ce-card:focus-visible {
    border-color: var(--gov-blue);
  }

  .ce-tag {
    display: inline-block;
    align-self: flex-start;
    background: var(--gov-pill-bg);
    color: var(--gov-pill-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
  }

  .ce-name {
    font-size: 16.5px;
    font-weight: 700;
    color: var(--gov-blue);
    margin: 0;
    line-height: 1.3;
  }

  .ce-thumb-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    border: 1px solid var(--gov-border);
  }

  .ce-thumb-wrap img {
    display: block;
    width: 100%;
    height: 155px;
    object-fit: cover;
    transition: transform 0.4s ease;
  }

  .ce-card:hover .ce-thumb-wrap img {
    transform: scale(1.05);
  }

  .ce-view-cue {
    position: absolute;
    inset: auto 0 0 0;
    background: linear-gradient(0deg, rgba(0, 45, 108, 0.85), rgba(0, 45, 108, 0));
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 22px 10px 8px;
    opacity: 0;
    transform: translateY(6px);
    transition: opacity 0.16s ease, transform 0.16s ease;
  }

  .ce-card:hover .ce-view-cue,
  .ce-card:focus-visible .ce-view-cue {
    opacity: 1;
    transform: translateY(0);
  }

  .ce-slides {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  /* ---------- modal (place once anywhere in the page, e.g. just
     before </body>) — it's position:fixed so it doesn't need to
     live inside #content-Gallery ---------- */
  .ce-modal {
    position: fixed;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.2s ease;
    padding: 20px;
  }

  .ce-modal.is-open {
    visibility: visible;
    opacity: 1;
  }

  .ce-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 20, 45, 0.72);
  }

  .ce-modal-box {
    position: relative;
    background: var(--gov-white);
    border-radius: 10px;
    max-width: 720px;
    width: 100%;
    padding: 4px 22px 26px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
    transform: scale(0.96);
    transition: transform 0.2s ease;
    overflow: hidden;
  }

  .ce-modal.is-open .ce-modal-box {
    transform: scale(1);
  }

  .ce-modal-top-accent {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gov-gold);
  }

  .ce-modal-close {
    position: absolute;
    top: 14px;
    right: 14px;
    background: none;
    border: none;
    font-size: 24px;
    line-height: 1;
    color: var(--gov-slate);
    cursor: pointer;
    padding: 4px 8px;
  }

  .ce-modal-close:hover {
    color: var(--gov-blue);
  }

  .ce-modal-tag {
    display: inline-block;
    background: var(--gov-pill-bg);
    color: var(--gov-pill-text);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 22px 0 8px;
  }

  .ce-modal-title {
    font-size: 20px;
    font-weight: 700;
    color: var(--gov-blue);
    margin: 0 0 16px;
    padding-right: 30px;
  }

  .ce-slideshow {
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .ce-slide-frame {
    position: relative;
    flex: 1;
    border-radius: 6px;
    overflow: hidden;
    background: #002D6C;
    aspect-ratio: 3 / 2;
  }

  .ce-slide-frame img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
  }

  .ce-counter {
    position: absolute;
    right: 10px;
    bottom: 10px;
    background: rgba(0, 20, 45, 0.65);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    padding: 3px 9px;
    border-radius: 20px;
  }

  .ce-arrow {
    flex-shrink: 0;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    border: 1px solid var(--gov-border);
    background: var(--gov-bg);
    color: var(--gov-blue);
    font-size: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.15s ease, color 0.15s ease;
  }

  .ce-arrow:hover {
    background: var(--gov-blue);
    color: #fff;
  }

  .ce-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 14px;
  }

  .ce-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    background: var(--gov-border);
    cursor: pointer;
    padding: 0;
  }

  .ce-dot.is-active {
    background: var(--gov-gold);
  }

  @media (prefers-reduced-motion: reduce) {

    .ce-card,
    .ce-thumb-wrap img,
    .ce-modal,
    .ce-modal-box,
    .ce-view-cue {
      transition: none !important;
    }
     
  }

  /*service css*/
  .service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 16px;
  }

  .service-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 20px 18px;
    background: #fff;
    border: 1px solid #e6e8ec;
    border-radius: 12px;
    text-decoration: none;
    transition: box-shadow .2s ease, transform .2s ease;
  }

  .service-card:hover {
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
    transform: translateY(-2px);
  }

  .service-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fdf1de;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2540;
  }

  .service-icon {
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: #fdf1de;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #0a2540;
    font-size: 1.15rem;
  }

  .service-label {
    font-weight: 600;
    color: #0a2540;
    font-size: 0.98rem;
  }

  /*faq section css*/
  .faq-accordion .accordion-item {
    border: 1px solid #e6e8ec;
    border-radius: 10px !important;
    margin-bottom: 10px;
    overflow: hidden;
  }

  .faq-accordion .accordion-button {
    font-weight: 600;
    color: #0a2540;
    background: #fff;
    box-shadow: none;
  }

  .faq-accordion .accordion-button:not(.collapsed) {
    background: #fdf1de;
    color: #0a2540;
  }

  .faq-accordion .accordion-button:focus {
    box-shadow: none;
    border-color: #e6e8ec;
  }

  .faq-accordion .accordion-body {
    background: #fafafa;
  }
  .contact-content {
    display: none !important;
}

.contact-content.active {
    display: block !important;
}
@media (max-width:767.98px) {
     .content-panel {
    padding: 2px 3px;
          
      }
    .pane-card {
        padding:0px;
    }
    .ce-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 0fr));
    }
}
/*contact css*/
  .contact-card {
    max-width: 1100px;
    margin: 0px auto;
    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(26, 64, 121, 0.15);
    border: 1px solid #e5eaf1;
  }

  /* Right Section */
  .contact-card-right {
    padding: 5px;
  }

  .contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 6px 0;
    border-bottom: 1px solid #878888;
  }

  .contact-item:last-child {
    border-bottom: none;
  }

  .accordion-button:not(.collapsed)::after {
    filter: invert(1);
  }

  .contact-item-icon {
    min-width: 30px;
    height: 30px;
    background: #1a4079;
    color: #fff;
    border-radius: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
  }

  .contact-item-content {
    flex: 1;
  }

  .contact-item-content strong {
    display: block;
    color: #1a4079;
    font-size: 14px;
    margin-bottom: 4px;
  }

  .contact-item-content span,
  .contact-item-content a {
    color: #555;
    font-size: 15px;
    line-height: 1.6;
    text-decoration: none;
  }

  .contact-item-content a:hover {
    color: #1a4079;
  }

  .contact-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
  }

  .contact-link-btn {
    display: inline-flex !important;
    align-items: center;
    gap: 6px;
    padding: 7px 13px;
    background: #f2f5f9;
    border-radius: 5px;
    color: #1a4079 !important;
    font-size: 13px !important;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .contact-link-btn:hover {
    background: #1a4079;
    color: #fff !important;
  }
 .contact-accordian:not(.collapsed) {
      background: #1a4079;
      color: #fff;
    }

    .contact-accordian::after {
      color: #fff;
    }

  /* Responsive */
  @media (max-width: 767px) {
    .contact-card {
      margin: inherit;
    }

    .contact-card-left {
      padding: inherit;
      min-height: auto;
    }

    .office-title {
      font-size: 21px;
    }

    .contact-card-right {
      padding: inherit;
    }

    .contact-heading {
      font-size: 20px;
    }

    .contact-item {
      gap: 12px;
    }

    .contact-item-icon {
        min-width: 25px;
        height: 25px;
        font-size: 13px;
        border-radius: 4px;
    }
    .title-hi{
        font-size:13px;
    }
    .title-en{
        font-size:13px;
    }
    .title-sub{
        display:none;
    }
  }
  /*meerut zone css*/
      .section-label { font-weight:600; margin:18px 0 8px; color:#333; }
      #divisionSelect { max-width: 380px; }
      .division-table { display: none; }
      .division-table.active { display: table; }
      .division-placeholder { text-align:center; color:#888; padding:20px; }
    #divisionSelectDehradun { max-width: 380px; }
    .division-table-dehradun { display: none; }
    .division-table-dehradun.active { display: table; }
    .division-placeholder-dehradun { text-align:center; color:#888; padding:20px; }
    #divisionSelectGhaziabad { max-width: 380px; }
    .division-table-ghaziabad { display: none; }
    .division-table-ghaziabad.active { display: table; }
    .division-placeholder-ghaziabad { text-align:center; color:#888; padding:20px; }
    #divisionSelectGbnagar { max-width: 380px; }
    .division-table-Gbnagar { display: none; }
    .division-table-Gbnagar.active { display: table; }
    .division-placeholder-Gbnagar { text-align:center; color:#888; padding:20px; }
    #divisionSelectNoida { max-width: 380px; }
    .division-table-Noida { display: none; }
    .division-table-Noida.active { display: table; }
    .division-placeholder-Noida { text-align:center; color:#888; padding:20px; }

/*notice page css*/
.notice-table-wrap {
    border: 1px solid #dbe3ee;
    border-radius: 6px;
    overflow: hidden;
}

.table-responsive {
    width: 100%;
}

table.notice-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 16px;
    margin: 0;
}

table.notice-table thead th {
    background: #e9f1fb;
    color: #1c4e9c;
    text-align: left;
    padding: 14px 20px;
    font-size: 14px;
    font-weight: 700;
    border-bottom: 1px solid #dbe3ee;
    white-space: nowrap;
}

table.notice-table tbody td {
    padding: 16px 20px;
    border-bottom: 1px solid #eef1f6;
    vertical-align: middle;
    color: #212529;
}

table.notice-table tbody tr:last-child td {
    border-bottom: none;
}

table.notice-table tbody tr:hover {
    background: #f8fafc;
}

.notice-sno {
    width: 70px;
    font-weight: 600;
}

.notice-meta {
    display: block;
    font-size: 12px;
    color: #6c757d;
    margin-bottom: 4px;
}

.notice-title-cell a {
    color: #163f94;
    font-weight: 600;
    text-decoration: none;
}

.notice-title-cell a:hover {
    text-decoration: underline;
}

.notice-action-cell {
    text-align: right;
    white-space: nowrap;
}

.read-more-btn {
    font-size: 14px;
    font-weight: 600;
}

.read-more-btn i {
    margin-left: 6px;
}

@media (max-width: 576px) {
    table.notice-table thead th,
    table.notice-table tbody td {
        padding: 12px 14px;
    }

    .notice-action-cell {
        text-align: left;
    }
    .portal-wrap {
    padding: 20px 10px;
}
.content-section{
    padding: clamp(24px, 4vw, 40px) 8px 40px;
}
}
.notice-detail-wrap .back-link {
    display: inline-block;
    margin-bottom: 16px;
    font-size: 14px;
    color: #6c757d;
    text-decoration: none;
}

.notice-detail-wrap .back-link:hover {
    color: #163f94;
}

.notice-badge {
    display: inline-block;
    background: #eef0f4;
    color: #495057;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .03em;
    text-transform: uppercase;
    padding: 4px 10px;
    border-radius: 4px;
    margin: 0 8px 8px 0;
}

.notice-number {
    display: inline-block;
    font-size: 12px;
    color: #6c757d;
    margin: 0 0 8px;
}

.notice-date {
    color: #6c757d;
    font-size: 13px;
    margin-bottom: 16px;
}
    
