/* Testimonial card styles for testimonials page */
.testimonial-card-main-wrapper{
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 50px;
}
.testimonials-card-wrapper{
    display: flex;
    flex-direction: row;
    gap: 30px;
}
.testimonial-card{
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%;
    border-radius: 17.778px;
    background: #FFF;
    box-shadow: 0px 12.444px 65.778px 0px rgba(0, 0, 0, 0.10);
    padding: 26px;
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}
.testimonial-card-top{
    display: flex;
    flex-direction: column;
    gap: var(--gap-md);
}
.testimonial-card-heading{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-xs);
}
.testimonial-card-heading h3{
    color: var(--Text-Black, #000);
    font-family: var(--font-family-primary);
    font-size: 44px;
    font-style: normal;
    font-weight: 600;
    line-height: normal;
}
.testimonial-card-heading h5{
    color: var(--Text-Black, #000);
    font-family: var(--font-family-primary);
    font-size: 22px;
    font-style: normal;
    font-weight: 600;
    line-height: 35.556px; /* 161.616% */
}
.testimonial-card-text{
    display: flex;
    flex-direction: column;
    gap: var(--gap-xs);
    position: relative;
    height: auto;
    margin-bottom: 30px;
}
.testimonial-card-text svg{
    position: absolute;
    top: 15px;
    left: 15px;
    opacity: 0.4;
    width: 24px;
    height: 24px;
}
.testimonial-card-text p{
    color: var(--gray-900);
    font-family: var(--font-family-primary);
    font-size: 16px;
    font-style: normal;
    font-weight: var(--Weights-medium, 500);
    line-height: 1.6;
    padding: 40px 20px 20px 50px;
    margin: 0;
    height: auto;
}
.testimonial-card-bottom{
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 20px;
    width: 100%;
    margin-top: auto;
    padding-top: 25px;
    border-top: 1px solid #f0f0f0;
}
.testimonial-admin{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    justify-content: flex-start;
}
.testimonial-admin img{
    width: 50px !important;
    height: 50px !important;
    border-radius: 50% !important;
    object-fit: cover !important;
}
.testimonial-admin-details h6{
    margin: 0px 0px 4px 0px;
    color: var(--Text-Black, #000);
    font-family: var(--font-family-primary);
    font-size: 20px;
    font-style: normal;
    font-weight: var(--Weights-bold, 600);
    line-height: 14.889px; /* 124.444% */
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.testimonial-admin-details span{
    color: var(--gray-900);
    font-family: var(--font-family-primary);
    font-size: 15px;
    font-style: normal;
    font-weight: var(--Weights-medium, 500);
    line-height: 21.333px; /* 142.222% */
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}
.testimonial-rating{
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: var(--gap-xs);
    justify-content: flex-end;
}
.testimonial-rating a img{
    width: 20px;
    height: 20px;
}
.testimonial-star{
    display: flex;
    padding: 8px 16px;
    align-items: flex-start;
    gap: 8px;
    border-radius: 88.889px;
    border: 0.889px solid #ECECEC;
}
.testimonial-star span{
    color: #000;
    font-family: var(--font-family-primary);
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    line-height: 21.333px; /* 152.381% */
}

/* Pagination centering styles */
.pagination-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    margin-top: 40px;
}

.pagination {
    display: flex;
    align-items: center;
    gap: 10px;
    justify-content: center;
}

.pagination .pages {
    display: flex;
    gap: 5px;
    align-items: center;
}

.pagination a,
.pagination span {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 12px;
    border-radius: 5px;
    text-decoration: none;
    color: #1C274C;
    transition: all 0.3s ease;
}

.pagination a:hover {
    background-color: #f0f0f0;
}

.pagination .active {
    background-color: #1C274C;
    color: white;
}

.pagination .disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* Responsive styles */
@media (max-width: 768px) {
    .testimonials-card-wrapper {
        flex-direction: column;
    }
    
    .testimonial-card {
        height: auto;
    }
    
    .testimonial-card-heading h3 {
        font-size: 32px;
    }
    
    .testimonial-card-heading h5 {
        font-size: 18px;
    }
} 

@media (max-width: 430px) {
    .testimonial-card-main-wrapper {
        padding: 0px 10px;
        margin-top: 20px;
    }
    .testimonial-admin-details h6
    {
        font-size: 16px;
        list-height:10px;
        margin-bottom: 0px ;
    }
    .testimonial-admin-details span
    {
        font-size: 13px;
    }
    .testimonial-card-heading h5
    {
        line-height: 25px;
    }
}