.header_section {
  background-color: #00204a; /* Matches your footer for consistency */
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.custom_navbar {
  max-width: 1100px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.navbar-brand {
  font-size: 24px;
  font-weight: bold;
  color: #ffffff;
  text-decoration: none;
}

.navbar-brand span {
  color: #00bbf0;
}

.nav_list {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 20px;
}

.nav_list a {
  color: #ffffff;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 14px;
  font-weight: 600;
  transition: 0.3s;
  padding: 8px 12px;
}

.nav_list a:hover, .nav_list a.active {
  color: #00bbf0;
}

/* Mobile Menu Button */
.menu_toggle {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  gap: 6px;
  background: none;
  border: none;
  cursor: pointer;
}

.menu_toggle span {
  display: block;
  width: 30px;
  height: 3px;
  background-color: white;
  transition: 0.3s;
}

/* Mobile Responsive Logic */
@media (max-width: 768px) {
  .menu_toggle {
    display: flex;
  }

  .nav_list {
    display: none; /* Hidden by default on mobile */
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #00204a;
    padding: 20px;
    text-align: center;
  }

  /* When the menu is open */
  .nav_list.show {
    display: flex;
  }
}

/* Animation for the Hamburger to X */
.menu_toggle.open span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.menu_toggle.open span:nth-child(2) {
  opacity: 0; /* Hide middle bar */
}

.menu_toggle.open span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}