:root {
  --primary-color: #2d7a4f;
  --primary-dark: #1f5538;
  --primary-light: #4a9d6f;
  --secondary-color: #6c757d;
  --accent-color: #8fbc8f;
  --text-dark: #212529;
  --text-light: #6c757d;
  --bg-light: #f8f9fa;
  --white: #ffffff;
  --border-color: #dee2e6;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  color: var(--text-dark);
  line-height: 1.6;
}

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

.btn-primary:hover {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.bg-primary {
  background-color: var(--primary-color) !important;
}

.text-primary {
  color: var(--primary-color) !important;
}

.navbar-brand img {
  max-height: 40px;
}

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

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

.hero-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.hero-section h1 {
  color: var(--text-dark);
  margin-bottom: 20px;
}

.hero-section .lead {
  color: var(--text-light);
  margin-bottom: 30px;
}

.features-section {
  background-color: var(--white);
}

.feature-box {
  padding: 30px;
  text-align: center;
  transition: transform 0.3s ease;
}

.feature-box:hover {
  transform: translateY(-5px);
}

.icon-circle {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background-color: var(--accent-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 20px;
}

.product-card {
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease, transform 0.3s ease;
  height: 100%;
}

.product-card:hover {
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  transform: translateY(-5px);
}

.product-card .card-img-top {
  height: 250px;
  object-fit: cover;
}

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

.education-list li {
  padding: 10px 0;
  padding-left: 30px;
  position: relative;
}

.education-list li:before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--primary-color);
  font-weight: bold;
  font-size: 20px;
}

.cta-section {
  background-color: var(--primary-color);
}

.footer {
  background-color: #212529;
}

.footer h5 {
  color: var(--white);
  margin-bottom: 20px;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #adb5bd;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: var(--white);
}

.page-header {
  background-color: var(--bg-light);
}

.info-box,
.tip-box {
  background-color: var(--white);
  padding: 25px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.contact-form-wrapper {
  background-color: var(--white);
  padding: 30px;
  border-radius: 8px;
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.contact-info svg,
.business-hours {
  color: var(--primary-color);
}

.faq-item {
  background-color: var(--white);
  padding: 20px;
  border-radius: 8px;
  border-left: 4px solid var(--primary-color);
}

.thank-you-content {
  padding: 40px;
}

.success-icon {
  color: var(--primary-color);
}

.step-box {
  padding: 20px;
  background-color: var(--white);
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.step-number {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background-color: var(--primary-color);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  font-weight: bold;
  margin: 0 auto 15px;
}

.policy-section h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border-color);
}

.policy-section h4 {
  color: var(--text-dark);
  margin-top: 20px;
  margin-bottom: 15px;
}

.ingredient-list {
  font-size: 14px;
  color: var(--text-light);
}

.value-item {
  padding: 20px;
}

.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--white);
  box-shadow: 0 -2px 20px rgba(0, 0, 0, 0.1);
  z-index: 9999;
  padding: 20px;
  display: none;
}

.cookie-banner.show {
  display: block;
}

.cookie-banner-content {
  max-width: 1200px;
  margin: 0 auto;
}

.cookie-banner-text h5 {
  color: var(--text-dark);
  margin-bottom: 10px;
}

.cookie-banner-text p {
  margin-bottom: 15px;
  color: var(--text-light);
}

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

.cookie-banner-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.cookie-preferences-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 10000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.cookie-preferences-modal.show {
  display: flex;
}

.cookie-preferences-content {
  background-color: var(--white);
  border-radius: 8px;
  max-width: 600px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
}

.cookie-preferences-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px;
  border-bottom: 1px solid var(--border-color);
}

.cookie-preferences-header h4 {
  margin: 0;
  color: var(--text-dark);
}

.close-btn {
  background: none;
  border: none;
  font-size: 30px;
  color: var(--text-light);
  cursor: pointer;
  line-height: 1;
}

.close-btn:hover {
  color: var(--text-dark);
}

.cookie-preferences-body {
  padding: 20px;
}

.cookie-category {
  margin-bottom: 25px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border-color);
}

.cookie-category:last-child {
  border-bottom: none;
}

.cookie-category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.cookie-category-header h5 {
  margin: 0;
  color: var(--text-dark);
  font-size: 16px;
}

.cookie-category p {
  color: var(--text-light);
  font-size: 14px;
  margin: 0;
}

.switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--primary-color);
}

input:checked + .slider:before {
  transform: translateX(26px);
}

.cookie-preferences-footer {
  padding: 20px;
  border-top: 1px solid var(--border-color);
  display: flex;
  gap: 10px;
  justify-content: flex-end;
}

@media (max-width: 768px) {
  .hero-section {
    padding: 40px 0;
  }

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

  .cookie-banner-buttons {
    flex-direction: column;
  }

  .cookie-banner-buttons .btn {
    width: 100%;
  }

  .cookie-preferences-footer {
    flex-direction: column;
  }

  .cookie-preferences-footer .btn {
    width: 100%;
  }
}
