:root {
    --color-primary: #2E8B57;
    --color-secondary: #6DD5ED;
    --color-background: #F8F8F8;
    --color-footer-bg: #2E4A3F;
    --color-button: #6DD5ED;
    --color-text-dark: #2E4A3F;
    --color-text-light: #F8F8F8;
    --color-accent: #6DD5ED; /* Using button color as accent */

    --section-bg-1: #FFFFFF;
    --section-bg-2: #F0F5F2;
    --section-bg-3: #E8F5E9;
    --section-bg-4: #FFFFFF;

    --font-family-heading: 'Poppins', sans-serif;
    --font-family-body: 'Open Sans', sans-serif;

    --border-radius-soft: 12px;
    --spacing-unit: 1rem;
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;600;700&family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: var(--font-family-body);
    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-family-heading);
    color: var(--color-primary);
    margin-top: 2.5rem;
    margin-bottom: 1.2rem;
    line-height: 1.2;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 3.8rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    font-weight: 600;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--color-secondary) 0%, var(--color-primary) 100%);
    border-radius: 2px;
}

h3 {
    font-size: 2.2rem;
    font-weight: 600;
}

h4 {
    font-size: 1.8rem;
    font-weight: 600;
}

p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color 0.3s ease, transform 0.3s ease;
}

a:hover {
    color: var(--color-primary);
    transform: translateY(-1px);
}

/* Global button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius-soft);
    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(--shadow-soft);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.btn-primary {
    background: linear-gradient(45deg, var(--color-button) 0%, var(--color-primary) 100%);
    color: var(--color-text-light);
    box-shadow: 0 6px 20px rgba(109, 213, 237, 0.4);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(109, 213, 237, 0.6);
    background: linear-gradient(45deg, var(--color-primary) 0%, var(--color-button) 100%);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--color-secondary);
    color: var(--color-secondary);
    box-shadow: none;
    padding: 0.9rem 2.4rem;
}

.btn-secondary:hover {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(109, 213, 237, 0.3);
}

/* Card styles */
.card {
    background-color: var(--section-bg-1);
    border-radius: var(--border-radius-soft);
    box-shadow: var(--shadow-soft);
    padding: 2.5rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
}

/* Form elements */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: 1rem 1.2rem;
    margin-bottom: 1.5rem;
    border: 1px solid #dcdcdc;
    border-radius: var(--border-radius-soft);
    font-family: var(--font-family-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-background);
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="password"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--color-secondary);
    box-shadow: 0 0 0 3px rgba(109, 213, 237, 0.2);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* 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);
}

/* Footer Styling */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: 4rem 0;
    text-align: center;
    font-size: 0.95rem;
}

.footer a {
    color: var(--color-secondary);
}

.footer a:hover {
    color: var(--color-button); /* Brighter hover for footer links */
}

/* Utility classes for spacing and alignment (complementing Tailwind) */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 1.5rem;
    padding-right: 1.5rem;
}

.py-section {
    padding-top: 6rem;
    padding-bottom: 6rem;
}

.text-center {
    text-align: center;
}

/* Organic shapes and subtle gradients for a natural feel */
.hero-section {
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--color-background) 0%, var(--section-bg-2) 100%);
    padding-top: 8rem;
    padding-bottom: 8rem;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: -10%;
    left: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 10% 20%, rgba(109, 213, 237, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -10%;
    right: -10%;
    width: 120%;
    height: 120%;
    background: radial-gradient(circle at 90% 80%, rgba(46, 139, 87, 0.1) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
}

/* Micro-interactions and animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-element {
    animation: fadeIn 0.8s ease-out forwards;
    opacity: 0; /* Hidden by default, revealed by animation */
}

/* Responsive adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.8rem;
    }

    h2 {
        font-size: 2.2rem;
    }

    h3 {
        font-size: 1.8rem;
    }

    p {
        font-size: 1rem;
    }

    .btn {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .py-section {
        padding-top: 4rem;
        padding-bottom: 4rem;
    }

    .card {
        padding: 1.8rem;
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2.2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    h3 {
        font-size: 1.5rem;
    }

    .btn {
        width: 100%;
        margin-bottom: 1rem;
    }

    .container {
        padding-left: 1rem;
        padding-right: 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;
    }
}