:root {
  --primary-color: #0056b3;
  --secondary-color: #6c757d;
  --background-color: #f8f9fa;
  --text-color: #333;
  --card-background: #fff;
  --card-border: #dee2e6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background-color: var(--background-color);
}

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

.skip-link {
  position: absolute;
  top: -40px;
  left: 0;
  background: var(--primary-color);
  color: #fff;
  padding: 8px;
  z-index: 100;
  transition: top 0.3s ease;
}

.skip-link:focus {
  top: 0;
}

header {
  background-color: var(--primary-color);
  color: #fff;
  padding: 20px 0;
}

.header-content {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.logo {
  width: 160px;
  height: auto;
  margin-right: 20px;
}

.header-text h1 {
  font-size: 2rem;
  margin-bottom: 5px;
}

.header-text p {
  font-size: 1rem;
}

main {
  padding: 40px 0;
}

.card {
  background-color: var(--card-background);
  border: 1px solid var(--card-border);
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.card-content {
  padding: 20px;
}

.card h2 {
  color: var(--primary-color);
  margin-bottom: 15px;
}

.card-media {
  position: relative;
  padding-bottom: 56.25%; /* 16:9 aspect ratio */
  height: 0;
  overflow: hidden;
}

.card-media iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.card p {
  margin-bottom: 20px;
}

.btn {
  display: inline-block;
  padding: 10px 20px;
  background-color: var(--primary-color);
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

.btn:hover, .btn:focus {
  background-color: #004494;
  text-decoration: underline;
}

.btn-outline {
  background-color: transparent;
  border: 2px solid var(--primary-color);
  color: var(--primary-color);
}

.btn-outline:hover, .btn-outline:focus {
  background-color: var(--primary-color);
  color: #fff;
}

#contact {
  background-color: #e9ecef;
  padding: 40px 0;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 5px;
}

input, textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid var(--card-border);
  border-radius: 5px;
}

footer {
  background-color: #152F4F;
  color: #fff;
  padding: 40px 0;
}

.footer-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.footer-section {
  flex: 1;
  margin-bottom: 20px;
  min-width: 200px;
}

.footer-section h3 {
  margin-bottom: 15px;
}

.footer-section ul {
  list-style-type: none;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section a {
  color: #fff;
  text-decoration: none;
}

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

.copyright {
  text-align: center;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

  .logo {
      margin-right: 0;
      margin-bottom: 20px;
  }

  .footer-content {
      flex-direction: column;
  }
}

@media (prefers-reduced-motion: reduce) {
  * {
      transition: none !important;
  }
}

@media (prefers-contrast: high) {
  :root {
      --primary-color: #0000ff;
      --secondary-color: #000000;
      --background-color: #ffffff;
      --text-color: #000000;
      --card-background: #ffffff;
      --card-border: #000000;
  }

  .card, input, textarea {
      border-width: 2px;
  }

  .btn {
      border: 2px solid currentColor;
  }
}