/* --------------------------
Portfolio Filter Widget 
----------------------------*/
.flat6labs-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;
}

.flat6labs-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;
}
.flat6labs-accordions .accordion.active:after {
  content: "\2212";
}
.flat6labs-accordions .panel {
  transition: max-height 0.2s ease-out;
  display: none;
  margin-bottom: 20px;
}
.flat6labs-accordions .filters .panel {
    max-height: 320px;
    overflow: hidden;
    overflow-y: auto;
    padding-right: 6px;
}
.flat6labs-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;
}

.flat6labs-accordions ul.sub-items {
    padding-left: 32px;
    display: none;
}
.flat6labs-accordions .panel li.has-sub-items > label {
    padding-left: 44px;
}
.flat6labs-accordions li.has-sub-items {
    position: relative;
}
.flat6labs-accordions .has-sub-items span.arrow-icon {
    position: absolute;
    left: 28px;
    z-index: 1;
    cursor: pointer;
    transition: 0.3s ease-in-out;
}
.flat6labs-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 */
.flat6labs-accordions label .checkmark {
    position: absolute;
    top: 4px;
    left: 0;
    height: 18px;
    width: 18px;
    border-radius: 3px;
    border: 1px solid #98A2B3;
}
.flat6labs-accordions label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}
.flat6labs-accordions label .arrow-icon svg {
    width: 14px;
}
/* On mouse-over, add a grey background color */
.flat6labs-accordions .panel label :hover input ~ .checkmark {
  background-color: #eee;
}

/* When the checkbox is checked, add a blue background */
.flat6labs-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 */
.flat6labs-accordions .panel label  input:checked ~ .checkmark:after {
  display: block;
}

/* Style the checkmark/indicator */
.flat6labs-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);
}
.flat6labs-accordions .panel button {
    background: #F2F4F7;
    border: 0;
    outline: 0;
    margin-right: 6px;
    margin-bottom: 8px;
    padding: 8px 16px;
    font-size: 12px;
    color: #0D0D0D;
}
.flat6labs-accordions .filters .panel button.active {
    background: #A4F229;
}



/* =========================
    Portfolio Filtering
   ==========================*/
.flat6labs-portfolio-filters {
    display: flex;
    margin-bottom: 24px;
    gap: 24px;
    align-items: flex-start;
}
.flat6labs-portfolio-filters .left-sidebar {
    width: 22%;
    background: #ffffff;
    padding: 24px 18px 24px 24px;
    position: sticky;
    top: 30px;
}

.e-con {
    overflow: visible !important;
}

.flat6labs-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;
}
.flat6labs-portfolio-filters .selected-filters span svg {
    cursor: pointer;
}
.flat6labs-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;
}
.flat6labs-portfolio-filters a.clear-filter.active {
    display: flex;
}
.flat6labs-portfolio-filters .main-content {
    width: 78%;
}
.flat6labs-portfolio-filters .filters:not(:last-child) {
    border-bottom: 1px solid #E5E7EB;
}
.flat6labs-portfolio-filters .post-count-sortby {
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}

.portfolio-filter-wrap {
    display: flex;
    align-items: center;
    gap: 10px;
}

.flat6labs-portfolio-filters .post-count-sortby p{
    margin: 0;
}
.flat6labs-portfolio-filters .post-count-sortby select {
    padding: 6px 12px;
    border: 1px solid #D0D5DD;
}

.flat6labs-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;
}
.flat6labs-portfolio-filters .portfolio-item {
    display: flex;
    background: #fff;
    position: relative;
}

.flat6labs-portfolio-filters .portfolio-item .item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.flat6labs-portfolio-filters .portfolio-item .item-header .location {
    font-size: 14px;
    font-weight: 400;
    color: #0D0D0D;
}
.flat6labs-portfolio-filters .image-wrapper {
    min-width: 230px;
    max-width: 230px;
    background: #EAF0F5;
    align-items: center;
    display: flex;
    justify-content: center;
    position: relative;
    /* padding: 40px; */
}
.flat6labs-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;
}
.flat6labs-portfolio-filters .image-wrapper span:before {
    content: "";
    width: 8px;
    height: 8px;
    background: #F45454;
    position: absolute;
    border-radius: 50%;
    left: 7px;
    top: 10px;
}
.flat6labs-portfolio-filters .content {
    flex-grow: 1;
    padding: 24px;
}
.flat6labs-portfolio-filters .content .wp-block-heading,
.flat6labs-portfolio-filters .content h2{
    font-size: 20px;
}
.flat6labs-portfolio-filters .content .title {
    font-size: 24px;
}
.flat6labs-portfolio-filters .content .second-title{
    font-size: 18px;
}
.country p img {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.flat6labs-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;
}
.flat6labs-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;
}
.flat6labs-portfolio-filters .country-info {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.flat6labs-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;
}

.flat6labs-portfolio-filters .description img,
.flat6labs-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;
}
.flat6labs-portfolio-filters .item-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid #EAECF0;
    margin-top: 12px;
}
.item-footer .tags {
    display: flex;
    gap: 10px;
}

.flat6labs-portfolio-filters .item-footer a {
    font-weight: 600;
    color: #1E1E1E;
    display: flex;
    align-items: center;
    gap: 12px;
    text-transform: uppercase;
}
.flat6labs-portfolio-filters .pagination {
    justify-content: flex-end;
}
.flat6labs-portfolio-filters .pagination .page-numbers {
    width: 36px;
    height: 36px;
    text-align: center;
    padding-top: 5px;
}
.flat6labs-portfolio-filters .pagination .page-numbers.current {
    background: #F48C54;
    color: #fff;
    border-radius: 50%;
}
.flat6labs-portfolio-filters .pagination .page-numbers.next,
.flat6labs-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;
}
.flat6labs-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;
    background: #fff;
}

.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) {

    .flat6labs-portfolio-filters.flat6labs-accordions {
        position: relative;
    }

    .flat6labs-portfolio-filters.flat6labs-accordions {
        position: relative;
        overflow: hidden;
    }
    
    .flat6labs-portfolio-filters .main-content {
        width: 100%;
    }
    
    .flat6labs-portfolio-filters .image-wrapper {
        padding: 20px;
    }

    .flat6labs-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 */
    .flat6labs-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;
    }
    
    .flat6labs-portfolio-filters.show-sidebar .filter-overlay {
        display: block;
        opacity: 1;
    }

    .flat6labs-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;
    }
    .flat6labs-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: 0px;
    }

    #strategy-slider .flat6labs-swipper-nav {
        top: 110%;
    }

    .flat6lab-process-slider-wrapper .swiper-button-next, .flat6lab-process-slider-wrapper .swiper-button-prev{
        border: 1px solid #ddd;
    }

    /* filter  */
    .flat6labs-portfolio-filters .portfolio-item {
        flex-direction: column;
        padding: 0px 24px;
    }

    .flat6labs-portfolio-filters .image-wrapper {
        width: 100%;
    }
    .flat6labs-portfolio-filters .content {
        width: 100%;
    }

    .flat6labs-portfolio-filters .image-wrapper {
        margin: 24px 0px 0px;
    }

    .tags {
        display: flex;
        align-items: center;
        gap: 5px;
        flex-wrap: wrap;
    }

    .flat6labs-portfolio-filters .item-footer a {
        font-size: 16px;
        flex-shrink: 0;
    }

    .flat6labs-portfolio-filters .image-wrapper {
        min-width: 100%;
        max-width: 100%;
    }

   
    .flat6labs-portfolio-filters .post-count-sortby {
        flex-direction: column;
        gap: 12px;
    }

    .flat6labs-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 .flat6labs-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;
    gap: 16px;
    white-space: nowrap;
}
  
.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; */
}

/* 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%);
}

/* investment Commitment */
.commitments-card, .commitment-section-heading {
    position: sticky !important;
    top: 100px;
}

/*===========================
Multi Step Form Style 
=============================*/
/*form styles*/
#msform {
    width: 100%;
    margin: 50px auto;
    text-align: center;
    position: relative;
    height: 2000px;
}
#msform fieldset {
    background: #F4F7FA;
    border: 0 none;
    border-radius: 3px;
    padding: 20px 30px;
    box-sizing: border-box;
    width: 100%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    

}
.fieldset-content{
    max-width: 848px;
    margin:auto;
    background: #fff;
    padding: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.field-group {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
}

.field-group input {
    padding: 12px 16px;
    height: 48px;
    border: 1px solid #E6E6E6;
    width: 100%;
}

.field-group input[type="radio"], .field-group input[type="checkbox"] {
    height: 18px;
    width: 18px;
    border: 1px solid #D5D7DA;
}

.field-group label {
    font-size: 18px;
    font-weight: 500;
}

.field-group input::placeholder{
    font-size: 16px;
    color: #98A2B3;
}

.inner-field-group {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: baseline;
}

.radio-filed-group {
    display: flex;
    align-items: center;
    gap: 6px;
}

.radio-filed-group label {
    font-size: 14px;
    font-weight: 500;
}


/*Hide all except first fieldset*/
#msform fieldset:not(:first-of-type) {
    display: none;
}

/*buttons*/
#msform .action-button {
    width: 100px;
    background: #27AE60;
    font-weight: bold;
    color: white;
    border: 0 none;
    border-radius: 1px;
    cursor: pointer;
    padding: 10px 5px;
    margin: 10px 5px;
}
#msform .action-button:hover, #msform .action-button:focus {
    box-shadow: 0 0 0 2px white, 0 0 0 3px #27AE60;
}
/*headings*/
    .fs-title {
    font-size: 15px;
    text-transform: uppercase;
    color: #2C3E50;
    margin-bottom: 10px;
}
.fs-subtitle {
    font-weight: normal;
    font-size: 13px;
    color: #666;
    margin-bottom: 20px;
}
/*progressbar*/
#progressbar {
    overflow: hidden;
    counter-reset: step;
    max-width: 1180px;
    margin: auto;
    padding: 60px 0px;
}
#progressbar li {
    list-style-type: none;
    color: white;
    text-transform: uppercase;
    font-size: 9px;
    width: 20%;
    float: left;
    position: relative;
}
#progressbar li:before {
    content: counter(step);
    counter-increment: step;
    line-height: 20px;
    display: block;
    color: #333;
    background: #F6F5F4;
    border-radius: 3px;
    margin: 0 auto 5px auto;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 20px;
    position: relative;
    z-index: 999;
}
/*progressbar connectors*/
#progressbar li:after {
    content: '';
    width: 100%;
    height: 2px;
    background: #F2F2F2;
    position: absolute;
    left: -50%;
    top: 23px;
    z-index: 0; /*put it behind the numbers*/
}
#progressbar li:first-child:after {
    /*connector not needed before the first step*/
    content: none;
}
    /*marking active/completed steps green*/
    /*The number of the step and the connector before it = green*/
#progressbar li.active:before, #progressbar li.active:after {
    background: #186A39;
    color: white;
}





@media (min-width: 1024px) {
	.infinite-scroll-wrapper:hover .infinite-scroll-content {
		animation-play-state: paused;
	}
    .sticky-sidebar {
        position: sticky;
        top: 30px;
      }
}


