:root {
    /* Colors - Matching afbhealth.com vibe */
    --primary-color: #0fa3b1;
    /* Cyan/Teal accent */
    --primary-dark: #0c7c85;
    --primary-light: #dbeafe;
    --secondary-color: #cca43b;
    /* Gold accent kept for logo consistency */
    --dark-blue: #1e3a8a;
    /* Deep blue for header/footer */
    --text-color: #334155;
    --text-light: #64748b;
    --background-color: #ffffff;
    --background-light: #f1f5f9;
    --white: #ffffff;
    --black: #000000;

    /* Typography */
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
    --spacing-xl: 8rem;

    /* Shadows & Effects */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --radius-md: 0.5rem;
    --radius-lg: 1rem;
    --transition: all 0.3s ease;
    --nav-height: 90px;
}

/* Reset */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
    height: 100%;
    text-align: left;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* Typography Utility */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--dark-blue);
    /* Headings -> Dark Blue */
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: var(--spacing-sm);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    box-shadow: 0 4px 15px rgba(0, 119, 182, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 119, 182, 0.4);
}

.btn-ghost {
    background-color: transparent;
    color: var(--text-color);
}

.btn-ghost:hover {
    color: var(--primary-color);
}

/* Layout Classes */
.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.grid {
    display: grid;
}

.gap-sm {
    gap: var(--spacing-sm);
}

.gap-md {
    gap: var(--spacing-md);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.8s ease forwards;
}

/* Mobile Styles */
.mobile-menu-btn {
    display: none;
    font-size: 2rem;
    background: none;
    border: none;
    cursor: pointer;
    color: var(--dark-blue);
    z-index: 1001;
}

.mobile-menu {
    display: flex;
    gap: var(--spacing-md);
}

@media (max-width: 768px) {
    :root {
        --spacing-lg: 2rem;
        --spacing-xl: 4rem;
        --nav-height: 70px;
    }

    .container {
        padding: 0 var(--spacing-sm);
    }

    h1 {
        font-size: 2.5rem !important;
    }

    /* Navbar Mobile */
    .mobile-menu-btn {
        display: block;
    }

    .mobile-menu {
        position: fixed;
        top: var(--nav-height);
        left: auto;
        /* Don't anchor to left */
        right: 0;
        /* Anchor to right */
        width: 75%;
        /* Drawer width */
        max-width: 300px;
        height: auto;
        min-height: calc(100vh - var(--nav-height));
        /* Full height drawer feel */
        background-color: rgba(225, 248, 250, 0.95) !important;
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding: 2rem;
        padding-bottom: 3rem;
        transform: translateX(100%);
        /* Hidden to the right */
        transition: transform 0.3s ease;
        z-index: 9999;
        list-style: none !important;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
        /* Shadow slightly different for right drawer */
        border-bottom-left-radius: 20px;
        border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    }

    /* Target direct children list items too if needed */
    .mobile-menu li,
    .mobile-menu a {
        list-style: none !important;
        width: 100%;
        text-align: left;
        margin-bottom: 1rem;
        font-size: 1.25rem;
        /* Increased font size */
    }

    .mobile-menu .lang-switcher {
        justify-content: left;
        /* Center the language buttons */
    }

    .mobile-menu.active {
        transform: translateX(0);
    }

    /* Hero Fixes */
    .hero {
        background-position: 70% center !important;
        /* Shift image left */
        min-height: auto !important;
        height: auto !important;
        padding-bottom: 4rem !important;
    }

    .hero-content {
        max-width: 100% !important;
        text-align: left;
        padding-top: 4rem;
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .cta-group {
        justify-content: flex-start;
    }
}