* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: #0f172a;
  color: #e5e7eb;
}

a {
  color: inherit;
  text-decoration: none;
}

.nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 40px;
}

.logo {
  font-weight: 700;
  font-size: 1.2rem;
}

.nav-list {
  display: flex;
  gap: 20px;
  list-style: none;
}

.hero {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  gap: 15px;
}

.hero h1 {
  font-size: 3rem;
}

.hero h2 {
  font-size: 1.5rem;
  color: #94a3b8;
}

.hero p {
  font-size: 1rem;
}

.hero-buttons {
  display: flex;
  gap: 20px;
  margin-top: 20px;
}

.btn {
  padding: 10px 20px;
  background: #2563eb;
  border-radius: 6px;
}

.btn.outline {
  background: transparent;
  border: 1px solid #2563eb;
}

.section {
  max-width: 800px;
  margin: 0 auto;
  padding: 80px 20px;
  scroll-margin-top: 80px;
}

.section h3 {
  font-size: 2rem;
  margin-bottom: 20px;
}

.projects {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.card {
  background: #1e293b;
  padding: 20px;
  border-radius: 8px;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a, #020617);
  color: #f8fafc;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  text-align: center;
  padding: 0 20px;
}

.hero h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.hero h2 {
  font-size: 1.5rem;
  font-weight: 400;
  color: #38bdf8;
  margin-bottom: 15px;
}

.hero p {
  font-size: 1rem;
  color: #cbd5f5;
  margin-bottom: 30px;
}

.hero-buttons {
  display: flex;
  gap: 15px;
}

.btn {
  padding: 12px 28px;
  border-radius: 6px;
  background: #38bdf8;
  color: #020617;
  font-weight: 600;
  transition: 0.3s;
}

.btn:hover {
  background: #0ea5e9;
}

.btn.outline {
  background: transparent;
  border: 2px solid #38bdf8;
  color: #38bdf8;
}

.btn.outline:hover {
  background: #38bdf8;
  color: #020617;
}

@media (max-width: 768px) {
  .hero h1 {
    font-size: 2.2rem;
  }

  .hero h2 {
    font-size: 1.2rem;
  }

  .hero-buttons {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
    text-align: center;
  }
}
html{
  scroll-behavior: smooth;
}