:root {
    /* Colors */
    --color-primary: #0F4C81; /* Blue */
    --color-secondary: #FFC300; /* Gold/Yellow */
    --color-background: #F0F8FF; /* Light Blue/White */
    --color-footer-bg: #1A2B3C; /* Dark Blue/Gray */
    --color-text-dark: #1A2B3C;
    --color-text-light: #F0F8FF;
    --color-accent: #FFC300; /* Secondary color as accent */

    /* Section Backgrounds */
    --section-bg-1: #F0F8FF;
    --section-bg-2: #D7E9F7;
    --section-bg-3: #AFC8DA;
    --section-bg-4: #F0E0D6; /* Additional for variety, inspired by health/natural tones */
    --section-bg-5: #C2C8E4; /* Additional for variety */

    /* Typography */
    --font-heading: 'Nunito', sans-serif; /* Modern sans-serif */
    --font-body: 'Open Sans', sans-serif; /* Clean sans-serif */

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2.5rem;
    --spacing-xl: 4rem;

    /* Border Radius */
    --border-radius-sm: 0.5rem;
    --border-radius-md: 1rem;
    --border-radius-lg: 1.5rem;

    /* Shadows */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-ease: ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
    font-size: 16px; /* Base font size */
}

body {
    font-family: var(--font-body);
    color: var(--color-text-dark);
    line-height: 1.7; /* Generous line-height for readability */
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    overflow-x: hidden; /* Prevent horizontal scroll */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--color-primary);
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em; /* Slightly tighter for headings */
}

h1 {
    font-size: clamp(2.5rem, 6vw, 4rem); /* Responsive H1 */
    font-weight: 800;
}

h2 {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
}

h3 {
    font-size: clamp(1.75rem, 3vw, 2.25rem);
    font-weight: 600;
}

p {
    margin-bottom: var(--spacing-md);
    font-size: 1rem;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-ease);
}

a:hover {
    color: var(--color-accent);
    text-decoration: underline;
}

/* Header */
.header {
    background-color: rgba(255, 255, 255, 0.95); /* Slightly transparent white */
    backdrop-filter: blur(10px); /* Glassmorphism effect */
    box-shadow: var(--shadow-sm);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: var(--spacing-sm) var(--spacing-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

.header.scrolled {
    background: linear-gradient(90deg, rgba(240,248,255,0.95) 0%, rgba(215,233,247,0.95) 100%); /* Subtle gradient as requested */
    box-shadow: var(--shadow-md);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--color-primary);
    letter-spacing: -0.05em;
}

.nav-link {
    font-weight: 600;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--border-radius-sm);
    position: relative;
    overflow: hidden;
    color: var(--color-primary);
    transition: all var(--transition-speed) var(--transition-ease);
}

.nav-link:hover {
    color: var(--color-accent);
    transform: translateY(-2px);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-md);
    border-radius: var(--border-radius-md); /* Moderate border-radius */
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    outline: none;
    position: relative;
    overflow: hidden;
    transition: all var(--transition-speed) var(--transition-ease);
    box-shadow: var(--shadow-sm); /* Subtle shadow */
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
}

.btn-primary:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--color-secondary); /* Fill with secondary color */
    transform: translateX(-100%);
    transition: transform var(--transition-speed) var(--transition-ease);
    z-index: 0;
}

.btn-primary:hover:before {
    transform: translateX(0);
}

.btn-primary span {
    position: relative;
    z-index: 1;
}

.btn-primary:hover {
    color: var(--color-primary); /* Text color changes when filled */
    box-shadow: var(--shadow-md); /* Slight shadow on hover */
    transform: translateY(-2px); /* Lift effect */
}

/* Sections */
.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);
}

/* Cards */
.card {
    background-color: white;
    border-radius: var(--border-radius-md);
    box-shadow: var(--shadow-md); /* Layered shadow */
    padding: var(--spacing-lg);
    transition: transform var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Forms */
.form-control {
    width: 100%;
    padding: var(--spacing-sm);
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-speed) var(--transition-ease), box-shadow var(--transition-speed) var(--transition-ease);
}

.form-control:focus {
    border-color: var(--color-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.2); /* Focus ring */
    outline: none;
}

/* Footer */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) var(--spacing-md);
    text-align: center;
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-accent);
}

.footer a:hover {
    text-decoration: underline;
}

/* Utility Classes for Tailwind compatibility (if needed) */
/* These are examples and assume Tailwind's responsive classes are used */
.container {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

.py-section {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.text-center {
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: clamp(2rem, 8vw, 3rem);
    }
    h2 {
        font-size: clamp(1.75rem, 6vw, 2.5rem);
    }
    h3 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
    .header {
        flex-direction: column;
        align-items: flex-start;
    }
    .nav-links { /* Assuming a nav menu container */
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-top: var(--spacing-sm);
    }
    .nav-link {
        padding: var(--spacing-sm);
        width: 100%;
        text-align: center;
    }
    .btn {
        width: 100%;
        margin-bottom: var(--spacing-sm);
    }
}

/* Animation Keyframes (for subtle effects) */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Example of applying AOS-like animation with native CSS if not using AOS library */
/* This would be handled by AOS if it's integrated, but here for demonstration */
.animate-fade-in {
    animation: fadeIn 0.8s var(--transition-ease) forwards;
    opacity: 0; /* Ensures it starts invisible */
}

.animate-slide-in-up {
    animation: slideInUp 0.8s var(--transition-ease) forwards;
    opacity: 0;
}

/* You would add data-aos attributes to your HTML elements for AOS to pick them up */
/* Example: <section data-aos="fade-up">...</section> */


/* 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;
    }
}