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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Open Sans', 'Lato', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 1.1rem;
  line-height: 1.7;
  color: #34495E;
  background-color: #FFFFFF;
  overflow-x: hidden;
}

h1 {
  font-family: 'Playfair Display', 'Merriweather', serif;
  font-size: 4.5rem;
  color: #2C3E50;
  margin-bottom: 1.5rem;
  line-height: 1.2;
  font-weight: 700;
}

h2 {
  font-family: 'Playfair Display', 'Merriweather', serif;
  font-size: 2.8rem;
  color: #2C3E50;
  margin: 2rem 0 1.5rem 0;
  font-weight: 700;
  line-height: 1.3;
}

h3 {
  font-family: 'Playfair Display', 'Merriweather', serif;
  font-size: 1.8rem;
  color: #2C3E50;
  margin: 1.5rem 0 1rem 0;
  font-weight: 700;
}

p {
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

a {
  color: #2C3E50;
  text-decoration: none;
  transition: all 0.3s ease;
}

a:hover {
  color: #F39C12;
  text-decoration: underline;
}

/* Header Styles */
header {
  background-color: #FFFFFF;
  border-bottom: 1px solid #BDC3C7;
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

header .logo {
  font-family: 'Playfair Display', 'Merriweather', serif;
  font-size: 1.8rem;
  font-weight: 700;
  color: #2C3E50;
  margin: 0;
}

header .logo a {
  color: #2C3E50;
}

header .logo a:hover {
  color: #F39C12;
  text-decoration: none;
}

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

header .nav-menu a {
  color: #2C3E50;
  font-weight: 500;
  font-size: 1rem;
  position: relative;
}

header .nav-menu a.active {
  color: #F39C12;
  border-bottom: 2px solid #F39C12;
  padding-bottom: 0.25rem;
}

header .nav-menu a:hover {
  color: #F39C12;
  text-decoration: none;
  border-bottom: 2px solid #F39C12;
  padding-bottom: 0.25rem;
}

/* Hero Section */
.hero {
  position: relative;
  width: 100%;
  min-height: 500px;
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  color: white;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(44, 62, 80, 0.7);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 900px;
  padding: 2rem;
}

.hero-content h1 {
  color: white;
  font-size: 3.5rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 0;
  line-height: 1.6;
}

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

/* Section Styling */
section {
  padding: 5rem 0;
  border-bottom: 1px solid #BDC3C7;
}

section:nth-child(even) {
  background-color: #ECF0F1;
}

/* Grid System */
.grid {
  display: grid;
  gap: 2rem;
}

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

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

/* Two-Column Layout */
.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}

.two-column-content {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.two-column-image {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border: 1px solid #BDC3C7;
}

/* Cards */
.card {
  background-color: #FFFFFF;
  border: 1px solid #BDC3C7;
  padding: 2rem;
  margin-bottom: 1.5rem;
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}

.card h3 {
  margin-top: 0;
}

/* Button Styles */
.btn {
  display: inline-block;
  padding: 0.75rem 2rem;
  background-color: #2C3E50;
  color: white;
  border: none;
  border-radius: 0;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  transition: all 0.3s ease;
  text-decoration: none;
  text-align: center;
  margin-top: 1rem;
}

.btn:hover {
  background-color: #1A242F;
  text-decoration: none;
  color: white;
}

.btn-accent {
  background-color: #F39C12;
  color: white;
}

.btn-accent:hover {
  background-color: #D98608;
  color: white;
}

.btn-small {
  padding: 0.5rem 1.5rem;
  font-size: 0.9rem;
}

/* Image Styles */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

.img-responsive {
  width: 100%;
  height: auto;
}

.img-small {
  width: 100%;
  max-width: 400px;
  margin: 0 auto 1.5rem;
}

.img-circular {
  width: 150px;
  height: 150px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 1rem;
}

/* Lists */
ul, ol {
  margin-left: 2rem;
  margin-bottom: 1.5rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Callout Boxes */
.callout {
  background-color: #ECF0F1;
  border-left: 4px solid #F39C12;
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 2px;
}

.callout-green {
  border-left-color: #27AE60;
}

.callout-red {
  border-left-color: #E74C3C;
}

/* Glossary */
.glossary {
  background-color: #ECF0F1;
  padding: 2rem;
  margin: 2rem 0;
  border: 1px solid #BDC3C7;
}

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

.glossary-term {
  font-weight: 700;
  color: #2C3E50;
  font-size: 1.1rem;
}

.glossary-definition {
  margin-top: 0.5rem;
  color: #34495E;
}

/* Tables */
table {
  width: 100%;
  margin: 2rem 0;
  border-collapse: collapse;
}

thead {
  background-color: #2C3E50;
  color: white;
}

th, td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid #BDC3C7;
}

tbody tr:nth-child(even) {
  background-color: #ECF0F1;
}

tbody tr:hover {
  background-color: #BDC3C7;
}

/* Accordion */
.accordion-item {
  border: 1px solid #BDC3C7;
  margin-bottom: 1rem;
}

.accordion-header {
  padding: 1.5rem;
  cursor: pointer;
  background-color: #FFFFFF;
  font-weight: 600;
  user-select: none;
  transition: all 0.3s ease;
}

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

.accordion-header.active {
  background-color: #F39C12;
  color: white;
}

.accordion-content {
  padding: 1.5rem;
  display: none;
  background-color: #FFFFFF;
}

.accordion-content.show {
  display: block;
}

/* Timeline */
.timeline {
  position: relative;
  padding: 2rem 0;
  margin: 2rem 0;
}

.timeline::before {
  content: '';
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 100%;
  background-color: #BDC3C7;
}

.timeline-item {
  margin-bottom: 2rem;
  padding-left: 50%;
  padding-right: 2rem;
}

.timeline-item:nth-child(odd) {
  padding-left: 2rem;
  padding-right: 50%;
  text-align: right;
}

.timeline-marker {
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 12px;
  height: 12px;
  background-color: #F39C12;
  border-radius: 50%;
  border: 2px solid #FFFFFF;
  box-shadow: 0 0 0 4px #BDC3C7;
}

/* Footer */
footer {
  background-color: #2C3E50;
  color: #ECF0F1;
  padding: 3rem 0 1rem;
  margin-top: 5rem;
}

footer .footer-content {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 2rem;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2rem;
  margin-bottom: 2rem;
}

footer .footer-section h3 {
  color: #F39C12;
  font-size: 1.2rem;
  margin-bottom: 1rem;
}

footer a {
  color: #BDC3C7;
}

footer a:hover {
  color: #F39C12;
}

footer .footer-divider {
  border-top: 1px solid #34495E;
  margin: 1.5rem 2rem;
}

footer .footer-bottom {
  max-width: 1440px;
  margin: 0 auto;
  padding: 1rem 2rem;
  text-align: center;
  border-top: 1px solid #34495E;
  font-size: 0.9rem;
}

footer .footer-bottom p {
  margin-bottom: 0.5rem;
}

/* Cookie Banner */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2C3E50;
  color: white;
  padding: 1.5rem 2rem;
  z-index: 1000;
  max-height: 150px;
  overflow-y: auto;
}

.cookie-content {
  max-width: 1440px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
}

.cookie-text {
  flex: 1;
  font-size: 0.9rem;
  line-height: 1.5;
  min-width: 200px;
}

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

.cookie-btn {
  padding: 0.5rem 1.5rem;
  border: 1px solid #BDC3C7;
  background-color: transparent;
  color: white;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
  border-radius: 0;
}

.cookie-btn:hover {
  background-color: #F39C12;
  border-color: #F39C12;
}

.cookie-btn-accept {
  background-color: #F39C12;
  border-color: #F39C12;
}

.cookie-btn-accept:hover {
  background-color: #D98608;
  border-color: #D98608;
}

/* Responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  h2 {
    font-size: 1.8rem;
  }

  h3 {
    font-size: 1.3rem;
  }

  .hero {
    min-height: 350px;
  }

  .hero-content h1 {
    font-size: 2rem;
  }

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

  header nav {
    flex-direction: column;
    gap: 1rem;
    padding: 1rem 1rem;
  }

  header .nav-menu {
    flex-direction: column;
    gap: 0.5rem;
    width: 100%;
  }

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

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

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

  section {
    padding: 2rem 0;
  }

  .container {
    padding: 0 1rem;
  }

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

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

  .cookie-buttons {
    justify-content: stretch;
  }

  .cookie-btn {
    flex: 1;
  }

  .timeline::before {
    left: 0;
  }

  .timeline-item,
  .timeline-item:nth-child(odd) {
    padding-left: 2rem;
    padding-right: 0;
    text-align: left;
  }

  .timeline-marker {
    left: -8px;
  }
}

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

  h2 {
    font-size: 1.4rem;
  }

  h3 {
    font-size: 1.1rem;
  }

  body {
    font-size: 1rem;
  }

  .btn {
    width: 100%;
  }

  .hero {
    min-height: 300px;
  }

  .hero-content h1 {
    font-size: 1.5rem;
  }

  .hero-content p {
    font-size: 0.9rem;
  }
}

/* Utility Classes */
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0,0,0,0);
  white-space: nowrap;
  border-width: 0;
}

.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 3rem; }

.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.mb-4 { margin-bottom: 2rem; }
.mb-5 { margin-bottom: 3rem; }

.pt-1 { padding-top: 0.5rem; }
.pt-2 { padding-top: 1rem; }
.pt-3 { padding-top: 1.5rem; }
.pt-4 { padding-top: 2rem; }
.pt-5 { padding-top: 3rem; }

.pb-1 { padding-bottom: 0.5rem; }
.pb-2 { padding-bottom: 1rem; }
.pb-3 { padding-bottom: 1.5rem; }
.pb-4 { padding-bottom: 2rem; }
.pb-5 { padding-bottom: 3rem; }

.hidden {
  display: none;
}

/* Animations */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

section {
  animation: slideUp 0.6s ease-out;
}

/* Disclaimer Banner */
.disclaimer-banner {
  background-color: #E74C3C;
  color: white;
  padding: 2rem;
  text-align: center;
  margin-bottom: 2rem;
}

.disclaimer-banner h1 {
  color: white;
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* Principles Strip */
.principles-strip {
  background-color: #2C3E50;
  color: white;
  padding: 1rem 2rem;
  text-align: center;
  margin-top: 2rem;
  font-weight: 600;
  font-size: 1rem;
}

/* Mission Statement */
.mission-statement {
  background-color: #ECF0F1;
  border: 1px solid #BDC3C7;
  padding: 2rem;
  margin: 2rem 0;
  text-align: center;
}

.mission-statement h2 {
  margin-top: 0;
  color: #2C3E50;
}

/* Values Grid */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.value-card {
  text-align: center;
  padding: 1.5rem;
  background-color: white;
  border: 1px solid #BDC3C7;
  transition: all 0.3s ease;
}

.value-card:hover {
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  border-color: #F39C12;
}

.value-icon {
  font-size: 3rem;
  margin-bottom: 1rem;
  line-height: 1;
}

.value-card h3 {
  margin-top: 0;
  color: #2C3E50;
}

/* Blog Cards */
.blog-card {
  background-color: white;
  border: 1px solid #BDC3C7;
  overflow: hidden;
  transition: all 0.3s ease;
}

.blog-card:hover {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
  transform: translateY(-4px);
  border-color: #F39C12;
}

.blog-card-image {
  width: 100%;
  height: 250px;
  object-fit: cover;
  overflow: hidden;
}

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

.blog-card-content h3 {
  margin-top: 0;
  font-size: 1.4rem;
}

.blog-card-excerpt {
  font-size: 0.95rem;
  color: #34495E;
  margin-bottom: 1rem;
}

/* Topic Filters */
.topic-filters {
  display: flex;
  gap: 1rem;
  overflow-x: auto;
  margin: 2rem 0;
  padding: 1rem 0;
}

.filter-tag {
  background-color: #ECF0F1;
  border: 1px solid #BDC3C7;
  padding: 0.5rem 1rem;
  white-space: nowrap;
  border-radius: 20px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: all 0.3s ease;
}

.filter-tag:hover {
  background-color: #F39C12;
  color: white;
  border-color: #F39C12;
}

/* Key Takeaways Sidebar */
.key-takeaways {
  background-color: #ECF0F1;
  border-left: 4px solid #F39C12;
  padding: 1.5rem;
  margin: 2rem 0;
  position: sticky;
  top: 100px;
}

.key-takeaways h3 {
  margin-top: 0;
  color: #2C3E50;
  font-size: 1.2rem;
}

.key-takeaways ul {
  margin-left: 1.5rem;
  list-style-type: none;
}

.key-takeaways li {
  margin-bottom: 0.75rem;
  position: relative;
  padding-left: 1.5rem;
}

.key-takeaways li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: #27AE60;
  font-weight: bold;
}

/* Blockquote */
blockquote {
  border-left: 4px solid #BDC3C7;
  padding-left: 1.5rem;
  margin: 2rem 0;
  font-style: italic;
  color: #34495E;
  line-height: 1.8;
}

/* Fact Strip */
.facts-strip {
  background-color: #ECF0F1;
  padding: 2rem;
  margin: 2rem 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1.5rem;
}

.fact-item {
  text-align: center;
  padding: 1rem;
}

.fact-item strong {
  color: #F39C12;
  font-size: 1.2rem;
  display: block;
  margin-bottom: 0.5rem;
}

/* Step by Step */
.steps-list {
  counter-reset: step-counter;
  list-style: none;
  margin-left: 0;
}

.steps-list li {
  counter-increment: step-counter;
  margin-bottom: 1.5rem;
  padding-left: 3rem;
  position: relative;
}

.steps-list li::before {
  content: counter(step-counter);
  position: absolute;
  left: 0;
  top: 0;
  background-color: #F39C12;
  color: white;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.1rem;
}

/* Centered Section */
.section-centered {
  text-align: center;
}

.section-centered h1,
.section-centered h2,
.section-centered h3 {
  text-align: center;
}

/* Contact Form */
.contact-form {
  max-width: 600px;
  margin: 2rem auto;
}

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

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

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #BDC3C7;
  font-family: inherit;
  font-size: 1rem;
  border-radius: 0;
  background-color: white;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #F39C12;
  box-shadow: 0 0 0 2px rgba(243, 156, 18, 0.1);
}

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

/* Centered Content */
.centered-message {
  max-width: 600px;
  margin: 5rem auto;
  text-align: center;
  padding: 2rem;
}

.centered-message h1 {
  margin-bottom: 1.5rem;
}

.centered-message p {
  margin-bottom: 2rem;
}

/* Legal Text */
.legal-text {
  line-height: 1.8;
  margin-bottom: 1rem;
}

.legal-text strong {
  color: #2C3E50;
}

/* Table of Contents */
.toc {
  background-color: #ECF0F1;
  border: 1px solid #BDC3C7;
  padding: 2rem;
  margin: 2rem 0;
}

.toc h2 {
  margin-top: 0;
}

.toc ul {
  margin-left: 1.5rem;
}

.toc li {
  margin-bottom: 0.5rem;
}

.toc a {
  color: #F39C12;
}

.toc a:hover {
  text-decoration: underline;
}
