        /* CSS RESET & FONT IMPORTS */
        @import url('https://fonts.googleapis.com/css2?family=Nunito:wght@600&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=PT+Sans:wght@400&display=swap');
        @import url('https://fonts.googleapis.com/css2?family=Roboto+Condensed:ital,wght@0,100..900;1,100..900&display=swap');

        :root {
            --accent-color: #2D4DF2;
            --accent-color-dim: #1333d8;
            --accent-color-light: #4666ff;
            --secondary-accent-color: rgba(1, 140, 225, 0.65);
            --secondary-accent-color-light: rgba(83, 173, 232, 0.65);
            --tertiary-accent-color: #DA33BF;
            --tertiary-accent-color-light: #f34cd8;
            --heading-color: #00002E;
            --body-color: #00002E;
            --light-card-bg: #F3F3FF;
            --light-card-bg-alpha: rgba(255, 255, 255, 0.1);
            --dark-card-bg: #2d4df2;
            --dark-card-bg-alpha: rgba(45, 77, 242, 0.8);
            --light-text-color: #FFFFFF;
            --heading-font: 'Roboto Condensed', sans-serif;;
            --body-font: 'Roboto Condensed', sans-serif;
            --border-radius: 1.25em;
            --shape-border-width: 0.125em;
            --subtle-border: 1px solid rgba(0, 0, 0, 0.1);
            --neutral-border-color: rgba(0, 0, 0, 0.2);
            --neutral-background-color: #e6e6f2;
        }

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

        html { scroll-behavior: smooth; }

        body {
            font-family: var(--body-font);
            color: var(--body-color);
            background-image: url("./img/j2b.jpg");
            background-position: center;
            background-size: cover;
            background-repeat: no-repeat;
            background-attachment: fixed;
            overflow-x: hidden;
        }

        /* NAVIGATION BAR STYLES */
        .main-header {
            width: 100%;
            position: sticky;
            top: 0;
            z-index: 1000;
            background-color: rgba(255, 255, 255, 0.3); /* Light, transparent background */
            backdrop-filter: blur(10px);
            box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
        }
        .nav-container {
            max-width: 1250px;
            margin: 0 auto;
            padding: 2rem 5em 1rem 5em;
            display: flex;
            justify-content: space-between;
            align-items: center;
        }
        .nav-brand {
            font-family: var(--heading-font);
            text-transform: uppercase;
            font-size: 1.4em;
            font-weight: 400;
            color: var(--heading-color);
            text-decoration: none;
            transition: color 0.3s ease;
        }
        .nav-menu {
            transition: transform 0.3s ease-out, opacity 0.3s ease-out;
        }
        .nav-list {
            display: flex;
            list-style: none;
            margin: 0;
            padding: 0;
        }
        .nav-item:not(:last-child) {
            margin-right: 1.5rem;
        }
        .nav-link {
            font-size: 1.1em;
            font-weight: 400;
            color: var(--body-color);
            text-decoration: none;
            position: relative;
            padding: 0.5rem 0;
            transition: color 0.3s ease;
        }
        .nav-link::after {
            content: '';
            position: absolute;
            bottom: 0;
            left: 50%;
            width: 0;
            height: 3px;
            background-color: var(--accent-color);
            transition: all 0.3s cubic-bezier(0.68, -0.55, 0.27, 1.55); /* Spring-like animation */
            transform: translateX(-50%);
        }
        .nav-link:hover::after,
        .nav-link:focus::after {
            width: 100%;
        }
        .nav-link:hover {
            color: var(--accent-color);
        }
        .nav-link-button {
            padding: 0.5em 1.5em;
            border-radius: 5em;
            font-weight: 500;
            transition: all 0.3s ease-in-out;
        }
        .nav-link-button.primary {
            background-color: var(--accent-color);
            color: white;
            padding: 15px;
        }
        .nav-link-button.primary:hover {
            background-color: var(--accent-color-dim);
            color: white;
        }
        .nav-link-button::after {display: none;}

        /* Hamburger/Mobile Toggle Button */
        .nav-toggle {
            display: none;
            flex-direction: column;
            justify-content: space-around;
            width: 30px;
            height: 25px;
            background: transparent;
            border: none;
            cursor: pointer;
            padding: 0;
            z-index: 10;
        }
        .hamburger-line {
            width: 100%;
            height: 3px;
            background-color: var(--heading-color);
            border-radius: 10px;
            transition: all 0.3s linear;
        }


        @keyframes fadeInUp {
            from { opacity: 0; transform: translateY(20px); }
            to { opacity: 1; transform: translateY(0); }
        }
        .fade-in-up {
        animation: fadeInUp 1s cubic-bezier(0.22, 1, 0.36, 1) both;
        animation-delay: var(--animation-delay, 0.33s); 
        }

        /* LAYOUT & CONTAINERS */
        .main-container { width: 100%; margin: 0 auto; padding:2em 0 0; }
        .hero {
            padding: 0 5em;
            margin-bottom: 2rem;
            max-width: 1250px;
            margin: 0 auto;
            backdrop-filter: blur(3px);
        }
        .hero h1 {font-size: 3em;}
        .ctr-content {
            padding: 0 5em;
            margin-bottom: 2rem;
            max-width: 1250px;
            margin: 0 auto;
        }
        .pane {
            background-color: var(--light-card-bg-alpha);
            padding: 4em;
            margin-bottom: 2rem;
            backdrop-filter: blur(10px);
        }
        .card {
            background-color: var(--light-card-bg-alpha);
            border-radius: var(--border-radius);
            padding: 4em;
            margin-bottom: 2rem;
            backdrop-filter: blur(3px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
        }
        .card.dark { 
            background-color: var(--dark-card-bg-alpha); 
            color: var(--light-text-color);
            border-color: rgba(255, 255, 255, 0.2);
            border-radius: 0px;
        }
        .card.dark h1, .card.dark h2, .card.dark h3, .card.dark h4 { color: var(--light-text-color); }
        .card.accent-bg { 
            background-color: var(--secondary-accent-color); 
            color: var(--light-text-color);
            border-color: rgba(255, 255, 255, 0.2);
            border-radius: 0px;
        }
        .card.accent-bg h1, .card.accent-bg h2 { color: var(--light-text-color); }

        /* TYPOGRAPHY */
        h1, h2, h3, h4 { font-family: var(--heading-font); font-weight: 600; color: var(--heading-color); line-height: 1.25; margin-bottom: 1rem; }
        h1 { font-size: 2.25em; }
        h2 { font-size: 2.25em; margin-bottom: 1em; font-weight: 300;}
        h3 { font-size: 1.75em; font-weight: 500;}
        h4 { font-size: 1.5em; font-weight: 500;}
        p { font-size: 18px; line-height: 1.6; margin-bottom: 1rem; }
        li { font-size: 18px; line-height: 1; margin-bottom: 1rem; }
        ul { list-style-position: outside; padding-left: 1.5rem; }
        .highlight-text { color: var(--accent-color); font-weight: bold; }
        .dark .highlight-text { color: #ced6ff; }
        
        /* GRIDS & FLEXBOX */
        .grid-2a-col { display: grid; grid-template-columns: 1.5fr 1fr; gap: 2.5rem; align-items: center; }
        .grid-2-col { display: grid; grid-template-columns: 1fr 1fr; gap: 2.5rem; align-items: center; }
        .grid-3-col { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1.5rem; }
        .grid-4-col { display: grid; grid-template-columns: 1fr 1fr 1fr 1fr; gap: 1.5rem; margin: 2rem 0; }

        /* COMPONENTS */
        .button-group { display: flex; flex-wrap: wrap; gap: 1rem; margin-top: 2rem; }
        .button { 
            display: inline-block; 
            padding: 0.75em 1.5em; 
            border-radius: 5em; 
            text-decoration: none; 
            font-weight: 600; 
            min-width: 12em; 
            text-align: center; 
            transition: transform 0.2s ease, box-shadow 0.2s ease;
            box-shadow: 0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
        }
        .button:hover { transform: scale(1.03); }
        .button.primary { background-color: var(--accent-color); color: white; }
        .button.primary-dark { background-color: white; color: var(--accent-color); }
        .button.secondary { 
            background-color: var(--light-card-bg); 
            color: var(--accent-color); 
            box-shadow: inset 0 0 0 max(1px, var(--shape-border-width)) var(--accent-color);
        }
        .button.secondary-dark { 
            background-color: transparent; 
            color: white; 
            box-shadow: inset 0 0 0 max(1px, var(--shape-border-width)) white;
        }

        img { max-width: 100%; height: auto; border-radius: var(--border-radius); opacity: 0.9; transition: opacity 0.5s ease-in-out;  }
        img:hover {opacity: 1; transition: opacity 0.1s ease-in; }
        .img-sq {
            opacity: 0.8;
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
        }
        .portrait {
            width: 90%; aspect-ratio: 1 / 1; object-fit: cover; object-position: center; opacity: 1;
            box-shadow: 0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
        }
        
        .check {
            display: flex;
            align-items: flex-start;
        }
        .check::before {
            content: ''; 
            flex-shrink: 0;
            width: 1em;
            height: 1em;
            margin-right: 0.3em;
            position: relative;
            top: 0.2em;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D4DF2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
            color: #2D4DF2 !important; 
        }

        .stat-item { 
            text-align: center; 
            padding: 1.5rem; 
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: var(--border-radius);
            backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, 0.5);
            box-shadow: 0 0.25em 0.375em -0.0625em rgba(0, 0, 0, 0.1), 0 0.125em 0.25em -0.0625em rgba(0, 0, 0, 0.06);
        }

        .stat-item .stat-number { 
            font-size: 3.3em; 
            font-weight: 600; 
            line-height: 1; 
            font-family: var(--heading-font);
            margin-bottom: 0.5rem;
        }
        .stat-item:nth-child(1) .stat-number { color: var(--accent-color); }
        .stat-item:nth-child(2) .stat-number { color: var(--secondary-accent-color); }
        .stat-item:nth-child(3) .stat-number { color: var(--tertiary-accent-color); }
        .stat-item:nth-child(4) .stat-number { color: var(--accent-color); }
        
        .competency-item { 
            padding: 1.5rem; 
            border-radius: var(--border-radius); 
            background-color: rgba(255, 255, 255, 0.8);
            border: var(--shape-border-width) solid var(--neutral-border-color);
        }
        .competency-item:nth-child(1) { border-color: var(--accent-color); }
        .competency-item:nth-child(2) { border-color: var(--secondary-accent-color); }
        .competency-item:nth-child(3) { border-color: var(--tertiary-accent-color); }
        
        .competency-item {
            padding: 1.5rem;
            border-radius: var(--border-radius);
            background-color: rgba(255, 255, 255, 0.5);
            border: var(--subtle-border);
        }

        .competency-item h4 {
            font-weight: 500;
            color: var(--heading-color);
            margin-bottom: 1rem;
        }

        .competency-item ul {
            list-style: none;
            padding-left: 0;  
        }

        .competency-item li {
            display: flex;
            align-items: flex-start;
            font-size: 18px;
            line-height: 1.6;
            margin-bottom: 0.75rem;
        }

        .competency-item li::before {
            content: ''; 
            flex-shrink: 0;
            width: 1em;
            height: 1em;
            margin-right: 0.6em;
            position: relative;
            top: 0.2em;
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
            background-size: contain;
            background-repeat: no-repeat;
            color: var(--accent-color); 
        }

        .competency-item:nth-child(1) li::before { 
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%232D4DF2' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
        }
        .competency-item:nth-child(2) li::before  { 
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2357b2e9' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
        }
        .competency-item:nth-child(3) li::before  { 
            background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23da33bf' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
        }

        .icon-wrapper { 
            width: 3.5em; 
            height: 3.5em; 
            margin-bottom: 1.25em; 
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .lg { 
            width: 5em; 
            height: 5em; 
            margin-bottom: 1.25em; 
            display: flex;
            align-items: center;
            justify-content: center;
        }
        .icon { width: 100%; height: 100%; border-radius: 0px; }
        
        /* Process Steps Component */
        .process-step-grid { counter-reset: step-counter; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }
        .process-step { 
            padding: 1.5rem; 
            padding-top: 0.5rem;
            border-left: 5px solid; 
            counter-increment: step-counter;
            background-color: rgba(255, 255, 255, 0.5);
            border-radius: var(--border-radius);
        }
        .process-step:nth-child(1) { border-color: var(--accent-color); }
        .process-step:nth-child(2) { border-color: var(--secondary-accent-color); }
        .process-step:nth-child(3) { border-color: var(--tertiary-accent-color); }
        .process-step h4 { margin-top: 0.5rem; }
        .process-step h4::before { 
            content: "0" counter(step-counter); 
            display: block; 
            font-weight: 600; 
            color: var(--heading-color); 
            margin-bottom: 0.5rem;
            font-size: 1.2em;
        }

        section {
            margin-bottom: 5em !important;
        }

        .mb-0 {margin-bottom: 0em !important;}

        /* Timeline Component */
        .timeline-grid { 
            display: grid; 
            grid-template-columns: repeat(4, 1fr); 
            position: relative; 
            padding: 2rem 0;
            counter-reset: timeline-counter;
        }
        .timeline-item { position: relative; padding: 2rem 1rem; text-align: center; }
        .timeline-item::before {
            content: counter(timeline-counter);
            counter-increment: timeline-counter;
            position: absolute;
            left: 5%;
            top: 18%;
            transform: translate(-50%, -50%);
            width: 2.25em;
            height: 2.25em;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-family: var(--heading-font);
            font-weight: 600;
            font-size: 1.25em;
            z-index: 1;
            color: white;
            border: 5px solid rgba(255, 255, 255, 0.5); 
        }
        .timeline-item:nth-child(1)::before { background-color: var(--accent-color); }
        .timeline-item:nth-child(2)::before { background-color: var(--secondary-accent-color); }
        .timeline-item:nth-child(3)::before { background-color: var(--tertiary-accent-color); }
        .timeline-item:nth-child(4)::before { background-color: var(--accent-color); }

        /* 1. SCROLL-TRIGGERED ANIMATION STYLES (REQUIRED CHANGES) */

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

        /* INITIAL HIDDEN STATE: This is what the element looks like BEFORE it comes into view */
        .fade-in-up {
            /* Base style for the interactive effect */
            opacity: 0;
            transform: translateY(20px); 
            transition: none; /* Crucially, remove the auto-play transition */
        }

        /* ACTIVE ANIMATION STATE: This class is ADDED by JavaScript when the element is visible */
        .fade-in-up.animate {
            /* Apply the animation properties only when the 'animate' class is present */
            animation: fadeInUp 1.0s cubic-bezier(0.22, 1, 0.36, 1) forwards; 
            /* The forwards fill-mode ensures it stays in the 'to' state */
            
            /* Staggered Delay (inherited from data-animate-index in HTML) */
            animation-delay: calc(var(--animation-index, 0) * 0.15s); 
        }

        /* RESPONSIVE STYLES */
        @media (max-width: 1024px) {
            .grid-4-col { grid-template-columns: 1fr 1fr; }
            .timeline-grid { grid-template-columns: 1fr 1fr; }
        }

        @media (max-width: 768px) {
            .nav-container {
                padding: 1rem 1.5em; /* Smaller padding on mobile */
            }
            .nav-toggle {
                display: flex; /* Show hamburger menu button */
            }
            /* Hide menu by default on mobile, positioned off-screen */
            .nav-menu {
                position: absolute;
                top: 100%; /* Below the header */
                left: 0;
                width: 100%;
                background-color: var(--light-card-bg);
                box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
                transform: translateY(-100%) scaleY(0);
                transform-origin: top;
                opacity: 0;
                pointer-events: none; /* Disable interaction when hidden */
            }
            /* Active state shown - JavaScript */
            .nav-menu.is-open {
                transform: translateY(0) scaleY(1);
                opacity: 1;
                pointer-events: auto;
            }
            .nav-list {
                flex-direction: column;
                align-items: center;
                padding: 1rem 0;
            }
            .nav-item {
                width: 100%;
                text-align: center;
                padding: 0.5rem 0;
                margin-right: 0 !important;
            }
            .nav-item:last-child {
                border-bottom: none;
            }
            .nav-link {
                display: block;
                padding: 0.75rem 0;
            }
            .nav-link-button {
                display: inline-block;
                margin: 0.5rem auto;
            }

            #contact img {display: none;}

            .button-group {
                margin-top: 0rem;
            }

            .card { padding: 2.5em; }
            h1 { font-size: 2em; }
            h2 { font-size: 1.6em; }
            h3 { font-size: 1.25em; }
            p, li { font-size: 16px; }
            .button-group { justify-content: center; }
            .grid-2a-col, .grid-2-col, .grid-3-col, .grid-4-col, .timeline-grid, .process-step-grid { grid-template-columns: 1fr; }
            .timeline-item { padding: 2rem 0; align-self: auto !important; }
            .timeline-grid::before, .timeline-item::before { display: none; }
            section {
                margin-bottom: 5em !important;
            }
}