:root{
  --bg:#020617;
  --card:#0b1220;
  --text:#e5e7eb;
  --muted:#9ca3af;
  --primary:#6c63ff;
  --gradient:linear-gradient(135deg,#6c63ff,#22d3ee);
}

*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Poppins,sans-serif;
}

body{
  background:radial-gradient(circle at top,#020617,#000);
  color:var(--text);
  scroll-behavior:smooth;
}

header{
  position:fixed;
  width:100%;
  top:0;
  background:rgba(2,6,23,.85);
  backdrop-filter:blur(10px);
  z-index:1000;
}

nav{
  max-width:1200px;
  margin:auto;
  padding:1rem 2rem;
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.logo{
  font-size:1.5rem;
  font-weight:700;
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

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

nav a{
  color:var(--muted);
  text-decoration:none;
}

nav a:hover{color:white}

.hero{
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding-top:6rem;
}

.hero-content{
  max-width:1000px;
  display:grid;
  grid-template-columns:1.2fr .8fr;
  gap:3rem;
  align-items:center;
}

.hero-text h1{
  font-size:3rem;
  line-height:1.2;
}

.hero-text span{
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}
.profile-wrapper{
  display:flex;
  flex-direction:column;
  align-items:center;
}

.profile-info{
  margin-top:1rem;
  text-align:center;
}

.profile-info h3{
  font-size:1.25rem;
  font-weight:600;
  margin-bottom:0.2rem;
}

.profile-info p{
  font-size:0.95rem;
  color:var(--muted);
  letter-spacing:0.6px;
}


.hero-text p{
  margin-top:1rem;
  color:var(--muted);
}

.profile-box{
  width:220px;
  height:220px;
  border-radius:25px;
  overflow:hidden;
  margin:auto;
  border:2px solid rgba(108,99,255,.4);
  box-shadow:0 0 25px rgba(108,99,255,.35);
}

.profile-box img{
  width:100%;
  height:100%;
  object-fit:cover;
}

section{
  max-width:1200px;
  margin:auto;
  padding:5rem 2rem;
}

.section-title{
  text-align:center;
  font-size:2.2rem;
  margin-bottom:3rem;
}

.section-title span{
  background:var(--gradient);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.about-card{
  max-width:850px;
  margin:auto;
  background:linear-gradient(180deg,#0b1220,#020617);
  padding:2.5rem;
  border-radius:1.5rem;
  border:1px solid #1e293b;
  text-align:center;
  color:var(--muted);
}

.skills-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(260px,1fr));
  gap:1.5rem;
}

.skill-card{
  background:linear-gradient(180deg,#0b1220,#020617);
  padding:1.8rem;
  border-radius:1.2rem;
  border:1px solid #1e293b;
  transition:.3s;
}

.skill-card:hover{
  transform:translateY(-5px);
}

.projects-grid{
  display:grid;
  grid-template-columns:repeat(2,1fr);
  gap:2rem;
}

.project-card{
  background:linear-gradient(180deg,#0b1220,#020617);
  border-radius:1.5rem;
  padding:1.8rem;
  border:1px solid #1e293b;
  transition:.3s;
}

.project-card:hover{
  transform:translateY(-6px);
  box-shadow:0 0 25px rgba(108,99,255,.2);
}

.project-card p{
  color:var(--muted);
  font-size:.95rem;
  margin-top:.5rem;
}

footer{
  text-align:center;
  padding:2rem;
  color:var(--muted);
  font-size:.85rem;
}

@media(max-width:800px){
  .hero-content{grid-template-columns:1fr;text-align:center}
  .projects-grid{grid-template-columns:1fr}
}

@media (max-width: 768px) {
  .hero {
    margin-top: 50px;
  }
  nav {
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 1rem;
  }

  .logo {
    font-size: 1.4rem;
  }

  nav ul {
    width: 100%;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    padding-top: 0.3rem;
  }

  nav ul li a {
    font-size: 0.9rem;
  }
}