/* General Hacker Theme */
body {
  margin: 0;
  font-family: "Courier New", monospace;
  background: #000;
  color: #0f0;
  line-height: 1.6;
}

a {
  color: #0f0;
  text-decoration: none;
}

h1, h2, h3 {
  color: #0f0;
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* Navigation */
nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111;
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 100;
}

nav h1 {
  font-size: 1.5rem;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
}

nav ul li a:hover {
  color: #fff;
}

/* Hero Section */
.hero {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 90vh;
  text-align: center;
  background: radial-gradient(circle at top, #0a0a0a, #000);
}

.hero-content {
  max-width: 600px;
}

.profile-img {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 3px solid #0f0;
  margin-bottom: 20px;
}

/* Typing effect */
.typing-text {
  font-size: 1.8rem;
  border-right: 2px solid #0f0;
  white-space: nowrap;
  overflow: hidden;
  width: 0;
  animation: typing 4s steps(30, end) forwards, blink 1s step-end infinite;
}

@keyframes typing {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes blink {
  from, to { border-color: transparent; }
  50% { border-color: #0f0; }
}

.highlight {
  color: #fff;
}

/* Buttons */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  border: 2px solid #0f0;
  color: #0f0;
  transition: 0.3s;
}

.btn:hover {
  background: #0f0;
  color: #000;
}

/* Sections */
section {
  padding: 3rem 2rem;
  text-align: center;
}

/* Skills */
.skills-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 1rem;
  margin-top: 20px;
}

.skill {
  padding: 15px;
  border: 1px solid #0f0;
  transition: 0.3s;
}

.skill:hover {
  background: #0f0;
  color: #000;
}

/* Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 20px;
}

.card {
  background: #111;
  border: 1px solid #0f0;
  padding: 1rem;
  transition: transform 0.3s;
}

.card img {
  width: 100%;
  border-bottom: 2px solid #0f0;
}

.card:hover {
  transform: scale(1.05);
}

/* Contact */
.contact-info {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 20px;
}

.contact-info a {
  font-size: 1.2rem;
  transition: 0.3s;
}

.contact-info a:hover {
  color: #fff;
}

/* Footer */
footer {
  background: #111;
  text-align: center;
  padding: 1rem;
  border-top: 1px solid #0f0;
}
