/* Reset */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  background: linear-gradient(135deg, #0f2027, #203a43, #2c5364);
  color: #fff;
  scroll-behavior: smooth;
}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 10%;
  position: sticky;
  top: 0;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(10px);
  z-index: 100;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}
.logo span {
  color: #00d4ff;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 20px;
}
.nav-links a {
  text-decoration: none;
  color: #fff;
  transition: 0.3s;
}
.nav-links a:hover {
  color: #00d4ff;
}

/* Hero */
.hero {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.hero-content h1 {
  font-size: 3rem;
}
.hero-content span {
  color: #00d4ff;
}
.hero-content p {
  margin: 20px 0;
  font-size: 1.2rem;
}
.btn {
  display: inline-block;
  padding: 10px 20px;
  border-radius: 25px;
  background: #00d4ff;
  color: #000;
  text-decoration: none;
  transition: 0.3s;
}
.btn:hover {
  background: #fff;
  color: #000;
}

/* About */
.about, .projects, .contact {
  padding: 80px 10%;
  text-align: center;
}
.about p {
  margin-top: 20px;
  line-height: 1.6;
}

/* Projects */
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}
.project-card {
  background: rgba(255,255,255,0.1);
  padding: 20px;
  border-radius: 15px;
  transition: transform 0.3s;
}
.project-card:hover {
  transform: translateY(-10px);
  background: rgba(0,212,255,0.2);
}

/* Contact */
form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 500px;
  margin: auto;
}
input, textarea {
  padding: 10px;
  border: none;
  border-radius: 10px;
  outline: none;
}
button.btn {
  cursor: pointer;
}
.success {
  margin-top: 20px;
  color: lightgreen;
}

/* Footer */
footer {
  text-align: center;
  padding: 20px;
  background: rgba(0,0,0,0.7);
}
