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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background-color: #0f172a;
  color: #e2e8f0;
  line-height: 1.6;
}

.navbar {
  background-color: #0b1120;
  border-bottom: 1px solid #1e293b;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.nav-container {
  width: 90%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 18px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: #38bdf8;
  font-size: 1.4rem;
}

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

.nav-links a {
  text-decoration: none;
  color: #e2e8f0;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: #38bdf8;
}

.hero {
  padding: 110px 20px 80px;
  text-align: center;
  background: linear-gradient(to bottom, #1e293b, #0f172a);
}

.hero-content {
  max-width: 800px;
  margin: 0 auto;
}

.tag {
  color: #38bdf8;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 0.85rem;
  margin-bottom: 12px;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 12px;
  color: #f8fafc;
}

.subtitle {
  font-size: 1.3rem;
  color: #cbd5e1;
  margin-bottom: 18px;
}

.bio {
  font-size: 1.05rem;
  max-width: 700px;
  margin: 0 auto 28px;
  color: #cbd5e1;
}

.hero-buttons {
  display: flex;
  justify-content: center;
  gap: 14px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: bold;
  transition: transform 0.25s ease, background-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background-color: #38bdf8;
  color: #0f172a;
}

.btn-primary:hover {
  background-color: #7dd3fc;
}

.btn-secondary {
  background-color: transparent;
  color: #e2e8f0;
  border: 1px solid #38bdf8;
}

.btn-secondary:hover {
  background-color: rgba(56, 189, 248, 0.1);
}

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

.section {
  margin-bottom: 60px;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 18px;
  color: #38bdf8;
}

.section p {
  color: #cbd5e1;
}

.project-card {
  background-color: #1e293b;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 24px;
  border: 1px solid #334155;
  transition: all 0.3s ease, box-shadow 0.3s ease;
}

.project-card:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.project-card h3 {
  margin-bottom: 12px;
  color: #f8fafc;
}

.project-card:first-child {
  border: 2px solid #38bdf8;
}

.project-card p {
  margin-bottom: 10px;
}

.project-card ul {
  margin-left: 20px;
  margin-top: 10px;
}

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

.project-links {
  margin-top: 14px;
  display: flex;
  gap: 16px;
}

.project-links a {
  color: #38bdf8;
  font-weight: 600;
}

.project-links a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

.featured {
  border: 2px solid #38bdf8;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

#contact p {
  margin-bottom: 10px;
}

a {
  color: #38bdf8;
  text-decoration: none;
  font-weight: 500;
  text-underline-offset: 3px;
}

a:hover {
  color: #7dd3fc;
  text-decoration: underline;
}

@media (max-width: 768px) {
  .nav-container {
    flex-direction: column;
    gap: 12px;
  }

  .nav-links a {
    color: #cbd5e1;
    font-weight: 500;
  }

  .nav-links a:hover {
    color: #38bdf8;
  }

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

  .subtitle {
    font-size: 1.1rem;
  }
}