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

body {
  font-family: 'Poppins', sans-serif;
  background: #0f172a;
  color: #f8fafc;
  line-height: 1.6;
}

.container {
  width: 90%;
  max-width: 1100px;
  margin: auto;
}

.header {
  background: #111827;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 0;
}

.nav a {
  color: #f8fafc;
  margin-left: 1rem;
  text-decoration: none;
}

.hero {
  padding: 6rem 0;
}

.hero-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
}

.hero h2 {
  font-size: 2.5rem;
}

.hero h2 span {
  color: #38bdf8;
}

.profile {
  width: 250px;
  border-radius: 50%;
}

.btn {
  display: inline-block;
  background: #4f46e5;
  color: #fff;
  padding: 0.8rem 1.5rem;
  border-radius: 8px;
  text-decoration: none;
  margin-top: 1rem;
}

.section {
  padding: 4rem 0;
}

.section h2 {
  margin-bottom: 1.5rem;
  color: #38bdf8;
}

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

.card,
.project-card {
  background: #1e293b;
  padding: 1rem;
  border-radius: 12px;
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  border: none;
  border-radius: 8px;
}

.footer {
  text-align: center;
  padding: 1.5rem 0;
  background: #111827;
}

@media (max-width: 768px) {
  .hero-content {
    flex-direction: column;
    text-align: center;
  }
}