/* ============================================
   TESTIMONIALS GRID CARDS STYLES - COMPLETE FIXED
   ============================================ */

/* ========== MASONRY GRID ========== */


#wrapper .section.inner-banners.testimonials.testimonials-common.test {
height: 100vh !important;
}


#wrapper .section.inner-banners.testimonials.testimonials-common.test:before{
        background: url(../images/overlay-pattern.png) rgb(0 0 0 / 35%) !important;
}

 #wrapper .section.inner-banners.testimonials.testimonials-common.test  h1{
      margin-top: 110px !important;
    }
 #wrapper .section.inner-banners.testimonials.testimonials-common.test   .top-heading{
        font-size: 33px;
    }

@media (min-width: 1024px) and (max-width: 1560px){
 #wrapper .section.inner-banners.testimonials.testimonials-common.test   .top-heading{
        font-size: 28px;
    }
     #wrapper .section.inner-banners.testimonials.testimonials-common.test  h1{
      margin-top: 0px !important;
    }
    #wrapper .section.inner-banners.testimonials.testimonials-common.test {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}
}
.tmon .grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 15px;
    gap: 35px;
    padding: 0px 15px 0px;
    max-width: 1400px;
    margin: 0;
}

/* ========== CARDS - FIXED HEIGHT SQUEEZE ========== */
.tmon .card {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    /*cursor: pointer;*/
    /*transition: box-shadow 0.4s ease, border-color 0.4s ease;*/
    border: none;
    border-radius: 0;
    display: flex;
    flex-direction: column;
    /*height: 100%;*/
    min-height: 100px;
    will-change: box-shadow, border-color;
    /* REMOVED transform from transition to prevent height changes */
}

.tmon .card:hover {
    /* REMOVED transform: translateY(-8px) - this causes the squeeze */
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);*/
    border-color: none;
}

/* Card content wrapper */
.tmon .card .card-content {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    flex: 1;
    position: relative;
    z-index: 1;
}

/* ========== VIDEO CARDS ========== */
.tmon .card.video-card {
    min-height: 350px;
    border: none;
    border-radius: 0;
    background: #000;
}

.tmon .card.video-card .card-content {
    min-height: 350px;
    position: relative;
}

/*.tmon .poster,
.tmon .video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: all 0.6s ease;
}

.tmon .video {
    opacity: 0;
    z-index: 1;
}*/

.tmon .video-card:hover .poster {
    opacity: 0;
    transform: scale(1.08);
}

/*.tmon .video-card:hover .video {
    opacity: 1;
}
*/
.tmon .video-card:hover {
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);*/
    /* NO transform */
}

/* ========== PLAY BUTTON ========== */
.tmon .play {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 74px;
    height: 74px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    color: #ffffff;
    font-size: 28px;
    transition: all 0.4s ease;
    z-index: 3;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid rgba(255, 255, 255, 0.3);
    pointer-events: none;
}

.tmon .play.hide {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.5);
    pointer-events: none;
}

/* ========== OVERLAYS ========== */
.tmon .overlays {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 28px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.92), rgba(0, 0, 0, 0.45), transparent);
    z-index: 2;
    min-height: 100%;
}

.tmon .overlays .rating {
    color: #FFD54A;
    letter-spacing: 2px;
    margin-bottom: 8px;
    font-size: 14px;
}

.tmon .overlays .name {
    color: #ffffff;
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 2px;
}

.tmon .overlays .role {
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
}

.tmon .overlays .location {
    color: rgba(255, 255, 255, 0.6);
    font-size: 12px;
    margin-top: 4px;
}

.tmon .overlays .category {
    margin-top: 8px;
    display: inline-flex;
    width: max-content;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    color: #ffffff;
    font-size: 12px;
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
}

.common {
    position: absolute;
    top: 20px;
    left: 20px;
}

/* ========== VIDEO CARD CTA ========== */
.tmon .video-card .cta {
    display: inline-flex;
    width: max-content;
    padding: 12px 22px;
    background: #e74c3c;
    color: #ffffff;
    font-weight: 700;
    font-size: 14px;
    border: 2px solid #e74c3c;
    border-radius: 0;
    text-decoration: none;
    position: absolute;
    bottom: 28px;
    left: 28px;
    z-index: 3;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.4s ease;
    align-items: center;
    gap: 10px;
}

.tmon .video-card:hover .cta {
    opacity: 1;
    transform: translateY(0);
}

.tmon .video-card .cta:hover {
    background: transparent;
    color: #ffffff;
}

.tmon .video-card .cta img {
    transition: transform 0.3s ease;
}

.tmon .video-card .cta:hover img {
    transform: translateX(6px);
}

.tmon .video-card .cta a {
    color: #ffffff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* ========== NORMAL CARDS ========== */
.tmon .card.normal {
    border: 1px solid #e5e5e5;
    border-radius: 0;
    min-height: unset;
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);*/
}

.tmon .card.normal .card-content {
    height: auto;
}

/* ========== QUOTE CARDS ========== */
.tmon .quote {
    padding: 24px 28px 70px 28px;
    display: flex;
    flex-direction: column;
    flex: 1;
    height: 100%;
    background: #ffffff;
    position: relative;
    z-index: 1;
}

.tmon .quote .d-flex {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 15px;
}

.tmon .quote .ml-3 {
    margin-left: 15px;
}

.tmon .quote .client-image img {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 50%;
}

.tmon .quote .category,
.tmon .card.normal .location {
    display: inline-flex;
    width: max-content;
    padding: 5px 14px;
    background: #f5f5f5;
    color: #758495;
    font-size: 12px;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
}

.tmon .quote .category {
    margin-right: 5px;
}

.tmon .quote .category-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 8px;
}

.tmon .quote .category-wrap .category {
    margin: 0;
}

.tmon .quote .para {
    margin-top: 15px !important;
    font-size: 17px;
    line-height: 1.8;
    margin: 0 0 10px 0;
    flex: 1;
    color: #758495;
    font-weight: normal;
    display: -webkit-box;
    -webkit-line-clamp: 9;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tmon .normal .quote .text {
    padding-top: 0px;
    margin-top: auto;
    /*border-top: 1px solid #e5e5e5;*/
}

.tmon .normal .red-text {
    color: #e74c3c;
    font-weight: 700;
}

.tmon .title {
    font-size: 19px;
    font-weight: 800;
    color: #023575 !important;
    text-transform: inherit;
    font-family: "lato";
}

.tmon .small.blue {
    font-size: 12px;
    color: #4f46e5;
}

/* ========== OFF-TESTIMONIAL CARD - FIXED ========== */
.tmon .card.normal.off-testimonial {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: box-shadow 0.4s ease, border-color 0.4s ease;
    /* NO transform transition */
}

.tmon .card.normal.off-testimonial:hover {
    /* REMOVED transform: translateY(-8px) - fixes squeeze */
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);*/
    border-color: #05224b;
}

.tmon .card.normal.off-testimonial .quote {
    padding-bottom: 35px;
}

.tmon .card.normal.off-testimonial .category,
.tmon .card.normal.off-testimonial .location {
    border: 1px solid #2d7cf3 !important;
    color: #2d7cf3 !important;
    background: #ffffff !important;
}

/* Remove old CTA button from off-testimonial cards */
.tmon .card.normal.off-testimonial .cta {
    display: none !important;
}

/* ========== CARD BUTTON - HOVER EFFECT ========== */
/* ========== CARD BUTTON - FIXED ========== */
.card__button {
    position: absolute;
    left: 0;
    bottom: 0;
    display: block;
    width: 100%;
    background-color: #05224b;
    box-sizing: border-box;
    padding: 12px 20px;
    font-size: 15px;
    color: #fff;
    font-weight: 800;
    text-align: center;
    text-transform: ;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s ease;
    text-decoration: none;
    z-index: 10;
    border: none;
    cursor: pointer;
    background: #05224b;
    border: none;
    outline: none;
}

.card__button::after ,  .view-review-btn::after{
    content: "" !important;
    background: url(../images/white-arrow.svg) no-repeat !important;
    width: 22px !important;
    height: 22px !important;
    display: inline-block !important;
    margin-left: 11px !important;
    transition: transform 0.2s linear !important;
    position: relative !important;
    background-size: 22px !important;
    left: inherit !important;
    bottom: inherit !important;
    top: 5px !important;
    box-shadow: none !important;
    border-radius: 0px !important;
}

.card__button:hover::after , .view-review-btn:hover::after{
        background: url(../images/white-arrow-v.svg) no-repeat !important;
        transform: translateX(6px) !important;
    box-shadow: none !important;
    border-radius: 0px !important;
}

.card__button:hover {
    background: #e74c3c;
    color: #fff;
}

.card__button:focus {
    outline: none;
}

.tmon .card.normal.off-testimonial:hover .card__button {
    transform: translateY(0%);
    background: #05224b;
}


.view-review-btn {
    width: 100%;
    display: block;
    padding: 12px 20px;
    font-size: 17px;
    color: #fff;
    font-weight: 800;
    text-align: center;    
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94), background 0.4s ease;
    text-decoration: none;
    z-index: 10;
    cursor: pointer;
    background: #05224b ;
    outline: none;
    text-transform: inherit;
    font-family: "lato", sans-serif;
    letter-spacing: 0px;
}


/* ========== STATS CARDS ========== */
.tmon .stats {
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    flex: 1;
    height: 100%;
    background: linear-gradient(135deg, #2563EB, #4F46E5);
    color: #ffffff;
}

.tmon .stats h2 {
    font-size: 72px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.tmon .stats h3 {
    font-size: 48px;
    font-weight: 800;
    margin: 0;
    line-height: 1;
}

.tmon .stats p {
    font-size: 16px;
    opacity: 1;
    margin: 8px 0;
}

.tmon .stats small {
    opacity: 0.8;
    font-size: 14px;
}

/* Stats card red variant */
.tmon .stats.red {
    background: linear-gradient(135deg, #DC2626, #B91C1C);
}

/* ========== NORMAL CARD CTA ========== */
.tmon .card.normal .cta {
    position: relative;
    bottom: auto;
    left: auto;
    opacity: 1;
    transform: translateY(0);
    margin-top: 15px;
}

.tmon .card.normal .cta a {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    color: #1a1a2e;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    padding: 8px 0;
    border-bottom: 2px solid transparent;
}

.tmon .card.normal .cta a:hover {
    color: #e74c3c;
    border-bottom-color: #e74c3c;
}

.tmon .card.normal .cta a img {
    transition: transform 0.3s ease;
}

.tmon .card.normal .cta a:hover img {
    transform: translateX(6px);
}

/* ========== RESPONSIVE ========== */
@media (max-width: 1200px) {
    .tmon .grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
}

@media (max-width: 992px) {
    .tmon .grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 30px 15px 50px;
    }
    
    .tmon .stats h2 {
        font-size: 48px;
    }
    
    .tmon .stats h3 {
        font-size: 36px;
    }
}

@media (max-width: 768px) {
    .tmon .card.video-card {
        min-height: 280px;
    }
    
    .tmon .card.video-card .card-content {
        min-height: 280px;
    }
    
    .tmon .quote {
        padding: 20px 20px 60px 20px;
    }
    
    .tmon .quote .para {
        font-size: 15px;
    }
    
   
    
    .tmon .card.normal.off-testimonial .quote {
        padding-bottom: 60px;
    }
}

@media (max-width: 576px) {
    .tmon .grid {
        grid-template-columns: 1fr;
        gap: 20px;
        padding: 20px 27px 40px;
    }
    
    .tmon .card.video-card {
        min-height: 250px;
    }
    
    .tmon .card.video-card .card-content {
        min-height: 250px;
    }
    
    .tmon .overlays {
        padding: 20px;
    }
    
    .tmon .overlays .name {
        font-size: 17px;
    }
    
    .tmon .quote .client-image img {
        width: 50px;
        height: 50px;
    }
    
    .tmon .stats h2 {
        font-size: 40px;
    }
    
    .tmon .stats h3 {
        font-size: 30px;
    }
  
    
    .tmon .card.normal.off-testimonial .quote {
        padding-bottom: 55px;
    }
}

/* ========== OFF CANVAS ========== */
.offcanvas-testimonial {
    width: 50% !important;
    max-width: 90vw !important;
}

.offcanvas-testimonial .offcanvas-header {
    padding: 18px 28px;
    background: transparent;
}

.offcanvas-testimonial .offcanvas-title {
    font-weight: 700;
    color: #05224b;
    font-size: 18px;
}

.offcanvas-testimonial .offcanvas-body {
    padding: 28px;
}

.offcanvas-testimonial .btn-close {
    box-shadow: none;
}

.offcanvas-testimonial .btn-close:focus {
    box-shadow: none;
}

.offcanvas-backdrop {
    background: rgba(0, 0, 0, 0.8);
}



/* ========== OFF-TESTIMONIAL CARD - KEEP TRANSFORM ========== */
.tmon .card.normal.off-testimonial {
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.tmon .card.normal.off-testimonial:hover {
    /*transform: translateY(-8px);*/
    /*box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);*/
    border-color: #05224b;
}

@media (max-width: 768px) {
    .offcanvas-testimonial {
        width: 100% !important;
        max-width: 100% !important;
    }
    
    .offcanvas-testimonial .offcanvas-body {
        padding: 18px;
    }
}

.widgets_wrapper {
    max-width: 100% !important;
}




.tmon .stats.clutch , 
.tmon .stats.goodfirm{
    padding: 0px;
    background: none;
    border: 1px solid #e5e5e5;
    border-radius: 0px;
    display: block;
    text-align: left;
}

.feedback {
    font-size: 30px !important;
}

.clutch-card{
    width:100%;
    max-width:420px;
    margin:auto;
    overflow:hidden;
    font-family:Poppins,sans-serif;
    margin-top: 0px;
}

.clutch-header{
    background:#05224b;
    padding:18px;
    text-align:center;
}

.clutch-header img{
    height:28px;
}

.clutch-card h4{
    text-align:center;
    /*margin:15px 0 5px;*/
    padding: 15px 0px 5px;
    color:#fff;
    font-size:28px;
    font-weight: 700;

}

.clutch-rating{
    text-align:center;
    color:#fff;
    font-size:23px;
    margin-bottom:10px;
    border: 1px solid #05224b;
    border-radius: 25px;
    width: fit-content;
    padding: 0px 15px 1px;
    margin-left: auto;
    margin-right: auto;
    background: #05224b;
}

.clutch-rating span{
    color:#fff;
    margin-left:2px;
    font-weight:600;
    font-size: 16px;
    position: relative;
    top: -1px;
}

.review-count{
    display:block;
    text-align:center;
    margin-bottom:0px;
    color:#fff;
    font-size: 15px;
    text-decoration:none;
    padding-bottom: 20px;
}

.review-slider{
    position:relative;
    min-height:140px;
    padding: 20px 28px 0px;
    border-top: 1px solid #e5e5e5;
}

.review{
    display:none;
}

.review.active{
    display:block;
}

.stats.clutch .review p{
    font-size:16px;
    line-height:25px;
    color:#758495;
    margin: 0px;
    opacity: 1;
}

.review span{
    display:block;
    margin-top:15px;
    font-size:14px;
    color:#758495;
}

.controls{
    display:flex;
    justify-content:space-between;
    padding:10px 28px 10px;
}

.controls button{
    width:38px;
    height:38px;
    border-radius:50%;
    border:none;
    cursor:pointer;
    background:#05224b;
    color:#fff;
    font-size:18px;
}



.stats.goodfirm .gf-card{
    width:100%;
    max-width:430px;
    background:#fff;
    border-radius:0;
    overflow:hidden;
    /*box-shadow:0 20px 55px rgba(15,35,60,.12);*/
    transition:.35s;
    position:relative;
}

.stats.goodfirm .gf-card:hover{
    /*transform:translateY(-6px);*/
    /*box-shadow:0 10px 20px rgba(0 ,0 ,0 ,0.15);*/
}

/*==========================
HEADER
===========================*/

.stats.goodfirm .gf-top{
    background:#2d7cf3;
    text-align:center;
    padding:28px 28px 15px;
    color:#fff;
    position:relative;
}

.stats.goodfirm .gf-logo{
    width:170px;
    position:relative;
    z-index:2;
}

.stats.goodfirm .rating-stars{
    color:#fff;
    font-size:23px;
    letter-spacing:0px;
    margin-top:10px;
    position:relative;
    z-index:2;
     border: 1px solid #05224b;
    border-radius: 20px;
    margin-right: auto ;
      width: fit-content;
    padding: 0px 15px 1px;
    margin-left: auto; 
    background: #05224b;   
}


.tmon .google-rate{
    font-size: 35px;
    color: #fff;
    /*border: 1px solid #fff;*/
    border-radius: 35px;
    margin-right: auto;
    width: fit-content;
    padding: 0px 35px 4px;
    margin-left: auto;
    margin-bottom: 13px;
    background: #05224b;
}


.tmon .google .stats p{
    margin: 0px 0px 13px;
}

.stats.goodfirm .score{
    margin-top:12px;
    position:relative;
    z-index:2;
    color: #fff;
    margin-left: 2px;
    font-weight: 600;
    font-size: 16px;
    top: -1px;
}

.stats.goodfirm .overall-rating p{
    margin-top:10px;
    font-size:15px;
    position:relative;
    z-index:2;
    text-align: center;
    margin-bottom: 0px;
    color: #fff;
    padding-bottom: 20px;
}

.stats.goodfirm .overall-rating span{
    margin:0 6px;
}

/*==========================
SLIDER
===========================*/

.stats.goodfirm .gf-slider{
    padding:20px 28px 10px;
    min-height:370px;
    position:relative;
    border-top: 1px solid #e5e5e5;
}

.stats.goodfirm .gf-review{
    display:none;
    animation:gfFade .5s ease;
}

.stats.goodfirm .gf-review.active{
    display:block;
}

@keyframes gfFade{

    from{
        opacity:0;
        transform:translateY(20px);
    }

    to{
        opacity:1;
        transform:none;
    }

}

.stats.goodfirm .quote{
    font-size:75px;
    color:#00b67a;
    opacity:1;
    line-height:1;
    margin-bottom:10px;
}

.stats.goodfirm .gf-review h3{
    font-size:21px;
    color:#023575 !important;
    line-height:1.2;
    margin-bottom:5px;
    font-weight:800;
}

.stats.goodfirm .gf-review p{
    font-size:17px;
    line-height:1.8;
    color:#758495;
}

/*==========================
REVIEW FOOTER
===========================*/

.stats.goodfirm .review-footer{
    margin-top:10px;
    padding-top:15px;
    border-top:1px solid #e5e5e5;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.stats.goodfirm .review-footer strong{
    display:block;
    color:#05224b;
    font-size:15px;
    font-weight:600;
}

.stats.goodfirm .review-footer span{
    display:block;
    margin-top:0px;
    color:#8b96a8;
    font-size:12px;
}

.stats.goodfirm .mini-stars{
    color:#ef2078;
    font-size:18px;
    letter-spacing:0px;
}



/*==========================
NAVIGATION
===========================*/

.stats.goodfirm .gf-controls{

    display:flex;
    align-items:center;
    justify-content:space-between;

    padding:22px 30px;

    border-top:1px solid #edf1f6;

    background:#fafbfc;

}

.stats.goodfirm .gf-controls button{

    width:38px;
    height:38px;

    border:none;
    border-radius:50%;

    background:#05224b;
    color:#fff;

    font-size:18px;

    cursor:pointer;

    transition:.35s;

}

.stats.goodfirm .gf-controls button:hover{

    background:#2d7cf3;

    transform:scale(1);

}

/*==========================
DOTS
===========================*/

.stats.goodfirm .gf-dots{

    display:flex;
    align-items:center;
    gap:8px;

}

.stats.goodfirm .gf-dots span{

    width:6px;
    height:6px;
    border-radius:50%;
    background:#d6dbe5;

    cursor:pointer;

    transition:.35s;

}

.stats.goodfirm .gf-dots span.active{

    width:20px;

    border-radius:20px;

    background:#05224b;

}

/*==========================
BUTTON
===========================*/

.stats.goodfirm .visit-btn{

    display:block;

    margin:0 30px 30px;

    padding:15px 25px;

    text-align:center;

    background:#00b67a;

    color:#fff;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:.35s;

}

.stats.goodfirm .visit-btn:hover{

    background:#00965f;

    transform:translateY(-2px);

}



.p28{
    padding:0px  28px 0px;
    
}

/*==========================
RESPONSIVE
===========================*/

@media(max-width:768px){

.stats.goodfirm .gf-card{

    max-width:100%;

}

.stats.goodfirm .gf-slider{

    min-height:340px;

}

.stats.goodfirm .gf-review h3{

    font-size:20px;

}

.stats.goodfirm .gf-review p{

    font-size:15px;

}


.stats.goodfirm .gf-logo{

    width:150px;

}

}

@media(max-width:480px){

.stats.goodfirm .gf-top{

    padding:28px 20px;

}

.stats.goodfirm .gf-logo{

    width:135px;

}

.stats.goodfirm .rating-stars{

    font-size:22px;

}


.stats.goodfirm .gf-slider{


    min-height:330px;

}

.stats.goodfirm .gf-review h3{

    font-size:18px;

    margin-bottom:15px;

}

.stats.goodfirm .gf-review p{

    font-size:14px;

    line-height:1.8;

}

.stats.goodfirm .review-footer{

    flex-direction:column;

    align-items:flex-start;

    gap:10px;

}

.stats.goodfirm .gf-controls{
    padding:18px 20px;
}


.stats.goodfirm .gf-controls button{

    width:40px;
    height:40px;

    font-size:18px;

}

.stats.goodfirm .visit-btn{

    margin:0 20px 20px;

    padding:14px 20px;

    font-size:14px;

}

}


.simple-card .quote{
  padding-bottom: 0px;
}

.simple-card .star{
    margin: 5px 0px 15; 
    font-size: 22px;
     color: #ef2078;
}

.simple-card .para{
    font-size: 17px;
    line-height: 1.8;
    color: #758495;
}

.tmon .normal.simple-card .quote .text{
    margin-top: 0px;
}




/* Wrapper */
.testimonial-wrapper{
    margin-bottom:30px;
}

/* Author */
.testimonial-avatar{
    width:70px;
    height:70px;
    object-fit:cover;
}

.testimonial-name{
    font-weight:800;
    color:#05224b;
}

.testimonial-designation{
    font-size:14px;
}

/* Badges */

.testimonial-badge{
    padding:6px 16px;
    font-size:13px;
    border-radius:20px;
    color:#2d7cf3;
    margin-right:5px;
    display:inline-block;
    border:1px solid #2d7cf3;
}

.badge-red{
    background:transparent;
}

.badge-purple{
    background:transparent;
}

.badge-blue{
    background:transparent;
}

/* Highlight */

.testimonial-highlight{
    background:#f5f5f5;
    padding:20px;
    border-left:4px solid #2d7cf3;
    margin-bottom:20px;
}

.testimonial-quote{
    margin:0;
    font-size:17px;
    color:#758495;
    line-height:1.8;
}

/* Paragraph */

.testimonial-text{
    font-size:17px;
    line-height:1.8;
    color:#758495;
}

/* Divider */

.testimonial-divider{
    margin:25px 0;
}

/* Footer */

.testimonial-footer{
    gap:20px;
    float: left;
}

/* Button */

.testimonial-btn{
    display:inline-block;
    background:#05224b;
    color:#fff;
    text-decoration:none;
    padding:10px 30px;
    border-radius:0;
    font-weight:700;
    transition:.3s;
    font-size: 21px;
    border: 2px solid #05224b ;
}

.testimonial-btn:hover{
    background:transparent;
    color:#05224b;
    border-color: #05224b;
}


/* ========== HIDE VIDEO CTA BUTTON ========== */
.tmon .video-card .cta {
    display: none !important;
}


.tmon .thumbnail-wrapper img {
        width: 100%;
    height: 420px;
    object-fit: cover;
}

.tmon .video-container{
    background: transparent;
}

.tmon .stats.bg-0 {
   background: white !important;
   justify-content: start;
}


.tmon .video-iframe{
    height: 400px;
}


.card.normal.mt{
    grid-row-end: span 9 !important;
}


.thumbnail-wrapper.hidden {
    display: none !important;
    /* OR */
    opacity: 0;
    pointer-events: none;
}

.tmon .section.our-achivements .card {
   background: none;
}


.tmon .section.testimonial-sec-box.gry-bg  .client-name ,
.tmon .testimonial-sec-box .desc-area .indus-title{
    font-size: 23px;
    font-weight: 800;
    color: #023575 !important;
    text-transform: inherit;
    font-family: "lato";
    line-height: 1;
} 

.tmon .section.testimonial-sec-box.gry-bg  .client-name{
    display: block;
}


.desig.red-text.small.blue{
   text-transform: uppercase;
   font-weight: 600;
}

.tmon .testimonial-sec-box .column:hover .desc-area span.client-name {
    color: #fff !important;
}

.tmon .testimonial-sec-box .column:hover .desc-area span.desig.red-text.small.blue {
    color: #fff !important;
        -webkit-text-fill-color: #fff !important;
    background-clip: #fff !important;
    opacity: .6;
}


.tmon .testimonial-sec-box .desc-area p {
    font-size: 17px;
    color: #758495;
    font-weight: normal;
    line-height: 1.75;
    transition: all .3s;
}

.bg-f5f5f5{
    background: #f5f5f5;
    margin: 0px 12px;
    border: 1px solid #e5e5e5;
}

.bg-f5f5f5 .col-sm-8 .pding{
    padding: 20px 50px;
}

.bg-f5f5f5 .col-sm-8{
       flex: 0 0 auto;
        width: 70%;
}

.bg-f5f5f5 .col-sm-4{
       flex: 0 0 auto;
        width: 30%;
}


.bg-f5f5f5 .col-sm-4.testi-img {
    padding-right: 0px;
}


.tmon .mmmodal .top-row.blue-bar.wht-bar.row.overlay-text{
  margin-left: -15px;
}


.tmon .bg-vi{
    background: #2d7cf3;
}

@media (max-width: 767px){
    #wrapper .section.inner-banners.testimonials.testimonials-common.test .top-heading
 {
    font-size: 20px;
}

 #wrapper .section.inner-banners.testimonials.testimonials-common.test .red-btn {
    padding: 10px 25px !important;
}

 .ptb-60 {
    padding-top: 15px;
}

.bg-f5f5f5 {
    margin-top: 40px;
}

.bg-f5f5f5 .col-sm-8 .pding{
    padding: 0px 20px;
}

.bg-f5f5f5 .col-sm-8{
       flex: 0 0 auto;
        width: 100%;
}

.bg-f5f5f5 .col-sm-4{
       flex: 0 0 auto;
        width: 100%;
}


.card.normal.mt{
    grid-row-end: span 12 !important;
}

}