:root {
    /* Color System - Outreach Monks Inspired */
    /* Primary / Brand */
    --color-primary-900: #0a192f;
    /* Deep Navy Background */
    --color-primary-800: #112240;
    /* Card Background */
    --color-primary-700: #233554;
    /* Border/Hover */

    /* Accent */
    --color-accent: #007bff;
    /* Vivid Blue */
    --color-accent-hover: #0061c9;
    --color-accent-light: #e6f2ff;

    /* Neutrals */
    --color-white: #ffffff;
    --color-gray-50: #f8f9fa;
    --color-gray-100: #e9ecef;
    --color-gray-200: #dee2e6;
    --color-gray-300: #dee2e6;
    --color-gray-400: #ced4da;
    --color-gray-600: #6c757d;
    --color-gray-800: #343a40;
    --color-black: #000000;

    /* Semantic Mappings */
    --bg-body: var(--color-white);
    --bg-section-alt: var(--color-gray-50);
    --bg-dark: var(--color-primary-900);
    --bg-card: var(--color-white);

    --text-main: var(--color-primary-900);
    --text-muted: var(--color-gray-600);
    --text-inverse: var(--color-white);
    --text-accent: var(--color-accent);

    --border-color: var(--color-gray-200);

    /* Compatibility / Legacy Aliases */
    --primary-color: var(--color-accent);
    --secondary-color: var(--color-primary-900);
    --text-light: var(--text-muted);

    /* Typography */
    --font-main: 'Inter', system-ui, -apple-system, sans-serif;
    --font-heading: 'Inter', system-ui, -apple-system, sans-serif;

    --line-height-base: 1.6;
    --line-height-heading: 1.2;

    /* Spacing & Layout */
    --container-max: 1200px;
    /* Tighter container for density */
    --header-height: 80px;
    --section-gap: 5rem;

    /* Effects */
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.05);
    --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);

    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-main);
    color: var(--text-main);
    background-color: var(--bg-body);
    line-height: var(--line-height-base);
    -webkit-font-smoothing: antialiased;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

ul {
    list-style: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    color: var(--text-main);
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: var(--line-height-heading);
    margin-bottom: 1rem;
}

h1 {
    font-size: 3rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.25rem;
    letter-spacing: -0.01em;
}

h3 {
    font-size: 1.5rem;
}

h4 {
    font-size: 1.25rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.text-accent {
    color: var(--color-accent);
}

.text-inverse {
    color: var(--text-inverse);
}

/* Layout Utilities */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 1.5rem;
}

.section {
    padding: var(--section-gap) 0;
    position: relative;
}

.bg-light {
    background-color: var(--bg-section-alt);
}

.bg-dark {
    background-color: var(--bg-dark);
    color: var(--text-inverse);
}

.grid {
    display: grid;
    gap: 2rem;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.text-center {
    text-align: center;
}

.flex-center {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Components */

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.75rem;
    font-weight: 600;
    border-radius: var(--radius-sm);
    /* More squared/professional */
    cursor: pointer;
    transition: all 0.2s ease;
    border: 1px solid transparent;
    font-size: 0.95rem;
    gap: 0.5rem;
}

.btn-primary {
    background-color: var(--color-accent);
    color: white;
    box-shadow: 0 4px 6px rgba(0, 123, 255, 0.25);
}

.btn-primary:hover {
    background-color: var(--color-accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 12px rgba(0, 123, 255, 0.3);
}

.btn-outline {
    background-color: transparent;
    border-color: var(--color-primary-900);
    color: var(--color-primary-900);
}

.btn-outline:hover {
    background-color: var(--color-primary-900);
    color: white;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.875rem;
}

/* Header */
.site-header {
    height: var(--header-height);
    background-color: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(8px);
    border-bottom: 1px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--color-primary-900);
    letter-spacing: -0.03em;
}

.main-nav ul {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.main-nav a:not(.btn) {
    font-size: 0.95rem;
    font-weight: 500;
    color: var(--text-main);
}

.main-nav a:hover:not(.btn) {
    color: var(--color-accent);
}

/* Hero Section */
.hero {
    padding: 6rem 0;
    background: radial-gradient(circle at top right, rgba(0, 123, 255, 0.05), transparent 40%),
        radial-gradient(circle at bottom left, rgba(0, 123, 255, 0.05), transparent 40%);
}

.hero-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content h1 {
    font-size: 3.5rem;
    line-height: 1.1;
    color: var(--color-primary-900);
    margin-bottom: 1.5rem;
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    color: var(--text-muted);
}

/* Trust Section */
.trust-strip {
    padding: 2rem 0;
    border-bottom: 1px solid var(--border-color);
    background: var(--bg-white);
}

.trust-logos {
    display: flex;
    justify-content: center;
    gap: 3rem;
    opacity: 0.6;
    filter: grayscale(100%);
}

/* Service Cards (Dense Layout) */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--bg-white);
    padding: 2.5rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

/* Sticky Bottom CTA */
.sticky-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--color-primary-900);
    color: white;
    padding: 1rem 0;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.1);
    z-index: 999;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.sticky-cta-bar.visible {
    transform: translateY(0);
}

.sticky-cta-bar .btn {
    background-color: var(--color-accent);
    color: white;
    border: none;
    padding: 0.5rem 1.25rem;
    font-size: 0.9rem;
}

.sticky-cta-bar .btn:hover {
    background-color: var(--color-accent-hover);
}

@media (max-width: 768px) {
    .sticky-cta-bar .container {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .sticky-cta-bar {
        padding: 0.75rem 0;
    }
}

.card:hover {
    border-color: var(--color-accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.card-icon {
    width: 48px;
    height: 48px;
    background: var(--color-accent-light);
    color: var(--color-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-sm);
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
}

.card h3 {
    margin-bottom: 0.75rem;
    font-size: 1.35rem;
}

.card p {
    font-size: 0.95rem;
    line-height: 1.6;
    flex-grow: 1;
}

.card-link {
    font-weight: 600;
    color: var(--color-accent);
    margin-top: 1.5rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

.card-link:hover {
    gap: 0.5rem;
    /* Slide arrow effect */
}

/* Blog Cards */
.blog-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--color-accent);
}

.blog-card-img {
    height: 200px;
    background-color: var(--color-gray-100);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.blog-card-content {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.blog-meta {
    display: flex;
    gap: 1rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.75rem;
    align-items: center;
}

.blog-category {
    background-color: var(--color-accent-light);
    color: var(--color-accent);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
}

.blog-title {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--color-primary-900);
}

.blog-link {
    margin-top: auto;
    color: var(--color-accent);
    font-weight: 600;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.25rem;
}

/* Footer (Multi-column) */
.site-footer {
    background-color: var(--color-primary-900);
    color: #cbd5e1;
    /* Slate 300 for better visibility */
    padding: 5rem 0 2rem;
}

.footer-top {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-col h4 {
    color: var(--color-white);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.footer-col ul li {
    margin-bottom: 0.85rem;
}

.footer-col a {
    color: #94a3b8;
    /* Slate 400 */
    transition: all 0.2s ease;
    text-decoration: none;
    display: inline-block;
}

.footer-col a:hover {
    color: var(--color-white);
    transform: translateX(4px);
}

.footer-col p {
    color: #94a3b8;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 2rem;
    display: flex;
    justify-content: space-between;
    font-size: 0.9rem;
}

/* Forms */
.form-control {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.2s;
}

.form-control:focus {
    outline: none;
    border-color: var(--color-accent);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
}

/* Utilities */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

/* Responsive */
@media (max-width: 992px) {
    .hero-layout {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .hero-content {
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: auto;
        padding: 1rem 0;
    }

    .site-header .container {
        flex-direction: column;
        gap: 1rem;
    }

    .main-nav ul {
        flex-direction: column;
        width: 100%;
        text-align: center;
        gap: 1rem;
    }

    .footer-top {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .hero h1 {
        font-size: 2.5rem;
    }
}