/* ==========================================================================
   MULTI-LEVEL HEADER & NAVIGATION STYLES
   ========================================================================== */

.site-header {
  position: relative;
  width: 100%;
  background: var(--bg-surface);
  box-shadow: var(--shadow-sm);
  z-index: 1000;
}

/* 1. TOP UTILITY BAR */
.top-utility-bar {
  background: var(--bg-subtle);
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.815rem;
  padding: 0.35rem 0;
  color: var(--text-muted);
}

.top-utility-bar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.utility-left {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-weight: 600;
  color: var(--text-main);
}

.utility-flag {
  width: 20px;
  height: 13px;
  border-radius: 1px;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
}

.utility-divider {
  color: var(--border-medium);
}

.utility-tagline {
  font-size: 0.75rem;
  color: var(--text-muted);
}

.utility-right {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.accessibility-tools {
  display: inline-flex;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  overflow: hidden;
}

.acc-btn {
  padding: 0.2rem 0.55rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-main);
  background: transparent;
  transition: all var(--transition-fast);
  border-right: 1px solid var(--border-medium);
}

.acc-btn:last-child {
  border-right: none;
}

.acc-btn:hover, .acc-btn:focus {
  background: var(--primary-blue);
  color: #ffffff;
}

.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.2rem 0.6rem;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-sm);
  background: var(--bg-surface);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-main);
  transition: all var(--transition-fast);
}

body.high-contrast .theme-toggle-btn {
  background: #facc15;
  color: #000000 !important;
  border-color: #facc15;
  font-weight: 700;
}

body.high-contrast .theme-toggle-btn:hover {
  background: #ffffff;
  color: #000000 !important;
  border-color: #ffffff;
}

.theme-toggle-btn:hover {
  background: var(--primary-navy);
  color: #ffffff;
}

.theme-btn-label {
  display: inline;
}

.lang-switch-btn {
  display: none;
}

/* BHASHINI LANGUAGE SELECTOR & ACCESSIBILITY WIDGET */
.bhashini-widget-group {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.bhashini-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.bhashini-trigger-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 34px;
  border: 1px solid var(--border-medium);
  border-radius: 4px;
  background: var(--bg-surface);
  color: #312e81;
  cursor: pointer;
  padding: 0;
  position: relative;
  transition: all var(--transition-fast);
  box-shadow: var(--shadow-xs);
}

.bhashini-trigger-btn:hover,
.bhashini-trigger-btn.active {
  background: #f5f3ff;
  border-color: #6366f1;
  box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.bhashini-icon-chars {
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1;
  position: relative;
  width: 24px;
  height: 24px;
  pointer-events: none;
}

.bhashini-icon-chars .char-devanagari {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: #312e81;
  position: absolute;
  top: 1px;
  left: 2px;
  line-height: 1;
}

.bhashini-icon-chars .char-latin {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  color: #312e81;
  position: absolute;
  bottom: 0px;
  right: 2px;
  line-height: 1;
}

/* Dropdown Menu floating */
.bhashini-dropdown-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  width: 195px;
  background: #ffffff;
  border: 1px solid #b8b8b8;
  border-radius: 4px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.08);
  z-index: 1200;
  display: none;
  flex-direction: column;
  overflow: hidden;
  animation: bhashiniFadeIn 0.16s ease-out forwards;
}

.bhashini-dropdown-menu.show {
  display: flex;
}

@keyframes bhashiniFadeIn {
  from {
    opacity: 0;
    transform: translateY(-4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.bhashini-list-scroll {
  max-height: 260px;
  overflow-y: scroll;
  overflow-x: hidden;
  padding: 4px 0;
  scrollbar-width: thin;
  scrollbar-color: #7f7f7f #f1f1f1;
}

.bhashini-list-scroll::-webkit-scrollbar {
  width: 15px;
}

.bhashini-list-scroll::-webkit-scrollbar-track {
  background: #f1f1f1;
  border-left: 1px solid #d0d0d0;
}

.bhashini-list-scroll::-webkit-scrollbar-thumb {
  background: #777777;
  border-radius: 2px;
  border: 2px solid #f1f1f1;
}

.bhashini-list-scroll::-webkit-scrollbar-thumb:hover {
  background: #444444;
}

.bhashini-lang-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.bhashini-lang-item {
  padding: 6px 14px;
  font-size: 0.88rem;
  line-height: 1.35;
  color: #1a1a1a;
  cursor: pointer;
  transition: background 0.12s ease;
  font-family: 'Noto Sans Devanagari', 'Inter', sans-serif;
  user-select: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.bhashini-lang-item:hover {
  background: #f0f4f8;
  color: #0b3a75;
}

.bhashini-lang-item.active {
  background: #e5edf7;
  color: #0d3c61;
  font-weight: 700;
}

.bhashini-lang-item.active::after {
  content: '✓';
  font-size: 0.8rem;
  color: #1a56db;
  font-weight: 800;
  margin-left: 6px;
}

/* Footer of the dropdown: "Powered by BHASHINI" */
.bhashini-footer {
  border-top: 1px solid #d8d8d8;
  background: #ffffff;
  padding: 7px 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  user-select: none;
}

.bhashini-footer-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.bhashini-dialog-icon {
  width: 22px;
  height: 22px;
  color: #1e293b;
  flex-shrink: 0;
}

.bhashini-powered-text {
  font-size: 0.6rem;
  line-height: 1.1;
  color: #475569;
  font-weight: 600;
  text-align: left;
}

.bhashini-footer-right {
  display: flex;
  align-items: center;
  gap: 4px;
}

.bhashini-logo-mark {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.bhashini-logo-text {
  font-size: 0.68rem;
  font-weight: 900;
  color: #1a365d;
  letter-spacing: 0.5px;
  font-family: 'Inter', sans-serif;
}

/* Floating Toast for Language Change Notification */
.bhashini-toast {
  position: fixed;
  bottom: 24px;
  right: 24px;
  background: #1e293b;
  color: #ffffff;
  padding: 10px 18px;
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.25);
  font-size: 0.85rem;
  font-weight: 500;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 99999;
  transform: translateY(100px);
  opacity: 0;
  transition: all 0.25s ease-out;
  pointer-events: none;
}

.bhashini-toast.show {
  transform: translateY(0);
  opacity: 1;
}

.bhashini-toast-badge {
  background: #3b82f6;
  color: #ffffff;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
}

/* Hide Google Translate default banners & keep Bhashini UI clean */
.goog-te-banner-frame.skiptranslate,
iframe.goog-te-banner-frame {
  display: none !important;
}
body {
  top: 0px !important;
}
#goog-gt-tt,
.goog-te-balloon-frame,
.VIpgJd-ZVi9od-ORHb-OEVmcd {
  display: none !important;
}
.goog-text-highlight {
  background: none !important;
  box-shadow: none !important;
}
.goog-te-gadget {
  display: none !important;
}
#google_translate_element {
  display: none !important;
}

/* 2. MAIN BRANDING HEADER */
.main-brand-header {
  padding: 0.85rem 0;
  background: #ffffff;
  border-bottom: 1px solid var(--border-subtle);
}

.brand-wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
}

.brand-left {
  display: flex;
  align-items: center;
  gap: 1rem;
  text-decoration: none;
}

.bsrdc-main-logo {
  height: 72px;
  width: auto;
  object-fit: contain;
}

.bsrdc-emblem-img {
  height: 66px;
  width: auto;
  flex-shrink: 0;
}

.brand-text-block {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.brand-hi {
  font-family: 'Noto Sans Devanagari', sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  color: #0b2545;
  line-height: 1.25;
}

.brand-en {
  font-family: 'Inter', sans-serif;
  font-weight: 800;
  font-size: 1.22rem;
  color: #0f3057;
  letter-spacing: -0.2px;
  line-height: 1.2;
}

.brand-sub {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 0.76rem;
  color: #475569;
  line-height: 1.3;
  margin-top: 2px;
}

.header-center-search {
  flex: 1;
  max-width: 440px;
  position: relative;
}

.search-input-wrapper {
  display: flex;
  align-items: center;
  background: var(--bg-subtle);
  border: 1.5px solid var(--border-medium);
  border-radius: var(--radius-full);
  padding: 0.2rem 0.4rem 0.2rem 1.1rem;
  transition: all var(--transition-fast);
}

.search-input-wrapper:focus-within {
  border-color: var(--primary-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(29, 78, 216, 0.12);
}

.search-input-wrapper input {
  width: 100%;
  border: none;
  background: transparent;
  padding: 0.45rem 0.5rem;
  font-size: 0.875rem;
  color: var(--text-main);
  outline: none;
}

.search-input-wrapper input::placeholder {
  color: var(--text-muted);
}

.search-submit-btn {
  background: var(--primary-blue);
  color: #ffffff;
  width: 34px;
  height: 34px;
  border-radius: var(--radius-full);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background var(--transition-fast);
}

.search-submit-btn:hover {
  background: var(--accent-saffron);
}

.search-suggestions-box {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  background: #ffffff;
  border: 1px solid var(--border-medium);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  padding: 0.75rem;
  display: none;
  z-index: 1050;
}

.search-suggestions-box.active {
  display: block;
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  color: var(--text-main);
  transition: background var(--transition-fast);
  cursor: pointer;
}

.search-suggestion-item:hover {
  background: var(--bg-subtle);
  color: var(--primary-blue);
}

.search-suggestion-badge {
  font-size: 0.7rem;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  background: #e2e8f0;
  color: #475569;
}

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

.partner-logo-img {
  height: 42px;
  width: auto;
  object-fit: contain;
}

/* 3. MAIN NAVBAR (DESKTOP) */
.main-navbar {
  background: var(--primary-navy);
  border-top: 2px solid var(--accent-gold);
  border-bottom: 3px solid var(--accent-saffron);
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.nav-menu-list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.95rem 1rem;
  color: #ffffff;
  font-size: 0.9rem;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition-fast);
  border-bottom: 3px solid transparent;
  margin-bottom: -3px;
}

.nav-link:hover, .nav-item:focus-within > .nav-link, .nav-link.active {
  color: #fbbf24;
  background: rgba(255, 255, 255, 0.08);
  border-bottom-color: var(--accent-saffron);
}

.nav-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition-fast);
}

.nav-item:hover > .nav-link .nav-arrow,
.nav-item:focus-within > .nav-link .nav-arrow {
  transform: rotate(180deg);
}

/* DROPDOWN MENU */
.nav-dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 240px;
  background: #1e293b;
  border-top: 3px solid var(--accent-saffron);
  box-shadow: var(--shadow-xl);
  border-radius: 0 0 var(--radius-md) var(--radius-md);
  padding: 0.5rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: all var(--transition-fast);
  z-index: 1000;
}

.nav-item:hover > .nav-dropdown,
.nav-item:focus-within > .nav-dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 1.25rem;
  color: #e2e8f0;
  font-size: 0.85rem;
  font-weight: 500;
  transition: all var(--transition-fast);
  border-left: 3px solid transparent;
  text-decoration: none;
}

.dropdown-item:hover, .dropdown-item:focus {
  background: rgba(245, 130, 32, 0.15);
  color: #fbbf24;
  border-left-color: var(--accent-saffron);
  padding-left: 1.5rem;
}

.dropdown-badge {
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.15rem 0.4rem;
  background: var(--accent-saffron);
  color: #ffffff;
  border-radius: 3px;
}

/* Mobile Hamburger & Controls */
.mobile-nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #ffffff;
  padding: 0.75rem;
  font-size: 1.4rem;
}


/* ==========================================================================
   OFFICIAL GOVERNMENT OF BIHAR MOBILE OFFCANVAS DRAWER (GIGW / S3WaaS)
   ========================================================================== */

.drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(4px);
  z-index: 2999;
  display: none;
  opacity: 0;
  transition: opacity var(--transition-base);
}

.drawer-backdrop.open {
  display: block;
  opacity: 1;
}

.mobile-offcanvas-drawer {
  position: fixed;
  top: 0;
  left: -100%;
  width: 86%;
  max-width: 380px;
  height: 100vh;
  background: linear-gradient(180deg, #07192f 0%, #0b2545 40%, #061527 100%);
  color: #ffffff;
  z-index: 3000;
  overflow-y: auto;
  box-shadow: 6px 0 30px rgba(0, 0, 0, 0.6);
  transition: left 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  padding: 0;
  display: flex;
  flex-direction: column;
}

.mobile-offcanvas-drawer.open {
  left: 0;
}

/* Drawer Official Header */
.drawer-header-official {
  padding: 1.15rem 1rem 0.85rem;
  background: #051426;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.drawer-brand-wrap {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.drawer-emblem-img {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
  flex-shrink: 0;
}

.drawer-brand-text {
  min-width: 0;
}

.drawer-brand-hi {
  font-size: 0.82rem;
  font-weight: 800;
  color: #fbbf24;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.drawer-brand-en {
  font-size: 0.68rem;
  color: #cbd5e1;
  font-weight: 600;
  margin-top: 0.15rem;
  letter-spacing: 0.02em;
}

.drawer-close-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: #dc2626;
  border-color: #dc2626;
  color: #ffffff;
  transform: rotate(90deg);
}

/* Tricolor Accent Line */
.drawer-tricolor-line {
  height: 3.5px;
  width: 100%;
  background: linear-gradient(90deg, #ff9933 33.3%, #ffffff 33.3%, #ffffff 66.6%, #138808 66.6%);
  flex-shrink: 0;
}

/* Citizen Helpline & e-Tenders Quick Bar */
.drawer-helpline-bar {
  padding: 0.65rem 1rem;
  background: rgba(15, 23, 42, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  flex-shrink: 0;
}

.drawer-helpline-left {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.drawer-helpline-icon {
  font-size: 1.15rem;
  color: #fbbf24;
}

.drawer-helpline-info {
  display: flex;
  flex-direction: column;
}

.drawer-helpline-sub {
  font-size: 0.65rem;
  color: #94a3b8;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.drawer-helpline-num {
  font-size: 0.82rem;
  font-weight: 800;
  color: #ffffff;
  text-decoration: none;
}

.drawer-helpline-num:hover {
  color: #fbbf24;
  text-decoration: underline;
}

.drawer-quick-tender-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #ffffff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 0.3rem 0.65rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(245, 158, 11, 0.4);
  transition: transform 0.2s ease;
}

.drawer-quick-tender-badge:hover {
  transform: scale(1.04);
}

.quick-tender-icon {
  animation: pulseBolt 1.8s infinite;
}

/* Navigation Section Title */
.drawer-nav-section-title {
  padding: 0.85rem 1rem 0.35rem;
  font-size: 0.68rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #94a3b8;
}

/* Nav List */
.mobile-nav-list {
  padding: 0 0.65rem 1rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style: none;
  margin: 0;
}

.mobile-nav-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.7rem 0.65rem;
  border-radius: 8px;
  color: #f1f5f9;
  font-size: 0.88rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  min-height: 44px;
}

.mnav-left {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.mnav-icon {
  font-size: 1.05rem;
  width: 22px;
  text-align: center;
  flex-shrink: 0;
}

.mnav-title {
  line-height: 1.3;
}

.mobile-nav-link:hover,
.mobile-nav-link:active {
  background: rgba(255, 255, 255, 0.08);
  color: #fbbf24;
}

.nav-arrow {
  font-size: 0.7rem;
  color: #94a3b8;
  transition: transform 0.25s ease;
}

/* Badges */
.mnav-badge {
  font-size: 0.62rem;
  font-weight: 800;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.mnav-badge-tender {
  background: #d97706;
  color: #ffffff;
}

.mnav-badge-new {
  background: #16a34a;
  color: #ffffff;
}

/* Dropdown Accordion */
.mobile-dropdown-menu {
  display: none;
  background: rgba(5, 20, 38, 0.75);
  border-radius: 8px;
  padding: 0.35rem 0.5rem;
  margin: 0.2rem 0.25rem 0.5rem 1.65rem;
  border-left: 2.5px solid #f59e0b;
}

.mobile-dropdown-menu.active {
  display: block;
}

.mobile-dropdown-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.5rem;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.mobile-dropdown-item:hover {
  color: #fbbf24;
  background: rgba(255, 255, 255, 0.06);
}

.mdd-dot {
  color: #f59e0b;
  font-size: 0.85rem;
}

/* Official Drawer Footer */
.drawer-footer-official {
  padding: 0.85rem 1rem;
  background: #051426;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  flex-shrink: 0;
}

.drawer-footer-emblem-badge {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.35rem;
}

.drawer-footer-emblem {
  width: 24px;
  height: 24px;
  object-fit: contain;
  opacity: 0.85;
}

.drawer-footer-meta {
  display: flex;
  flex-direction: column;
}

.drawer-footer-name {
  font-size: 0.75rem;
  font-weight: 700;
  color: #e2e8f0;
}

.drawer-footer-cin {
  font-size: 0.62rem;
  color: #94a3b8;
  font-family: monospace;
}

.drawer-footer-compliance {
  font-size: 0.65rem;
  color: #10b981;
  font-weight: 700;
  margin-bottom: 0.35rem;
}

.drawer-footer-links {
  display: flex;
  align-items: center;
  gap: 0.45rem;
  font-size: 0.68rem;
  color: #94a3b8;
}

.drawer-footer-links a {
  color: #cbd5e1;
  text-decoration: none;
}

.drawer-footer-links a:hover {
  color: #fbbf24;
  text-decoration: underline;
}

/* ==========================================================================
   QUICK ACTION BUTTON: ACTIVE TENDERS (HIGH-VISIBILITY & SHARP LEGIBILITY)
   ========================================================================== */
.mobile-nav-quick-actions {
  display: none !important;
}

.mobile-nav-quick-action {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 55%, #b45309 100%);
  color: #ffffff !important;
  font-family: 'Inter', var(--font-primary), -apple-system, sans-serif;
  font-size: 0.85rem;
  font-weight: 800;
  letter-spacing: 0.35px;
  line-height: 1.1;
  padding: 0.42rem 0.95rem;
  border-radius: 9999px;
  border: 1.5px solid #fef08a;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), 0 0 12px rgba(245, 158, 11, 0.35);
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  text-decoration: none !important;
  white-space: nowrap;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.mobile-nav-quick-action .quick-icon {
  font-size: 1rem;
  line-height: 1;
  filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.6));
  display: inline-block;
  animation: pulseBolt 2s infinite ease-in-out;
}

.mobile-nav-quick-action .quick-text {
  color: #ffffff !important;
  font-weight: 800;
  letter-spacing: 0.35px;
  text-transform: none;
}

.mobile-nav-quick-action:hover,
.mobile-nav-quick-action:focus {
  background: linear-gradient(135deg, #fbbf24 0%, #ea580c 100%);
  color: #ffffff !important;
  border-color: #ffffff;
  transform: translateY(-1.5px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.6), 0 2px 4px rgba(0, 0, 0, 0.4);
  text-decoration: none !important;
}

.mobile-nav-quick-action:active {
  transform: translateY(0);
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

@keyframes pulseBolt {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.22); opacity: 0.95; }
}

/* RESPONSIVE BREAKPOINTS FOR HEADER */
@media (max-width: 1024px) {
  .header-center-search {
    max-width: 320px;
  }
  .partner-logo-img {
    height: 34px;
  }
  .nav-link {
    padding: 0.85rem 0.65rem;
    font-size: 0.85rem;
  }
}

@media (max-width: 868px) {
  /* 1. TOP UTILITY BAR MOBILE */
  .top-utility-bar {
    padding: 0.25rem 0;
    font-size: 0.72rem;
  }
  
  .top-utility-bar .container {
    flex-wrap: nowrap;
    gap: 0.35rem;
    padding: 0 0.5rem;
  }
  
  .utility-left {
    gap: 0.35rem;
    font-size: 0.72rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
  }
  
  .utility-flag {
    width: 16px;
    height: 11px;
    flex-shrink: 0;
  }
  
  .utility-divider,
  .utility-tagline {
    display: none !important;
  }
  
  .utility-right {
    gap: 0.3rem;
    flex-shrink: 0;
  }
  
  .accessibility-tools {
    border-radius: 3px;
  }
  
  .acc-btn {
    padding: 0.15rem 0.35rem;
    font-size: 0.65rem;
    font-weight: 700;
  }
  
  .theme-toggle-btn {
    padding: 0.15rem 0.4rem;
    font-size: 0.75rem;
    border-radius: 3px;
  }
  
  .theme-btn-label {
    display: none !important;
  }
  
  .bhashini-widget-group {
    gap: 0.3rem;
  }
  
  .bhashini-trigger-btn {
    width: 32px;
    height: 28px;
    border-radius: 3px;
  }
  
  .bhashini-icon-chars {
    width: 20px;
    height: 20px;
  }
  
  .bhashini-icon-chars .char-devanagari {
    font-size: 0.78rem;
    top: 0;
    left: 1px;
  }
  
  .bhashini-icon-chars .char-latin {
    font-size: 0.65rem;
    bottom: 0;
    right: 1px;
  }

  .bhashini-dropdown-menu {
    right: 0;
    width: 180px;
  }

  /* 2. MAIN BRAND HEADER MOBILE */
  .main-brand-header {
    padding: 0.55rem 0;
  }
  
  .brand-wrapper {
    flex-direction: column;
    align-items: stretch;
    gap: 0.5rem;
  }
  
  .brand-left {
    gap: 0.65rem;
    align-items: center;
    width: 100%;
  }
  
  .bsrdc-main-logo {
    height: 50px;
    max-width: 100%;
  }

  .bsrdc-emblem-img {
    height: 48px;
  }
  
  .brand-hi {
    font-size: 0.82rem;
    line-height: 1.22;
  }
  
  .brand-en {
    font-size: 0.88rem;
    line-height: 1.18;
  }
  
  .brand-sub {
    font-size: 0.68rem;
    line-height: 1.2;
    color: #15803d;
  }
  
  .brand-right {
    display: none;
  }

  .header-center-search {
    order: 2;
    width: 100%;
    max-width: 100%;
    margin-top: 0;
  }
  
  .search-input-wrapper {
    padding: 0.15rem 0.35rem 0.15rem 0.85rem;
    border-radius: 20px;
  }
  
  .search-input-wrapper input {
    font-size: 0.82rem;
    padding: 0.35rem 0.4rem;
  }
  
  .search-submit-btn {
    width: 30px;
    height: 30px;
  }
  
  /* 3. MOBILE NAVIGATION BAR */
  .main-navbar {
    position: relative;
    padding: 0;
  }
  
  .navbar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.35rem 0.75rem;
  }

  .nav-menu-list {
    display: none;
  }
  
  .mobile-nav-toggle {
    display: inline-flex !important;
    align-items: center;
    gap: 0.45rem;
    background: transparent;
    border: none;
    color: #ffffff;
    font-size: 1.15rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
  }
  
  .mobile-nav-toggle-text {
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
  }

  .mobile-nav-quick-actions {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
  }

  .mobile-nav-quick-action {
    padding: 0.34rem 0.8rem;
    font-size: 0.78rem;
    font-weight: 800;
  }
}

@media (max-width: 480px) {
  .mobile-nav-quick-action {
    padding: 0.28rem 0.65rem;
    font-size: 0.74rem;
    font-weight: 800;
  }
  .bsrdc-emblem-img {
    height: 42px;
  }
  
  .brand-hi {
    font-size: 0.76rem;
  }
  
  .brand-en {
    font-size: 0.8rem;
  }
  
  .brand-sub {
    display: none;
  }
  
  .utility-left span {
    font-size: 0.68rem;
  }
  
  .acc-btn {
    padding: 0.1rem 0.25rem;
    font-size: 0.6rem;
  }

  .bhashini-dropdown-menu {
    right: -10px;
    width: 175px;
  }
}


