@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  scroll-behavior:smooth;
}

body{
  font-family:'Poppins',sans-serif;
  background:#0f0f0f;
  color:white;
  overflow-x:hidden;
}

/* Background Glow */

body::before{
  content:"";
  position:fixed;
  width:500px;
  height:500px;
  background:#00ff99;
  filter:blur(180px);
  opacity:0.15;
  top:-100px;
  left:-100px;
  z-index:-1;
}

body::after{
  content:"";
  position:fixed;
  width:400px;
  height:400px;
  background:#00aaff;
  filter:blur(180px);
  opacity:0.1;
  bottom:-100px;
  right:-100px;
  z-index:-1;
}

/* Navbar */

nav{
  width:100%;
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:20px 80px;
  position:fixed;
  top:0;
  left:0;
  background:rgba(0,0,0,0.4);
  backdrop-filter:blur(10px);
  z-index:1000;
}

/* Logo */

.logo-container{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-image{
  width:45px;
  height:45px;
  object-fit:contain;

  filter:
    drop-shadow(0 0 8px #00ff99);
}

.logo{
  color:#00ff99;
  font-size:28px;
  font-weight:600;
}

/* Navbar Links */

nav ul{
  display:flex;
  list-style:none;
  gap:30px;
}

nav a{
  text-decoration:none;
  color:white;
  transition:0.3s;
}

nav a:hover{
  color:#00ff99;
}

/* Hero Section */

.hero{
  width:100%;
  height:100vh;
  display:flex;
  flex-direction:column;
  justify-content:center;
  align-items:center;
  text-align:center;
  padding:20px;
}

.profile-image{
  width:180px;
  height:180px;
  border-radius:50%;
  object-fit:cover;
  margin-bottom:30px;
  border:4px solid #00ff99;

  box-shadow:
    0 0 30px rgba(0,255,153,0.4);
}

.hero h2{
  font-size:72px;
  margin-bottom:10px;

  background:
    linear-gradient(
      to right,
      white,
      #00ff99
    );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero h3{
  font-size:32px;
  color:#00ff99;
  margin-bottom:20px;
}

.hero p{
  max-width:700px;
  color:#b3b3b3;
  line-height:1.7;
  margin-bottom:30px;
}

/* Buttons */

.btn{
  padding:14px 32px;
  background:#00ff99;
  color:black;
  border-radius:40px;
  text-decoration:none;
  font-weight:600;
  transition:0.3s;
}

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

/* Sections */

section{
  padding:120px 80px;
}

section h2{
  font-size:42px;
  margin-bottom:30px;
}

/* About */

.about p{
  max-width:800px;
  line-height:1.8;
  color:#cfcfcf;
}

/* Projects */

.project-grid{
  display:grid;
  grid-template-columns:
    repeat(auto-fit,minmax(300px,1fr));

  gap:30px;
}

.card{
  background:
    rgba(255,255,255,0.05);

  backdrop-filter:blur(10px);

  padding:30px;

  border-radius:20px;

  transition:0.4s;

  border:
    1px solid rgba(255,255,255,0.1);

  box-shadow:
    0 0 20px rgba(0,255,153,0.08);
}

.card:hover{
  transform:
    translateY(-10px)
    scale(1.02);

  border-color:#00ff99;

  box-shadow:
    0 0 30px rgba(0,255,153,0.3);
}

.project-image{
  width:100%;
  border-radius:16px;
  margin-bottom:20px;
}

.card h3{
  margin-bottom:15px;
  color:#00ff99;
}

.project-btn{
  display:inline-block;
  margin-top:20px;
  padding:10px 20px;
  background:#00ff99;
  color:black;
  text-decoration:none;
  border-radius:30px;
  font-weight:600;
  transition:0.3s;
}

.project-btn:hover{
  transform:scale(1.05);
}

/* Contact */

.contact a{
  color:#00ff99;
  text-decoration:none;
}

/* Scroll Animation */

.hidden{
  opacity:0;
  transform:translateY(40px);
  transition:all 1s ease;
}

.show{
  opacity:1;
  transform:translateY(0);
}

/* Cursor Glow */

.cursor-glow{
  width:300px;
  height:300px;
  background:#00ff99;
  position:fixed;
  border-radius:50%;
  filter:blur(120px);
  opacity:0.15;
  pointer-events:none;
  transform:translate(-50%,-50%);
  z-index:-1;
}

/* Responsive */

@media(max-width:768px){

  nav{
    padding:20px;
  }

  nav ul{
    gap:15px;
  }

  .hero h2{
    font-size:42px;
  }

  .hero h3{
    font-size:24px;
  }

  section{
    padding:100px 30px;
  }

  .logo{
    font-size:22px;
  }

  .logo-image{
    width:38px;
    height:38px;
  }

}