:root {
  --color-primary: #5CB85C;
  --color-secondary: #66CCBB;
  --color-background: #F0F8F0;
  --color-footer-bg: #30475E;
  --color-button: #5CB85C;
  --color-text-primary: #333333;
  --color-text-secondary: #666666;
  --color-section-1: #E6F2E6;
  --color-section-2: #D9EDE9;
  --color-section-3: #F8FBF8;
  --color-section-4: #EFF7EE;
  --color-section-5: #E0EFE0;
  --color-section-6: #F2FDF2;

  --font-family-heading: 'Montserrat', sans-serif;
  --font-family-body: 'Open Sans', sans-serif;

  --border-radius-button: 9999px; /* rounded-full */
  --box-shadow-depth: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05); /* shadow-lg */
  --box-shadow-hover-depth: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */

  --spacing-unit: 1rem;
  --line-height-body: 1.7;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-family-body);
  color: var(--color-text-primary);
  background-color: var(--color-background);
  line-height: var(--line-height-body);
  margin: 0;
  padding: 0;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-family-heading);
  color: var(--color-text-primary);
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.03em;
}

h2 {
  font-size: 2.8rem;
  font-weight: 600;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 2.2rem;
  font-weight: 600;
}

h4 {
  font-size: 1.8rem;
  font-weight: 500;
}

h5 {
  font-size: 1.5rem;
  font-weight: 500;
}

h6 {
  font-size: 1.2rem;
  font-weight: 500;
}

p {
  margin-bottom: 1.5rem;
  font-size: 1.1rem;
  color: var(--color-text-secondary);
}

a {
  color: var(--color-primary);
  text-decoration: none;
  transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
  color: var(--color-secondary);
  text-decoration: underline;
}

/* General Layout & Spacing */
.container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  padding-left: var(--spacing-unit);
  padding-right: var(--spacing-unit);
}

section {
  padding: 6rem 0;
  position: relative;
  overflow: hidden;
}

section:nth-of-type(odd) {
  background-color: var(--color-section-1);
}

section:nth-of-type(even) {
  background-color: var(--color-section-2);
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.9rem 2.2rem;
  border-radius: var(--border-radius-button);
  font-family: var(--font-family-heading);
  font-weight: 600;
  font-size: 1.1rem;
  cursor: pointer;
  border: none;
  transition: all 0.3s ease;
  box-shadow: var(--box-shadow-depth);
  letter-spacing: 0.02em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-secondary) 100%);
  color: #ffffff;
}

.btn-primary:hover {
  background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
  box-shadow: var(--box-shadow-hover-depth);
  transform: translateY(-2px);
}

.btn-secondary {
  background-color: transparent;
  color: var(--color-primary);
  border: 2px solid var(--color-primary);
  box-shadow: none;
}

.btn-secondary:hover {
  background-color: var(--color-primary);
  color: #ffffff;
  box-shadow: var(--box-shadow-depth);
  transform: translateY(-2px);
}

/* Cards */
.card {
  background-color: #ffffff;
  border-radius: 1.5rem;
  padding: 2.5rem;
  box-shadow: var(--box-shadow-depth);
  transition: all 0.3s ease;
  overflow: hidden;
  position: relative;
}

.card:hover {
  box-shadow: var(--box-shadow-hover-depth);
  transform: translateY(-5px);
}

/* Hero Section */
.hero-section {
  background: linear-gradient(160deg, var(--color-background) 0%, var(--color-section-1) 100%);
  padding: 8rem 0 6rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero-section::before {
  content: '';
  position: absolute;
  top: -10%;
  left: -10%;
  width: 120%;
  height: 120%;
  background: radial-gradient(circle at 50% 50%, rgba(255,255,255,0.05) 0%, rgba(255,255,255,0) 70%);
  opacity: 0.8;
  pointer-events: none;
  z-index: 0;
}

.hero-section h1 {
  color: var(--color-primary);
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.hero-section p {
  font-size: 1.3rem;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 2.5rem;
  color: var(--color-text-secondary);
}

/* Forms */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-family: var(--font-family-body);
  font-weight: 600;
  margin-bottom: 0.6rem;
  color: var(--color-text-primary);
  font-size: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group textarea {
  width: 100%;
  padding: 1rem 1.2rem;
  border: 1px solid #dcdcdc;
  border-radius: 0.75rem;
  font-family: var(--font-family-body);
  font-size: 1rem;
  color: var(--color-text-primary);
  background-color: #ffffff;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="password"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(var(--color-primary-rgb), 0.2);
}

textarea {
  resize: vertical;
  min-height: 120px;
}

/* Footer */
footer {
  background-color: var(--color-footer-bg);
  color: #e0e0e0;
  padding: 4rem 0;
  font-size: 0.95rem;
}

footer a {
  color: #ffffff;
  opacity: 0.8;
}

footer a:hover {
  color: var(--color-secondary);
  opacity: 1;
  text-decoration: none;
}

footer h3 {
  color: #ffffff;
  margin-bottom: 1.5rem;
  font-size: 1.4rem;
}

/* Utility classes for Tailwind-like integration */
.text-primary { color: var(--color-primary); }
.text-secondary { color: var(--color-secondary); }
.bg-primary { background-color: var(--color-primary); }
.bg-secondary { background-color: var(--color-secondary); }
.border-primary { border-color: var(--color-primary); }

/* Alpine.js specific styles */
[x-cloak] {
  display: none !important;
}

.fade-enter-active, .fade-leave-active {
  transition: opacity 0.5s ease-in-out;
}
.fade-enter-from, .fade-leave-to {
  opacity: 0;
}

.slide-up-enter-active, .slide-up-leave-active {
  transition: all 0.4s ease-out;
}
.slide-up-enter-from, .slide-up-leave-to {
  opacity: 0;
  transform: translateY(20px);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  h1 { font-size: 3rem; }
  h2 { font-size: 2.4rem; }
  h3 { font-size: 1.9rem; }
  .hero-section { padding: 6rem 0 4rem; }
  section { padding: 4rem 0; }
}

@media (max-width: 768px) {
  h1 { font-size: 2.5rem; }
  h2 { font-size: 2rem; }
  h3 { font-size: 1.6rem; }
  p { font-size: 1rem; }
  .btn { padding: 0.8rem 1.8rem; font-size: 1rem; }
  .hero-section { padding: 5rem 0 3rem; }
}

@media (max-width: 480px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.8rem; }
  h3 { font-size: 1.4rem; }
  .hero-section p { font-size: 1.1rem; }
  section { padding: 3rem 0; }
  .card { padding: 2rem 1.5rem; }
}

/* Subtle texture overlay for a natural feel */
body::after {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAMAAAD9M+WBAAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyJpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtptvXgAAAABlQTFRF9/f3+fn5+/v7/f7++vr6/Pz8/v/++vv763YJzQAAAEhJREFUeNpiYBgFo2AUjIJRMApGAlQwiAwkYjIAK2GgB1l1y4CjBo0D4KjFoAIGKAApM0BiA42B4EAgNQBmB4CgYBoAAQYAdkQB+z8WlTMAAAAASUVORK5CYII=');
  background-repeat: repeat;
  opacity: 0.03;
  z-index: -1;
}

/* Custom styles for sections to use dynamic colors */
.section-bg-1 { background-color: var(--color-section-1); }
.section-bg-2 { background-color: var(--color-section-2); }
.section-bg-3 { background-color: var(--color-section-3); }
.section-bg-4 { background-color: var(--color-section-4); }
.section-bg-5 { background-color: var(--color-section-5); }
.section-bg-6 { background-color: var(--color-section-6); }

/* Smooth transitions for all interactive elements */
*:focus-visible {
  outline: 2px solid var(--color-secondary);
  outline-offset: 3px;
  border-radius: 0.5rem;
}


/* Cookie Banner Additional Styles for Tailwind */
.cookie-banner-hover-effect:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

@media (prefers-reduced-motion: reduce) {
    .cookie-banner-hover-effect:hover {
        transform: none;
    }
}