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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f5f7fb;
  color: #172033;
  line-height: 1.6;
}

a {
  color: inherit;
  text-decoration: none;
}

.hero {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f172a, #1e3a8a);
  color: white;
  padding: 28px;
}

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

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

.nav-links {
  display: flex;
  gap: 22px;
  font-size: 0.95rem;
}

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

.eyebrow {
  color: #bfdbfe;
  font-weight: 600;
  margin-bottom: 14px;
}

h1 {
  font-size: clamp(2.6rem, 8vw, 5rem);
  line-height: 1.05;
  margin-bottom: 22px;
}

.subtitle {
  max-width: 720px;
  color: #dbeafe;
  font-size: 1.2rem;
  margin-bottom: 32px;
}

.hero-buttons {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.button {
  padding: 13px 22px;
  border-radius: 999px;
  font-weight: 700;
}

.primary {
  background: white;
  color: #1e3a8a;
}

.secondary {
  border: 1px solid rgba(255, 255, 255, 0.6);
  color: white;
}

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

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

.section p {
  max-width: 780px;
  color: #475569;
}

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

.card,
.project {
  background: white;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
}

.project {
  margin-top: 18px;
}

.project h3 {
  color: #1e3a8a;
  margin-bottom: 8px;
}

.contact a {
  color: #1e40af;
  font-weight: 700;
}

footer {
  text-align: center;
  padding: 30px;
  color: #64748b;
  background: white;
}

@media (max-width: 700px) {
  .nav {
    align-items: flex-start;
    gap: 18px;
    flex-direction: column;
  }

  .nav-links {
    flex-wrap: wrap;
  }

  .hero-content {
    margin-top: 90px;
  }
}
