:root {
  --bg: #f4f7fb;
  --card: #ffffff;
  --text: #14213d;
  --accent: #0b5ed7;
  --header-bg: linear-gradient(135deg, #0d1b2a, #1b263b);
}

* {
  box-sizing: border-box;
}

html {
  height: 100%;
}

body {
  margin: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: Inter, "Segoe UI", Roboto, Arial, sans-serif;
  color: var(--text);
  background: white;
  line-height: 1.7;
}

header.header {
  background: var(--header-bg);
  color: white;
}

.nav {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.brand {
  color: white;
  font-weight: 700;
  text-decoration: none;
}

.nav-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.nav-links a {
  color: #dbe8ff;
  text-decoration: none;
}

.nav-links a.active {
  color: white;
  border-bottom: 2px solid white;
}

main {
  flex: 1 0 auto;
  display: block;
}

.hero-content {
  max-width: 1000px;
  margin: 2.5rem auto;
  padding: 0 1.5rem;
}

.profile {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
}

.profile-photo {
  margin-top: 20px;
}

.profile-photo img {
  width: 150px;
  height: 190px;
  object-fit: cover;
  object-position: center top;
  border-radius: 8px;
  display: block;
}

.profile-text {
  max-width: 700px;
}

h1, h2, h3 {
  line-height: 1.25;
}

.btn {
  display: inline-block;
  padding: 0.55rem 1rem;
  border-radius: 999px;
  border: 1px solid #c4d9ff;
  color: white;
  text-decoration: none;
}

.btn.primary {
  background: var(--accent);
  border-color: var(--accent);
}

.hero-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}

.section {
  max-width: 1000px;
  margin: 2rem auto;
  padding: 2rem;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(10, 30, 90, 0.08);
}

.footer {
  width: 100%;
  margin-top: auto;
  padding: 2rem 1.5rem;
  background: #0d1b2a;
  color: white;
  border-radius: 0;
  box-shadow: none;
  flex-shrink: 0;
}

.footer-content {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.footer h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
}

.footer p {
  margin: 0.35rem 0;
}

.footer a {
  color: #9ec5ff;
  text-decoration: none;
}

a {
  color: var(--accent);
}

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

  .profile {
    flex-direction: column;
    align-items: flex-start;
  }

  .profile-photo {
    margin-top: 0;
  }
}
