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

:root {
  --primary-color: #4CAF50;
  --accent-1: #8BC34A;
  --accent-2: #FFC107;
  --accent-3: #2196F3;
  --white: #ffffff;
  --light-gray: #f5f5f5;
  --medium-gray: #e0e0e0;
  --dark-gray: #333333;
  --text-color: #333333;
  --border-color: #ddd;
}

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

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

body {
  padding-top: 70px;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Poppins', sans-serif;
  color: var(--text-color);
  margin-bottom: 1rem;
}

h1 {
  font-weight: 700;
  font-size: 2.5rem;
  line-height: 1.2;
  margin-bottom: 1.5rem;
}

h2 {
  font-weight: 600;
  font-size: 2rem;
  line-height: 1.3;
  margin-bottom: 1.25rem;
}

h3 {
  font-weight: 400;
  font-size: 1.5rem;
  line-height: 1.4;
  margin-bottom: 1rem;
}

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

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

a:hover {
  color: var(--accent-1);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-bottom: 1px solid var(--medium-gray);
  z-index: 1000;
  padding: 1rem 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

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

.logo {
  font-family: 'Poppins', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.logo:hover {
  color: var(--primary-color);
}

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

.nav-links a {
  color: var(--text-color);
  font-family: 'Poppins', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.nav-links a:hover {
  color: var(--primary-color);
}

.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 0.35rem;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: var(--text-color);
  transition: all 0.3s ease;
}

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

section {
  padding: 6rem 2rem;
  margin: 0 auto;
}

.section-content {
  max-width: 1400px;
  margin: 0 auto;
}

.row {
  display: flex;
  align-items: center;
  gap: 4rem;
  margin-bottom: 3rem;
}

.row.reverse {
  flex-direction: row-reverse;
}

.col {
  flex: 1;
  min-width: 300px;
}

.col-full {
  flex: 0 0 100%;
}

.col-text {
  flex: 1;
}

.col-image {
  flex: 1;
}

.col-image img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.card {
  background: var(--white);
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

.card:hover {
  box-shadow: 0 8px 24px rgba(76, 175, 80, 0.15);
  border-color: var(--primary-color);
  transform: translateY(-2px);
}

.card h3 {
  color: var(--primary-color);
  margin-bottom: 1rem;
}

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

.card-image {
  width: 80px;
  height: 80px;
  margin: 0 auto 1rem;
  background-color: var(--light-gray);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary-color);
  font-size: 2rem;
}

.button {
  display: inline-block;
  padding: 0.75rem 1.75rem;
  background-color: var(--primary-color);
  color: var(--white);
  border: none;
  border-radius: 4px;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  margin-right: 1rem;
  margin-bottom: 1rem;
}

.button:hover {
  background-color: var(--accent-1);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(76, 175, 80, 0.3);
  color: var(--white);
}

.button-secondary {
  background-color: var(--accent-3);
}

.button-secondary:hover {
  background-color: #1976D2;
}

.section-light {
  background-color: var(--light-gray);
}

.section-alt {
  background-color: #fafafa;
}

section.hero {
  background: linear-gradient(rgba(76, 175, 80, 0.7), rgba(76, 175, 80, 0.7)), url('images/hero-main.jpg') center/cover no-repeat;
  color: var(--white);
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 6rem 2rem;
}

section.hero h1 {
  color: var(--white);
  font-size: 3rem;
}

section.hero p {
  color: var(--white);
  font-size: 1.25rem;
  max-width: 600px;
  margin: 1.5rem auto;
}

.table-responsive {
  overflow-x: auto;
  margin-bottom: 2rem;
}

table {
  width: 100%;
  border-collapse: collapse;
  background-color: var(--white);
  box-shadow: 0 2px 8px rgba(0,0,0,0.05);
}

th {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem;
  text-align: left;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

td {
  padding: 1rem;
  border-bottom: 1px solid var(--medium-gray);
}

tr:hover {
  background-color: var(--light-gray);
}

.accordion {
  background-color: var(--light-gray);
  border-radius: 8px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-header {
  background-color: var(--primary-color);
  color: var(--white);
  padding: 1rem 1.5rem;
  cursor: pointer;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: var(--accent-1);
}

.accordion-content {
  display: none;
  padding: 1.5rem;
  background-color: var(--white);
  color: var(--text-color);
}

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

.accordion-toggle {
  display: inline-block;
  width: 20px;
  height: 20px;
  text-align: center;
  line-height: 20px;
  transition: transform 0.3s ease;
}

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

footer {
  background-color: var(--dark-gray);
  color: var(--white);
  padding: 3rem 2rem 1rem;
  margin-top: 4rem;
  font-size: 0.95rem;
}

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

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

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

.footer-section ul li {
  margin-bottom: 0.5rem;
}

.footer-section a {
  color: #bbb;
  transition: color 0.3s ease;
}

.footer-section a:hover {
  color: var(--primary-color);
}

.footer-bottom {
  border-top: 1px solid #555;
  padding-top: 2rem;
  text-align: center;
  color: #999;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  border-top: 1px solid var(--border-color);
  padding: 1.5rem 2rem;
  box-shadow: 0 -2px 8px rgba(0,0,0,0.1);
  z-index: 999;
  max-height: 200px;
  overflow-y: auto;
}

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

.cookie-text {
  flex: 1;
  min-width: 250px;
  font-size: 0.95rem;
}

.cookie-text a {
  color: var(--primary-color);
}

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

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

.cookie-btn-accept {
  background-color: var(--primary-color);
  color: var(--white);
}

.cookie-btn-accept:hover {
  background-color: var(--accent-1);
}

.cookie-btn-reject {
  background-color: var(--medium-gray);
  color: var(--text-color);
}

.cookie-btn-reject:hover {
  background-color: var(--border-color);
}

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

.cookie-btn-learn:hover {
  background-color: var(--light-gray);
}

.modal {
  display: none;
  position: fixed;
  z-index: 2000;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0,0,0,0.5);
  overflow-y: auto;
}

.modal.show {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-content {
  background-color: var(--white);
  padding: 2rem;
  border-radius: 8px;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  animation: slideIn 0.3s ease;
}

@keyframes slideIn {
  from {
    transform: translateY(-50px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.5rem;
  font-size: 2rem;
  cursor: pointer;
  color: var(--text-color);
  background: none;
  border: none;
  transition: color 0.3s ease;
}

.modal-close:hover {
  color: var(--primary-color);
}

.modal-content h2 {
  margin-top: 0;
  padding-right: 2rem;
}

.modal-content p {
  margin-bottom: 1rem;
}

.modal-content ul,
.modal-content ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

.modal-content li {
  margin-bottom: 0.5rem;
}

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

.disclaimer-box h3 {
  color: #856404;
  margin-top: 0;
}

.disclaimer-box p {
  color: #856404;
  margin-bottom: 0;
}

.hero-cta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  justify-content: center;
}

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

.image-grid img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

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

@media (max-width: 768px) {
  body {
    padding-top: 60px;
  }

  .nav-links {
    gap: 1rem;
  }

  .hamburger {
    display: flex;
  }

  .nav-links {
    display: none;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background-color: var(--white);
    border-bottom: 1px solid var(--medium-gray);
    padding: 1rem 0;
    gap: 0;
  }

  .nav-links.active {
    display: flex;
  }

  .nav-links a {
    padding: 0.75rem 1.5rem;
    display: block;
  }

  section {
    padding: 3rem 1rem;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.25rem;
  }

  .row {
    flex-direction: column;
    gap: 2rem;
  }

  .row.reverse {
    flex-direction: column;
  }

  .col {
    flex: 0 0 100%;
  }

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

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

  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
  }

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

  .cookie-btn {
    width: 100%;
    text-align: center;
  }

  .modal-content {
    max-width: 95%;
    margin: 1rem;
    padding: 1.5rem;
  }

  .modal-close {
    top: 0.5rem;
    right: 0.5rem;
    font-size: 1.5rem;
  }

  section.hero {
    min-height: 300px;
    padding: 3rem 1rem;
  }

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

  .hero-cta {
    justify-content: flex-start;
  }

  .navbar {
    padding: 0.5rem 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }
}
