.elementor-121 .elementor-element.elementor-element-133e77f{--display:flex;}/* Start custom CSS for shortcode, class: .elementor-element-5828ba2 */.testimonial-card{
    position: relative;
    display: flex;
    gap: 22px;
    padding: 30px 28px;
    border-radius: 22px;

    background: rgba(255,255,255,0.75);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);

    border: 1px solid rgba(253, 186, 116, 0.35);
    box-shadow: 0 20px 60px rgba(0,0,0,0.08);

    overflow: hidden;
    transition: all 0.5s ease;

    font-family: "Inter", sans-serif;

    /* 🔥 KEY FIX: equal height system */
    height: 100%;
    align-items: stretch;
}

/* gradient border */
.testimonial-card::before{
    content: "";
    position: absolute;
    inset: 0;
    padding: 2px;
    border-radius: 22px;

    background: linear-gradient(
        135deg,
        #F97316,
        #FDBA74,
        #1E293B
    );

    -webkit-mask: 
        linear-gradient(#fff 0 0) content-box, 
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;

    pointer-events: none;
    opacity: 0.6;
}

/* glow */
.testimonial-card::after{
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;

    background: radial-gradient(
        circle,
        rgba(249,115,22,0.18),
        transparent 70%
    );

    top: -80px;
    right: -80px;

    filter: blur(10px);
    z-index: 0;
}

/* hover */
.testimonial-card:hover{
    transform: translateY(-8px);
    box-shadow: 0 25px 70px rgba(0,0,0,0.12);
}

/* IMAGE */
.testimonial-image{
    position: relative;
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;
}

/* avatar */
.testimonial-image img{
    width: 90px;
    height: 90px;
    border-radius: 50%;
    object-fit: cover;

    border: 3px solid #F97316;
    box-shadow: 0 10px 25px rgba(0,0,0,0.12);

    position: relative;
    z-index: 2;
}

/* ring */
.testimonial-image::before{
    content: "";
    position: absolute;
    width: 110px;
    height: 110px;
    border-radius: 50%;

    border: 2px dashed rgba(253, 186, 116, 0.8);

    animation: rotateRing 12s linear infinite;
}

@keyframes rotateRing{
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* CONTENT */
.testimonial-content{
    position: relative;
    z-index: 2;

    /* 🔥 KEY FIX: equal height content fill */
    display: flex;
    flex-direction: column;
    justify-content: center;
    flex: 1;
}

.testimonial-title{
    font-size: 19px;
    font-weight: 700;
    margin: 0 0 8px;

    color: #1E293B;
    font-family: "Inter", sans-serif;
}

/* TEXT */
.testimonial-text{
    font-size: 15px;
    line-height: 1.8;

    color: rgba(30, 41, 59, 0.75);

    margin: 0;
    padding-left: 26px;

    font-family: "Inter", sans-serif;

    /* 🔥 KEY FIX: equal height text handling */
    flex: 1;
    display: flex;
    align-items: center;

    position: relative;
}

/* quote */
.testimonial-text::before{
    content: "❝";
    position: absolute;
    left: 0;
    top: -8px;

    font-size: 34px;
    color: #F97316;
}

/* hover text */
.testimonial-card:hover .testimonial-text{
    transform: translateX(3px);
    transition: 0.4s ease;
}

/* ================= GRID SUPPORT (IMPORTANT) ================= */
/* Use this when showing multiple testimonials */
.testimonial-wrapper{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
    align-items: stretch;
}

/* ================= MOBILE FIX ================= */
@media (max-width: 768px){

    .testimonial-card{
        flex-direction: column;
        text-align: center;
        padding: 22px 18px;
        height: auto; /* important for mobile */
    }

    .testimonial-image img{
        width: 85px;
        height: 85px;
    }

    .testimonial-image::before{
        width: 105px;
        height: 105px;
    }

    .testimonial-text{
        padding-left: 0;
        justify-content: center;
    }

    .testimonial-text::before{
        position: static;
        display: block;
        font-size: 28px;
        margin-bottom: 6px;
    }
}/* End custom CSS */