/* About us page */
/* Grid Layout */
.team-members-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    margin: 20px 0;
}

/* Card Styles */
.team-member-card {
    position: relative;
    transition: 0.3s ease;
    cursor: pointer;
}

.member-country {
    position: absolute;
    top: 20px;
    left: 20px;
    color: #121212;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
    border-radius: 10px;
    background:  #B4FA41;
    padding: 8px 8px 4px 8px;
    display: none;
}

.modal-member-country {
    color: #121212;
    font-size: 18px;
    font-family: 'Campton';
    text-transform: capitalize;
    font-style: normal;
    font-weight: 400;
    line-height: 25.2px;
    border-radius: 10px;
    background: #B4FA41;
    padding: 6px 10px;
    display: flex;
    justify-content: center;
    height: 34px;
}

.cv-card-hover .member-country {
    display: block;
}

.team-member-card.cv-card-hover {
    background: #C378FF;
    border-radius: 32px 32px 0 0;
}

.team-member-image img {
    width: 100%;
    height: auto;
    margin-bottom: 40px;
    aspect-ratio: 5 / 4;
    object-fit: cover;
    border-radius: 8px;
}

.cv-card-hover .team-member-image img {
    border-radius: 8px 8px 0 0;
}

.team-member-card h3 {
    color: #EEE;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: 110%;
    text-transform: uppercase;
    margin-left: 20px;
    margin-right: 20px;
    padding-bottom: 40px;
    border-bottom: 1px solid #666666;
    letter-spacing: 2px;
}

.team-member-card.cv-card-hover h3 {
    color: #121212;
    border-bottom: 1px solid #121212;
}

.team-member-card p {
    color: #A0A0A0;
    margin: 20px;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.6px;
}

.team-member-card.cv-card-hover p {
    color: #121212;
}

/* Modal Styles */
.team-member-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #C378FF;
    z-index: 1050;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
}

.portfolio-modal {
    position: fixed;
    top: 0;
    right: -100%;
    width: 100%;
    height: 100%;
    background: #FF4900;
    z-index: 1050;
    overflow-y: auto;
    transition: right 0.3s ease-in-out;
}

.member-modal-active,
.portfolio-modal-active {
    overflow: hidden;
}

.portfolio-modal-active .member-modal-col-right {
    z-index: -1;
}

.portfolio-modal-active .mm-scr-content > .simplebar-track {
    display: none;
}

.team-member-modal.active,
.portfolio-modal.active {
    right: 0;
}

.member-modal-active.et_fixed_nav #main-header,
.porfolio-modal-active.et_fixed_nav #main-header {
    z-index: 1 !important;
}

.member-modal-col-right img {
    width: auto;
    height: auto;
    max-height: 900px;
}

.member-modal-wrap,
.portfolio-modal-wrap {
    display: flex;
    flex-direction: row;
    max-width: 1440px;
    margin: 0 auto;
}

.member-modal-col-left,
.member-modal-col-right {
    width: 50%;
}

.portfolio-modal-col-left {
    width: 60%;
}

.portfolio-modal-col-right {
    width: 40%;
    position: relative;
    height: 100%;
}

.member-modal-col-right {
    position: relative;
}

.mm-social-wrap {
    position: absolute;
    top: 100px;
    display: flex;
    flex-direction: column;
    left: 40px;
    gap: 16px;
}

.mm-social-wrap img {
    height: 48px;
    width: auto;
}

.member-modal-col-left,
.portfolio-modal-col-left {
    padding: 64px 0 64px 80px;
    position: relative;
}

.member-modal-col-left .modal-close,
.portfolio-modal-close {
    height: 16px;
    width: auto;
    cursor: pointer;
}

.mm-title {
    color: #121212;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    padding-bottom: 40px;
    border-bottom: 1px solid #121212;
    display: flex;
    align-items: center;
    gap: 20px;
}

.mm-subgroup {
    margin-top: 20px;
    color: #121212;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.6px;
}

.about-member {
    margin-top: 45px;
}

.about-member p {
    color: #121212;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33.6px;
}

.mm-back-wrap,
.po-back-wrap {
    height: 56px;
}

.mm-scr-content,
.portfolio-scr-content {
    overflow-y: auto;
    max-height: 80vh;
    padding-right: 80px;
}

.member-portfolio {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.mm-additional-picture-wrap {
    margin-top: 120px;
    text-align: center;
}

.member-logo-wrap {
    display: flex;
    justify-content: center;
    align-items: center;
    border: 1px solid #BEBEBE;
    background: #ffffff;
    border-radius: 10px;
    padding: 34.616px 10.651px;
    transition: .3s ease;
}

.member-logo-wrap:hover {
    border: 1px solid #FF4900;
}

.member-logo-wrap img {
    height: 44px;
    width: auto;
    filter: grayscale(1);
}

.mm-portfolio-title {
    color: #121212;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    margin-bottom: 40px;
    margin-top: 120px;
}

body.page-id-210182 .et_pb_module.et_pb_text_align_left .et_pb_text_inner h2{
    line-height: 71px;
}

@media (max-width: 768px) {
    .team-member-modal.active {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1050;
        overflow-y: auto;
        transition: right 0.3s ease-in-out;
        position: fixed;
        background: #C378FF;
    }

    .portfolio-modal.active {
        top: 0;
        right: 0;
        bottom: 0;
        left: 0;
        width: 100%;
        height: 100%;
        z-index: 1050;
        overflow-y: auto;
        transition: right 0.3s ease-in-out;
        position: fixed;
    }

    .team-members-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .team-member-modal {
        box-sizing: border-box;
    }

    .member-modal-wrap,
    .portfolio-modal-wrap {
        align-items: stretch;
    }

    .mm-scr-content {
        max-height: 100%;
        height: 100%;
        padding: 0;
    }

    .member-modal-col-left,
    .portfolio-modal-col-left {
        padding: 94px 16px 64px 16px;
        width: 100%;
    }

    .member-modal-col-left,
    .member-modal-col-right,
    .portfolio-modal-col-right {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .team-members-grid {
        grid-template-columns: 1fr;
    }
}

@media only screen and (max-width: 768px) {
    body .our-life-title,
    body .our-story-title {
        font-size: 36px;
        font-style: normal;
        font-weight: 700;
        line-height: 39px;
    }
}


.portfolio-bottom-wrap {
    margin-top: 80px;
}

.portfolio-bottom {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    border-bottom: 1px solid #121212;
    padding-bottom: 40px;
    padding-top: 40px;
}

.portfolio-bottom:last-of-type {
    border: none;
}

.portfolio-bottom span {
    color: #121212;
    font-size: 24px;
    font-style: normal;
    line-height: 33px;
}

.portfolio-item-year span {
    font-weight: 700;
}

.portfolio-heading {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #121212;
    padding-bottom: 30px;
}

.portfolio-heading-wrap {
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: center;
}

.portfolio-heading-wrap h3 {
    color: #121212;
    font-size: 44px;
    font-style: normal;
    font-weight: 700;
    line-height: 48px;
    text-transform: uppercase;
    padding: 0;
}

.portfolio-first-image {
    width: auto;
    height: auto;
    max-height: 900px;
}

.portfolio-modal-founders {
    position: absolute;
    bottom: 64px;
    padding-left: 40px;
}

.portfolio-modal-founders .ff-title {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 700;
    line-height: 33px;
    margin-bottom: 5px;
    padding: 0;
}

.portfolio-modal-founders .ff-item {
    color: #FFF;
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 33px;
    margin-bottom: 5px;
    padding: 0;
}

@media only screen and (max-width: 768px) {
    .member-portfolio {
        grid-template-columns: repeat(2, 1fr);
    }

    .member-modal-col-right,
    .portfolio-modal-col-right {
        display: none;
    }

    .member-modal-col-img-mobile,
    .portfolio-modal-image-mobile {
        position: relative;
        padding-top: 20px;
    }

    .member-modal-col-img-mobile > img,
    .portfolio-modal-image-mobile > img {
        border-radius: 8px;
    }

    .mm-social-wrap {
        top: 36px;
        left: 16px;
    }

    .about-member {
        margin-top: 50px;
    }

    .mm-back-wrap {
        position: fixed;
        top: 0;
        z-index: 1;
        background: #C378FF;
        width: 100%;
        padding-top: 40px;
        height: 96px;
    }

    .portfolio-modal-active .mm-back-wrap {
        display: none;
    }

    .po-back-wrap {
        position: fixed;
        top: 0;
        z-index: 2;
        background: #FF4900;
        width: 100%;
        padding-top: 40px;
        height: 96px;
    }

    .portfolio-bottom span {
        font-size: 16px;
    }

    .portfolio-bottom {
        padding-bottom: 20px;
        padding-top: 20px;
    }

    .portfolio-bottom-wrap {
        margin-top: 60px;
    }

    .portfolio-modal-founders {
        position: relative;
        bottom: 0;
        padding: 0;
        margin-top: 10px;
    }

    .portfolio-modal-founders .ff-title {
        color: #121212;
        font-size: 16px;
        line-height: 22px;
    }

    .portfolio-modal-founders .ff-item {
        color: #121212;
        font-size: 16px;
        font-weight: 400;
        line-height: 22px;
    }

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

    .mm-subgroup {
        font-size: 16px;
        font-weight: 700;
    }

    .about-member p {
        font-size: 16px;
        line-height: 22px;
    }

    .portfolio-logo img {
        margin-top: 10px;
    }

    .mm-portfolio-title {
        font-size: 36px;
        margin-top: 60px;
    }

    .mm-additional-picture-wrap {
        margin-top: 60px;
    }

    .portfolio-scr-content {
        height: 100%;
        max-height: 100%;
        padding: 0;
    }

    .modal-close.for-mobile,
    .portfolio-modal-close.for-mobile {
        height: 26px;
    }

    .portfolio-heading-wrap {
        justify-content: space-between;
        width: 100%;
    }
}

@media only screen and (min-width: 769px) {
    .member-modal-col-img-mobile {
        display: none;
    }

    .portfolio-modal-image-mobile {
        display: none;
    }
}


/* Our story grid sequence */
.our-col-wrap {
    text-align: center;
}

.our-heading {
    min-height: 50px;
}

.our-heading span {
    color: #BEBEBE;
    font-family: 'Titling Gothic FB Skyline Bold';
    font-size: 40px;
    font-style: normal;
    font-weight: 700;
    line-height: 44px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.our-year span {
    color: #999;
    font-family: 'Campton';
    font-size: 24px;
    font-style: normal;
    font-weight: 400;
    line-height: 31px;
}

.our-story-section {
    height: 550px;
    margin-top: 120px;
    position: relative;
    overflow: hidden;
}

.our-story-row {
    gap: 20px;
    height: 100%;
    align-items: start;
    padding-top: 100px;
    padding-bottom: 150px;
    display: inline-flex
;
}

.our-col {
    opacity: 0.3;
    text-align: center;
    width: 240px;
    margin-right: 20px;
}

.our-timeline {
    background: #FF4900;
    height: 4px;
    position: absolute;
    top: 50%;
    left: 0;
    width: 0;
    transform: translateY(-50%);
}

.our-timeline svg, .our-timeline-mobile svg{
    position: absolute;
    right: -5px;
    top: 2px;
    transform: translateY(-50%);
    width: 20px;
    height: 22px;
}

.our-dot-wrap {
    position: relative;
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.our-dot {
    width: 24px;
    height: 24px;
    background: #FF4900;
    border-radius: 50%;
}

.skip-wrap {
    text-align: right;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.skip-btn {
    cursor: pointer;
}

.skip-btn img {
    height: 27px;
}

@media only screen and (max-width: 768px) {
    .carousel-container {
        position: relative;
        overflow: hidden;
        width: 100%;
    }

    .team-members-grid {
        display: flex;
        transition: transform 0.5s ease;
    }

    .team-member-card {
        min-width: 100%;
        box-sizing: border-box;
    }

    .carousel-dot-black,
    .carousel-dot-life,
    .carousel-dot-story {
        width: 8px;
        height: 8px;
    }

    .member-country {
        display: block;
    }

    .team-member-card h3 {
        font-size: 26px;
        padding-bottom: 20px;
    }

    .team-member-image img {
        margin-bottom: 30px;
    }

    .team-member-card p {
        font-size: 16px;
        margin: 20px 20px 30px 20px;
    }

}

@media only screen and (max-width: 768px) {
    .our-story-section {
        overflow: hidden;
        position: relative;
        height: auto;
        margin-top: 0;
    }

    .our-story-title {
        position: relative !important;
    }

    .our-story-row {
        display: flex;
        overflow-x: scroll;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        gap: 20px;
        padding-bottom: 10px;
        padding-top: 60px;
        z-index: 2;
        position: relative;
    }

    .our-story-row::-webkit-scrollbar {
        display: none;
    }

    .our-col {
        flex: 0 0 calc(100% - 20px);
        width: 100%;
        scroll-snap-align: start;
        box-sizing: border-box;
        margin-right: 0;
        opacity: 1;
    }

    .skip-wrap {
        display: none;
    }

    .our-timeline {
        display: none;
    }

    .our-timeline-mobile {
        width: 40%;
        background: #FF4900;
        height: 3px;
        position: absolute;
        bottom: 98px;
        left: 0;
        transition: 0.5s ease;
        z-index: 1;
    }
}


/* Our life */
.section-our-life {
    position: relative;
    height: 944px;
    overflow: hidden;
    top: 100px !important;
}

.our-life-track {
    height: 100%;
    display: flex;
    padding-top: 184px;
    padding-bottom: 60px;
    position: relative;
}

.our-life-items-wrap {
    display: flex;
    gap: 0;
    height: 100%;
    transform: translateX(0);
}

.our-life-item {
    display: flex;
    flex: 0 0 auto;
    height: 100%;
    align-items: flex-start;
}

.our-life-item img {
    height: auto;
    width: auto;
    object-fit: contain;
    max-height: 100%;
    border-radius: 8px;
}

@media only screen and (min-width: 769px) {
    .our-life-item:nth-child(1) {
        margin-left: 0 !important;
    }

    .our-life-item:nth-child(odd) {
        align-items: flex-start;
        margin-top: 25px;
        margin-left: 10px;
        margin-right: 10px;
        height: 85%;
    }

    .our-life-item:nth-child(even) {
        align-items: initial;
        margin-right: 0;
        margin-top: -80px;
        z-index: 9;
        position: relative;
        display: block;
        height: 60%;
    }

}

@media only screen and (min-width: 1250px) {
    .team-member-card h3 {
        height: 96px;
    }
}

.our-life-title,
.our-story-title {
    color: #EEE !important;
    font-family: 'Titling Gothic FB Skyline Bold', Helvetica, Arial, Lucida, sans-serif;
    font-size: 72px;
    font-style: normal;
    font-weight: 700;
    line-height: 79px;
    text-transform: uppercase;
    position: absolute;
    top: 0;
    margin: 0;
    padding: 0;
    letter-spacing: 2px;
}

.skip-wrap-life {
    text-align: right;
    position: absolute;
    bottom: -10px;
    width: 100%;
}

.skip-btn-life {
    cursor: pointer;
}

.skip-btn-life img {
    height: 27px;
}

@media only screen and (max-width: 768px) {
    .section-our-life {
        margin-top: 80px;
        position: relative;
        width: 100%;
        overflow: hidden;
        height: 100%;
    }

    .our-life-items-wrap {
        display: flex;
        transition: transform 0.5s ease;
    }

    .our-life-items-wrap {
        gap: 40px;
    }

    .our-life-item {
        min-width: 100%;
        box-sizing: border-box;
        flex: 1;
        justify-content: center;
    }

    .our-life-track {
        padding-top: 70px;
        padding-bottom: 10px;
        height: 520px;
    }

    .skip-wrap-life {
        display: none;
    }

    .carousel-dots,
    .carousel-dots-founder {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 15px;
        gap: 8px;
    }

    .carousel-dot,
    .carousel-dot-founder {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .carousel-dots-black,
    .carousel-dots-life,
    .carousel-dots-story {
        display: flex;
        justify-content: center;
        align-items: center;
        margin-top: 20px;
        gap: 8px;
    }

    .carousel-dot-black ,
    .carousel-dot-life,
    .carousel-dot-story {
        width: 8px;
        height: 8px;
        border-radius: 50%;
        background: #474747;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }

    .carousel-dot-black.active,
    .carousel-dot-life.active,
    .carousel-dot-story.active {
        background-color: #eeeeee;
        width: 6px;
        height: 6px;
    }

    .carousel-dot.active,
    .carousel-dot-founder.active {
        background-color: #eeeeee;
        width: 6px;
        height: 6px;
    }
}
