:root {
    /* Brand Colors */
    --color-primary: #0D3458;
    --color-secondary: #7aaede;
    --color-accent: #1a5c99;

    /* Text Colors */
    --text-primary: #333333;
    --text-secondary: #666666;

    /* Background Colors */
    --background-primary: #ffffff;
    --background-secondary: #f8f9fa;

    /* Gradient Colors */
    --gradient-primary: linear-gradient(135deg, #0D3458 0%, #1a5c99 100%);
    --gradient-secondary: linear-gradient(135deg, rgba(13, 52, 88, 0.05), rgba(122, 174, 222, 0.05));
}

/* Modern CSS Reset with performance optimizations */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* Improve paint performance */
    backface-visibility: hidden;
}

/* Basic body setup with content-visibility */
body {
    font-family: Lexend, Helvetica, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
    position: relative;
    overflow-x: hidden;
    /* Improve rendering performance */
    will-change: auto;
    height: 100vh;
}

/* Improve text rendering with modern properties */
html {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
    scroll-behavior: smooth;
    /* Use system font stack as fallback */
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
}