:root {
  --primary-green: #2d7a4f;
  --primary-green-dark: #1e5a38;
  --primary-green-light: #3a9d63;
  --dark-bg: #1a1a1a;
  --light-bg: #f8f9fa;
  --text-dark: #212529;
  --text-muted: #6c757d;
  --white: #ffffff;
  --border-color: #dee2e6;
}

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-green);
  border-color: var(--primary-green);
  transition: all 0.3s ease;
}

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

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

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

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

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

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

.navbar {
  padding: 1rem 0;
}

.navbar-brand {
  font-size: 1.5rem;
  font-weight: 700;
}

.navbar-light .navbar-nav .nav-link {
  color: var(--text-dark);
  font-weight: 500;
  padding: 0.5rem 1rem;
  transition: color 0.3s ease;
}

.navbar-light .navbar-nav .nav-link:hover {
  color: var(--primary-green);
}

.hero-section {
  padding: 3rem 0;
}

.min-vh-75 {
  min-height: 75vh;
}

.page-header {
  padding: 4rem 0 3rem;
}

.card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 1rem 3rem rgba(0, 0, 0, 0.175) !important;
}

.icon-box {
  display: inline-block;
}

.timeline {
  position: relative;
}

.timeline-item {
  position: relative;
  padding-left: 60px;
}

.timeline-marker {
  position: absolute;
  left: 0;
  top: 0;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
}

.timeline-item:not(:last-child):after {
  content: "";
  position: absolute;
  left: 20px;
  top: 40px;
  width: 2px;
  height: calc(100% + 1rem);
  background-color: var(--border-color);
}

.icon-circle {
  font-size: 2rem;
}

footer a:hover {
  color: var(--white) !important;
}

.cookie-consent {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--dark-bg);
  color: var(--white);
  padding: 1.5rem 0;
  z-index: 9999;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.cookie-consent-content {
  max-width: 100%;
}

.cookie-consent a {
  color: var(--primary-green-light);
  text-decoration: underline;
}

.cookie-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

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

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

.cookie-modal-body {
  padding: 1.5rem;
}

.cookie-modal-footer {
  padding: 1.5rem;
  border-top: 1px solid var(--border-color);
  text-align: right;
}

.close-modal {
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  color: var(--text-muted);
  cursor: pointer;
}

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

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

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

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

  .min-vh-75 {
    min-height: auto;
  }

  .display-4 {
    font-size: 2rem;
  }

  .lead {
    font-size: 1.1rem;
  }

  .btn-lg {
    padding: 0.5rem 1rem;
    font-size: 1rem;
  }

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

@media (max-width: 576px) {
  .cookie-consent-content .btn {
    display: block;
    width: 100%;
    margin-bottom: 0.5rem;
  }
}
