:root {
  --primary-color: #4CAF50;
  --accent-light: #8BC34A;
  --accent-yellow: #FFEB3B;
  --accent-blue: #2196F3;
  --bg-light: #f5f5f5;
  --text-dark: #333;
  --text-light: #666;
  --border-color: #ddd;
}

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

html, body {
  height: 100%;
}

body {
  font-family: 'Lato', sans-serif;
  line-height: 1.6;
  color: var(--text-dark);
  background-color: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-dark);
  margin-bottom: 1rem;
}

h1 {
  font-size: 3rem;
  font-weight: 700;
}

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

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

p {
  margin-bottom: 1rem;
  font-size: 1rem;
  color: var(--text-light);
}

header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  z-index: 1000;
  padding: 1rem 0;
}

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

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-color);
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand:hover {
  color: var(--accent-light);
}

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

.navbar-nav a {
  text-decoration: none;
  color: var(--text-dark);
  font-size: 0.95rem;
  font-weight: 500;
  transition: color 0.3s ease;
}

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

main {
  margin-top: 80px;
}

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

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

.section-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.section-content {
  padding: 2rem;
}

.section-image {
  width: 100%;
  height: auto;
  max-height: 400px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.hero-block {
  background: linear-gradient(135deg, var(--primary-color) 0%, var(--accent-light) 100%);
  color: #fff;
  padding: 6rem 2rem;
  text-align: center;
  position: relative;
}

.hero-block h1 {
  color: #fff;
  font-size: 3.5rem;
  margin-bottom: 1.5rem;
}

.hero-block p {
  color: rgba(255, 255, 255, 0.95);
  font-size: 1.2rem;
  margin-bottom: 0;
}

.hero-image {
  max-height: 500px;
  width: 100%;
  object-fit: cover;
  margin-top: 2rem;
  border-radius: 8px;
}

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

.card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: 8px;
  padding: 2rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  transform: translateY(-4px);
}

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

.cta-button {
  display: inline-block;
  background-color: var(--primary-color);
  color: #fff;
  padding: 0.8rem 1.8rem;
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
  font-size: 1rem;
}

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

.cta-button-outline {
  display: inline-block;
  background-color: transparent;
  color: var(--primary-color);
  padding: 0.8rem 1.8rem;
  border: 2px solid var(--primary-color);
  border-radius: 20px;
  text-decoration: none;
  font-weight: 600;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 1rem;
}

.cta-button-outline:hover {
  background-color: var(--primary-color);
  color: #fff;
}

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

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

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

.footer-section p, .footer-section a {
  font-size: 0.95rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.8);
}

.footer-section a {
  display: block;
  text-decoration: none;
  transition: color 0.3s ease;
}

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

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

.disclaimer {
  background-color: #fff3cd;
  border-left: 4px solid var(--accent-yellow);
  padding: 1.5rem;
  margin: 2rem 0;
  border-radius: 4px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.disclaimer strong {
  color: var(--primary-color);
}

.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.8rem;
  border: 1px solid var(--border-color);
  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(--primary-color);
  box-shadow: 0 0 0 3px rgba(76, 175, 80, 0.1);
}

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

.form-disclaimer {
  background-color: #f0f7ff;
  border-left: 4px solid var(--accent-blue);
  padding: 1rem;
  margin-bottom: 2rem;
  border-radius: 4px;
  font-size: 0.9rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #fff;
  border-top: 1px solid var(--border-color);
  padding: 1.5rem;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.1);
  z-index: 999;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
}

.cookie-content {
  flex: 1;
  font-size: 0.9rem;
  color: var(--text-dark);
}

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

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

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

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

.cookie-btn-decline {
  background-color: #f0f0f0;
  color: var(--text-dark);
}

.cookie-btn-decline:hover {
  background-color: #ddd;
}

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

.cookie-btn-learn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

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

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

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

ol, ul {
  margin: 1rem 0 1rem 2rem;
}

li {
  margin-bottom: 0.5rem;
  color: var(--text-light);
}

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

  h2 {
    font-size: 1.5rem;
  }

  h3 {
    font-size: 1.2rem;
  }

  .navbar {
    padding: 0 1rem;
    flex-wrap: wrap;
  }

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

  .section {
    padding: 2rem 1rem;
  }

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

  .hero-block {
    padding: 3rem 1rem;
  }

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

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

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

  .cookie-btn {
    width: 100%;
  }

  main {
    margin-top: 120px;
  }
}

@media (max-width: 480px) {
  .navbar-nav {
    display: none;
  }

  .navbar {
    justify-content: center;
  }

  h1 {
    font-size: 1.5rem;
  }

  h2 {
    font-size: 1.3rem;
  }

  .section {
    padding: 1.5rem;
  }

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

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

  main {
    margin-top: 100px;
  }
}
