@import url('https://fonts.googleapis.com/css2?family=Merriweather+Sans:wght@400;700&family=Source+Sans+Pro:wght@400;600;700&display=swap');

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

html, body {
  height: 100%;
  width: 100%;
}

body {
  font-family: 'Source Sans Pro', sans-serif;
  color: #3d3d3d;
  background-color: #E8E2D7;
  line-height: 1.6;
}

h1, h2, h3 {
  font-family: 'Merriweather Sans', sans-serif;
  color: #6B7A8F;
  margin-bottom: 1.5rem;
  font-weight: 700;
}

h1 {
  font-size: 3rem;
  line-height: 1.2;
  margin-bottom: 2rem;
}

h2 {
  font-size: 2.2rem;
  line-height: 1.3;
  margin-bottom: 1.8rem;
}

h3 {
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1.2rem;
}

p {
  font-size: 1rem;
  line-height: 1.6;
  margin-bottom: 1rem;
}

header {
  background-color: #FFFFFF;
  padding: 1.5rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}

header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 2rem;
}

.logo {
  font-family: 'Merriweather Sans', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #6B7A8F;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.8rem;
}

.logo img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 2.5rem;
  align-items: center;
}

nav a {
  text-decoration: none;
  color: #3d3d3d;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease, border-bottom 0.3s ease;
  padding-bottom: 0.3rem;
  border-bottom: 2px solid transparent;
}

nav a:hover,
nav a.active {
  color: #6B7A8F;
  border-bottom: 2px solid #6B7A8F;
}

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

section {
  padding: 5rem 0;
  margin-bottom: 2rem;
}

.hero-section {
  position: relative;
  height: 600px;
  background: linear-gradient(rgba(232, 226, 215, 0.3), rgba(232, 226, 215, 0.3)), url('images/hero.jpg');
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 0;
  margin: 0 0 3rem 0;
}

.hero-content {
  background-color: rgba(255, 255, 255, 0.85);
  padding: 3rem;
  border-radius: 8px;
  max-width: 700px;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1);
}

.hero-content h1 {
  color: #6B7A8F;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
}

.two-column.reverse {
  direction: rtl;
}

.two-column.reverse > * {
  direction: ltr;
}

.text-block h2 {
  margin-top: 0;
}

.grid-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-bottom: 2rem;
}

.card {
  background-color: #FFFFFF;
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  border-top: 4px solid #8A9A5B;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 28px rgba(0,0,0,0.15);
}

.card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 1.5rem;
}

.card h3 {
  margin-top: 0;
  color: #6B7A8F;
}

.sidebar-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 3rem;
}

.main-content {
  background-color: #FFFFFF;
  padding: 2.5rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.glossary-rail {
  background-color: #F5F1E8;
  padding: 2rem;
  border-radius: 8px;
  border-left: 4px solid #6B7A8F;
  position: sticky;
  top: 120px;
}

.glossary-term {
  margin-bottom: 1.5rem;
}

.glossary-term strong {
  color: #6B7A8F;
}

.glossary-term p {
  font-size: 0.95rem;
  margin-bottom: 0;
}

.qa-section {
  background-color: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 1.5rem;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.qa-section h3 {
  color: #6B7A8F;
  margin-top: 0;
  cursor: pointer;
}

.qa-section p {
  margin-bottom: 0;
}

.accordion {
  background-color: #FFFFFF;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.accordion-item {
  border-bottom: 1px solid #E8E2D7;
}

.accordion-item:last-child {
  border-bottom: none;
}

.accordion-header {
  padding: 1.5rem;
  background-color: #F5F1E8;
  cursor: pointer;
  user-select: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 600;
  color: #6B7A8F;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #E8E2D7;
}

.accordion-toggle {
  font-size: 1.2rem;
  transition: transform 0.3s ease;
}

.accordion-toggle.open {
  transform: rotate(180deg);
}

.accordion-body {
  padding: 1.5rem;
  background-color: #FFFFFF;
  display: none;
  max-height: 0;
  overflow: hidden;
  transition: all 0.3s ease;
}

.accordion-body.open {
  display: block;
  max-height: 2000px;
}

.cta-section {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(107, 122, 143, 0.1) 0%, rgba(138, 154, 91, 0.1) 100%);
  border-radius: 8px;
  margin: 3rem 0;
}

.cta-section h2 {
  margin-top: 0;
}

.cta-button {
  display: inline-block;
  background-color: #6B7A8F;
  color: #FFFFFF;
  padding: 1rem 2.5rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1rem;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
}

.cta-button:hover {
  background-color: #5A697D;
  transform: scale(1.02);
  box-shadow: 0 6px 16px rgba(107, 122, 143, 0.3);
}

.secondary-button {
  display: inline-block;
  background-color: transparent;
  color: #6B7A8F;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  border: 2px solid #6B7A8F;
  cursor: pointer;
  font-family: 'Source Sans Pro', sans-serif;
}

.secondary-button:hover {
  background-color: #6B7A8F;
  color: #FFFFFF;
}

footer {
  background-color: #3d3d3d;
  color: #E8E2D7;
  padding: 3rem 0 1.5rem;
  margin-top: 4rem;
  border-top: 4px solid #6B7A8F;
}

footer .container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 2rem;
}

footer h3 {
  font-size: 1.2rem;
  color: #8A9A5B;
  margin-bottom: 1rem;
}

footer a {
  color: #E8E2D7;
  text-decoration: none;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #8A9A5B;
}

footer p {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.footer-bottom {
  text-align: center;
  padding-top: 2rem;
  border-top: 1px solid rgba(232, 226, 215, 0.2);
  font-size: 0.9rem;
}

.educational-badge {
  background-color: #8A9A5B;
  color: #FFFFFF;
  padding: 1rem;
  border-radius: 6px;
  text-align: center;
  font-weight: 600;
  margin: 2rem 0;
}

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

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 600;
  color: #6B7A8F;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #D0C8B8;
  border-radius: 6px;
  font-family: 'Source Sans Pro', sans-serif;
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #6B7A8F;
  box-shadow: 0 0 0 3px rgba(107, 122, 143, 0.1);
}

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

.form-disclaimer {
  background-color: #F5F1E8;
  padding: 1.5rem;
  border-radius: 6px;
  border-left: 4px solid #A97E5B;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
  line-height: 1.6;
}

.disclaimer-panel {
  background-color: #A97E5B;
  color: #FFFFFF;
  padding: 2rem;
  border-radius: 8px;
  margin: 2rem 0;
  border-left: 6px solid #6B7A8F;
}

.disclaimer-panel h3 {
  color: #FFFFFF;
  margin-top: 0;
}

.disclaimer-panel ul {
  margin-left: 1.5rem;
}

.disclaimer-panel li {
  margin-bottom: 0.8rem;
}

.contact-info-block {
  background-color: #F5F1E8;
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.contact-info-block p {
  margin-bottom: 0.8rem;
  font-size: 1.05rem;
}

.contact-info-block strong {
  color: #6B7A8F;
}

.thank-you-message {
  text-align: center;
  padding: 4rem 2rem;
  background: linear-gradient(135deg, rgba(107, 122, 143, 0.1) 0%, rgba(138, 154, 91, 0.1) 100%);
  border-radius: 8px;
  margin: 3rem 0;
}

.checkmark-icon {
  font-size: 4rem;
  color: #8A9A5B;
  margin-bottom: 1rem;
}

.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  margin-top: 3rem;
}

.blog-card {
  background-color: #FFFFFF;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  transition: all 0.4s ease;
  cursor: pointer;
  text-decoration: none;
  color: inherit;
  display: block;
}

.blog-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.15);
}

.blog-card img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.blog-card-content {
  padding: 1.5rem;
}

.blog-card h3 {
  color: #6B7A8F;
  margin-top: 0;
  font-size: 1.3rem;
}

.blog-card p {
  font-size: 0.95rem;
  color: #6d6d6d;
  margin-bottom: 0;
  line-height: 1.5;
}

.article-content {
  background-color: #FFFFFF;
  padding: 3rem;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  margin: 2rem 0;
}

.article-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 2rem 0;
}

.key-takeaways {
  background-color: #F5F1E8;
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid #8A9A5B;
  margin: 2rem 0;
}

.key-takeaways h3 {
  color: #6B7A8F;
  margin-top: 0;
}

.key-takeaways ul {
  margin-left: 1.5rem;
}

.key-takeaways li {
  margin-bottom: 0.8rem;
}

.mission-quote {
  background-color: #E8E2D7;
  padding: 2rem;
  border-radius: 8px;
  border-left: 6px solid #6B7A8F;
  font-size: 1.1rem;
  font-style: italic;
  color: #6B7A8F;
  margin: 2rem 0;
  line-height: 1.8;
}

strong {
  color: #6B7A8F;
}

.space-divider {
  height: 2rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #3d3d3d;
  color: #E8E2D7;
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  z-index: 1000;
}

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

.cookie-text {
  flex: 1;
  font-size: 0.95rem;
}

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

.cookie-btn {
  padding: 0.6rem 1.2rem;
  border-radius: 4px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  font-size: 0.9rem;
}

.cookie-accept {
  background-color: #8A9A5B;
  color: #FFFFFF;
}

.cookie-accept:hover {
  background-color: #7A8A4B;
}

.cookie-decline {
  background-color: transparent;
  color: #E8E2D7;
  border: 1px solid #E8E2D7;
}

.cookie-decline:hover {
  background-color: rgba(232, 226, 215, 0.1);
}

.cookie-learn {
  background-color: transparent;
  color: #E8E2D7;
  border: 1px solid #E8E2D7;
}

.cookie-learn:hover {
  background-color: rgba(232, 226, 215, 0.1);
}

@media (max-width: 1024px) {
  .two-column {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .grid-cards {
    grid-template-columns: repeat(2, 1fr);
  }

  .sidebar-layout {
    grid-template-columns: 1fr;
  }

  .glossary-rail {
    position: static;
  }

  footer .container {
    grid-template-columns: 1fr;
  }

  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  nav ul {
    gap: 1.5rem;
  }

  h1 {
    font-size: 2.2rem;
  }

  h2 {
    font-size: 1.8rem;
  }
}

@media (max-width: 768px) {
  .hero-section {
    height: 400px;
  }

  .hero-content {
    padding: 2rem;
  }

  h1 {
    font-size: 1.8rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  header .container {
    padding: 0 1rem;
  }

  nav ul {
    gap: 1rem;
    font-size: 0.9rem;
  }

  section {
    padding: 3rem 1rem;
  }

  .container {
    padding: 0 1rem;
  }

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

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

  .article-content {
    padding: 1.5rem;
  }

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

  .cookie-buttons {
    flex-direction: column;
  }

  .cookie-btn {
    width: 100%;
  }
}
