body {
  font-family: "Segoe UI", sans-serif;
  margin: 0;
  background-color: #f9fbfd;
  color: #222;
  line-height: 1.6;
}

.container {
  max-width: 960px;
  margin: 0 auto;
  padding: 20px;
}

.header {
  background-color: #0d3b66;
  color: white;
  padding: 20px 0;
  text-align: center;
}

.nav {
  list-style: none;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

.intro {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  background: #eaf2f8;
  padding: 40px 0;
  gap: 20px;
}

.profile-photo {
  width: 200px;
  max-width: 100%;
  border-radius: 10px;
}

.btn {
  display: inline-block;
  background: #1d70b8;
  color: white;
  padding: 10px 20px;
  margin-top: 15px;
  text-decoration: none;
  border-radius: 6px;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #155a94;
}

.section {
  padding: 40px 0;
}

.contact form {
  margin-top: 20px;
  display: flex;
  flex-direction: column;
}

.contact input,
.contact textarea {
  padding: 10px;
  margin-bottom: 10px;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.contact button {
  background: #0d3b66;
  color: white;
  border: none;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-size: 1rem;
}

.footer {
  text-align: center;
  padding: 20px;
  background: #0d3b66;
  color: white;
}

/* ===== ð± ÐÐ´Ð°Ð¿ÑÐ¸Ð²Ð½Ð¾ÑÑÑ ===== */

@media (max-width: 768px) {
  .intro {
    flex-direction: column;
    text-align: center;
  }

  .profile-photo {
    margin: 0 auto;
  }

  .nav {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 15px;
  }

  .btn,
  .contact button {
    width: 100%;
    font-size: 1rem;
  }

  h1, h2 {
    font-size: 1.5rem;
  }

  p, li, label, input, textarea {
    font-size: 1rem;
  }
}
