@charset "UTF-8";

@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,100;0,400;0,700;1,100;1,400;1,700&display=swap');

:root {
    /* colors */
    --main-dark-blue: #060522;
    --sky-blue: #63B3ED;
    --electric-blue: #4F46E5;
    --orange: #f86815;
    --green: #15b076;
    --white-grey: #CBD5E1;
    --white-lightBlue: #c8e0f4;
    --alt-dark-blue-green: #0c1426;
    --alt-mid-blue: #202046;
    --light-grey: #EEEEEE;

    /* functional colors */
    --full-background: linear-gradient(to bottom, var(--alt-dark-blue-green), var(--alt-dark-blue-green) 45%, var(--sky-blue) 95%, var(--sky-blue));
    --centre-background: var(--main-dark-blue);
    /* background of centre rectangle */
    --body-text: var(--white-grey);
    --emphasis-1: var(--white-lightBlue);
    --highlight: var(--sky-blue);
    /* border, headings and underline on links */
    --visited-link: var(--electric-blue);
    --hover: var(--orange);
    /* href hover and buttons  */
    --question-input-background: white;
    --human-message-font-color: var(--light-grey);
    --human-message-background: var(--alt-dark-blue-green);
    --chat-border: #ccc;
}

html {
    font-size: 62.5%;
}

body {
    font-size: 1.8rem;
    line-height: 1.618;
    margin: auto;
    padding: 20px;
    font-family: "JetBrains Mono", monospace;
    font-weight: 200;
    font-style: normal;
    max-width: 100%;
    background-color: var(--full-background);
    color: var(--body-text);
    letter-spacing: 0.8px;
    background: var(--full-background);
}

strong {
    font-weight: 700;
    /* Bold */
    color: white;
}


/*  :::::::::::::: NAVIGATION ::::::::::::: */
header {
    display: flex;
    align-items: center;
    position: relative;
    /* Ensures absolute positioning works within the header */
    width: 100%;
    margin-left: auto;
    /* Center the header on the page */
    margin-right: auto;
    /* Center the header on the page */
    justify-content: space-between;
    /* This separates the logo and nav */
    padding: 0 20px;
    height: 120px;
    background-color: var(--highlight);
    max-width: 1200px;
    /* Set the max-width to match the 'mainbox' width */
    border-top-left-radius: 3.7vw;
    border-top-right-radius: 3.7vw;
    box-sizing: border-box;
}

/*  :::::::::::::: Logo ::::::::::::: */
.logo {
    height: auto;
    /* Maintain aspect ratio */
    width: calc(50px + 15vw);
    /* Adjust based on your preference */
    max-width: 225px;
    /* Prevents the logo from becoming too large */
    min-width: 200px;
    /* Prevents the logo from becoming too small */
    position: relative;
    /* Adjust if necessary, depending on your layout */
    margin: auto 0;
    /* This can help center vertically if other methods fail */
}

.challenge-logo {
    margin-top: 8px;
}

.logo-text {
    color: #fff;
    font-weight: bold;
    margin-left: 150px;
    /* Adjust this value so the text starts to the right of the logo */
    letter-spacing: 4px;
}

/* Ensure nav and other elements are adjusted accordingly */
nav {
    margin-left: auto;
    /* Pushes the nav to the right */
}

.button {
    display: inline-block;
    padding: 10px 20px;
    /* Adjust padding to match the button size you want */
    margin: 0 5px;
    /* Space between buttons */
    font-size: 1em;
    /* Adjust font size as needed */
    font-weight: bold;
    /* Makes the text bold */
    color: white;
    /* Text color */
    background-color: #007bff;
    /* Adjust to match your desired button color */
    border: none;
    /* No border for flat button style */
    border-radius: 5px;
    /* Rounded corners */
    text-align: center;
    text-decoration: none;
    /* Removes underline from links */
    cursor: pointer;
    /* Changes cursor to indicate button functionality */
    transition: background-color 0.3s ease;
    /* Smooth background color transition on hover */
    box-shadow: 0 4px 8px var(--visited-link);
    /* Horizontal offset, vertical offset, blur radius, color */
}

.demo-button {
    background-color: white;
    /* Demo button color */
    color: black;
    /* Demo button text color */
    border: 3px solid black;
    /* Demo button border */
    /*  box-shadow: 5px 4px 8px #4F46E5; Thick drop shadow with specified color */
    box-shadow: 5px 5px 1px black;
    /* Thick drop shadow with specified color */
}

.contest-button {
    background-color: var(--visited-link);
    /* Contest button color */
    color: white;
    /* Contest button text color */
    border: 3px solid black;
    /* Demo button border */
    box-shadow: 4px 5px 1px black;
    /* Thick drop shadow with specified color */
}

.button:hover {
    background-color: var(--green);
    /* Darker shade on hover for interactive feedback */
}

.demo-button:hover {
    /*  background-color: #f23753; */
    background-color: var(--hover);
}

/* Hamburger Menu Button */
.hamburger-menu {
    display: none;
    flex-direction: column;
    justify-content: space-around;
    width: 30px;
    height: 25px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 5px;
    /* Must have padding to appear on phone screen! */
    /*background-color: #fff;   Make the button background explicitly white for testing */
    /*border: 1px solid #ccc; /* Add a border to make the button more visible */
}

.hamburger-menu span {
    display: block;
    height: 3px;
    width: 30px;
    background: var(--centre-background);
    /* Adjust color as needed */
    background-color: #333;
    /* Color of the line, ensure it contrasts with the background */
    margin: 5px 0;
    /* Spacing between the lines */
}

/* Navigation Menu */
.nav-menu {
    display: flex;
    /* or 'block', depending on your layout */
    justify-content: center;
    /* Adjust as needed */
    align-items: center;
    /* For vertical alignment */
}

/* When the menu is active */
.nav-menu.active {
    display: block;
    /* Adjustments for when the menu is visible */
}

.close-btn {
    display: none;
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: white;
}

/*  :::::::::::::: NAV LINKS & DROPDOWN ::::::::::::: */
.nav-links {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    padding-right: 2rem;
    align-items: center;
    gap: 2rem;
}

.nav-links > li {
    position: relative;
}

.nav-links > li > a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--main-dark-blue);
    text-decoration: none;
    font-weight: 600;
    font-size: 2.0rem;
    transition: color 0.2s ease;
}

.nav-links > li > a:hover {
    color: var(--electric-blue);
}

.dropdown-arrow {
    font-size: 0.7em;
    margin-left: 4px;
    transition: transform 0.2s ease;
}

.dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background-color: var(--main-dark-blue);
    min-width: 180px;
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.2s ease;
    z-index: 1000;
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li a {
    display: block;
    padding: 0.7rem 1.2rem;
    color: var(--body-text);
    text-decoration: none;
    font-size: 1.6rem;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-menu li a:hover {
    background-color: var(--electric-blue);
    color: white;
}


/*  :::::::::::::: LINKS ::::::::::::: */
.mainbox a:link,
.mainbox a:visited {
    color: inherit;
    /* Keeps the text color unchanged */
    /*  color: var(--highlight); */
    text-decoration: underline;
    text-decoration-color: var(--highlight);
    /* Sets the underline color */
    text-decoration-thickness: 1px;
    /* Optional: Adjusts the thickness of the underline */
    text-underline-offset: 4px;
    text-underline-position: from-font;
    text-decoration-style: dotted;
}

.mainbox a:hover {
    color: var(--hover);
    /* Changes text color on hover */
    text-decoration-color: var(--hover);
    /* Ensures the underline color matches the text color on hover */
    text-decoration-line: none;
}


h1 {
    font-size: 2.35em;
    font-family: "JetBrains Mono", monospace;
    font-weight: 200;
    font-style: normal;
    color: var(--highlight);
    line-height: 1.1;
    margin-top: 3rem;
    margin-bottom: 1.5rem;
}

h2 {
    /* font-size: 1.35em; */
    font-size: 1.4em;
    font-family: "JetBrains Mono", monospace;
    font-weight: 200;
    font-style: normal;
    color: var(--highlight);
    line-height: 0.8;
    margin-bottom: 12px;
}

h3 {
    font-size: 1.1em;
    /* color: var(--emphasis-1); */
    margin-bottom: 0px;
    margin-top: 20px;
    font-family: "JetBrains Mono", monospace;
    font-style: normal;
}

hr {
    height: 1px;
    background-color: var(--highlight);
    /* background-color: #c8e0f4; */
}


.mainbox {
    /* surrounding colored box    */
    border-width: 1.0vw;
    border-style: solid;
    border-color: var(--highlight);
    border-top-left-radius: 0vw;
    /* curves the box edges */
    border-top-right-radius: 0vw;
    /* curves the box edges */
    border-bottom-left-radius: 3.7vw;
    /* curves the box edges */
    border-bottom-right-radius: 3.7vw;
    /* curves the box edges */
    /* thickness of border */
    border-bottom-width: 4.5vh;
    border-top-width: 0px;
    /* border-top-width: 0px; */
    background-color: var(--centre-background);
    padding: 0px;
    margin: 0 auto;
    width: 100%;
    /* Adjust width as needed */
    box-sizing: border-box;
    /* To include padding and border in the element's total width and height */
    max-width: 1200px;
    position: relative;
}

.homepage-headline-h1 {
    text-align: center;
    display: block;
    width: 100%;
}

.text_gradient {
    color: transparent;
    /* Fallback for browsers that don't support background-clip */
    background: linear-gradient(0deg,
            var(--visited-link),
            var(--highlight) 50%,
            var(--emphasis-1) 66%,
            var(--visited-link) 100%);
    -webkit-text-fill-color: transparent;
    /* WebKit browsers */
    -webkit-background-clip: text;
    background-clip: text;
    /* Non-prefixed, for broader compatibility */
    font-weight: 300;
}

#container {
    display: flex;
    flex-direction: column;
    padding: 40px;
}

/* Styling for Chainlit Popup */


.markdown-body {
    font-size: 1.35em;
    line-height: 19.5px;
}

#copilot-chat-input {
    font-size: 1.35em;
}


#chat-window {
    display: flex;
    flex-direction: column;
    min-height: 200px;
    max-height: 500px;
    /* Adjust this value to your preference */
    overflow-y: auto;
    border: 1px solid var(--chat-border);
    padding: 10px;
    border-radius: 1.2vw;
    /* curves the box edges */

    font-size: 1.7rem;
    line-height: 1.4;
    font-weight: 100;
    letter-spacing: 0.1px;
    font-optical-sizing: auto;
    /* background-color: var(--alt-dark-blue-green); */
}

#form-inputs {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 15px;
}

.a {
    display: flex;
    width: 80%;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.b {
    display: flex;
    margin-left: 10px;
    justify-content: center;
    align-items: center;
    align-self: stretch;
}

.news-description {
    margin: 25px;
    margin-bottom: 80px;
}

#question-input {
    flex-grow: 1;
    width: 90%;
    margin: 0px !important;
    padding: 8px;
    /* Adjust the spacing between the textarea and the button */
    background-color: var(--question-input-background);
    color: var(--centre-background);
    border-radius: 0.8vw;
    /* curves the box edges */
}

#submit-question {
    font-size: 1.2em;
    white-space: nowrap;
    background-color: var(--highlight);
    color: var(--emphasis-1);
    display: flex !important;
    align-self: center;
    border: none;
    border-radius: 10px;
    /* Additional styling for the button if needed */
}

#submit-question:hover {
    background-color: var(--emphasis-1);
    color: var(--highlight);
}

#continue-button {
    font-size: 1.2em;
    white-space: nowrap;
    padding: 5px 10px;
    background-color: var(--highlight);
    color: white;
    display: flex !important;
    align-self: center;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    padding-left: 20px;
    padding-right: 20px;
    padding-top: 20px;
    padding-bottom: 20px;
}

#continue-button:hover {
    background-color: var(--electric-blue);
    border: var(--orange) 2px solid;
}

#recaptureBtn {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
    background: transparent;
    color: white;
    border: none;
    width: fit-content;
}

/* #tips-button {
    font-size: 1.2em;
    white-space: nowrap;
    padding: 5px 10px;
    background-color: var(--emphasis-1);
    color: var(--highlight);
    display: flex !important;
    align-self: flex-start;
    border: none;
    border-radius: 10px;
    cursor: pointer;
}

#tips-button:hover {
    background-color: var(--highlight);
    color: var(--emphasis-1);
} */

.tag-line {
    padding-top: 10px;
    padding-bottom: 30px;
    text-align: center;
}

.tag-line h3 {
    font-weight: normal;
    /* Set the desired font weight */
    color: var(--body-text);
    /* Optional: Set the desired color */
}

.top-right-image {
    position: absolute;
    top: 20px;
    right: 35px;
    width: 110px;
    height: auto;
    /* Maintain aspect ratio */
}

/* :::::::::::  Founder Block :::::::::::  */
.founder-div {
    display: flex;
    align-items: center;
    justify-content: space-between
}

.founder-description {
    flex: 2;
}

.founder-img-div {
    flex: 1;
    text-align: right;
    padding-left: 10px;
    min-width: 250px;
}

.founder-img {
    width: 65%;
    height: auto;
    max-width: 256px;
}

.founders-block {
    padding-bottom: 25px;
}

.founder-description .icon-link {
    text-decoration: none !important;
    /* Removes the underline But not sure this is still needed*/
}

/* end: founders */


.message.ai {
    display: inline-block;
    text-align: left;
}

.caps {
    text-transform: capitalize;
}

.htmx-indicator {
    opacity: 0;
    transition: opacity 500ms ease-in;
}

.htmx-send.htmx-indicator {
    opacity: 1
}

iframe {
    width: 100%;
    height: 450px;
}


/*    TIPS formatting, also used for many other <ul>s  */
.tips-section {
    margin-bottom: 20px;
}

.tips-header {
    font-size: 1.5em;
    color: var(--highlight);
    margin-bottom: 5px;
}

.tips-list {
    list-style-type: none;
    padding: 0;
    margin-left: 30px;
}

.tips-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    text-indent: -1.3em;
    /* Pulls the first line to the left */
    padding-left: 1.3em;
    /* Adds padding to the left of the list item, affecting lines after the first */

}

.tips-list li:before {
    content: "• ";
    color: var(--highlight);
    /* Bullet color */
    font-weight: bold;
}

.tips-highlight {
    font-style: italic;
    color: var(--emphasis-1);
}


/* Batch LI */

.batch-list {
    list-style-type: none;
    padding: 0;
    margin-left: 30px;
}

.batch-list li {
    margin-bottom: 10px;
    line-height: 1.6;
    margin: 30px 0;
    line-height: 2;
    text-indent: -1.3em;
    /* Pulls the first line to the left */
    padding-left: 1.3em;
    /* Adds padding to the left of the list item, affecting lines after the first */
}

.batch-list li:before {
    content: "• ";
    color: var(--highlight);
    /* Bullet color */
    font-weight: bold;
}

/* End: Batch LI */


.notice-me {
    font-style: italic;
    font-family: 'Arial', sans-serif;
    color: var(--emphasis-1);
}


.service-item {
    display: flex;
    align-items: center;
    gap: 20px;
    /* Adjust the space between the image and text */
    padding-bottom: 50px;
    padding-top: 15px;
}

.service-item .service-text {
    order: 1;
    /* Ensures the text appears first */
    text-align: left;
}

.service-item .service-image {
    order: 2;
    /* Ensures the image appears second (to the right of the text) */
    width: 40%;
    /* Control the size of the image */
    height: auto;
    /* Maintain the aspect ratio */
    max-width: 512px;
}

.case-studies {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.case-study-col {
    width: 30%;
    /* Adjust the width as needed */
    margin-bottom: 20px;
}

.case-studies-hr {
    display: none;
    /* Hide the HR by default */
}

.submission-topics {
    margin-left: 4rem;
}

.submission-topic-title {
    color: white;
    font-weight: 700;
    padding-top: 30px;
    padding-bottom: 0px;
}

.submission-number {
    color: var(--highlight);
}


.submission-topic-question {
    padding-left: 3.7rem;
}

/* Adjust the indent of challenge + Examples */
.click-header.submission-plus-indent {
    padding-left: 3.7rem;
}

.submission-list {
    margin-left: 1rem;
    background-color: var(--alt-dark-blue-green);
    border-radius: 10px;
}

.helper-button-container {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 80px;
    padding-bottom: 80px;
}

.click-header {
    cursor: pointer;
    color: white;
    padding-left: 0;

}

.challenge-headline-h1 {
    text-align: center;
    padding-bottom: 30px;
}

.dates-layout {
    display: flex;
    align-items: flex-start;
    /*align-items: center; /* Center items vertically */
    justify-content: space-between;
    /* Center items horizontally */
}

.text-content {
    /* This ensures the text content takes up the available space, pushing the image to the right */
    flex: 1;
}

.dates-submission-details {
    padding-top: 40px;
}

.image-submission-dates {
    max-width: 30%;
    /* Adjust the image size */
    height: auto;
    /* Maintain aspect ratio */
    margin-left: 20px;
    /* Add some space between the text and the image */
    /* margin-right: 60px; */
}

.click-header.learn-more {
    color: inherit;
    /* Keeps the text color unchanged */
    /*  color: var(--highlight); */
    text-decoration: underline;
    text-decoration-color: var(--highlight);
    /* Sets the underline color */
    text-decoration-thickness: 1px;
    /* Optional: Adjusts the thickness of the underline */
    text-underline-offset: 4px;
    text-underline-position: from-font;
    text-decoration-style: dotted;
}

.click-header.learn-more:hover {
    color: var(--hover);
    /* Matches the text color on hover */
    text-decoration: none;
    /* Adds underline on hover */
    text-decoration-color: var(--hover);
    /* Ensures the underline color matches the text color on hover */
    cursor: pointer;
    /* Changes the cursor to indicate clickable */
}

.tag-line .click-header {
    padding-left: 0;
    /* Removes padding for "learn more" */
}

.click-content {
    display: none;
    padding: 0px;
}

.gpt-explained {
    padding: 20px;
}

.plus-symbol {
    color: var(--highlight);
}

.my-strong {
    font-weight: 800;
}

.ask-for-application {
    color: white;
    font-style: italic;
    font-family: Arial, sans-serif;
    letter-spacing: 1px;
}

.challenge_terms_link {
    margin-top: 35px;
}

.footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* padding: 10px; */
    padding-top: 100px;
    font-size: 0.9em;
    text-align: center;
}

.footer-content {
    display: flex;
    flex-direction: column;
    /* Change to column to stack address and columns */
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.footer-address {
    width: 100%;
    /* Ensure it spans the full width */
    margin-bottom: 20px;
    /* Adjust spacing as needed */
}

.footer-columns {
    display: flex;
    flex-direction: row;
    /* Start with row direction for desktop */
    justify-content: space-between;
    width: 80%;
}

.footer-column {
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 10px;
    /* Add some spacing between columns */
}

.footer-link {
    margin-bottom: 10px;
    color: var(--highlight);
    text-decoration: none;
}

.footer-link:hover {
    text-decoration: underline;
}

.address-block,
.email-block,
.copyright-block {
    display: inline;
    white-space: nowrap;
    /* Prevents breaking inside the span */
}

.dev-portal-button {
    background-color: white;
    color: black;
    /* button text color */
    border: 3px solid black;
    /* button border */
    /*  box-shadow: 5px 4px 8px #4F46E5; Thick drop shadow with specified color */
    box-shadow: 4px 3px 2px var(--highlight);
    /* Thick drop shadow with specified color */
    display: inline-block;
    /* This makes the element only as wide as its content */
    width: auto;
    /* Automatically adjusts the width to fit the content */
    padding: 10px 20px;
    /* Adjust padding as needed */
    max-width: max-content;
    /* Ensures the button's width is only as wide as its content */
}

.dev-portal-button:hover {
    /*  background-color: #f23753; */
    background-color: var(--hover);
    box-shadow: 4px 3px 2px white;
    /* Thick drop shadow with specified color */
}

.video-block {
    margin: 50px 0;
    border-radius: 15px;
    /* Adjust the value as needed */
}

/* I removed this image so not currently in use */
.home-top-image-container {
    width: 100%;
    max-width: 100%;
    overflow: hidden;
    margin-top: 50px;
    margin-bottom: 50px;
}

/* I removed this image so not currently in use */
.blue-gears-image {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
}

.home-top-box-div {
    /* background: linear-gradient(to bottom, var(--alt-dark-blue-green), var(--main-dark-blue)); */
    background: linear-gradient(to bottom,
            var(--alt-dark-blue-green) 0%,
            var(--alt-dark-blue-green) 20%,
            var(--main-dark-blue) 100%);
    border-top-left-radius: 30px;
    border-top-right-radius: 30px;
    padding: 20px;
}

.news-box-div {
    background-color: var(--alt-dark-blue-green);
    border-radius: 20px;
}

.image-centered {
    display: block;
    margin: 20px auto;
    /* Center the image horizontally and add some space above */
    max-width: 65%;
    /* Ensure the image scales responsively */
    height: auto;
    /* Maintain the aspect ratio */
}

.image-expand-container {
    position: relative;
    cursor: pointer;
    margin-top: 5px;
    margin-bottom: 80px;
}

.expandable-image {
    transition: all 0.3s ease;
    cursor: zoom-in;
}

.expanded {
    position: fixed;
    top: 5%;
    left: 5%;
    width: 90%;
    height: 90%;
    max-width: none;
    max-height: none;
    z-index: 1000;
    object-fit: contain;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
    background-color: white;
    padding: 20px;
    box-sizing: border-box;
}

.expandable-image.expanded {
    cursor: zoom-out; /* Standard cursor for zooming out */
}

/* :::::::::::::::::::::: Buttons on Batch Page :::::::::::::::::::::: */
.home-button-container {
    display: flex; 
    flex-direction: row; 
    justify-content: center; 
    align-items: stretch; /* Make all buttons same height */
    gap: 10rem; 
    padding-top: 3rem;
}

.home-button {
    display: flex; 
    align-items: center; 
    justify-content: center;
    border: 2px solid black; 
    text-align: center;
    flex: 1; /* Make each button take up an equal amount of space */
    transition: background-color 0.3s, color 0.3s; 
    border-radius: 12px; /* Rounded corners */
    background-color: var(--sky-blue); 
    color: white !important;
    text-decoration: none; 
    padding: 10px 20px; /* Padding for better spacing */
    color: var(--sky-blue);

    text-decoration: none !important; /* Ensure no underline */    
    font-weight: 500;
    max-width: 200px
  }


.home-button:hover {
    background-color: var(--electric-blue); 
    color: white !important; 
    border: var(--orange) 2px solid;
}

.team-photo-container {
    display: flex;
    justify-content: center; /* Center horizontally */
    align-items: center; /* Center vertically if needed */
    width: 100%; /* Ensure the container takes up the full width */
    margin: 40px auto; 
  }
  
  .team-photo-container img {
    max-width: 100%; /* Ensure the image scales responsively */
    height: auto; 
    display: block; 
    margin: 0 auto; 
  }

  .may24-news-item {
    margin-top: 150px;
    margin-bottom: 20px;
  }

/*  :::::::::::::: HOMEPAGE SECTIONS ::::::::::::: */

/* Hero Section */
.subheadline {
    font-size: 1.3em;
    color: var(--emphasis-1);
    font-style: italic;
    margin-top: 0;
}

.hero-cta {
    display: flex;
    justify-content: center;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* Recognition Section */
.recognition-section {
    background-color: var(--alt-dark-blue-green);
    border-radius: 12px;
    padding: 2rem 2.5rem;
    margin: 3rem 0;
}

.recognition-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.recognition-list li {
    padding: 1.2rem 0;
    line-height: 1.7;
}

.recognition-list li::before {
    content: "✓ ";
    color: var(--highlight);
    font-weight: bold;
}

/* Featured Assistant Section */
.featured-assistant {
    background: linear-gradient(135deg, var(--alt-dark-blue-green) 0%, var(--alt-mid-blue) 100%);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 1rem 0;
}

.featured-assistant-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2.5rem;
}

.featured-assistant-text {
    flex: 1;
}

.featured-assistant-text h2 {
    color: var(--green);
    margin-top: 0;
    margin-bottom: 1rem;
}

.featured-assistant-text p {
    line-height: 1.7;
    margin: 0;
}

.featured-assistant-image {
    flex-shrink: 0;
    max-width: 300px;
}

.featured-assistant-image img {
    width: 100%;
    height: auto;
    border-radius: 12px;
}

@media (max-width: 768px) {
    .featured-assistant-content {
        flex-direction: column;
    }
    
    .featured-assistant-image {
        max-width: 100%;
        text-align: center;
    }
}

/* Partner Logos */
.partner-logos {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 3rem;
    padding-top: 2rem;
}

.partner-logo {
    height: 60px;
    width: auto;
    opacity: 0.85;
    transition: opacity 0.2s ease;
}

.partner-logo:hover {
    opacity: 1;
}

@media (max-width: 768px) {
    .partner-logos {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
}

/* Team Photo */
.team-photo-container {
    display: flex;
    justify-content: center;
    margin: 2rem 0 3rem 0;
}

.team-photo {
    max-width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

/* Photo Carousel */
.photo-carousel {
    position: relative;
    width: 100%;
    max-width: 800px;
    margin: 2rem auto 3rem auto;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.carousel-track {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    background-color: var(--alt-dark-blue-green);
    cursor: pointer;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    padding: 1rem;
    background-color: rgba(0, 0, 0, 0.3);
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: var(--white-grey);
    opacity: 0.5;
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.carousel-dot:hover {
    opacity: 0.8;
}

.carousel-dot.active {
    opacity: 1;
    background-color: var(--highlight);
    transform: scale(1.2);
}

/* Transition Values Line */
.values-transition {
    text-align: center;
    padding: 3rem 2rem;
    margin: 4rem 0;
}

.values-transition p {
    font-size: 1.2em;
    color: var(--emphasis-1);
    margin: 0;
    line-height: 1.6;
}

/* Products Snapshot Section */
.products-snapshot {
    margin: 4rem 0;
}

/* Philosophy Band */
.philosophy-band {
    background-color: var(--electric-blue);
    border-radius: 12px;
    padding: 2.5rem 3rem;
    margin: 5rem 0;
    text-align: center;
}

.philosophy-band p {
    font-size: 1.15em;
    margin: 0;
    line-height: 1.7;
    color: var(--body-text);
}

.philosophy-band strong {
    color: white;
}

/* Closing Statement */
.closing-statement {
    text-align: center;
    padding: 3rem 2rem;
    margin: 2rem 0 0 0;
}

.closing-statement p {
    font-size: 1.3em;
    color: var(--highlight);
    margin: 0;
    font-weight: 300;
}

/*  :::::::::::::: PRODUCTS GRID ::::::::::::: */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.product-card {
    background: var(--alt-dark-blue-green);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid var(--alt-mid-blue);
    transition: transform 0.2s ease, border-color 0.2s ease;
}

.product-card:hover {
    transform: translateY(-4px);
    border-color: var(--highlight);
}

.product-card h2 {
    margin-top: 0;
    margin-bottom: 1rem;
}

.product-card p {
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.product-link {
    color: var(--highlight) !important;
    text-decoration: none !important;
    font-weight: 500;
    transition: color 0.2s ease;
}

.product-link:hover {
    color: var(--hover) !important;
}

.product-detail {
    margin: 2rem 0;
}

.product-detail h2 {
    margin-top: 2.5rem;
}

.product-detail h3 {
    color: var(--emphasis-1);
    margin-top: 1.5rem;
}

/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */
/* ::::::::: RESPONSIVE :::::::: */
/* :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::: */

@media (max-width: 1302px) {
    .homepage-headline-h1 {
        font-size: 2.1em;
    }
}


@media (max-width: 1125px) {
    .homepage-headline-h1 {
        font-size: 1.9em;
    }

    .case-study-col {
        width: 100%;
    }

    .case-studies-hr {
        display: block;
        /* Show the <hr> */
    }
}

@media (max-width: 1024px) {
    h1 {
        font-size: 2.1em;
    }

    .homepage-headline-h1 {
        font-size: 1.7em;
    }
}

@media (max-width: 948px) {
    h1 {
        font-size: 1.9em;
    }

    .homepage-headline-h1 {
        font-size: 2.1em;
    }

    .founder-div {
        flex-direction: column;
    }

    .founder-img-div {
        text-align: center;
        /* Centers the image within the div */
    }

    .founder-img {
        display: block;
        /* Makes the image a block-level element */
        margin: 0 auto;
        /* Centers the block-level image horizontally within its container */
        max-width: 100%;
        /* Ensures the image is not wider than its container */
        height: auto;
        /* Maintains the aspect ratio of the image */
    }

    .address-block,
    .email-block,
    .copyright-block {
        display: block;
        /* Each element takes up a full line */
        margin-bottom: 5px;
        /* Adds some space between the elements */
        white-space: normal;
        /* Allows normal text wrapping */
    }

    .footer-address {
        text-align: center;
        /* Optionally center the text on small screens */
    }

    .pipe {
        display: none;
        /* Hides the pipe on screens 600px wide or smaller */
    }
}

@media (max-width: 900px) {
    body {
        padding: 2px;
        /* background-color: red; */
    }

    h2 {
        line-height: 1.5 !important;
        /* Slightly increased line height for better readability */
        font-size: 2em;
        /* Adjusted font size for better fit */
        margin-top: 0.5em;
        /* Adds space above the heading */
        margin-bottom: 0.5em;
        /* Adds space below the heading */
        /* color: green; */
    }

    #form-inputs {
        flex-direction: column;
        width: 100%;
        /* Stack elements vertically on small screens */
    }

    .a {
        width: 100%;
        /* Make the textarea take up the full width */
    }

    .b {
        margin-top: 10px;
        margin-left: 0px;
        /* Make the button take up the full width */
    }

    #submit-question {
        margin-top: 10px;
        /* Add some space between the textarea and the button */
    }

    .mainbox {
        border-width: 0.5vw;
        /* border thickness */
        border-bottom-width: 2.25vh;
        /* border thickness */
        border-bottom-left-radius: 1.85vw;
        /* curves the box edges */
        border-bottom-right-radius: 1.85vw;
        /* curves the box edges */
        width: 100%;
        z-index: 1;
    }

    .text_gradient {
        display: block;
    }

    .top-right-image {
        /*old */
        top: 2px;
        right: 5px;
        width: 70px;
        /* Adjust the width as needed */
    }

    .service-item {
        flex-direction: column;
        text-align: center;
    }

    .service-image {
        width: 80%;
        /* Larger size for smaller screens, adjust as needed */
        max-width: 512px;
        /* Ensure the image is not larger than its original size */
        min-width: 300px;
        margin-bottom: 20px;
        /* Space between the image and text */
    }

    .footer-columns {
        flex-direction: column;
        /* Change to column to stack the columns on smaller screens */
        align-items: center;
    }

    .footer-column {
        align-items: center;
        margin: 10px 0;
        /* Adjust spacing for stacked layout */
    }

    .expanded {
        top: 2%;
        left: 2%;
        width: 96%;
        height: 96%;
        padding: 10px; /* Adjust padding for smaller screens */
    }
}

@media (max-width: 768px) {

    /* Chanlit pop-up styling */
    #chainlit-copilot-popover {
        max-width: 100%;
        max-height: fit-content;
    }

    /* ::::::: Navigation */
    .nav-menu {
        display: none;
        /* Hide the nav-menu by default on smaller screens */
        position: fixed;
        width: 280px;
        /* Adjust based on content */
        height: 100%;
        left: -280px;
        /* Start off-screen */
        top: 0;
        background: var(--main-dark-blue);
        /* Adjust background color as needed */
        transition: left 0.3s;
        z-index: 1000;
        flex-direction: column;
        /* Stack items vertically */
        justify-content: start;
        /* Adjust as needed for your layout */
        padding-top: 60px;
        /* Add padding at the top */
    }

    .nav-menu.active {
        display: flex;
        /* Show the nav-menu when active */
        left: 0;
        /* Slide in */
    }

    .close-btn {
        display: block;
    }

    .nav-menu.active .button {
        width: 70%;
        /* Adjust the width as needed */
        margin: 10px auto;
        /* Center the buttons and add some margin */
        display: block;
        /* Stack the buttons vertically */
        margin-top: 50px;
    }

    .nav-menu.active .demo-button {
        margin-top: 50px;
        /* Adds space above the Demo button */
    }

    .hamburger-menu {
        display: block;
        /* Ensure the hamburger menu is visible on smaller screens */
        width: 30px;
        /* Ensure it has a width */
        height: 25px;
        /* Ensure it has a height */
    }

    /* Mobile nav links */
    .nav-links {
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        width: 100%;
        padding: 0 1rem;
    }

    .nav-links > li {
        width: 100%;
        border-bottom: 1px solid var(--alt-mid-blue);
    }

    .nav-links > li > a {
        color: var(--body-text);
        padding: 1rem;
        font-size: 1.1rem;
    }

    .nav-links > li > a:hover {
        color: var(--highlight);
    }

    /* Mobile dropdown */
    .dropdown-menu {
        position: static;
        background-color: var(--alt-dark-blue-green);
        box-shadow: none;
        border-radius: 0;
        opacity: 1;
        visibility: visible;
        transform: none;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        padding: 0;
    }

    .dropdown.open .dropdown-menu {
        max-height: 300px;
        padding: 0.5rem 0;
    }

    .dropdown-menu li a {
        padding-left: 2rem;
    }

    .dropdown-arrow {
        float: right;
        margin-right: 1rem;
    }

    .dropdown.open .dropdown-arrow {
        transform: rotate(180deg);
    }

    .dates-layout {
        flex-direction: column;
        /* Stack items vertically on small screens */
        align-items: center;
        /* Center items horizontally when stacked */
    }

    .image-submission-dates {
        max-width: 100%;
        /* Allow the image to fill the container on small screens */
        margin-top: 20px;
        /* Add some space above the image */
        margin-left: 0;
        /* Remove the left margin on small screens */
    }
}



@media (max-width: 684px) {
    body {
        font-size: 1.53rem;
    }
}

@media (max-width: 382px) {
    body {
        font-size: 1.35rem;
    }
}

.news-images-three-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; /* Align bottom edges */
    flex-wrap: wrap; /* Allow wrapping for smaller screens */
    margin: 50px 0; /* Add vertical margin to separate from text above and below */
    padding: 0 5px; /* Add horizontal padding */
  }
  
  .news-images-three-container img {
    width: 200px; /* Set a fixed width */
    height: auto; /* Maintain aspect ratio */
    margin: 10px 0; /* Add some vertical margin for spacing */
    padding: 0 5px; /* Add horizontal padding */
  }
  
  .news-images-three-container img.smaller-logo {
    width: 150px; /* 10% smaller than 200px */
  }
  
  @media (max-width: 768px) {
    .news-images-three-container {
      flex-direction: column; /* Stack images vertically */
      align-items: center; /* Center align images */
    }
  
    .news-images-three-container img {
      margin: 30px 0; /* Add vertical spacing between images */
    }
  }

  @media (max-width: 790px) {

    .home-button-container {
        flex-direction: column; /* Stack buttons */
        align-items: center;
        gap: 1.5rem;
    }
    
    .home-button {
        color: black;
        border: 2px solid black;
        box-shadow: 3px 4px 1px black;
        width: 65%; 
    }
}

