.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  color: #fff;
    position: fixed;
    z-index: 9;
    width: 100%;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.navbar.bgcolor {
    background-color: var(--secondmaincolor);
    padding: 10px 0;
    -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
 
}
.navbar.bgcolor .brand-title img {
    max-width: 120px;
     -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.brand-title img {
    max-width: 180px;
     -webkit-transition: all 0.3s ease-in-out;
    -moz-transition: all 0.3s ease-in-out;
    -o-transition: all 0.3s ease-in-out;
    -ms-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.nav-flex {
     display: flex;
  justify-content: space-between;
  align-items: center;
}
.brand-title {
  font-size: 1.5rem;
}

#menu-toggle {
  display: none;
}

.toggle-button {
  display: none;
  cursor: pointer;
  flex-direction: column;
  gap: 5px;
	padding:0;
}

.toggle-button span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #fff;
  transition: transform 0.3s ease;
    position: relative;
    z-index: 99;
}

.navbar-links {
  display: flex;
  gap: 1.5rem;
    text-align: right;
}

.navbar-links ul {
  list-style: none;
}

.navbar-links ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
    font-family: var(--font-three);
}

.navbar-links ul li a:hover {
  color: #ddd;
}

@media (max-width: 768px) {
  .toggle-button {
    display: flex;
  }

  .navbar-links {
    position: fixed;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: #333;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    transition: left 0.5s ease;
  }

  /* Slide-in animation */
  #menu-toggle:checked + .toggle-button + .navbar-links {
    left: 0;
  }

  .navbar-links ul {
    flex-direction: column;
    gap: 1rem;
  }

  /* Optional: Hamburger Animation for Close */
  #menu-toggle:checked + .toggle-button span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }

  #menu-toggle:checked + .toggle-button span:nth-child(2) {
    opacity: 0;
  }

  #menu-toggle:checked + .toggle-button span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }
}
.head-container {
    width: 90%;
    max-width: 1800px;
    margin: 0 auto;
}