* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
  line-height: 1.6;
  color: #333;
  background: #f9f9f9;
}

html {
  scroll-behavior: smooth;
}

/* Header */
header {
  background: #0a192f;
  color: #fff;
  padding: 10px 0;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

header .container {
  width: 90%;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

header img {
  height: 50px;
}

/* Navigation */
nav ul {
  display: flex;
  list-style: none;
}
nav ul li {
  margin-left: 25px;
}
nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  transition: color 0.3s ease;
}
nav ul li a:hover {
  color: #00bcd4;
}

/* Hamburger button */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  z-index: 1001;
}
.menu-toggle span {
  height: 3px;
  width: 25px;
  background: #fff;
  margin: 4px 0;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Mobile menu */
@media (max-width: 768px) {
  nav ul {
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    background: #0a192f;
    flex-direction: column;
    align-items: center;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s ease, padding 0.3s ease;
  }
  nav ul.show {
    max-height: 500px;
    padding: 15px 0;
  }
  nav ul li {
    margin: 15px 0;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.4s ease, transform 0.4s ease;
  }
  nav ul.show li {
    opacity: 1;
    transform: translateY(0);
  }
  .menu-toggle {
    display: flex;
  }
}

/* Hamburger animation */
.menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.menu-toggle.active span:nth-child(2) {
  opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* Optional: Adjust nav links on smaller screens */
@media (max-width: 480px) {
  nav ul li a {
    font-size: 14px;
    padding: 8px 0;
  }
  header img {
    height: 40px;
  }
}
