/* ===== GLOBAL ===== */

*{

  margin: 0;

  padding: 0;

  box-sizing: border-box;

}


html{

  scroll-behavior: smooth;

}


body{

  font-family: Arial, sans-serif;

  background: #050816;

  color: white;

}



/* ===== HEADER ===== */

header{

  position: fixed;

  width: 100%;

  top: 0;

  z-index: 1000;

  background: rgba(0,0,0,0.9);

  backdrop-filter: blur(10px);

}


nav{

  display: flex;

  justify-content: space-between;

  align-items: center;

  padding: 1.3rem 5%;

}


.logo{

  font-size: 2rem;

  font-weight: bold;

  color: #00f2fe;

}


.back-btn{

  text-decoration: none;

  color: white;

  font-weight: 600;

  transition: 0.3s;

}


.back-btn:hover{

  color: #00f2fe;

}



/* ===== HERO ===== */

.hero{

  padding-top: 10rem;

  padding-bottom: 5rem;

  text-align: center;

  background:
  linear-gradient(
  to right,
  #050816,
  #0b0f2d);

}


.hero-content h1{

  font-size: 4rem;

  color: #00f2fe;

  margin-bottom: 1rem;

}


.hero-content p{

  width: 70%;

  margin: auto;

  line-height: 1.8;

  color: #ccc;

  font-size: 1.1rem;

}



/* ===== PROJECTS ===== */

.mini-projects{

  padding: 5rem 5%;

}


.projects-grid{

  display: grid;

  grid-template-columns:
  repeat(auto-fit,
  minmax(320px,1fr));

  gap: 2rem;

}


.project-card{

  background: #11152c;

  border-radius: 1rem;

  overflow: hidden;

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

  transition: 0.3s;

}


.project-card:hover{

  transform: translateY(-10px);

  box-shadow:
  0 0 25px rgba(0,242,254,0.2);

}


.project-card img{

  width: 100%;

  height: 13rem;

  object-fit: cover;

}


.project-info{

  padding: 1.5rem;

}


.project-info h3{

  color: #00f2fe;

  font-size: 1.8rem;

  margin-bottom: 1rem;

}


.project-info p{

  color: #ccc;

  line-height: 1.7;

  margin-bottom: 1.5rem;

}


.tech-stack{

  display: flex;

  flex-wrap: wrap;

  gap: 0.7rem;

  margin-bottom: 1.5rem;

}


.tech-stack span{

  background: #23263d;

  padding: 0.4rem 0.9rem;

  border-radius: 2rem;

  font-size: 0.8rem;

}


.project-links{

  display: flex;

  gap: 1.5rem;

}


.project-links a{

  text-decoration: none;

  color: #00f2fe;

  font-weight: 600;

  transition: 0.3s;

}


.project-links a:hover{

  color: white;

}



/* ===== MOBILE ===== */

@media (max-width: 768px){


  nav{

    padding: 1rem 5%;

  }


  .logo{

    font-size: 1.4rem;

  }


  .back-btn{

    font-size: 0.9rem;

  }


  .hero{

    padding-top: 8rem;

  }


  .hero-content h1{

    font-size: 2.7rem;

  }


  .hero-content p{

    width: 90%;

    font-size: 1rem;

  }


  .project-card img{

    height: 10rem;

  }


  .project-info{

    padding: 1.2rem;

  }


  .project-info h3{

    font-size: 1.5rem;

  }


}