
/** testimonial-section **/

.testimonial-section{
    position: relative;
    background-color: #F4F6F7;
}

.testimonial-section .pattern-layer{
    position: absolute;
    left: 0px;
    top: 0px;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.testimonial-section .inner-container{
    position: relative;
    display: block;
    margin-right: 0;
}

/** testimonial marquee moved to style.css for global consistency **/


/* ── Card — matches site card design system ── */
.tm-card {
    flex-shrink: 0;
    width: 380px;
    margin-right: 20px;
    background: #ffffff;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0px 10px 40px 0px rgba(0, 0, 0, 0.08);
    transition: transform 0.35s ease, box-shadow 0.35s ease;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tm-card:hover {
    transform: translateY(-8px);
    box-shadow: 0px 20px 50px 0px rgba(0, 0, 0, 0.13);
}

/* card header row: avatar + name/stars + dismiss */
.tm-card-top {
    display: flex;
    align-items: center;
    gap: 12px;
}

.tm-avatar {
    width: 46px;
    height: 46px;
    min-width: 46px;
    border-radius: 50%;
    color: #ffffff;
    font-size: 18px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--title-font);
}

.tm-meta {
    flex: 1;
}

.tm-meta h4 {
    display: block;
    font-size: 16px;
    line-height: 22px;
    font-weight: 700;
    color: var(--title-color);
    margin-bottom: 4px;
}

.tm-stars {
    color: #FFC844;
    font-size: 14px;
    letter-spacing: 2px;
}

.tm-x {
    color: #cccccc;
    font-size: 16px;
    flex-shrink: 0;
    align-self: flex-start;
    cursor: default;
}

/* quote text */
.tm-card > p {
    font-size: 15px;
    line-height: 26px;
    color: #555555;
    margin: 0;
    flex: 1;
}

/* role / designation */
.tm-role {
    display: block;
    font-size: 13px;
    line-height: 18px;
    color: #999999;
    border-top: 1px solid #f0f0f0;
    padding-top: 12px;
    margin-top: auto;
}

.testimonial-block-one .inner-box{
    position: relative;
    display: block;
    background-color: #fff;
    border-radius: 16px;
    padding: 40px;
    margin-bottom: 30px;
}

.testimonial-block-one .inner-box .rating{
    position: relative;
    display: flex;
    align-items: center;
    gap: 5px;
    line-height: 20px;
    margin-bottom: 24px;
}

.testimonial-block-one .inner-box .rating li{
    position: relative;
    display: inline-block;
    font-size: 20px;
    line-height: 20px;
    color: #FFC844;
}

.testimonial-block-one .inner-box h3{
    font-size: 24px;
    line-height: 29px;
    margin-bottom: 20px;
}

.testimonial-block-one .inner-box .text{
    margin-bottom: 24px;
}

.testimonial-block-one .inner-box .text p{
    margin-bottom: 22px;
}

.testimonial-block-one .inner-box .text p:last-child{
    margin-bottom: 0px;
}

.testimonial-block-one .inner-box .author-box{
    position: relative;
    display: flex;
    align-items: center;
    gap: 15px;
}

.testimonial-block-one .inner-box .author-box .thumb-box{
    position: relative;
    display: inline-block;
    width: 70px;
    height: 70px;
    min-width: 70px;
    border-radius: 50%;
}

.testimonial-block-one .inner-box .author-box .thumb-box img{
    width: 100%;
    border-radius: 50%;
}

.testimonial-block-one .inner-box .author-box h4{
    display: block;
    font-size: 20px;
    line-height: 24px;
    margin-bottom: 2px;
}

.testimonial-block-one .inner-box .author-box .designation{
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 20px;
}

.testimonial-section .owl-carousel .owl-stage{
    display: flex;
    align-items: center;
}

.testimonial-section .dots-style-one .owl-dots{
    position: absolute;
    top: -120px;
    right: 435px;
}

.testimonial-block-two{
    position: relative;
    margin-top: 48px;
}

.testimonial-block-two .inner-box{
    position: relative;
    display: block;
    background-color: #fff;
    border-radius: 20px;
    border-bottom: solid;
    border-width: 2px;
    padding: 0px 30px 40px 30px;
    margin-bottom: 30px;
}

.testimonial-block-two .inner-box .thumb-box{
    position: relative;
    display: inline-block;
    width: 96px;
    height: 96px;
    border-radius: 50%;
    border: 8px solid #FAF7F1;
    margin-top: -48px;
    margin-bottom: 10px;
}

.testimonial-block-two .inner-box .thumb-box img{
    width: 100%;
    border-radius: 50%;
}

.testimonial-block-two .inner-box h4{
    display: block;
    font-size: 20px;
    line-height: 28px;
}

.testimonial-block-two .inner-box  .designation{
    position: relative;
    display: block;
    font-size: 16px;
    line-height: 20px;
    margin-bottom: 14px;
}


/** testimonial-style-two **/

.testimonial-style-two{
    position: relative;
}


.testimonial-section.alternat-2{
    background-color: #FAF7F1;
}

.testimonial-section.alternat-2 .pattern-layer{
    height: calc(100% + 10px);
    top: -10px;
}

.testimonial-section.alternat-2 .owl-carousel .owl-stage{
    display: block;
}

.testimonial-section.alternat-2 .dots-style-one .owl-dots{
    position: relative;
    top: 0px;
    right: 0px;
    width: 100%;
    text-align: center;
    padding-top: 20px;
}

  
  
/** rtl-css **/
  
.rtl .testimonial-block-one .inner-box{
    direction: rtl;
}

.rtl .testimonial-section .dots-style-one .owl-dots{
    right: inherit;
    left: 435px;
}

.rtl .testimonial-section .inner-container{
    right: inherit;
    left: -440px;
}
  
/** responsive-css **/
  
@media only screen and (max-width: 1200px){
  
}
  
@media only screen and (max-width: 991px){
    .testimonial-section .inner-container{
        margin-right: 0px;
    }

    .testimonial-section .dots-style-one .owl-dots{
        display: none;
    }
}
  
@media only screen and (max-width: 767px){
    .testimonial-style-two,
    .testimonial-section{
        padding: 70px 0px 40px 0px;;
    }
}
  
@media only screen and (max-width: 599px){
  
}
  
@media only screen and (max-width: 499px){
    .testimonial-block-one .inner-box{
        padding: 40px 30px;
    }
} 