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

:root {
  --primary-green: #2d5016;
  --light-green: #4a7c2c;
  --accent-green: #6ba239;
  --light-bg: #f9faf7;
  --white: #ffffff;
  --dark-text: #1a1a1a;
  --gray-text: #555555;
  --light-gray: #e8e8e8;
  --border-color: #d0d0d0;
}

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: var(--dark-text);
  background-color: var(--light-bg);
}

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

a:hover {
  color: var(--light-green);
  text-decoration: underline;
}

header {
  background-color: var(--white);
  border-bottom: 2px solid var(--light-gray);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--primary-green);
}

.navbar {
  padding: 0.5rem 1rem;
}

.nav-link {
  color: var(--dark-text) !important;
  font-weight: 500;
  margin-left: 1rem;
  transition: color 0.3s ease;
}

.nav-link:hover {
  color: var(--primary-green) !important;
  text-decoration: none;
}

.navbar-toggler {
  border: 1px solid var(--primary-green);
}

.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='30' height='30' viewBox='0 0 30 30'%3e%3cpath stroke='%232d5016' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

main {
  min-height: calc(100vh - 300px);
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.hero {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: var(--white);
  padding: 4rem 1rem;
  text-align: center;
  margin-bottom: 3rem;
}

.hero h1 {
  font-size: clamp(1.5rem, 5vw, 3rem);
  font-weight: 700;
  margin-bottom: 1rem;
  line-height: 1.2;
}

.hero p {
  font-size: clamp(1rem, 3vw, 1.25rem);
  margin-bottom: 1.5rem;
  line-height: 1.5;
}

.btn {
  display: inline-block;
  padding: 0.75rem 1.5rem;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s ease;
  border: 2px solid transparent;
  text-decoration: none;
  border-radius: 4px;
  font-size: 1rem;
}

.btn-primary {
  background-color: var(--accent-green);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-green);
  text-decoration: none;
  color: var(--white);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--white);
  border-color: var(--white);
}

.btn-secondary:hover {
  background-color: var(--white);
  color: var(--primary-green);
  text-decoration: none;
  transform: translateY(-2px);
}

.btn-outline {
  background-color: transparent;
  color: var(--primary-green);
  border-color: var(--primary-green);
}

.btn-outline:hover {
  background-color: var(--primary-green);
  color: var(--white);
  text-decoration: none;
}

.section {
  padding: 2rem 1rem;
}

.section-title {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  font-weight: 700;
  color: var(--primary-green);
  margin-bottom: 2rem;
  text-align: center;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--gray-text);
  text-align: center;
  margin-bottom: 3rem;
  line-height: 1.6;
}

.card {
  background-color: var(--white);
  border: 1px solid var(--light-gray);
  border-radius: 8px;
  overflow: hidden;
  transition: all 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.card:hover {
  box-shadow: 0 4px 20px rgba(45, 80, 22, 0.1);
  transform: translateY(-4px);
}

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

.card-body {
  padding: 1.5rem;
  flex-grow: 1;
  display: flex;
  flex-direction: column;
}

.card-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--primary-green);
  margin-bottom: 0.75rem;
}

.card-text {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 1rem;
  flex-grow: 1;
}

.testimonial {
  background-color: var(--white);
  padding: 2rem 1.5rem;
  border-left: 4px solid var(--accent-green);
  border-radius: 4px;
  margin-bottom: 1.5rem;
}

.testimonial-text {
  color: var(--gray-text);
  font-style: italic;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.testimonial-author {
  font-weight: 600;
  color: var(--primary-green);
}

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

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

input[type="text"],
input[type="email"],
input[type="tel"],
textarea,
select {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  font-family: inherit;
  font-size: 1rem;
  color: var(--dark-text);
  transition: border-color 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus,
textarea:focus,
select:focus {
  outline: none;
  border-color: var(--primary-green);
  box-shadow: 0 0 0 3px rgba(45, 80, 22, 0.1);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

.checkbox-group {
  display: flex;
  align-items: flex-start;
  margin-bottom: 1.5rem;
}

.checkbox-group input[type="checkbox"] {
  width: auto;
  margin-top: 0.25rem;
  margin-right: 0.75rem;
  cursor: pointer;
}

.checkbox-group label {
  margin-bottom: 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.checkbox-group small {
  display: block;
  color: var(--gray-text);
  font-size: 0.85rem;
  margin-top: 0.25rem;
  margin-left: 1.75rem;
}

footer {
  background-color: var(--primary-green);
  color: var(--white);
  padding: 3rem 1rem 1rem;
  margin-top: 4rem;
}

footer a {
  color: var(--accent-green);
}

footer a:hover {
  color: var(--white);
  text-decoration: underline;
}

.footer-section {
  margin-bottom: 2rem;
}

.footer-section h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.footer-section p {
  font-size: 0.95rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.footer-contact {
  font-size: 0.95rem;
  line-height: 1.8;
}

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

.cta-block {
  background: linear-gradient(135deg, var(--light-green) 0%, var(--accent-green) 100%);
  color: var(--white);
  padding: 3rem 1rem;
  text-align: center;
  border-radius: 8px;
  margin: 2rem 0;
}

.cta-block h2 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 1rem;
}

.cta-block p {
  font-size: 1.1rem;
  margin-bottom: 1.5rem;
  line-height: 1.6;
}

.row {
  display: flex;
  flex-wrap: wrap;
  margin-right: -0.5rem;
  margin-left: -0.5rem;
}

.col-12 {
  flex: 0 0 100%;
  padding-right: 0.5rem;
  padding-left: 0.5rem;
}

@media (min-width: 768px) {
  .col-md-6 {
    flex: 0 0 50%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .col-md-4 {
    flex: 0 0 33.333%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .col-md-3 {
    flex: 0 0 25%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .section {
    padding: 3rem 2rem;
  }

  .hero {
    padding: 6rem 2rem;
  }

  .navbar {
    padding: 0.75rem 2rem;
  }
}

@media (min-width: 992px) {
  .col-lg-6 {
    flex: 0 0 50%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .col-lg-4 {
    flex: 0 0 33.333%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  .col-lg-3 {
    flex: 0 0 25%;
    padding-right: 0.5rem;
    padding-left: 0.5rem;
  }

  header {
    padding: 0.75rem 0;
  }
}

.container {
  width: 100%;
  padding-right: 1rem;
  padding-left: 1rem;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 768px) {
  .container {
    max-width: 720px;
  }
}

@media (min-width: 992px) {
  .container {
    max-width: 960px;
  }
}

@media (min-width: 1200px) {
  .container {
    max-width: 1140px;
  }
}

.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;
}

.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;
}

.py-3 {
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
}
.py-4 {
  padding-top: 2rem;
  padding-bottom: 2rem;
}
.py-5 {
  padding-top: 3rem;
  padding-bottom: 3rem;
}

.text-center {
  text-align: center;
}
.text-white {
  color: var(--white);
}
.text-muted {
  color: var(--gray-text);
}

.shadow-sm {
  box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
}

.d-flex {
  display: flex;
}

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

.justify-content-center {
  justify-content: center;
}

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

.gap-3 {
  gap: 1.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-text);
  color: var(--white);
  padding: 1.5rem;
  font-size: 0.9rem;
  z-index: 999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}

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

.cookie-banner-text {
  flex: 1;
  min-width: 250px;
}

.cookie-banner-text a {
  color: var(--accent-green);
}

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

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

.cookie-accept {
  background-color: var(--accent-green);
  color: var(--white);
}

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

.cookie-decline {
  background-color: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.cookie-decline:hover {
  background-color: rgba(255, 255, 255, 0.3);
}

.thank-you-message {
  background: linear-gradient(135deg, var(--primary-green) 0%, var(--light-green) 100%);
  color: var(--white);
  padding: 4rem 1rem;
  text-align: center;
  border-radius: 8px;
  margin: 2rem 0;
}

.thank-you-message h1 {
  font-size: clamp(1.75rem, 5vw, 2.5rem);
  margin-bottom: 1rem;
}

.thank-you-message p {
  font-size: 1.1rem;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.list-unstyled {
  list-style: none;
  padding-left: 0;
}

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

.list-unstyled li:before {
  content: "✓";
  color: var(--accent-green);
  font-weight: 700;
  position: absolute;
  left: 0;
}

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

@media (min-width: 768px) {
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .benefits-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.benefit-item {
  background-color: var(--white);
  padding: 1.5rem;
  border-radius: 8px;
  border-left: 4px solid var(--accent-green);
  transition: all 0.3s ease;
}

.benefit-item:hover {
  box-shadow: 0 4px 15px rgba(45, 80, 22, 0.1);
  transform: translateY(-2px);
}

.benefit-item h3 {
  color: var(--primary-green);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
}

.benefit-item p {
  color: var(--gray-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

.image-wrapper {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
}

.image-wrapper img {
  width: 100%;
  height: auto;
  display: block;
}

.legal-content {
  background-color: var(--white);
  padding: 2rem 1rem;
  line-height: 1.8;
  color: var(--dark-text);
}

.legal-content h2 {
  color: var(--primary-green);
  font-size: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1rem;
  font-weight: 600;
}

.legal-content h3 {
  color: var(--light-green);
  font-size: 1.1rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.legal-content p {
  margin-bottom: 1rem;
  color: var(--gray-text);
  font-size: 0.95rem;
}

.legal-content ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--gray-text);
}

.legal-content li {
  margin-bottom: 0.5rem;
  font-size: 0.95rem;
}

.legal-content a {
  color: var(--primary-green);
  text-decoration: underline;
}

.legal-content a:hover {
  color: var(--light-green);
}

.last-updated {
  color: var(--gray-text);
  font-size: 0.85rem;
  font-style: italic;
  margin-bottom: 2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--light-gray);
}

input.error,
textarea.error {
  border-color: #dc3545;
}

.error-message {
  color: #dc3545;
  font-size: 0.85rem;
  margin-top: 0.25rem;
}

.success-message {
  background-color: #d4edda;
  color: #155724;
  padding: 1rem;
  border-radius: 4px;
  margin-bottom: 1rem;
}
