/* Who we are page */

.the-piksel-method-section {
    padding: 64px 0;
    background-color: var(--white);
}

.the-piksel-method-section h2 {
    font-family: var(--font-heading);
    font-weight: 500;
    font-size: 32px;
    line-height: 44px;
    margin: 0;
    margin-bottom: 32px;
}

@media (max-width: 991.98px) {
    .the-piksel-method-section h2 {
        font-size: 24px;
        line-height: 38px;
    }
}

.the-piksel-method-section .section-btn {
    margin-top: 32px;
}

.method-cards-wrapper {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 24px;
    position: relative;
}

.method-card {
    flex: 1;
    padding: 50px 24px;
    border: 1px solid var(--grey-50);
    display: flex;
    align-items: center;
    position: relative;
    z-index: 1;
    background: var(--white);
}

.method-card-last {
    flex: 1.9;
}

.method-card-content {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.method-symbol {
    width: 72px;
    height: 72px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 3;
    margin: 0 -36px;
    border: 1px solid var(--grey-50);
}

.method-symbol::before {
    content: "";
    position: absolute;
    width: 56px;
    height: 56px;
    background: var(--black-title);
    border-radius: 50%;
}

.method-symbol span {
    position: relative;
    z-index: 2;
    color: var(--white);
    font-size: 20px;
    font-weight: 500;
    transform: translateY(-1px);
}

@media (max-width: 1199.98px) {
    .method-cards-wrapper {
        flex-direction: column;
    }

    .method-card {
        padding: 32px 20px;
    }

    .method-card-content {
        gap: 24px;
    }

    .method-symbol {
        margin: -32px 0;
    }

    .the-piksel-method-section .section-btn {
        margin-top: 64px;
    }
}

.introduction-section {
    min-height: 500px;
    height: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 28px;
    padding: 64px 0;
    position: relative;
}

.introduction-section .introduction-content {
    display: flex;
    flex-direction: column;
    position: relative;
    max-width: 710px;
    text-align: center;
    align-items: center;
    gap: 28px;
}

.introduction-section .introduction-content .caption-bold {
    color: var(--blue);
    text-transform: uppercase;
}

.our-values-section-about {
    color: var(--grey-100);
    padding-bottom: 64px;
}

.our-values-section-about h2 {
    color: var(--white);
}

@media (min-width: 768px) {
    .introduction-section {
        padding-top: 128px;
        padding-bottom: 128px;
    }

    .our-values-section-home .introduction-section {
        padding-bottom: 64px;
    }
}

@media (min-width: 992px) {
    .introduction-section {
        padding-top: 170px;
        padding-bottom: 170px;
    }

    .our-values-section-home .introduction-section {
        padding-bottom: 64px;
    }
}

@media (max-width: 991.98px) {
    .introduction-section {
        min-height: auto;
    }
}

.introduction-section .introduction-content .introduction-titles {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.introduction-section::before, .introduction-section::after {
    content: "";
    position: absolute;
    width: 58px;
    height: 52.7px;
    background: url('../assets/imgs/plus-icon.svg') no-repeat center;
    background-size: contain;
    display: none;
    transform: rotate(0deg);
    transition: transform 1.2s ease-out;
}

.introduction-section.is-visible::before {
    transform: rotate(180deg);
}

.introduction-section.is-visible::after {
    transform: rotate(-180deg);
}

@media (min-width: 1200px) {
    .introduction-section::before, .introduction-section::after {
        display: block;
    }

    .introduction-section::before {
        top: 140px;
        left: 32px;
    }

    .introduction-section::after {
        bottom: 110px;
        right: 32px;
    }
}

.values-wrapper {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

.values-timeline {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.values-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    left: 6.5px;
    width: 1.5px;
    height: 100%;
    background-color: var(--grey-500);
}

.value-item {
    display: flex;
    gap: 25px;
}

.value-marker img {
    position: absolute;
    top: 9px;
    left: 0;
    filter: brightness(0) invert(1);
}

@media (min-width: 769px) and (max-width: 1199.98px) {
    .value-marker img {
        top: 12px;
    }
}

.value-content {
    display: flex;
    flex-direction: column;
    gap: 24px
}

.value-top {
    display: flex;
    flex-direction: row;
    gap: 16px;
}

.value-top span {
    font-family: var(--font);
    font-weight: 400;
    font-size: 28px;
    line-height: 40px;
    margin: 0;
    color: var(--white);
}

@media (max-width: 991.98px) {
    .value-top span {
        font-size: 22px;
        line-height: 34px;
    }
}

.value-content p {
    color: var(--grey-50);
}

.pulse-btn {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 2px solid var(--blue);
    box-shadow: 0 0 30px var(--blue);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--white);
    animation: pulse 2.5s ease-in-out infinite;
}

.pulse-btn:hover .btn-text {
    text-decoration: underline;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.values-section-desktop {
    --radius: 280px;
    --active-color: var(--white);
    --inactive-color: var(--grey-500);
}

.values-wrapper-desktop {
    position: relative;
    min-height: 600px;
}

.orbit-area {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 50%;
    height: 600px;
    overflow: hidden;
    z-index: 2;
}

.team-btn {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(30%, -50%);
    z-index: 3;
}

.orbit-path {
    position: absolute;
    top: 50%;
    left: calc(-1 * var(--radius));
    width: calc(var(--radius) * 2);
    height: calc(var(--radius) * 2);
    border: 2px solid var(--grey-500);
    border-radius: 50%;
    transform: translateY(-50%);
}

.values-points-list {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.values-points-list li {
    position: absolute;
    left: 0;
    top: 0;
    display: flex;
    gap: 20px;
    cursor: default;
    font-size: 24px;
    color: var(--inactive-color);
    transition: all 0.4s ease;
    transform: rotate(var(--angle)) translateX(var(--radius)) rotate(calc(var(--angle) * -1));
}

.orbit-dot {
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
}

.orbit-dot img {
    filter: invert(60%) sepia(7%) saturate(306%) hue-rotate(191deg) brightness(92%) contrast(90%);
}

.orbit-text {
    position: absolute;
    left: 20px;
    transform: translateY(-50%);
    display: flex;
    gap: 16px;
    color: var(--inactive-color);
    transition: all 0.4s ease;
}

.values-points-list li.active .orbit-dot img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(1);
}

.values-points-list li.active .orbit-text {
    font-size: 28px;
    color: var(--active-color);
}

.description-area {
    position: absolute;
    right: 0;
    top: 0;                
    height: 100%;        
    width: 40%;
    max-width: 521px;
    z-index: 3;
    display: flex;
    align-items: center;    
}

.description-area p {
    color: var(--grey-50);
    font-size: 20px;
    font-style: italic;
    text-shadow: 0 8px 4px var(--black-title);
}

.orbit-description {
    position: absolute;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.orbit-description.active {
    opacity: 1;
}

.image-layer {
    position: absolute;
    right: 0;
    top: 0;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    overflow: hidden;
    z-index: 1;
}

.orbit-image {
    position: absolute;
    object-fit: cover;
    opacity: 0;
    transform: scale(1.05);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.orbit-image.active {
    opacity: 0.35;
    transform: scale(1);
}

.our-values-section-about .pulse-btn:hover .btn-text {
    text-decoration: none;
}

.the-piksel-method-section .section-btn, .our-values-section-home .section-btn, .our-team-section .section-btn {
    display: flex;
    justify-content: center;
}

.our-team-section {
    padding-bottom: 64px;
    background-color: var(--white);
}

.team-group-level-1, .team-group-level-2, .team-group-level-3 {
    margin-bottom: 64px;
}

.team-group-title {
    text-transform: uppercase;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--grey-50);
}

.team-cards-wrapper {
    display: flex;
    justify-content: center;
    column-gap: 16px;
    margin-top: 60px;
}

.team-member-card {
    display: block;
    color: inherit;
    width: 140px;
    background: none;
    border: none;
    padding: 0;
    text-align: inherit;
}

.team-member-card-image {
    position: relative;
    height: 140px;
    background-color: var(--dark-blue);
    margin-bottom: 28px;
    overflow: hidden;
}

.team-member-card-image img {
    position: absolute;
    inset: 0;           
    width: 100%;          
    height: 100%;           
    object-fit: cover;     
    object-position: center top;
}

.team-card-content {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.team-pagination-controls {
    display: flex;
    justify-content: center;
    gap: 16px;
}

.team-pagination-controls button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: none;
    background-color: var(--blue);
    border-radius: 50%;
    cursor: pointer;
}

.team-pagination-controls button:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

@media (min-width: 375px) {
    .team-member-card {
        width: 168px;
    }

    .team-member-card-image {
        height: 168px;
    }
}

@media (min-width: 400px) {
    .team-member-card {
        width: 180px;
    }

    .team-member-card-image {
        height: 180px;
    }
}

.team-group-level-2 .team-pagination .team-cards-wrapper {
    margin-bottom: 32px;
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .team-cards-wrapper {
        margin-top: 70px;
    }

    .team-member-card {
        width: 200px;
    }

    .team-member-card-image {
        height: 200px;
    }
}

@media (min-width: 992px) {
    .team-cards-wrapper {
        margin-top: 70px;
    }

    .team-member-card {
        width: 244px;
    }

    .team-member-card-image {
        height: 252px;
    }

    .team-member-card-image img {
        transition: transform 0.35s ease;
    }

    .team-member-card:hover .team-member-card-image img {
        transform: scale(1.08);
    }
}

@media (min-width: 1200px) {
    .team-group-level-1 {
        padding-top: 64px;
        padding-bottom: 64px;
        background-color: var(--dark-blue);
    }

    .team-group-level-1 .team-group-title {
        color: var(--white);
        border-bottom: none;
        text-align: center;
    }

    .team-group-level-1 .team-cards-wrapper {
        align-items: center;
    }

    .team-group-level-1 .team-card-item::before {
        content: "";
        position: absolute;
        width: 366px;
        height: 366px;
        border-radius: 366px;
        background: radial-gradient(50% 50% at 50% 50%, rgba(70, 121, 143, 0.09) 0%, rgba(70, 121, 143, 0.30) 80%);
        filter: blur(50px);
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 0;
    }

    .team-group-level-1 .team-card-item .team-member-card {
        position: relative;
        z-index: 1;
    }

    .team-group-level-1 .team-member-card-image {
        background-color: transparent;
        border-bottom: 8px solid var(--blue);
    }

    .team-group-level-1 .team-card-content {
        color: var(--white);
        text-align: center;
    }

    .avatars {
        flex-direction: row;
        gap: 20px;
    }

    .avatar {
        width: 100px;
        height: auto;
        object-fit: cover;
        opacity: 30%;
        border-bottom: 5px solid var(--blue);
    }
}

@media (min-width: 1400px) {
    .avatar {
        width: 140px;
    }
}

@media (min-width: 768px) {
    .team-group-level-2 .team-pagination {
        max-width: 700px;
        margin-inline: auto;
        overflow-x: auto;
        scrollbar-width: thin;
        scrollbar-color: var(--blue) transparent;
        scroll-snap-type: x mandatory;
        scroll-behavior: smooth;
    }

    .team-group-level-2 .team-pagination::-webkit-scrollbar {
        height: 8px;
    }

    .team-group-level-2 .team-pagination::-webkit-scrollbar-track {
        background: transparent;
    }

    .team-group-level-2 .team-pagination::-webkit-scrollbar-thumb {
        background-color: var(--blue);
        border-radius: 0px !important;
    }

    .team-group-level-2 .team-cards-wrapper {
        justify-content: unset;
    }

    .team-group-level-2 .team-card-item {
        scroll-snap-align: center;
    }
}

.our-team-section .offcanvas {
    z-index: 10000;
    background-color: var(--dark-blue);
    color: var(--white);
    padding: 16px;
    width: 600px;
}

.our-team-section .offcanvas.offcanvas-end {
    border-left: none;
}

.our-team-section .offcanvas .offcanvas-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}

.our-team-section .offcanvas .offcanvas-header-content {
    display: flex;
    flex-direction: column;
    gap: 8px
}

.our-team-section .offcanvas .offcanvas-header h4 {
    color: var(--white);
}

.our-team-section .offcanvas .offcanvas-header .btn-close {
    margin-top: 6px;
}

.our-team-section .offcanvas #teamMemberRole {
    margin-bottom: 21px
}

.our-team-section .offcanvas .offcanvas-body {
    display: flex;
    flex-direction: column;
    gap: 32px;
    padding-top: 0;
}

.our-team-section .offcanvas .offcanvas-body .team-member-sidebar-image {
    width: 202px;
    margin-inline: auto;
}

@media (max-width: 991.98px) {
    .our-team-section .offcanvas .offcanvas-body .team-member-sidebar-image {
        width: 197px;
    }
}

.our-team-section .offcanvas .offcanvas-body .team-member-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.our-team-section .offcanvas .offcanvas-body .team-detail-header {
    all: unset;
    width: 100%;
    display: flex;
    justify-content: space-between;
    gap: 8px;
    align-items: start;
    cursor: pointer;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--grey-300);
    margin-bottom: 20px;
}

.our-team-section .offcanvas .offcanvas-body .team-detail-header img {
    filter: brightness(0) invert(1);
    margin-top: 4px;
    transition: transform 0.2s ease;
}

.our-team-section .offcanvas .offcanvas-body .team-detail-header.is-open img {
    transform: rotate(180deg);
}

.our-team-section .offcanvas .offcanvas-body .text {
    color: var(--grey-100);
}

.our-team-section .offcanvas .offcanvas-body::-webkit-scrollbar {
    width: 8px;
}

.our-team-section .offcanvas .offcanvas-body::-webkit-scrollbar-track {
    background: var(--grey-80);
}

.our-team-section .offcanvas .offcanvas-body::-webkit-scrollbar-thumb {
    background-color: var(--blue);
}