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

html {
  scroll-behavior: smooth;
}

body {
  font-family:
    Arial,
    Helvetica,
    sans-serif;

  line-height: 1.7;

  background: #f3f6fb;
  color: #1f2937;
}

/* Navigation */

.navbar {
  position: sticky;
  top: 0;
  z-index: 100;

  background: rgba(17, 24, 39, 0.95);

  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.nav-container {
  max-width: 1000px;
  margin: 0 auto;

  min-height: 64px;

  padding: 0 24px;

  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  color: white;

  font-weight: 700;
  font-size: 18px;

  text-decoration: none;
}

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

.nav-links a {
  color: #d1d5db;

  font-size: 14px;

  text-decoration: none;
}

.nav-links a:hover {
  color: white;
}

/* Hero */

.hero {
  min-height: 520px;

  padding: 110px 24px;

  display: flex;
  align-items: center;

  background:
    linear-gradient(
      135deg,
      #111827,
      #172554
    );

  color: white;
}

.hero-content {
  width: 100%;
  max-width: 1000px;

  margin: 0 auto;
}

.hero-label {
  margin-bottom: 14px;

  font-size: 14px;
  font-weight: 700;

  letter-spacing: 2px;

  color: #60a5fa;
}

.hero h1 {
  max-width: 800px;

  margin-bottom: 12px;

  font-size: 52px;
  line-height: 1.15;
}

.hero-description {
  margin-bottom: 20px;

  font-size: 20px;

  color: #dbeafe;
}

.hero-text {
  max-width: 650px;

  margin-bottom: 30px;

  font-size: 17px;

  color: #cbd5e1;
}

.hero-buttons {
  display: flex;
  flex-wrap: wrap;

  gap: 12px;
}

.button {
  display: inline-block;

  padding: 11px 20px;

  border-radius: 9px;

  font-weight: 700;

  text-decoration: none;

  transition:
    transform 0.2s ease,
    background 0.2s ease;
}

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

.button-primary {
  background: #2563eb;
  color: white;
}

.button-primary:hover {
  background: #1d4ed8;
}

.button-secondary {
  border: 1px solid #475569;

  background: rgba(255, 255, 255, 0.06);

  color: white;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
}

/* Main */

main {
  max-width: 1000px;

  margin: 0 auto;

  padding: 60px 24px;
}

section {
  margin-bottom: 30px;

  padding: 36px;

  background: white;

  border: 1px solid #e5e7eb;
  border-radius: 16px;

  box-shadow:
    0 8px 25px
    rgba(15, 23, 42, 0.05);
}

.section-label {
  margin-bottom: 5px;

  color: #2563eb;

  font-size: 12px;
  font-weight: 700;

  letter-spacing: 2px;
}

h2 {
  margin-bottom: 18px;

  color: #111827;

  font-size: 28px;
}

section p + p {
  margin-top: 12px;
}

/* Skills */

.skill-list {
  display: flex;
  flex-wrap: wrap;

  gap: 10px;
}

.skill {
  padding: 7px 13px;

  border: 1px solid #dbeafe;
  border-radius: 999px;

  background: #eff6ff;

  color: #1d4ed8;

  font-size: 14px;
  font-weight: 600;
}

/* Project */

.project-card {
  display: flex;

  gap: 22px;

  padding: 26px;

  border: 1px solid #e5e7eb;
  border-radius: 14px;

  background: #f8fafc;
}

.project-icon {
  width: 56px;
  height: 56px;

  flex-shrink: 0;

  display: flex;
  align-items: center;
  justify-content: center;

  border-radius: 14px;

  background: #dbeafe;

  font-size: 28px;
}

.project-content {
  flex: 1;
}

.project-number {
  margin-bottom: 2px;

  color: #2563eb;

  font-size: 12px;
  font-weight: 700;

  text-transform: uppercase;
}

.project-content h3 {
  margin-bottom: 8px;

  color: #111827;

  font-size: 21px;
}

.project-tech {
  display: flex;
  flex-wrap: wrap;

  gap: 8px;

  margin-top: 18px;
}

.project-tech span {
  padding: 5px 10px;

  border-radius: 6px;

  background: #e5e7eb;

  color: #374151;

  font-size: 12px;
  font-weight: 600;
}

.project-links {
  display: flex;
  flex-wrap: wrap;

  gap: 20px;

  margin-top: 18px;
}

.project-links a,
.contact-link {
  color: #2563eb;

  font-weight: 700;

  text-decoration: none;
}

.project-links a:hover,
.contact-link:hover {
  text-decoration: underline;
}

/* Footer */

footer {
  padding: 35px 20px;

  text-align: center;

  color: #64748b;

  font-size: 14px;
}

/* Mobile */

@media (max-width: 700px) {

  .nav-container {
    min-height: auto;

    padding-top: 16px;
    padding-bottom: 16px;

    flex-direction: column;

    gap: 12px;
  }

  .nav-links {
    width: 100%;

    justify-content: center;

    gap: 14px;

    flex-wrap: wrap;
  }

  .hero {
    min-height: auto;

    padding: 80px 20px;
  }

  .hero h1 {
    font-size: 38px;
  }

  .hero-description {
    font-size: 17px;
  }

  main {
    padding: 35px 16px;
  }

  section {
    padding: 24px;
  }

  .project-card {
    flex-direction: column;
  }

}
