﻿/* 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;
    }
}




.testimonial-card-main {
    min-height: 380px; /* Height badulu min-height vaadali */
    height: auto; /* Content batti peruguthundi */
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    display: flex;
    flex-direction: column;
    position: relative;
    background-position: center;
    background-repeat: no-repeat;
}

.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 {
    flex: 1; /* Card lo unna full space ni occupy chestundi */
    display: flex;
    flex-direction: column;
    justify-content: center; /* Play button center lo undatanki */
    align-items: center;
    background: rgba(0, 0, 0, 0.3); /* Image meeda text kanipinchali kabatti */
    padding: 20px;
    width: 100%;
}

.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;
    }
/* 🔹 MOBILE SPECIFIC FIX 🔹 */
@media (max-width: 768px) {
    .testimonial-card-main {
        height: 450px !important; /* Mobile lo image and content ki saripada height */
        background-size: cover;
    }

    .info-at-bottom h6 {
        font-size: 1rem;
    }
}
.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; /* 🔥 important */
        min-height: 340px !important;
    }
}

/* 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 */
    }
    .testimonials {
        padding: 1rem 1rem !important;
    }
    .meta-info h6{
        font-size:15px !important
    }
}

.testimonials {
    padding: 0rem 3rem;
}
.clients-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr); /* ADD THIS */
    gap: 25px; /* ADD */
    align-items: center; /* ADD */
    position: relative;
    overflow-x:hidden;
}

@media (max-width:1350px) {

    .clients-grid {
        grid-template-columns: repeat(4,1fr);
    }

    .center-card-fixed {
        grid-column: span 4;
        grid-row: auto;
    }
}
