:root {
  --primary-green: #2d7a3f;
  --light-green: #e8f5e9;
  --dark-gray: #212529;
  --light-gray: #f8f9fa;
  --border-gray: #dee2e6;
}

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

html,
body {
  height: 100%;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.6;
  color: #333;
  background-color: #fff;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--dark-gray);
}

h1 {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
}

h2 {
  font-size: 2rem;
  margin-bottom: 1.25rem;
}

h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

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

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

p {
  margin-bottom: 1rem;
}

.navbar {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.navbar-brand {
  font-size: 1.5rem;
  color: var(--primary-green) !important;
  letter-spacing: 0.5px;
}

.nav-link {
  font-weight: 500;
  color: #555 !important;
  transition: color 0.3s ease;
}

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

.hero {
  background: linear-gradient(135deg, #ffffff 0%, var(--light-green) 100%);
  border-bottom: 1px solid var(--border-gray);
}

.hero h1 {
  color: var(--primary-green);
}

.hero .lead {
  color: #555;
  font-size: 1.1rem;
}

.btn-success {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  font-weight: 600;
  padding: 0.6rem 1.8rem;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #1e5a2b;
  border-color: #1e5a2b;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(45, 122, 63, 0.3);
}

.btn-outline-success {
  color: var(--primary-green);
  border-color: var(--primary-green);
  font-weight: 600;
}

.btn-outline-success:hover {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
  color: #fff;
}

.card {
  border: 1px solid var(--border-gray);
  border-radius: 8px;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12) !important;
}

.card-title {
  color: var(--primary-green);
  font-weight: 600;
}

.card-img-top {
  height: 250px;
  object-fit: cover;
  border-radius: 8px 8px 0 0;
}

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

.benefit-icon {
  font-size: 3rem;
  color: var(--primary-green);
  font-weight: bold;
}

.form-control {
  border: 1px solid var(--border-gray);
  border-radius: 6px;
  padding: 0.75rem;
  font-size: 1rem;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
  border-color: var(--primary-green);
  box-shadow: 0 0 0 0.2rem rgba(45, 122, 63, 0.25);
}

.form-check-input {
  cursor: pointer;
  border: 1px solid var(--border-gray);
}

.form-check-input:checked {
  background-color: var(--primary-green);
  border-color: var(--primary-green);
}

label {
  font-weight: 500;
  color: #333;
  margin-bottom: 0.5rem;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: #2c3e50;
  color: #fff;
  padding: 1.5rem;
  z-index: 1000;
  box-shadow: 0 -2px 8px rgba(0, 0, 0, 0.15);
}

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

.cookie-content p {
  margin-bottom: 0;
  font-size: 0.95rem;
}

.cookie-content a {
  color: #fff;
  text-decoration: underline;
}

footer {
  background-color: var(--dark-gray) !important;
  color: #fff;
  margin-top: auto;
}

footer h5 {
  color: var(--primary-green);
  font-weight: 600;
  margin-bottom: 1rem;
}

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

footer a {
  color: #fff;
  transition: color 0.3s ease;
}

footer a:hover {
  color: var(--primary-green);
  text-decoration: none;
}

.list-group-item {
  border: 1px solid var(--border-gray);
  background-color: transparent;
  padding: 1rem;
}

.list-group-item:first-child {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
}

.list-group-item:last-child {
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
}

.alert-success {
  background-color: var(--light-green);
  border-color: var(--primary-green);
  color: var(--primary-green);
}

.alert-warning {
  background-color: #fff3cd;
  border-color: #ffc107;
  color: #856404;
}

.text-muted {
  color: #6c757d !important;
}

@media (max-width: 768px) {
  .cookie-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

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

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .card-img-top {
    height: 200px;
  }

  .btn-success,
  .btn-outline-success {
    padding: 0.5rem 1.2rem;
    font-size: 0.95rem;
  }
}

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

  .navbar-brand {
    font-size: 1.25rem;
  }

  .hero {
    padding-top: 2rem !important;
    padding-bottom: 2rem !important;
  }
}
