* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

:root {
  --scout-green: #006940;
  --scout-blue: #003982;
  --light-green: #7FB069;
  --accent-orange: #E67E22;
  --text-dark: #2C3E50;
  --text-light: #ECF0F1;
  --gray-light: #F8F9FA;
  --gray-medium: #DEE2E6;
  --white: #FFFFFF;
  --spacing-unit: 8px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: var(--white);
}

header {
  background-color: var(--scout-green);
  color: var(--text-light);
  padding: calc(var(--spacing-unit) * 2) 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 2);
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: calc(var(--spacing-unit) * 2);
}

header h1 {
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.2;
}

header .tagline {
  font-size: 0.9rem;
  opacity: 0.9;
  margin-top: calc(var(--spacing-unit) / 2);
}

nav {
  background-color: var(--scout-blue);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 calc(var(--spacing-unit) * 2);
}

nav ul li {
  margin: 0;
}

nav ul li a {
  display: block;
  color: var(--text-light);
  text-decoration: none;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 3);
  transition: background-color 0.3s ease;
  font-weight: 500;
}

nav ul li a:hover,
nav ul li a:focus {
  background-color: rgba(255, 255, 255, 0.1);
  outline: 2px solid rgba(255, 255, 255, 0.3);
  outline-offset: -2px;
}

nav ul li a.active {
  background-color: rgba(255, 255, 255, 0.2);
  font-weight: 600;
}

main {
  max-width: 1200px;
  margin: 0 auto;
  padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2);
  min-height: 60vh;
}

.hero {
  background: linear-gradient(135deg, var(--scout-green), var(--light-green));
  color: var(--text-light);
  padding: calc(var(--spacing-unit) * 8) calc(var(--spacing-unit) * 2);
  text-align: center;
  border-radius: 8px;
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.hero h2 {
  font-size: 2.5rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  line-height: 1.2;
}

.hero p {
  font-size: 1.25rem;
  max-width: 700px;
  margin: 0 auto calc(var(--spacing-unit) * 3);
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: calc(var(--spacing-unit) * 2) calc(var(--spacing-unit) * 4);
  background-color: var(--accent-orange);
  color: var(--white);
  text-decoration: none;
  border-radius: 4px;
  font-weight: 600;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

.btn:hover,
.btn:focus {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  outline: 2px solid var(--accent-orange);
  outline-offset: 2px;
}

.btn-secondary {
  background-color: var(--scout-blue);
}

.content-section {
  margin-bottom: calc(var(--spacing-unit) * 6);
}

.content-section h2 {
  font-size: 2rem;
  margin-bottom: calc(var(--spacing-unit) * 3);
  color: var(--scout-green);
  line-height: 1.2;
}

.content-section h3 {
  font-size: 1.5rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--scout-blue);
  line-height: 1.2;
}

.content-section p {
  margin-bottom: calc(var(--spacing-unit) * 2);
  line-height: 1.5;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: calc(var(--spacing-unit) * 3);
  margin-top: calc(var(--spacing-unit) * 3);
}

.card {
  background-color: var(--white);
  border: 1px solid var(--gray-medium);
  border-radius: 8px;
  padding: calc(var(--spacing-unit) * 3);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
}

.card h3 {
  font-size: 1.25rem;
  margin-bottom: calc(var(--spacing-unit) * 2);
  color: var(--scout-green);
}

.card p {
  margin-bottom: calc(var(--spacing-unit) * 1.5);
  line-height: 1.5;
}

.card ul {
  margin-left: calc(var(--spacing-unit) * 3);
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.card ul li {
  margin-bottom: calc(var(--spacing-unit));
  line-height: 1.5;
}

.info-box {
  background-color: var(--gray-light);
  border-left: 4px solid var(--scout-green);
  padding: calc(var(--spacing-unit) * 3);
  margin: calc(var(--spacing-unit) * 3) 0;
  border-radius: 4px;
}

.info-box.warning {
  border-left-color: var(--accent-orange);
}

.info-box h3 {
  margin-top: 0;
  font-size: 1.25rem;
}

form {
  background-color: var(--gray-light);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: 8px;
  max-width: 700px;
}

.form-group {
  margin-bottom: calc(var(--spacing-unit) * 3);
}

label {
  display: block;
  margin-bottom: calc(var(--spacing-unit));
  font-weight: 600;
  color: var(--text-dark);
}

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: calc(var(--spacing-unit) * 1.5);
  border: 1px solid var(--gray-medium);
  border-radius: 4px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: 2px solid var(--scout-blue);
  outline-offset: 0;
  border-color: var(--scout-blue);
}

textarea {
  resize: vertical;
  min-height: 150px;
}

.contact-info {
  background-color: var(--gray-light);
  padding: calc(var(--spacing-unit) * 4);
  border-radius: 8px;
  margin-bottom: calc(var(--spacing-unit) * 4);
}

.contact-info h3 {
  margin-top: 0;
  margin-bottom: calc(var(--spacing-unit) * 2);
}

.contact-info p {
  margin-bottom: calc(var(--spacing-unit) * 1.5);
}

.contact-info a {
  color: var(--scout-blue);
  text-decoration: none;
  font-weight: 600;
}

.contact-info a:hover,
.contact-info a:focus {
  text-decoration: underline;
}

footer {
  background-color: var(--text-dark);
  color: var(--text-light);
  padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2);
  margin-top: calc(var(--spacing-unit) * 8);
}

footer .container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

footer p {
  margin-bottom: calc(var(--spacing-unit));
  line-height: 1.5;
}

footer a {
  color: var(--light-green);
  text-decoration: none;
}

footer a:hover,
footer a:focus {
  text-decoration: underline;
}

@media (max-width: 768px) {
  header h1 {
    font-size: 1.5rem;
  }

  header .container {
    flex-direction: column;
    text-align: center;
  }

  nav ul {
    flex-direction: column;
    padding: 0;
  }

  nav ul li {
    width: 100%;
  }

  nav ul li a {
    padding: calc(var(--spacing-unit) * 1.5);
    text-align: center;
  }

  .hero h2 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 1rem;
  }

  .cards {
    grid-template-columns: 1fr;
  }

  main {
    padding: calc(var(--spacing-unit) * 3) calc(var(--spacing-unit) * 2);
  }
}

@media (max-width: 480px) {
  header h1 {
    font-size: 1.25rem;
  }

  .hero {
    padding: calc(var(--spacing-unit) * 4) calc(var(--spacing-unit) * 2);
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  form {
    padding: calc(var(--spacing-unit) * 3);
  }
}
