/* --------------------------
Portfolio Filter Widget 
----------------------------*/
.costfixers-accordions .accordion {
    color: #1D2939;
    cursor: pointer;
    padding: 20px 0;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    font-size: 20px;
    transition: 0.4s;
    background: transparent;
    font-weight: 700;
    padding-right: 6px;
}

.costfixers-accordions .accordion:after {
    content: "\002B";
    color: #000000;
    font-weight: 600;
    float: right;
    margin-left: 5px;
    border: 1px solid #D0D5DD;
    width: 24px;
    height: 24px;
    text-align: center;
    font-size: 16px;
}
.costfixers-accordions .accordion.active:after {
    content: "\2212";
}
.costfixers-accordions .panel {
    transition: max-height 0.2s ease-out;
    display: none;
    margin-bottom: 20px;
}
.costfixers-accordions .filters .panel {
    max-height: 320px;
    overflow: hidden;
    overflow-y: auto;
    padding-right: 6px;
}
.costfixers-accordions .panel label {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: space-between;
    margin-bottom: 12px;
    position: relative;
    padding-left: 26px;
    color: #0D0D0D;
}

.portfolio-title-box .logo {
    background: #fff;
}

.costfixers-accordions ul.sub-items {
    padding-left: 32px;
    display: none;
}
.costfixers-accordions .panel li.has-sub-items > label {
    padding-left: 44px;
}
.costfixers-accordions li.has-sub-items {
    position: relative;
}
.costfixers-accordions .has-sub-items span.arrow-icon {
    position: absolute;
    left: 28px;
    z-index: 1;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.costfixers-accordions li.has-sub-items.open span.arrow-icon {
    transform: rotate(90deg) translate(2px,0px);
}
.see-more-wrapper {
    text-align: right;
}
a.see-more-portfolio {
    background: #A4F229;
    padding: 18px 24px;
    text-transform: uppercase;
    color: #0D0D0D;
    margin-top: 20px;
    display: inline-block;
    font-weight: 500;
}



/* Checkbox Custom Color */
.costfixers-accordions label .checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 18px;
    width: 18px;
    border-radius: 3px;
    border: 1px solid #98A2B3;
}
.costfixers-accordions label input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}
.costfixers-accordions label .arrow-icon svg {
    width: 14px;
}
/* On mouse-over, add a grey background color */
.costfixers-accordions .panel label :hover input ~ .checkmark {
    background-color: #eee;
}

/* When the checkbox is checked, add a blue background */
.costfixers-accordions .panel label  input:checked ~ .checkmark {
    background-color: #A4F229;
    color: #000000;
    border: 1px solid #A4F229;
}

/* Create the checkmark/indicator (hidden when not checked) */
.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the checkmark when checked */
.costfixers-accordions .panel label  input:checked ~ .checkmark:after {
    display: block;
}

/* Style the checkmark/indicator */
.costfixers-accordions .panel label  .checkmark:after {
    left: 6px;
    top: 2px;
    width: 5px;
    height: 10px;
    border: solid #000;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}
.costfixers-accordions .panel button {
    background: #F2F4F7;
    border: 0;
    outline: 0;
    margin-right: 6px;
    margin-bottom: 8px;
    padding: 8px 16px;
    font-size: 12px;
    color: #0D0D0D;
}
.costfixers-accordions .filters .panel button.active {
    background: #A4F229;
}



/* =========================
Portfolio Filtering
==========================*/
.costfixers-portfolio-filters {
    display: flex;
    margin-bottom: 24px;
    gap: 24px;
    align-items: flex-start;
}
.costfixers-portfolio-filters .left-sidebar {
    width: 22%;
    background: #ffffff;
    padding: 24px 18px 24px 24px;
    position: sticky;
    top: 30px;
}

.e-con {
    overflow: visible !important;
}

.costfixers-portfolio-filters .selected-filters span {
    background: #A4F229;
    padding: 5px 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-bottom: 6px;
    margin-right: 4px;
    font-size: 12px;
    line-height: 16px;
    font-weight: 500;
}
.costfixers-portfolio-filters .selected-filters span svg {
    cursor: pointer;
}
.costfixers-portfolio-filters a.clear-filter {
    color: #D92D20;
    text-align: right;
    margin-bottom: 24px;
    font-size: 14px;
    font-weight: 500;
    display: none;
    align-items: center;
    justify-content: end;
}
.costfixers-portfolio-filters a.clear-filter.active {
    display: flex;
}
.costfixers-portfolio-filters .main-content {
    width: 78%;
}
.costfixers-portfolio-filters .filters:not(:last-child) {
    border-bottom: 1px solid #E5E7EB;
}
.costfixers-portfolio-filters .post-count-sortby {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.portfolio-filter-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.costfixers-portfolio-filters .post-count-sortby p{
    margin: 0;
}
.costfixers-portfolio-filters .post-count-sortby select {
    padding: 6px 12px;
    border: 1px solid #D0D5DD;
}

.costfixers-portfolio-filters span.count {
    background: #F2F4F7;
    padding: 5px 8px;
    color: #475467;
    font-size: 12px;
    line-height: 16px;
    min-width: 38px;
    text-align: center;
}

.portfolio-items-wrapper{
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.costfixers-portfolio-filters .portfolio-item {
    display: flex;
    background: #fff;
    position: relative;
}

.costfixers-portfolio-filters .portfolio-item .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.costfixers-portfolio-filters .portfolio-item .item-header .location {
    font-size: 14px;
    font-weight: 400;
    color: #0D0D0D;
}
.costfixers-portfolio-filters .image-wrapper {
    min-width: 230px;
    max-width: 230px;
    background: #EAF0F5;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    /* padding: 40px; */
}
.costfixers-portfolio-filters .image-wrapper span {
    background: #fff;
    position: absolute;
    left: 10px;
    top: 10px;
    padding: 4px 12px 4px 20px;
    text-transform: uppercase;
    font-size: 12px;
    color: #0D0D0D;
}
.costfixers-portfolio-filters .image-wrapper span:before {
    content: "";
    width: 8px;
    height: 8px;
    background: #F45454;
    position: absolute;
    border-radius: 50%;
    left: 7px;
    top: 10px;
}
.costfixers-portfolio-filters .content {
    flex-grow: 1;
    padding: 24px;
}
.costfixers-portfolio-filters .content .wp-block-heading,
.costfixers-portfolio-filters .content h2{
    font-size: 20px;
}
.costfixers-portfolio-filters .content .title {
    font-size: 24px;
}
.costfixers-portfolio-filters .content .second-title{
    font-size: 18px;
}
.costfixers-portfolio-filters .content  .tags button {
    border: 1px solid #0D0D0D;
    border-radius: 50px;
    padding: 6px 12px;
    font-size: 14px;
    line-height: 18px;
    color: #0D0D0D;
    background-color: #fff;
}
.costfixers-portfolio-filters .portfolio-item:after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: -6px;
    right: -37px;
    transform: rotate(-45deg);
    border-left: 37px solid transparent;
    border-right: 37px solid transparent;
    border-top: 37px solid #f4f7fa;
}
.costfixers-portfolio-filters .country-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.costfixers-portfolio-filters .description {
    max-width: 70%;
}

.country-logo-wrap {
    display: flex;
    align-items: center;
    gap: 4px;
}

.country-logo-wrap img {
    width: 12px;
}

.country-logo-wrap strong {
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 3px;
}

.costfixers-portfolio-filters .description img,
.costfixers-portfolio-filters .description *:not(:first-child) {
    display: none;
}
.country-info .country p {
    margin: 0;
    font-size: 12px;
    color: #0D0D0D;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: 4px;
    text-align: right;
    justify-content: end;
}
.country-info .country p strong{
    font-size: 16px;
}
.costfixers-portfolio-filters .item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #EAECF0;
    margin-top: 12px;
}
.costfixers-portfolio-filters .item-footer a {
    font-weight: 600;
    color: #1E1E1E;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}
.costfixers-portfolio-filters .pagination {
    justify-content: flex-end;
}
.costfixers-portfolio-filters .pagination .page-numbers {
    width: 36px;
    height: 36px;
    text-align: center;
    padding-top: 5px;
}
.costfixers-portfolio-filters .pagination .page-numbers.current {
    background: #F48C54;
    color: #fff;
    border-radius: 50%;
}
.costfixers-portfolio-filters .pagination .page-numbers.next,
.costfixers-portfolio-filters .pagination .page-numbers.prev {
    background: #fff;
    border-radius: 50%;
}
/* Custom Scrollbar Design */
::-webkit-scrollbar {
    width: 2px;
    height: 2px;
}

/* Track */
::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #98A2B3; 
    border-radius: 10px;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #010217; 
    border-radius: 10px;
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
    background: #010217; 
}
/* -------------------------
Portfolio Filter Widget Ends
----------------------------*/




/*---------------------------
Process Slider Widget
-----------------------------*/
.flat6lab-process-slider-wrapper .swiper{
    padding-top: 120px;
}
.costfixers-swipper-nav {
    position: absolute;
    right: 0;
    top: 50px;
    width: 150px;
    z-index: 1;
}
.swiper-button-next, .swiper-button-prev {
    width: 56px;
    height: 56px;
    color: #0B0919;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s all ease-in-out;
}
.swiper-button-next:hover, .swiper-button-prev:hover{
    background: #0D0D0D;
    color: #fff;
}
.swiper-button-next:after, .swiper-button-prev:after {
    font-size: 12px;
}
.flat6lab-process-slider-wrapper .process-text h2 {
    font-size: 24px;
    color: #0D0D0D;
    margin-bottom: 16px;
}
.flat6lab-process-slider-wrapper .process-text p {
    font-size: 18px;
    line-height: 26px;
    color: #0D0D0D;
    margin: 0;
}
.flat6lab-process-slider-wrapper .process-content {
    background: #f5f5f5;
    padding: 20px;
    gap: 120px;
    display: flex;
    flex-direction: column;
    transition: .3s all ease-in-out;
}

.flat6lab-process-slider .swiper-slide {
    height: initial;
}

.flat6lab-process-slider .process-content {
    height: 100%;
}

.flat6lab-process-slider-wrapper .process-content:after {
    content: "";
    display: inline-block;
    position: absolute;
    bottom: -8px;
    right: -18px;
    transform: rotate(-45deg);
    border-left: 25px solid transparent;
    border-right: 25px solid transparent;
    border-top: 25px solid #ebebeb;
}
.flat6lab-process-slider-wrapper .process-content ul {
    list-style-type: disc;
    padding-left: 20px;
}
.flat6lab-process-slider-wrapper .process-content .process-image {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flat6lab-process-slider-wrapper .process-content .process-image img{
    max-width: 100px;
}
.process-content button.process-tag {
    border: 1px solid #0D0D0D;
    border-radius: 50px;
    padding: 1px 12px;
    background: transparent;
}

button.filter-button-mobile, .sidebar-close-btn {
    display: none;
}


/*---------------------------
Process Slider Widget Ends
-----------------------------*/

/*---------------------------
Table Widget Ends
-----------------------------*/
.custom-elementor-table th:first-child,
.custom-elementor-table td:first-child {
    width: 280px; /* adjust as needed */
    min-width: 320px;
    white-space: nowrap;
}
/* .elementor-1527 .elementor-element.elementor-element-80eda59 .custom-table-container {
width: 100%;
overflow: auto;
} */
/*---------------------------
Table Widget Ends
-----------------------------*/


@media screen and (max-width: 768px) {
    
    .costfixers-portfolio-filters.costfixers-accordions {
        position: relative;
    }
    
    .costfixers-portfolio-filters.costfixers-accordions {
        position: relative;
        overflow: hidden;
    }
    
    .costfixers-portfolio-filters .main-content {
        width: 100%;
    }
    
    .costfixers-portfolio-filters .image-wrapper {
        padding: 20px;
    }
    
    .costfixers-portfolio-filters .left-sidebar {
        position: fixed ;
        top: 30px;
        bottom: 0;
        right: 0;
        width: 40%;
        height: 100%;
        background: #fff;
        z-index: 99999;
        padding: 20px;
        transition: transform 0.3s ease;
        visibility: hidden;
        opacity: 0;
        transition: opacity .5s visibility .5s;
    }
    
    .flat6lab-process-slider .process-content {
        height: 100%;
        gap: 30px !important;
    }
    
    
    /* When active (show-sidebar), slide it in */
    .costfixers-portfolio-filters.show-sidebar .left-sidebar {
        visibility: visible;
        opacity: 1;
    }
    
    .filter-overlay {
        position: fixed;
        background: #000000a1;
        width: 100%;
        height: 100%;
        z-index: 99;
        top: 0;
        left: 0;
        display: none;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .costfixers-portfolio-filters.show-sidebar .filter-overlay {
        display: block;
        opacity: 1;
    }
    
    .costfixers-portfolio-filters.show-sidebar .left-sidebar {
        right: 0%;
        z-index: 99999;
        position: fixed;
        right: 0%;
        top: 30px;
        bottom: 0;
        width: 40%;
        height: 100%;
        padding: 20px 20px;
    }
    
    button.filter-button-mobile {
        margin-left: 15px;
        border: 1px solid #ddd;
        background: #fff;
        display: inline-flex;
        gap: 6px;
        align-items: center;
        height: 42px;
    }
    
    .portfolio-filter-wrap {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    
    .sidebar-close-btn {
        position: absolute;
        top: 0px;
        left: 0px;
        background: #A4F229;
        border: none;
        font-size: 27px;
        line-height: 1em !important;
        line-height: 1;
        cursor: pointer;
        z-index: 100000;
        color: #000;
        width: 22px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 22px;
    }
    
}


@media screen and (max-width: 480px) {
    .flat6lab-process-slider-wrapper .swiper{
        overflow: visible;
        padding-bottom: 90px;
    }
    .costfixers-swipper-nav {
        position: absolute;
        left: 50%;
        top: 90%;
        transform: translate(-50%);
        overflow-y: visible;
    }
    
    #strategy-slider  .flat6lab-process-slider-wrapper .swiper{
        overflow: visible;
        padding-bottom: 00px;
    }
    
    #strategy-slider .costfixers-swipper-nav {
        top: 110%;
    }
    
    .flat6lab-process-slider-wrapper .swiper-button-next, .flat6lab-process-slider-wrapper .swiper-button-prev{
        border: 1px solid #ddd;
    }
    
    /* filter  */
    .costfixers-portfolio-filters .portfolio-item {
        flex-direction: column;
        padding: 0px 24px;
    }
    
    .costfixers-portfolio-filters .image-wrapper {
        width: 100%;
    }
    .costfixers-portfolio-filters .content {
        width: 100%;
    }
    
    .costfixers-portfolio-filters .image-wrapper {
        margin: 24px 0px 0px;
    }
    
    .tags {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }
    
    .costfixers-portfolio-filters .item-footer a {
        font-size: 16px;
        flex-shrink: 0;
    }
    
    .costfixers-portfolio-filters .image-wrapper {
        min-width: 100%;
        max-width: 100%;
    }
    
    
    .costfixers-portfolio-filters .post-count-sortby {
        flex-direction: column;
        gap: 12px;
    }
    
    .costfixers-portfolio-filters.show-sidebar .left-sidebar {
        width: 65%;
    }
    
    .custom-elementor-table th,
    .custom-elementor-table td{
        width: 200px; /* adjust as needed */
        min-width: 200px;
    }
    
    ::-webkit-scrollbar {
        height: 2px;
    }
    
    button.filter-button-mobile {
        margin-left: 0px;
    }
    
    /* process slider */
    .flat6lab-process-slider-wrapper .costfixers-swipper-nav {
        margin-top: 15px;
    }
}


/* ============== hero slider 2 ================ */
.scroll-container {
    height: 100svh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: #121212;
}

.scroll-container .infinite-scroll-wrapper {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.infinite-scroll-wrapper .infinite-scroll-content {
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    width: 100%;
    gap: 16px;
}
.infinite-scroll-wrapper .infinite-scroll-items {
    display: flex;
    flex-direction: row;
    flex-shrink: 0;
    gap: 16px;
}

.infinite-scroll-items .item-wrap {
    position: relative;
    min-width: 238px;
    height: 315px;
    flex-shrink: 0;
    overflow: hidden;
}

.item-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.item-wrap:hover img {
    transform: scale(1.05);
}

/* Section piolygon */
.section-top-left {
    clip-path: polygon(0% 6%, 100% -180%, 100% 100%, 0% 100%);
}

.section-bottom-right{
    clip-path: polygon(0% 0%, 133% 0%, 96% 100%, 0% 100%);
}


@media (min-width: 1024px) {
    .infinite-scroll-wrapper:hover .infinite-scroll-content {
        animation-play-state: paused;
    }
    .sticky-sidebar {
        position: sticky;
        top: 30px;
    }
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}
