.bymarei_card_image {
    margin-bottom: 24px;
}
.bymarei_card_image img {
    width: 100%;
}
.bymarei_card-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bymarei_card_part,
.bymarei_card_part.style_1:hover .bymarei_btn {
    transition: all 0.3s ease;
}
.bymarei_card_part.style_1:hover .bymarei_btn {
    transform: rotate(-45deg);
}
.bymarei_card_part.style_2 .bymarei_btn a {
    display: flex;
    align-items: center;
    gap: 8px;
}
.by-portfolio-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
}
.by-portfolio-item .by-thumb {
    background-size: cover;
    background-position: center;
    background-color: #dddddd;
}
.by-portfolio-title {
    display: inline-block;
}
.by-portfolio-grid.style_1 .by-portfolio-item:first-child {
    grid-row: 1 / 3;
}
.by-filter-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.by-portfolio-categories {
    -ms-overflow-style: none;
    scrollbar-width: none;
    overflow-x: auto;
    width: 100%;
}
.by-portfolio-categories::-webkit-scrollbar {
    display: none;
}
.by-portfolio-filter {
    display: flex;
    justify-content: flex-end;
}
.by-portfolio-filter button {
    display: block;
    border: none;
    border-bottom: 1px solid #737373;
    font-size: 16px;
    line-height: 1;
    font-weight: 500;
    background: none;
    cursor: pointer;
    flex-shrink: 0;
    position: relative;
}
.by-portfolio-filter button::before {
    position: absolute;
    content: '';
    width: 0;
    height: 1px;
    background: #ffffff;
    left: 0;
    bottom: -1px;
    transition: all 0.3s ease;
}
.by-portfolio-filter button:hover::before {
    width: 100%;
}
.bymarei_team_image {
    position: relative;
    line-height: 0;
}
.bymarei_team-details {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgb(255 255 255 / 50%);
    backdrop-filter: blur(40px);
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    overflow-x: hidden;
    -ms-overflow-style: none;
    scrollbar-width: none;
    transition: all 0.3s ease;
    overscroll-behavior: contain;
    touch-action: pan-y;
    z-index: 10;
}
.bymarei_team-details::-webkit-scrollbar {
    display: none;
}
.bymarei_team_content {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}
.team-social-links {
    display: flex;
    gap: 8px;
}
.team-social-links a {
    width: 24px;
    height: 24px;
    text-align: center;
}
.bymarei_btns .bymarei_btn {
    border: none;
    background: none;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
}
.bymarei_team_part.animate-on-scroll.is-visible,
.by-portfolio-item.animate-on-scroll.is-visible {
    visibility: visible;
    --delay: calc(var(--item-index, 0) * 0.1s);
    animation: slideInBottom 1s forwards var(--delay);
}
.scroll-points-header {
    max-width: 370px;
}
.scroll-points-container,
.bymarei-timeline-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}
.building-wrapper {
    display: flex;
    align-items: center;
    justify-content: flex-end;
}
.content_part {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
    position: sticky;
    top: 80px;
    height: 80vh;
    width: 100%;
}
.info-button a {
    display: inline-flex;
    align-items: center;
}
.point-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.content-section .point_content {
    height: 100vh;
}
.points-container {
    display: flex;
    flex-direction: column;
}
.points-container .point-dot {
    border-radius: 50%;
    position: relative;
}
.points-container .point-dot::before {
    position: absolute;
    content: '';
    height: 1px;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: -1;
}
.bymarei_wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: sticky;
    top: 84px;
    width: 100%;
}
.bymarei_wrapper_timeline_1 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}
.timeline_content, .timeline_image {
    display: none;
}
.timeline_content.active, .timeline_image.active {
    display: block;
}
.timeline_container {
    display: flex;
    align-items: center;
    gap: 48px;
}
.timeline_main_block p {
    display: none;
}
.bymarei-timeline-header {
    max-width: 451px;
}
.timeline_main_content {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.timeline_main_block.active {
    padding: 15px 0;
}
.timeline_main_block h3 {
    padding-left: 43px;
    position: relative;
}
.timeline_main_block p {
    padding-left: 43px;
}
.timeline_main_block h3::before,
.timeline_content h3::before {
    position: absolute;
    content: '';
    width: 9px;
    height: 9px;
    background: #737373;
    left: 5px;
    border-radius: 50%;
    top: 0;
    bottom: 0;
    margin: auto;
    z-index: 1;
    transition: all 0.3s ease;
}
.timeline_main_block.active h3::before,
.timeline_content h3::before {
    background: #ffffff;
}
.timeline_main_block.active h3::after,
.timeline_content h3::after {
    position: absolute;
    content: '';
    width: 19px;
    height: 19px;
    border: 1px solid #fff;
    border-radius: 50%;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    background: #262626;
    transition: all 0.3s ease;
}
.timeline_main_block {
    position: relative;
    transition: all 0.3s ease;
}
.timeline_main_block::before {
    position: absolute;
    content: '';
    height: calc(100% + 9px);
    width: 1px;
    background: #737373;
    left: 9px;
    top: 15px;
}
.timeline_main_block.active::before {
    top: 0;
    height: calc(100% + 23px);
}
.timeline_main_block:last-child::before {
    position: inherit;
}
.timeline_main_block:first-child::before {
    top: 50%;
}
.timeline_content h3,
.timeline_content p {
    padding-left: 35px;
}
.timeline_content h3 {
    position: relative;
}
/* Vertical Auto Scroll Slider Styles */
.dds-slider {
    display: flex;
    overflow: hidden;
    position: relative;
}
.dds_content {
    display: flex;
    flex: 1;
}
.dds-row {
    display: flex;
    white-space: nowrap;
    flex-direction: column;
    flex: 1;
    height: max-content;
    animation: dds-scroll linear infinite;
}
.dds-row img {
    object-fit: cover;
}
.dds-row.reverse {
    animation-direction: reverse;
}
.dds_content {
    -webkit-mask: linear-gradient(0deg, transparent, white 20%, white 80%, transparent);
    mask: linear-gradient(0deg, transparent, white 20%, white 80%, transparent);
}
@keyframes dds-scroll {
    to {
        transform: translateY(calc(-50% - 0.5rem));
    }
}
/* brand logo */
.mw-search-wrap {
    position: relative;
    margin-bottom: 40px;
}
.mw-search-wrap input {
    width: 100%;
    display: block;
    padding: 8px 8px 8px 32px;
    font-size: 16px;
    background: #FAFAFA;
    border-width: 0;
    border-bottom: 1px solid #D4D4D4;
    color: #000;
}
.mw-search-wrap .search_icon {
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 16px;
    width: 16px;
    left: 8px;
}
.mw-search-wrap input::placeholder {
    color: #A3A3A3;
}
.bymarei-mw-widget .mw-group {
    padding-bottom: 40px;
    margin-bottom: 40px;
    border-bottom: 1px solid #D4D4D4;
}
.bymarei-mw-widget .mw-group:last-child {
    padding: 0;
    margin: 0;
    border: none;
}
.bymarei-mw-widget .mw-grid {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
}
.bymarei-mw-widget .mw-item img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
}
.bymarei-mw-widget .mw-item {
    background: rgb(0 0 0 / 10%);
}
/* timeline 1 */
.timeline_1_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.timeline_1_head_line {
    width: 100%;
    border-top: 1px solid #737373;
}
.timeline_1_head_arrow,
.timeline_1_head h4 {
    flex-shrink: 0;
}
.bymarei_animation {
    transition: transform 1s ease-in-out, opacity 1s ease-in-out;
}
.bymarei_animation.slide-down {
    transform: translateY(100px);
    opacity: 0;
}
.bymarei_animation.slide-up {
    transform: translateY(0);
    opacity: 1;
}
.timeline_1_content,
.timeline_1_image {
    transition: transform 0.6s ease-in-out, opacity 0.6s ease-in-out;
    transform: translateY(100px);
    opacity: 0;
    display: none;
}
.timeline_1_content.active,
.timeline_1_image.active {
    transform: translateY(0);
    opacity: 1;
    display: block;
}
.bymarei-timeline_1-left {
    max-width: 532px;
}
.bymarei_wrapper_tabs {
    display: flex;
    gap: 16px;
}
.bymarei_wrapper_tabs .timeline_1_tab {
    width: 100%;
    text-align: center;
    cursor: pointer;
}
.bymarei_wrapper_tabs .timeline_1_tab {
    width: 100%;
    text-align: center;
    padding-bottom: 10px;
    border-bottom: 2px solid #fff;
    position: relative;
}
.timeline_1_tab_progress {
    position: absolute;
    bottom: -2px;
    left: 0;
    height: 2px;
    width: 0;
    background: #737373;
    transition: width 0.3s ease;
}
.timeline_1_tab.active .timeline_1_tab_progress {
    animation: progressBar 10s linear forwards;
}
.timeline_1_head_arrow button {
    width: 20px;
    height: 20px;
    line-height: 20px;
    background: none;
    border: 1px solid #fff;
    text-align: center;
    cursor: pointer;
    color: #fff;
    font-size: 10px;
}
.timeline_1_head_arrow {
    line-height: 0;
}
.timeline_1_head_arrow button.timeline_1_head_arrow_prev {
    margin-right: 4px;
}
@keyframes progressBar {
    from {
        width: 0%;
    }
    to {
        width: 100%;
    }
}
@media screen and (max-width: 1199px) {
    .bymarei_wrapper {
        top: 112px;
    }
}
@media screen and (max-width:991px) {
    .scroll-points-header {
        max-width: 100%;
        margin-bottom: 32px;
    }
    .content_part {
        display: block;
        height: auto;
    }
    .building-wrapper {
        justify-content: center;
    }
    .bymarei_wrapper {
        flex-direction: column;
        align-items: flex-start;
    }
    .timeline_image_container,
    .timeline_content.active {
        display: none;
    }
    .timeline_main_block p {
        display: block;
    }
    .timeline_main_block.active {
        padding: 0;
    }
    .timeline_main_block:first-child::before {
        top: 10px;
    }
    .timeline_main_block::before {
        height: calc(100% + 8px);
    }
    .by-filter-header {
        flex-direction: column;
        align-items: flex-start;
    }
    .by-portfolio-categories {
        margin-top: 24px;
    }
    .by-portfolio-filter {
        justify-content: flex-start;
    }
}
@media screen and (max-width:767px) {
    .by-portfolio-grid {
        grid-template-columns: 1fr;
    }
    .building-wrapper {
        align-items: center;
        flex-direction: column-reverse;
    }
    .points-container {
        width: 100%;
    }
    .points-container .point-dot {
        display: none;
    }
    .bymarei_card_part.style_2 .bymarei_btn a {
        justify-content: center;
    }
    .bymarei_card_part.style_2 .bymarei_card-details {
        align-items: stretch;
        flex-direction: column;
        gap: 16px;
    }
    .bymarei-timeline_1-left {
        max-width: 100%;
    }
    .bymarei_wrapper_timeline_1 {
        flex-direction: column;
    }
    .bymarei_wrapper_tabs {
        gap: 8px;
    }
}