* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: Arial, sans-serif;
  background: #f4f7fb;
  color: #222;
  line-height: 1.7;
}

header {
  background: #111827;
  position: sticky;
  top: 0;
  z-index: 999;
}

.navbar {
  max-width: 1100px;
  margin: auto;
  padding: 16px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  color: white;
  font-size: 24px;
  letter-spacing: 1px;
}

.nav-links {
  list-style: none;
  display: flex;
  gap: 22px;
}

.nav-links a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.nav-links a:hover {
  color: #38bdf8;
}

.menu-btn {
  display: none;
  background: none;
  border: none;
  color: white;
  font-size: 28px;
  cursor: pointer;
}

.hero {
  max-width: 1100px;
  margin: auto;
  padding: 80px 20px;
  min-height: 85vh;
  display: flex;
  align-items: center;
  gap: 50px;
}

.hero-text {
  flex: 1.4;
}

.intro {
  color: #2563eb;
  font-weight: bold;
  margin-bottom: 8px;
}

.hero-text h1 {
  font-size: 46px;
  line-height: 1.15;
  margin-bottom: 14px;
  color: #111827;
}

.hero-text h3 {
  font-size: 22px;
  color: #2563eb;
  margin-bottom: 18px;
}

.hero-text p {
  font-size: 18px;
  margin-bottom: 26px;
}

.buttons {
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  background: #2563eb;
  color: white;
  padding: 12px 20px;
  text-decoration: none;
  border-radius: 6px;
  font-weight: bold;
}

.btn:hover {
  background: #1d4ed8;
}

.btn.dark {
  background: #111827;
}

.btn.dark:hover {
  background: #374151;
}

.hero-image {
  flex: 0.8;
  text-align: center;
}

.hero-image img {
  width: 290px;
  height: 290px;
  object-fit: cover;
  border-radius: 50%;
  border: 6px solid #2563eb;
  background: white;
}

.section {
  max-width: 1100px;
  margin: auto;
  padding: 60px 20px;
}

.section h2 {
  font-size: 34px;
  margin-bottom: 25px;
  color: #111827;
}

.card {
  background: white;
  padding: 24px;
  border-radius: 12px;
  margin-bottom: 20px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.card h3 {
  color: #2563eb;
  margin-bottom: 8px;
}

.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.cv-section {
  text-align: center;
}

.contact-card a {
  color: #2563eb;
  text-decoration: none;
}

footer {
  background: #111827;
  color: white;
  text-align: center;
  padding: 20px;
  margin-top: 30px;
}

@media (max-width: 768px) {
  .menu-btn {
    display: block;
  }

  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    right: 20px;
    top: 65px;
    background: #111827;
    padding: 20px;
    width: 220px;
    border-radius: 10px;
  }

  .nav-links.active {
    display: flex;
  }

  .hero {
    flex-direction: column;
    text-align: center;
    padding: 50px 20px;
  }

  .hero-text h1 {
    font-size: 34px;
  }

  .hero-text h3 {
    font-size: 19px;
  }

  .buttons {
    justify-content: center;
  }

  .hero-image img {
    width: 230px;
    height: 230px;
  }

  .grid {
    grid-template-columns: 1fr;
  }

  .section h2 {
    font-size: 28px;
  }
}