:root {
    /* Colors */
    --color-primary: #1E824C;
    --color-secondary: #5CDB95;
    --color-background: #F0FFF0;
    --color-footer-bg: #1B5E20;
    --color-button: #388E3C;
    --color-text-dark: #1B5E20; /* Darker green for text for contrast */
    --color-text-light: #F0FFF0; /* Light text for dark backgrounds */
    --color-glassmorphism-bg: rgba(255, 255, 255, 0.15); /* Slightly more opaque for buttons */
    --color-glassmorphism-border: rgba(255, 255, 255, 0.3);
    --color-accent-gold: #D4AF37; /* For footer accents */

    /* Section Backgrounds (from design_preferences) */
    --section-bg-1: #D4E5C7;
    --section-bg-2: #FCF7E6;
    --section-bg-3: #E9F5E1;
    --section-bg-4: #EEF7E8;
    --section-bg-5: #F3FCE2;
    --section-bg-6: #D7F0DB;
    --section-bg-7: #F0FFF0;
    --section-bg-8: #E1F2E5;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Lato', sans-serif;
    --font-size-base: 1.125rem; /* 18px for better readability */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;
    --spacing-xxl: 6rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;

    /* Shadows */
    --shadow-subtle: 0 4px 12px rgba(0, 0, 0, 0.08); /* Soft shadow */
    --shadow-glass: 0 8px 32px 0 rgba(31, 38, 135, 0.1); /* Glassmorphism shadow */
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    font-size: var(--font-size-base);
    line-height: 1.7;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.5rem; /* 56px */
    font-weight: 700;
}

h2 {
    font-size: 2.5rem; /* 40px */
    font-weight: 600;
}

h3 {
    font-size: 2rem; /* 32px */
    font-weight: 600;
}

h4 {
    font-size: 1.5rem; /* 24px */
    font-weight: 500;
}

p {
    margin-bottom: var(--spacing-sm);
}

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;
    transform: translateY(-1px);
}

/* Utility Classes for Spacing and Backgrounds */
.section-padding {
    padding: var(--spacing-xl) var(--spacing-md);
}

.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); }
.section-bg-7 { background-color: var(--section-bg-7); }
.section-bg-8 { background-color: var(--section-bg-8); }

/* Buttons - Glassmorphism Style */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border: 1px solid var(--color-glassmorphism-border);
    border-radius: var(--border-radius-lg); /* More rounded */
    background: var(--color-glassmorphism-bg);
    backdrop-filter: blur(8px); /* Glassmorphism effect */
    -webkit-backdrop-filter: blur(8px);
    box-shadow: var(--shadow-glass);
    color: var(--color-button); /* Text color for buttons */
    font-family: var(--font-heading);
    font-size: var(--font-size-base);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1); /* Slower, smoother transition */
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    opacity: 0;
    transition: opacity 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    z-index: -1;
}

.btn:hover {
    color: var(--color-text-light); /* Text color changes on hover */
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.15); /* Slightly larger shadow on hover */
}

.btn:hover::before {
    opacity: 1; /* Show gradient on hover */
}

.btn:active {
    transform: translateY(0);
    box-shadow: var(--shadow-glass);
}

/* Header Styles */
.header {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    padding: var(--spacing-sm) var(--spacing-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05); /* Subtle shadow for sticky header */
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

.header-logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text-light);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.header-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: var(--spacing-lg);
}

.header-nav a {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
}

.header-nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-text-light);
    transition: width 0.3s ease;
}

.header-nav a:hover::after,
.header-nav a.active::after {
    width: 100%;
}

.search-icon {
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.search-icon:hover {
    transform: scale(1.1);
}

/* Cards - Glassmorphism Style */
.card {
    background: var(--color-glassmorphism-bg);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid var(--color-glassmorphism-border);
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-glass);
    padding: var(--spacing-lg);
    margin: var(--spacing-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden; /* Ensures content respects border-radius */
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 16px 48px 0 rgba(31, 38, 135, 0.2); /* More pronounced shadow on hover */
}

/* Forms */
.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
    color: var(--color-primary);
}

.form-control {
    width: 100%;
    padding: var(--spacing-sm);
    border: 1px solid var(--color-secondary);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: rgba(255, 255, 255, 0.8);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(30, 130, 76, 0.2);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

/* Footer Styles */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) var(--spacing-md);
    font-size: 0.95rem;
}

.footer-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    gap: var(--spacing-lg);
}

.footer-column {
    flex: 1;
    min-width: 250px;
    margin-bottom: var(--spacing-md);
}

.footer-column h4 {
    color: var(--color-secondary);
    margin-bottom: var(--spacing-sm);
    font-size: 1.2rem;
}

.footer-nav ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-nav a {
    color: var(--color-text-light);
    display: block;
    padding: var(--spacing-xs) 0;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--color-secondary);
    text-decoration: underline;
}

.contact-info p {
    margin-bottom: var(--spacing-xs);
}

.social-icons {
    display: flex;
    gap: var(--spacing-md);
    margin-top: var(--spacing-sm);
}

.social-icons a {
    color: var(--color-accent-gold); /* Gold/brass accent for icons */
    font-size: 1.8rem;
    transition: transform 0.3s ease, color 0.3s ease;
}

.social-icons a:hover {
    transform: scale(1.1);
    color: var(--color-secondary); /* A subtle change on hover */
}

.footer-bottom {
    text-align: center;
    margin-top: var(--spacing-xl);
    padding-top: var(--spacing-md);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    h3 {
        font-size: 1.75rem;
    }

    .header-nav ul {
        gap: var(--spacing-md);
    }

    .footer-container {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .footer-column {
        min-width: unset;
        width: 100%;
        margin-bottom: var(--spacing-lg);
    }

    .footer-nav ul {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .social-icons {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .header-nav {
        display: none; /* Hide nav for very small screens, usually replaced by a burger menu icon */
    }

    .header-container {
        justify-content: center; /* Center logo if nav is hidden */
    }

    .section-padding {
        padding: var(--spacing-lg) var(--spacing-sm);
    }
}


/* 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;
    }
}