.elementor-editor-active .fs-content-area {
    height: 100px !important;
}

/* General Wrapper */
.filterable-service-wrapper {
    width: 100%;
}

/* Filters */
.filterable-service-wrapper .fs-main-filters {
    margin-bottom: 20px;
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
}

.filterable-service-wrapper .filter-btn {
    padding: 5px 0px;
    cursor: pointer;
    border: none;
    background: none !important;
    transition: all 0.3s ease;
    border-radius: 20px;
    color: #fff;
    box-shadow: none;
    margin: 7px 10px;
    font-size: 18px;
    font-weight: 500;
    position: relative
}

.filterable-service-wrapper .filter-btn.active:focus,
.filterable-service-wrapper .filter-btn:focus {
    background: none !important;
    outline: none !important;
}

.filterable-service-wrapper .filter-btn.active,
.filterable-service-wrapper .filter-btn:hover {
    color: #FD3E1B;
}

.filterable-service-wrapper .filter-btn:after {
    content: '';
    display: block;
    width: 0%;
    height: 2px;
    background-color: #FD3E1B;
    transition: width 0.3s ease;
    position: absolute;
    left: 0;
    bottom: -4px;
}

.filterable-service-wrapper .filter-btn.active:after {
    width: 100%;
}

.filterable-service-wrapper .fs-content-area {
    display: flex;
    gap: 30px;
}

.filterable-service-wrapper .fs-sub-filters {
    flex: 0 0 200px;
    margin-bottom: 30px;
}

.filterable-service-wrapper .fs-sub-filters h4 {
    margin-bottom: 15px;
    color: #fff;
    font-size: 22px;
}

.filterable-service-wrapper .fs-sub-filters .sub-filter-checkboxes {
    display: flex;
    flex-direction: column;
    gap: 15px;
    color: #fff;
    margin-top: 20px;
}

.filterable-service-wrapper .sub-filter-item {
    display: flex;
    align-items: center;
    cursor: pointer;
}

/* === Custom Checkbox Styles Start === */
.filterable-service-wrapper .sub-filter-item input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #fff;
    background-color: transparent;
    margin-right: 10px;
    cursor: pointer;
    position: relative;
    vertical-align: middle;
    transition: all 0.2s ease;
    border-radius: 3px;
}

.filterable-service-wrapper .sub-filter-item input[type="checkbox"]:checked {
    background-color: #FD3E1B;
    border-color: #FD3E1B;
}

.filterable-service-wrapper .sub-filter-item input[type="checkbox"]::after {
    content: '';
    display: block;
    position: absolute;
    opacity: 0;
    transition: opacity 0.2s ease;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 3px 3px 0;
    transform: rotate(45deg);
}

.filterable-service-wrapper .sub-filter-item input[type="checkbox"]:checked::after {
    opacity: 1;
}

/* === Custom Checkbox Styles End === */


/* === Dynamic Height Card Grid Styles === */
.filterable-service-wrapper .fs-grid-container {
    flex: 1;
}

.filterable-service-wrapper .fs-grid-item {
    width: calc(33.333% - 20px);
    margin-bottom: 30px;
    margin-left: 10px;
    margin-right: 10px;
}

.filterable-service-wrapper .fs-item-content {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    display: block;
    line-height: 0;
    transition: transform 0.3s ease;
}

.filterable-service-wrapper .fs-item-content:hover {
    transform: translateY(-5px);
}

.filterable-service-wrapper .fs-item-background-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 12px;
    min-height: 230px;
}

.filterable-service-wrapper .fs-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    z-index: 1;
    border-radius: 12px;
    opacity: 0.3;
    transition: opacity 0.3s ease;
}

.filterable-service-wrapper .fs-grid-item:hover .fs-item-overlay {
    opacity: .5;
}

.filterable-service-wrapper .fs-item-text-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 25px;
    color: #fff;
    z-index: 2;
    box-sizing: border-box;
    line-height: 1.5;
}

.filterable-service-wrapper .fs-item-category {
    display: inline-block;
    background-color: #FD3E1B;
    color: #fff;
    padding: 4px 7px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.filterable-service-wrapper .fs-title {
    margin: 0 0 10px 0;
    font-size: 22px;
    line-height: 1.2;
    color: #fff;
}

.filterable-service-wrapper .fs-button {
    display: inline-block;
    padding: 7px 17px;
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    border-radius: 50px;
    text-decoration: none;
    margin-top: 5px;
    font-weight: bold;
    transition: all 0.3s ease;
    font-size: 16px;
}

.filterable-service-wrapper .fs-button:hover {
    background: #fff;
    color: #000;
}

.filterable-service-wrapper .fs-hidden-gallery {
    display: none;
}

.filterable-service-wrapper .fs-description p {
    font-size: 15px;
    line-height: 1.4;
    margin-bottom: 5px;
}

.sl-navigation button {
    border-radius: 100%;
    font-size: 35px !important;
    box-shadow: 0 2px 18px #0000002b;
    padding-bottom: 16px !important;
    height: 46px !important;
    width: 46px;
    text-align: center;
    transition: .3s !important;
}

.sl-navigation button:hover {
    background: #2e2d71;
    color: #fff !important;
}

.sl-wrapper button.sl-close:hover {
    background: #2e2d71;
    color: #fff !important;
}

.filterable-service-wrapper .fs-content-area {
    opacity: 0;
    transition: opacity 0.6s ease-in-out !important;
}

.filterable-service-wrapper .fs-content-area.is-visible {
    opacity: 1;
}



/* filter loadmore */
.filterable-service-wrapper .fs-content-area {
    position: relative;
    transition: height 0.6s ease;
    padding-top: 15px;
}

.filterable-service-wrapper .fs-load-more-wrapper {
    text-align: center;
    margin-top: 20px;
}

.filterable-service-wrapper .fs-load-more,
.filterable-service-wrapper .fs-compress {
    padding: 14px 30px;
    background: #ff3e1a;
    color: #fff;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 18px;
    Outline: none;
}

.filterable-service-wrapper .fs-load-more:hover,
.filterable-service-wrapper .fs-compress:hover {
    background: ##54ccca;
}

.filterable-service-wrapper .fs-bottom-shadow {
    pointer-events: none;
    z-index: 1;
}

/* Responsive */
@media (max-width: 991px) {
    .filterable-service-wrapper .fs-grid-item {
        width: calc(50% - 20px);
    }

    .filterable-service-wrapper .fs-content-area {
        flex-direction: column;
    }
}

@media (max-width: 767px) {
    .filterable-service-wrapper .fs-grid-item {
        width: calc(100% - 20px);
    }

    .filterable-service-wrapper .fs-content-area {
        display: block;
    }

    .filterable-service-wrapper .filter-btn {
        margin: 4px 5px;
        font-size: 16px;
    }

    .filterable-service-wrapper .fs-main-filters {
        justify-content: flex-start;
    }

    /* Loadmoore  */
    .filterable-service-wrapper .fs-grid-item {
        width: 100%;
    }

    .filterable-service-wrapper .fs-content-area[data-height-phone] {
        height: attr(data-height-phone px) !important;
    }
}