.header {
  background: #006064;
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.8rem;
  font-weight: 700;
  color: white;
  text-decoration: none;
  transition: color 0.3s ease;
}

.logo:hover {
  color: #e0f7fa;
}

.logo-image {
  height: 40px;
  width: auto;
  border-radius: 8px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.logo:hover .logo-image {
  transform: scale(1.05);
  filter: brightness(1.1);
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 3rem;
  margin: 0;
  padding: 0;
}

.nav-menu li {
  margin: 0;
}

.nav-menu a {
  text-decoration: none;
  color: white;
  font-weight: 400;
  font-size: 1.1rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
    sans-serif;
  transition: all 0.3s ease;
  padding: 0.5rem 0;
  position: relative;
  display: inline-block;
}

.nav-menu a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  background-color: white;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a.active {
  background-color: rgba(255, 255, 255, 0.15);
  padding: 0.5rem 1.2rem;
  border-radius: 25px;
  font-weight: 500;
}

.nav-menu a.active::after {
  display: none;
}

.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  padding: 0.5rem;
  border-radius: 6px;
  transition: background-color 0.3s ease;
}

.mobile-menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 3px 0;
  transition: all 0.3s ease;
  border-radius: 2px;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -6px);
}

@media (max-width: 768px) {
  .nav-container {
    padding: 0 1rem;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.98);
    backdrop-filter: blur(10px);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 3rem;
    z-index: 999;
    transform: translateY(-100%);
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
  }

  .nav-menu.active {
    display: flex;
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .nav-menu li {
    transform: translateY(30px);
    opacity: 0;
    animation: none;
  }

  .nav-menu.active li {
    animation: slideInUp 0.5s ease forwards;
  }

  .nav-menu.active li:nth-child(1) {
    animation-delay: 0.1s;
  }

  .nav-menu.active li:nth-child(2) {
    animation-delay: 0.2s;
  }

  .nav-menu.active li:nth-child(3) {
    animation-delay: 0.3s;
  }

  .nav-menu.active li:nth-child(4) {
    animation-delay: 0.4s;
  }

  .nav-menu.active li:nth-child(5) {
    animation-delay: 0.5s;
  }

  .nav-menu a {
    font-size: 1.3rem;
    font-weight: 400;
    padding: 0.8rem 0;
    color: white;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", system-ui,
      sans-serif;
    border-radius: 0;
    transition: all 0.3s ease;
    text-align: center;
    min-width: 120px;
  }

  .nav-menu a:hover {
    color: #00bcd4;
  }

  .nav-menu a.active {
    color: #00bcd4;
    border: 2px solid #00bcd4;
    border-radius: 25px;
    padding: 0.8rem 1.5rem;
    background: transparent;
  }

  .nav-menu a::after {
    display: none;
  }

  .mobile-menu-toggle {
    display: flex;
    z-index: 1000;
    position: relative;
  }

  .logo {
    font-size: 1.5rem;
    z-index: 1000;
    position: relative;
  }

  .logo-image {
    height: 32px;
  }
}

@keyframes slideInUp {
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

html {
  scroll-behavior: smooth;
}
