/* ===============================

   Custom Menu & Logo Fixes

   =============================== */



.navbar-brand img {

  max-height: 60px !important;

  height: auto;

  width: auto;

}



.custom-header,

.site-branding {

  margin-bottom: 0 !important;

  padding: 0 !important;

}



.custom-header {

  display: block !important;

}



.shrink {

  max-height: none !important;

}



/* Dropdowns hidden by default */

.navbar-nav .dropdown-menu {

  display: none;

  position: absolute;

  background-color: white;

}



.navbar-nav .dropdown:hover .dropdown-menu {

  display: block;

}



/* Fix toggle/nav spacing on mobile */

.navbar-toggler {

  z-index: 10;

  position: relative;

  border: none;

}



.navbar-collapse {

  z-index: 9;

}



.navbar-nav {

  padding-left: 0;

}



.navbar-nav .nav-item {

  /* margin: 0; */

}



.navbar-nav .nav-link {

  padding: 10px 15px;

  color: #333;

  display: block;

}



.navbar-nav .dropdown-item {

  padding: 8px 16px;

  color: #333;

}





.navbar-scrolled .navbar-brand img {

  max-height: 40px;

}

/* 17.6.25 */
nav.navbar{
  padding: 0;
}
.header .navbar-brand img{
  max-height: inherit!important;
}
#mainNavbar .navbar-nav .nav-link{
  font-size: 14px;
  font-weight: bold;
  color: #0a56a4;
  text-transform: uppercase;
  padding: 15px;
}
#mainNavbar .navbar-nav li:hover > a {
    background: #0a56a4;
    color: #40c8f4 !important;
}
#mainNavbar .navbar-nav li ul {
    /* position: absolute;
    top: 100%;
    left: 0px;
    width: 234px;
    padding: 12px 20px;
    list-style: none;
    margin: 0px; */
    background: rgba(10, 86, 164, 0.9);
    border-radius: 0;
    /* display: none; */
}
#mainNavbar .navbar-nav li ul.dropdown-menu li a{
  color: #fff;
  white-space: normal;
}
#mainNavbar .navbar-nav li ul.dropdown-menu li:hover a{
  background: transparent!important;
}
/* #mainNavbar .navbar-nav>li:hover>ul {
    display: block;
} */
 .footer-link-sec ul li a{
      text-decoration: none;
 }
 .blog .inner-content-sec h3 a{
  text-decoration: none;
  color: #337ab7;
 }
 .blog .inner-content-sec h3 a:hover {
    color: #23527c;
    text-decoration: underline;
}
 .blog .inner-content-sec a{
  text-decoration: none;
  color: #337ab7;
 }
 .blog .inner-content-sec a:hover{
    text-decoration: underline;
  }


  .header nav.navbar #mainNavbar ul.navbar-nav li ul li ul {
    position: absolute;
    top: 0%;
    left: 100%;
    width: 234px;
    padding: 12px 0px;
    list-style: none;
    margin: 0px;
    background: rgba(10, 86, 164, 0.9);
    display: none;
}

 .header nav.navbar #mainNavbar ul.navbar-nav>li>ul>li:hover>ul {
    display: block;
}
/* 17.6.25 End*/
@media (max-width: 991px) {

  .navbar-nav .nav-link {

    padding: 10px 15px !important;

    /* border-bottom: 1px solid #ddd !important; */

  }

  .navbar-nav .dropdown-menu {

    position: static !important;

    box-shadow: none !important;

  }

}





/* Ensure the logo stays visible inside navbar */

.navbar-brand img {

  max-height: 80px;

  transition: max-height 0.3s ease;

  z-index: 1000;

  position: relative;

}



/* Shrink logo when sticky menu appears */

.site-navigation-fixed .navbar-brand img {

  max-height: 40px;

}



.navbar-toggler-icon {

  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.5%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22 M4 15h22 M4 23h22'/ %3E%3C/svg%3E");

}



/* Keep navbar fixed to top */

.navbar {

  position: sticky;

  top: 0;

  z-index: 1050;

  background-color: #fff;

}



/* Shrink logo on scroll */

.navbar.navbar-shrink .navbar-brand img {

  max-height: 40px;

  transition: max-height 0.3s ease;

}



/* Default logo size */

.navbar-brand img {

  max-height: 80px;

  height: auto;

  width: auto;

  transition: max-height 0.3s ease;

}





/* Restore Bootstrap 5 hamburger icon */

.navbar-toggler-icon {

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}



/* Prevent mobile nav from expanding by default */

@media (max-width: 991px) {

  /* .navbar-collapse {

    display: none;

  }



  .navbar-collapse.show {

    display: block !important;

  } */



  .navbar-nav .nav-link {

    display: block;

    padding: 10px;

  }

}





.navbar .navbar-brand {

  display: flex !important;

  align-items: center;

}



.navbar .navbar-brand img {

  max-height: 80px;

  height: auto;

  width: auto;

  display: block !important;

  z-index: 1000;

  position: relative;

  transition: max-height 0.3s ease;

}



.navbar.navbar-shrink .navbar-brand img {

  max-height: 40px !important;

}



.navbar-toggler-icon {

  display: inline-block;

  width: 1.5em;

  height: 1.5em;

  vertical-align: middle;

  background: no-repeat center center;

  background-size: 100% 100%;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.7)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}





/* Style and fix logo visibility */

.navbar .custom-logo {

  max-height: 80px;

  height: auto;

  width: auto;

  display: block;

  transition: max-height 0.3s ease-in-out;

}



/* When scrolled, shrink logo */

.navbar.navbar-shrink .custom-logo {

  max-height: 40px;

}



.navbar-toggler-icon {

  display: inline-block;

  width: 1.5em;

  height: 1.5em;

  background: no-repeat center center;

  background-size: 100% 100%;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(0,0,0,0.5)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

}



@media (max-width: 991.98px) {

  .navbar-collapse {

    /* background-color: #fff; */

    /* padding: 10px; */

  }



  .navbar-nav .nav-item {

    /* border-bottom: 1px solid #eee; */

  }



  .navbar-nav .nav-link {

    padding: 10px;

    color: #333;

    display: block;

  }



  .navbar-toggler {

    border: 1px solid #ccc;

  }

}







/* Force hamburger icon to appear for Bootstrap 5 */

.navbar-toggler {

  padding: 0.25rem 0.75rem;

  font-size: 1.25rem;

  line-height: 1;

  background-color: transparent;

  border: 1px solid rgba(0,0,0,.1);

  border-radius: 0.25rem;

}



.navbar-toggler-icon {

  width: 1.5em;

  height: 1.5em;

  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba%280, 0, 0, 0.7%29' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

  background-repeat: no-repeat;

  background-position: center;

  background-size: 100% 100%;

}



.navbar-toggler-icon {

  font-size: 24px;

  color: #000;

  line-height: 1;

}



/* Prevent logo from overlapping hamburger */

.navbar .navbar-brand {

  margin-right: auto;

}



/* Ensure hamburger is visible and clickable */

.navbar-toggler {

  z-index: 9999;

  position: relative;

  margin-left: auto;

}



@media (max-width: 991.98px) {

  .navbar-collapse {

    /* background-color: #fff; */

    /* padding: 10px; */

    /* border-top: 1px solid #ccc; */

  }



  .navbar-nav .nav-item {

    /* border-bottom: 1px solid #eee;

    padding: 0.5rem 0; */

  }



  .navbar-nav .nav-link {

    display: block;

    color: #333;

    font-size: 16px;

    padding: 10px 15px;

  }



  .navbar-nav .dropdown-menu {

    position: static !important;

    float: none;

    background-color: #0a56a4e6;

    box-shadow: none;

    padding-left: 1rem;
    display: block;

  }



  .navbar-nav .dropdown-item {

    padding: 0.5rem 1rem;

    color: #333;

  }



  .navbar-toggler {

    border: 1px solid #ccc;

    padding: 8px 12px;

    margin-left: auto;

  }

}



.navbar-toggler-icon::before {

  content: none !important;

}



@media (max-width: 991.98px) {

  .navbar-collapse {

    /* background-color: #003366 !important;  */
    /* Dark blue background */

    /* padding: 10px; */

  }



  .navbar-nav .nav-item {

    /* border-bottom: 1px solid rgba(255, 255, 255, 0.1); */

  }



  .navbar-nav .nav-link {

    display: block;

    color: #ffffff !important;

    font-size: 16px;

    padding: 10px 15px;

  }



  .navbar-nav .dropdown-menu {

    position: static !important;

    float: none;

    background-color: #0a56a4e6 !important;

    box-shadow: none;

    padding-left: 1rem;
border: 0;
  }



  .navbar-nav .dropdown-item {

    padding: 0.5rem 1rem;

    color: #ffffff !important;

    background-color: transparent !important;

  }



  .navbar-toggler {

    border: 1px solid #ffffff;

    padding: 8px 12px;

    margin-left: auto;

  }



  .navbar-toggler-icon {

    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 30 30' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath stroke='rgba(255,255,255,0.8)' stroke-width='2' stroke-linecap='round' stroke-miterlimit='10' d='M4 7h22M4 15h22M4 23h22'/%3E%3C/svg%3E");

  }

}

@media only screen and (max-width: 767px) {
    .navbar .navbar-brand img {
        width: 90px;
        height: auto;
    }
}

