body.about-page {
    background: #FFFFFF;
    overflow-x: hidden;
    min-height: auto;
}

:root {
    --total-items: 9;
    --item-width: 10vw;
    --item-height: calc(var(--item-width) * 2);
    --item-gap: 1.5vw;
    --cycle-time: 30s;
    --shift-time: calc(var(--cycle-time) / var(--total-items));
    --wave-time: var(--cycle-time);
}

.about-hero-gallery {
    width: 100%;
    padding-top: 15vw;
    padding-bottom: 20vw;
    display: flex;
    justify-content: flex-start;
    overflow: hidden;
}

.gallery-track {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: var(--item-gap);
    width: max-content;
    animation: scrollX var(--cycle-time) linear infinite;
    will-change: transform;
}

.gallery-item {
    flex: 0 0 var(--item-width);
    height: var(--item-height);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    animation: waveY var(--wave-time) ease-in-out infinite;
    animation-delay: calc(((9.5 - var(--i)) * var(--shift-time)) - (var(--wave-time) * 10));
    transition: flex 0.8s ease-out, filter 0.8s ease, box-shadow 0.8s ease;
    z-index: 1;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.gallery-track:has(.gallery-item.is-active) {
    animation-play-state: paused;
}

.gallery-track:has(.gallery-item.is-active) .gallery-item {
    animation-play-state: paused;
}

.gallery-track:has(.gallery-item.is-active) .gallery-item:not(.is-active) {
    flex: 0 0 var(--item-width);
    transition: flex 1.2s cubic-bezier(0.19, 1, 0.22, 1);
}

.gallery-item.is-active {
    flex: 0 0 30vw;
    z-index: 10;
    transition: flex 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.1s,
        box-shadow 1.2s ease;
}

@media (hover: hover) and (pointer: fine) {
    .gallery-track:has(.gallery-item:hover) {
        animation-play-state: paused;
    }

    .gallery-track:has(.gallery-item:hover) .gallery-item {
        animation-play-state: paused;
    }

    .gallery-track:has(.gallery-item:hover) .gallery-item:not(:hover) {
        flex: 0 0 var(--item-width);
        transition: flex 1.2s cubic-bezier(0.19, 1, 0.22, 1);
    }

    .gallery-item:hover {
        flex: 0 0 30vw;
        z-index: 10;
        transition: flex 1.5s cubic-bezier(0.19, 1, 0.22, 1) 0.1s,
            box-shadow 1.2s ease;
    }
}

@keyframes scrollX {
    from {
        transform: translateX(calc(-1 * var(--total-items) * (var(--item-width) + var(--item-gap))));
    }

    to {
        transform: translateX(0);
    }
}

@keyframes waveY {

    0%,
    100% {
        transform: translateY(18vw);
    }

    50% {
        transform: translateY(-8vw);
    }
}

.solution-section-wrapper {
    height: 150vh;
    margin-top: 5%;
    position: relative;
}

.solution-sticky-zone {
    position: sticky;
    top: 30vh;
    width: 100%;
}

.testimonial-title {
    font-size: 7vw;
    line-height: 1.2;
    margin: 0;
}

.solution-text-1 {
    margin-left: 10%;
}

.solution-right-group {
    width: 100%;
    text-align: right;
    padding-right: 5%;
}

.brand-line {
    position: relative;
    overflow: hidden;
    height: 1.2em;
    line-height: 1.2em;
    display: block;
    width: fit-content;
    margin-left: auto;
    margin-right: 5%;
    padding-right: 1em;
    text-align: left;
}

.brand-line .text-old {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    white-space: nowrap;
    height: 100%;
    color: #BDBDBD;
}

.brand-line .text-new {
    position: absolute;
    top: 0;
    left: 0;
    white-space: nowrap;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: 100%;
    height: 100%;
    color: #BDBDBD;
    background-color: #ffffff;
    -webkit-clip-path: inset(100% 0 0 0);
    clip-path: inset(100% 0 0 0);
}

.scroll-slide-up {
    opacity: 0;
    transform: translateY(60px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    transition-delay: 0.3s;
    will-change: transform, opacity;
}

.scroll-slide-up.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.about-intro-section {
    padding: 100px 0 0 0;
    background-color: #ffffff;
}

.about-content-row {
    margin-left: -20px;
}

.about-intro-section .desc-text {
    color: #757575;
    line-height: 1.4;
    font-size: clamp(18px, 1.6vw, 28px);
    font-weight: 400;
}

.team-image-wrapper {
    width: 100%;
    margin-top: 40px;
    margin-bottom: 150px;
    overflow: hidden;
}

.team-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    border-radius: 12px;
    transition: transform 1s ease;
}

.workflow-section {
    height: 400vh;
    position: relative;
    padding: 0;
}

.workflow-sticky-zone {
    position: sticky;
    top: 2vh;
    padding: 50px 0 100px 0;
    overflow: hidden;
}

.workflow-content-row {
    margin-left: -20px;
}

.workflow-slogan {
    font-size: clamp(18px, 1.6vw, 28px);
    line-height: 1.5;
    color: #757575;
    font-weight: 500;
    max-width: 90%;
}

.workflow-slider-track {
    flex-wrap: nowrap;
    gap: 5rem;
}

.workflow-step {
    flex: 0 0 55% !important;
    max-width: 55% !important;

    display: grid;
    grid-template-rows: auto 1fr auto;

    opacity: 0.5;

    transition: opacity 0.4s ease;
}

.workflow-step.is-active {
    opacity: 1;
}

.step-top {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.step-number,
.step-title,
.step-desc {
    transition: color 0.3s ease, opacity 0.3s ease;
}

.step-number {
    font-size: 1.2rem;
    color: #BDBDBD;
}

.step-title {
    font-size: clamp(2rem, 2.5vw, 2.5rem);
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    color: #BDBDBD;
}

.step-desc {
    font-size: clamp(18px, 1.6vw, 28px);
    line-height: 1.6;
    margin: 0.5rem 0;
    color: #BDBDBD;
}

.workflow-step.is-active .step-title {
    color: #111;
}

.workflow-step.is-active .step-desc,
.workflow-step.is-active .step-number {
    color: #666;
}

.step-image-wrapper {
    opacity: 0.35;
    transform: scale(0.98);
    transition: opacity 0.35s ease, transform 0.35s ease;
    will-change: transform, opacity;
}

.workflow-step.is-active .step-image-wrapper {
    opacity: 1;
    transform: scale(1);
}

.step-image-wrapper img {
    width: 100%;
    display: block;
    border-radius: 10px;
    aspect-ratio: 3/2;
    object-fit: cover;

    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.06);
}

.members-section{
    padding-bottom: 100px;
}

.members-section .text-left {
    padding-left: 20vw; 
}

.members-section .text-right {
    padding-right: 20vw; 
}

.members-grid-container {
    padding-top: 50px;
}

.member-card {
    margin-bottom: 20px;
    width: 80%; 
    margin-inline: auto; 
}

.member-card img {
    width: 100%;
    object-fit: cover;
    border-radius: 8px; 
    margin-bottom: 15px;
    filter: grayscale(0%);
}

.member-name {
    font-size: clamp(18px, 1.6vw, 28px);
    font-weight: 700;
    margin-bottom: 5px;
    color: #111;
}

.member-role {
    font-size: clamp(12px, 0.85vw, 17px);
    color: #8A8A8A;
    text-transform: none;
}

.members-section.dark-mode {
  background-color: #111111;
}

.members-section,
.members-section .testimonial-title,
.members-section .member-card,
.members-section .member-name,
.members-section .member-role {
  transition: color 0.6s ease, background-color 0.6s ease, border-color 0.6s ease;
}

.members-section.dark-mode .testimonial-title,
.members-section.dark-mode .member-name,
.members-section.dark-mode .member-role {
  color: #ffffff !important;
}

.solution-sticky-zone,
.about-intro-section,
.members-section,
.services-intro-section,
.services-detail-section {
    overflow-x: hidden;
    width: 100%;
}

/* TABLET */
@media (max-width: 1024px) and (min-width: 768px) {
    :root {
        --item-width: 15vw;
        --item-gap: 2vw;
    }

    .gallery-item.is-active {
        flex: 0 0 45vw;
    }

    @media (hover: hover) and (pointer: fine) {
        .gallery-item:hover {
            flex: 0 0 45vw;
        }
    }

    .solution-section-wrapper {
        height: 140vh;
        margin-top: 15vw;
    }

    .solution-sticky-zone {
        top: 20vh;
    }

    .testimonial-title {
        font-size: 9vw;
    }

    .solution-right-group {
        padding-right: 4%;
        margin-top: 1.5vw;
    }

    .brand-line {
        margin-right: 4%;
        padding-right: 0.8em;
        margin-top: 1.5vw;
    }

    .custom-nudge {
        margin-left: auto;
    }

    .about-text-left {
        padding-right: 1.5rem;
    }

    .about-text-right {
        padding-left: 1.5rem;
    }

    .workflow-section {
        height: auto;
        padding: 0;
    }

    .workflow-sticky-zone {
        position: relative;
        top: 0;
        padding: 0;
    }

    .workflow-left-col {
        margin-bottom: 3rem;
    }

    .workflow-slogan {
        transform: none !important;
        margin-bottom: 50px !important;
        opacity: 1 !important;
    }

    .workflow-slider-track {
        flex-direction: column;
        gap: 3rem;
        transform: none !important;
    }

    .workflow-step {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        transition: opacity 0.15s ease;
    }

    .step-image-wrapper {
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    .step-number,
    .step-title,
    .step-desc {
        transition: color 0.15s ease;
    }
}

/* MOBILE */
@media (max-width: 765px) {
    :root {
        --item-width: 25vw;
        --item-gap: 3vw;
    }

    .about-hero-gallery {
        padding-top: 30vw;
        padding-bottom: 30vw;
    }

    .gallery-item.is-active {
        flex: 0 0 76vw;
    }

    @media (hover: hover) and (pointer: fine) {
        .gallery-item:hover {
            flex: 0 0 76vw;
        }
    }

    .solution-section-wrapper {
        margin-top: 20vw;
        height: 120vh;
    }

    .solution-sticky-zone {
        top: 15vh;
    }

    .testimonial-title {
        font-size: 11vw;
    }

    .solution-text-1 {
        margin-left: 0;
    }

    .solution-right-group {
        padding-right: 3%;
        margin-top: 4vw;
    }

    .brand-line {
        padding-right: 0.8em;
        margin-top: 4vw;
    }

    .workflow-section {
        height: auto;
        padding: 0;
    }

    .workflow-sticky-zone {
        position: relative;
        top: 0;
        padding: 0;
    }

    .workflow-left-col {
        margin-bottom: 3rem;
    }

    .workflow-slogan {
        transform: none !important;
        margin-bottom: 50px !important;
        opacity: 1 !important;
    }

    .workflow-slider-track {
        flex-direction: column;
        gap: 3rem;
        transform: none !important;
    }

    .workflow-step {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        transition: opacity 0.15s ease;
    }

    .step-image-wrapper {
        transition: opacity 0.15s ease, transform 0.15s ease;
    }

    .step-number,
    .step-title,
    .step-desc {
        transition: color 0.15s ease;
    }

    @keyframes waveY {

        0%,
        100% {
            transform: translateY(25vw);
        }

        50% {
            transform: translateY(-12vw);
        }
    }
}

@media (min-width: 1025px) {
    .custom-nudge {
        margin-left: 15%;
    }

    .about-text-left {
        padding-right: 3rem;
    }

    .about-text-right {
        padding-left: 3rem;
    }

    .workflow-steps-container {
        padding-top: calc(1.2rem + 0.75rem);
    }
}