/* TODO: try to get geist or change font to google fonts IBM plex sans and Ibm plex mono */
    /* All font-weight specifics should be determined only after picking a font (i.e. bold, small, 100-900) */
/* TODO: replace placeholder p in each section */

/* TODO: fix Cityscape sizing */
    /* translate whole city scape to be slightly out of frame on the right */
/* TODO: improve shadows on each city-block */
/* TODO: alignment, spacing, and sizing of all other items in the header and hero */
    /* keep height of single-line header in mind when designating hero height */

/* TODO: make the nav-labels' backgrounds appear to expand from the nav-dots while simultanously unraveling to the right*/
/* TODO: fix redundancies in navigation classes */
/* TODO: fix bug where invisible nav padding z index covers platform challenge buttons (in small screen size) */
/* TODO: nav labels should pop up as you scroll down the page */

/* TODO: see if there's a bug with the challenge loading bar timers if you leave the page stagnant for a while and return  */

/* TODO: refine feature-picture accordion images */
/* TODO: get the top and bottom of the feature-accordions to expand simultaneously if the above TODOs do not already take care of that */
/* TODO: keep eye out for top middle (risk) feature-accordion (make sure it fits the whole p after changing implementation) */
/* TODO: two feature-accordion items should have left-aligned toggle buttons */
/* TODO: see if it would be better to use my gradient-button template for the feature-accordion toggle buttons */

/* TODO: make timeline dots equidistant */
    /* harder than expected --> potentially redo the entire timeline structure bc it shouldn't be that complicated */
/* TODO: animate Internal Testing (current milestone) dot */

/* TODO: fix colors of down-carrots for each future-item in the future-flex-grid */
/* TODO: make the p elements in the future-flex-grid appear the way they do in figma */

/* TODO: fix contact form submit button size */

/* TODO: double check for any remaining non-icon svgs with css gradients and backgrounds */
/* TODO: get rid of any random shadows */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
      transform: translateY(0);
    }
    40% {
      transform: translateY(-30px);
    }
    60% {
      transform: translateY(-15px);
    }
}

@keyframes rollOut {
    from {
        width: 0;
        /* padding-left: 15px; */
        padding-right: 0;
    }
    to {
        width: var(--label-width);
        padding-right: 0px;
    }
}

@font-face {
    font-family: 'Geist';
    src: url('/fonts/Geist/Geist-1.3.0/statics-woff/Geist-Regular.woff2') format('woff2'),
         url('/fonts/Geist/Geist-1.3.0/statics-woff/Geist-Regular.woff') format('woff');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'Geist Mono Light';
    src: url('/fonts/Geist/GeistMono-1.3.0/statics-woff/GeistMono-Light.woff2') format('woff2'),
         url('/fonts/Geist/GeistMono-1.3.0/statics-woff/GeistMono-Light.woff') format('woff');
    font-weight: light;
    font-style: normal;
}


header {
    /* background-color: transparent; */
    color: #1AA28E;
    text-align: left;
    padding: 40px 140px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

header h1 {
    font-family: 'Chivo', sans-serif;
    font-size: 1.5em;
    font-weight: 400;
    color: #1AA28E;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo {
    height: 36px;
    width: auto;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.company-name {
    font-family: 'Chivo', sans-serif;
    font-weight: 400;
    color: #1AA28E;
}


.header-nav a {
    color: #00392F;
    text-decoration: none;
    font-size: 0.95em;
    padding: 10px 24px;
    background-color: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    transition: all 0.3s ease;
    font-weight: 400;
    letter-spacing: 0.02em;
}

.header-nav a:hover {
    border-bottom-color: #1AA28E;
    color: #1AA28E;
}

body {
    font-family: 'Geist', sans-serif;
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    /* padding-left: 250px; Adjust based on the width of the sidebar */
    color: #333;
    line-height: 1.6;
    background-color: #F9FDFC;
    overflow-x: hidden;
    max-width: 100vw;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

p {
    font-family: 'Geist Mono Light', monospace;
    line-height: 1.5;
    margin: 0; /* default is 16px*/
    padding: 12px 0 20px 0;
    font-size: 0.9em;
    color: #5756A0;
}

.summary-block {
    max-width: 390px;
}


/* Navigation Section Styling */
nav {
    overflow: hidden;
    display: flex;
    justify-content: flex-end;
    flex-grow: 1;
}

#sticky-menu {
    position: fixed;
    z-index: 1000;
    /* height: calc(100vh - 45px); commented in favor of non-content-overlapping nav column with top:0 uncommented */
    height: calc(100vh);
    top: 0;
        /* if someone requests to change the vertical positioning of the nav, start with top:0 for testing purposes */
        /* check out nav-container positioning as well using inspect tool css box model */
    display: flex;
    align-items: center;
    background-color: transparent;
    /* background-color: rgba(0, 0, 0, 0.044); */
    justify-content: flex-start;
    padding-left: 30px;
    padding-right: 80px;
}

.nav-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 0px 10px 10px 10px;
    border-radius: 25px;
    border: 1px solid #8D88D7;
    background-color: #F9FDFC;
}

.navbar {
    list-style-type: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.nav-item {
    position: relative;
    display: flex;
    align-items: center;
}

.nav-item a.active .nav-dot {
    background-color: #2B2167;
}

.nav-item a.active + .nav-label {
    opacity: 1;
    animation: rollOut 0.3s ease forwards;
}

.nav-label {
    position: absolute;
    display: flex;
    align-items: center;
    left: -10px;
    opacity: 0;
    transition: opacity 0.5s ease;
    font-size: x-small;
    white-space: nowrap;
    pointer-events: none;
    background-color: #F2F0FF;
    color: #2B2167;
    padding: 5px 0px 5px 30px;
    padding-right: var(--label-width);
    border-radius: 15px;
    z-index: 1;
    overflow: hidden;
    width: 0;
    margin-top: 12px;
}
.nav-label:hover {
    background-color: #F2F0FF;
}

.navbar a {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.navbar a::before {
    content: '';
    display: block;
    background-color: white;
    border-radius: 50%;
    margin-bottom: 5px;
}

.nav-dot {
    width: 9px;
    height: 9px;
    background-color: #C7C1F4;
    border-radius: 50%;
    position: relative;
    z-index: 2;
    margin-top: 12px;
    transition: background-color 0.3s ease;
}

.nav-dot:hover,
.nav-item.hover .nav-dot {
    background-color: #2B2167;
}

.navbar a:hover .nav-label,
.nav-dot:hover + .nav-label,
.nav-home-icon:hover + .nav-label,
.nav-item:hover .nav-label,
.nav-item.hover .nav-label {
    opacity: 1;
    animation: rollOut 0.3s ease forwards;
}
/* TODO: see if I can add a selector for when hovering over nav-dot, the nav-label OPACITY changes and rolls out from the left */

.nav-home-icon {
    width: 10px;
    height: 10px;
    z-index: 2;
}
.nav-home-icon:hover {
    /* fill: #2B2167; */
    z-index: 2;
}

.nav-icon-wrapper {
    width: 10px;
    height: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 10px;
}



/* All sections styling*/
.section {
    height: calc(100vh - 100px);
    padding: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2em;
}

main {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.title-row {
    /* height: 15vh; figure out if this is necessary */
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    line-height: 1.6em;
    color: #00392F;
    max-width: 1200px;
    margin: 0 auto;
}
.title-row h2 {
    margin-bottom: 0px;
    /* font-weight: lighter; */
}

.contents {
    max-width: 1200px;
    margin: 0 auto;
}

.challenge, .solution, .where, .advantages, .future {    
    min-height: 50vh;
    /* height of the viewport, minus the sticky nav */
    /* padding: 0 30px 40px 93px; */
    padding: 0 30px 40px 140px;
}
.where {
    display: none;
}
.contact {
    /* padding: 0 30px 10px 93px; */
    padding: 0 30px 10px 140px;
}



/* Hero Section Styling */
.hero {
    position: relative;
    min-height: calc(100vh - 140px);
    height: calc(100vh - 140px);
    display: flex;
    flex-direction: column;
    justify-content: center;
    /* background-color: #F9FDFC; */
    padding: 0 140px 60px 140px;
    overflow: hidden;
}

/* .title-block {
    max-width: 375px;
} */

.hero-words {
    margin: 0;
    max-width: 520px;
    position: relative;
    z-index: 10;
}

.hero h1 {
    color: #00392F;
    font-size: 3em;
    line-height: 1.15em;
    margin: 0 0 24px 0;
    font-weight: 400;
}

.hero-words p {
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1em;
    line-height: 1.5em;
}

.cta-button-container {
    margin-top: 40px;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    padding: 14px 40px;
    background: rgba(255, 255, 255, 0.15);
    color: #00392F;
    text-decoration: none;
    border-radius: 0;
    font-family: 'Geist', sans-serif;
    font-size: 0.75em;
    font-weight: 400;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 0.5px solid rgba(0, 57, 47, 0.2);
    letter-spacing: 0.25em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 57, 47, 0.04);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00392F;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.cta-button:hover {
    color: white;
    border-color: #00392F;
    letter-spacing: 0.28em;
}

.cta-button:hover::before {
    left: 0;
}

.cta-button--ghost {
    background: transparent;
    border-color: rgba(0, 57, 47, 0.35);
    color: #00392F;
    letter-spacing: 0.18em;
}

.cta-button--ghost:hover {
    background: rgba(0, 57, 47, 0.04);
    color: white;
    border-color: #00392F;
}

.section-panel {
    padding: 80px 140px;
    border-top: 1px solid rgba(0, 57, 47, 0.08);
    background-color: #F9FDFC;
}

.section-panel--muted {
    background: linear-gradient(135deg, #F9FDFC 0%, #E8F0ED 50%, #F9FDFC 100%);
    position: relative;
    overflow: hidden;
}

.section-panel--muted::before {
    content: '';
    position: absolute;
    inset: 20px;
    border: 1px solid rgba(0, 57, 47, 0.08);
    border-radius: 24px;
    pointer-events: none;
    background-color: #E8F0ED;
}

.section-panel--muted .section-inner {
    position: relative;
    background-color: #E8F0ED;
    padding: 40px;
    border-radius: 16px;
}

.section-panel--outlined {
    background-color: #FFFFFF;
}

.section-inner {
    max-width: 960px;
    margin: 0 auto;
}

.section-inner h2 {
    font-family: 'Chivo', sans-serif;
    font-size: 1.75em;
    font-weight: 400;
    color: #00392F;
    margin-bottom: 16px;
}

.section-inner p {
    font-size: 1em;
    color: #4F4D73;
}

.section-list {
    margin: 16px 0 0 20px;
    padding: 0;
    color: #4F4D73;
    font-family: 'Geist Mono Light', monospace;
    font-size: 0.95em;
}

.section-list li {
    margin-bottom: 10px;
    line-height: 1.5em;
}

.semi-card {
    display: flex;
    gap: 32px;
    background: #FFFFFF;
    border: 1px solid rgba(0, 57, 47, 0.18);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 20px 50px rgba(0, 57, 47, 0.08);
    align-items: center;
}

.semi-card-logo img {
    width: 72px;
    height: 72px;
}

.semi-card-body h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-family: 'Chivo', sans-serif;
    color: #00392F;
    font-size: 1.5em;
}

.semi-card-body p {
    margin-bottom: 8px;
    color: #4F4D73;
}

.semi-card-body a {
    color: #1AA28E;
    text-decoration: underline;
}

@media (max-width: 640px) {
    .semi-card {
        flex-direction: column;
        text-align: center;
    }

    .semi-card-logo img {
        width: 56px;
        height: 56px;
    }

    .semi-card-body h2 {
        font-size: 1.25em;
    }
}
.product-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.focus-grid {
    margin-top: 32px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
}

.focus-card {
    border: 1px solid rgba(0, 57, 47, 0.12);
    border-radius: 18px;
    overflow: hidden;
    background: #FFFFFF;
    box-shadow: 0 12px 30px rgba(0, 57, 47, 0.05);
    display: flex;
    flex-direction: column;
}

.focus-card-header {
    padding: 20px 28px;
    border-bottom: 1px solid rgba(0, 57, 47, 0.08);
    background: #F4F9F7;
}

.focus-card-header h3 {
    margin: 0;
    color: #00392F;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.focus-card-body {
    padding: 24px 28px 32px 28px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.focus-card-body p {
    margin-bottom: 12px;
    color: #4F4D73;
}

.focus-label {
    text-transform: uppercase;
    letter-spacing: 0.18em;
    font-size: 0.68em;
    color: #1AA28E;
    margin-bottom: 4px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.focus-label::before {
    content: '';
    width: 32px;
    height: 1px;
    background: #1AA28E;
    display: inline-block;
}

@media (max-width: 1024px) {
    .section-panel {
        padding: 60px 60px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
        gap: 16px;
    }

    .semi-card {
        padding: 32px;
        gap: 24px;
    }
}

@media (max-width: 640px) {
    .section-panel {
        padding: 48px 20px;
    }

    .hero {
        min-height: calc(100vh - 80px);
        padding: 20px;
    }

    .hero-words {
        margin-top: 15vh;
        text-align: center;
    }

    .cta-button-container {
        justify-content: center;
    }

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

    .focus-card {
        border-radius: 16px;
    }

    .semi-card {
        padding: 24px;
    }

    .scroll-indicator {
        bottom: 35px;
    }
}

@media (max-width: 540px) {
    header {
        padding: 24px;
    }

    .hero {
        padding: 0 24px 40px 24px;
    }

    .semi-card {
        text-align: left;
        align-items: flex-start;
    }

    .semi-card-logo img {
        width: 48px;
        height: 48px;
    }

    .semi-card-body h2 {
        font-size: 1.1em;
    }
}


/* .hero p {
    font-family: 'Geist Mono Light', monospace;
    line-height: 1.1em;
    font-size: small;
    font-weight: 100;
    color: #5756A0;
} */

.cityscape {
    position: absolute;
    right: -10%;
    top: 50%;
    transform: translateY(-50%);
    width: 70%;
    background-color: transparent;
    aspect-ratio: 1 / 1;
    z-index: 1;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.city-block {
    position: absolute;
    transition: transform 0.3s ease, filter 0.3s ease;
    /* Add a subtle default shadow */
    filter: drop-shadow(0 1px 1px rgba(0, 0, 0, 0.2));
}
.city-block:hover {
    transform: translateY(-20px);
    /* Increase the shadow on hover */
    filter: drop-shadow(0 25px 25px rgba(0, 0, 0, 0.3));
}
.city-block img {
    width: 100%;
    height: auto;
    background: transparent;
}

.block-A1 { top: 14%; left: 39%; width: 15%; z-index: 31;}
.block-A2 { top: 31%; left: 42%; width: 15%; z-index: 38;}
.block-A3 { top: 34%; left: 71%; width: 15%; z-index: 39;}
.block-B1 { top: 14%; left: 29%; width: 18%; z-index: 30;}
.block-B2 { top: 35%; left: 60%; width: 18%; z-index: 39;}
.block-C1 { top: 25%; left: 58%; width: 12%; z-index: 33;}
.block-C2 { top: 37%; left: 52%; width: 12%; z-index: 41;}
.block-C3 { top: 45%; left: 88%; width: 12%; z-index: 50;}
.block-D1 { top: 25%; left: 32%; width: 9%; z-index: 35;}
.block-D2 { top: 34%; left: 27%; width: 9%; z-index: 40;}
.block-D3 { top: 46%; left: 65%; width: 9%; z-index: 41;}
.block-E { top: 61%; left: 84%; width: 12%; z-index: 50; }
.block-F1 { top: 30%; left: 32%; width: 19%; z-index: 37;}
.block-F2 { top: 43%; left: 31%; width: 18%; z-index: 42;}
.block-F3 { top: 51%; left: 66%; width: 18%; z-index: 45;}
.block-G1 { top: 21%; left: 30%; width: 6%; z-index: 34;}
.block-G2 { top: 37%; left: 34%; width: 6%; z-index: 41;}
.block-G3 { top: 42%; left: 62%; width: 6%; z-index: 40;}
.block-H1 { top: 28%; left: 30%; width: 6%; z-index: 36;}
.block-H2 { top: 56%; left: 81%; width: 6%; z-index: 46;}
.block-I1 { top: 24%; left: 47%; width: 17%; z-index: 32; }
.block-I2 { top: 44%; left: 79%; width: 17%; z-index: 43; }

.scroll-indicator {
    font-family: 'Geist', sans-serif;
    position: absolute;
    bottom: 95px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    opacity: 0;
    animation: fadeIn 0.8s ease forwards 1s;
}
.scroll-indicator img {
    width: 35px;
}
.scroll-indicator span {
    font-size: 0.67em;
    color: #8D88D7;
    margin-bottom: 10px;
    letter-spacing: 0.2em;
    text-transform: uppercase;
}



/* Challenge Section Styling */
.challenge-accordion {
    display: flex;
    /* margin-top: 20px; */
    position: relative;
    overflow: hidden;
    /* height: 420px; */
    margin: 0 -2%; /* This is because each of the rotating accordion items has side margins of 2%, 
    but at any given time only the outer items margins of 0px*/
}
  
.challenge-accordion-item {
    flex: 0 0 40px; /* Width of inactive items */
    transition: all 0.3s ease;
    border-radius: 8px 8px 25px 25px;
    margin: 0 2%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}
.challenge-accordion-item.active {
    flex: 1;
}
.challenge-accordion-item h3 {
    margin: 0;
    font-size: small;
}

.challenge-accordion-preview {
    /* height: 60px; */
    overflow: hidden;
    display: flex;
}  

.challenge-accordion-item:not(.active) .challenge-accordion-preview {
    display: flex;
    justify-content: center;
}
.challenge-accordion-item.active .challenge-accordion-preview {
    justify-content: center;
    display: none;
}  
  
.challenge-accordion-header {
    writing-mode: vertical-rl;
    text-orientation: mixed;
    transform: rotate(180deg);
    padding: 20px 0 0 0;
    /* box-sizing: border-box; */
    font-weight: bold;
    cursor: pointer;
    margin-top: auto; /* Aligns header to the bottom */
    display: flex;
    align-items: center;
    font-size: small;
}
  
.challenge-accordion-content {
    display: none;
    padding: 8px;
    flex-grow: 1;
}
.challenge-accordion-content p {
    font-size: x-small;
    padding: 0;
}
  
.challenge-accordion-item.active .challenge-accordion-content {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}
  
.challenge-accordion-item.active .challenge-accordion-header {
    display: none;
}
  
.challenge-accordion-picture {
    /* width: 100%; */
    /* height: 200px; */
    height: 295px;
    margin-bottom: 15px;
    border-radius: 4px;
}
  
.challenge-accordion-item:not(.active) .challenge-accordion-picture {
    /* width: 100%; */
    /* height: auto; */
    object-fit: cover;
    /* transform: translateY(-50%); */
    display: flex;
    justify-content: center;
    width: 60%;
    /* padding: 8px; */
    margin-top: 8px;
}
.challenge-accordion-item.active .challenge-accordion-picture {
    height: 315px;
    width: 100%;
    object-fit: cover;
}
  
.challenge-accordion-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 10px 2px 1px 2px;
}

.challenge-accordion-arrows-container {
    display: flex;
    min-width: fit-content;
    /* justify-content: space-around; */
}
.challenge-accordion-arrows-container button {
    /* background: none; */
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #1A2A4A;
}
.challenge-accordion-arrows-container img {
    height: 40%;
    width: 40%;
}
.challenge-accordion-arrows-container .prev-btn {
    margin-right: 3px;
}
.challenge-accordion-arrows-container .next-btn {
    margin-left: 3px;
}

.loading-bar-container {
    padding: 12px;
    width: 85px;
    border-radius: 25px;
    background: black;
}

.loading-bar {
    height: 6px;
    background-color: rgba(255, 255, 255, 0.3); /* Unloaded/unfilled part */
    width: 100%;
    border-radius: 25px;
    position: relative;
    overflow: hidden;
}
.loading-bar::after {
    content: '';
    display: block;
    height: 100%;
    width: 0;
    background-color: rgba(255, 255, 255, 0.8); /* Filled part (moving dot/bar) */
    position: absolute;
    left: 0;
    top: 0;
    transition: width 10s linear;
    border-radius: 2px; /* To match the corners of the loading bar */
}
.loading-bar.active::after {
    width: 100%;
}



/* Solution Section Styling */
.feature-accordion-container {
    display: flex;
    justify-content: space-between;
}
  
.feature-accordion-column {
    width: 31%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-accordion {
    margin-bottom: 10px;
    border-radius: 8px 8px 25px 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    height: 60px;
    position: relative;
    cursor: pointer;
}
.feature-accordion h3 {
    margin: 0;
    line-height: 1;
    font-size: small;
}
.feature-accordion.expanded {
    height: 300px;
}
.feature-accordion p {
    font-size: x-small;
    margin: 10px 0 0 0;
    line-height: 1.2;
    opacity: 0;
    max-height: 0;
    transition: opacity 0.3s ease, max-height 0.3s ease;
}
.feature-accordion.expanded p {
    opacity: 1;
    max-height: 100px; /* Adjust this value based on your content */
}

.feature-accordion-content {
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
    padding: 10px;
}

.feature-image-container {
    height: 10px;
    overflow: hidden;
    margin-bottom: 10px;
    transition: height 0.3s ease;
}

.feature-accordion.expanded .feature-image-container {
    height: 50%;
    border-radius: 4px;
}

.feature-picture {
    width: 100%;
    height: 200%; /* Double the height to allow for centering */
    object-fit: cover;
    transition: transform 0.3s ease;
    transform: translateY(-50%);
}

.feature-accordion.expanded .feature-picture {
    transform: translateY(-25%);
}

.feature-text {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.feature-toggle {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: bottom 0.3s ease;
}

.feature-accordion:not(.expanded) .feature-toggle {
    bottom: 5px; /* Adjust this value to align with the bottom of the accordion */
}

.toggle-button {
    width: 30px;
    height: 30px;
    border: none;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease;
    padding: 0;
}

.plus-icon {
    width: 75%;
    height: 75%;
    background-image: url('/images/plus.svg');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    transition: transform 0.3s ease;
}

.feature-accordion.expanded .plus-icon {
    transform: rotate(45deg);
}
    
.feature-accordion.expanded .feature-accordion-content {
    max-height: 300px;
}

.feature-accordion:not(.expanded) .feature-image-container {
    height: 10px;
    border-radius: 25px;
}
  
.feature-accordion:not(.expanded) .feature-picture {
    transform: translateY(-50%);
}

.feature-accordion:not(.expanded) p {
    opacity: 0;
    visibility: hidden;
    height: 0;
    margin: 0;
}  



/* Where We Are Section */
.timeline {
    margin: 50px auto;
    position: relative;
    /* max-width: 800px; */
}

.timeline-line {
    position: relative;
    height: 2px;
    background: linear-gradient(90deg, #E9E9E9 93%, #626262 100%);
    display: flex;
    justify-content: space-between;
    padding: 0;
    margin: 40px 0; /* Add space above and below the line */
}
/* Ensure equal spacing between milestones */
.timeline-line::before,
.timeline-line::after {
    content: '';
    width: 10px;  /* Adjust as needed */
}

.milestone {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
}

.milestone-label {
    font-family: 'Geist Mono Light', monospace;
    font-size: xx-small;
    border-radius: 25px;
    padding: 2px 8px;
    white-space: nowrap;
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}

.milestone-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    position: absolute;
    top: -9px; /* Adjust this value to center the dot on the line */
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.milestone.completed .milestone-dot {
    background: linear-gradient(180deg, #1DE378 0%, #44D7C5 100%);
}
.milestone.current .milestone-dot {
    background: linear-gradient(180deg, #6580E1 0%, #5844D7 100%);
}
.milestone.future .milestone-dot {
    background: linear-gradient(180deg, #AAAAAA 0%, #818181 100%);
}

.milestone.completed .milestone-label {
    background-color: #D6FFF0;
    color: #1C5B44;
}
.milestone.current .milestone-label {
    background-color: #F2F0FF;
    color: #2B2167;
}
.milestone.future .milestone-label {
    background-color: #F1F1F1;
    color: #696969;
}

/* Old Timeline code (may still be useful) */

/* .milestone-container {
    display: flex;
    justify-content: space-between;
    position: relative;
    padding: 20px 0;
}
.milestone-container::before {
    content: none;
}
.timeline-arrow {
    width: 100%;
    /* max-width: 800px; *
    height: auto;
    margin-bottom: 20px;
} 
.milestone-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    /* background: #1A2A4A; *
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
} 
.milestone-tooltip {
    font-family: 'Geist Mono Light', monospace;
    font-size: x-small;
    border-radius: 25px;
    padding: 2px 8px;
    white-space: nowrap;
    position: absolute;
    top: 30px;
    left: 50%;
    transform: translateX(-50%);
} 
.milestone.completed .milestone-tooltip {
    color: #1C5B44;
    background-color: #D6FFF0;
}
.milestone.current .milestone-tooltip {
    color: #2B2167;
    background-color: #F2F0FF;
}
.milestone.future .milestone-tooltip {
    color: #696969;
    background-color: #F1F1F1;
} 

* Completed milestones *
.milestone[data-milestone="conception"] .milestone-tooltip,
.milestone[data-milestone="research"] .milestone-tooltip,
.milestone[data-milestone="product design"] .milestone-tooltip {
    color: #1C5B44;
    background-color: #D6FFF0;
}

* Current milestone *
.milestone[data-milestone="internal testing"] .milestone-tooltip {
    color: #2B2167;
    background-color: #F2F0FF;
}

* Future milestones *
.milestone[data-milestone="public testing"] .milestone-tooltip,
.milestone[data-milestone="ver. 1 launch"] .milestone-tooltip {
    color: #696969;
    background-color: #F1F1F1;
}
*/



/* Advantages Section Styling */
.advantage-list {
    list-style-type: none;
    padding-left: 0;
    display: flex;
    padding: 10px 0;
    margin: 0 -2%;
}
.advantage-list li {
    margin: 2%;
    padding: 10px;
    border-radius: 25px 8px 8px 8px;
    font-size: small; /*?*/
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    width: 25%;
}
.advantage-list li strong {
    /* font-size: initial; */
    line-height: 1.1em;
    padding: 10px 0;
}
.advantage-list p {
    font-size: x-small;
    padding: 0px;
}

.advantage-icon-container {
    height: 30px;
    width: 30px;
    /* background-color: gainsboro; */
    margin-bottom: 10px;
}
.advantage-icon-container img {
    /* border: 1px solid pink; */
    box-sizing: border-box;
    padding: 1px;
    text-align: center;
}

/* TODO: get rid of whichever below advantage classes are unnecessary after adding all of the animations to the svgs */
.advantage1 {
    background-color: #E8F0FF;
}
.advantage1 .advantage-icon-container {
    display: flex;
    flex-wrap: wrap;
}
.advantage1 .advantage-icon-container img {
    flex: 1 1 50%; /* Each item takes 50% of the container width */
    height: 50%;
    transition: transform 0.25s ease-in-out; 
}
.advantage1:hover .advantage-icon-container img:nth-child(odd) {
    transform: rotate(180deg);
}
.advantage1:hover .advantage-icon-container img:nth-child(even) {
    transform: rotate(-180deg);
}

.advantage2 {
    background-color: #D6FFF0;
}
.advantage2 .advantage-icon-container {
    display: flex;
    flex-wrap: wrap;
}
/* below is for future when I switch to two separate ovals */
/* .advantage2 .advantage-icon-container img {
    height: 50%;
} */

/* below is temporary for quick/easy toggle svg */
.advantage2 .advantage-icon-container img {
    height: 100%;
}

.advantage3 {
    background-color: #FFE6FB;
}
.advantage3 .advantage-icon-container {
    display: flex;
}
.advantage3 .advantage-icon-container img {
    height: inherit;
}

.advantage4 {
    background-color: #D6FAFF;
}
.advantage4 .advantage-icon-container img {
    height: inherit;
}



/* Future Section Styling */
.future-flex-grid {
    display: flex;
    justify-content: space-between;
    height: 87vh;
    margin-top: 10px;
    margin-bottom: 30px;
}

.future-column {
    display: flex;
    flex-direction: column;
    width: 25%;
    margin: 0 -12px;
}

.future-item {
    margin: 12px;
    border-radius: 7px;
    overflow: hidden;
}

.down-carrot {
    width: 9px;
    height: 9px;
    margin: 0 2px;
    fill: currentColor;
    transform: translateX(0);
    transition: transform 0.7s ease, opacity 0.5s ease; 
}

.future-item:hover .down-carrot {
    transform: translate(95%, 100px); /* Fly down and out of the bottom */
    opacity: 0;
}
.future-item:hover .future-text p {
    opacity: 1; 
    visibility: visible;
    height: auto; 
    padding: initial; 
    max-height: max-content; 
}
.future-text:not(:hover) p {
    transition: height 1s ease, visibility 0.5s ease, opacity 0.5s ease, max-height 1s ease; /* Ensure smooth transition */
    visibility: hidden;
    opacity: 0;
    max-height: 0;
    height: 0;
}

.future-image {
    height: auto;
}

.future-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.future-column:nth-child(1) .future-item:nth-child(1) { height: 35%; color: #164F1E; background-color: #BFF6C5;}
.future-column:nth-child(1) .future-item:nth-child(2) { height: 30%; }
.future-column:nth-child(1) .future-item:nth-child(3) { height: 35%; color: #612258; background-color: #FFCFF8}

.future-column:nth-child(2) .future-item:nth-child(1) { height: 40%; }
.future-column:nth-child(2) .future-item:nth-child(2) { height: 37%; color: #1E535B; background-color: #C3F7FF;}
.future-column:nth-child(2) .future-item:nth-child(3) { height: 23%; }

.future-column:nth-child(3) .future-item:nth-child(1) { height: 35%; color: #2B2167; background-color: #D8D1FF;}
.future-column:nth-child(3) .future-item:nth-child(2) { height: 65%; }

.future-column:nth-child(4) .future-item:nth-child(1) { height: 37%; color: #203B6A; background-color: #C5DAFF;}
.future-column:nth-child(4) .future-item:nth-child(2) { height: 28%; }
.future-column:nth-child(4) .future-item:nth-child(3) { height: 35%; color: #1C5B44; background-color: #B5FCE2;}


.future-text {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: transform 1s ease; /* Smooth transition for the container */
}
.future-text h3 {
    margin: 0; /* key detail - may need to change the padding of down carrot instead of this */
    text-align: left;
    line-height: 1em;
    transition: transform 1s ease; /* Smooth transition for h3 */
}
.future-text:hover h3 {
    transform: translateY(-10px); /* Move h3 up slightly */
}
.future-text p {
    font-family: 'Geist', sans-serif;
    max-height: 0; /* key detail Start with max-height of 0 */
    padding: initial;
    opacity: 0; /* Set initial opacity to 0 */
    transition: max-height 1s ease, opacity 1s ease; /* Smooth fade-in transition */
    visibility: hidden; /* Hide the element initially */
    height: 0; /* another key detail */
    color: currentColor;
}
.future-text:hover p {
    opacity: 1; /* Change opacity to 1 on hover */
    visibility: visible; /* Make the element visible on hover */
    height: auto; /* Allow height to adjust on hover */
    padding: initial; /* Ensure padding is applied */
    max-height: max-content; /* Set a maximum height for the paragraph */
}



/* Contact Section Styling */
.contact-container {
    display: flex;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    /* padding-top: 12px; */
}
  
.contact-form {
    width: 55%;
}

#contact-form {
    display: flex;
    flex-direction: column;
}
#contact-form button {
    border: none;
    padding: 11px 0;
    border-radius: 25px;
    font-size: x-small;
    cursor: pointer;
    transition: background-color 0.3s;
    font-family: 'Geist Mono Light', monospace;
    background: linear-gradient(to bottom, #6580E1, #5844D7);
    color: white;
}
#contact-form button:hover {
    background-color: #666;
}
  
.contact-info {
    font-family: 'Geist Mono Light', monospace;
    width: 35%;
    font-size: 8pt;
}
.contact-info span {
    color: #5756A0;
}
    
.form-group {
    margin-bottom: 12px;
}
.form-group label {
    font-family: 'Geist Mono Light', monospace;
    display: block;
    margin-bottom: 5px;
    color: #333;
    font-weight: bold;
    background-color: #F2F0FF;
    width: fit-content;
    font-size: x-small;
    padding: 2px 10px;
    border-radius: 25px;
    color: #2B2167;
}
.form-group input,
.form-group textarea {
    font-family: 'Geist', sans-serif;
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #8D88D7;
    border-radius: 25px;
    /* TODO: find out how to change the font size of a placeholder rather than the user input text */
    /* font-size: 16px; */
    background-color: transparent;
}
.form-group input::placeholder, 
.form-group textarea::placeholder {
    color: #8D88D7;
    font-size: 9pt;
    /* font-size: small; */
}
.form-group textarea {
    height: 112px;
    resize: vertical;
}
.form-group textarea::placeholder {
    padding-top: 2px;
}

.social-links,
.other-info {
    margin-bottom: 30px;
}
  
.social-links a,
.info-item {
    display: flex;
    align-items: center;
    /* color: #333; */
    text-decoration: none;
    line-height: 2.4em;
    font-weight: bold;
}

.social-links img,
.info-item img {
    width: 20px;
    height: 20px;
    margin-right: 10px;
}



/* Footer Section Styling */
footer {
    color: #5756A0;
    text-align: center;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding: 0 140px 40px 140px;
    margin-top: auto;
}

/* About Page Styling */
.about-page {
    min-height: calc(100vh - 120px);
    padding: 40px 60px;
    background: linear-gradient(135deg, #F9FDFC 0%, #F0F8F6 100%);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.about-section {
    max-width: 600px;
    margin: 0 auto;
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(0, 57, 47, 0.08);
}

.logo-section {
    text-align: center;
    margin-bottom: 25px;
}

.about-logo {
    height: 50px;
    width: auto;
    opacity: 0.8;
}

.about-container h1 {
    color: #00392F;
    font-family: 'Geist', sans-serif;
    font-size: 2.4em;
    font-weight: 300;
    line-height: 1.2em;
    margin-bottom: 35px;
    text-align: center;
    letter-spacing: -0.02em;
}

.about-container h2 {
    color: #1AA28E;
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.about-content p {
    font-family: 'Geist', sans-serif;
    font-size: 1.05em;
    line-height: 1.6;
    color: #00392F;
    margin-bottom: 20px;
    font-weight: 400;
    text-align: justify;
    text-indent: 0;
}

.about-content ul {
    margin: 0 0 24px 20px;
    padding: 0;
    color: #00392F;
    font-family: 'Geist Mono Light', monospace;
    font-size: 0.95em;
}

.about-content li {
    margin-bottom: 8px;
    line-height: 1.5;
}

.back-link {
    margin-top: 40px;
    text-align: center;
}

.back-link a {
    color: #00392F;
    text-decoration: none;
    font-family: 'Geist', sans-serif;
    font-size: 0.75em;
    padding: 14px 40px;
    background: rgba(255, 255, 255, 0.15);
    border: 0.5px solid rgba(0, 57, 47, 0.2);
    border-radius: 0;
    display: inline-block;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 400;
    letter-spacing: 0.25em;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 2px 8px rgba(0, 57, 47, 0.04);
}

.back-link a::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: #00392F;
    transition: left 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: -1;
}

.back-link a:hover {
    color: white;
    border-color: #00392F;
    letter-spacing: 0.28em;
}

.back-link a:hover::before {
    left: 0;
}

/* Mobile responsiveness for about page */
@media screen and (max-width: 480px) {
    .about-page {
        padding: 20px 15px;
        min-height: calc(100vh - 80px);
    }
    
    .about-section {
        padding: 30px 25px;
        border-radius: 12px;
        max-width: 100%;
    }
    
    .about-container h1 {
        font-family: 'Geist', sans-serif;
        font-size: 2em;
        margin-bottom: 25px;
        font-weight: 300;
    }
    
    .about-content p {
        font-family: 'Geist', sans-serif;
        font-size: 0.95em;
        line-height: 1.5;
        text-align: left;
    }
    
    .back-link {
        margin-top: 30px;
    }
    
    .back-link a {
        font-family: 'Geist', sans-serif;
        padding: 10px 20px;
        font-size: 0.9em;
    }
    
    .about-logo {
        height: 40px;
    }
    
    .logo-section {
        margin-bottom: 20px;
    }
}
footer p {
    padding-bottom: 0px;
    font-weight: bold;
    font-size: 0.85em;
}
footer a {
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    background-color: #525561;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin: 5px;
}
footer a:hover {
    background-color: #7e8396;
}

.copyright {
    text-align: center;
    margin-top: 30px;
    color: #666;
}



/* Colors */
.persian-green {
    color: #1AA28E;
}

.indigo {
    color: #2B2167
}

.charcoal-indigo {
    color: #454162;
}

.dark-teal {
    color: #1E535B;
}

.dark-slate-blue {
    color: #203B6A;
}

.deep-emerald {
    color: #1C5B44;
}

.forest-green {
    color: #164F1E;
}

.plum {
    color: #612258;
}

.muted-plum {
    color: #684E64;
}

.steel-grey {
    color: #465A5D;
}

.dark-sage {
    color: #435F54;
}

.moss-green {
    color: #485B4B;
}

.stormy-blue {
    color: #4C5769;
}

/* Background colors */
.alice-blue-background {
    background-color: #E8F0FF;
}

.mint-cream-background {
    background-color: #D6FFF0;
}

.baby-pink-background {
    background-color: #FFE6FB;
}

.pale-aqua-background {
    background-color: #D6FAFF;
}

.lavender-mist-background {
    background-color: #F2F0FF;
}

.honeydew-background {
    background-color: #E5FFE8;
}

.pastel-green-background {
    background-color: #BFF6C5;
}

.pale-sky-background {
    background-color: #C3F7FF;
}

/* Gradients */
.gradient-button {
    /* colorless & reusable for any button with a gradient */
    background-color: black; /* default in case a particular button's color gradient class isn't linked properly*/
    width: 30px;
    height: 30px;
    border-radius: 50%;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    position: relative;
}

.blue-gradient {
    /* Platform Challenge Accordion arrows */
    /* Risk and Return Feature Accordion toggle button */
    background: linear-gradient(135deg, #4479D7 0%, #65BEE1 100%);
}
.vertical-blue-gradient {
    /* Platform Challenge Accordion loading bar container */
    background: linear-gradient(0deg, #4479D7 0%, #65BEE1 100%);
}

.purple-gradient {
    /* Tools Challenge Accordion arrows */
    /* Market Void Feature Accordion toggle button */
    background: linear-gradient(135deg, #5844D7 0%, #6580E1 100%);
}
.vertical-purple-gradient {
    /* Tools Challenge Accordion loading bar container */
    background: linear-gradient(0deg, #5844D7 0%, #6580E1 100%);
}  

.pink-gradient {
    /* Assessment Challenge Accordion arrows */
    /* Portfolio Integration Feature Accordion toggle button */
    background: linear-gradient(135deg, #D744C2 0%, #C665E1 100%);
}
.vertical-pink-gradient {
    /* Assessment Challenge Accordion loading bar container */
    background: linear-gradient(0deg, #D744C2 0%, #C665E1 100%);
}

.green-gradient {
    /* Models Challenge Accordion arrows */
    /* AI Powered Feature Accordion toggle button */
    background: linear-gradient(135deg, #44D758 0%, #B2E165 100%);
}
.vertical-green-gradient {
    /* Models Challenge Accordion loading bar container */
    background: linear-gradient(0deg, #44D758 0%, #B2E165 100%);
}  

.seabreeze-gradient {
    /* Pro Forma Feature Accordion toggle button */
    background: linear-gradient(90deg, #65DAE1 0%, #44B4D7 100%);
}

.mintwave-gradient {
    /* Appraisal Support Feature Accordion toggle button */
    background: linear-gradient(180deg, #1DE378 0%, #44D7C5 100%);
}


/* Responsive design */
@media screen and (max-width: 1000px) {
    .cityscape {
        display: none;
    }
}

/* Tablet Styles */
@media screen and (max-width: 768px) {
    body {
        background-color: gainsboro;
    }
    .advantage-list {
        flex-wrap: wrap;
    }
    .advantage-list li {
        flex: 1 1 40%;
    }
}

/* Mobile Styles */
@media screen and (max-width: 480px) {
    header {
        padding: 30px 20px 20px 20px;
        flex-direction: column;
        align-items: center;
        gap: 15px;
        text-align: center;
    }

    header h1 {
        order: 1;
        font-size: 1.3em;
        align-items: center;
        justify-content: center;
    }

    .logo {
        height: 30px;
    }

    .company-name {
        font-size: 1.1em;
    }

    .header-nav {
        order: 2;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    body {
        background-color: #F9FDFC;
        overflow-x: hidden;
    }

    #sticky-menu {
        display: none;
    }

    #hero, .challenge, .solution, .where, .advantages, .future {    
        padding: 0 30px 40px 30px;
    }
    .contact {
        padding: 0 30px 10px 30px;
    }

    .hero {
        min-height: calc(100vh - 120px);
        height: auto;
        padding: 20px 30px 60px 30px;
        justify-content: flex-start;
        padding-top: 60px;
    }

    .hero-words {
        margin: 0;
        max-width: 100%;
        text-align: center;
    }

    .hero h1 {
        font-size: 2em;
        line-height: 1.2em;
    }

    .hero-words p {
        font-size: 0.85em;
        line-height: 1.6em;
    }

    .cta-button-container {
        margin-top: 30px;
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .cta-button {
        font-size: 0.7em;
        padding: 12px 32px;
    }

    .cityscape {
        opacity: 0.15;
        width: 90%;
        right: -20%;
        pointer-events: none;
    }

    .city-block:hover {
        transform: none;
        filter: none;
    }

    /* TODO: make some kind of smooth transition for mobile */
    .challenge-accordion-item:not(.active) {
        display: none;
    }

    /* TODO: change which feature accordions are expanded by default for mobile*/
    .feature-accordion-container {
        display: block;
    }

    .feature-accordion-column {
        width: 100%;
    }

    .advantage-list {
        flex-direction: column;
    }
    .advantage-list li {
        width: auto;
        font-size: inherit;
    }
    .advantage-list p {
        font-size: small;
    }

    /* Future Section */
    .future-flex-grid {
        display: block;
        height: auto;
    }
    .future-image {
        display: none;
    }

    .future-column {
        width: 100%;
        margin: auto;
    }

    .future-item {
        margin: 2% 0;
    }
    
    .future-text {
        padding: 15px;
    }
    /* TODO: get rid of transformations on hover and replace them with transformations on click */

    .contact-container {
        flex-direction: column;
    }
  
    .contact-form,
    .contact-info {
        width: 100%;
    }
    
    .contact-info {
        margin-top: 30px;
    }

    .milestone-dot {
        width: 15px;
        height: 15px;
    }

    footer {
        padding: 20px 30px 30px 30px;
        text-align: center;
        justify-content: center;
    }
}
