.testimonials-header {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 30px;
    gap: 20px;
}

.testimonials-header h2 {
    margin: 0;
    font-family: "Lato", sans-serif;
    font-size: 32px;
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.categories {
    text-align: center;
    column-gap: 16px;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    margin-right: 80px;
    gap: 12px;
    flex-wrap: wrap;
}

@media (max-width: 1450px) {
    .categories {
        margin-right: 20px;
    }
}

@media (max-width: 1100px) {
    .categories {
        margin-right: 10px;
    }
}

@media (max-width: 917px) {
    .categories {
        margin-right: 0;
        width: 100% !important;
    }
}

.categories span {
    padding: 0px 19px 0px 0px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: white;
    border-radius: 100px;
    transition: all 0.3s ease;
    color: #1D1D1B;
    border: 1px solid rgba(0, 0, 0, 0.10);
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

.categories span:hover {
    color: #7EB0C1;
}

.categories span.active {
    color: #7EB0C1;
}

.categories span.active .category-icon-span {
    background-color: #7EB0C1;
    border: solid 1px #7EB0C1;
}

.categories span.active .category-icon-span svg path {
    fill: white !important;
    fill-opacity: 1 !important;
    transition: all 0.3s ease-in-out;
}


.categories span:hover .category-icon-span {
    background-color: #7EB0C1;
    border: solid 1px #7EB0C1;
}

.categories span:hover .category-icon-span svg path {
    fill: white !important;
    fill-opacity: 1 !important;
}

.categories span .category-icon-span {
    width: 30px !important;
    height: 30px !important;
    object-fit: contain;
    border-radius: 100px;
    padding: 6px;
    border: solid 1px rgba(126, 176, 193, 0.3);
    transition: all 0.3s ease-in-out;
}

.categories span .category-icon-span .category-icon {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.categories span .category-icon-span svg path {
    stroke: initial !important;
    fill: initial !important;
}


.testimonials-slider {
    position: relative;
    padding-bottom: 50px;
}

.testimonial-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    border: 1px solid rgba(217, 217, 217, 0.5);
    cursor: pointer;
}


h3.testimonial-title {
    color: #134169;
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 900;
    line-height: 24px;
    letter-spacing: 0.7px;
    text-transform: uppercase;
}

.testimonial-company {
    color: rgba(29, 29, 27, 0.50);
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 7px;
}

.testimonial-content {
    color: rgba(29, 29, 27, 0.80);
    font-family: "Lato", sans-serif;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 24px;
}

/*----- Swiper pagination -----*/
.testimonials-slider .swiper-custom-pagination-posts {
    position: relative;
    height: 4px;
    flex: 1;
    background-color: rgba(217, 217, 217, 0.4);
    border-radius: 2px;
    margin-top: 40px;
    max-width: 1240px;
}

.testimonials-slider .swiper-pagination-progressbar-fill {
    height: 4px;
    top: 0;
    bottom: 0;
    margin: auto;
    border-radius: 20px !important;
    background-color: #F3BE72;
}

/* ------- */

@media (max-width: 767px) {
    .testimonial-card {
        padding: 20px;
    }

    .testimonial-title {
        font-size: 16px;
    }

    .testimonials-filters {
        gap: 8px;
    }

    .filter-button {
        padding: 6px 12px;
        font-size: 12px;
    }
}