/* Base Navbar */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1em 2em;
  display: flex;
  justify-content: space-between; /* logo left, toggle right */
  align-items: center;
  background: transparent;
  transition: background 0.3s ease;
  z-index: 1000;
  box-sizing: border-box; 
  border-bottom:none;
}

.navbar.scrolled {
  background: white;
  border-bottom: 1px solid #333;
}

.navbar .logo {
  font-size: 1.5rem;
  font-weight: bold;
  color: black;
}

/* Navbar Toggle Button */
.toggle-btn {
  display: flex;
  flex-direction: column;
  align-items: center;   /* keep bars centered */
  justify-content: center;
  gap: 6px;              /* <-- adjust this value for spacing */
  width: 30px;
  height: auto;          /* let height grow naturally */
  cursor: pointer;
  color:white;
  z-index: 1100;
}

.logo img {
  height: 60px;   /* adjust size as needed */
  width: auto;
  object-fit: contain;
}


span.one,
span.two {
  width: 100%;
  height: 3px;
  background: #EBCB90;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Fullscreen Menu */
.menu {
  z-index: 100;
  position: fixed;
  background: white;
  height: 100vh;
  width: 100%;
  top: -100vh; /* hidden initially */
  left: 0;
}

.data {
  padding: 8em 0 0 2em;
  text-align: left;
}

.menu li {
  font-size: 42px;
  margin: 0.5em 0;
}

.menu a {
  color: black;
  text-decoration: none;
}

/* Parent container */
.has-dropdown {
  position: relative;
}

/* The dropdown menu */
.has-dropdown .dropdown {
  max-height: 0;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  position: relative;
  background: #fff;
  margin-top: 8px;
  padding-left: 25px;      /* space on left for submenu */
  border-left: none;
  transition: all 0.35s ease; /* smoother transition */
}

/* Active state when clicked */
.has-dropdown.active .dropdown {
  max-height: 500px; /* large enough */
  opacity: 1;
  visibility: visible;
}

/* Dropdown items */
.has-dropdown .dropdown li {
  margin: 8px 0;
}

.has-dropdown .dropdown a {
  font-size: 2rem;
  color: #333;
  display: block;
  padding: 5px 0;          /* vertical space */
  text-decoration: none;
  transition: color 0.25s ease;
}

.has-dropdown .dropdown a:hover {
  color: #004080;
}

/* Arrow styling */
.has-dropdown > a::after {
  content: "›";                /* slimmer chevron */
  font-size: 2.5rem;           /* normal size */
  margin-left: 20px;           /* space before arrow */
  display: inline-block;
  transform: rotate(90deg);    /* points down */
  transition: transform 0.35s ease;
}

/* Rotate arrow when active */
.has-dropdown.active > a::after {
  transform: rotate(-90deg);   /* points up */
}


/* Remove bullets and reset padding for nav lists */
#navbar-container ul {
  list-style: none;
}
