@charset "utf-8";
/* CSS Document */
/* style.css */
/* Basic reset */
/* Reset & base styles */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: Arial, sans-serif;
  background: #fafafa;
}

/* Header and nav */




/* Hamburger button */
.hamburger {
  display: none; /* shown only on small screens */
  flex-direction: column;
  justify-content: space-around;
  width: 40px;
  height: 40px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 10;
	margin-top:8px;
}

.hamburger:focus {
  outline: 2px solid #000000;
}

.bar {
  width: 100%;
  height: 1px;
  background-color: black; /* or #333, #000 */
  border-radius: 3px;
}

/* Menu styles */
.menu {
  list-style: none;
  display: flex;
  gap: 1.5rem;
	z-index: 2;
}

.menu li a:hover,
.menu li a:focus {
  text-decoration: underline;
}

/* Submenu */
.has-submenu {
  position: relative;
}
.has-submenu2 {
  position: relative;
}
.submenu {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #F0F0F0;
  min-width: 150px;
  display: none; /* hidden by default */
  flex-direction: column;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 999999;
}
.submenu2 {
  list-style: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #F0F0F0;
  min-width: 150px;
  display: none; /* hidden by default */
  flex-direction: column;
  border-radius: 0 0 4px 4px;
  box-shadow: 0 4px 6px rgba(0,0,0,0.2);
  z-index: 999999;
}

.submenu li a {
  padding: 0.75rem 1rem;
  color: black;
}
.submenu2 li a {
  padding: 0.75rem 1rem;
  color: black;
}

.submenu li a:hover,
.submenu li a:focus {
  background: #EAFFC3;
  text-decoration: none;
}

.submenu2 li a:hover,
.submenu2 li a:focus {
  background: #EAFFC3;
  text-decoration: none;
}













/* Show submenu on hover (desktop) */
@media (min-width: 768px) {
	 
	header {
          display: flex;
          justify-content: space-between;
          align-items: center;
      }
	.nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 0 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}
  .has-submenu:hover > .submenu,
  .has-submenu:focus-within > .submenu {
    display: flex;
  }
	.has-submenu2:hover > .submenu2,
  .has-submenu2:focus-within > .submenu2 {
    display: flex;
  }
	.site-header {
  background: #FFFFFF;	
  color: black;
}
	.menu li a {
  color: black;
  text-decoration: none;
  padding: 0.5rem 0;
  display: block;
  white-space: nowrap;
}
}

/* Responsive styles */
@media (max-width: 767px) {
	.nav {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 1rem;
    display: flex;
    align-items: center; /* fix this line */
    justify-content: flex-start; /* updated from space-between */
    position: relative;
  }

  .hamburger {
    display: flex;
    margin-left: 0; /* optional, keep or remove */
  }
	

  .menu {
  position: fixed;
  top: 0;
  right: -100%;
  height: 100vh;
  width: 250px;
  background: #FFFFFF;
  flex-direction: column;
  padding-top: 10px;
  gap: 0;
  transition: right 0.3s ease;
  overflow-y: auto; /* <-- Enables scrolling */
	  z-index: 1000;
}


  .menu.open {
    right: 0;
  }

  .menu li {
    border-bottom: 1px solid #444;
  }

  .submenu {
    position: static;
    display: none;
    background: #F0F0F0;
    box-shadow: none;
    border-radius: 0;
  }

  .submenu.open {
    display: flex;
    flex-direction: column;
  }
	
	.submenu2 {
    position: static;
    display: none;
    background: #F0F0F0;
    box-shadow: none;
    border-radius: 0;
  }

  .submenu2.open {
    display: flex;
    flex-direction: column;
  }

  .has-submenu > a::after {
    content: " ▼";
    font-size: 0.8rem;
  }
	.has-submenu2 > a::after {
    content: " ▼";
    font-size: 0.8rem;
  }
	.site-header {
  background: #FFFFFF;
}
	.menu li a {
  color: black;
  text-decoration: none;
  padding: 1rem 0;
  display: block;
  white-space: wrap;
}
}

