/* --- YOUR PALETTE --- */
        :root {
            /* The Palette */
            --color-bg: #F8FAFC;       /* Ghost White */
            --color-surface: #FFFFFF;  /* Pure White for cards */
            --color-primary: #0F172A;  /* Midnight Slate */
            --color-brand: #01257D;    /* Deep navy blue */
            --color-accent: #00FFFF;   /* electric blue */
            --color-text-main: #334155;/* Carbon */
            --color-text-head: #0F172A;/* Midnight Slate */
	        --color-border: #E2E8F0;
            --accent-color: #6366F1;
            --secondary-color: #F0F2F5; /* Light Gray */
            --secondary-text: #FFFFFF; /* Light Gray */
            --ai-gradient: linear-gradient(135deg, #01257D 0%, #00FFFF 100%);
            --font-heading: 'Manrope', sans-serif; /* Modern, semi-geometric */
            --font-body: 'Public Sans', sans-serif; /* Neutral, highly legible */
            --font-mono: 'IBM Plex Mono', monospace; /* Crisp, industrial tech */
        }

        /* --- GLOBAL RESET & BASICS --- */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            background-color: var(--color-bg);
            color: var(--color-text-main);
            font-family: var(--font-body);
            line-height: 1.6;
        }

        h1, h2, h3 {
            font-family: var(--font-heading);
            color: var(--color-text-head);
            letter-spacing: -0.03em;
        }

        /* --- NAVIGATION BAR --- */
        .navbar {
            position: absolute; 
            top: 0;
            left: 0;
            width: 100%;
            padding: 2rem 3rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 10;
            background-color: transparent; /* Keep transparent on desktop */
        }

        .nav-links a {
            font-family: var(--font-body);
            color: var(--color-text-head); /* Ensure this variable is defined! */
            text-decoration: none;
            margin-left: 2rem;
            font-weight: 600;
            font-size: 0.95rem;
            transition: color 0.2s;
        }

        /* --- 2. Hamburger Base Styles (New) --- */
        .hamburger {
            display: none; /* Hidden on desktop */
            cursor: pointer;
            z-index: 20; /* Ensure it sits above the mobile menu background */
        }

        .bar {
            display: block;
            width: 25px;
            height: 3px;
            margin: 5px auto;
            background-color: var(--color-text-head); /* Match your text color */
            transition: all 0.3s ease;
        }

        /* --- 3. Mobile Logic (Triggers at 768px) --- */
        @media (max-width: 768px) {
            
            .navbar {
                padding: 1rem; /* Reduce padding on mobile */
            }

            /* Show the hamburger */
            .hamburger {
                display: block;
            }

            /* Hide the normal links and style the dropdown */
            .nav-links {
                display: none; /* Hide default horizontal links */
                position: absolute;
                top: 0;
                left: 0;
                width: 100%;
                height: 100vh; /* Full screen menu */
                background-color: #333; /* MUST have a background color on mobile */
                flex-direction: column;
                align-items: center;
                justify-content: center;
                z-index: 15; /* Sits below hamburger (20) but above content */
            }

            .nav-links a {
                margin: 20px 0; /* Vertical spacing */
                font-size: 1.5rem; /* Larger text for touch targets */
                color: white; /* Force white text on the dark mobile menu */
            }

            /* The class JS adds to show the menu */
            .nav-links.active {
                display: flex;
            }
        }

        .logo {
            font-family: var(--font-heading);
            font-weight: 700;
            font-size: 1.5rem;
            color: var(--color-primary);
            text-decoration: none;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo::before {
            content: '';
            display: block;
            width: 250px;  
            height: 100px;
            background-image: url('img/logo.png'); 
            background-size: contain; 
            background-repeat: no-repeat;
            background-position: center;
            border-radius: 50%; 
        }

        .nav-links a:hover {
            color: var(--color-brand);
        }

        /* --- HERO SECTION --- */
        .hero {
            position: relative;
            height: 50vh;
	    min-height: 600px;
            width: 100%;
            display: flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            overflow: hidden;
        }

        /* Video Background */
        .video-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            object-fit: cover;
            z-index: -2;
        }

        /* The Overlay - matches your Ghost White bg but transparent */
        .overlay {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(248, 250, 252, 0.90); /* High opacity Ghost White */
            z-index: -1;
        }

        /* Hero Content */
        .hero-content {
            position: relative;
            z-index: 1;
            padding: 20px;
            max-width: 1100px;
            animation: slideUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
        }

        h1 {
            font-size: 3rem; /* Large and bold */
            font-weight: 700;
            line-height: 1.1;
            margin-bottom: 2.5rem;
        }

        /* The Gradient Equals Sign */
        .highlight {
            font-weight: 700;
            /* Applying the gradient to the text itself */
            background: var(--ai-gradient);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            display: inline-block;
            margin: 0 10px;
        }

        /* CTA Button */
        .btn {
            display: inline-block;
            background: var(--ai-gradient);
            color: #fff;
            padding: 18px 45px;
            font-family: var(--font-heading);
            font-size: 1.1rem;
            font-weight: 700;
            text-decoration: none;
            border-radius: 8px; /* Slightly squarer for tech feel */
            transition: all 0.3s ease;
            box-shadow: 0 10px 30px rgba(99, 102, 241, 0.3); /* Soft Indigo shadow */
            border: none;
            cursor: pointer;
        }

        .btn:hover {
            transform: translateY(-3px);
            box-shadow: 0 15px 40px rgba(6, 182, 212, 0.4); /* Cyan shift on hover */
        }

        /* --- CONTENT SECTION --- */
        .content-section {
            padding: 6rem 2rem;
            max-width: 1200px;
            margin: 0 auto;
	    background-color: #F5F5F5;
        }

        .content-section h2 {
            font-size: 2.5rem;
            margin-bottom: 2rem;
        }

        .content-section p {
            font-size: 1.25rem;
            color: var(--color-text-main);
            margin-bottom: 2rem;
            font-weight: 400;
        }
        
        /* Using the mono font for technical accent */
        .tech-accent {
            font-family: var(--font-mono);
            font-size: 0.9rem;
            color: var(--color-brand);
            text-transform: uppercase;
            letter-spacing: 0.05em;
            margin-bottom: 1rem;
            display: block;
        }

        /* --- CONTAINER LAYOUT --- */
        .container { 
            max-width: 1200px; 
            margin: 2rem auto 6rem auto; 
            padding: 0 20px; 
        }
	.container2 {
	    width: 100%;
	    max-width: var(--container-width);
	    margin: 0 auto;
	    padding: 0 var(--container-padding);
	}
        .mb-5 { margin-bottom: 3rem; }
	.icon-feature-grid {
	    display: grid;
	    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
	    gap: 30px;
	    margin-top: 40px;
	}
	.icon-feature-item {
	    background-color: var(--white-color);
	    padding: 30px;
	    border-radius: 8px;
	    box-shadow: 0 4px 15px rgba(0,0,0,0.07);
	    text-align: center;
	    transition: transform 0.3s ease, box-shadow 0.3s ease;
	}
	.icon-feature-item:hover {
	    transform: translateY(-5px);
	    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
	}

	.icon-feature-item h4 {
	    margin-bottom: 0.5rem;
	}

    .header-text { 
    	    text-align: center; 
    	    margin-bottom: 3rem;
    	    margin-top: 8rem; /* This provides spacing from the navbar */
	}

    .subtext { 
        font-size: 1.1rem; 
        color: #3d4654; 
    }

    /* --- FORM CARD --- */
    .form-card {
        background-color: var(--color-surface); 
        padding: 3rem; 
        border-radius: 16px;
        box-shadow: 0 20px 40px rgba(15, 23, 42, 0.05); 
        border: 1px solid var(--color-border);
        animation: fadeIn 0.8s ease-out;
    }

    .form-section { 
        margin-bottom: 2.5rem; 
    }
    
    .section-header {
        display: flex; 
        align-items: center; 
        margin-bottom: 1.5rem; 
        padding-bottom: 1rem;
        border-bottom: 1px solid var(--color-border);
    }

    .section-number {
        font-family: var(--font-mono); 
        background-color: var(--color-bg); 
        color: var(--color-brand);
        padding: 4px 8px; 
        border-radius: 4px; 
        font-size: 0.8rem; 
        margin-right: 12px; 
        font-weight: bold;
    }

    .section-header h3 { 
        font-family: var(--font-heading); 
        font-size: 1.25rem; 
        margin: 0; 
        color: var(--color-text-head); 
    }

    /* --- FORM INPUTS --- */
    .form-group { 
        margin-bottom: 1.5rem; 
    }

    label { 
        display: block; 
        font-weight: 600; 
        margin-bottom: 0.5rem; 
        color: var(--color-text-head); 
        font-size: 0.95rem; 
    }

    .sub-label { 
        font-size: 0.85rem; 
        color: #64748B; 
        font-weight: 400; 
        margin-left: 5px; 
    }
    
    input[type="text"], input[type="email"], textarea, select {
        width: 100%; 
        padding: 12px 16px; 
        border: 1px solid var(--color-border); 
        border-radius: 8px;
        font-family: var(--font-body); 
        font-size: 1rem; 
        color: var(--color-text-main); 
        background-color: #FAFAFA;
        transition: all 0.2s;
    }

    input:focus, textarea:focus, select:focus {
        outline: none; 
        border-color: var(--color-brand); 
        box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1); 
        background-color: #fff;
    }

    textarea { 
        resize: vertical; 
        min-height: 80px; 
    }

    /* --- ANIMATION --- */
    @keyframes slideUp {
        from { opacity: 0; transform: translateY(30px); }
        to { opacity: 1; transform: translateY(0); }
    }

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

    /* --- RESPONSIVE --- */
    @media (max-width: 768px) {
        .navbar { 
            padding: 1.5rem; 
            justify-content: center; 
        }
        .nav-links { display: none; /* Hide links on mobile for simplicity */ }
        .container { 
            padding: 0 15px; 
        } 
        .form-card { 
            padding: 1.5rem; 
        } 
        h1 { 
            font-size: 2.5rem; 
        }
        .btn { padding: 15px 30px; width: 100%; text-align: center; }
    }

	
	.section {
	    padding: 60px 0;
        overflow: auto;
	}

	.section-bg {
	    background-color: var(--secondary-color);
	}
	.text-center {
	    text-align: center;
	}
    /* --- About Page: Leadership Team --- */
    .leadership-grid {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 30px;
        margin-top: 30px;
    }
    .team-member {
        text-align: center;
    }
    .team-member img {
        border-radius: 50%;
        width: 150px;
        height: 150px;
        object-fit: cover;
        margin-bottom: 15px;
        border: 3px solid var(--secondary-color);
    }
    .team-member h4 { margin-bottom: 0.25rem; }
    .team-member .title {
        font-size: 0.9rem;
        color: var(--text-light);
        font-weight: 600;
    }
    .section-bg {
        background-color: var(--secondary-color);
    }
        .img-fluid {
        max-width: 100%;
        height: auto;
        display: block;
    }
    /* --- Services Page --- */
    .service-tier {
       background-color: var(--color-surface); 
        border: 1px solid var(--color-border);  
        border-radius: 8px;
        padding: 30px;
        box-shadow: 0 4px 15px rgba(0,0,0,0.07);
        transition: transform 0.3s ease, box-shadow 0.3s ease;
        display: flex;
        flex-direction: column;
        height: 100%; /* Forces panel to fill the height of the grid row */
    }
    .service-tier:hover {
        transform: translateY(-5px);
        box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    }
    .service-tier h3 {
        color: var(--primary-color);
        margin-bottom: 10px;
        font-size: 1.75rem;
    }
    .service-tier .price {
        font-size: 2rem;
        font-weight: 700;
        color: var(--accent-color);
        margin-bottom: 15px;
    }
    .service-tier ul {
        list-style: none;
        padding: 0;
        margin-bottom: 20px;
    }
    .service-tier ul li {
        padding-left: 25px;
        position: relative;
        margin-bottom: 8px;
    }
    .service-tier ul li::before {
        content: "✓";
        color: var(--accent-color);
        position: absolute;
        left: 0;
        font-weight: bold;
    }
    .service-tier .btn {
        margin-top: auto; 
        align-self: center;
    }
    /* --- TEAM SECTION --- */
    .team-section {
        background-color: #e3f2fd;
        border-radius: 20px;
        padding: 60px 20px;
        margin: 40px 0;
        text-align: center;
    }

    .team-section h2 {
        font-family: var(--font-heading);
        color: var(--color-text-head); /* Black/Midnight Slate */
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .team-section p {
        font-family: var(--font-body);
        color: var(--color-text-main); /* Dark Gray/Carbon */
        font-size: 1.15rem;
        max-width: 800px;
        margin: 0 auto 4rem auto; /* Center text and add space below */
        line-height: 1.6;
    }
    /* --- TRUSTED SECTION --- */
    .trusted-section {
        background-color: #f0f4f1;
        border-radius: 20px;
        padding: 60px 20px;
        margin: 40px 0;
        text-align: center;
    }

    .trusted-section h2 {
        font-family: var(--font-heading);
        color: var(--color-text-head); /* Black/Midnight Slate */
        font-size: 2.5rem;
        font-weight: 700;
        margin-bottom: 1.5rem;
    }

    .trusted-section p {
        font-family: var(--font-body);
        color: var(--color-text-main); /* Dark Gray/Carbon */
        font-size: 1.15rem;
        max-width: 800px;
        margin: 0 auto 4rem auto; /* Center text and add space below */
        line-height: 1.6;
    }

    /* Grid container for the two blocks */
    .compliance-grid {
        display: flex;
        justify-content: center;
        gap: 30px; /* Space between the blocks */
        flex-wrap: wrap; /* Allows stacking on smaller screens */
    }

    /* Individual block styling */
    .compliance-block {
        display: flex;
        align-items: center;
        justify-content: center;
        /* Sets the box size */
        width: 250px;
        height: 100px; 
        
        /* Decoration */
        border: 2px solid var(--secondary-color);
        border-radius: 12px;
        background-color: var(--color-primary); 
        overflow: hidden; /* Ensures nothing spills out */
        padding: 10px; /* Adds internal breathing room so image doesn't touch border */
    }

    .compliance-block img {
        /* "contain" ensures the whole image is visible within the box dimensions */
        width: 100%;
        height: 100%;
        object-fit: contain; 
        display: block;
    }

    .compliance-block span {
        font-family: var(--font-heading);
        font-size: 1.3rem;
        font-weight: 700;
        color: var(--color-text-head);
        letter-spacing: 0.02em;
    }

    /* Responsive adjustment for mobile */
    @media (max-width: 600px) {
        .compliance-grid {
            flex-direction: column;
            align-items: center;
        }
        .compliance-block {
            width: 100%;
            max-width: 300px;
        }
    }
    /* Lighter "Secondary" Button Style */
    .btn.btn-light {
        background: #FFFFFF;       /* Pure white background */
        color: var(--color-text-head); /* Dark text (Midnight Slate) */
        border: 1px solid var(--color-border); /* Subtle border to define edges */
        box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05); /* Much softer shadow */
    }

    /* Hover effect for the light button */
    .btn.btn-light:hover {
        background: var(--secondary-color); /* Light gray on hover */
        color: var(--color-brand);          /* Text turns Indigo */
        box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Darker shadow on lift */
        transform: translateY(-3px);        /* Keeps the lift animation */
    } 
    /* --- FINAL ASSESS PAGE FIX --- */

    /* 1. Stop floating. Make the navbar sit physically in the page flow. */
    .assess-page .navbar,
    .services-page .navbar,
    .contact-page .navbar,
    .about-page .navbar { 
        position: relative !important; 
        top: auto;
        left: auto;
        background-color: #ffffff !important;
        padding: 1rem 2rem !important;
    }

    /* 2. CRITICAL: Turn the hamburger bars WHITE on this page so they are visible */
    .assess-page .bar,
    .services-page .bar,
    .contact-page .bar,
    .about-page .bar {
        background-color: var(--color-text-head) !important;
    }

    /* 3. Reset the container spacing. */
    /* Since the navbar is now 'relative', the container will naturally sit below it. */
    .assess-page .container,
    .services-page .container,
    .contact-page .container,
    .about-page .container {
        margin-top: 2rem !important; /* Just a small gap, not 120px */
    }

    /* 4. Adjust the internal padding of the image box */
    .assess-page .header-text.with-background,
    .services-page .header-text.with-background,
    .contact-page .header-text.with-background,
    .about-page .header-text.with-background {
        margin: 0 !important;
        padding: 8rem 2rem 4rem 2rem !important; 
        border-radius: 0 !important;
        background-position: center; 
    }
    .header-text.with-background {
        min-height: 350px !important;
        padding: 10rem 2rem 2rem 2rem !important; 
        display: flex !important;
        flex-direction: column !important;
        justify-content: flex-end !important;
        position: relative !important;
        margin: 0 !important;
        border-radius: 0 !important;
        background-size: cover !important;
        background-position: center !important;
        overflow: hidden; 
    }

    /* Page-specific background images - MUST come after grouped styles */
    .assess-page .header-text.with-background {
        background-image: url('img/assbg.png') !important;
    }

    .about-page .header-text.with-background {
        background-image: 
            url('img/about-bg.png') !important;
    }

    .services-page .header-text.with-background {
        background-image: url('img/services-bg.png') !important;
    }

    .contact-page .header-text.with-background {
        background-image: url('img/contact-bg.png') !important;
    }
    .header-text.with-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: linear-gradient(to bottom, transparent 40%, rgba(0,0,0,0.9) 100%);
        /*background-color: rgba(248, 250, 252, 0);  Ghost white overlay */
        border-radius: 0; /* Changed from 16px to 0 to match parent */
        z-index: 0;
    }

    /* This targets both the Header and the Paragraph */
    .header-text.with-background h1,
    .header-text.with-background .sub-headline { /* Corrected class name here */
        position: absolute !important;
        left: 2rem;  /* Aligns with your side padding */
        right: 2rem;
        z-index: 2;  /* Ensures text sits on top of the dark shadow */
    }

    /* This puts the Paragraph at the very bottom */
    .header-text.with-background .sub-headline {
        bottom: 2rem !important; /* 2rem from the bottom edge */
        margin-bottom: 0 !important;
    }

    /* This puts the H1 right above the Paragraph */
    .header-text.with-background h1 {
        bottom: 6rem !important; /* Adjust this number if the text overlaps */
    }

    .text-secondary {
        color: var(--secondary-text);
    }
    /* Main Section Container */
    .mission-section {
        padding: 0 0;
        overflow: auto;
    }

    .mission-container {
        max-width: 1200px;
        margin: 0 auto;
        background-color: #e3f2fd; /* That very light blue from your image */
        display: flex;
        align-items: center;
        gap: 40px;
        padding: 50px;
        border-radius: 30px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05); /* Subtle shadow */
    }

    /* Text Styling */
    .mission-content {
        flex: 1; /* Takes up 50% of the space */
    }

    .mission-item {
        margin-bottom: 30px;
    }

    .mission-item:last-child {
        margin-bottom: 0;
    }

    .mission-item h3 {
        color: #1a2b4b; /* Deep navy for the headers */
        font-size: 1.5rem;
        margin-bottom: 10px;
    }

    .mission-item p {
        color: #555;
        line-height: 1.6;
        font-size: 1rem;
    }

    /* Ensure the container stretches to the full height of the text block */
    .mission-image {
        flex: 1;
        align-self: stretch; /* Forces the div to match the height of the text side */
    }

    .mission-image img {
        width: 100%;
        height: 100%;       /* Fills the container vertically */
        min-height: 450px;   /* Ensures it doesn't get too small on mid-sized screens */
        object-fit: cover;   /* This "zooms" and crops the image to fit the space */
        object-position: center; /* Keeps the center of the photo in view */
        border-radius: 20px;
    }

    /* Mobile Responsive Adjustments */
    @media (max-width: 768px) {
        .mission-container {
            flex-direction: column; /* Stacks text on top of image */
            padding: 30px;
        }
        
        .mission-image {
            order: -1; /* Puts image on top on mobile if preferred */
        }
    }
    .service-content-grid {
        display: grid;
        grid-template-columns: 2fr 1fr; /* Main content and sidebar */
        gap: 40px;
    }
    .service-sidebar .related-content-card {
        background: var(--secondary-color);
        padding: 20px;
        border-radius: 5px;
        margin-bottom: 20px;
    }
    /* This targets the container ONLY on the contact page */
    .contact-page .container {
        display: flex;
        flex-direction: row;
        align-items: flex-start; 
        gap: 2rem;
    }

    /* This ensures both cards share the space equally on the contact page */
    .contact-page .container > .form-card {
        flex: 1;
        margin-top: 0 !important; 
    }

    /* Responsive: Stack them back up on mobile so they don't squish */
    @media (max-width: 768px) {
        .contact-page .container {
            flex-direction: column;
        }
    }