.header-main {
    background: #081c4a;
}

/* Top section */
.header-top {
    padding: 12px 20px;
}

.header-top .row {
    align-items: center;
}

/* Logos */
.header-logos {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo1 {
    max-width: 180px;
    height: auto;
}

.logo2 {
    max-width: 90px;
    height: auto;
}

/* Title */
.header-title {
    text-align: center;
}

.header-title h1 {
    margin: 0;
    font-size: 26px;
    line-height: 1.25;
    font-weight: 600;
    color: #ffffff;
}

/* ISSN */
.header-issn {
    text-align: right;
    font-size: 18px;
    font-weight: 600;
    color: #ffffff;
}

/* ================= NAV BAR ================= */

.nav-cont {
    background: #000000;
}

.navbar ul li a {
    color: #ffffff;
    font-size: 15px;
    padding: 10px 14px;
}

.navbar ul li a:hover,
.navbar ul li a.active {
    color: #ff9f1c;
}

/* ================= RESPONSIVE ================= */

@media (max-width: 991px) {

    .header-logos {
        justify-content: center;
        margin-bottom: 10px;
    }

    .header-title {
        margin-bottom: 10px;
    }

    .header-title h1 {
        font-size: 20px;
    }

    .header-issn {
        text-align: center;
        font-size: 16px;
    }
}

@media (max-width: 991px) {

  #navbar {
    padding: 20px;
  }

  #navbar ul {
    background: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
  }

  #navbar ul li {
    margin-bottom: 12px;
  }

  #navbar ul li a {
    color: #081c4a !important;
    font-size: 17px;
    font-weight: 500;
  }

  #navbar ul li a:hover {
    color: #ff9f1c !important;
  }

  /* Close icon fix */
  .mobile-nav-toggle.bi-x {
    color: #ffffff;
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
  }
}
/* ========= MOBILE MENU BEAUTIFY ========= */
@media (max-width: 991px) {

  /* Overlay background */
  .navbar-mobile {
    background: rgba(8, 28, 74, 0.85);
    display: flex !important;
    align-items: center;
    justify-content: center;
  }

  /* Menu card */
  .navbar-mobile ul {
    background: #ffffff;
    width: 85%;
    max-width: 360px;
    max-height: 85vh;
    padding: 25px 20px;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
    overflow-y: auto;
  }

  /* Menu items */
  .navbar-mobile ul li {
    margin-bottom: 18px;
  }

  .navbar-mobile ul li:last-child {
    margin-bottom: 0;
  }

  .navbar-mobile ul li a {
    font-size: 17px;
    font-weight: 500;
    color: #081c4a !important;
    padding: 6px 4px;
    display: block;
    border-radius: 6px;
    transition: all 0.2s ease;
  }

  .navbar-mobile ul li a:hover {
    background: #f2f5ff;
    color: #ff9f1c !important;
  }

  /* Close icon */
  .mobile-nav-toggle.bi-x {
    position: fixed;
    top: 22px;
    right: 22px;
    font-size: 26px;
    color: #ffffff;
    z-index: 99999;
  }

  /* Hamburger icon */
  .mobile-nav-toggle.bi-list {
    font-size: 26px;
    color: #ffffff;
  }
}


/* ========= MOBILE MENU FINAL POLISH ========= */
@media (max-width: 991px) {

  /* Menu card */
  .navbar-mobile ul {
    position: relative;
    width: 85%;
    max-width: 360px;

    /* IMPORTANT FIX */
    max-height: calc(100vh - 140px); /* footer + padding accounted */
    padding: 24px 20px 90px 20px;   /* bottom space for strip */

    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  }

 

  /* Menu item spacing safety */
  .navbar-mobile ul li {
    margin-bottom: 16px;
  }

  .navbar-mobile ul li:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {

  /* Mobile menu container */
  .navbar-mobile ul {
    position: relative;
    width: 85%;
    max-width: 360px;

    /* KEY FIX */
    max-height: calc(140vh - 120px);
    padding: 24px 20px 120px 20px; /* 👈 extra bottom padding */

    overflow-y: auto;
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 20px 50px rgba(0,0,0,0.25);
  }



  /* Menu item spacing */
  .navbar-mobile ul li {
    margin-bottom: 16px;
  }

  .navbar-mobile ul li:last-child {
    margin-bottom: 0;
  }
}

@media (max-width: 991px) {

  .navbar-mobile ul {
    max-height: 75vh;
    overflow-y: auto;
    padding: 24px 0;
    margin-bottom: 80px; /* 👈 space for footer */
    border-radius: 16px 16px 0 0;
  }

  .mobile-menu-footer {
    height: 60px;
    background: #081c4a;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 500;

    border-radius: 0 0 16px 16px;
  }

}

/* ================= MOBILE NAV ================= */
@media (max-width: 991px) {

  .navbar-mobile {
    position: fixed;
    inset: 0;
    background: rgba(8, 28, 74, 0.85);
    z-index: 999;
  }

  .navbar-mobile ul {
    position: relative;
    margin: 60px auto 0;
    padding: 60px 10px 90px; /* 👈 bottom space for footer */
    background: #ffffff;
    border-radius: 18px;
    width: 92%;
    max-width: 420px;

    max-height: calc(100vh - 120px); /* 👈 KEY FIX */
    overflow-y: auto;
  }

  .navbar-mobile ul li a {
    display: block;
    padding: 8px 10px;
    font-size: 16px;
    color: #081c4a;
    border-radius: 8px;
  }

  .navbar-mobile ul li a.active,
  .navbar-mobile ul li a:hover {
    background: #f3f6ff;
    color: #ff9f1c;
  }

  /* ===== Footer strip ===== */
  .mobile-menu-footer {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);

    width: 92%;
    max-width: 420px;
    height: 48px;

    background: #081c4a;
    color: #ffffff;

    display: flex;
    align-items: center;
    justify-content: center;

    font-size: 13px;
    font-weight: 500;
    border-radius: 0 0 14px 14px;
    pointer-events: none; /* 👈 menu click safe */
  }
}





/* ===== HEADER TOP SECTION ===== */
.header-top {
    padding: 15px 10px;
}

.header-logos {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.header-logos img {
    max-height: 80px;
    width: auto;
    object-fit: contain;
}

/* Title */
.header-title {
    text-align: center;
}

.header-title h1 {
    font-size: 26px;
    font-weight: 600;
    margin: 10px 0;
    line-height: 1.3;
}

/* ISSN */
.header-issn {
    text-align: center;
    font-size: 16px;
    font-weight: 500;
}

.header-issn span {
    display: inline-block;
    line-height: 1.4;
}

/* ========================= */
/* ===== MOBILE FIX ======== */
/* ========================= */

@media (max-width: 991px) {

    .header-top .row {
        text-align: center;
    }

    .header-logos {
        margin-bottom: 10px;
    }

    .header-logos img {
        max-height: 60px;
    }

    .header-title h1 {
        font-size: 18px;
        margin: 8px 0;
        padding: 0 10px;
    }

    .header-issn {
        margin-top: 8px;
        font-size: 14px;
    }
 }

 /* Default: Desktop View */
#desktop-head {
    display: block;
}

#mobile-head {
    display: none;
}

.mob-header-company-name
{
  padding: 2px !important;
}
.mob-header-company-name h1
 {
  font-size: 16px !important;
  color: #f3f6ff;
  margin: 0px;
 }
 .mob-header-issn-name span
 {
  font-size: 16px !important;
  color: #f3f6ff;
 }

 .mob-header-logo1
 {
  height:50px;
 }
  .mob-header-logo2
 {
  height:50px;
 }

 .nav-right-text
 {
 display: none;
 }

/* Mobile View (Below 992px - Bootstrap lg breakpoint) */
@media (max-width: 991.98px) {

    #desktop-head {
        display: none !important;
    }

    #mobile-head {
        display: block !important;
    }
    .section-title h2 
    {
      font-size: 24px;
    }
    .nav-right-text
    {
      display: block;
    }
 }

 /* Default navbar color */
.nav-cont {
    background-color: #111111; /* same header blue */
}

/* Sirf mobile ke liye agar alag color chahte ho */
@media (max-width: 991.98px) {
    .nav-cont {
        background-color: #111111;  /* change this */
    }
}

.nav-right-text {
    margin-left: auto;   /* 🔥 ye key hai */
    color: #fff;
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
}