* {
      margin: 0;
      padding: 0;
    }
    header {
      position: fixed;
      top: 0;
      left: 0;
      width: 96%;
      background: #9c27b0;
      color: white;
      padding: 20px 2%;
      z-index: 1000;
      transition: background 0.3s ease;
      display: flex;
      justify-content: space-between;
      align-items: center;
    }

    header.scrolled {
      background: #1e1e2f;
    }

    .logo {
      font-size: 1.5rem;
      font-weight: bold;
    }
    .logo > img{
      height: 40px;
    }
    nav {
      display: flex;
      gap: 20px;
    }

    nav a {
      color: white;
      text-decoration: none;
      font-weight: 500;
      padding: 7px 0;
      text-align: center;
    }

    section {
      /*padding: 100px 40px;
      height: 100vh;*/
    }

    /* Mobile Responsive */
    .menu-toggle {
      display: none;
      flex-direction: column;
      cursor: pointer;
    }

    .menu-toggle span {
      background: white;
      height: 3px;
      width: 25px;
      margin: 4px 0;
      transition: all 0.3s;
    }

    @media (max-width: 768px) {
      nav {
        position: absolute;
        top: 75px;
        left: 0;
        width: 100%;
        background: #1e1e2f;
        flex-direction: column;
        align-items: center;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
      }

      nav.active {
        max-height: max-content;
      }

      .menu-toggle {
        display: flex;
      }
    }


/* MAIN MENU */
.main-menu-bar {
  position: fixed;
  top: 80px;
  width: 100%;
  background: #ba68c8;
  z-index: 999;
}

.main-menu {
  display: flex;
  gap: 25px;
  padding: 10px 20px;
  margin: 0;
  list-style: none;
}

.main-menu li {
  cursor: pointer;
  padding: 6px 10px;
}

.main-menu li.active {
  background: #f3e5f5;
  font-weight: bold;
}

/* SUBMENU BAR */
.sub-menu {
  position: fixed;
  top: 130px;
  width: 100%;
  background: #f3e5f5;
  padding: 10px 20px;
  border-top: 1px solid #ccc;
  z-index: 998;
}

.sub-menu a {
  margin-right: 20px;
  text-decoration: none;
  color: black;
}

.sub-menu a.active {
  border-bottom: 3px solid black;
  font-weight: bold;
}