* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  overflow-y: auto;
}

body {
  min-height: 100vh;
  margin: 0;
  padding: 0;
  font-family: Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  background: #ffffff;
  display: flex;
  flex-direction: column;
}

header {
  background: #1f3a5f;
  color: white;
  padding: 22px 20px 18px;
  text-align: center;
}

header h1 {
  color: white;
  margin: 0 0 6px;
  font-size: 30px;
}

header p {
  margin: 0;
  font-size: 14px;
}

nav {
  background: #2c5282;
  padding: 12px 20px;
  text-align: center;
}

nav a {
  color: white;
  margin: 0 15px;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
}

nav a:hover {
  text-decoration: underline;
}

.hero {
  min-height: 360px;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url("images/community.jpg") center 25% / cover no-repeat;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 45px 20px;
  text-align: center;
  color: white;
}

.hero {
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.7);
}

.hero h1,
.hero h2 {
  color: white;
  max-width: 1000px;
  margin: 0;
  font-size: clamp(32px, 4vw, 52px);
  line-height: 1.15;
}

.container {
  width: min(850px, 90%);
  margin: 0 auto;
  padding: 42px 0 48px;
  flex: 1;
}

h1,
h2 {
  color: #1f3a5f;
}

h2 {
  margin-top: 0;
  margin-bottom: 12px;
  font-size: 24px;
}

p {
  margin-top: 0;
  margin-bottom: 20px;
  font-size: 16px;
}

img {
  width: 100%;
  border-radius: 8px;
  margin: 20px 0;
  display: block;
}

footer {
  background: #1f3a5f;
  color: white;
  text-align: center;
  padding: 18px 20px;
  margin-top: auto;
}

footer p {
  margin: 0;
  font-size: 14px;
}