body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #f6f8fa;
  color: #222;
  margin: 0;
}

header {
  background: #29457b;
  color: #fff;
  padding: 0.5em 0;
}
header nav ul {
  display: flex;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
  justify-content: center;
  align-items: center;
}
header nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: 500;
  border-radius: 4px;
  padding: 0.4em 1em;
  transition: background 0.2s;
}
header nav ul li a.active,
header nav ul li a:hover {
  background: #648fd6;
}
main {
  max-width: 900px;
  margin: 1.5em auto;
  padding: 1em;
}
.hero {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  background: #fff;
  border-radius: 15px;
  box-shadow: 0 4px 20px rgba(41, 69, 123, 0.10);
  padding: 2em;
  margin-bottom: 2em;
  gap: 2em;
}
.hero img {
  width: 160px;
  height: 160px;
  object-fit: cover;
  border-radius: 100px;
  border: 3px solid #648fd6;
  background: #dde6f6;
}
.hero > div {
  flex: 1;
  min-width: 220px;
}
.services {
  margin-top: 2em;
}
.services h3 {
  text-align: center;
  font-size: 1.6em;
  margin-bottom: 1.3em;
  font-weight: 600;
}
.services ul {
  display: flex;
  gap: 2em;
  justify-content: center;
  flex-wrap: wrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.services ul li {
  background: #ffffff;
  border-radius: 11px;
  box-shadow: 0 2px 8px rgba(41,69,123,0.09);
  padding: 1.2em 1.5em;
  text-align: center;
  min-width: 180px;
  transition: box-shadow 0.2s, transform 0.2s;
  font-size: 1.1em;
}
.services ul li:hover {
  box-shadow: 0 4px 18px rgba(100,143,214,0.19);
  transform: translateY(-4px);
}
.services ul li img {
  width: 45px;
  margin-bottom: 0.7em;
}
footer {
  background: #29457b;
  color: #eee;
  padding: 1em 0;
  text-align: center;
}
footer nav ul {
  display: inline-flex;
  gap: 1em;
  list-style: none;
  margin: 0;
  padding: 0;
}
footer nav ul li a {
  color: #e2eefd;
  text-decoration: underline;
}
.gallery-row {
  display: flex;
  gap: 1.5em;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 1em;
}
.gallery-row img {
  max-width: 180px;
  border-radius: 9px;
  box-shadow: 0 2px 8px rgba(34, 33, 59, 0.07);
}
video {
  display: block;
  margin: 1em auto;
  max-width: 98%;
  border-radius: 9px;
}
@media (max-width: 700px) {
  main {
    padding: 0.7em;
  }
  .hero {
    flex-direction: column;
    align-items: center;
    padding: 1.5em 1em;
    gap: 1.4em;
  }
  .gallery-row {
    gap: 0.7em;
  }
  .services ul {
    flex-direction: column;
    gap: 1em;
  }
}
