/* ===== Accessibility contrast ===== */
.a11y-contrast {
    background:#000 !important;
    color:#fff !important;
}
.a11y-contrast a { color:#0ff !important; }

/* ===== TOP ACCESSIBILITY BAR ===== */
.header-right {
    display:flex;
    justify-content:flex-end;
    align-items:center;
    width:100%;
}
.accessibility-bar {
    display:flex;
    align-items:center;
    gap:10px;
    flex-wrap:wrap;
}
.skip-link {
    font-size:12px;
    padding:4px 8px;
    border-radius:12px;
    background:#f5f5f5;
    color:#333;
    white-space:nowrap;
    text-decoration:none;
}
.skip-link:hover { background:#eaeaea; }

.a11y-font {
    display:flex;
    gap:4px;
}
.a11y-font button {
    border:1px solid #ccc;
    background:#fff;
    padding:2px 6px;
    font-size:12px;
    border-radius:6px;
    cursor:pointer;
}
.sitemap-icon {
    font-size:16px;
    cursor:pointer;
}

/* ===== MAIN HEADER LAYOUT (CENTER FIX) ===== */
.header-main {
    display:flex;
    align-items:center;              /* vertical center */
    justify-content:space-between;
    gap:10px;
    padding:12px 0;                  /* top-bottom equal */
    min-height:90px;
}

/* Logos */
.header-logo {
    display:flex;
    align-items:center;
}
.header-logo img {
    height:70px;
    width:auto;
}

/* LEFT LOGO – only logo width */
.left-logo {
    flex:0 0 auto;
}

/* CENTER MENU – takes remaining space */
.header-menu {
    flex:1 1 auto;
    display:flex;
    align-items:center;
    justify-content:center;
}

/* RIGHT LOGOS */
.right-logos {
    flex:0 0 auto;
    display:flex;
    align-items:center;
    gap:10px;
}

/* MENU SINGLE LINE */
.navbar-nav {
    flex-wrap:nowrap;
    white-space:nowrap;
    align-items:center;
}
.navbar-nav .nav-link {
    padding:0 10px;
    font-size:15px;
}

/* ===== DESKTOP DROPDOWN POSITION FIX ===== */


/* ================= MOBILE HEADER FINAL FIX ================= */
@media (max-width: 991px) {

  /* ---------- HEADER MAIN ROW ---------- */
  .header-main {
    display: flex !important;
    align-items: center;
    padding: 8px 12px !important;
    gap: 8px;
    flex-wrap: nowrap;
  }

  /* ---------- LEFT LOGO ---------- */
  .left-logo img {
    height: 44px !important;
    width: auto;
  }

  /* ---------- RIGHT LOGOS (SAME SIZE AS LEFT) ---------- */
  .right-logos {
    display: flex !important;
    align-items: center;
    gap: 6px;
    order: 2; /* ✅ दूसरा क्रम */
    margin-left: auto; /* ✅ दाईं तरफ push करें */
  }

  .right-logos img {
    height: 44px !important;
    width: auto;
  }

  /* ---------- HAMBURGER LAST (EXTREME RIGHT) ---------- */
  .header-menu {
    order: 3; /* ✅ तीसरा क्रम (सबसे दाईं) */
    flex: 0 0 auto !important;
    margin-left: 0 !important;
  }

  .navbar-toggler {
    padding: 6px 8px;
    font-size: 22px;
    order: 3;
  }

  /* ---------- FLOATING MENU (NOT CHIPKA) ---------- */
  .navbar-collapse {
    position: absolute !important;
    top: 100%;
    left: 12px;
    right: 12px;
    margin-top: 12px;
    background: #fff;
    border-radius: 18px;
    box-shadow: 0 18px 40px rgba(0,0,0,.25);
    padding: 8px 0;
    z-index: 9999;
  }

  /* ---------- MENU LIST ---------- */
  .navbar-nav {
    display: flex;
    flex-direction: column !important;
    width: 100%;
  }

  .navbar-nav .nav-item {
    width: 100%;
  }

  .navbar-nav .nav-link {
    padding: 14px 20px !important;
    font-size: 15px;
    border-bottom: 1px solid #eee;
  }

  /* ---------- DROPDOWN (NOT STUCK) ---------- */
  .dropdown-menu {
    position: static !important;
    background: #f7f7f7;
    margin: 0;
    border-radius: 0 0 14px 14px;
  }

  .dropdown-item {
    padding: 12px 28px;
    font-size: 14px;
  }

  /* ---------- TOP ACCESSIBILITY BAR (ONE LINE) ---------- */
  .accessibility-bar {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    flex-wrap: nowrap !important;
  }

  .accessibility-bar .sitemap-icon {
    display: none !important;
  }

  .accessibility-bar,
  .accessibility-bar * {
    font-size: 11px !important;
    white-space: nowrap;
  }
}
/* ===== MOBILE MENU ITEM GAP FIX ===== */
@media (max-width: 991px) {

  /* menu items ke beech gap */
  .navbar-nav > .nav-item {
    margin-bottom: 10px;   /* 👈 bas itna hi chahiye */
  }

  /* last item ke neeche extra gap na aaye */
  .navbar-nav > .nav-item:last-child {
    margin-bottom: 0;
  }

}


/* ===== DESKTOP SEARCH ===== */
.header-search-desktop {
    display: block;
}

.header-search-desktop input {
    height: 34px;
    padding: 4px 10px;
    font-size: 12px;
    border-radius: 14px;
    border: 1px solid #ccc;
    outline: none;
    width: 300px;
}

.header-search-desktop input:focus {
    border-color: #666;
}

/* ❌ MOBILE PE HIDE */
@media (max-width: 991px) {
    .header-search-desktop {
        display: none !important;
    }
}


.notranslate {
    -webkit-user-select: none;
}



.justify{
    text-align:justify !important;
}