:root {
            /* Colors */
            --primary-blue: #6E93F8;
            --mint: #5FEBB8;
            --mint-bg: rgba(95, 235, 184, 0.3);
            --lilac: #EAE6FF;
            --black-40: #5D5D5D;
            --text-black: #202020;
            --white: #ffffff;
            --card-blue: rgba(238, 242, 255, 100%);
            
            /* Layout */
            --container-max-width: 1136px;
            --container-padding: clamp(24px, 10.5vw, 152px);
            
            /* Typography */
            --font-primary: 'Manrope', sans-serif;
            --font-display: 'Gloock', serif;
            --font-accent: 'Barlow', sans-serif;
            
            /* Spacing */
            --spacing-xs: 8px;
            --spacing-sm: 12px;
            --spacing-md: 16px;
            --spacing-lg: 24px;
            --spacing-xl: 32px;
            --spacing-2xl: 40px;
            --spacing-3xl: 64px;
            --spacing-4xl: 80px;
            --spacing-5xl: 88px;
            
            /* Border radius */
            --radius-sm: 8px;
            --radius-md: 16px;
            --radius-lg: 32px;
            --radius-full: 99px;
            
            /* Shadows */
            --shadow-sm: 0 2px 10px rgba(0,0,0,0.1);
            --shadow-md: 0 10px 30px rgba(0,0,0,0.1);
        }

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

        body {
            font-family: var(--font-primary);
            line-height: 1.5;
            color: var(--text-black);
            background: var(--white);
        }

        .container {
            max-width: calc(var(--container-max-width) + 2 * var(--container-padding));
            margin: 0 auto;
            padding: 0 var(--container-padding);
        }

        /* Header */
        .header {
            padding: 17px 0;
            background: var(--white);
            position: sticky;
            top: 0;
            z-index: 100;
            box-shadow: var(--shadow-sm);
        }

        .nav {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .logo img {
            width: 23px;
            height: 30px;
        }

        .logo-text {
            color: var(--primary-blue);
            font-size: clamp(12px, 1vw, 14px);
            font-family: var(--font-accent);
            font-weight: 600;
            letter-spacing: 2.8px;
        }

        .nav-links {
            display: flex;
            gap: var(--spacing-lg);
            list-style: none;
        }

        .nav-link {
            padding: 4px var(--spacing-md);
            color: var(--black-40);
            font-size: 12px;
            font-family: var(--font-accent);
            font-weight: 400;
            letter-spacing: 2.4px;
            text-decoration: none;
            transition: color 0.3s ease;
        }

        .nav-link:hover,
        .nav-link:focus {
            color: var(--primary-blue);
            outline: none;
        }
        .nav-link.active {
            color: var(--primary-blue);
            font-weight: 600;
            text-decoration: underline;
        }


       /* Hero Section */
        .hero2 {
            max-width: 1200px;
            margin: 40px auto 0 auto; /* top, right/left auto, bottom, left auto */
            padding: 40px clamp(16px, 12vw, 280px) 0 clamp(16px, 4vw, 40px);
            background: #EAE6FF;
            border-radius: 24px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            gap: 209px;
        }

        .hero2-content {
            flex: 1;
            max-width: 542px;
        }

        .hero2-title {
            color: #4779FF;
            font-size: 64px;
            font-weight: 500;
            line-height: 1.1;
            margin-bottom: 19px;
        }

        .hero2-description {
            color: #5D5D5D;
            font-size: 18px;
            line-height: 1.4;
            margin-bottom: 32px;
        }

        .tags2 {
            display: flex;
            flex-wrap: wrap;
            gap: 8px;
            max-width: flex;
        }

        .tag2 {
            background: white;
            border-radius: 99px;
            padding: 4px 8px;
            display: flex;
            align-items: center;
            gap: 4px;
        }

        .tag2-icon {
            width: 16px;
            height: 16px;
            display: flex;
            align-items: center;
            background: none;
        }

        .tag2-text {
            color: #5D5D5D;
            font-size: 12px;
            line-height: 1.2;
        }

        .hero2-image {
            width: 243px;
            height: 413px;
            position: relative;
            align-self: flex-end;
            margin: 0 auto;
            display: flex;
            justify-content: center;
            align-items: flex-end;
        }
        .hero2-image img {
            width: 100%;
            height: 100%;
            object-fit: contain;
            display: block;
        }



        /* Objective Section */
        .objective {
            padding: 104px 108px;
            margin: 0px 96px;
            align-self: center;
            text-align: center;
        }

        .objective-label {
            color: #3322AF;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 2.56px;
            margin-bottom: 28px;
        }

        .objective-title {
            color: #3322AF;
            font-size: 32px;
            font-weight: 500;
            line-height: 1.2;
            margin-bottom: 55px;
        }

        .objective-description {
            color: #202020;
            font-size: 18px;
            line-height: 1.4;
        }

        /* Constraints Section */
        .constraints {
            padding: 96px 56px;
            background: #E1FDFD;
        }

        .constraints-2col {
            padding: 96px 56px;
            background: #ffffff;
        }

        .constraints-title {
            color: #5D5D5D;
            font-size: 48px;
            font-weight: 300;
            line-height: 1.2;
            text-align: center;
            margin-bottom: 64px;
        }

        .constraints-label {
            color: #3322AF;
            font-size: 16px;
            font-weight: 500;
            letter-spacing: 2.56px;
            text-align: center;
            margin-bottom: 28px;
        }

        .constraints-title2 {
            color: #3322AF;
            font-size: 32px;
            font-weight: 500;
            line-height: 1.2;
            margin-bottom: 55px;
        }

        .constraints-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 32px;
            justify-items: center;
        }

        .constraints-grid-3col {
            display: grid;
            grid-template-columns: 1fr 1fr 1fr;
            gap: 64px; /* adjust as needed */
            align-items: start;
            max-width: 900px;
            margin: 0 auto;
            padding-left: 0;
            justify-content: center;
        }


        .constraints-grid-2col {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 64px; /* adjust as needed */
            align-items: start;
            max-width: 900px;
            margin: 0 auto;
            padding-left: 0;
            justify-content: center;
        }


        .constraints-grid-1col {
            display: grid;
          
            gap: 0px; /* adjust as needed */
            align-items: center;
            
            margin: 0 auto;
            justify-content: center;
        }
        
        .constraint-item {
            max-width: 268px;
            text-align: center;
        }

         .constraint-item-2col {
            max-width: 380px;
            text-align: center;
        }

         .constraint-item-1col {
            max-width: 900px;
            text-align: center;
        }

        .constraint-icon {
            width: 24px;
            height: 24px;
            background: none;
            border-radius: 50%;
            margin: 0 auto 13px;
        }

        .constraint-title {
            color: #6E93F8;
            font-family: 'Gloock', serif;
            font-size: 32px;
            font-weight: 400;
            line-height: 1.2;
            margin-bottom: 30px;
        }

        .constraint-description {
            color: #5D5D5D;
            font-size: 18px;
            line-height: 1.4;
            margin-bottom: 30px;
        }

        .constraint-description.bold {
            font-weight: 700;
        }

/* Process Section */
        .process {
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            padding: 96px 40px 16px 40px;
            background: #ffffff;
            width: 100%;
        }
        .process-container {
            display: flex;
            gap: 48px;
            align-items: center; /* Changed from flex-start to center */
            justify-content: center;
            width: 100%;
        }

        .process-image {
            align-self: center; /* Changed from flex-start to center */
            margin-top: 0;
        }

        .process-title {
            color: #5D5D5D;
            font-size: 48px;
            font-weight: 300;
            line-height: 1.2;
            text-align: center;
            margin-bottom: 64px;
        }

        .process-steps {
            max-width: 506px;
            align-self: center; /* Changed from flex-start to center */
            margin: 40px 40px;
            display: flex;
            flex-direction: column;
            gap: 24px;
        }

        .process-step {
            display: flex;
            align-items: center;
            gap: 16px;
        }

        .process-icon {
            width: 100px;   
            height: 60px; 
            object-fit: contain;
            display: block;
        }

        .process-content {
            flex: 1;
        }

        .process-step-title {
            color: #5D5D5D;
            font-size: 24px;
            font-weight: 600;
            line-height: 1.2;
            margin-bottom: 6px;
        }

        .process-step-description {
            color: #000000;
            font-size: 14px;
            line-height: 1.4;
        }

        .process-image img {
            max-width: 400px; 
            width: 100%; 
            border-radius: 16px;
        }

      /* Decorative arrow */
        .arrow-elements {
            position: relative;
            height: 200px;
            margin-bottom: 40px;
            display: flex;
            justify-content: center;
            align-items: center;
        }

        /* Section headers with diamond icons */
        .diamond-section {
            display: flex;
            flex-direction: column;
            gap: 80px;
        }

        .section-header {
            display: flex;
            align-items: center;
            gap: 15px;
        }

        .section-title {
            color: black;
            font-size: 16px;
            font-weight: 500;
            line-height: 1.2;
            letter-spacing: 2.56px;
            text-transform: uppercase;
            text-align: center; 
            margin: 0 auto;
            width: auto;
        }

        /* Content area */
        .content-area {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 60px;
            align-items: start;
            padding-bottom: 40px;
        }

        .text-content {
            max-width: 532px;
        }

        .content-title {
            color: black;
            font-size: 32px;
            font-family: 'Gloock', serif;
            font-weight: 400;
            line-height: 1.2;
            margin-bottom: 24px;
        }

        .content-description {
            color: black;
            font-size: 18px;
            font-weight: 400;
            line-height: 1.6;
            margin-bottom: 24px;
        }

        .outcome-text {
            color: black;
            font-size: 18px;
            line-height: 1.6;
        }

        .outcome-label {
            font-weight: 700;
        }
        .content-area-ol {
            width: 100%;
            margin-left: 0;
            padding-left: 1.5em; /* or adjust as needed */
        }

        .content-area-fw {
            display: block;         /* Use block layout instead of grid */
            width: 100%;            /* Ensure it spans the full container */
            padding-bottom: 40px;
        }

        .text-content-fw {
            max-width: 100%;        /* Ensure text content can take full width */
            margin: 0 auto;         /* Center the text content */
        }


        /* Images */
        .images-container {
            display: flex;
            flex-direction: column;
            gap: 20px;
        }

        .images-container-fw {
            max-width: none;        /* Remove max-width if set */
            width: 100%;            /* Make children full width */
            margin: 0; 
            padding-bottom: 80px;             /* Remove side margins if any */
        }

        .images-container-fixed {
            display: flex;
            justify-content: center;
            align-items: center;
            max-width: 50%;
            margin: 0 auto;
            padding-bottom: 80px;
        }

        .content-image {
            width: 100%;
            max-width: 527px;
            height: auto;
        }

        /* Note component */
        .note {
            width: 100%;
            padding: 18px 31px;
            background: rgba(13, 110, 253, 0.1);
            border: 1px solid #0d6efd;
            border-radius: 16px;
            display: flex;
            align-items: center;
            gap: 8px;
            transition: all 0.2s ease;
        }

        .note:hover {
            background: rgba(248, 113, 157, 0.25);
            transform: translateY(-1px);
            box-shadow: 0 4px 12px rgba(248, 113, 157, 0.2);
        }

        .note-icon {
            font-size: 16px;
            flex-shrink: 0;
        }

        .note-text {
            flex: 1;
            color: #1a1a1a;
            font-size: 14px;
            font-weight: 400;
            line-height: 1.2;
        }

        .note-label {
            font-weight: 600;
            color: #0d6efd
        }

        /* Footer nav component */
        .footernav {
            margin-top: 40px;
            width: 100vw;
            position: relative;
            left: 50%;
            right: 50%;
            transform: translateX(-50%);
            padding: 24px 87px;
            background: var(--primary-blue);
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-radius: 8px 8px 0 0;
            box-sizing: border-box;
        }

        .footernav-item {
            display: flex;
            align-items: center;
            gap: 24px;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .footernav-item:hover {
            opacity: 0.8;
        }

        .footernav-text {
            color: #ffffff;
            font-size: 32px;
            font-weight: 600;
            line-height: 1.2;
        }

        .arrowcontainer {
            display: flex: 80px;
            height: 25px;
            border: 2px solid var(--cyan-light);
            border-left: none;
            border-top: none;
            border-bottom: none;
            position: relative;
        }


        /* Responsive Design */
      @media (max-width: 1024px) {
            .hero2 {
                flex-direction: column;
                gap: 40px;
                text-align: center;
            }
            .hero2-content {
                margin-left: auto;
                margin-right: auto;
            }
            .hero2-image {
                margin-left: auto;
                margin-right: auto;
                align-self: unset;
            }
            .tags2 {
                justify-content: center;
            }

        }
            .-title {
                font-size: 48px;
            }

            .constraints-grid {
                grid-template-columns: repeat(4, 1fr);
            }

        @media (max-width: 900px) {
            .header {
                padding: 16px 0px;
            }

            .hero2 {
                margin: 40px 20px;
                padding: 40px 20px 0px 20px;
            }

            .hero2-title {
                font-size: 36px;
            }

            .objective {
                padding: 96px 20px;
            }

            .constraints {
                padding: 96px 20px;
            }

            .constraints-grid {
                grid-template-columns: 1fr;
            }

            .nav {
                gap: 15px;
            }

            .nav-item {
                padding: 0 10px;
            }

            .process-container {
                flex-direction: column;
                align-items: center;
                gap: 32px;
            }
            .process-steps {
                align-self: center;
                padding-left: 0;
                margin: 0 0 24px 0;
            }
            .process-image {
                display: none;
            }
            .content-area {
                display: flex;
                flex-direction: column;
                gap: 40px;
            }
            .images-container {
                order: 2;
                width: 100%;
                justify-content: center;
                align-items: center;
            }
            .text-content {
                order: 1;
                width: 100%;
            }
            .footernav-text {
                display: none;
            }

        }

        /* Footer */
        .footer {
            width: 100vw;
            position: relative;
            background: #EAE6FF;
            padding: 80px 0px;
            display: flex;
            flex-direction: column;
            align-items: center;
            justify-content: center;
            text-align: center;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 11px;
            margin-bottom: var(--spacing-lg);
        }

        .footer-logo img {
            width: 23px;
            height: 30px;
        }

        .footer-name {
            font-family: var(--font-display);
            font-size: 18px;
            color: var(--text-black);
        }

        .footer-contact {
            font-size: 14px;
            color: var(--text-black);
        }

        .footer-contact a {
            color: var(--text-black);
            text-decoration: none;
            transition: font-weight 0.2s ease;
        }

        .footer-contact a:hover,
        .footer-contact a:focus {
            font-weight: bold;
            outline: none;
        }

        .footer-note {
            margin-top: var(--spacing-lg);
        }

        /* Accessibility */
        .nav-link:focus,
        .portfolio-card:focus {
            outline: 2px solid var(--primary-blue);
            outline-offset: 2px;
        }

        /* Animations */
        html {
            scroll-behavior: smooth;
        }

        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            transition: opacity 0.6s ease, transform 0.6s ease;
        }

        .fade-in.visible {
            opacity: 1;
            transform: translateY(0);
        }

        /* Responsive Design */
        @media (max-width: 768px) {
            .nav-links {
                gap: var(--spacing-sm);
            }

            .hero-content {
                flex-direction: column;
                text-align: center;
                padding: var(--spacing-2xl) 0;
            }

            .hero-image {
                order: -1;
                transform: scale(0.9);
            }

            .highlight-section {
                flex-direction: column;
                gap: var(--spacing-sm);
            }

            .highlight-title {
                width: 100%;
                margin-bottom: var(--spacing-xs);
            }

            .portfolio-grid {
                grid-template-columns: 1fr;
                gap: var(--spacing-lg);
            }

            .portfolio {
                padding: var(--spacing-2xl) 0;
            }

            .footer {
                padding: 60px 0;
            }

        @media (max-width: 480px) {
            .hero-image {
                transform: scale(0.8);
            }
            
            .card-header {
                flex-direction: column;
                align-items: flex-start;
            }
            
            .card-icon {
                align-self: flex-end;
            }
        }

---
/* Fixed height for all portfolio cards */
.portfolio-card {
    display: flex;
    flex-direction: column;
    height: 320px;
    width: 350px;
    padding: 20px 20px 0 20px;
}


/* Header area - row 1 */
.portfolio-card .card-header {
    grid-row: 1;
    /* All headers align naturally at top */
}

/* Description area - row 2, fixed height */
.portfolio-card .card-description {
    grid-row: 2;
    height: 64px; /* Fixed height ensures alignment */
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    margin: 0; /* Remove default margins */
}

/* Tags area - row 3, fixed height */
.portfolio-card .tags {
    grid-row: 3;
    height: 80px; /* Fixed height ensures alignment */
    align-content: start; /* Align tags to top of their area */
}

/* Flexible spacer - row 4 */
/* This area automatically takes remaining space */

/* Image area - row 5, flush with bottom */
.portfolio-card .card-image {
    grid-row: 5;
    align-self: end;
    margin: 0;
    width: 100%;
    height: auto;
    max-height: 100px; /* Adjust as needed to fit within the card */
    object-fit: cover;
    object-position: center;
    border-radius: 0 0 var(--radius-md) var(--radius-md);
}

     

