* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: "Courier New", monospace;
  background: linear-gradient(135deg, #0d1117, #161b22);
  color: #c9d1d9;
  line-height: 1.6;
  overflow-x: hidden;
}

a {
    color: white;
  }

/* Matrix Rain Background */
#matrix-bg {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: #0d1117;
  opacity: 0.3;
}

/* Hacker Overlay */
.hacker-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  background: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='100%' height='100%'><defs><filter id='blur'><feGaussianBlur in='SourceGraphic' stdDeviation='10'/></filter></defs><path d='M400,100 C450,150 500,300 400,400 C300,500 200,500 100,400 C0,300 50,150 100,100 C150,50 300,50 400,100' fill='rgba(0,255,0,0.1)' filter='url(#blur)'/></svg>")
    center/cover no-repeat;
  opacity: 0.2;
}

/* Intro Overlay */
#intro-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #0d1117;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  opacity: 1;
  transition: opacity 1s ease;
}
#intro-overlay.hidden {
  opacity: 0;
  pointer-events: none;
}
#intro-text {
  color: #00ff00;
  font-size: 1.5rem;
  text-align: center;
  text-shadow: 0 0 10px #00ff00;
  white-space: pre-wrap;
}
#intro-text::after {
  content: "|";
  animation: blink 0.5s infinite;
}
@keyframes blink {
  0%,100% { opacity: 1; }
  50% { opacity: 0; }
}

/* Navbar */
.navbar {
  background-color: #0d1117;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  padding: 15px 0;
  box-shadow: 0 0 10px #00ff00;
}
.navbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.navbar-brand {
  color: #00ff00;
  font-size: 1.5rem;
  text-decoration: none;
  font-weight: bold;
  text-shadow: 0 0 5px #00ff00;
}
.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  color: #c9d1d9;
  text-decoration: none;
  transition: color 0.3s, text-shadow 0.3s;
}
.nav-links a:hover {
  color: #ff00ff;
  text-shadow: 0 0 5px #ff00ff;
}

/* Hero Section */
.hero-section {
  color: #fff;
  padding: 120px 20px;
  text-align: center;
  margin-top: 70px;
  text-shadow: 0 0 10px #00ff00;
}
.hero-section h1 {
  font-size: 2.5rem;
  color: #00ff00;
}
.hero-section p {
  font-size: 1.2rem;
  color: #c9d1d9;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: #00ff00;
  color: #0d1117;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
}
.btn:hover {
  background-color: #ff00ff;
  color: #fff;
  box-shadow: 0 0 10px #ff00ff;
}

/* Sections */
.section { padding: 60px 20px; }
.container { max-width: 1200px; margin: auto; }
h2 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00;
}

/* Projects */
.project-filter { text-align: center; margin-bottom: 20px; }
.filter-btn {
  padding: 8px 16px;
  margin: 0 5px;
  border: none;
  background-color: #161b22;
  color: #c9d1d9;
  cursor: pointer;
  border-radius: 5px;
}
.filter-btn.active, .filter-btn:hover {
  background-color: #ff00ff;
  color: #fff;
  box-shadow: 0 0 5px #ff00ff;
}
.project-grid, .internship-list, .certification-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
}
.project-card, .internship-item, .certification-item, .resume-card {
  background-color: #161b22;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 255, 0, 0.2);
  transition: transform 0.3s, box-shadow 0.3s;
}
.project-card:hover, .internship-item:hover, .certification-item:hover, .resume-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 0 10px #00ff00;
}
.project-card h3, .internship-item h3, .certification-item h3, .resume-card h3 {
  color: #00ff00;
}

/* Contact */
.contact-section {
  background-color: #0d1117;
  padding: 40px 20px;
  text-align: center;
}
.contact-form { max-width: 600px; margin: auto; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: 10px; margin-bottom: 15px;
  border-radius: 5px; border: none;
  background: #21262d; color: #c9d1d9;
}
.form-message {
  display: none;
  color: #00ff00;
  text-shadow: 0 0 5px #00ff00;
}

/* Footer */
footer {
  background-color: #0d1117;
  color: #c9d1d9;
  text-align: center;
  padding: 20px 0;
  box-shadow: 0 0 10px #00ff00;
}

/* Responsive */
@media (max-width: 768px) {
  .hero-section h1 { font-size: 2rem; }
  .nav-links { flex-direction: column; align-items: center; }
  .project-grid, .internship-list, .certification-list { grid-template-columns: 1fr; }
  #intro-text { font-size: 1.2rem; }
}
