:root {
  /* Theme Colors - Green Monochromatic with Accents */
  --bs-primary: #2c5f2d;
  --bs-secondary: #6fa86f;
  --accent-color: #4a7c59;
  --text-primary: #2c3e50;
  --text-secondary: #6c757d;
  --border-color: #dee2e6;
  --footer-bg: #1a4d1a;
  
  /* Enhanced Bootstrap Variables */
  --bs-success: #6fa86f;
  --bs-info: #4a7c59;
  --bs-warning: #6fa86f;
  --bs-danger: #2c5f2d;
  
  /* Custom Spacing Scale */
  --spacing-xs: 0.25rem;
  --spacing-sm: 0.5rem;
  --spacing-md: 1rem;
  --spacing-lg: 1.5rem;
  --spacing-xl: 2rem;
  --spacing-xxl: 3rem;
  
  /* Border Radius System */
  --border-radius-sm: 0.25rem;
  --border-radius-md: 0.5rem;
  --border-radius-lg: 0.75rem;
  --border-radius-xl: 1rem;
  
  /* Shadow System */
  --shadow-sm: 0 1px 3px rgba(44, 95, 45, 0.1);
  --shadow-md: 0 4px 6px rgba(44, 95, 45, 0.1);
  --shadow-lg: 0 10px 15px rgba(44, 95, 45, 0.1);
  --shadow-xl: 0 20px 25px rgba(44, 95, 45, 0.15);
}

/* Base Typography Enhancement */
body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  line-height: 1.7;
  color: var(--text-primary);
  background-color: #ffffff;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-weight: 600;
  line-height: 1.3;
  color: var(--text-primary);
  letter-spacing: -0.02em;
  margin-bottom: var(--spacing-md);
}

h1 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

h2 {
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: 600;
}

h3 {
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 600;
}

h4 {
  font-size: clamp(1.25rem, 2.5vw, 1.5rem);
}

h5 {
  font-size: 1.25rem;
  font-weight: 500;
}

h6 {
  font-size: 1.1rem;
  font-weight: 500;
}

p {
  margin-bottom: var(--spacing-md);
  line-height: 1.7;
  color: var(--text-primary);
}

.text-secondary {
  color: var(--text-secondary) !important;
}

.text-accent {
  color: var(--accent-color) !important;
}

/* Enhanced Bootstrap Components */
.btn {
  border-radius: var(--border-radius-md);
  font-weight: 500;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 2px solid transparent;
  font-size: 0.95rem;
  letter-spacing: 0.01em;
}

.btn-primary {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
  box-shadow: var(--shadow-sm);
}

.btn-primary:hover {
  background-color: #1e3d1f;
  border-color: #1e3d1f;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-secondary {
  background-color: var(--bs-secondary);
  border-color: var(--bs-secondary);
  color: white;
}

.btn-secondary:hover {
  background-color: #5a8f5a;
  border-color: #5a8f5a;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.btn-outline-primary {
  color: var(--bs-primary);
  border-color: var(--bs-primary);
  background-color: transparent;
}

.btn-outline-primary:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: white;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Custom Button Variants */
.btn-accent {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
  color: white;
}

.btn-accent:hover {
  background-color: #3a6349;
  border-color: #3a6349;
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Enhanced Cards */
.card {
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
}

.card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--bs-secondary);
}

.card-header {
  background-color: #f8f9fa;
  border-bottom: 1px solid var(--border-color);
  font-weight: 600;
  color: var(--text-primary);
  padding: var(--spacing-lg);
}

.card-body {
  padding: var(--spacing-xl);
}

.card-footer {
  background-color: #f8f9fa;
  border-top: 1px solid var(--border-color);
  padding: var(--spacing-lg);
}

/* Enhanced Navigation */
.navbar {
  background-color: white !important;
  box-shadow: var(--shadow-sm);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid var(--border-color);
}

.navbar-brand {
  font-weight: 700;
  font-size: 1.5rem;
  color: var(--bs-primary) !important;
  letter-spacing: -0.02em;
}

.navbar-nav .nav-link {
  color: var(--text-primary) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  border-radius: var(--border-radius-md);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin: 0 0.25rem;
}

.navbar-nav .nav-link:hover {
  color: var(--bs-primary) !important;
  background-color: rgba(44, 95, 45, 0.08);
  transform: translateY(-1px);
}

.navbar-nav .nav-link.active {
  color: var(--bs-primary) !important;
  background-color: rgba(44, 95, 45, 0.1);
  font-weight: 600;
}

/* Hero Section Enhancement */
.hero-section {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #e8f5e8 100%);
  padding: var(--spacing-xxl) 0;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%232c5f2d' fill-opacity='0.03'%3E%3Ccircle cx='30' cy='30' r='2'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-size: clamp(3rem, 8vw, 4.5rem);
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: var(--spacing-lg);
  line-height: 1.1;
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.3rem);
  color: var(--text-secondary);
  margin-bottom: var(--spacing-xl);
  line-height: 1.6;
}

/* Section Styling */
.section {
  padding: var(--spacing-xxl) 0;
}

.section-alt {
  background-color: #f8f9fa;
}

.section-accent {
  background: linear-gradient(135deg, #e8f5e8 0%, #f1f3f4 100%);
}

.section-title {
  text-align: center;
  margin-bottom: var(--spacing-xl);
  position: relative;
}

.section-title::after {
  content: '';
  display: block;
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
  margin: var(--spacing-lg) auto 0;
  border-radius: 2px;
}

/* Feature Cards */
.feature-card {
  background: white;
  border-radius: var(--border-radius-xl);
  padding: var(--spacing-xl);
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid var(--border-color);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--bs-primary), var(--bs-secondary));
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.feature-card:hover::before {
  transform: scaleX(1);
}

.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
  border-color: var(--bs-secondary);
}

.feature-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto var(--spacing-lg);
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 2rem;
  box-shadow: var(--shadow-md);
}

.feature-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: var(--spacing-md);
  color: var(--text-primary);
}

.feature-description {
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 0;
}

/* Content Blocks */
.content-block {
  padding: var(--spacing-xl);
  border-radius: var(--border-radius-lg);
  background: white;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.content-block:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.content-block-highlight {
  background: linear-gradient(135deg, #e8f5e8 0%, #ffffff 100%);
  border-color: var(--bs-secondary);
}

/* Lists Enhancement */
.list-unstyled {
  padding-left: 0;
}

.list-unstyled li {
  padding: var(--spacing-sm) 0;
  border-bottom: 1px solid rgba(222, 226, 230, 0.5);
  position: relative;
  padding-left: var(--spacing-lg);
}

.list-unstyled li:last-child {
  border-bottom: none;
}

.list-unstyled li::before {
  content: '✓';
  position: absolute;
  left: 0;
  top: var(--spacing-sm);
  color: var(--bs-secondary);
  font-weight: bold;
  font-size: 1.1rem;
}

/* Footer Enhancement */
.footer {
  background-color: var(--footer-bg) !important;
  color: white;
  padding: var(--spacing-xxl) 0 var(--spacing-lg);
  margin-top: var(--spacing-xxl);
}

.footer h5 {
  color: white;
  font-weight: 600;
  margin-bottom: var(--spacing-lg);
  position: relative;
}

.footer h5::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--bs-secondary);
  border-radius: 1px;
}

.footer a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  transition: all 0.3s ease;
  padding: 0.25rem 0;
  display: inline-block;
}

.footer a:hover {
  color: var(--bs-secondary);
  transform: translateX(4px);
}

.footer .text-muted {
  color: rgba(255, 255, 255, 0.6) !important;
}

/* Form Enhancements */
.form-control {
  border: 2px solid var(--border-color);
  border-radius: var(--border-radius-md);
  padding: 0.75rem 1rem;
  font-size: 1rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background-color: white;
}

.form-control:focus {
  border-color: var(--bs-primary);
  box-shadow: 0 0 0 0.2rem rgba(44, 95, 45, 0.25);
  outline: none;
}

.form-label {
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: var(--spacing-sm);
}

/* Alert Enhancements */
.alert {
  border: none;
  border-radius: var(--border-radius-lg);
  padding: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
  box-shadow: var(--shadow-sm);
}

.alert-success {
  background-color: #e8f5e8;
  color: var(--bs-primary);
  border-left: 4px solid var(--bs-secondary);
}

.alert-info {
  background-color: #e8f4fd;
  color: var(--accent-color);
  border-left: 4px solid var(--accent-color);
}

/* Utility Classes */
.text-gradient {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 700;
}

.bg-gradient-primary {
  background: linear-gradient(135deg, var(--bs-primary), var(--bs-secondary)) !important;
}

.bg-gradient-light {
  background: linear-gradient(135deg, #f8f9fa, #e8f5e8) !important;
}

.shadow-custom {
  box-shadow: var(--shadow-lg) !important;
}

.border-custom {
  border: 2px solid var(--bs-primary) !important;
}

.rounded-custom {
  border-radius: var(--border-radius-xl) !important;
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.6s ease-in-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slide-up {
  animation: slideUp 0.8s ease-out;
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(40px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive Enhancements */
@media (max-width: 768px) {
  .hero-section {
    padding: var(--spacing-xl) 0;
  }
  
  .section {
    padding: var(--spacing-xl) 0;
  }
  
  .card-body {
    padding: var(--spacing-lg);
  }
  
  .feature-card {
    padding: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
  }
  
  .content-block {
    padding: var(--spacing-lg);
  }
}

@media (max-width: 576px) {
  body {
    font-size: 15px;
  }
  
  .btn {
    padding: 0.6rem 1.2rem;
    font-size: 0.9rem;
  }
  
  .hero-title {
    font-size: clamp(2.5rem, 6vw, 3rem);
  }
  
  .feature-icon {
    width: 60px;
    height: 60px;
    font-size: 1.5rem;
  }
}

/* Focus States for Accessibility */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--bs-primary);
  outline-offset: 2px;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
  background: var(--bs-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--bs-primary);
}

/* Selection Color */
::selection {
  background-color: rgba(44, 95, 45, 0.2);
  color: var(--text-primary);
}

/* Print Styles */
@media print {
  .navbar,
  .footer,
  .btn {
    display: none !important;
  }
  
  .card {
    box-shadow: none !important;
    border: 1px solid #ccc !important;
  }
  
  body {
    background: white !important;
    color: black !important;
  }
}


/* Cookie Banner Additional Styles for Bootstrap */
.cookie-banner-custom {
    z-index: 1060;
    backdrop-filter: blur(10px);
}

.cookie-banner-custom .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}