 .testimonials-page {
     padding: 60px 15px;
     direction: rtl;
 }

 .page-title {
     text-align: center;
     font-size: 32px;
     margin-bottom: 10px;
 }

 .page-subtitle {
     text-align: center;
     color: #666;
     margin-bottom: 40px;
 }

 .testimonials-grid {
     display: grid;
     grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
     gap: 20px;
 }

 .testimonial-card {
     background: #fff;
     border-radius: 16px;
     overflow: hidden;
     box-shadow: 0 10px 25px rgba(0, 0, 0, .08);
     cursor: pointer;
     transition: .35s;
 }

 .testimonial-card:hover {
     transform: translateY(-6px);
     box-shadow: 0 15px 35px rgba(0, 0, 0, .12);
 }

 .video-thumb {
     position: relative;
     height: 160px;
     overflow: hidden;
     background: #000;
 }

 .video-thumb video {
     width: 100%;
     height: 100%;
     object-fit: cover;
 }

 .play-icon {
     position: absolute;
     top: 50%;
     left: 50%;
     transform: translate(-50%, -50%);
     background: rgba(0, 0, 0, .6);
     width: 50px;
     height: 50px;
     border-radius: 50%;
     display: flex;
     align-items: center;
     justify-content: center;
     color: #fff;
     font-size: 20px;
 }

 .profile {
     display: flex;
     align-items: center;
     padding: 15px;
 }

 .avatar {
     width: 100%;
     height: 100%;

     object-fit: cover;
 }

 .stars {
     color: #f5a623;
     padding: 0 15px;
 }

 .description {
     padding: 10px 15px 20px;
     font-size: 13px;
     line-height: 1.9;
     color: #555;
 }


 /* MODAL */

 .video-modal {
     position: fixed;
     inset: 0;
     background: rgba(0, 0, 0, .75);
     display: none;
     align-items: center;
     justify-content: center;
     z-index: 99999;
 }

 .video-modal.active {
     display: flex;
 }

 .modal-content {
     background: #111;
     padding: 20px;
     border-radius: 14px;
     max-width: 850px;
     width: 95%;
     position: relative;
     height: 80%;
     display: flex;
     flex-direction: column;
     justify-content: center;
 }

 .modal-content video {
     width: 100%;
     max-height: 50vh;
     object-fit: contain;
     border-radius: 10px;
     margin-block: 15px;
 }


 .modal-info {
     color: #fff;
 }

 .modal-profile {
     display: flex;
     align-items: center;
     margin-bottom: 10px;
 }

 .modal-profile img {
     width: 45px;
     height: 45px;
     border-radius: 50%;
     margin-left: 10px;
 }

 .modal-stars {
     color: #f5a623;
     margin-bottom: 8px;
 }

 .modal-description {
     color: #ddd;
     line-height: 1.8;
 }

 .modal-close {
     position: absolute;
     top: 10px;
     right: 10px;
     background: #fff;
     border: none;
     width: 35px;
     height: 35px;
     border-radius: 50%;
     cursor: pointer;
     font-size: 16px;
     z-index: 99999;
 }

 .nav-btn {
     position: absolute;
     top: 50%;
     transform: translateY(-50%);
     background: rgba(255, 255, 255, .2);
     border: none;
     color: #fff;
     font-size: 28px;
     width: 45px;
     height: 45px;
     border-radius: 50%;
     cursor: pointer;
 }

 .prev {
     right: 0px;
     z-index: 99999;
 }

 .next {
     left: 0px;
     z-index: 99999;
 }








 .avatar-wrap {
     width: 45px;
     height: 45px;
     border-radius: 50%;
     margin-left: 10px;
     position: relative;
     overflow: hidden;
     flex-shrink: 0;
     background: #f1f1f1;
 }

 .avatar-wrap .avatar {
     width: 100%;
     height: 100%;
     object-fit: cover;
     border-radius: 50%;
     display: none;
 }

 .avatar-wrap.loading .avatar {
     display: none;
 }

 .avatar-wrap.loaded .avatar {
     display: block;
 }

 .avatar-loader {
     position: absolute;
     inset: 0;
     display: flex;
     align-items: center;
     justify-content: center;
 }

 .avatar-loader::after {
     content: "";
     width: 18px;
     height: 18px;
     border: 2px solid #ccc;
     border-top-color: #111;
     border-radius: 50%;
     animation: avatarSpin 0.8s linear infinite;
 }

 .avatar-wrap.loaded .avatar-loader {
     display: none;
 }

 @keyframes avatarSpin {
     to {
         transform: rotate(360deg);
     }
 }


 #modalAvatar {
     object-fit: cover;
 }