:root {
    --primary: #1a5490;
    --primary-dark: #0d3461;
    --accent: #f39c12;
    --success: #27ae60;
    --danger: #e74c3c;
    --text: #2c3e50;
    --text-light: #5a6c7d;
    --bg: #ffffff;
    --bg-alt: #f8f9fa;
    --border: #e1e8ed;
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --radius: 8px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
    --spacing-unit: clamp(1rem, 2vw, 1.5rem);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background: var(--bg);
    transition: var(--transition);
    position: relative;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 var(--spacing-unit);
    position: relative;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text);
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: clamp(1.5rem, 4vw, 2rem);
    margin-top: 3rem;
    margin-bottom: 1.5rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h3 {
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    margin-top: 2rem;
    color: var(--primary-dark);
}

p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
    color: var(--text);
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition);
    position: relative;
}

a:hover {
    color: var(--accent);
}

a:focus {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Navigation */
nav {
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    backdrop-filter: blur(10px);
    background: rgba(255,255,255,0.95);
}

@media (prefers-color-scheme: dark) {
    nav {
        background: rgba(26,26,26,0.95);
    }
}

.nav-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1rem 0;
}

nav ul {
    display: flex;
    list-style: none;
    padding: 0;
    /* overflow-x: auto; */
    gap: 1.5rem;
    flex: 1;
}

nav li {
    display: flex;
    align-items: center;
}

nav a {
    font-weight: 500;
    white-space: nowrap;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: var(--transition);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

nav a:hover {
    border-bottom-color: var(--accent);
}

/* Main Content */
main {
    min-height: 100vh;
    padding: var(--spacing-unit) 0;
}

.home_hero {
    text-align: center;
    padding: clamp(2rem, 5vw, 4rem) 0;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--bg));
    border-radius: var(--radius);
    position: relative;
}

section {
    margin-bottom: clamp(3rem, 6vw, 5rem);
    animation: fadeIn 0.6s ease-out;
    position: relative;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Cards and Boxes */
.info-box {
    background: var(--bg-alt);
    padding: clamp(1rem, 3vw, 2rem);
    border-radius: var(--radius);
    border-left: 4px solid var(--accent);
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-box:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.provider-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.5rem;
    margin-bottom: 1rem;
    transition: var(--transition);
    display: grid;
    gap: 1rem;
}

.provider-card:hover {
    box-shadow: var(--shadow-md);
    border-color: var(--accent);
    transform: translateX(4px);
}

.provider-card h4 {
    color: var(--primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--accent);
    color: white;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

/* Lists */
ul, ol {
    margin: 1rem 0 1.5rem 1.5rem;
    line-height: 1.8;
}

li {
    margin-bottom: 0.5rem;
    position: relative;
}

/* ul li::before {
    content: '→';
    color: var(--accent);
    font-weight: bold;
    position: absolute;
    left: -1.5rem;
} */

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    background: var(--bg);
    box-shadow: var(--shadow-sm);
    border-radius: var(--radius);
    /* overflow: hidden; */
}

th {
    background: var(--primary);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border);
}

tr:hover {
    background: var(--bg-alt);
}

/* Interactive Elements */
details {
    background: var(--bg-alt);
    border-radius: var(--radius);
    padding: 1rem;
    margin: 1rem 0;
    border: 1px solid var(--border);
    transition: var(--transition);
}

details[open] {
    box-shadow: var(--shadow-md);
}

summary {
    cursor: pointer;
    font-weight: 600;
    color: var(--primary);
    list-style: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

summary::before {
    content: '▶';
    transition: var(--transition);
}

details[open] summary::before {
    transform: rotate(90deg);
}

/* Blockquotes */
blockquote {
    margin: 2rem 0;
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-alt), var(--bg));
    border-left: 4px solid var(--primary);
    border-radius: var(--radius);
    font-style: italic;
    position: relative;
}

blockquote::before {
    content: '"';
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.2;
    position: absolute;
    top: -10px;
    left: 10px;
}

/* Footer */
footer {
    margin-top: 4rem;
    padding: 3rem 0 2rem;
    background: var(--bg-alt);
    border-top: 1px solid var(--border);
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    nav ul {
        gap: 1rem;
        font-size: 0.9rem;
    }

    .nav-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .provider-card {
        padding: 1rem;
    }

    table {
        font-size: 0.875rem;
    }

    th, td {
        padding: 0.5rem;
    }

    h2 {
        padding-left: 60px;
    }

    h2::after {
        left: 60px;
    }
}

/* Accessibility */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    /* overflow: hidden; */
    clip: rect(0,0,0,0);
    border: 0;
}

/* Print Styles */
@media print {
    nav, aside, footer {
        display: none;
    }

    main {
        max-width: 100%;
    }

    a::after {
        content: " (" attr(href) ")";
    }
}

/* Smooth Scroll */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus Visible */
:focus-visible {
    outline: 2px solid var(--accent);
    outline-offset: 2px;
}

/* Selection */
::selection {
    background: var(--accent);
    color: white;
}