.testimonials-section {
    font-family: Arial, sans-serif;
    width: 100%;
    margin: 0 auto;
    overflow: hidden;
}

.testimonials-section h2 {
    color: #1d3d91;
}

.testimonials-section p {
    color: #333;
	font-size: 20px;
}

.testimonials-section .filter-tags {
    margin-bottom: 20px;   
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: flex-start;
}

.testimonials-section .filter-tags button {
    padding: 8px 16px;
    border: 1px solid #1d3d91;
    border-radius: 20px;
    background-color: white;
    color: #1d3d91;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    white-space: nowrap;
    width: auto;
}

.testimonials-section .filter-tags button.active::before {
    content: 'check';
    font-family: 'Material Icons';
    color: #1d3d91;
    font-size: 18px;
    position: absolute;
    top: 50%;
    left: 10px;
    transform: translateY(-50%);
}

.testimonials-section .filter-tags button.active {
    padding-left: 36px;
	background-color: #F0F1F5;
}

.testimonials-section .filter-tags button:not(.active) {
    padding-left: 16px;
}


.testimonials-section .stars {
    display: flex;
    gap: 2px;
    color: #ffc107;
    justify-content: flex-end;
}

.testimonials-section .material-icons {
    font-size: 28px;
}

.testimonials-section .testimonials {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 20px;
}

.testimonials-section .testimonial-card {
    background-color: white;
    padding: 24px;
    width: calc(50% - 10px);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease-in-out;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
	overflow:hidden;
	border: 1px solid #1A3E85;
	gap: 20px;
}

.testimonials-section .testimonial-card .review-content .read-more {
    color: black;
	font-weight: bold;
    cursor: pointer;
	position:relative;
	display:inline;
}

.testimonials-section .testimonial-card.collapsed .review-content {
    overflow: hidden;
	word-wrap: break-word;
    white-space: normal;
	position: relative;
	margin-top:10px;
}

/* Expanded state to show the full content */
.testimonials-section .testimonial-card.expanded .review-content {
	word-wrap: break-word;
    white-space: normal;
	margin-top:10px;
}

@media (max-width: 768px) {
    .testimonials-section .testimonial-card {
        width: 100%;
    }
}

.testimonials-section .testimonial-card:hover {
    transform: translateY(-1px);
}

.testimonials-section .testimonial-card.inactive {
    background-color: #f0f0f0;
}

.testimonials-section .testimonial-header {
    display: flex;
    flex-direction: column;
    margin-bottom: 10px;
}

.testimonials-section .name-stars {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.testimonials-section .testimonial-header h3 {
    margin: 0;
    font-size: 24px;
    font-weight: bold;
}

.testimonials-section .testimonial-header p {
    margin: 0;
    font-size: 20px;
    color:black;
    margin-top: 0px;
}

.testimonials-section .amount-settled {
    display: flex;
    flex-direction: column;
}

.testimonials-section .amount-owed,
.testimonials-section .settled-for {
font-size: 20px;
line-height: 1.75;
font-weight: 600;
}

.testimonials-section .amount-owed .label,
.testimonials-section .settled-for .label {
    font-weight: bold;
    color: black;
}

.testimonials-section .amount-owed .value {
    color: #ff4d4d;
}

.testimonials-section .settled-for .value {
    color: #4caf50;
}

.testimonials-section .testimonial-tags {
    display: flex;
    gap: 7px;
	flex-wrap: wrap;
    justify-content: flex-end;
    margin-top: auto;
}

.testimonials-section .testimonial-tags button {
    border: 0.7px solid #1d3d91;
    border-radius: 20px;
    background-color: #F0F1F5;
	color: #093E8A;
    cursor: pointer;
    width: auto;
	padding: 8px 16px;
	font-size: 18px;
}

.testimonials-section .pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
    gap: 10px;
}

.testimonials-section .pagination .page {
	background-color: white;
    border: 1px solid #1d3d91;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 16px;
    color: #093E8A;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.testimonials-section .pagination .page.active {
    background-color: #eceff5;
    color: #1d3d91;
    border: none;
	font-weight: bold;
}

.testimonials-section .pagination .page:hover:not(:disabled),
.testimonials-section .pagination .page:focus:not(:disabled) {
    background-color: #f0f4fa;
}

.testimonials-section .pagination .arrow {   
    border: none;
    border-radius: 50%;
    width: 35px;
    height: 35px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    color: #1d3d91;
    outline: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.testimonials-section .pagination .arrow:hover:not(:disabled),
.testimonials-section .pagination .arrow:focus:not(:disabled) {
    background-color: #f0f4fa; 
    border-radius: 50%;
}

.testimonials-section .pagination button:disabled {
    background-color: transparent;
    color: #ddd;
}

.material-icons-page-nav {
  font-family: 'Material Icons';
  color: #093E8A;
  font-size: 24px;
}
