:root {
  --primary-blue: #0d3b66;
  --warm-grey: #8a7f76;
  --soft-ivory: #f5f1ed;
  --emerald-accent: #2d7a6c;
  --text-dark: #2c2c2c;
}

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

body {
  font-family: 'Merriweather', serif;
  color: var(--text-dark);
  background-color: var(--soft-ivory);
  line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  margin-bottom: 1.5rem;
  line-height: 1.3;
}

h1 {
  font-size: 3rem;
  color: var(--primary-blue);
  letter-spacing: -0.02em;
}

h2 {
  font-size: 2.2rem;
  color: var(--primary-blue);
  margin-top: 2rem;
}

h3 {
  font-size: 1.5rem;
  color: var(--primary-blue);
  margin-top: 1.5rem;
}

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  line-height: 1.7;
  max-width: 900px;
}

a {
  color: var(--emerald-accent);
  text-decoration: none;
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-blue);
}

header {
  background-color: var(--primary-blue);
  color: var(--soft-ivory);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 8px rgba(13, 59, 102, 0.15);
}

nav {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 2rem;
}

.logo {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

.logo a {
  color: var(--soft-ivory);
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 2rem;
}

.nav-links a {
  color: var(--soft-ivory);
  font-size: 0.95rem;
  transition: opacity 0.3s ease;
}

.nav-links a:hover {
  opacity: 0.8;
}

.nav-links a.active {
  border-bottom: 2px solid var(--emerald-accent);
  padding-bottom: 0.25rem;
}

footer {
  background-color: var(--text-dark);
  color: var(--soft-ivory);
  padding: 3rem 2rem;
  margin-top: 4rem;
}

.footer-content {
  max-width: 1440px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}

.footer-section h3 {
  color: var(--soft-ivory);
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.footer-section p, .footer-section a {
  font-size: 0.9rem;
  line-height: 1.8;
  color: var(--soft-ivory);
}

.footer-bottom {
  border-top: 1px solid rgba(245, 241, 237, 0.1);
  padding-top: 2rem;
  text-align: center;
  font-size: 0.85rem;
  color: rgba(245, 241, 237, 0.7);
}

.container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
}

.hero-section {
  background: linear-gradient(135deg, rgba(13, 59, 102, 0.85) 0%, rgba(45, 122, 108, 0.7) 100%);
  color: var(--soft-ivory);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section h1 {
  color: var(--soft-ivory);
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
}

.hero-section p {
  color: var(--soft-ivory);
  font-size: 1.2rem;
  margin: 0 auto 2rem;
}

.section {
  padding: 4rem 2rem;
}

.section-alt {
  background-color: #fff;
  padding: 4rem 2rem;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.column-text {
  max-width: 600px;
}

.column-image img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 4px;
}

.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 2rem auto;
}

.card {
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(13, 59, 102, 0.1);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.card:hover {
  box-shadow: 0 4px 12px rgba(13, 59, 102, 0.15);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--primary-blue);
}

.card p {
  font-size: 0.95rem;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  background-color: var(--emerald-accent);
  color: var(--soft-ivory);
  border: none;
  border-radius: 4px;
  font-family: 'Montserrat', sans-serif;
  font-size: 0.95rem;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  text-decoration: none;
  display: inline-block;
}

.btn:hover {
  background-color: var(--primary-blue);
  transform: scale(1.05);
}

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

.btn-secondary:hover {
  background-color: var(--emerald-accent);
}

.disclaimer {
  background-color: #f9f6f3;
  border-left: 4px solid var(--emerald-accent);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.disclaimer p {
  margin-bottom: 0;
  font-size: 0.95rem;
  max-width: 100%;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: var(--text-dark);
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--warm-grey);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--emerald-accent);
}

.form-container {
  max-width: 600px;
  margin: 0 auto;
  background: #fff;
  padding: 2rem;
  border-radius: 4px;
  box-shadow: 0 2px 8px rgba(13, 59, 102, 0.1);
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  right: 0;
  left: 0;
  background-color: var(--text-dark);
  color: var(--soft-ivory);
  padding: 1.5rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 999;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.2);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-message {
  flex: 1;
  font-size: 0.9rem;
}

.cookie-buttons {
  display: flex;
  gap: 1rem;
}

.cookie-btn {
  padding: 0.5rem 1rem;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
}

.cookie-accept {
  background-color: var(--emerald-accent);
  color: var(--soft-ivory);
}

.cookie-accept:hover {
  background-color: var(--primary-blue);
}

.cookie-decline {
  background-color: transparent;
  color: var(--soft-ivory);
  border: 1px solid var(--soft-ivory);
}

.cookie-decline:hover {
  background-color: rgba(245, 241, 237, 0.1);
}

.cookie-learn {
  background-color: transparent;
  color: var(--emerald-accent);
  border: 1px solid var(--emerald-accent);
}

.cookie-learn:hover {
  background-color: rgba(45, 122, 108, 0.1);
}

.highlight {
  color: var(--emerald-accent);
  font-weight: 600;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1.5rem;
  border-radius: 4px;
  margin: 2rem 0;
  text-align: center;
}

.list-styled {
  list-style: none;
  margin: 1.5rem 0;
}

.list-styled li {
  padding-left: 2rem;
  margin-bottom: 0.75rem;
  position: relative;
}

.list-styled li:before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--emerald-accent);
  font-weight: bold;
}

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

  h2 {
    font-size: 1.5rem;
  }

  .nav-links {
    gap: 1rem;
    font-size: 0.85rem;
  }

  .two-column {
    grid-template-columns: 1fr;
  }

  .hero-section h1 {
    font-size: 1.8rem;
  }

  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .cookie-buttons {
    width: 100%;
    flex-wrap: wrap;
  }

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