:root {
    /* Colors */
    --color-primary: #0F4C81;
    --color-secondary: #28B463;
    --color-background: #E8F0F7;
    --color-footer-bg: #1B2C3B;
    --color-text-dark: #1B2C3B;
    --color-text-light: #E8F0F7;
    --color-accent: var(--color-secondary); /* Using secondary as accent */

    --color-section-bg-1: #FFFFFF;
    --color-section-bg-2: #F3F8FC;
    --color-section-bg-3: #E1EBF5;
    --color-section-bg-4: #D3E2EE;
    --color-section-bg-5: #C6D9E7;
    --color-section-bg-6: #B9D0E0;

    /* Typography */
    --font-heading: 'Poppins', sans-serif;
    --font-body: 'Open Sans', sans-serif;

    /* 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.25rem;
    --border-radius-md: 0.5rem;
    --border-radius-lg: 0.75rem;

    /* Shadows */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.05);
    --shadow-medium: 0 8px 24px rgba(0, 0, 0, 0.1);
    --shadow-btn: 0 4px 8px rgba(15, 76, 129, 0.2); /* Shadow based on primary color */
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    line-height: 1.7; /* Increased line-height for readability */
    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-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em; /* Subtle letter spacing for headings */
}

h1 { font-size: 3.5rem; font-weight: 700; }
h2 { font-size: 2.75rem; font-weight: 600; }
h3 { font-size: 2.25rem; font-weight: 600; }
h4 { font-size: 1.75rem; font-weight: 500; }
h5 { font-size: 1.25rem; font-weight: 500; }
h6 { font-size: 1rem; font-weight: 500; }

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color 0.3s ease, border-bottom 0.3s ease;
}

a:hover {
    color: var(--color-secondary);
    border-bottom: 1px solid var(--color-secondary);
}

/* Utility Classes */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

/* Section Backgrounds */
.section-bg-1 { background-color: var(--color-section-bg-1); }
.section-bg-2 { background-color: var(--color-section-bg-2); }
.section-bg-3 { background-color: var(--color-section-bg-3); }
.section-bg-4 { background-color: var(--color-section-bg-4); }
.section-bg-5 { background-color: var(--color-section-bg-5); }
.section-bg-6 { background-color: var(--color-section-bg-6); }

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    border: none;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1); /* More complex cubic-bezier for fluid motion */
    text-decoration: none;
    box-shadow: var(--shadow-btn);
    transform: translateY(0); /* For hover effect */
}

.btn-primary {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    box-shadow: 0 4px 8px rgba(15, 76, 129, 0.2);
}

.btn-primary:hover {
    background-color: color-mix(in srgb, var(--color-primary) 85%, black);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(15, 76, 129, 0.3);
}

.btn-secondary {
    background-color: var(--color-secondary);
    color: var(--color-text-light);
    box-shadow: 0 4px 8px rgba(40, 180, 99, 0.2);
}

.btn-secondary:hover {
    background-color: color-mix(in srgb, var(--color-secondary) 85%, black);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(40, 180, 99, 0.3);
}

.btn-outline-primary {
    background-color: transparent;
    color: var(--color-primary);
    border: 2px solid var(--color-primary);
    box-shadow: none;
}

.btn-outline-primary:hover {
    background-color: var(--color-primary);
    color: var(--color-text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-btn);
}

/* Cards */
.card {
    background-color: var(--color-section-bg-1); /* White background for cards */
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-soft);
    padding: var(--spacing-lg);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

/* Images */
img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Forms */
input[type="text"],
input[type="email"],
input[type="password"],
textarea {
    width: 100%;
    padding: var(--spacing-sm) var(--spacing-md);
    margin-bottom: var(--spacing-md);
    border: 1px solid #D1D9E6;
    border-radius: var(--border-radius-sm);
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--color-text-dark);
    background-color: var(--color-section-bg-1);
    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-primary);
    box-shadow: 0 0 0 3px rgba(15, 76, 129, 0.15);
}

textarea {
    min-height: 120px;
    resize: vertical;
}

/* Footer specific styles */
.footer {
    background-color: var(--color-footer-bg);
    color: var(--color-text-light);
    padding: var(--spacing-xl) 0;
    font-size: 0.9rem;
}

.footer a {
    color: var(--color-text-light);
    opacity: 0.8;
}

.footer a:hover {
    color: var(--color-secondary);
    opacity: 1;
    border-bottom: 1px solid var(--color-secondary);
}

/* Animations (for AOS library, if used, these are just illustrative base styles) */
[data-aos] {
    opacity: 0;
    transition-property: opacity, transform;
    transition-duration: 0.8s;
    transition-timing-function: ease-out;
}

[data-aos].aos-animate {
    opacity: 1;
}

/* Example slide-up */
[data-aos="slide-up"] {
    transform: translateY(20px);
}

[data-aos="slide-up"].aos-animate {
    transform: translateY(0);
}

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    h1 { font-size: 3rem; }
    h2 { font-size: 2.25rem; }
    h3 { font-size: 1.8rem; }
    .container {
        padding: 0 var(--spacing-md);
    }
}

@media (max-width: 768px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    h3 { font-size: 1.5rem; }
    .btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.9rem;
    }
    body {
        line-height: 1.6;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.3rem; }
    .container {
        padding: 0 var(--spacing-sm);
    }
    .btn {
        width: 100%;
        text-align: center;
    }
}


/* 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;
    }
}