/* GENERAL RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: 'Segoe UI', sans-serif;
  scroll-behavior: smooth;
}

/* BODY WITH SPACE/CYBER BACKGROUND */
body {
  background: radial-gradient(circle at 50% 50%, #0f0f1e 0%, #000000 100%);
  color: #f8fafc;
  overflow-x: hidden;
  min-height: 100vh;
  position: relative;
}

/* STARRY SKY EFFECT */
body::before {
  content: '';
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: transparent;
  box-shadow:
    100px 150px 1px #fff,
    200px 300px 1px #fff,
    400px 600px 1px #fff,
    600px 100px 1px #fff,
    800px 400px 1px #fff,
    1200px 200px 1px #fff,
    1500px 700px 1px #fff;
  z-index: 0;
  animation: twinkle 5s linear infinite;
}

@keyframes twinkle {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 20px;
  position: relative;
  z-index: 1;
}

/* HEADER */
header {
  background: rgba(15, 23, 42, 0.85);
  color: #f8fafc;
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 2;
}

header h1 {
  font-size: 2rem;
  display: inline-block;
}

nav {
  display: inline-block;
  float: right;
}

nav a {
  color: #38bdf8;
  margin-left: 20px;
  text-decoration: none;
  font-weight: 500;
}

nav a:hover {
  color: #67e8f9;
}

/* HERO SECTION */
.hero {
  background: radial-gradient(circle at center, #0f172a 0%, #000000 100%);
  text-align: center;
  padding: 120px 20px;
  position: relative;
  z-index: 1;
}

.hero h2 {
  font-size: 3rem;
  margin-bottom: 20px;
  color: #38bdf8;
  text-shadow: 0 0 10px #38bdf8, 0 0 20px #38bdf8;
}

.hero p {
  font-size: 1.3rem;
  color: #cbd5e1;
}

/* ABOUT SECTION */
.about {
  padding: 60px 20px;
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(5px);
}

.about h2 {
  font-size: 2.2rem;
  margin-bottom: 20px;
  color: #38bdf8;
}

.about p {
  max-width: 700px;
  margin: 0 auto;
  font-size: 1.1rem;
  line-height: 1.6;
  color: #cbd5e1;
}

/* PROJECTS SECTION */
.projects {
  padding: 60px 20px;
  text-align: center;
  background: rgba(0, 0, 0, 0.6);
}

.projects h2 {
  font-size: 2.2rem;
  margin-bottom: 30px;
  color: #38bdf8;
}

.project {
  margin-bottom: 30px;
}

.project h3 {
  font-size: 1.5rem;
  color: #67e8f9;
}

.project p {
  font-size: 1rem;
  color: #cbd5e1;
}

/* CONTACT SECTION */
.contact {
  padding: 60px 20px;
  text-align: center;
  background: rgba(15, 23, 42, 0.85);
}

.contact h2 {
  font-size: 2rem;
  margin-bottom: 20px;
  color: #38bdf8;
}

.contact a {
  color: #67e8f9;
  text-decoration: none;
  font-weight: bold;
}

.contact a:hover {
  color: #22d3ee;
}

/* FOOTER */
footer {
  background: rgba(15, 23, 42, 0.85);
  color: #cbd5e1;
  padding: 20px 0;
  text-align: center;
}

/* OPTIONAL: Glowing links */
a {
  transition: 0.3s;
}

a:hover {
  text-shadow: 0 0 10px #38bdf8;
}
.profile-pic {
  width: 180px;            /* adjust size as needed */
  height: 180px;
  border-radius: 50%;      /* makes it circular */
  display: block;
  margin: 20px auto;       /* centers the image */
  border: 3px solid #38bdf8; /* optional neon border to match cyber theme */
  box-shadow: 0 0 15px #38bdf8; /* subtle glow */
}
