/* =========================================================
   BRAND PALETTE
   #162F6A  Wintergreen Dream  (darkest: headings, footer, buttons)
   #214AAB  Powder Blue        (hover, links)
   #5279D7  Columbia Blue      (accents, borders)
   #A3BBF3  Azureish White     (borders, soft strips)
   #D2DFFF  Azureish White BG  (backgrounds)
   Poori site ka color sirf yahan se badalta hai.
   ========================================================= */
:root {
  /* ===== BRAND PALETTE ===== */
  --c-darkest:  #162F6A;
  --c-dark:     #214AAB;
  --c-mid:      #5279D7;
  --c-light:    #A3BBF3;
  --c-lightest: #D2DFFF;
  --c-tint:     #EEF3FF;                  /* palette ka bahut halka tint */
  --c-overlay:  rgba(41, 19, 108, 0.95);  /* banner overlay */

  /* ===== Purane variable names, ab naye palette par ===== */
  --indigo:        var(--c-darkest);
  --indigo-dark:   var(--c-dark);
  --indigo-soft:   var(--c-lightest);
  --blue-darkest:  var(--c-darkest);
  --blue-mid:      var(--c-mid);
  --blue-light:    var(--c-dark);
  --blue-lighter:  var(--c-lightest);
  --blue-tint:     var(--c-tint);
  --lang-blue:     var(--c-darkest);

  --brand-shadow:    0 6px 20px rgba(22, 47, 106, 0.25);
  --brand-shadow-lg: 0 12px 32px rgba(22, 47, 106, 0.28);

  --ink:       #150202;      /* text */
  --muted:     #606060;      /* grey text */
  --line:      var(--c-light);
  --bar-grey:  var(--c-lightest);
  --bg:        #FFFFFF;
  --bg-page:   var(--c-tint);

  /* ===== Gradients ===== */
  --grad-dark:  linear-gradient(135deg, #162F6A 0%, #214AAB 100%);
  --grad-brand: linear-gradient(135deg, #214AAB 0%, #5279D7 100%);
  --grad-wide:  linear-gradient(90deg,  #162F6A 0%, #5279D7 100%);
  --grad-soft:  linear-gradient(180deg, #A3BBF3 0%, #D2DFFF 100%);

  /* ===== Accessibility panel ===== */
  --a11y-icon:       #162F6A;
  --a11y-icon-hover: #214AAB;
  --a11y-soft:       #D2DFFF;
  --a11y-border:     #A3BBF3;
  --a11y-ok:         #198754;  /* success green */
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Noto Sans', Arial, sans-serif;
  color: var(--ink);
  background: var(--bg);
  font-size: 16px;
}

html[lang="hi"] body,
html[lang="hi"] button,
html[lang="hi"] input,
html[lang="hi"] select {
  font-family: 'Noto Sans Devanagari', 'Noto Sans', Arial, sans-serif;
}

body.modal-open {
  overflow: hidden;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

button {
  font-family: inherit;
  cursor: pointer;
}

.material-symbols-outlined {
  font-size: 22px;
  vertical-align: middle;
  line-height: 1;
}

:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: var(--indigo);
  color: #fff;
  padding: 8px 14px;
  z-index: 2000;
}

.skip-link:focus {
  left: 8px;
  top: 8px;
}
.language-switcher-language-url .dropdown-menu{opacity: 1; position: static; gap: 0; min-width: 80px; border: none;}
.language-switcher-language-url .dropdown-menu li a{color: #000; display: block;}
.language-switcher-language-url .dropdown-menu li a:hover{color: #000;}
.language-switcher-language-url .dropdown-menu li a.is-active{display: none;}

#announceText a{background: transparent; text-decoration: none; font-size: 14px;}

/* ---------- HEADER ---------- */
.site-header {
  background: #fff;
  border-top: 5px solid var(--c-darkest);
  border-image: var(--grad-wide) 1;
  border-bottom: 1px solid var(--c-lightest);
  position: sticky;
  top: 0;
  z-index: 100;
}

/* ---------- TOP: FOUR LOGOS ---------- */
.logo-box {color: #000; text-decoration: none;}
.logo-box:hover{text-decoration: none; color: #000;}
.logo-strip {
  background: #fff;
  border-bottom: 1px solid var(--line);
  padding: 10px 6vw;
}

.logo-strip-list {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  max-width: 1100px;
  margin: 0 auto;
}

.logo-strip-list li {
  flex: 1 1 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-strip-list img {
  height: 84px;
  max-width: 100%;
  width: auto;
  object-fit: contain;
  display: block;
}

.header-inner {
  display: flex;
  align-items: center;
  gap: clamp(12px, 1.5vw, 26px);
  padding: 10px 64px;
  /* padding: 12px clamp(20px, 4vw, 72px); */
  min-height: 112px; justify-content: space-between;
}

.logo-box {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1vw, 16px);
  flex: 1 1 520px;
  min-width: 420px;
  max-width: 680px;
}

.emblem {
  height: 72px;
  width: auto;
  max-width: 140px;
  flex: 0 0 auto;
  object-fit: contain;
}

.logo-text {
  display: flex;
  flex-direction: column;
  flex: 1 1 220px;
  min-width: 190px;
  /* max-width: 280px; */
  line-height: 1.25;
}

.govt-text {
  font-size: 24px;
  color: var(--ink);
}

.ministry-name {
  font-size: 24px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
}


.header-search {
  display: flex;
  align-items: stretch;
  flex: 0 1 250px;
  margin: 0;
  width: clamp(190px, 18vw, 270px);
  max-width: 270px;
  min-width: 170px;
  height: 46px;
  box-sizing: border-box;
  border: 1px solid var(--line);
  border-bottom: 3px solid var(--blue-light);
  border-radius: 8px 8px 0 0;
  background: #fff;
  overflow: hidden;
}



.header-search input {
  flex: 1 1 auto;
  width: 0;
  min-width: 0;
  height: 100%;
  margin: 0;
  padding: 0 12px;
  box-sizing: border-box;
  border: 0;
  border-radius: 0;
  outline: none;
  font-family: inherit;
  font-size: 15px;
  line-height: normal;
  background: transparent;
}

.header-search input:focus {
  outline: none;
  box-shadow: none;
}



.header-search button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 52px;
  height: 100%;
  min-width: 52px;
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  border: 0;
  border-left: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
  color: var(--indigo);
  line-height: 1;
  transform: none;
}

.header-search button:hover {
  background: var(--blue-lighter);
}

.header-search button:focus,
.header-search button:active {
  margin: 0;
  transform: none;
}

.header-search button:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: -3px;
}


.header-logos {
  align-items: center;
  gap: 36px;
}

.header-logos img {
  height: 44px;
  width: auto;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0;
  flex: 0 1 auto;
  min-width: 0;
  /* margin-left: 182px; */
}

.header-tools li:not(.tool-logo)+li:not(.tool-logo),
.header-tools li.tool-logo+li:not(.tool-logo) {
  border-left: 1px solid var(--indigo);
}

.header-tools li.tool-logo {
  display: flex;
  align-items: center;
  border: 0;
  padding: 0 clamp(6px, 0.8vw, 14px);
}

.header-tools li.tool-logo a {
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-tools li.tool-logo img {
  display: block;
  width: auto;
  height: 68px;
  max-width: clamp(100px, 12vw, 190px);
  object-fit: contain;
}

.header-tools li.tool-logo:nth-child(2) img {
  max-width: clamp(130px, 15vw, 230px);
}

.header-tools button {
  border: 0;
  background: transparent;
  color: var(--indigo);
  padding: 6px 14px;
}

#skipBtn,
.skipBtn {
  width: 40px;
  height: 40px;
  min-width: 40px;
  padding: 7px;
  margin: 0;
  border: 0;
  border-radius: 6px;
  background: transparent;
  color: var(--indigo);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  line-height: 1;
  box-sizing: border-box;
  transition: background-color .15s ease, transform .15s ease;
}

#skipBtn .skip-icon,
.skipBtn .skip-icon {
  width: 26px;
  height: 26px;
  min-width: 26px;
  min-height: 26px;
  max-width: none;
  max-height: none;
  display: block;
  object-fit: contain;
  object-position: center;
  flex: 0 0 26px;

  /* PNG icon ko #162F6A (brand navy) jaisa recolor karta hai */
  filter: brightness(0) saturate(100%) invert(14%) sepia(60%)
          saturate(2400%) hue-rotate(205deg) brightness(92%) contrast(95%);
}

#skipBtn:hover,
.skipBtn:hover {
  background: var(--indigo-soft);
}

#skipBtn:active,
.skipBtn:active {
  transform: scale(.96);
}

#skipBtn:focus-visible,
.skipBtn:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

@media (max-width: 576px) {
  #skipBtn,
  .skipBtn {
    width: 36px;
    height: 36px;
    min-width: 36px;
    padding: 5px;
  }

  #skipBtn .skip-icon,
  .skipBtn .skip-icon {
    width: 24px;
    height: 24px;
    min-width: 24px;
    min-height: 24px;
    flex-basis: 24px;
  }
}

/* Press Sewa portal link (button jaisa) */
.header-tools .tool-link {
  display: flex;
  align-items: center;
  padding: 6px 14px;
  color: var(--indigo);
}

.header-tools .tool-link:hover,
.header-tools button:hover {
  color: var(--indigo-dark);
  background: var(--blue-lighter);
}

.header-tools .material-symbols-outlined {
  font-size: 24px;
}

/* ---------- NAV ---------- */
.main-nav {
  border-top: 1px solid var(--c-lightest);
  background: linear-gradient(180deg, #ffffff 0%, var(--c-tint) 100%);
}

.nav-list {
  display: flex;
  align-items: stretch;
  padding: 0 6vw;
  gap: 0; margin: 0;
}
.nav-list {
  display: flex;
  align-items: stretch;
  gap: 0;
  margin: 0;

  --container-width: 100%;                  
  padding-inline: max(0.75rem, calc((100% - var(--container-width)) / 2 + 0.75rem));
  padding-block: 0;
}

@media (min-width: 576px)  { .nav-list { --container-width: 540px; } }
@media (min-width: 768px)  { .nav-list { --container-width: 720px; } }
@media (min-width: 992px)  { .nav-list { --container-width: 960px; } }
@media (min-width: 1200px) { .nav-list { --container-width: 1140px; } }
@media (min-width: 1400px) { .nav-list { --container-width: 1320px; } }

.nav-item {
  position: relative;
}

.nav-item>a,
.nav-link-btn {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 12px 0;
  margin-right: 56px;
  font-size: 16px;
  font-weight: 500;
  color: var(--ink);
  background: transparent;
  border: 0;
  border-bottom: 2px solid transparent;
}

.nav-item.active>a {
  color: var(--blue-darkest);
  font-weight: 700;
  border-bottom-color: var(--blue-darkest);
}

.nav-link-btn:hover,
.nav-item>a:hover {
  color: var(--blue-light);
}

.nav-link-btn .material-symbols-outlined {
  font-size: 20px;
  transition: transform .2s;
}

.nav-link-btn[aria-expanded="true"] .material-symbols-outlined {
  transform: rotate(180deg);
}
.main-nav ul li.is-active .sub-menu.is-open{display: block;}

.sub-menu {
  display: none;
  padding: 0;
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 220px;
  background: #fff;
  border: 1px solid var(--line);
  border-top: 3px solid var(--blue-darkest);
  box-shadow: var(--brand-shadow);
  z-index: 50;
  max-height: 350px;
  overflow-y: auto;
}
/* Slim scrollbar: Chrome, Edge, Safari, Opera */
.sub-menu::-webkit-scrollbar {
  width: 6px;
}
.sub-menu::-webkit-scrollbar-track {
  background: transparent;
}
.sub-menu::-webkit-scrollbar-thumb {
  background: var(--blue-darkest);
  border-radius: 10px;
}
.sub-menu::-webkit-scrollbar-thumb:hover {
  background: #0d1f4a;
}

/* Slim scrollbar: Firefox */
@supports not selector(::-webkit-scrollbar) {
  .sub-menu {
    scrollbar-width: thin;
    scrollbar-color: var(--blue-darkest) transparent;
  }
}

.nav-item.open > .sub-menu {
  display: block;
}

.sub-menu a {
  display: block;
  padding: 6px 18px;
  font-size: 15px; margin: 0;
  display: flex;
  align-items: center;
}

.sub-menu a:hover {
  background: var(--blue-lighter);
  color: var(--blue-darkest);
}

/* ---------- INNER BANNER ---------- */
.inner-banner {
  position: relative;
  width: 100%;
  height: clamp(260px, 32vw, 520px);
  overflow: hidden; padding-top: 0 !important;
  background: #ffffff;
  
}

.hero-slides {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 5;
  height: 100%;
  pointer-events: none;
}

.hero-content .banner-box {
  pointer-events: auto;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 50%;
  background: rgba(22, 47, 106, 0.88);
  color: #ffffff;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}

.hero-arrow:hover {
  background: #f2b632;
  color: var(--blue-darkest);
  transform: translateY(-50%) scale(1.05);
}

.hero-prev {
  left: 18px;
}

.hero-next {
  right: 18px;
}

.hero-dots {
  position: absolute;
  left: 50%;
  bottom: 18px;
  transform: translateX(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
}

.hero-dot {
  width: 11px;
  height: 11px;
  padding: 0;
  border: 2px solid #ffffff;
  border-radius: 50%;
  background: rgba(82, 121, 215, 0.65);
  cursor: pointer;
  transition: background 0.25s ease, transform 0.25s ease;
}

.hero-dot:hover {
  transform: scale(1.15);
}

.hero-dot.active {
  background: #f2b632;
  border-color: #ffffff;
  transform: scale(1.15);
}

.hero-slide img[src*="b1"] {
  filter: brightness(1.12) saturate(0.85);
}


@media (max-width: 991px) {
  .inner-banner {
    height: clamp(220px, 42vw, 380px);
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
    font-size: 19px;
  }

  .hero-prev {
    left: 12px;
  }

  .hero-next {
    right: 12px;
  }

  .hero-dots {
    bottom: 12px;
  }
}

@media (max-width: 575px) {
  .inner-banner {
    height: auto;
    aspect-ratio: 16 / 7;
    min-height: 150px;
    max-height: 260px;
  }

  .hero-slide {
    object-fit: cover;
    object-position: center center;
  }

  .hero-arrow {
    width: 34px;
    height: 34px;
    font-size: 16px;
  }

  .hero-prev {
    left: 8px;
  }

  .hero-next {
    right: 8px;
  }

  .hero-dots {
    bottom: 8px;
    gap: 6px;
  }

  .hero-dot {
    width: 8px;
    height: 8px;
  }
}

@media (max-width: 375px) {
  .inner-banner {
    min-height: 125px;
  }

  .hero-arrow {
    width: 30px;
    height: 30px;
    font-size: 14px;
  }

  .hero-prev {
    left: 6px;
  }

  .hero-next {
    right: 6px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-slide {
    transition: none;
  }

  .hero-arrow,
  .hero-dot {
    transition: none;
  }
}

/* ---------- ANNOUNCEMENTS ---------- */
.announce-bar {
  display: flex;
  align-items: center;
  gap: 24px;
  background: linear-gradient(90deg, #A3BBF3 0%, #D2DFFF 60%, #EEF3FF 100%);
  border-top: 1px solid var(--c-mid);
  border-bottom: 1px solid var(--c-mid);
  padding: 12px 6vw;
  overflow: hidden;
}

.announce-title {
  color: var(--blue-darkest);
  font-weight: 700;
  font-size: 16px;
  white-space: nowrap;
}

.announce-track {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
}

.announce-track p {
  display: inline-block;
  margin: 0;
  padding-left: 100%;
  animation: scroll-left 80s linear infinite;
  font-size: 16px;
  font-weight: 500;
}

.announce-track p a {
  color: var(--indigo);
  text-decoration: underline;
}

.announce-bar.paused .announce-track p {
  animation-play-state: paused;
}

.announce-pause {
  border: 0;
  background: transparent;
  color: var(--blue-darkest);
}

@keyframes scroll-left {
  to {
    transform: translateX(-100%);
  }
}

/* Pause announcement scrolling on hover */
.announce-bar:hover .announce-track p {
  animation-play-state: paused;
}

/* ---------- BANNER SLIDER ---------- */
.banner-slider {
  --bn-gap: 16px;
  --bn-per-view: 4;
  --bn-height: 320px;
  background: var(--grad-soft);
  padding: 28px 4vw 20px; 
}

.bn-wrap {
  position: relative;
}

.bn-viewport {
  overflow: hidden;
  border-radius: 8px;
}

.bn-track {
  display: flex;
  /* gap: var(--bn-gap); */
  gap:20px;
  transition: transform .5s ease;
  will-change: transform;
}
.bn-track >ul{min-width: 308px; padding: 0;}

.bn-track {
  --bn-gap: clamp(12px, 2vw, 20px);   /* gap scales with screen width */
  --bn-per-view: 1;                   /* slides visible at once */

  display: flex;
  gap: var(--bn-gap);
  transition: transform .5s ease;
  will-change: transform;
  margin: 0;
  padding: 0;
}

.bn-track > ul {
  /* width = (track width - total gaps) / slides per view */
  flex: 0 0 calc((100% - (var(--bn-per-view) - 1) * var(--bn-gap)) / var(--bn-per-view));
  min-width: 0;            /* replaces fixed 308px so it can shrink */
  padding: 0;
  margin: 0;
  box-sizing: border-box;
}

/* Large phones / small tablets */
@media (min-width: 576px) {
  .bn-track { --bn-per-view: 2; }
}

/* Laptops */
@media (min-width: 992px) {
  .bn-track { --bn-per-view: 4; }
}

/* Large desktops: 4 items */
@media (min-width: 1400px) {
  .bn-track {
    --bn-per-view: 4;
  }

  .bn-track > ul {
    /* 4 items with 3 gaps between them */
    flex: 0 0 calc((100% - 4 * var(--bn-gap)) / 4);
    max-width: calc((100% - 4 * var(--bn-gap)) / 4);
  }
}

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce) {
  .bn-track { transition: none; }
}


.bn-title {
  margin: 0;
  color: var(--blue-darkest);
  font-size: 26px;
  font-weight: 700;
  line-height: 1.3;
  text-align: Center;
  padding-bottom: 18px;

}


.bn-card {
  position: relative;
  display: block;
  overflow: hidden;
  border-radius: 8px;
  background: var(--indigo-dark);
  flex: 0 0 calc((100% - var(--bn-gap) * (var(--bn-per-view) - 1)) / var(--bn-per-view));
  height: var(--bn-height);
}

.bn-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .4s ease;
}

.bn-card::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, var(--c-overlay) 0%,
              rgba(41, 19, 108, .35) 45%, rgba(41, 19, 108, 0) 75%);
}

.bn-card:hover img,
.bn-card:focus-visible img {
  transform: scale(1.05);
}

.bn-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 16px 18px;
  color: #fff;
  font-size: 14px;
  font-weight: 600;
  line-height: 1.3;
}

.bn-caption .material-symbols-outlined {
  flex: none;
  transition: transform .2s;
}

.bn-card:hover .bn-caption .material-symbols-outlined {
  transform: translateX(4px);
}

.bn-arrow {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 44px;
  height: 44px;
  margin-top: -22px;
  border-radius: 50%;
  border: 2px solid #fff;
  background: var(--grad-brand);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--brand-shadow);
}

.bn-arrow:hover {
  background: var(--blue-darkest);
}

.bn-arrow:disabled {
  opacity: .4;
  cursor: not-allowed;
}

.bn-prev {
  left: -50px;
}

.bn-next {
  right: -50px;
}

.bn-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 16px;
}

.bn-dots button {
  width: 12px;
  height: 12px;
  padding: 0;
  border-radius: 50%;
  border: 2px solid var(--blue-light);
  background: transparent;
}

.bn-dots button.active {
  background: var(--blue-darkest);
  border-color: var(--blue-darkest);
}

@media (max-width: 1199px) {
  .banner-slider {
    --bn-per-view: 3;
    --bn-height: 300px;
  }
}

@media (max-width: 991px) {
  .banner-slider {
    --bn-per-view: 2;
    --bn-height: 280px;
    padding: 20px 28px 16px;
  }
}

@media (max-width: 575px) {
  .banner-slider {
    --bn-per-view: 1;
    --bn-height: 240px;
    padding: 16px 24px 12px;
  }

  .bn-prev {
    left: -14px;
  }

  .bn-next {
    right: -14px;
  }
}

@media (prefers-reduced-motion: reduce) {

  .bn-track,
  .bn-card img {
    transition: none;
  }
}

/* ---------- HOMEPAGE INFORMATION CARDS ---------- */
.list-card .more-link a{min-height: 44px; padding: 10px 18px; font-size: 14px; font-weight: 600; border-radius: 6px; text-transform: none;
  border: 1px solid var(--c-darkest); text-decoration: none;  color: var(--c-darkest);}
.list-card .more-link a:hover{background: var(--c-darkest); color: #fff;}
.home-info {
  padding: 40px 0 24px;
  background: var(--grad-soft);
}

.home-info .row {
  align-items: stretch;
}

.home-info [class*="col-"] {
  display: flex;
}

.list-card {
  display: flex;
  flex: 1;
  flex-direction: column;
  min-width: 0;
  padding: 22px;
  background: linear-gradient(180deg, #ffffff 0%, var(--c-tint) 100%);
  border: 1px solid var(--line);
  border-top: 4px solid var(--c-darkest);
  border-radius: 10px;
  box-shadow: 0 5px 18px rgba(22, 47, 106, 0.1);
  transition: transform .18s ease, box-shadow .18s ease;
}

.list-card:hover {
  border-top-color: var(--c-mid);
  transform: translateY(-3px);
  box-shadow: 0 9px 24px rgba(22, 47, 106, 0.16);
}

.list-title {
  margin: 0 0 14px;
  color: var(--blue-darkest);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.list-links {
  flex: 1; padding: 0;
}

.list-links li {
  display: block;
  padding: 10px 0;
  border-bottom: 1px solid var(--c-lightest);
  font-size: 14px;
  line-height: 1.45;
}

.list-links li:last-child {
  border-bottom: 0;
}

.list-links a {
  color: var(--indigo);
  text-decoration: none;
  overflow-wrap: anywhere;
}

.list-links a:hover {
  color: var(--blue-light);
  text-decoration: underline;
}

.wn-date,
.item-date {
  display: block;
  margin-bottom: 2px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
}

.view-more {
  align-self: flex-start;
  margin-top: 16px;
  padding: 8px 18px;
  border: 1px solid var(--indigo);
  border-radius: 6px;
  background: #fff;
  color: var(--indigo);
  font-size: 14px;
  font-weight: 600;
  transition: background-color .15s ease, color .15s ease;
}

.view-more:hover {
  background: var(--grad-dark);
  border-color: var(--blue-darkest);
  color: #fff;
}

.filter-note {
  margin: 0 0 8px;
  color: var(--muted);
  font-size: 13px;
}

.filter-note[hidden],
.link-btn[hidden] {
  display: none !important;
}

.link-btn {
  padding: 0;
  border: 0;
  background: transparent;
  color: var(--c-dark);
  font: inherit;
  text-decoration: underline;
}

/* ---------- PERSONA FILTER CARDS ---------- */
.personas {
  padding: 28px 0 42px;
  background: linear-gradient(180deg, #ffffff 0%, var(--c-tint) 100%);
}

.sec-title {
  margin: 0 0 18px;
  color: var(--blue-darkest);
  font-size: 24px;
  font-weight: 700;
  line-height: 1.3;
}

.persona-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.persona-grid > li {
  min-width: 0;
}

.persona-tile {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  width: 100%;
  min-height: 170px;
  padding: 20px;
  border: 1px solid var(--c-lightest);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  text-align: left;
  box-shadow: 0 4px 14px rgba(22, 47, 106, 0.08);
  transition: transform .18s ease, border-color .18s ease, background-color .18s ease, box-shadow .18s ease;
}

.persona-tile .material-symbols-outlined {
  color: var(--blue-light);
  font-size: 30px;
}

.persona-name {
  color: var(--blue-darkest);
  font-size: 16px;
  font-weight: 700;
}

.persona-desc {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.5;
}

.persona-tile:hover,
.persona-tile:focus-visible {
  transform: translateY(-3px);
  border-color: var(--c-mid);
  background: var(--c-lightest);
  box-shadow: 0 8px 20px rgba(22, 47, 106, 0.15);
}

.persona-tile.active {
  border-color: var(--blue-darkest);
  background: var(--grad-dark);
  color: #fff;
}

.persona-tile.active .material-symbols-outlined,
.persona-tile.active .persona-name,
.persona-tile.active .persona-desc {
  color: #fff;
}

@media (max-width: 991px) {
  .persona-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 575px) {
  .home-info {
    padding: 24px 0 16px;
  }

  .list-card {
    padding: 18px;
  }

  .list-title,
  .sec-title {
    font-size: 20px;
  }

  .persona-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .persona-tile {
    min-height: 0;
    padding: 16px;
  }
}

/* ---------- DIRECTORY ---------- */
#maincontent{padding-top: 0 !important;}
.maincontent {
  padding: 40px 0 56px;
}

.toolbar {
  margin-bottom: 8px;
}

.search-field .input-group-text,
.per-page-field .input-group-text {
  background: #fff;
  color: var(--indigo);
  border-right: 0;
}

.search-field .form-control,
.per-page-field .form-select {
  border-left: 0;
  box-shadow: none;
}

.search-field,
.per-page-field {
  border-bottom: 3px solid var(--indigo);
  border-radius: 6px 6px 0 0;
}

.per-page-field {
  width: 220px;
  max-width: 100%;
}

.alphabet-box {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 22px 0;
}

.alphabet-box button {
  width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--indigo);
  font-weight: 600;
  border-radius: 6px;
}

.alphabet-box button:hover,
.alphabet-box button.active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

.directory-box {
  display: grid;
  grid-template-columns: 1fr 1fr 1.2fr;
  gap: 24px;
  padding: 22px 0;
  border-bottom: 1px solid var(--line);
}

.designation {
  font-size: 13px;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: .04em;
  margin: 0 0 4px;
}

.person-name {
  font-size: 20px;
  font-weight: 700;
  color: var(--indigo);
  margin: 0 0 10px;
}

.department-badge {
  display: inline-block;
  background: var(--indigo-soft);
  color: var(--indigo);
  padding: 6px 12px;
  border-radius: 4px;
}

.department-badge h5 {
  margin: 0;
  font-size: 14px;
  font-weight: 600;
}

.connect-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin-bottom: 12px;
  color: var(--indigo);
}

.connect {
  margin: 0;
  font-size: 15px;
  font-weight: 400;
  color: var(--ink);
  word-break: break-word;
}

.no-result {
  text-align: center;
  color: var(--muted);
  padding: 40px 0;
}

.pagination {
  gap: 6px;
  margin-top: 32px;
  flex-wrap: wrap;
  justify-content: center;
}

.pagination button {
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--indigo);
  border-radius: 6px;
  font-weight: 600;
}

.pagination button.active {
  background: var(--indigo);
  color: #fff;
  border-color: var(--indigo);
}

.pagination button:disabled {
  opacity: .4;
  cursor: not-allowed;
}

/* ---------- FOOTER ---------- */
.site-footer nav ul{display: grid; grid-template-columns: repeat(3, 1fr); grid-template-rows: 1fr; grid-column-gap: 15px; grid-row-gap: 15px; padding: 0;}
.site-footer {
  background: var(--c-darkest) !important;
  background-image: none !important;
  box-shadow: none !important;
  color: #fff;
  padding: 36px 0 0px;
}

.footer-inner {
  padding: 0 4vw;
}
.footer-inner ul li a{color: #fff !important; text-decoration: none;}
.footer-head {
  font-size: 17px;
  font-weight: 700;
  margin: 0 0 18px;
  padding-bottom: 8px;
  color: #fff !important;
  border-bottom: 2px solid rgba(255, 255, 255, .28);
  display: inline-block;
}

.footer-links {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-flow: column;
  grid-template-rows: repeat(2, auto);
  gap: 12px 24px;
  max-width: 900px;
}

.footer-links a {
  font-size: 16px;
}

.footer-links a::before {
  content: "\203A";
  margin-right: 6px;
}

.footer-links a:hover {
  text-decoration: underline;
  color: var(--c-lightest);
}

.footer-note {
  margin: 28px 0 0 0;
  font-size: 14px;
}

.footer-right {
  text-align: right;
}

.social {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}

.social a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  background: rgba(255, 255, 255, .08);
  transition: background .15s, color .15s, transform .15s;
}

.social a:hover,
.social a:focus-visible {
  background: #fff;
  color: var(--blue-darkest);
  transform: translateY(-2px);
}

.social svg {
  width: 22px;
  height: 22px;
}


.badges {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.badges a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 150px;
  height: 56px;
  padding: 6px 10px;
  box-sizing: border-box;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid #d7e0eb;
  border-radius: 4px;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.badges a:hover,
.badges a:focus-visible {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.badges a img,
.badges a svg {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 480px) {
  .badges {
    justify-content: center;
    gap: 8px;
  }

  .badges a {
    width: 130px;
    height: 50px;
  }
}

.last-updated {
  margin: 22px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.visitors {
  margin: 6px 0 0;
  font-size: 15px;
  font-weight: 600;
}

.back-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--grad-brand);
  color: #fff;
  border: 2px solid #fff;
  box-shadow: var(--brand-shadow);
  display: none;
  z-index: 500;
}

.back-top:hover {
  background: var(--blue-darkest);
}

.back-top.show {
  display: block;
}

/* Social and contact icons */
.social-links {
  display: flex;
  align-items: center;
  gap: 16px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.social-links li a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  color: #ffffff;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.social-links li a svg {
  width: 22px;
  height: 22px;
  display: block;
}

.social-links li a:hover {
  color: #f5c542;
  transform: translateY(-2px);
}

.social-links li a:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---------- LANGUAGE MODAL ---------- */
.lang-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(22, 47, 106, .65);
  opacity: 0;
  transition: opacity .2s ease;
}

.lang-overlay[hidden] {
  display: none;
}

.lang-overlay.show {
  opacity: 1;
}

.lang-dialog {
  position: relative;
  width: 100%;
  max-width: 440px;
  background: linear-gradient(180deg, #ffffff 0%, var(--c-tint) 100%);
  border-radius: 12px;
  border-top: 5px solid var(--blue-darkest);
  padding: 36px 32px 40px;
  text-align: center;
  box-shadow: var(--brand-shadow-lg);
  transform: translateY(12px) scale(.98);
  transition: transform .2s ease;
}

.lang-overlay.show .lang-dialog {
  transform: none;
}

.lang-dialog:focus {
  outline: none;
}

.lang-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
}

.lang-overlay.required .lang-close {
  display: none;
}

.lang-close:hover {
  background: var(--indigo-soft);
  color: var(--indigo);
}

.lang-emblem {
  height: 84px;
  width: auto;
  display: block;
  margin: 0 auto 6px;
}

.lang-org {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin: 0 0 16px;
  line-height: 1.35;
}

.lang-org-1 {
  font-size: 15px;
  color: var(--muted);
}

.lang-org-2 {
  font-size: 18px;
  font-weight: 700;
  color: var(--ink);
}

.lang-title {
  margin: 0 0 6px;
  font-size: 24px;
  font-weight: 700;
  color: var(--blue-darkest);
}

.lang-title-hi {
  margin: 0 0 28px;
  font-size: 20px;
  font-weight: 600;
  color: var(--lang-blue);
}

.lang-actions {
  display: flex;
  gap: 20px;
}

.lang-option {
  flex: 1;
  padding: 14px 10px;
  border: 2px solid var(--lang-blue);
  border-radius: 6px;
  background: var(--lang-blue);
  color: #fff;
  font-size: 17px;
  font-weight: 700;
  transition: background .15s, color .15s;
}

.lang-option[data-lang="en"] {
  background: var(--grad-dark);
  border-color: var(--blue-darkest);
  color: #fff;
}

.lang-option[data-lang="hi"] {
  background: var(--grad-brand);
  border-color: var(--indigo);
  color: #fff;
}

.lang-option:hover {
  background: var(--blue-darkest);
  border-color: var(--blue-darkest);
}

.lang-option.active {
  background: #fff;
  color: var(--indigo);
  border-color: var(--indigo);
}

/* Tick hata diya: active button par koi extra text nahi aata */
.lang-option.active::after,
.lang-option::after,
.lang-option::before {
  content: none !important;
  display: none !important;
}

/* ---------- GOVERNMENT WEBSITES (PARTNERS) ---------- */

.partners {
  --pt-per-view: 7;

  background: linear-gradient(180deg, var(--c-lightest) 0%, #ffffff 100%);
  border-top: 3px solid var(--c-mid);
  padding: 22px 4vw 16px;
  box-sizing: border-box;
}

.pt-wrap {
  position: relative;
  padding: 0 50px;
  display: flex;
  align-items: center;
  width: 100%;
  box-sizing: border-box;
}

/* Slider viewport */
.pt-viewport {
  width: 100%;
  overflow: hidden;
  margin: 0;
}

/* Moving track */
.pt-track {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  margin: 0;
  transition: transform 0.45s ease;
  will-change: transform;
}

/* Each partner item */
/* Partner logo slider items */
.pt-item {
  flex: 0 0 calc(100% / var(--pt-per-view));
  width: calc(100% / var(--pt-per-view));
  min-width: 0;
  height: 140px;
  margin: 0;
  padding: 8px 10px;
  box-sizing: border-box;
}

/* Increase partner logo size */

.pt-item img {
  width: 150px;
  height: 85px;
  max-width: 100%;
  object-fit: contain;
  object-position: center;
  display: block;
  margin-bottom: 8px;
}

/* Logo and name alignment */
.pt-item a {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 4px;
  box-sizing: border-box;
  text-decoration: none;
}

/* Partner name */
.pt-name {
  display: block;
  width: 100%;
  text-align: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 600;
  color: #333;
}

/* Mobile logo size */
@media (max-width: 575px) {
  .pt-item {
    height: 120px;
  }

  .pt-item img {
    width: 110px;
    height: 65px;
  }
}


/* Previous and next arrows */
.pt-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;

  width: 38px;
  height: 38px;
  margin: 0;
  padding: 0;

  border: none;
  border-radius: 50%;
  background: var(--blue-lighter);
  color: var(--blue-darkest);

  display: flex;
  align-items: center;
  justify-content: center;

  cursor: pointer;
  line-height: 1;
  flex-shrink: 0;
}

.pt-prev {
  left: 0;
}

.pt-next {
  right: 0;
}

.pt-arrow:hover {
  background: var(--grad-brand);
  color: #ffffff;
}

.pt-arrow:focus-visible,
.pt-pause:focus-visible {
  outline: 2px solid #174ea6;
  outline-offset: 3px;
}

/* Pause/play button */
.pt-pause {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 38px;
  min-height: 55px;
  margin: 0 auto 0;
  padding: 4px;
  border: none;
  border-radius: 50%;
  background: transparent;
  color: var(--indigo);
  cursor: pointer;
}

.pt-pause .material-symbols-outlined {
  font-size: 24px;
  line-height: 1;
  font-variation-settings: 'FILL' 1;
}

/* Tablet */
@media (max-width: 1199px) {
  .partners {
    --pt-per-view: 5;
  }
}

/* Small tablet */
@media (max-width: 991px) {
  .partners {
    --pt-per-view: 3;
  }

  .pt-item {
    height: 115px;
  }
}

/* Mobile */
@media (max-width: 575px) {
  .partners {
    --pt-per-view: 2;
    padding: 18px 12px 12px;
  }

  .pt-wrap {
    padding: 0 42px;
  }

  .pt-item {
    height: 105px;
    padding: 6px;
  }

  .pt-item img {
    width: 90px;
    height: 48px;
  }

  .pt-name {
    font-size: 11px;
    line-height: 14px;
  }

  .pt-arrow {
    width: 32px;
    height: 32px;
  }

  .pt-pause {
    margin-top: 6px;
  }
}

/* Reduced motion accessibility */
@media (prefers-reduced-motion: reduce) {
  .pt-track {
    transition: none;
  }
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1199px) {
  .header-inner {
    flex-wrap: wrap;
    padding: 10px 20px;
    gap: 12px 18px;
  }

  .logo-box {
    flex: 1 1 500px;
    max-width: none;
  }

  .header-search {
    flex: 0 1 250px;
    order: 2;
  }

  .header-tools {
    flex: 1 1 100%;
    justify-content: flex-end;
    order: 3;
  }

  .nav-item>a,
  .nav-link-btn {
    margin-right: 32px;
  }

  .logo-strip-list img {
    height: 72px;
  }
}

@media (max-width: 991px) {
  .header-inner {
    flex-wrap: wrap;
    min-height: 0;
    gap: 10px 14px;
  }

  .logo-box {
    flex: 1 1 100%;
    min-width: 0;
    max-width: none;
  }

  .header-search {
    order: 3;
    flex: 1 1 100%;
    width: 100%;
    max-width: none;
    min-width: 0;
    margin: 0;
  }

  .header-tools {
    order: 2;
    flex: 1 1 100%;
    justify-content: flex-end;
  }

  .emblem {
    height: 58px;
    max-width: 112px;
  }

  .logo-box > .emblem:first-child {
    max-width: 34px;
    max-height: 48px;
  }

  .logo-text {
    flex: 1 1 auto;
    min-width: 0;
    max-width: none;
  }

  .ministry-name {
    font-size: 16px;
  }

  .govt-text {
    font-size: 14px;
  }

  .header-tools li.tool-logo img {
    height: 44px;
    max-width: 140px;
  }

  .logo-strip {
    padding: 8px 16px;
  }

  .logo-strip-list {
    gap: 12px;
  }

  .logo-strip-list img {
    height: 56px;
  }

  .main-nav {
    display: none;
  }

  .main-nav.open {
    display: block;
  }

  .nav-list {
    flex-direction: column;
    padding: 0;
  }

  .nav-item>a,
  .nav-link-btn {
    width: 100%;
    margin: 0;
    padding: 14px 20px;
    border-bottom: 1px solid var(--line);
    justify-content: space-between;
  }

  .sub-menu {
    position: static;
    box-shadow: none;
    border: 0;
    background: var(--bg-page);
  }

  .directory-box {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .announce-bar {
    padding: 10px 16px;
    gap: 12px;
  }

  .footer-links {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
    grid-auto-flow: row;
  }

  .footer-right {
    text-align: left;
  }

  .social,
  .badges {
    justify-content: flex-start;
  }
}

@media (max-width: 480px) {
  .lang-dialog {
    padding: 32px 20px 32px;
  }

  .lang-actions {
    gap: 12px;
  }

  .logo-strip-list img {
    height: 44px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .announce-track p {
    animation: none;
    padding-left: 0;
  }

  html {
    scroll-behavior: auto;
  }

  .lang-overlay,
  .lang-dialog {
    transition: none;
  }
}


/* =========================================================
   ACCESSIBILITY TOOLS
   Icon colour = #162F6A. Sirf --a11y-icon badalna ho to :root me badlein.
   JS: script.js ke neeche "ACCESSIBILITY TOOLS" section.
   ========================================================= */

/* ---------- Popup panel ---------- */
.a11y-panel {
  position: absolute;
  z-index: 2500;
  width: min(440px, calc(100vw - 16px));
  max-height: calc(100vh - 100px);
  overflow-y: auto;
  background: #fff;
  color: #1a1a1a;
  border: 1px solid var(--a11y-icon);
  border-top: 4px solid var(--blue-darkest);
  border-radius: 10px;
  box-shadow: var(--brand-shadow-lg);
  padding: 16px 16px 12px;
  font-family: inherit;
}
.a11y-panel[hidden] { display: none; }

.a11y-panel::before {            /* small pointer towards the header icon */
  content: "";
  position: absolute;
  top: -11px;
  left: var(--a11y-caret, 380px);
  width: 12px;
  height: 12px;
  background: var(--a11y-icon);
  border-left: 1px solid var(--a11y-icon);
  border-top: 1px solid var(--a11y-icon);
  transform: rotate(45deg);
}

.a11y-title {
  margin: 0 0 14px;
  text-align: center;
  font-size: 18px;
  font-weight: 600;
  color: var(--blue-darkest);
}
.a11y-section {
  margin: 14px 0 8px;
  font-size: 16px;
  font-weight: 600;
  color: var(--blue-darkest);
}
.a11y-section:first-of-type { margin-top: 0; }

.a11y-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.a11y-btn {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 88px;
  padding: 12px 6px;
  background: #fff;
  border: 1px solid var(--a11y-border);
  border-radius: 6px;
  color: #1a1a1a;
  font-size: 13px;
  font-weight: 500;
  line-height: 1.25;
  text-align: center;
  cursor: pointer;
  transition: background-color .15s, border-color .15s;
}
.a11y-btn svg {
  width: 28px;
  height: 28px;
  flex: none;
  color: var(--a11y-icon);
}
.a11y-btn:hover,
.a11y-btn:focus-visible {
  background: var(--a11y-soft);
  border-color: var(--a11y-icon);
}
.a11y-btn:focus-visible { outline: 3px solid #f5a623; outline-offset: 2px; }
.a11y-btn:disabled { opacity: .45; cursor: not-allowed; }
.a11y-btn.is-active { border-color: var(--a11y-icon); box-shadow: 0 0 0 1px var(--a11y-icon); }

.a11y-check {                      /* green tick badge on active tool */
  display: none;
  position: absolute;
  top: -7px;
  right: -7px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--a11y-ok);
  align-items: center;
  justify-content: center;
}
.a11y-btn.is-active .a11y-check { display: flex; }
.a11y-check svg { width: 11px; height: 11px; color: #fff; }

.a11y-reset {
  display: block;
  margin: 14px auto 2px;
  padding: 6px 14px;
  border: 0;
  background: transparent;
  color: var(--a11y-icon);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
}
.a11y-reset:hover { color: var(--a11y-icon-hover); }

.a11y-sr {
  position: absolute !important;
  width: 1px; height: 1px;
  margin: -1px; padding: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  white-space: nowrap;
  border: 0;
}

/* header trigger: panel khula ho to icon highlight */
.header-tools button[aria-expanded="true"] { background: var(--a11y-soft); }

@media (max-width: 480px) {
  .a11y-grid { gap: 8px; }
  .a11y-btn { font-size: 12px; min-height: 80px; }
}

/* ---------- Features (classes <html> par JS lagata hai; panel hamesha exclude rehta hai) ---------- */

/* High contrast */
html.a11y-hc body,
html.a11y-hc body *:not(.a11y-panel):not(.a11y-panel *) {
  background-color: #000 !important;
  background-image: none !important;
  color: #fff !important;
  border-color: #fff !important;
  box-shadow: none !important;
  text-shadow: none !important;
}
html.a11y-hc body a:not(.a11y-panel a),
html.a11y-hc body a:not(.a11y-panel a) * {
  color: #ffeb3b !important;
}
html.a11y-hc body img:not(.a11y-panel img) { background-color: #fff !important; }
html.a11y-hc body :focus-visible { outline: 3px solid #ffeb3b !important; }

/* Highlight links */
html.a11y-links body a:not(.a11y-panel a) {
  background-color: #ffeb3b !important;
  color: #000 !important;
  text-decoration: underline !important;
  outline: 2px solid #000;
  outline-offset: 1px;
}
html.a11y-links body a:not(.a11y-panel a) * { color: #000 !important; }

/* Invert: images/video dobara invert hote hain taaki normal dikhein */
html.a11y-invert img,
html.a11y-invert video { filter: invert(1) hue-rotate(180deg); }

/* Text spacing + line height */
html.a11y-spacing body *:not(.a11y-panel):not(.a11y-panel *) {
  letter-spacing: .12em !important;
  word-spacing: .16em !important;
}
html.a11y-lh body *:not(.a11y-panel):not(.a11y-panel *) {
  line-height: 1.9 !important;
}

/* Hide images */
html.a11y-noimg body img:not(.a11y-panel img) { visibility: hidden !important; }

/* Big cursor */
html.a11y-cursor,
html.a11y-cursor * {
  cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'%3E%3Cpath d='M5 3v22l6-5.5 4.2 9.3 4-1.8-4.2-9.2H24z' fill='black' stroke='white' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, auto !important;
}
html.a11y-cursor a,
html.a11y-cursor a *,
html.a11y-cursor button,
html.a11y-cursor button *,
html.a11y-cursor [role="button"],
html.a11y-cursor select,
html.a11y-cursor input {
  cursor: url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='48' height='48' viewBox='0 0 32 32'%3E%3Cpath d='M5 3v22l6-5.5 4.2 9.3 4-1.8-4.2-9.2H24z' fill='%23f28c00' stroke='black' stroke-width='2' stroke-linejoin='round'/%3E%3C/svg%3E") 4 2, pointer !important;
}

/* ---------- COOKIE CONSENT ---------- */
.cookie-banner {
  --ck-bg: #ffffff;
  --ck-text: #1f2937;
  --ck-muted: #4b5563;
  --ck-border: #A3BBF3;
  --ck-primary: #162F6A;
  --ck-dark: #162F6A;
  --ck-soft: #D2DFFF;

  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 99999;

  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px 24px;

  max-height: 90vh;
  overflow-y: auto;
  padding: 16px 20px calc(16px + env(safe-area-inset-bottom, 0px));
  box-sizing: border-box;

  color-scheme: light;               /* dark mode mein text invisible na ho */
  background: linear-gradient(180deg, #ffffff 0%, #EEF3FF 100%);
  color: var(--ck-text);
  border-top: 4px solid var(--blue-darkest);
  box-shadow: 0 -4px 24px rgba(22, 47, 106, 0.18);
  font-size: 14px;
  line-height: 1.5;
}

/* hidden attribute ko display:flex/grid override na kar sake */
.cookie-banner[hidden],
.cookie-banner .ck-options[hidden],
.cookie-banner .ck-actions button[hidden] {
  display: none !important;
}

.cookie-banner .ck-main {
  flex: 1 1 360px;
  min-width: 0;
}

.cookie-banner .ck-title {
  margin: 0 0 4px;
  font-size: 16px;
  font-weight: 700;
  color: var(--blue-darkest);
}

.cookie-banner .ck-main p {
  margin: 0;
  color: var(--ck-muted);
}

/* ----- Customise options ----- */
.cookie-banner .ck-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 10px;
  margin-top: 14px;
}

.cookie-banner .ck-opt {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 12px;
  background: #fff;
  border: 1px solid var(--ck-border);
  border-radius: 8px;
  cursor: pointer;
}

.cookie-banner .ck-opt input {
  margin-top: 3px;
  flex: none;
  accent-color: var(--ck-primary);
}

.cookie-banner .ck-opt input:disabled {
  cursor: not-allowed;
}

.cookie-banner .ck-opt span {
  display: flex;
  flex-direction: column;
  gap: 2px;
  color: var(--ck-text);
}

.cookie-banner .ck-opt small {
  color: var(--ck-muted);
  font-size: 12px;
}

/* ----- Buttons ----- */
.cookie-banner .ck-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.cookie-banner .ck-actions button {
  padding: 9px 18px;
  font: inherit;
  font-weight: 600;
  color: var(--ck-primary);
  background: #fff;
  border: 1px solid var(--c-dark);
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.cookie-banner .ck-actions button:hover {
  background: var(--c-lightest);
}

.cookie-banner #ckAccept,
.cookie-banner #ckSave {
  background: var(--grad-dark);
  border-color: var(--blue-darkest);
  color: #fff;
}

.cookie-banner #ckAccept:hover,
.cookie-banner #ckSave:hover {
  background: var(--blue-darkest);
  color: #fff;
}

.cookie-banner #ckReject,
.cookie-banner #ckCustom {
  background: #fff;
  color: var(--indigo);
  border-color: var(--blue-light);
}

.cookie-banner #ckReject:hover,
.cookie-banner #ckCustom:hover {
  background: var(--blue-lighter);
}

.cookie-banner .ck-actions button:focus-visible,
.cookie-banner .ck-opt input:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 2px;
}

/* ----- Banner khula ho to "back to top" button upar khisak jaye ----- */
body.ck-open .back-top {
  bottom: 150px;
}

/* ----- Mobile ----- */
@media (max-width: 600px) {
  .cookie-banner {
    padding: 14px 14px calc(14px + env(safe-area-inset-bottom, 0px));
  }
  .cookie-banner .ck-actions {
    width: 100%;
  }
  .cookie-banner .ck-actions button {
    flex: 1 1 auto;
  }
  body.ck-open .back-top {
    bottom: 220px;
  }
}

/* ---------- FINAL TABLET + MOBILE LAYOUT SAFEGUARDS ---------- */
img,
svg,
video {
  max-width: 100%;
}



@media (max-width: 991px) {
  .header-inner {
    padding: 12px 20px;
  }

  .main-nav.open {
    max-height: calc(100dvh - 120px);
    overflow-y: auto;
  }

  .nav-item > a,
  .nav-link-btn {
    min-height: 48px;
    font-size: 16px;
  }

  .announce-bar {
    gap: 14px;
    padding: 10px 20px;
  }

  .announce-title,
  .announce-track p {
    font-size: 15px;
  }

  .banner-slider {
    --bn-per-view: 2;
    --bn-height: clamp(220px, 34vw, 280px);
  }

  .home-info .row {
    row-gap: 20px;
  }

  .list-card {
    min-height: 100%;
  }

  .footer-inner {
    padding-right: 24px;
    padding-left: 24px;
  }

  .footer-links a,
  .footer-note {
    font-size: 16px;
  }

  .footer-head {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  .home-info {
    padding: 28px 0 20px;
  }

  .list-card {
    min-height: 0;
  }

  .activities {
    padding: 28px 0 8px;
  }

  .act-row {
    margin-bottom: 2rem;
  }

  .act-heading {
    font-size: 1.35rem;
  }

  .partners {
    --pt-per-view: 3;
  }

  .footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: none;
    grid-auto-flow: row;
  }
}

@media (max-width: 575px) {
  html,
  body {
    width: 100%;
    overflow-x: hidden;
  }

  .header-inner {
    gap: 10px;
    padding: 10px 14px;
  }

  .logo-box {
    gap: 7px;
  }

  .logo-box > .emblem:first-child {
    width: 34px;
    height: 48px;
    max-width: 34px;
  }

  .logo-box > .emblem:nth-child(2) {
    width: 78px;
    height: 48px;
    max-width: 78px;
  }

  .logo-text {
    gap: 1px;
    font-size: 12px;
  }

  .govt-text {
    font-size: 12px;
  }

  .ministry-name {
    font-size: 13px;
    line-height: 1.2;
  }

  .header-tools {
    justify-content: center;
    column-gap: 2px;
    row-gap: 4px;
  }

  .header-tools li.tool-logo {
    padding: 0 4px;
  }

  .header-tools li.tool-logo img {
    height: 36px;
    max-width: 82px;
  }

  .header-tools li.tool-logo:nth-child(2) img {
    max-width: 104px;
  }

  .header-tools button,
  .header-tools .tool-link {
    padding: 6px 9px;
  }

  .header-tools .material-symbols-outlined {
    font-size: 19px !important;
  }

  .header-search {
    min-height: 42px;
  }

  .header-search input {
    font-size: 14px;
  }

  .nav-item > a,
  .nav-link-btn {
    padding: 12px 16px;
    font-size: 15px;
  }

  .inner-banner {
    min-height: 150px;
  }

  .hero-arrow {
    width: 32px;
    height: 32px;
  }

  .announce-bar {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 10px;
    padding: 9px 14px;
  }

  .announce-title {
    grid-column: 1;
    grid-row: 1;
    font-size: 14px;
  }

  .announce-track {
    grid-column: 1 / -1;
    grid-row: 2;
    min-width: 0;
  }

  .announce-track p {
    font-size: 13px;
  }

  .announce-pause {
    grid-column: 2;
    grid-row: 1;
    justify-self: end;
  }

  .banner-slider {
    --bn-per-view: 1;
    --bn-height: clamp(190px, 62vw, 250px);
    padding: 16px 24px 14px;
  }

  .bn-caption {
    gap: 6px;
    padding: 12px;
    font-size: 14px;
  }

  .bn-arrow {
    width: 36px;
    height: 36px;
    margin-top: -18px;
  }

  .home-info .container,
  .personas .container,
  .activities > .container {
    padding-right: 16px;
    padding-left: 16px;
  }

  .list-card {
    padding: 17px;
  }

  .list-title,
  .sec-title {
    font-size: 20px;
  }

  .list-links li {
    padding: 8px 0;
    font-size: 14px;
  }

  .persona-grid {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .persona-tile {
    min-height: 0;
    padding: 15px;
  }

  .act-info {
    padding: 8px 0 8px 14px;
  }

  .act-desc {
    font-size: 14px;
  }

  .hp-carousel .hp-caption {
    padding: 14px 40px 32px;
    font-size: 13px;
  }

  .partners {
    --pt-per-view: 2;
    padding: 18px 12px 14px;
  }

  .pt-wrap {
    padding: 0 38px;
  }

  .pt-item {
    width: calc((100vw - 100px) / 2);
    flex-basis: calc((100vw - 100px) / 2);
  }

  .pt-item img {
    max-width: 100%;
  }

  .pt-pause {
    margin: 12px 0 0 40px;
  }

  .footer-inner {
    padding-right: 18px;
    padding-left: 18px;
  }

  .footer-links {
    grid-template-columns: 1fr;
    gap: 9px;
  }

  .footer-links a,
  .footer-note {
    font-size: 14px;
  }

  .footer-head {
    font-size: 16px;
  }

  .social,
  .badges {
    justify-content: flex-start;
  }

  .back-top {
    right: 14px;
    bottom: 14px;
    width: 40px;
    height: 40px;
  }

  .lang-dialog {
    max-width: 100%;
    padding: 30px 20px;
  }

  .lang-actions {
    gap: 10px;
  }

  .lang-option {
    padding: 12px 8px;
    font-size: 15px;
  }
}

@media (max-width: 360px) {
  .header-tools li.tool-logo:nth-child(2) img {
    max-width: 82px;
  }

  .header-tools button,
  .header-tools .tool-link {
    padding-right: 6px;
    padding-left: 6px;
  }

  .announce-title {
    font-size: 13px;
  }

  .pt-wrap {
    padding-right: 34px;
    padding-left: 34px;
  }

  .pt-item {
    width: calc((100vw - 92px) / 2);
    flex-basis: calc((100vw - 92px) / 2);
  }
}

@media (max-width: 480px) {
  .a11y-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

/* ---------- EXTERNAL WEBSITE CONFIRMATION MODAL ---------- */
#externalSiteModal[hidden] {
  display: none !important;
}

#externalSiteModal.external-modal {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  width: 100%;
  height: 100%;
  padding: clamp(10px, 3vh, 28px) 16px 16px;
  overflow-y: auto;
  background: rgba(22, 47, 106, 0.5);
  animation: external-modal-fade-in .18s ease-out both;
}

.external-modal-content {
  width: min(100%, 450px);
  max-height: min(90vh, 240px);
  overflow-y: auto;
  padding: 18px 20px 16px;
  border: 1px solid var(--c-mid);
  border-top: 4px solid var(--blue-darkest);
  border-radius: 15px;
  background: linear-gradient(180deg, #ffffff 0%, var(--c-tint) 100%);
  color: #111;
  box-shadow: var(--brand-shadow-lg);
  animation: external-modal-pop-in .18s ease-out both;
}

.external-modal-content h2 {
  margin: 0 0 12px;
  color: var(--blue-darkest);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.external-modal-content p {
  margin: 0;
  color: #17202a;
  font-size: 14px;
  line-height: 1.5;
  user-select: none;
  -webkit-user-select: none;
}

.external-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 14px;
}

.external-modal-actions button {
  min-width: 70px;
  min-height: 40px;
  padding: 9px 18px;
  border: 0;
  border-radius: 999px;
  font: inherit;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color .16s ease, color .16s ease, transform .16s ease;
}

.external-modal-actions button:hover {
  transform: translateY(-1px);
}

.external-ok {
  background: var(--grad-dark);
  color: #fff;
}

.external-ok:hover {
  background: var(--indigo-dark);
}

.external-cancel {
  background: var(--blue-lighter);
  color: var(--blue-darkest);
}

.external-cancel:hover {
  background: var(--c-light);
}

.external-modal-actions button:focus-visible {
  outline: 3px solid var(--indigo);
  outline-offset: 3px;
}

#externalOkBtn:focus {
  outline: 2px solid var(--indigo);
  outline-offset: 3px;
}

@keyframes external-modal-fade-in {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes external-modal-pop-in {
  from { opacity: 0; transform: translateY(12px) scale(.98); }
  to { opacity: 1; transform: translateY(0) scale(1); }
}

@media (max-width: 575px) {
  #externalSiteModal.external-modal {
    align-items: flex-start;
    padding: 10px 16px 16px;
  }

  .external-modal-content {
    max-height: min(88dvh, 240px);
    padding: 18px 16px 16px;
    border-radius: 13px;
  }

  .external-modal-content p {
    font-size: 14px;
  }

  .external-modal-actions {
    gap: 8px;
    margin-top: 14px;
  }

  .external-modal-actions button {
    flex: 0 0 auto;
    min-width: 0;
  }
}


/* ---------- LANGUAGE POPUP: English + Hindi dono ek saath ---------- */
.lang-dialog [lang="hi"] {
  font-family: 'Noto Sans Devanagari', 'Noto Sans', Arial, sans-serif;
}

.lang-org p,
.lang-description,
.lang-note {
  margin: 0;
}

.lang-org-1 span,
.lang-org-2 span,
.lang-title span,
.lang-description span,
.lang-note span {
  display: block;
}

.lang-org-1 {
  font-size: 15px;
  color: var(--muted);
  line-height: 1.5;
}

.lang-org-2 {
  margin-top: 6px;
  font-size: 16px;
  font-weight: 700;
  color: var(--ink);
  line-height: 1.45;
}

.lang-title {
  margin: 4px 0 14px;
  font-size: 24px;
  line-height: 1.35;
}

.lang-description {
  margin-bottom: 20px;
  font-size: 14px;
  color: var(--muted);
  line-height: 1.5;
}

.lang-note {
  margin-top: 20px;
  font-size: 12.5px;
  color: var(--muted);
  line-height: 1.5;
}

.lang-option {
  cursor: pointer;
}

@media (max-width: 480px) {
  .lang-title {
    font-size: 21px;
  }
}


/* ---------- Activities ---------- */
.act-info {
  border-left-color: var(--blue-mid);
}


/* =========================================================
   SEMICON INDIA 2025 EVENT
   ========================================================= */
.semicon-event {
  width: 100%;
  background: var(--c-tint);
  border-top: 4px solid var(--c-light);
  padding: 55px 24px;
  box-sizing: border-box;
  color: var(--c-darkest);
  font-family: Arial, sans-serif;
}

.semicon-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 300px minmax(0, 1fr);
  align-items: center;
  gap: 60px;
}

.semicon-photo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.semicon-photo img {
  width: 260px;
  height: 260px;
  border-radius: 50%;
  object-fit: cover;
  background: #fff;
  box-shadow: 0 5px 14px rgba(22, 47, 106, 0.15);
}

.semicon-content {
  min-width: 0;
  font-size: 24px;
  line-height: 1.25;
}

.semicon-open-quote {
  display: block;
  font-size: 34px;
  line-height: 1;
}

.semicon-content p {
  margin: 0 0 12px; font-size: 17px;
}

.semicon-bottom {
  border-top: 1px solid var(--c-darkest);
  margin-top: 16px;
  padding-top: 15px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}

.semicon-event-info {
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-size: 16px;
  line-height: 1.3;
}

.semicon-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 12px 16px;
  min-height: 42px;
  background: #fff;
  color: var(--c-darkest);
  border: 1px solid var(--c-darkest);
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  white-space: nowrap;
}

.semicon-view-btn:hover {
  background: var(--c-darkest);
  color: #fff;
}

.external-icon {
  font-size: 22px;
  line-height: 1;
}

@media (max-width: 768px) {
  .semicon-event {
    padding: 32px 18px;
  }

  .semicon-inner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .semicon-photo img {
    width: 190px;
    height: 190px;
  }

  .semicon-content {
    font-size: 19px;
  }

  .semicon-bottom {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .semicon-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}


/* =========================================================
   PRGI ABOUT US
   ========================================================= */
.prgi-about-section {
  width: 100%;
  padding: 45px 24px;
  background: #ffffff;
  box-sizing: border-box;
  font-family: Noto Sans;
  color: #171717;
}

.prgi-about-container {
  max-width: 1635px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 440px;
  gap: 45px;
  align-items: center;
}

.prgi-about-left {
  min-width: 0;
}

.prgi-about-heading {
  display: flex;
  align-items: center;
  gap: 15px;
  margin: 0 0 18px;
  color: var(--c-darkest);
  font-size: 24px;
  font-weight: 700;
}

.about-heading-icon {
  font-size: 35px;
}

.prgi-about-description {
  font-size: 16px;
  line-height: 1.5;
  text-align: left;
}

.prgi-about-description p {
  margin: 0 0 15px;
}

.prgi-about-description a {
  color: var(--c-darkest);
  text-decoration: none;
}

.prgi-about-description a:hover {
  text-decoration: underline;
}

.prgi-about-links {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 15px;
  margin-top: 28px;
}

.prgi-about-link {
  min-height: 85px;
  padding: 15px;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 1px solid var(--c-darkest);
  border-radius: 3px;
  color: #111;
  background: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 3px 7px rgba(22, 47, 106, 0.1);
  transition: background 0.2s, color 0.2s;
}

.prgi-link-icon {
  font-size: 26px;
  color: var(--c-darkest);
}

.prgi-about-link:hover {
  background: var(--c-darkest);
  color: #fff;
}

.prgi-about-link:hover .prgi-link-icon {
  color: #fff;
}

/* OFFICIAL PHOTOS */
.prgi-about-right {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: start;
}

.prgi-officer-card {
  min-width: 0;
  text-align: center;
}

.prgi-officer-card img {
  display: block;
  width: 100%;
  height: 200px;
  object-fit: contain;
  object-position: center bottom;
  background: #fff;
  border: 1px solid var(--c-light);
  border-bottom: 6px solid var(--c-darkest);
  box-sizing: border-box;
}

.prgi-officer-card h3 {
  margin: 12px 0 8px;
  font-size: 18px;
  line-height: 1.4;
  color: #111;
}

.prgi-officer-card p {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  text-transform: uppercase;
}

/* TABLET */
@media (max-width: 1050px) {
  .prgi-about-container {
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 25px;
  }

  .prgi-about-right {
    gap: 14px;
  }

  .prgi-officer-card img {
    height: 170px;
  }

  .prgi-about-description {
    font-size: 16px;
  }
}

/* MOBILE */
@media (max-width: 760px) {
  .prgi-about-section {
    padding: 30px 16px;
  }

  .prgi-about-container {
    grid-template-columns: 1fr;
  }

  .prgi-about-right {
    max-width: 500px;
    width: 100%;
    margin: 10px auto 0;
    gap: 16px;
  }

  .prgi-officer-card img {
    height: 180px;
  }

  .prgi-about-links {
    gap: 10px;
  }

  .prgi-about-link {
    font-size: 15px;
    padding: 12px 8px;
  }
}

@media (max-width: 380px) {
  .prgi-about-right {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .prgi-officer-card img {
    height: 145px;
  }

  .prgi-officer-card h3 {
    font-size: 15px;
  }
}


/* =====================================================
   PRGI EVENTS SLIDER
   Layout: [ left arrow ] [ photo + content card ] [ right arrow ]
   ===================================================== */

.events-section {
  --events-primary: #162F6A;
  --events-dark: #162F6A;
  --events-accent: #5279D7;
  --events-muted: #596579;
  --events-bg: #EEF3FF;

  width: 100%;
  padding: 55px 22px 45px;
  background: linear-gradient(to bottom, var(--events-bg) 0, var(--events-bg) 270px, #fff 270px, #fff 100%);
  overflow: hidden;
}

.events-section *,
.events-section *::before,
.events-section *::after {
  box-sizing: border-box;
}

.events-container {
  width: 100%;
  max-width: 1250px;
  margin: 0 auto;
}

/* ---------- Heading ---------- */
.events-heading {
  text-align: center;
  margin-bottom: 32px;
}

.events-eyebrow {
  display: inline-block;
  color: var(--events-primary);
  /* font-size: 13px; */
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.events-eyebrow::after {
  content: "";
  display: block;
  width: 65px;
  height: 3px;
  margin: 10px auto 14px;
  background: var(--events-accent);
  border-radius: 10px;
}

.events-heading h2 {
  margin: 0 0 10px;
  color: var(--events-dark);
  font-size: clamp(24px, 3vw, 34px);
  font-weight: 700;
  line-height: 1.3;
}

.events-heading p {
  margin: 0;
  color: var(--events-muted);
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Arrow | Card | Arrow ---------- */
.events-section .events-layout {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 46px;
  align-items: center;
  gap: 15px;
  width: 100%;
  min-width: 0;
}

.events-section .side-arrow {
  display: flex;
  align-items: center;
  justify-content: center;
  justify-self: center;
  width: 44px;
  height: 44px;
  min-width: 44px;
  padding: 0;
  border: 1px solid #A3BBF3;
  border-radius: 50%;
  background: #fff;
  color: var(--events-primary);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(22, 47, 106, .15);
  transition: background .2s ease, color .2s ease, transform .2s ease;
  z-index: 2;
}

.events-section .side-arrow:hover {
  background: var(--events-primary);
  color: #fff;
  transform: scale(1.06);
}

.events-section .side-arrow:focus-visible {
  outline: 3px solid #f5a623;
  outline-offset: 3px;
}

/* ---------- Viewport (sirf ek slide dikhti hai) ---------- */
.events-section .events-view {
  position: relative;
  width: 100%;
  min-width: 0;
  overflow: hidden;
  border-radius: 14px;
}

.events-section .events-track {
  display: block;
  width: 100%;
}

/* JS selected slide par .active lagata hai */
.events-section .event-slide {
  display: none;
  flex-direction: column;
  width: 100%;
  min-width: 0;
}

.events-section .event-slide.active {
  display: flex;
  animation: eventFade .45s ease both;
}

@keyframes eventFade {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: none; }
}

/* ---------- Photo (upar) ---------- */
/* Event Image Wrapper */
.events-section .event-image-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 6;
  overflow: hidden;
  border-radius: 14px 14px 0 0;
  background: #162F6A;
}
/* Image */
.events-section .event-image-wrap .event-image {
  width: 100%;
  height: 100%;
}
.events-section .event-image-wrap .event-image img {
  display: block;
  width: 100%;
  height: 100%;
  max-width: none;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
}
/* Hover Effect */
.events-section .event-slide:hover .event-image img {
  transform: scale(1.015);
}
/* Image Label */
.events-section .event-image-label {
  position: absolute;
  top: 16px;
  left: 16px;
  padding: 7px 12px;
  border-radius: 5px;
  background: rgba(255, 255, 255, 0.94);
  color: var(--events-primary);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.8px;
  z-index: 2;
}
/* Responsive */
@media (max-width: 768px) {
  .events-section .event-image-wrap {
    aspect-ratio: 16 / 9;
  }
}
@media (max-width: 480px) {
  .events-section .event-image-wrap {
    aspect-ratio: 4 / 3;
  }
  .events-section .event-image-label {
    top: 10px;
    left: 10px;
  }
}

/* ---------- Content (neeche) ---------- */
.events-section .event-information {
  width: 100%;
  padding: 21px 25px 20px;
  background: #fff;
  border: 1px solid #D2DFFF;
  border-top: 0;
  border-radius: 0 0 14px 14px;
  box-shadow: 0 7px 17px rgba(22, 47, 106, .12);
  overflow-wrap: anywhere;
}

.events-section .event-category {
  display: inline-block;
  margin-bottom: 9px;
  padding: 5px 10px;
  border-radius: 5px;
  background: #D2DFFF;
  color: var(--events-dark);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .5px;
}

.events-section .event-information h3 {
  margin: 0 0 10px;
  color: var(--events-dark);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.3;
}

.events-section .event-information > p {
  margin: 0 0 17px;
  color: var(--events-muted);
  font-size: 14px;
  line-height: 1.75;
}

.events-section .event-details {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 24px;
  padding-top: 14px;
  border-top: 1px solid #D2DFFF;
}

.events-section .event-detail {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  color: #475467;
  font-size: 13px;
  line-height: 1.6;
}

.events-section .event-detail strong {
  color: var(--events-dark);
}

.events-section .event-detail-icon {
  flex-shrink: 0;
  color: var(--events-accent);
  font-size: 17px;
  line-height: 1.3;
}

/* ---------- Dots + counter ---------- */
.events-section .events-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 16px;
  margin: 22px auto 0;
}

.events-section .events-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 9px;
}

.events-section .event-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #A3BBF3;
  cursor: pointer;
  transition: width .2s ease, background .2s ease;
}

.events-section .event-dot.active {
  width: 26px;
  border-radius: 8px;
  background: var(--events-primary);
}

.events-section .event-dot:focus-visible {
  outline: 2px solid var(--events-primary);
  outline-offset: 4px;
}

.events-section .events-counter {
  color: var(--events-primary);
  font-size: 12px;
  font-weight: 800;
  white-space: nowrap;
}

/* ---------- Tablet ---------- */
@media (max-width: 850px) {
  .events-section { padding: 42px 16px; }

  .events-section .events-layout {
    grid-template-columns: 36px minmax(0, 1fr) 36px;
    gap: 8px;
  }

  .events-section .side-arrow {
    width: 34px;
    height: 34px;
    min-width: 34px;
    font-size: 16px;
  }

  .events-section .event-image-wrap { height: clamp(230px, 38vw, 320px); }
  .events-section .event-information { padding: 18px 20px; }
  .events-section .event-information h3 { font-size: 22px; }
}

/* ---------- Mobile ---------- */
@media (max-width: 520px) {
  .events-section {
    padding: 34px 10px;
    background: linear-gradient(to bottom, var(--events-bg) 0, var(--events-bg) 210px, #fff 210px, #fff 100%);
  }

  .events-section .events-heading { margin-bottom: 23px; }
  .events-section .events-heading h2 { font-size: 25px; }
  .events-section .events-heading p { font-size: 13px; }

  .events-section .events-layout {
    grid-template-columns: 28px minmax(0, 1fr) 28px;
    gap: 5px;
  }

  .events-section .side-arrow {
    width: 27px;
    height: 27px;
    min-width: 27px;
    font-size: 13px;
  }

  .events-section .event-image-wrap { height: 230px; }
  .events-section .event-information { padding: 15px 13px; }
  .events-section .event-information h3 { font-size: 20px; }
  .events-section .event-information > p { margin-bottom: 12px; font-size: 13px; line-height: 1.6; }
  .events-section .event-details { gap: 8px; padding-top: 10px; }
  .events-section .event-detail { font-size: 12px; }
  .events-section .events-controls { gap: 10px; margin-top: 17px; }
  .events-section .event-dot { width: 8px; height: 8px; }
  .events-section .event-dot.active { width: 21px; }
  .events-section .events-counter { font-size: 11px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .events-section .event-slide.active { animation: none; }
  .events-section .event-image,
  .events-section .side-arrow,
  .events-section .event-dot { transition: none; }
}


/* ---------- Footer: contact card (WhatsApp + Email + Phone) ---------- */
.contact-card {
  display: flex;
  flex-direction: column;
  gap: 11px;
  width: 100%;
  padding: 16px 18px;
  text-align: left;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, .28);
  border-radius: 12px;
}

.contact-card li {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* Gol icon: size / border / colour (42px) */
.contact-card .cc-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, .5);
  background: transparent;
  transition: background .15s, color .15s, transform .15s;
}

.contact-card .cc-icon svg {
  width: 22px;
  height: 22px;
}

.contact-card a.cc-icon:hover,
.contact-card a.cc-icon:focus-visible {
  /* background: #fff; */
  color: var(--blue-darkest);
  transform: translateY(-2px);
}

.contact-card .cc-text {
  min-width: 0;
  font-size: 15px;
  line-height: 1.5;
  overflow-wrap: anywhere;
}
.contact-card .cc-text a{font-size: 13px;}

.contact-card .cc-text strong {
  margin-right: 4px;
  color: #fff;
  font-weight: 600;
}

.contact-card .cc-text a {
  color: #fff;
  text-decoration: underline;
}

.contact-card .cc-text a:hover,
.contact-card .cc-text a:focus-visible {
  color: var(--c-lightest);
}

.contact-card .cc-note {
  display: block;        /* (w.e.f ...) nayi line mein */
  font-size: 13px;
  opacity: .85;
}

@media (max-width: 575px) {
  .contact-card {
    padding: 14px;
    gap: 14px;
  }

  .contact-card .cc-text {
    font-size: 14px;
  }
}

/* .inner-banner {
  position: relative;
}

.hero-slides {
  position: relative;
} */

/* Har slide same area me */
/* .hero-slide {
  display: none;
  width: 100%;
  height: auto;
}

.hero-slide.active {
  display: block;
} */

/* Banner 2: container ki height sirf image jitni */
/* .hero-slide-b2 {
  position: relative;
  line-height: 0;   /* image ke neeche extra gap hatata hai */
/* }

.hero-slide-b2 img {
  display: block;
  width: 100%;
  height: auto;
} */ 

/* Sirf "Press Sewa Portal" text par clickable area */
/* .press-sewa-link {
  position: absolute;
  left: 81.8%;
  top: 66%;
  width: 10.8%;
  height: 8%;

  display: block;
  z-index: 10;
  cursor: pointer;
  background: transparent;
} */

/* Keyboard focus, sirf keyboard use karne par dikhega */
/* .press-sewa-link:focus-visible {
  outline: 3px solid #ff8c00;
  outline-offset: 2px;
  border-radius: 4px;
} */

/* Hover par halka underline effect (optional) */
/* .press-sewa-link:hover {
  background: rgba(10, 79, 163, 0.08);
  border-radius: 4px;
} */
