﻿:root {
  --bg: #0f172a;
  --card: #1e293b;
  --primary: #3b82f6;
  --text: #e2e8f0;
  --muted: #94a3b8;
}

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

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
}

.navbar {
  position: sticky;
  top: 0;
  background: var(--card);
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 40px;
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 25px;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  font-weight: 500;
}

.hero {
  text-align: center;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 3rem;
  margin-bottom: 10px;
}

.hero p {
  color: var(--muted);
}

.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 10px 20px;
  background: var(--primary);
  color: white;
  text-decoration: none;
  border-radius: 6px;
}

section {
    text-align: center;
  padding: 80px 10%;
  max-width: 1200px;
  margin: auto;
}
.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.project-card {
  background: var(--card);
  border-radius: 12px;
  padding: 20px;
  color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.project-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.35);
}

.project-card h3 {
  color: #60a5fa;
  font-size: 1.2rem;
  margin-bottom: 10px;
}

.project-card p {
  font-size: 0.95rem;
  line-height: 1.5;
}

.project-card ul {
  margin: 10px 0;
  padding-left: 18px;
}

.project-card li {
  margin-bottom: 5px;
}

.project-card a {
  display: inline-block;
  margin-top: 10px;
  color: #3b82f6;
  text-decoration: none;
  font-weight: 500;
}

.project-card a:hover {
  text-decoration: underline;
}

footer {
  text-align: center;
  padding: 30px;
  color: var(--muted);
}

html {
  scroll-behavior: smooth;
}

#skills {
  text-align: center;
}

.skills-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 25px;
  margin-top: 30px;
}

.skill-category {
  background: var(--card);
  padding: 20px;
  border-radius: 10px;
}

.skill-category h3 {
  margin-bottom: 10px;
  color: var(--primary);
}

.skill-category ul {
  list-style: none;
}

.skill-category li {
  padding: 5px 0;
  color: var(--muted);
}

.skill-category {
  transition: transform 0.2s ease;
}

.skill-category:hover {
  transform: translateY(-5px);
}
