/*==================================================
CLIENT TESTIMONIAL PAGE CSS (PART 4A)
==================================================*/


/*** Hero Section ***/

.testimonial-hero-section{
    position:relative;
    padding:140px 0 110px;
    background:#0a2540;
    overflow:hidden;
}

.testimonial-hero-section:before{
    position:absolute;
    content:'';
    width:450px;
    height:450px;
    background:rgba(179,138,56,0.08);
    border-radius:50%;
    top:-180px;
    right:-120px;
}

.testimonial-hero-section:after{
    position:absolute;
    content:'';
    width:300px;
    height:300px;
    background:rgba(255,255,255,0.04);
    border-radius:50%;
    bottom:-120px;
    left:-80px;
}

.testimonial-hero-content{
    position:relative;
    max-width:900px;
    margin:0 auto;
    text-align:center;
    z-index:2;
}

.testimonial-hero-content .section-subtitle{
    display:inline-block;
    color:#b38a38;
    font-size:15px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:20px;
}

.testimonial-hero-content h1{
    color:#fff;
    font-size:54px;
    line-height:1.2;
    font-weight:700;
    margin-bottom:28px;
}

.testimonial-hero-content p{
    color:rgba(255,255,255,.85);
    font-size:19px;
    line-height:34px;
    max-width:760px;
    margin:auto;
}

/*=========================================
Testimonial Banner
=========================================*/

.testimonial-banner-section{
    position: relative;
    padding: 170px 0 130px;
    background: linear-gradient(135deg, #071d34 0%, #0a2540 50%, #12385f 100%);
    overflow: hidden;
    text-align: center;
    z-index: 1;
}

/* Background Shapes */

.testimonial-banner-section::before{
    content: "";
    position: absolute;
    width: 500px;
    height: 500px;
    background: rgba(179,138,56,0.08);
    border-radius: 50%;
    top: -220px;
    right: -180px;
}

.testimonial-banner-section::after{
    content: "";
    position: absolute;
    width: 350px;
    height: 350px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
    bottom: -160px;
    left: -120px;
}

/* Content */

.testimonial-banner-content{
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    z-index: 2;
}

/* Subtitle */

.testimonial-banner-content .page-subtitle{
    display: inline-block;
    padding: 8px 22px;
    border: 1px solid rgba(179,138,56,.35);
    border-radius: 50px;
    background: rgba(179,138,56,.08);
    color: #d5b067;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 25px;
}

/* Heading */

.testimonial-banner-content h1{
    color: #ffffff;
    font-size: 58px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 28px;
}

/* Description */

.testimonial-banner-content p{
    max-width: 760px;
    margin: 0 auto;
    color: rgba(255,255,255,.85);
    font-size: 19px;
    line-height: 34px;
    font-weight: 400;
}

/* Decorative Line */

.testimonial-banner-content h1::after{
    content: "";
    display: block;
    width: 90px;
    height: 4px;
    background: #b38a38;
    margin: 30px auto 0;
    border-radius: 10px;
}

/*=========================================
Responsive
=========================================*/

@media (max-width:991px){

.testimonial-banner-section{
    padding: 130px 0 100px;
}

.testimonial-banner-content h1{
    font-size: 46px;
}

.testimonial-banner-content p{
    font-size: 17px;
    line-height: 30px;
}

}

@media (max-width:767px){

.testimonial-banner-section{
    padding: 100px 0 80px;
}

.testimonial-banner-content h1{
    font-size: 34px;
    line-height: 1.35;
}

.testimonial-banner-content p{
    font-size: 16px;
    line-height: 28px;
}

.testimonial-banner-content .page-subtitle{
    font-size: 12px;
    letter-spacing: 1.5px;
    padding: 7px 18px;
}

}

@media (max-width:480px){

.testimonial-banner-content h1{
    font-size: 28px;
}

.testimonial-banner-content p{
    font-size: 15px;
}

}

/*** Featured Testimonial ***/

.featured-testimonial-section{
    position:relative;
    padding:120px 0;
    background:#f7f9fc;
}

.featured-testimonial-box{
    position:relative;
    background:#fff;
    border-radius:18px;
    padding:70px;
    box-shadow:0 20px 60px rgba(0,0,0,.08);
    overflow:hidden;
}

.featured-testimonial-box:before{
    position:absolute;
    content:'';
    left:0;
    top:0;
    width:8px;
    height:100%;
    background:#b38a38;
}

.quote-icon{
    width:85px;
    height:85px;
    border-radius:50%;
    background:#b38a38;
    color:#fff;
    text-align:center;
    line-height:85px;
    font-size:30px;
    margin-bottom:35px;
}

.testimonial-rating{
    margin-bottom:25px;
}

.testimonial-rating i{
    color:#ffc107;
    font-size:18px;
    margin-right:3px;
}

.featured-content .testimonial-text{
    font-size:18px;
    line-height:36px;
    color:#555;
    margin-bottom:28px;
}

.client-info{
    display:flex;
    align-items:center;
    margin-top:45px;
}

.client-image{
    width:90px;
    height:90px;
    overflow:hidden;
    border-radius:50%;
    margin-right:25px;
    border:4px solid #f3f3f3;
}

.client-image img{
    width:100%;
    height:100%;
    object-fit:cover;
}

.client-details h4{
    font-size:24px;
    color:#0a2540;
    margin-bottom:5px;
}

.client-details span{
    display:block;
    color:#b38a38;
    font-weight:600;
    margin-bottom:4px;
}

.client-details p{
    color:#666;
    margin:0;
}



/*** Grid Section ***/

.testimonial-grid-section{
    position:relative;
    padding:120px 0;
    background:#ffffff;
}

.testimonial-grid-section .sec-title{
    margin-bottom:70px;
}

.testimonial-grid-section .sub-title{
    display:inline-block;
    color:#b38a38;
    font-size:15px;
    font-weight:700;
    letter-spacing:2px;
    text-transform:uppercase;
    margin-bottom:15px;
}

.testimonial-grid-section h2{
    color:#0a2540;
    font-size:44px;
    margin-bottom:20px;
}

.testimonial-grid-section .sec-title p {
    max-width: 720px;
    margin: 0 auto ! important;       /* ऊपर-नीचे 0 और दाएं-बाएं auto रखने से ब्लॉक बीच में आता है */
    color: #666;
    font-size: 18px;
    line-height: 32px;
    text-align: center;   /* इससे पैराग्राफ के अंदर का टेक्स्ट पूरी तरह सेंटर हो जाएगा */
}



/*** Testimonial Cards ***/

.testimonial-block{
    margin-bottom:35px;
    
}

.testimonial-card{
    position:relative;
    background:#fff;
    border-radius:15px;
    padding:45px 38px;
    border:1px solid #ececec;
    transition:all .4s ease;
    height:100%;
    overflow:hidden;
}

.testimonial-card:before{
    position:absolute;
    content:'';
    left:0;
    top:0;
    width:0%;
    height:4px;
    background:#b38a38;
    transition:.5s;
}

.testimonial-card:hover:before{
    width:100%;
}

.testimonial-card:hover{
    transform:translateY(-10px);
    box-shadow:0 18px 45px rgba(0,0,0,.10);
}

.card-quote{
    width:60px;
    height:60px;
    border-radius:50%;
    background:#0a2540;
    color:#fff;
    text-align:center;
    line-height:60px;
    font-size:20px;
    margin-bottom:28px;
    transition:.4s;
}

.testimonial-card:hover .card-quote{
    background:#b38a38;
}

.testimonial-card p{
    color:#666;
    font-size:16px;
    line-height:30px;
    margin-bottom:18px;
}

.client-meta{
    border-top:1px solid #ececec;
    padding-top:22px;
    margin-top:25px;
}

.client-meta h4{
    color:#0a2540;
    font-size:21px;
    margin-bottom:5px;
}

.client-meta span{
    display:block;
    color:#b38a38;
    font-weight:600;
    margin-bottom:4px;
}

.client-meta small{
    display:block;
    color:#888;
    font-size:15px;
}



/*** Buttons ***/

.theme-btn.btn-one{
    display:inline-block;
    padding:18px 42px;
    background:#b38a38;
    color:#fff;
    font-size:16px;
    font-weight:600;
    border-radius:6px;
    transition:.4s;
    text-decoration:none;
}

.theme-btn.btn-one:hover{
    background:#0a2540;
    color:#fff;
}


/*==================================================
CLIENT TESTIMONIAL PAGE CSS (PART 4B)
==================================================*/


/*=========================================
CTA SECTION
=========================================*/

.testimonial-cta-section{
    position:relative;
    padding:120px 0;
    background:#0a2540;
    overflow:hidden;
}

.testimonial-cta-section:before{
    position:absolute;
    content:'';
    width:420px;
    height:420px;
    background:rgba(179,138,56,.08);
    border-radius:50%;
    top:-180px;
    right:-150px;
}

.testimonial-cta-section:after{
    position:absolute;
    content:'';
    width:320px;
    height:320px;
    background:rgba(255,255,255,.04);
    border-radius:50%;
    bottom:-120px;
    left:-120px;
}

.testimonial-cta-box{
    position:relative;
    max-width:900px;
    margin:0 auto;
    text-align:center;
    z-index:2;
}

.testimonial-cta-box h2{
    color:#ffffff;
    font-size:48px;
    line-height:1.3;
    margin-bottom:25px;
    font-weight:700;
}

.testimonial-cta-box p{
    color:rgba(255,255,255,.85);
    font-size:18px;
    line-height:34px;
    margin:0 auto 45px;
    max-width:760px;
}

.testimonial-cta-box .theme-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:18px 45px;
    background:#b38a38;
    color:#ffffff;
    border-radius:6px;
    font-size:16px;
    font-weight:600;
    transition:all .35s ease;
    text-decoration:none;
}

.testimonial-cta-box .theme-btn:hover{
    background:#ffffff;
    color:#0a2540;
    transform:translateY(-3px);
}



/*=========================================
CARD ANIMATION
=========================================*/

.testimonial-card{
    transition:all .4s ease;
}

.testimonial-card:hover{
    transform:translateY(-12px);
}

.testimonial-card:hover .client-meta h4{
    color:#b38a38;
}

.testimonial-card:hover .client-meta span{
    color:#0a2540;
}

.testimonial-card:hover .client-meta small{
    color:#555;
}



/*=========================================
IMAGE EFFECT
=========================================*/

.client-image{
    transition:all .4s ease;
}

.featured-testimonial-box:hover .client-image{
    transform:scale(1.05);
}

.client-image img{
    transition:all .5s ease;
}

.featured-testimonial-box:hover .client-image img{
    transform:scale(1.08);
}



/*=========================================
SECTIONS
=========================================*/

.testimonial-hero-section,
.featured-testimonial-section,
.testimonial-grid-section,
.testimonial-cta-section{
    width:100%;
}

.testimonial-grid-section .row{
    margin-top:20px;
}



/*=========================================
TABLET
=========================================*/

@media only screen and (max-width:991px){

.testimonial-hero-section{
    padding:100px 0 80px;
}

.testimonial-hero-content h1{
    font-size:42px;
}

.testimonial-hero-content p{
    font-size:17px;
    line-height:30px;
}

.featured-testimonial-section{
    padding:90px 0;
}

.featured-testimonial-box{
    padding:50px 40px;
}

.featured-content .testimonial-text{
    font-size:17px;
    line-height:32px;
}

.testimonial-grid-section{
    padding:90px 0;
}

.testimonial-grid-section h2{
    font-size:38px;
}

.testimonial-card{
    padding:35px 30px;
}

.testimonial-cta-section{
    padding:90px 0;
}

.testimonial-cta-box h2{
    font-size:38px;
}

}



/*=========================================
MOBILE
=========================================*/

@media only screen and (max-width:767px){

.testimonial-hero-section{
    padding:80px 0 70px;
}

.testimonial-hero-content h1{
    font-size:32px;
    line-height:1.35;
}

.testimonial-hero-content p{
    font-size:16px;
    line-height:28px;
}

.featured-testimonial-section{
    padding:70px 0;
}

.featured-testimonial-box{
    padding:35px 25px;
}

.quote-icon{
    width:65px;
    height:65px;
    line-height:65px;
    font-size:22px;
}

.client-info{
    display:block;
    text-align:center;
}

.client-image{
    margin:0 auto 20px;
}

.client-details{
    text-align:center;
}

.featured-content .testimonial-text{
    font-size:16px;
    line-height:30px;
}

.testimonial-grid-section{
    padding:70px 0;
}

.testimonial-grid-section h2{
    font-size:30px;
}

.testimonial-grid-section .sec-title p{
    font-size:16px;
    line-height:28px;
}

.testimonial-card{
    padding:30px 25px;
}

.testimonial-card p{
    font-size:15px;
    line-height:28px;
}

.client-meta h4{
    font-size:19px;
}

.testimonial-cta-section{
    padding:70px 0;
}

.testimonial-cta-box h2{
    font-size:30px;
}

.testimonial-cta-box p{
    font-size:16px;
    line-height:28px;
}

.testimonial-cta-box .theme-btn{
    width:100%;
    justify-content:center;
}

}



/*=========================================
SMALL MOBILE
=========================================*/

@media only screen and (max-width:480px){

.testimonial-hero-content h1{
    font-size:28px;
}

.testimonial-grid-section h2{
    font-size:26px;
}

.testimonial-cta-box h2{
    font-size:26px;
}

.featured-testimonial-box{
    padding:25px 20px;
}

.testimonial-card{
    padding:25px 20px;
}

}



/*=========================================
SMOOTH EFFECTS
=========================================*/

.testimonial-card,
.featured-testimonial-box,
.theme-btn,
.quote-icon,
.client-image,
.client-image img{
    transition:all .35s ease-in-out;
}



/*=========================================
OPTIONAL LIGHT BACKGROUND BETWEEN CARDS
=========================================*/

body{
    background:#ffffff;
}

.testimonial-grid-section{
    background:#fafbfd;
}

.featured-testimonial-section{
    background:#ffffff;
}

/* for js */
.testimonial-content {
    display: -webkit-box;
    -webkit-line-clamp: 5;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.testimonial-content.active {
    display: block;
}

.read-more {
    display: inline-block;
    margin-top: 10px;
    color: #b38a38;
    cursor: pointer;
    font-weight: 600;
}

