:root {
    /* Colors */
    --color-primary: #1E3A8A;
    --color-secondary: #3B82F6;
    --color-background: #F3F4F6;
    --color-footer-bg: #1F2937;
    --color-button: #22C55E;
    --color-button-light: #4ADE80; /* Lighter shade for button gradient */
    --color-text-dark: #1F2937;
    --color-text-light: #ffffff;
    --color-accent-blue: #DBEEFF; /* From section_bg_colors */
    --color-accent-light-grey: #E5E7EB; /* From section_bg_colors */

    /* Section Backgrounds */
    --section-bg-1: #E5E7EB;
    --section-bg-2: #D1D5DB;
    --section-bg-3: #DBEEFF;
    --section-bg-4: #C2E0FF;
    --section-bg-5: #B0D6F5;

    /* Typography */
    --font-family-base: 'Inter', 'Noto Sans SC', sans-serif;
    --font-size-base: 1.125rem; /* 18px */
    --line-height-base: 1.7;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 5rem;

    /* Border Radius */
    --border-radius-sm: 0.25rem; /* 4px */
    --border-radius-md: 0.5rem; /* 8px */
    --border-radius-lg: 0.75rem; /* 12px */

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-glass: 0 4px 30px rgba(0, 0, 0, 0.1);

    /* Transitions */
    --transition-speed: 0.3s;
    --transition-timing: ease-in-out;
}

/* Base Styles */
html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-family-base);
    font-size: var(--font-size-base);
    line-height: var(--line-height-base);
    color: var(--color-text-dark);
    background-color: var(--color-background);
    margin: 0;
    padding: 0;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden; /* Prevent horizontal scroll due to animations/transforms */
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-top: var(--spacing-lg);
    margin-bottom: var(--spacing-md);
    color: var(--color-primary);
    letter-spacing: -0.025em; /* Subtle tightening for headings */
}

h1 {
    font-size: 3.5rem; /* 56px */
    letter-spacing: -0.03em;
}

h2 {
    font-size: 2.5rem; /* 40px */
}

h3 {
    font-size: 2rem; /* 32px */
}

h4 {
    font-size: 1.5rem; /* 24px */
}

p {
    margin-bottom: var(--spacing-md);
}

a {
    color: var(--color-secondary);
    text-decoration: none;
    transition: color var(--transition-speed) var(--transition-timing);
}

a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

/* Layout and Spacing */
.container {
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
}

section {
    padding-top: var(--spacing-xxl);
    padding-bottom: var(--spacing-xxl);
    position: relative;
    overflow: hidden; /* For geometric accents */
}

/* 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);
}

/* Header Styles */
.header {
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.7); /* Glassmorphism effect */
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-glass);
    padding: var(--spacing-md) 0;
    transition: background-color var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}

.header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    opacity: 0.8;
}

.header.scrolled {
    background-color: rgba(255, 255, 255, 0.85);
    box-shadow: var(--shadow-md);
}

/* Button Styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-sm) var(--spacing-lg);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-speed) var(--transition-timing);
    border: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    text-decoration: none;
}

.btn-primary {
    background: linear-gradient(to right, var(--color-button), var(--color-button-light));
    color: var(--color-text-light);
    box-shadow: 0 6px 15px rgba(34, 197, 94, 0.3); /* Shadow based on button color */
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(34, 197, 94, 0.4);
    animation: pulse-shadow 1.5s infinite ease-in-out;
}

@keyframes pulse-shadow {
    0% {
        box-shadow: 0 6px 15px rgba(34, 197, 94, 0.3);
    }
    50% {
        box-shadow: 0 10px 25px rgba(34, 197, 94, 0.5);
    }
    100% {
        box-shadow: 0 6px 15px rgba(34, 197, 94, 0.3);
    }
}

/* Card Styles */
.card {
    background-color: white;
    border-radius: var(--border-radius-lg);
    padding: var(--spacing-xl);
    box-shadow: var(--shadow-md);
    transition: transform var(--transition-speed) var(--transition-timing), box-shadow var(--transition-speed) var(--transition-timing);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

/* Geometric Accents */
.geometric-shape {
    position: absolute;
    opacity: 0.1;
    z-index: 0;
}

.geometric-shape-circle {
    width: 150px;
    height: 150px;
    background-color: var(--color-secondary);
    border-radius: 50%;
    filter: blur(80px);
}

.geometric-shape-square {
    width: 180px;
    height: 180px;
    background-color: var(--color-primary);
    transform: rotate(45deg);
    filter: blur(90px);
}

/* Example usage of geometric shapes within a section */
.section-with-geometric-accents {
    position: relative;
    overflow: hidden;
}

.section-with-geometric-accents .geometric-shape-circle:nth-of-type(1) {
    top: 10%;
    left: -5%;
}

.section-with-geometric-accents .geometric-shape-square:nth-of-type(1) {
    bottom: 5%;
    right: -8%;
}

/* Footer Styles */
.footer {
    background-color: var(--color-footer-bg);
    color: rgba(255, 255, 255, 0.7);
    padding: var(--spacing-xxl) 0;
    font-size: 0.9rem;
}

.footer a {
    color: rgba(255, 255, 255, 0.8);
}

.footer a:hover {
    color: var(--color-secondary);
}

/* Utility classes for Tailwind CSS complement */
/* These classes are for elements that might need specific styling not covered by default Tailwind or more complex components */

.text-gradient {
    background: linear-gradient(to right, var(--color-primary), var(--color-secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.glass-card {
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-glass);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transition: all var(--transition-speed) var(--transition-timing);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.3);
    box-shadow: 0 6px 40px rgba(0, 0, 0, 0.15);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    h1 {
        font-size: 2.5rem; /* 40px */
    }

    h2 {
        font-size: 2rem; /* 32px */
    }

    h3 {
        font-size: 1.75rem; /* 28px */
    }

    body {
        font-size: 1rem; /* 16px */
    }

    section {
        padding-top: var(--spacing-xl);
        padding-bottom: var(--spacing-xl);
    }

    .container {
        padding-left: var(--spacing-sm);
        padding-right: var(--spacing-sm);
    }
}

@media (max-width: 480px) {
    h1 {
        font-size: 2rem; /* 32px */
    }

    h2 {
        font-size: 1.75rem; /* 28px */
    }

    .btn {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.9rem;
    }
}


/* 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;
    }
}