* {
  font-family: "Outfit", sans-serif;
}

header {
  max-width: 1200px;
  width: 100%;
  height: 60px;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  border-radius: 0;
  margin-top: 0;
  transition: all 0.3s ease;
  background-color: transparent;
  backdrop-filter: blur(10px);
  background-color: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(79, 172, 254, 0.2);
}

.hero {
  margin-top: 90px;
}

/* Mobile-first approach */
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 15px;
  height: 100%;
}

.logo {
  font-size: 1.2rem;
  font-weight: bold;
  text-decoration: none;
  color: #4facfe;
  order: 2;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  color: #4facfe;
  max-width: none;
}

.logo span {
  display: none; /* Hide text on mobile by default */
}

.hamburger {
  display: block;
  cursor: pointer;
  z-index: 101;
  order: 1;
}

.hamburger .bar {
  display: block;
  width: 25px;
  height: 3px;
  margin: 5px auto;
  transition: all 0.3s ease;
  background-color: #4facfe;
}

.hamburger.active .bar:nth-child(2) {
  opacity: 0;
}

.hamburger.active .bar:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.hamburger.active .bar:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}

nav {
  position: fixed;
  top: 0;
  left: -100%;
  width: 70%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-top: 50px;
  transition: 0.3s;
  z-index: 100;
  border-right: 1px solid rgba(79, 172, 254, 0.2);
}

nav.active {
  left: 0;
}

.active {
  color: #4facfe;
}

nav ul {
  display: flex;
  flex-direction: column;
  width: 100%;
}

nav ul li {
  margin: 0;
  width: 100%;
}

nav ul li a {
  display: block;
  position: relative;
  left: 40px;
  top: 10px;
  padding: 15px 25px;
  color: #fff;
  font-size: 1.1rem;
  border-bottom: none;
}

nav ul li a:hover {
  color: #4facfe;
}

@media (max-width: 768px) {
  nav {
    background-color: rgb(22, 27, 35);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  }
}

/* Desktop styles */
@media (min-width: 769px) {
  header {
    width: 60%;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 20px;
    margin-top: 25px;
    height: 50px;
  }

  .hamburger {
    display: none;
  }

  nav {
    position: static;
    width: auto;
    height: auto;
    background: transparent;
    padding-top: 0;
    flex-direction: row;
    align-items: center;
    border-right: none;
    order: 2;
  }

  nav ul {
    flex-direction: row;
  }

  nav ul li {
    width: auto;
    margin-left: 20px;
  }

  nav ul li a {
    position: relative;
    top: 0px;
    padding: 5px 0;
    border-bottom: none;
    font-size: 0.95rem;
    color: #fff;
  }

  .logo {
    font-size: 1.1rem;
  }

  .logo img {
    width: 35px;
    height: 35px;
  }

  .logo span {
    display: inline; /* Show text on desktop */
  }
}
