/* Global */
body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  background: #0a0a0f;
  color: #fff;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  position: fixed;
  top: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  backdrop-filter: blur(10px);
  background: rgba(20,20,30,0.6);
  z-index: 1000;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 1rem;
}
.nav-links a {
  color: #fff;
  text-decoration: none;
}
.hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #fff;
}

/* Hero */
.hero {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 100vh;
  padding: 6rem 2rem 2rem;
  gap: 2rem;
}
.hero h1 {
  font-size: clamp(2rem, 6vw, 4rem);
  line-height: 1.2;
}
.hero h2 {
  font-size: clamp(1.2rem, 4vw, 2rem);
}
.hero p {
  font-size: clamp(1rem, 2.5vw, 1.2rem);
  max-width: 600px;
}
.profile-image {
  max-width: 280px;   /* reduced size for desktop */
  height: auto;
  border-radius: 50%;
  box-shadow: 0 0 20px rgba(0, 245, 212, 0.6);
  margin: auto;
}

/* Typing effect styling */
.typing {
  color: #9d4edd; /* ensure visible */
  border-right: 2px solid #00f5d4;
  white-space: nowrap;
  overflow: hidden;
  animation: blinkCursor 0.8s infinite;
}

@keyframes blinkCursor {
  0% { border-color: transparent; }
  50% { border-color: #00f5d4; }
  100% { border-color: transparent; }
}

/* Buttons */
.btn {
  font-size: clamp(0.9rem, 2vw, 1.1rem);
  padding: clamp(0.5rem, 1.5vw, 0.8rem) clamp(1rem, 3vw, 1.5rem);
  border-radius: 8px;
  background: linear-gradient(90deg, #9d4edd, #00f5d4);
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  box-shadow: 0 0 20px #00f5d4;
}
.btn-alt {
  background: #222;
}

/* Sections */
.section {
  padding: clamp(2rem, 6vw, 5rem) clamp(1rem, 4vw, 2rem);
  text-align: center;
}
.placeholder {
  background: rgba(255,255,255,0.05);
  border-radius: 12px;
  padding: 2rem;
  margin: 1rem auto;
}

/* Responsive Breakpoints */
@media (max-width: 1024px) {
  .hero {
    flex-direction: column;
    text-align: center;
  }
  .hero-img {
    margin-top: 2rem;
  }
  .profile-image {
    max-width: 240px;
  }
}
@media (max-width: 600px) {
  .nav-links {
    display: none;
    flex-direction: column;
    gap: 1rem;
    background: rgba(20,20,30,0.9);
    position: absolute;
    top: 60px;
    right: 20px;
    padding: 1rem;
    border-radius: 12px;
  }
  .nav-links.show {
    display: flex;
  }
  .hamburger {
    display: block;
  }
  .profile-image {
    max-width: 200px;
  }
}
@media (max-width: 480px) {
  .hero h1 {
    font-size: clamp(2rem, 12vw, 3rem);
  }
  .hero h2 {
    font-size: clamp(1rem, 6vw, 1.5rem);
  }
  .profile-image {
    max-width: 160px;
  }
}
