:root {
    /* Colors */
    --color-primary: #6B8E23; /* Olive Drab */
    --color-secondary: #FFA07A; /* Light Salmon */
    --color-background: #F0F5F0; /* Pale Gray-Green */
    --color-footer-bg: #4F6B1E; /* Darker Olive */
    --color-text-dark: #333333;
    --color-text-light: #F0F5F0; /* Matching background for contrast */
    --color-accent: #FFA07A; /* Light Salmon for accents */

    /* Section Backgrounds */
    --section-bg-1: #E8EDE8;
    --section-bg-2: #F8FAF8;
    --section-bg-3: #DCE0DB;
    --section-bg-4: #FCFFF9;
    --section-bg-5: #F1F6F1;
    --section-bg-6: #C7D1C7;

    /* Fonts */
    --font-family-primary: 'Montserrat', sans-serif;
    --font-family-secondary: 'Open Sans', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;

    /* Border Radius */
    --border-radius-soft: 12px;
    --border-radius-btn: 25px; /* More rounded for buttons */

    /* Shadows */
    --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.08);
    --shadow-btn-soft: 0 6px 12px rgba(0, 0, 0, 0.15), inset 0 -3px 0 rgba(0, 0, 0, 0.1); /* 3D effect */
    --shadow-btn-hover: 0 8px 16px rgba(0, 0, 0, 0.2), inset 0 -4px 0 rgba(0, 0, 0, 0.15);
    --shadow-btn-active: 0 2px 4px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(0, 0, 0, 0.1); /* Pressed effect */
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-secondary);
    color: var(--color-text-dark);
    line-height: 1.7;
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-family-primary);
    color: var(--color-primary);
    margin-top: 1.5em;
    margin-bottom: 0.8em;
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    font-weight: 700;
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 500;
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-accent);
    transform: translateY(-1px);
}

/* Utility Classes for Layout and Spacing (complementing Tailwind) */
.section-padding {
    padding: var(--spacing-xl) var(--spacing-md);
}

.max-w-screen-xl {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Section Backgrounds */
.section-bg-1 { background-color: var(--section-bg-1); }
.section-bg-2 { background-color: var(--section-bg-2); }
.section-bg-3 { background-color: var(--section-bg-3); }
.section-bg-4 { background-color: var(--section-bg-4); }
.section-bg-5 { background-color: var(--section-bg-5); }
.section-bg-6 { background-color: var(--section-bg-6); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem 2.2rem;
    border: none;
    border-radius: var(--border-radius-btn);
    font-family: var(--font-family-primary);
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1); /* Smooth and natural transition */
    box-shadow: var(--shadow-btn-soft);
    position: relative;
    overflow: hidden;
    color: var(--color-text-light); /* Default text color for buttons */
}

.btn-primary {
    background: linear-gradient(145deg, var(--color-primary), darken(var(--color-primary), 10%));
    color: var(--color-text-light);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
    background: linear-gradient(145deg, lighten(var(--color-primary), 5%), var(--color-primary));
}

.btn-primary:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-btn-active);
}

.btn-secondary {
    background: linear-gradient(145deg, var(--color-secondary), darken(var(--color-secondary), 10%));
    color: var(--color-text-light);
}

.btn-secondary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-btn-hover);
    background: linear-gradient(145deg, lighten(var(--color-secondary), 5%), var(--color-secondary));
}

.btn-secondary:active {
    transform: translateY(1px);
    box-shadow: var(--shadow-btn-active);
}

/* Cards */
.card {
    background-color: white;
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensures content stays within rounded corners */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.6); /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px); /* Safari support */
    padding: var(--spacing-sm) var(--spacing-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.header .logo {
    display: block;
    margin: 0 auto; /* Center logo */
    max-width: 150px;
    height: auto;
}

.header nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
}

.header nav a {
    font-family: var(--font-family-primary);
    font-weight: 500;
    color: var(--color-text-dark);
    font-size: 1.05rem;
    padding: 0.5rem 0.8rem;
    position: relative;
}

.header nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background-color: var(--color-accent);
    transition: width 0.3s ease;
}

.header nav a:hover::after {
    width: 100%;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    font-family: var(--font-family-secondary);
}

.footer h3 {
    color: var(--color-text-light);
    margin-bottom: var(--spacing-md);
    font-size: 1.5rem;
}

.footer .footer-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer .footer-links a {
    color: var(--color-text-light);
    font-size: 1rem;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius-soft);
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.footer .footer-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

.footer .social-icons a {
    color: var(--color-text-light);
    font-size: 1.8rem;
    margin: 0 var(--spacing-sm);
    transition: color 0.3s ease, transform 0.3s ease;
}

.footer .social-icons a:hover {
    color: var(--color-accent);
    transform: scale(1.1);
}

.footer .copyright {
    margin-top: var(--spacing-lg);
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Dividers */
.divider {
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    border: none;
    margin: var(--spacing-xl) auto;
    width: 80%;
    max-width: 600px;
    border-radius: 5px;
    opacity: 0.7;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 0.8rem 1rem;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-soft);
    font-family: var(--font-family-secondary);
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box; /* Include padding in width */
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(107, 142, 35, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    .header nav ul {
        flex-direction: column;
        gap: var(--spacing-sm);
        text-align: center;
    }

    .section-padding {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    .btn {
        padding: 0.7rem 1.5rem;
        font-size: 1rem;
    }
}


/* 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;
    }
}