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

body{
  background:#0f172a;
  color:white;
}

/* NAVBAR */
.header{
  position:fixed;
  top:20px;
  left:50%;
  transform:translateX(-50%);
  width:100%;
  max-width:1200px;

  display:flex;
  justify-content:space-between;
  align-items:center;

  padding:15px 25px;

  background:rgba(255,255,255,0.05);
  backdrop-filter:blur(15px);
  border:1px solid rgba(255,255,255,0.1);
  border-radius:15px;

  z-index:1000;
}
.logo img{
  width:35px;
  height:35px;
  border-radius:50%;
  object-fit:cover;
  border:2px solid #38bdf8;
}

/* LOGO */
.logo{
  display:flex;
  align-items:center;
  gap:10px;
  color:#38bdf8;
  font-weight:bold;
}

.logo-box{
  width:32px;
  height:32px;
  background:#38bdf8;
  color:#0f172a;

  display:flex;
  justify-content:center;
  align-items:center;

  border-radius:8px;
}

/* NAV */
.nav{
  display:flex;
  gap:15px;
}

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

.nav a:hover{
  color:#38bdf8;
}

/* MOBILE MENU */
.menu-toggle{
  display:none;
  font-size:24px;
  cursor:pointer;
  color:white;
}

/* HERO */
.hero{
  height:100vh;
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:120px 8% 0;
}

.hero-text h1{
  font-size:42px;
}

.hero-text span{
  color:#38bdf8;
}

.hero img{
  width:300px;
  height:300px;
  border-radius:50%;
  object-fit:cover;
  border:3px solid #38bdf8;
}

/* SECTIONS */
.section{
  padding:100px 8%;
}

h2{
  margin-bottom:20px;
  color:#38bdf8;
}

/* GRID */
.grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:20px;
}

.card{
  background:#1e293b;
  padding:20px;
  border-radius:12px;
  transition:0.3s;
}

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

/* SKILLS */
.skills{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.skills span{
  background:#1e293b;
  padding:8px 15px;
  border-radius:20px;
}

/* FOOTER */
footer{
  text-align:center;
  padding:20px;
  background:#1e293b;
}

/* ANIMATIONS */
.fade{
  opacity:0;
  transform:translateY(20px);
  transition:all 0.6s ease;
}

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

/* RESPONSIVE */
@media(max-width:900px){

  .hero{
    flex-direction:column;
    text-align:center;
  }

  .hero img{
    margin-top:20px;
  }

  .nav{
    position:absolute;
    top:70px;
    right:20px;
    background:#1e293b;
    flex-direction:column;
    padding:15px;
    border-radius:10px;
    display:none;
  }

  .nav.active{
    display:flex;
  }

  .menu-toggle{
    display:block;
  }
}