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

body {
  font-family: 'Segoe UI', Arial, sans-serif;
  color: #1a1a1a;
  line-height: 1.6;
}

.hero {
  background: linear-gradient(135deg, #0f172a, #1e3a5f);
  color: #fff;
  padding: 0 40px;
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  max-width: 1100px;
  margin: 0 auto;
}

.logo {
  font-weight: bold;
  font-size: 1.2rem;
}

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

.nav-links a {
  color: #fff;
  text-decoration: none;
  font-size: 0.95rem;
}

.nav-links a:hover {
  opacity: 0.7;
}

.hero-content {
  max-width: 1100px;
  margin: 0 auto;
  padding: 100px 0 140px;
  text-align: left;
}

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

.hero-content p {
  font-size: 1.2rem;
  opacity: 0.85;
  margin-bottom: 30px;
}

.btn {
  display: inline-block;
  background: #38bdf8;
  color: #0f172a;
  padding: 12px 28px;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  transition: opacity 0.2s;
}

.btn:hover {
  opacity: 0.85;
}

.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 80px 40px;
}

.section.alt {
  background: #f4f6f8;
  max-width: 100%;
}

.section.alt > * {
  max-width: 1020px;
  margin-left: auto;
  margin-right: auto;
}

.section h2 {
  font-size: 2rem;
  margin-bottom: 30px;
  border-bottom: 3px solid #38bdf8;
  display: inline-block;
  padding-bottom: 6px;
}

.project-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-top: 20px;
}

.project-card {
  background: #fff;
  border: 1px solid #e2e8f0;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
}

.project-card h3 {
  margin-bottom: 10px;
  color: #1e3a5f;
}

.skills-list, .contact-list {
  list-style: none;
  margin-top: 10px;
}

.skills-list li, .contact-list li {
  padding: 8px 0;
  border-bottom: 1px solid #e2e8f0;
}

.contact-list a {
  color: #1e3a5f;
  text-decoration: none;
  font-weight: 600;
}

footer {
  text-align: center;
  padding: 30px;
  background: #0f172a;
  color: #94a3b8;
  font-size: 0.85rem;
}
