* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
}

body {
  color: #ededed;
  background: #081b29;
}

/* ===== HEADER ===== */
.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;
}

/* Hamburger Icon */
#menu-icon {
  font-size: 30px;
  color: #fff;
  cursor: pointer;
  display: none;
  z-index: 101;
}

/* Navbar Desktop */
.navbar {
  display: flex;
  gap: 30px;
}

/* Navbar Items */
.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;
}

/* ===== ABOUT SECTION ===== */
.about {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 1.5rem;
  padding: 120px 10% 60px;
}

.about-img {
  opacity: 0;
  animation: slideLeft 1s ease forwards;
  animation-delay: 1s;
}

.about-img img {
  max-width: 400px;
  width: 100%;
  height: auto;
  border-radius: 50%;
  border: 4px solid #0ef;
  box-shadow: 0 0 20px #0ef;
}

.about-text {
  opacity: 0;
  animation: slideRight 1s ease forwards;
  animation-delay: 1s;
}

.about-text h2 {
  font-size: 60px;
}

.about-text h2 span {
  color: #0ef;
}

.about-text h4 {
  font-size: 29px;
  font-weight: 600;
  color: #fff;
  line-height: 1.7;
  margin: 15px 0 30px;
}

.about-text p {
  font-size: 20px;
  line-height: 1.4;
  margin-bottom: 4rem;
}



/* ===== ANIMATIONS ===== */
@keyframes slideRight {
  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 slideLeft {
  0% {
    transform: translateX(100px);
    opacity: 0;
  }
  100% {
    transform: translateX(0px);
    opacity: 1;
  }
}

/* ===== MEDIA QUERIES ===== */
@media (max-width: 1024px) {
  .about-text h2 {
    font-size: 45px;
  }
  .about-text h4 {
    font-size: 24px;
  }
  .about-text p {
    font-size: 18px;
  }
}

@media (max-width: 768px) {
#menu-icon {
    display: block;
  }

#menu-icon {
    display: block;
  }

  .navbar {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    flex-direction: column;
    background: #051129;
    display: none;
    padding: 10px 0;
  }

  .navbar a {
    margin: 10px 0;
    display: block;
    text-align: center;
  }

  .navbar.active {
    display: flex;
  }

  .about {
    grid-template-columns: 1fr;
    text-align: center;
    padding: 100px 5%;
  }

  .about-img {
    margin: 0 auto;
  }

  .about-img img {
    width: 250px;
  }

  .about-text {
    margin-top: 40px;
  }

  .about-text h2 {
    font-size: 40px;
  }

  .about-text h4 {
    font-size: 22px;
  }

  .about-text p {
    font-size: 16px;
  }

  .btn-box {
    font-size: 14px;
    padding: 10px 20px;
  }
}

@media (max-width: 480px) {
  .about-text h2 {
    font-size: 32px;
  }

  .about-text h4 {
    font-size: 20px;
  }

  .about-text p {
    font-size: 15px;
  }

  .btn-box {
    padding: 8px 18px;
    font-size: 13px;
  }

  .logo {
    font-size: 20px;
  }
}
