﻿/* Hero Background */
.studies-hero1 {
    background-image: url("../images/testimanials banner.png");
    background-color: #212C34;
    padding: 120px 0;
    margin-top: 0 !important;
    max-height: 600px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}

.case-btn {
    width: 60% !important;
}

.hero-title {
    font-size: 38px;
    line-height: 1.3;
    color: white;
}

.hero-img {
    width: 120px;
    max-width: 100%;
}

.breadcrumb-wrap {
    font-size: 18px;
    font-weight: 500;
}

.crumb-link {
    color: #ffffff;
    text-decoration: none;
    transition: 0.3s;
    font-size: 22px;
    ;
}

    .crumb-link:hover {
        color: #00d084;
    }

.crumb-current {
    color: #f3f4f5;
    font-size: 22px;
}

/* HIMS label */
.hims-label {
    display: inline-flex;
    align-items: start;
    gap: 10px;
    background: #ffffff;
    color: #000;
    padding: 0px 18px;
    border-radius: 50px;
    font-weight: 600;
}

    .hims-label img {
        width: 18px;
    }

@media (max-width: 992px) {
    .hero-title {
        font-size: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 24px;
    }
}

.button-label {
    background: rgba(255,255,255,0.08);
    color: #ffffff;
    border-left: 3px solid #f4f6f9;
    border-right: 3px solid #eff0f1;
    padding: 12px 40px;
    border-radius: 10px;
    font-size: 18px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(6px);
}

    .button-label i {
        color: #2ecc71;
        font-size: 20px;
        font-weight: bold;
    }




.testimonial-card-main {
    height: 380px; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
   
}

.header-light-blue {
    background-color: #e3f2fd;
    padding: 20px;
}

.profile-img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 12px;
    border: 2px solid #fff;
}

.meta-info h6 {
    margin: 0;
    font-size: 15px;
    font-weight: 700;
    color: #333;
}

.meta-info small {
    font-size: 11px;
    color: #666;
}

/* Text Card Body (White) */
.body-white {
    background: #fff;
    padding: 20px;
    flex-grow: 1;
}

    .body-white p {
        
        color: #555;
        line-height: 1.6;
        margin-bottom: 15px;
        display: -webkit-box;
        -webkit-line-clamp: 6;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

.star-rating {
    color: #fbc02d;
    font-size: 14px;
}

.video-card {
    background-size: cover;
    background-position: center;
    position: relative;
}

.overlay-inner {
    background: rgba(0,0,0,0.25);
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.play-btn-wrap {
    width: 55px;
    height: 55px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    color: #000;
}

.info-at-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 15px;
    background: linear-gradient(transparent, rgba(0,0,0,0.85));
    color: #fff;
}

    .info-at-bottom h6 {
        margin: 0;
        font-size: 14px;
    }

.mini-stars {
    color: #fbc02d;
    font-size: 10px;
    margin-top: 5px;
}
/* Play Button Static Styles */
.play-btn-wave {
    width: 65px;
    height: 65px;
    background-color: #ffffff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: #000;
    position: relative;
    cursor: pointer;
    z-index: 5;
    
    animation: pulse-border 2s infinite;
}

    .play-btn-wave i {
        margin-left: 4px;
    }

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 255, 255, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.play-btn-wave:hover {
    transform: scale(1.1);
    transition: 0.3s;
}


/* Tablet */
@media (max-width: 992px) {
    .testimonial-card-main {
        height: auto; /* 🔥 important */
        min-height: 340px;
    }
}

/* Mobile */
@media (max-width: 576px) {
    .testimonial-card-main {
        height: auto; /* 🔥 important */
        min-height: unset;
        margin-bottom: 20px; /* cards gap */
    }

    .body-white p {
        -webkit-line-clamp: 8; /* mobile lo text konchem ekkuva chupistadi */
    }
}