

/*Global Navigation styles--------------------------------------------- */
nav {
  background-color: #000000;
  position: fixed;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999; 
  justify-content: space-between;
  align-items: center; 
}


/* .brand-logo-container {
  display: flex;
  align-items: center;
  padding: 10px 0;
} */

.brand-logo {
  height: 70px;
  width: auto;
  top: 10px;
  left: 0px;
  position: absolute;
}

nav ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
  overflow: hidden;
  display: flex;
  align-items: flex-end; /* Align items at the bottom */
  justify-content: center; /* Center items horizontally */
  height: 100px; 
}


nav ul li a {
  display: flex;
  align-items: flex-end; /* Align text at the bottom */
  justify-content: center; /* Center text horizontally */
  color: #fff;
  text-align: center;
  padding: 14px 16px;
  text-decoration: none;
  margin-right: 5px;
  font-weight: bold;
  transition: color 0.3s ease-in-out, text-decoration 0.3s ease-in-out, transform 0.3s ease-in-out; 
}

nav ul li a:hover {
  color: lightyellow;
  transform: scale(1.05); 
}

nav ul li .active{
  color: lightyellow;
  text-decoration: underline;
}


/* Hamburger menu styles-------------------------------------------------- */
.menu-toggle {
   display: none; /* not to show in pc size */
}


/* Styles for when the menu is active */
.menu-toggle.active .bar:nth-child(1) {
transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active .bar:nth-child(2) {
transform: rotate(-45deg) translate(5px, -5px);
/* opacity: 0; */
}

.menu-toggle.active .bar:nth-child(3) {
/* transform: rotate(-45deg) translate(5px, -5px); */
opacity: 0;
}


/* Mobile view nav styling for smaller screen */
@media (max-width: 768px) {
  .brand-logo{
    height: 50px;
    width: auto;
    top: 0px;
    left: 1px;
    position: absolute;
  }

  .menu-toggle {
      display: flex;
      float: right;
      margin-right: 10px;
      width: 40px;
      flex-direction: column;
      align-items: center;
      justify-content: center;
  }

  .menu-toggle .bar {
      height: 3px;
      width: 30px;
      background-color: white;
      margin: 6px 0;
      transition: 0.4s;
  }

  .nav-menu {
      display: none;
      flex-direction: column;
      width: 100%;
      text-align: left;
      position: absolute;
      top: 50px; 
      left: 0;
      background-color: #333;
      z-index: 1;
  }

  .nav-menu.active {
      display: flex;
  }

  nav{
    height: 50px;
  }

  nav ul {
      flex-direction: column;
      align-items: flex-start;
      height: auto;
      padding: 0;
  }

  nav ul li {
      width: 100%;
      text-align: left;
  }

  nav ul li a {
      width: 100%;
      padding: 12px 16px;
      align-items: center;
      text-align: left;
      transition: color 0.3s ease; /* Add transition for hover effect */
  }
}


/*only for blog page nav css */
.blog-page nav ul {
  margin-top: -80px; 
}

@media (max-width: 768px) {
  .blog-page .nav-menu{
    margin-top: 0px;
  }
}

