* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #ededed;
  background: #081b29;
}

.header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 20px 10%;
  background: #051129;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 100;
}

.logo {
  font-size: 25px;
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  animation: slideRight 1s ease forwards;
  opacity: 0;
}

#menu-icon {
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 101;
}

.navbar {
  display: flex;
  gap: 30px;
}

.navbar a {
  font-size: 18px;
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  opacity: 0;
  animation: slideTop 0.5s ease forwards;
  animation-delay: calc(0.2s * var(--i));
}

.navbar a:hover,
.navbar a.active {
  color: #0ef;
}

.home {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  padding: 100px 10%;
  gap: 20px;
  min-height: 100vh;
}

.home-content {
  max-width: 600px;
}

.home-content h3 {
  font-size: 32px;
  font-weight: 700;
  opacity: 0;
  animation: slideBottom 1s ease forwards;
  animation-delay: 0.7s;
}

.home-content h1 {
  font-size: 56px;
  font-weight: 700;
  margin: -3px 0;
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
}

.home-content h3:nth-of-type(2) {
  margin-bottom: 30px;
  animation: slideTop 1s ease forwards;
  animation-delay: 0.7s;
}

.home-content h3 span {
  color: #0ef;
}

.home-content p {
  font-size: 20px;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}

.home-sci a {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  margin: 30px 15px 30px 0;
  border: 2px solid #0ef;
  border-radius: 50%;
  color: #0ef;
  font-size: 20px;
  text-decoration: none;
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: calc(0.2s * var(--i));
  transition: 0.5s ease;
}

.home-sci a:hover {
  background: #0ef;
  color: #081b29;
  box-shadow: 0 0 20px #0ef;
}

.btn-box {
  display: inline-block;
  padding: 12px 28px;
  background: #0ef;
  border-radius: 40px;
  font-size: 16px;
  text-decoration: none;
  font-weight: 600;
  animation: slideTop 1s ease forwards;
  animation-delay: 2s;
  opacity: 0;
  box-shadow: 0 0 5px #0ef, 0 0 25px #0ef;
}

.btn-box:hover {
  box-shadow: 0 0 5px cyan, 0 0 25px cyan, 0 0 50px cyan,
    0 0 100px cyan, 0 0 200px cyan;
}

.home-img {
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
  opacity: 0;
}

.home-img img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid #0ef;
  box-shadow: 0 0 20px #0ef;
}

/* Keyframes */
@keyframes slideRight {
  0% {
    transform: translateX(-100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

@keyframes slideTop {
  0% {
    transform: translateY(-100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

@keyframes slideBottom {
  0% {
    transform: translateY(100px);
    opacity: 0;
  }
  100% {
    transform: translateY(0px);
    opacity: 1;
  }
}

/* 🔥 Responsive Hamburger Menu */
@media (max-width: 768px) {
  #menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #051129;
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    padding: 20px 0;
    border-top: 1px solid #0ef;
  }

  .navbar.active {
    display: flex;
  }

  .nav-link {
    font-size: 20px;
    opacity: 0;
    animation: none;
  }

  .navbar.active .nav-link {
    animation: fadeSlideIn 0.6s ease forwards;
  }

  .navbar.active .nav-link:nth-child(1) {
    animation-delay: 0.2s;
  }
  .navbar.active .nav-link:nth-child(2) {
    animation-delay: 0.4s;
  }
  .navbar.active .nav-link:nth-child(3) {
    animation-delay: 0.6s;
  }
  .navbar.active .nav-link:nth-child(4) {
    animation-delay: 0.8s;
  }
  .navbar.active .nav-link:nth-child(5) {
    animation-delay: 1s;
  }
  .navbar.active .nav-link:nth-child(6) {
    animation-delay: 1.2s;
  }
}

/* Keyframes for hamburger animation */
@keyframes fadeSlideIn {
  0% {
    transform: translateY(20px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
